1 2008-07-08 Matthias Clasen <mclasen@redhat.com>
6 * gmount.c: Documentation improvements.
8 2008-07-08 Matthias Clasen <mclasen@redhat.com>
11 * gmount.[hc]: Add g_mount_guess_content_type().
13 2008-07-06 David Zeuthen <davidz@redhat.com>
16 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
17 is needed for easily handling adoption of foreign volumes by
18 out-of-process volume monitors (#541793)
20 2008-07-06 David Zeuthen <davidz@redhat.com>
22 * gvolumemonitor.[ch]:
23 * gunionvolumemonitor.c: Export the eject-button signal on the
24 volume monitor class (#541794).
26 2008-07-06 Matthias Clasen <mclasen@redhat.com>
28 * gappinfo.c: More doc tweaks
30 2008-07-05 Matthias Clasen <mclasen@redhat.com>
32 * gappinfo.c: Clarify some docs
34 2008-07-03 Matthias Clasen <mclasen@redhat.com>
36 * gdesktopappinfo.c: Fix a stupid mistake.
38 2008-07-02 Matthias Clasen <mclasen@redhat.com>
40 * === Released 2.17.3 ===
42 2008-07-02 Matthias Clasen <mclasen@redhat.com>
44 * gfilemonitor.c: Fix the build.
46 2008-07-02 Matthias Clasen <mclasen@redhat.com>
48 Bug 536160 – Add g_file_monitor()
51 * gfile.[hc]: Add g_file_monitor which can return either
52 a file or a directory monitor. Proposed by Behdad Esfahbod
54 2008-07-02 Matthias Clasen <mclasen@redhat.com>
56 536733 – gio build failure on Irix
58 * glocalfile.c: Use a configure check for structfs.f_bavail.
60 2008-07-02 Matthias Clasen <mclasen@redhat.com>
62 Bug 534639 – add g_desktop_app_info_new_from_keyfile
65 * gdesktopappinfo.[hc]: Add a function to create a
66 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
68 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
70 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
72 2008-07-01 Matthias Clasen <mclasen@redhat.com>
74 * gunixmounts.c: Fix a doc typo.
76 2008-07-01 Cody Russell <bratsche@gnome.org>
79 * gio/gwin32appinfo.c:
80 * gio/gwin32volumemonitor.c:
81 * gio/gwin32mount.c: Fixed some include problems.
83 2008-07-01 Cody Russell <bratsche@gnome.org>
87 Moved all relevant typedefs into these files.
90 Updated wrt added files.
92 Split types into separate file for easier maintainership. (#538564)
94 2008-06-30 Matthias Clasen <mclasen@redhat.com>
96 Bug 540331 – g_file_append_to () documentation: can return NULL
98 * gfile.c (g_file_append_to): Clarify docs.
101 2008-06-30 Matthias Clasen <mclasen@redhat.com>
103 Bug 539090 – g_content_type_from_mime_type() should unalias
105 * gcontentype.c (g_content_type_from_mime_type): Unalias.
106 Patch by Markus Bergman
108 2008-06-30 Matthias Clasen <mclasen@redhat.com>
110 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
113 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
114 on ppc and alpha. Reported by Mart Raudsepp
116 2008-06-29 Matthias Clasen <mclasen@redhat.com>
119 * tests/memory-output-stream.c: Add some tests for
122 2008-06-29 Matthias Clasen <mclasen@redhat.com>
124 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
127 * gmemoryoutputstream.c (array_resize): Handle truncation to
128 zero correctly. Reported by Akira Tagoh
130 2008-06-29 Matthias Clasen <mclasen@redhat.com>
132 * gmemoryoutputstream.c: Trivial doc fixes
134 2008-06-29 Matthias Clasen <mclasen@redhat.com>
136 Bug 540802 – g_list_prepend doesn't concat lists
138 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
139 one list to another. Pointed out by Jan Arne Petersen
141 2008-06-28 Michael Natterer <mitch@imendio.com>
143 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
145 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
147 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
148 to avoid problems with partial icon themes.
150 2008-06-17 Hans Breuer <hans@breuer.org>
152 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
153 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
154 access again on win32, see bug #538127
155 * giomodule.c : ensure GWin32VolumeMonitor is registered
156 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
157 * Makefile.am makefile.msc : updated
159 2008-06-16 Hans Breuer <hans@breuer.org>
161 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
162 and initialization in one step avoids c99ism
164 2008-06-16 Christian Persch <chpe@gnome.org>
167 * gio/gbufferedinputstream.c
169 * gio/gdatainputstream.c
170 * gio/gdesktopappinfo.c
172 * gio/gfileenumerator.c
173 * gio/gfileinputstream.c
174 * gio/gfileoutputstream.c
176 * gio/glocaldirectorymonitor.c
178 * gio/glocalfileenumerator.c
179 * gio/glocalfileinfo.c
180 * gio/glocalfilemonitor.c
181 * gio/glocalfileoutputstream.c
182 * gio/gmemoryinputstream.c
183 * gio/gmemoryoutputstream.c
184 * gio/goutputstream.c
185 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
188 2008-06-16 Tor Lillqvist <tml@novell.com>
190 Bug 538362 - Get Win32 icons back in the file chooser
192 * gcontenttype.c (g_content_type_get_icon): Look up the icon
193 corresponding to a file extension in the Registry. Patch by Hans
195 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
197 2008-06-16 Tor Lillqvist <tml@novell.com>
199 Patches by Hans Breuer:
201 * glocalfile.c (is_xp_or_later): Handle compiling against older
202 SDK headers with missing VerifyVersionInfo(). Conditioned on
203 _MSC_VER, but should probably use some better test.
204 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
205 uninitialised statfs_result variable on Win32.
207 2008-06-16 Michael Natterer <mitch@imendio.com>
209 * *.c: chain up unconditionally in finalize() and dispose(). Also
210 don't dereference these function pointers when calling them since
211 that has no meaning at all.
213 2008-06-16 Ross Burton <ross@burtonini.com>
216 Remove check for dispose implementation as it annoys Emmanuele.
218 2008-06-16 Ross Burton <ross@burtonini.com>
220 Bug 536252 – GFileEnumerator should allow access to the containing
226 Add g_file_enumerator_get_container() and a container writeable
227 construct-only property. Also shuffle around typedefs to make it
230 * glocalfileenumerator.c:
231 * glocalfileenumerator.h:
233 Instead of a string filename take a GFile in the constructor and
234 use it to set the container property.
239 2008-06-16 Matthias Clasen <mclasen@redhat.com>
241 * gfile.c: Make includes more uniform
243 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
245 * tests/live-g-file.c (sample_struct):
246 Use less fancy unicode filenames, so the test doesn't fail
247 on Mac OS X (#531476).
249 2008-06-12 Matthias Clasen <mclasen@redhat.com>
251 * === Released 2.17.2 ===
253 2008-06-12 Matthias Clasen <mclasen@redhat.com>
255 * === Released 2.17.1 ===
257 2008-06-11 A. Walton <awalton@gnome.org>
259 * tests/g-file.c (test_g_file_new_null):
260 Fix broken test case.
262 2008-06-11 Matthias Clasen <mclasen@redhat.com>
264 * pltcheck.sh: We use g_clear_error now.
266 2008-06-11 Matthias Clasen <mclasen@redhat.com>
268 * glocalfile.c (g_local_file_enumerate_children): Revert
269 an unintended change.
271 2008-06-11 Matthias Clasen <mclasen@redhat.com>
273 * gfile.c (g_file_replace_contents): Don't unref before the last use.
275 2008-06-10 Matthias Clasen <mclasen@redhat.com>
277 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
280 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
281 as icon for the desktop directory, also make user-home and
282 user-desktop the preferred icons.
284 2008-06-10 Matthias Clasen <mclasen@redhat.com>
287 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
288 to add a name to the front of the list.
290 2008-06-10 Matthias Clasen <mclasen@redhat.com>
292 Bug 537392 – Additional colon in xattr name
294 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
295 too. Reported by Alessandro Morandi
297 2008-06-10 Matthias Clasen <mclasen@redhat.com>
299 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
302 * glocalfile.c (get_fs_type): Add afs and autofs.
303 Patch by Danny Baumann.
305 2008-06-10 Matthias Clasen <mclasen@redhat.com>
307 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
309 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
310 is no parent. (Owen Taylor, patch by Christian Neumair)
312 2008-06-10 Paolo Borelli <pborelli@katamail.com>
314 * gfile.c (g_file_replace_contents): do not leak the output stream.
316 2008-06-10 Michael Natterer <mitch@imendio.com>
318 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
319 uninitialized memory as array index.
321 2008-06-10 Tor Lillqvist <tml@novell.com>
323 * gcontenttype.c (g_content_type_can_be_executable)
324 (g_content_type_get_icon) [Win32]: Add TODO comments.
326 2008-06-09 Matthias Clasen <mclasen@redhat.com>
328 * xdgmime/Makefile.am: Fix the build
330 2008-06-09 Matthias Clasen <mclasen@redhat.com>
332 * gcontenttype.c (g_content_type_get_icon): Use icons specified
333 in the shared mime database, if available.
335 * xdgmime/*: Sync with upstream. This brings support for
336 glob weights, generic icons, and changes the cache format to
339 2008-05-28 Michael Natterer <mitch@imendio.com>
341 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
342 the global CPPFLAGS now.
344 * tests/data-input-stream.c
345 * tests/data-output-stream.c
346 * tests/g-file-info.c
348 * tests/live-g-file.c
349 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
351 2008-05-27 Matthias Clasen <mclasen@redhat.com>
353 * === Released 2.17.0 ===
355 * tests/live-g-file.c: Clean up after the tests, so make distcheck
356 doesn't complain about leftover files.
358 2008-05-27 simon.zheng <simon.zheng@sun.com>
360 * glocalfile.c: (g_local_file_query_filesystem_info):
361 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
363 2008-05-26 Michael Natterer <mitch@imendio.com>
365 * gmemoryoutputstream.h: declare
366 g_memory_output_stream_get_data_size().
368 2008-05-26 Matthias Clasen <mclasen@redhat.com>
370 * tests/*: Make tests work
372 2008-05-26 Matthias Clasen <mclasen@redhat.com>
374 * gio.symbols: Add g_memory_output_stream_get_data_size.
376 2008-05-25 Ross Burton <ross@burtonini.com>
379 Fix typo in error message (#534764).
381 2008-05-25 Ross Burton <ross@burtonini.com>
384 Fix circular dependency loop for gioenumtypes.h (#534759).
386 2008-05-19 Hans Breuer <hans@breuer.org>
388 * Makefile.am : EXTRA_DIST += makefile.msc
390 2008-05-17 Matthias Clasen <mclasen@redhat.com>
393 * gcontenttype.c: (g_content_type_from_mime_type):
394 New function to create a content type from a mime type. (#527175,
397 2008-05-17 Matthias Clasen <mclasen@redhat.com>
399 Bug 532965 – Should not return filesystem::free for certain file systems
401 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
402 free space for ncpfs.
404 2008-05-17 Matthias Clasen <mclasen@redhat.com>
406 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
408 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
409 st_dev might be zero.
411 2008-05-16 Tor Lillqvist <tml@novell.com>
413 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
414 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
416 2008-05-13 Bastien Nocera <hadess@hadess.net>
418 * gfile.c (has_valid_scheme): A URI scheme must start with a
419 letter, even if later more characters are allowed (#532852)
421 2008-05-05 Michael Natterer <mitch@imendio.com>
423 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
424 code from being checked in that breaks the build of applications
425 which use G_DISABLE_SINGLE_INCLUDES.
427 * makegioalias.pl: make the alias file include "glib.h" instead of
430 * gio.symbols: whitespace change to force regeneration of the
431 alias file after above script change.
433 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
435 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
437 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
439 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
441 2008-04-28 David Zeuthen <davidz@redhat.com>
443 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
444 displaying mounts in a subdirectory not accessible to the
447 2008-04-22 Michael Natterer <mitch@imendio.com>
449 * Makefile.am: fix library versioning (it was 0.0.0).
451 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
453 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
454 Default disable all loggings.
455 * fen/fen-kernel.c: (printevent), (port_add_kevent),
456 (port_fetch_event_cb): Fixed two macro nits.
458 2008-04-16 Matthias Clasen <mclasen@redhat.com>
460 * xdgmime/xdgmime.c: Rework the timestamp checking code
461 to protect against duplicate directories in XDG_DATA_DIRS.
462 Fixes fd.o bug 12513, reported by Joe Shaw.
464 2008-04-16 Matthias Clasen <mclasen@redhat.com>
466 Partically revert the last commit after realizing that
467 xdg_mime_media_type_equal doesn't have to init at all.
470 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
472 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
474 2008-04-16 Matthias Clasen <mclasen@redhat.com>
476 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
477 reported by Joe Shaw and Federico Mena Quintero.
479 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
480 (xdg_mime_media_type_equal): Turn into a wrapper around the
483 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
484 functions throughout.
486 2008-04-16 Michael Meeks <michael.meeks@novell.com>
488 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
489 tolerate an empty TryExec= line without failing; nautilus used
490 to create launchers with these in previous versions. Fixes #528433
492 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
494 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
495 after name. Fixes #527132.
497 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
499 * gfile.c: (g_file_replace):
502 2008-04-07 Matthias Clasen <mclasen@redhat.com>
504 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
506 * gfile.c (file_copy_fallback): Fix the argument order. Patch
507 by Christian Kellner.
509 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
511 * gunixmounts.c: (g_unix_mount_guess_should_display):
512 Don't list the user directory as a mount, fix potential issue
513 when other users have a similar naming and don't special case the
514 gvfs mounts there since that's not required (#525866)
516 2008-03-31 Alexander Larsson <alexl@redhat.com>
518 * glocalfile.c (get_parent):
521 2008-03-31 A. Walton <awalton@svn.gnome.org>
523 * gfile.c (g_file_query_file_type):
524 Always return a GFileType enum value (#520715).
526 2008-03-31 Alexander Larsson <alexl@redhat.com>
528 * glocalfileenumerator.c:
529 Read readdir() info in chunks (of 1000) and sort
530 the chunks by inode before stat:ing.
531 This is a 20% performance increase in testing
532 gvfs-ls on /usr/bin with cold cache.
534 2008-03-31 Alexander Larsson <alexl@redhat.com>
536 * gmemoryoutputstream.c:
537 Clarify docs for g_memory_output_stream_get_size.
538 Add g_memory_output_stream_get_data_size.
540 2008-03-30 Matthias Clasen <mclasen@redhat.com>
544 * gfile.h: Add g_file_query_file_type convenience function
545 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
547 2008-03-30 Matthias Clasen <mclasen@redhat.com>
550 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
552 2008-03-28 A. Walton <awalton@svn.gnome.org>
554 * giomodule.c (_g_io_modules_ensure_loaded):
555 Adds GIO_EXTRA_MODULES environment variable support, closing bug
558 2008-03-28 Alexander Larsson <alexl@redhat.com>
561 (copy_stream_with_progress):
564 2008-03-28 Alexander Larsson <alexl@redhat.com>
567 (copy_stream_with_progress):
568 (file_copy_fallback):
569 Fallback to g_file_query_info for source size
570 if g_file_input_stream_query_info fails. (#524579)
572 2008-03-28 Alexander Larsson <alexl@redhat.com>
574 * glocalfile.c (g_local_file_move):
575 Reuse old string instead of adding new one.
577 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
579 * fen/*.[hc]: still copyright issue. I hate copyright.
581 2008-03-27 Alexander Larsson <alexl@redhat.com>
583 * glocalfile.c (g_local_file_move):
584 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
585 file over directory. This is according to the docs and what the move via
586 copy+remove fallback does.
588 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
590 * fen/*.[hc]: Updated copyright.
592 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
594 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
596 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
598 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
599 not emit attribute changed events when optimizing changed events.
600 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
603 2008-03-19 Matthias Clasen <mclasen@redhat.com>
605 * gmountoperation.[hc]: Small documentation additions
607 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
609 * gunixmounts.c: (guess_mount_type):
610 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
612 2008-03-19 Alexander Larsson <alexl@redhat.com>
615 (copy_stream_with_progress):
616 Bump block side for copy to 64k to minimize
617 overhead for low latency links. (#523015)
619 2008-03-16 Tor Lillqvist <tml@novell.com>
621 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
622 depend on gio.def on Windows.
624 2008-03-12 David Zeuthen <davidz@redhat.com>
628 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
630 2008-03-14 Alexander Larsson <alexl@redhat.com>
634 Avoid redudant tests (#521851)
635 Patch from Josselin Mouette
637 2008-03-14 Alexander Larsson <alexl@redhat.com>
640 (g_file_monitor_is_cancelled):
641 Fix C89 issue (#521672)
642 Patch from Jens Granseuer
644 2008-03-14 Alexander Larsson <alexl@redhat.com>
646 * fam/fam-helper.[ch]:
648 Shut down fam (including removing fam GSource) when
649 module is unloaded (#521513)
650 Patch from Joe Marcus Clarke
652 2008-03-14 Alexander Larsson <alexl@redhat.com>
655 (_g_io_modules_ensure_loaded):
658 2008-03-14 Alexander Larsson <alexl@redhat.com>
661 (g_local_file_query_filesystem_info):
662 Use right define name for f_fstypename member check
664 2008-03-14 Alexander Larsson <alexl@redhat.com>
667 * fen/Makefile.am: Added.
668 * fen/fen-data.[ch]: Added.
669 * fen/fen-dump.[ch]: Added.
670 * fen/fen-helper.[ch]: Added.
671 * fen/fen-kernel.[ch]: Added.
672 * fen/fen-missing.[ch]: Added.
673 * fen/fen-node.[ch]: Added.
674 * fen/fen-sub.[ch]: Added.
675 * fen/gfendirectorymonitor.[ch]: Added.
676 * fen/gfenfilemonitor.[ch]: Added.
678 Added Solaris FEN file notification backend.
679 Patch from Lin Ma <Lin.Ma@Sun.COM>
681 2008-03-13 Tor Lillqvist <tml@novell.com>
683 * Makefile.am: Actually use the gio.def file when linking the
684 library on Windows. Produce .lib library for Microsoft's toolchain
685 when possible. Install the .lib and .def file like for the other
688 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
690 * tests/live-g-file.c:
691 Include live-g-file in standard set of tests, making a temporary
692 directory in source structure.
694 Clean target directory before the tests (write mode only)
696 2008-03-12 Tor Lillqvist <tml@novell.com>
698 Bug 517419 - gio win32 directory monitor
699 Implementation by Vlad Grecescu.
702 * win32/gwin32directorymonitor.h
703 * win32/gwin32directorymonitor.c: New files.
705 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
707 * Makefile.am: Add the win32 subdirectory.
709 2008-03-12 Tor Lillqvist <tml@novell.com>
711 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
712 normal struct stat on Unix but struct _stati64 on Windows to have
713 access to 64-bit file size information. Use that instead of struct
714 stat in the functions declared here in this private header.
716 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
717 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
718 warnings about unused functions and variables. Don't set
719 meaningless attributes like inode numbers on Windows.
721 2008-03-12 Benjamin Otte <otte@gnome.org>
724 trim whitespace so gtk-doc groks the function name
726 2008-03-12 Tor Lillqvist <tml@novell.com>
728 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
729 returning FALSE, on Win32.
731 2008-03-11 Alexander Larsson <alexl@redhat.com>
734 * glocalfileinfo.[ch]:
735 Correctly implement can_trash by actually
736 looking for a trash dir, not just assuming
739 2008-03-10 Matthias Clasen <mclasen@redhat.com>
741 * === Released 2.16.1 ===
743 2008-03-11 Alexander Larsson <alexl@redhat.com>
746 Fix crashes in new constructor and properties code
748 2008-03-10 Murray Cumming <murrayc@murrayc.com>
750 * gfile.c: Minor spelling correction in documentation:
751 existance -> existence.
753 2008-03-10 Matthias Clasen <mclasen@redhat.com>
755 * === Released 2.16.0 ===
757 2008-03-10 Matthias Clasen <mclasen@redhat.com>
759 * gio.symbols: Remove g_file_contains_file here, too.
761 2008-03-10 Matthias Clasen <mclasen@redhat.com>
763 * gthemedicon.c: Add properties to make bindings happy. (#517676,
764 Samuel Cormier-Iijima)
766 2008-03-08 Tor Lillqvist <tml@novell.com>
768 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
771 2008-03-07 Alexander Larsson <alexl@redhat.com>
774 (g_local_file_query_filesystem_info):
775 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
776 Patch from Jasper Lievisse Adriaanse
778 2008-03-06 Tor Lillqvist <tml@novell.com>
780 * gfileinfo.h: Correct milliseconds to microseconds in the doc
781 comments for the *_USEC attributes.
783 2008-03-06 Alexander Larsson <alexl@redhat.com>
785 * gfile.c (g_file_query_exists):
786 Add g_return_val_if_fail check (#520700)
788 2008-03-06 Alexander Larsson <alexl@redhat.com>
793 * gunionvolumemonitor.c:
796 * tests/live-g-file.c:
797 * xdgmime/xdgmimecache.c:
798 Fix sparse warnings (#519489)
800 2008-03-05 Alexander Larsson <alexl@redhat.com>
803 Make cancellation threadsafe (i.e.
804 guarantee its only done once, and always
807 * glocaldirectorymonitor.c:
808 Make sure we the monitor lives while the
809 mounts_changed callback is being called (#520484)
811 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
813 * gbufferedinputstream.c: Fix typo in parameter
816 2008-03-04 Alexander Larsson <alexl@redhat.com>
819 Remove deprecated symbols we kept for one release.
821 2008-03-04 Murray Cumming <murrayc@murrayc.com>
824 * goutputstream.c: Tiny documentation corrections.
826 2008-03-03 Alexander Larsson <alexl@redhat.com>
828 * gunionvolumemonitor.c:
830 Fix the adopt_orphan_mount vfunc to take a
831 volume_monitor reference in an ABI compat way.
832 This change is not API compat, but the added
833 arg is not used in the only user of this vfunc, so
834 all we get is a harmless warning in gvfs (#520169)
836 2008-03-01 Benjamin Otte <otte@gnome.org>
839 clarify docs for g_file_delete().
841 2008-02-29 Alexander Larsson <alexl@redhat.com>
845 Make sure empty files get text/plain type (#518720)
847 2008-02-27 Alexander Larsson <alexl@redhat.com>
853 (g_unix_volume_mount):
854 Add missing GMountMountFlags argument
856 2008-02-26 Alexander Larsson <alexl@redhat.com>
859 (g_local_file_delete):
860 Handle filesystems (like ntfs-3g) that return EEXIST instead
861 of ENOTEMPTY (#518816)
863 2008-02-25 Matthias Clasen <mclasen@redhat.com>
865 * === Released 2.15.6 ===
867 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
869 * gfile.c (g_file_find_enclosing_mount):
870 * ginputstream.c (g_input_stream_set_pending):
871 * glocalfile.c (g_local_file_find_enclosing_mount):
872 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
873 * goutputstream.c (g_output_stream_set_pending):
875 Fixup translator comments (#518578).
877 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
879 * gfile.c (g_file_find_enclosing_mount):
881 * glocalfile.c (g_local_file_find_enclosing_mount):
884 Fix a few typos in translator comments and documentation.
886 2008-02-25 Alexander Larsson <alexl@redhat.com>
893 Add translator comments (#518578)
895 2008-02-25 Alexander Larsson <alexl@redhat.com>
898 Reintroduce g_file_contains_file, keep around for one
899 unstable release cycle to avoid crashing to many apps.
900 Make sure to delete after release.
902 2008-02-25 Alexander Larsson <alexl@redhat.com>
905 Remove deprecated g_file_contains_file.
907 2008-02-25 Alexander Larsson <alexl@redhat.com>
910 Emit actual change signals in an idle handler.
911 This avoids reentrance and locking problems in
912 the file notification backends.
914 2008-02-25 Alexander Larsson <alexl@redhat.com>
917 (g_unix_mount_guess_should_display):
918 Remove type guessing, instead just display
919 mounts in /media and in ~/.
921 2008-02-25 Alexander Larsson <alexl@redhat.com>
924 Make new strings reuse old ones.
926 2008-02-25 Alexander Larsson <alexl@redhat.com>
929 Implement trashing and filesystem::readonly for win32 (#517235)
930 Patch from Yevgen Muntyan
932 2008-02-23 Matthias Clasen <mclasen@redhat.com>
934 * gfileinfo.h: Documentation fixes.
936 2008-02-22 Alexander Larsson <alexl@redhat.com>
938 * gcontenttype.c (g_content_type_get_icon):
939 Look at old-style gnome mime icon names too, as many
940 have not moved to the new style.
942 2008-02-21 Matthias Clasen <mclasen@redhat.com>
944 * *.c: Correct the @include in for section docs.
946 2008-02-21 David Zeuthen <davidz@redhat.com>
948 * glocalfileinfo.c: (_g_local_file_info_get):
950 (g_content_type_get_icon): Implement this function by
951 moving bits from glocalfileinfo.c
952 (g_content_type_get_description): Unalias before getting
953 description (#517687)
955 * gfile.c: (g_file_class_init),
956 (g_file_query_filesystem_info_async),
957 (g_file_query_filesystem_info_finish),
958 (query_filesystem_info_data_free),
959 (query_filesystem_info_async_thread),
960 (g_file_real_query_filesystem_info_async),
961 (g_file_real_query_filesystem_info_finish):
962 * gfile.h: Implement async version of
963 g_file_query_filesystem_info()
965 * gfileinfo.h: Add new attributes for filesystem::use-preview
967 * gio.symbols: Update
969 * gthemedicon.c: (g_themed_icon_append_name):
970 * gthemedicon.h: Add new new convenience function.
972 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
973 (get_mounts), (get_volumes), (get_connected_drives),
974 (get_volume_for_uuid), (get_mount_for_uuid),
975 (g_union_volume_monitor_init), (populate_union_monitor),
976 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
977 (g_volume_monitor_adopt_orphan_mount):
979 * gvolumemonitor.h: Use recursive locks so it's safe for volume
980 monitor implementations to call into the main volume monitor. Also
981 separate object initialization and volume monitor initialization
982 such that non-native volume monitors can properly adopt their
985 2008-02-21 Alexander Larsson <alexl@redhat.com>
990 2008-02-21 Alexander Larsson <alexl@redhat.com>
993 Add more documentation about how GFiles work (from #517086)
995 2008-02-21 Alexander Larsson <alexl@redhat.com>
999 Add new g_file_has_prefix that does the same as g_file_contains_file.
1000 Deprecate g_file_contains_file and add a macro that converts
1001 it to g_file_has_prefix.
1002 The reason for this change is that the contains_file() name seems to
1003 imply that this does more work than what it does, but its really only
1004 a name match (from #517086)
1009 Update to match the above change.
1011 2008-02-20 Benjamin Otte <otte@gnome.org>
1013 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1014 (g_file_eject_mountable):
1015 even more cases of not returning in error path
1017 2008-02-20 Benjamin Otte <otte@gnome.org>
1019 * gfile.c: (g_file_mount_mountable):
1020 return from function in error path.
1022 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1025 Remove trailing coma in GMountMountFlags struct
1027 2008-02-18 Alexander Larsson <alexl@redhat.com>
1031 * glocalfileoutputstream.c:
1032 Use g_unlink/g_rename instead of unlink/rename;
1033 do not pass raw filenames to g_set_error. (#517239)
1034 Patch from Yevgen Muntyan.
1036 2008-02-18 Alexander Larsson <alexl@redhat.com>
1039 * glocalfileoutputstream.c:
1040 Open files with O_BINARY on windows. (#517140)
1042 2008-02-14 Alexander Larsson <alexl@redhat.com>
1044 * glocalfileoutputstream.c:
1045 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1047 2008-02-14 Alexander Larsson <alexl@redhat.com>
1050 Copy permissions with file on copy (#514084)
1051 This is what cp does and makes sure e.g. the
1052 exec permissions are kept.
1053 Its kinda weird in that it keeps the permission bits
1054 the same while the uid and gid are different. However
1055 the new uid is the user so its not a security issue,
1056 and I've heard no complaints about cp on this issue.
1058 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1060 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1062 2008-02-13 Alexander Larsson <alexl@redhat.com>
1064 * inotify/inotify-path.c:
1065 Define IN_ONLYDIR if not in header (#515346)
1067 2008-02-12 Alexander Larsson <alexl@redhat.com>
1069 * tests/live-g-file.c:
1072 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1074 * === Released 2.15.5 ===
1076 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1078 * gio.symbols: Add g_mount_mount_flags_get_type.
1080 2008-02-11 Alexander Larsson <alexl@redhat.com>
1083 (g_file_info_set_attribute_mask):
1084 (g_file_attribute_matcher_matches_id):
1085 Correctly handle NULL GAttributeMatcher meaning
1086 matches nothing. (Fixes #513492)
1088 2008-02-11 Alexander Larsson <alexl@redhat.com>
1093 Added GMountMountFlags enum and added a flags
1094 argument to all mount calls.
1096 This is an API/ABI change for future extensibility,
1097 as I think we will need at least an
1098 inhibit-autorun flag (the panel needs this).
1099 There are no flags defined yet though.
1101 2008-02-11 Alexander Larsson <alexl@redhat.com>
1104 Added new standard::description attribute.
1105 Requested by Vincent, and useful for both
1108 2008-02-11 Alexander Larsson <alexl@redhat.com>
1110 * gdesktopappinfo.c:
1113 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1115 * *.c: Documentation additions
1117 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1119 * gappinfo.h: Formatting cleanup
1120 * gappinfo.c: Fix up docs.
1122 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1124 * gunixmounts.c: Consistently use getmntent_r() and fall
1125 back to getmntent(). (#515492)
1127 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1129 * gbufferedinputstream.c:
1131 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1133 * tests/data-input-stream.c:
1134 * tests/data-output-stream.c: Portability fixes.
1136 2008-02-08 Alexander Larsson <alexl@redhat.com>
1141 Add g_volume_should_automount.
1144 2008-02-07 Tor Lillqvist <tml@novell.com>
1146 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1147 Win32, too Unix-specific.
1149 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1151 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1152 a local plt if the compiler doesn't support what we want. Bug #514702
1154 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1156 reviewed by: <delete if not using a buddy>
1159 * gunixinputstream.c:
1160 * gunixoutputstream.c:
1162 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1164 * tests/Makefile.am:
1165 * tests/live-g-file.c:
1166 * tests/live-g-file.txt:
1167 New GIO testing module working over real data
1169 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1171 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1172 Fallback to rename() if link() is not available
1173 (when no support on target filesystem)
1175 2008-02-06 Michael Natterer <mitch@imendio.com>
1177 * gfileinfo.c (g_file_info_get_icon): replace
1178 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1180 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1182 * gfile.c (g_file_create):
1183 Documentation update of error codes
1185 2008-02-06 Alexander Larsson <alexl@redhat.com>
1187 * gdesktopappinfo.c:
1188 Update to use both mimeapps.list and
1189 defaults.list as discussed on xdg list.
1191 2008-02-06 Benjamin Otte <otte@gnome.org>
1194 * gfilenamecompleter.c:
1195 Fix some typos in the documentation.
1197 2008-02-06 Alexander Larsson <alexl@redhat.com>
1199 * glocalfile.c (g_local_file_trash):
1200 Don't succeed with trash if newly created
1201 trash dir has the wrong owner. (#514696)
1203 2008-02-05 Alexander Larsson <alexl@redhat.com>
1205 * glocalfile.c (g_local_file_move):
1206 Don't spew warnings when destination is not
1209 2008-02-03 Hans Breuer <hans@breuer.org>
1211 * makefile.msc : update
1213 2008-02-01 Michael Natterer <mitch@imendio.com>
1215 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1216 return value of xdg_mime_list_mime_parents() to a variable of the
1219 2008-02-01 Alexander Larsson <alexl@redhat.com>
1221 * gappinfo.c (g_app_info_launch_uris):
1222 Actually call the launch_uris method, not
1225 2008-02-01 Alexander Larsson <alexl@redhat.com>
1227 * gdesktopappinfo.c (g_desktop_app_info_equal):
1228 Ensure appinfos with no id but same pointer value
1231 2008-02-01 Alexander Larsson <alexl@redhat.com>
1233 * gappinfo.c (g_app_info_launch_default_for_uri):
1236 2008-02-01 Alexander Larsson <alexl@redhat.com>
1240 Add g_app_info_launch_default_for_uri utility
1243 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1245 * gdesktopappinfo.c:
1246 Doc fix for g_app_info_get_default_for_uri_scheme ()
1249 2008-01-30 Alexander Larsson <alexl@redhat.com>
1252 Add doc comment about uris vs GFiles to
1255 * gdesktopappinfo.c:
1256 Ensure uris passed to g_app_info_launch_uris()
1257 are not roundtriped through GFile (as that
1258 may be slightly destructive for e.g. mailto: links)
1260 2008-01-30 Alexander Larsson <alexl@redhat.com>
1262 * tests/data-input-stream.c:
1263 * tests/data-output-stream.c:
1264 C89 fixes from Jens Granseuer (#512849)
1266 2008-01-30 Alexander Larsson <alexl@redhat.com>
1269 Fix gamin/fam difference build issue. (#509419)
1271 2008-01-29 Alexander Larsson <alexl@redhat.com>
1274 * gdesktopappinfo.c:
1275 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1277 2008-01-29 Alexander Larsson <alexl@redhat.com>
1279 * gdesktopappinfo.c:
1280 * gdesktopappinfo.h:
1281 giomodule-priv.h include moved to .c file.
1283 2008-01-29 Alexander Larsson <alexl@redhat.com>
1285 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1286 Remove unused prio/name fields.
1288 2008-01-29 Alexander Larsson <alexl@redhat.com>
1290 * gcontenttype.c (looks_like_text):
1291 Don't treat whitespace as control chars.
1293 2008-01-29 Alexander Larsson <alexl@redhat.com>
1295 * gdesktopappinfo.c:
1296 Lazily create the desktop files for appinfos created
1297 by g_app_info_create_from_commandline() when needed
1298 for mime associations. This allows run-time use
1299 of GAppInfo object without creating unnecessary
1302 2008-01-29 Alexander Larsson <alexl@redhat.com>
1305 Added new symbols to gio.symbols
1307 2008-01-29 Alexander Larsson <alexl@redhat.com>
1310 Add g_file_query_default_handler utility to easily look up
1311 the GAppInfo that handles a file.
1313 * gdesktopappinfo.[ch]:
1315 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1318 Remove unused function
1320 2008-01-29 Alexander Larsson <alexl@redhat.com>
1322 * gfileenumerator.c:
1323 Mention need to free returned value in
1324 g_file_enumerator_next_files_finish docs.
1325 Fix leak if g_file_enumerator_next_files_finish()
1328 2008-01-29 Alexander Larsson <alexl@redhat.com>
1331 (_g_unix_content_type_get_parents):
1332 Use list_parents, not get_parents from xdgmime, because
1333 the later doesn't use the cache.
1335 * xdgmime/xdgmimecache.c:
1336 (_xdg_mime_cache_list_mime_parents):
1337 Don't list the same type as parent multiple times.
1339 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1341 * === Released 2.15.4 ===
1343 2008-01-28 Alexander Larsson <alexl@redhat.com>
1346 Register local vfs with prio 0.
1349 Remove old name and prio class members
1351 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1353 * tests/g-file.c: Disable some tests that are failing in
1354 the absence of a http backend.
1356 2008-01-28 Alexander Larsson <alexl@redhat.com>
1360 Add registration hooks for extension points.
1361 Register the gio extension points.
1363 * fam/gfamdirectorymonitor.c:
1364 * fam/gfamfilemonitor.c:
1365 * glocaldirectorymonitor.[ch]:
1366 * glocalfilemonitor.[ch]:
1367 * gnativevolumemonitor.h:
1368 * gunionvolumemonitor.c:
1369 * gunixvolumemonitor.c:
1372 * inotify/ginotifydirectorymonitor.c:
1373 * inotify/ginotifyfilemonitor.c:
1374 Use the extension points registration instead
1375 of g_type_children().
1377 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1380 * gvolume.[hc]: Document new API.
1382 * gfile.c (g_file_copy_async): Fix docs
1384 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1386 * gbufferedinputstream.c:
1388 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1391 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1393 * glocalfile.c: Avoid trivial differences in translatable strings.
1395 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1397 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1398 build with gcc 3.4 (#509419)
1400 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1402 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1403 (#509994, Murray Cumming)
1405 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1407 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1408 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1409 this allows big jobs to be executed in chunks, instead of blocking
1410 the main loop for a long time.
1412 * gsimpleasyncresult.c:
1413 * giofile.c: Adapt callers.
1415 2008-01-25 Alexander Larsson <alexl@redhat.com>
1417 * gdesktopappinfo.c:
1418 Implement changes discussed on xdg list.
1419 Now we can add supported mimetypes by just using defaults.list
1420 We can also remove associations in defaults.list.
1422 2008-01-25 Alexander Larsson <alexl@redhat.com>
1424 * gdesktopappinfo.c:
1425 Don't make local copy of desktop file
1426 for mimetype changes if the file already
1427 supports the new mimetype.
1429 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1433 * gbufferedinputstream.c:
1434 * glocalfile.c: String improvements. (#511966,
1435 Theppitak Karoonboonyanan)
1437 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1439 * gioscheduler.h: Expand docs a bit.
1441 2008-01-24 Alexander Larsson <alexl@redhat.com>
1444 Add g_drive_get_identifier and
1445 g_drive_enumerate_identifiers
1448 Add g_volume_get_identifier and
1449 g_volume_enumerate_identifiers
1455 Implement identifiers for unix backend
1457 2008-01-24 Alexander Larsson <alexl@redhat.com>
1462 Add g_file_copy_async() (#511580)
1463 Based on patch from Carlos Garcia Campos
1465 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1467 * gioscheduler.c: Some documentation additions.
1469 2008-01-22 Alexander Larsson <alexl@redhat.com>
1471 * gdesktopappinfo.c:
1472 (g_desktop_app_info_new):
1473 Don't leak basename.
1475 2008-01-22 Alexander Larsson <alexl@redhat.com>
1477 * gdesktopappinfo.c:
1478 (g_desktop_app_info_new_from_filename):
1481 2008-01-22 Alexander Larsson <alexl@redhat.com>
1483 * glocalfileinfo.c (get_thumbnail_attributes):
1486 2008-01-22 Alexander Larsson <alexl@redhat.com>
1489 (canonicalize_filename):
1490 Canonicalize paths that start with more than
1494 (compare_two_files):
1495 (test_g_file_new_for_path):
1498 2008-01-22 Alexander Larsson <alexl@redhat.com>
1501 Allow UTF-8 in file:// parse names.
1503 * tests/Makefile.am:
1504 * tests/data-input-stream.c:
1505 * tests/data-output-stream.c:
1506 * tests/g-file-info.c:
1508 Added a bunch of tests from Tomas Bzatek
1510 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1512 * === Released 2.15.3 ===
1514 2008-01-21 Alexander Larsson <alexl@redhat.com>
1516 * gfileinputstream.[ch]:
1517 * gfileoutputstream.[ch]:
1519 Remove duplicated GSeekable functions. (#509990)
1520 Just use the g_seekable_xxx() calls instead.
1522 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1525 * gvolumemanager.c: Whitespace cleanups.
1527 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1528 Use the right mode when creating the file.
1530 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1532 * gfileenumerator.c:
1533 * gfileinputstream.c:
1535 * goutputstream.c: Documentation: Fixed minor typos
1536 and added more mentions of specific _finish() functions.
1538 2008-01-21 Alexander Larsson <alexl@redhat.com>
1540 * inotify/Makefile.am:
1541 * inotify/inotify-helper.c:
1542 * inotify/inotify-kernel.c:
1543 * inotify/inotify-path.c:
1544 * inotify/local_inotify.h: Removed.
1545 * inotify/local_inotify_syscalls.h: Removed.
1546 Removed the included copies of the inotify
1547 headers. We now only use the <sys/inotify.h>
1548 header which exists on modern systems.
1549 This fixes problems on ARM and SH5 (#510448)
1550 but is also generally much cleaner and future
1551 safe. For instance, if other OSes add support
1552 for inotify it should "just work".
1554 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1556 * inotify/*.c: Coding style fixes.
1557 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1558 for the 1/4 Hz timer.
1560 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1563 * gfilemonitor.[hc]:
1564 * gmemoryinputstream.c:
1565 * gmemoryoutputstream.c:
1566 * gmountoperation.c:
1567 * gthemedicon.c: Documentation updates
1569 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1571 * gfile.c: documentation: Fixed more minor
1574 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1576 * gmount.c: (g_mount_remount): documentation:
1577 Mention g_mount_remount_finish() instead of
1578 g_mount_unmount_finish().
1580 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1584 * gfile.c: Fixed some minor typos in the
1587 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1589 * gio/gvolumemonitor.c:
1590 (g_volume_monitor_get_connected_drives):
1591 (g_volume_monitor_get_volumes):
1592 (g_volume_monitor_get_mounts): Documentation:
1593 Clarify the ownership of the regurn GLists.
1595 2008-01-17 Alexander Larsson <alexl@redhat.com>
1598 Add the async find_enclosing_mount version
1599 to the header file too.
1601 2008-01-17 Alexander Larsson <alexl@redhat.com>
1604 Add async version of find_enclosing_mount
1605 with default implementation.
1607 2008-01-17 Alexander Larsson <alexl@redhat.com>
1612 Allow calls to implementation of copy and write
1613 even if the type of the file implementations is
1614 different. This can be used to implement native
1615 upload and download calls in a vfs.
1618 (g_local_file_move):
1619 Protect against the case where move is called
1620 with one file not being local.
1622 Make sure we call the progress callback once
1623 in the native move operation so that the caller
1624 knows how many bytes were copied.
1626 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1629 * gdatainputstream.c:
1631 * gfileoutputstream.c:
1636 * gunixmounts.c: Corrected some typos in the documentation:
1637 occured -> occurred.
1638 its -> it's (where appropriate).
1640 2008-01-16 Alexander Larsson <alexl@redhat.com>
1644 Add g_file_query_exists (#508771)
1646 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1651 * gvolume.c: For async functions that have no non-async
1652 version, document that the GAsyncReadyCallback may be NULL.
1655 2008-01-15 Alexander Larsson <alexl@redhat.com>
1657 * gmemoryinputstream.c:
1658 * gmemoryoutputstream.c:
1659 Don't do pointer arithmetic on void * (#508602)
1660 Patch from Kazuki IWAMOTO
1662 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1664 * === Released 2.15.2 ===
1666 2008-01-14 Alexander Larsson <alexl@redhat.com>
1668 * gfile.c (g_file_monitor_file):
1669 Don't set error here, since we fallback to polling monitor.
1671 2008-01-14 Alexander Larsson <alexl@redhat.com>
1674 (g_file_monitor_directory):
1675 (g_file_monitor_file):
1676 Add GError to file monitor calls
1678 * glocaldirectorymonitor.c:
1679 * glocaldirectorymonitor.h:
1681 * glocalfilemonitor.c:
1682 * glocalfilemonitor.h:
1684 Update for above change
1686 2008-01-14 Alexander Larsson <alexl@redhat.com>
1690 Handle root correctly in g_file_get_relative_path (#508719)
1692 2008-01-14 Alexander Larsson <alexl@redhat.com>
1695 Clean up docs and example for GAsyncResult (#508074)
1697 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1699 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1700 and correct some spelling mistakes. Bug #508108.
1702 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1704 * glocalfileinfo.c: Add a comment.
1706 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1708 * gfileinfo.c: GFileInfo description: Mention
1709 how to actually set attributes in a GFile and how to discover
1710 which attributes are settable. Bug #508378.
1712 2008-01-10 A. Walton <awalton@svn.gnome.org>
1714 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1715 (g_app_info_get_default_for_type):
1716 Check for NULL content types.
1718 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1720 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1722 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1724 * gfile.c: *_async() functions: Several small corrections
1725 to the documentation, mostly correcting copy/paste errors
1726 and improving some sentences.
1728 2008-01-09 Dan Winship <danw@gnome.org>
1730 * glocalfile.c (get_unique_filename): x86_64 fix
1732 2008-01-09 Alexander Larsson <alexl@redhat.com>
1737 Add g_unix_mount_guess_should_display and use
1738 for unix volume monitor backend.
1739 This means we more or less show what the
1740 gnome-vfs backend did.
1741 Based on patch from Padraig O'Briain
1743 2008-01-09 Alexander Larsson <alexl@redhat.com>
1747 Add g_themed_icon_new_with_default_fallbacks
1750 Use default fallbacks for icons
1752 2008-01-09 Alexander Larsson <alexl@redhat.com>
1755 * gmountoperation.[ch]:
1756 Change the API a bit so that unhandled methods
1757 get reported via the reply, rather than by
1758 the signal emission return value. This is because
1759 some handlers can't know this immediately without
1760 doing I/O, and this is an async operation that
1763 2008-01-09 Alexander Larsson <alexl@redhat.com>
1766 * fam/gfamdirectorymonitor.c:
1767 * fam/gfamfilemonitor.c:
1768 Fix double free crash (#508224)
1769 Patch from Joe Marcus Clarke
1771 008-01-07 Matthias Clasen <mclasen@redhat.com>
1773 * === Released 2.15.1 ===
1775 2008-01-07 Alexander Larsson <alexl@redhat.com>
1777 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1778 Fix warning (#507835)
1780 2008-01-07 Alexander Larsson <alexl@redhat.com>
1783 Pass --internal to glib-genmarshal
1786 * gmountoperation.c:
1788 Use better types for signal arguments (#507822)
1790 2008-01-07 Alexander Larsson <alexl@redhat.com>
1793 Build test subdir after .
1794 Remove gdirectorymonitor.[ch]
1796 * gdirectorymonitor.[ch]:
1800 Remove GDirectoryMonitor and make
1801 GFileMonitor the baseclass for both file and
1802 directory monitors. Lift the more generic
1803 rate limiting code from GDirectoryMonitor
1807 * fam/gfamdirectorymonitor.[ch]:
1808 * inotify/ginotifydirectorymonitor.[ch]:
1809 * inotify/inotify-helper.c:
1810 * glocaldirectorymonitor.[ch]:
1813 Update for the removed GDirectoryMonitor.
1815 * gmemoryoutputstream.c:
1816 Remove ununsed variable
1818 2008-01-07 Alexander Larsson <alexl@redhat.com>
1820 * gmemoryinputstream.c:
1821 Translate error strings
1824 * gmemoryoutputstream.[ch]:
1825 New implementation that avoids using GByteArray
1826 in implementation and API. (#506377)
1828 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1830 * tests/*: Add a test for memory input streams.
1832 * Makefile.am: Add tests to SUBDIRS.
1834 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1836 * glocalfilemonitor.c:
1837 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1840 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1842 * gdesktopappinfo.c: Fix a docs typo.
1844 * gfileattribute.c: Add information about extended attributes
1845 to the documentation. (#505058)
1847 2008-01-04 Alexander Larsson <alexl@redhat.com>
1850 * gmountoperation.c:
1851 Use the right type (uint) for the ask_password signal.
1853 2008-01-04 Alexander Larsson <alexl@redhat.com>
1858 Add g_app_info_supports_files()
1859 Remove desktop arg from g_app_info_should_show().
1861 * gdesktopappinfo.[ch]:
1862 Implement g_app_info_supports_files() and new should_show()
1863 Add g_desktop_app_info_set_desktop_env() to set the desktop
1864 for should_show(). (This will be set by gtk+ later)
1866 2008-01-04 Alexander Larsson <alexl@redhat.com>
1869 * gmemoryinputstream.[ch]:
1870 Improve API so that you can use multiple chunks
1871 of memory and custom destroy functions. (#506374)
1873 2008-01-03 Alexander Larsson <alexl@redhat.com>
1876 Handle NULL attribute matchers safely, as we return this
1877 for empty attribute matcher strings.
1879 2008-01-03 Alexander Larsson <alexl@redhat.com>
1881 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1882 Add /usr/local to list of internal mountpoints
1884 2008-01-03 Alexander Larsson <alexl@redhat.com>
1887 Check for HAVE_LCHOWN (#505887)
1889 2008-01-03 Alexander Larsson <alexl@redhat.com>
1893 Add define for selinux context attribute.
1894 Fix missing : -> :: namespace separator change
1895 Fix missing _ -> - name change for xattr-sys.
1898 2008-01-03 Alexander Larsson <alexl@redhat.com>
1901 Link to libglib and libgobject directly (#504879)
1902 Patch from Sebastien Bacher
1904 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1906 * gfile.c: Expanded the g_file_new_for_commandline_arg
1907 description a bit, based on the code and the docs of the
1908 other g_file_new_for_* functions.
1910 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1912 * gfilemonitor.h: Fixed typo in docs.
1914 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1916 Updates to GIO documentation. (#506395, Mikael Hermansson)
1918 * gcontenttype.c: Describe memory management for return value of
1919 g_content_types_get_registered(). Missing piece from #505815.
1920 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1921 GVolume, GDrive, GMounts, which hopefully gives the user less
1922 confusions when using this API. Following explainations from
1923 Alexander Larsson on gtk-devel-list.
1925 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1927 * gfileinfo.c: Expand the long description.
1929 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1932 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1933 fix builds with --disable-visibility. (#500273, Christian Persch)
1935 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1937 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1938 in the list of returned app infos.
1940 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1942 * gappinfo.c: Fix a cross-reference
1944 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1946 * gfileinputstream.c:
1947 * gfileoutputstream.c:
1951 * gdesktopappinfo.c:
1953 * gfileinfo.c: Documentation updates.
1955 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1957 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1960 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1962 * gcontenttype.c (g_content_types_get_registered): Don't return
1963 freed memory (#505815, Mikael Hermansson)
1965 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1967 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1968 used to detect statbuf->st_blocks. (#505042)
1970 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1972 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1973 environment handling. (#504829, Cosimo Cecchi)
1975 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1977 * gappinfo.c: Doc improvements
1979 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1982 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1984 * === Released 2.15.0 ===
1986 2007-12-20 Hans Breuer <hans@breuer.org>
1988 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1989 with symbols gwin32appinfo.obj, added gmount.obj
1990 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1992 2007-12-20 Alexander Larsson <alexl@redhat.com>
1998 * gfilenamecompleter.c:
2001 * gpollfilemonitor.c:
2002 File attribute renames:
2004 fs:: -> filesystem::
2005 id::fs -> id::filesystem
2007 2007-12-20 Alexander Larsson <alexl@redhat.com>
2016 Add GMountUnmountFlags to all unmount and
2018 Add g_mount_remount() call.
2020 2007-12-20 Alexander Larsson <alexl@redhat.com>
2022 * gvfs.c (get_default_vfs):
2023 Fix unused variable warning
2025 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2027 * pltcheck.sh: Update
2029 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2031 * gunionvolumemonitor.c:
2032 * gunixmount.c: Remove C99 comments
2034 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2036 * gio.symbols: Add some missing symbols
2038 2007-12-19 Alexander Larsson <alexl@redhat.com>
2041 Make g_io_modules_load_all_in_directory not unuse
2042 loaded modules so that users of it can do stuff
2044 Init internal "module" types.
2045 Initialize static prio and name for types so that
2046 we don't have to load modules to get it.
2048 * gnativevolumemonitor.h:
2050 Move is_supported to parent class so that
2051 non-native monitors can avoid being initialized
2052 too. (For instance GDaemonVolumeMonitor if we're
2053 not using GDaemonVfs.)
2055 * glocaldirectorymonitor.[ch]:
2056 * glocalfilemonitor.[ch]:
2057 * gunionvolumemonitor.c:
2058 * gunixvolumemonitor.c:
2060 Find plugins using the static prio+name to
2061 avoid unnecessarily loading the modules.
2063 2007-12-19 Alexander Larsson <alexl@redhat.com>
2068 2007-12-19 Alexander Larsson <alexl@redhat.com>
2070 * gunionvolumemonitor.c:
2071 Store the native type as GType, not class so that
2072 we can unload it. But still avoid unnecessarily
2075 2007-12-19 David Zeuthen <davidz@redhat.com>
2077 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2078 add signals 'disconnected' and 'eject-button' on GDrive. Add
2079 signal 'removed' on GVolume and 'unmounted' on GMount.
2081 * gdrive.c: (g_drive_base_init):
2083 * gfile.c: (g_file_mount_mountable),
2084 (g_file_mount_enclosing_volume):
2087 * gmount.c: (g_mount_base_init):
2089 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2090 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2091 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2095 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2097 * *.c: Fix up includes in the section docs.
2099 2007-12-17 Alexander Larsson <alexl@redhat.com>
2101 * gnativevolumemonitor.h:
2102 * gunionvolumemonitor.c:
2103 * gunixvolumemonitor.c:
2104 Add is_supported() to GNativeVolumeMonitorClass so
2105 that we can avoid having to create an object to see
2106 if the backend is supported at runtime.
2107 Also add name member and an env var to pick a specific
2108 volume monitor backend.
2112 Add cancellable to _g_mount_get_for_mount_path()
2114 * glocaldirectorymonitor.c:
2115 * glocalfilemonitor.c:
2116 Avoid loading and unloading modules while sorting.
2118 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2121 * gunixmounts.[hc]: Namespace waste reduction, move some
2122 g_get_unix_mount functions to the g_unix_mount namespace.
2125 * gunixvolumemonitor.c:
2127 * glocaldirectorymonitor.c: Update all callers.
2129 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2131 2007-12-17 Alexander Larsson <alexl@redhat.com>
2134 Add doc comments about what GFile operations are
2135 guaranteed to not block.
2137 2007-12-17 Alexander Larsson <alexl@redhat.com>
2140 Add missing #ifdef fixing OSX build.
2141 (#503334, patch from Richard Hult)
2143 2007-12-14 David Zeuthen <davidz@redhat.com>
2147 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2148 (g_mount_eject), (g_mount_eject_finish):
2150 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2151 (get_volume_for_uuid), (get_mount_for_uuid),
2152 (g_union_volume_monitor_class_init),
2153 (get_default_native_type_with_exclude), (get_default_native_type),
2154 (get_native_type), (update_native_type),
2155 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2156 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2157 (g_unix_mount_can_eject), (eject_unmount_cb),
2158 (eject_unmount_read_error), (eject_unmount_do),
2159 (g_unix_mount_unmount), (g_unix_mount_eject),
2160 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2161 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2162 (g_unix_mount_point_guess_can_eject):
2164 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2165 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2166 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2167 (g_unix_volume_mount), (g_unix_volume_eject),
2168 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2169 * gunixvolumemonitor.c: (get_volume_for_uuid),
2170 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2172 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2173 (g_volume_eject), (g_volume_eject_finish):
2175 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2176 (g_volume_monitor_get_mount_for_uuid):
2179 Provide eject() on both GMount and GVolume and utility functions
2180 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2181 ejected. Introduce the concept of UUID's and wire it into GVolume
2182 and GMount and provide API on GVolumeMonitor to find such
2183 instances. Also handle the case where an external
2184 GNativeVolumeMonitor fails to initialize. Lock around the
2185 _g_get_mount_for_mount_path() function such that volume monitor
2186 implementations won't have to do locking themselves.
2188 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2190 * gdesktopappinfo.c:
2196 * gvolume.h: Documentation updates
2198 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2201 * gfile.h: Doc updates
2203 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2206 * gdesktopappinfo.c: Use hash table iterators.
2208 2007-12-14 Alexander Larsson <alexl@redhat.com>
2211 * gfileattribute.[ch]:
2212 * gfileattribute-priv.h:
2213 Move GFileAttributeValue to a private header, as
2217 Make set_attribute take a type + a pointer instead
2218 of a GFileAttributeValue.
2221 Fix up for above changes.
2222 Add g_file_info_get_attribute_data to get
2223 all info in one call, g_file_info_get_attribute_status
2224 to get the status and g_file_info_get_attribute_as_string.
2228 * glocalfileinfo.[ch]:
2232 Make _guess_type static.
2234 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2237 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2238 made mkenums and friends use temporary files to avoid leaving
2239 empty generated files on failure (#503470).
2241 2007-12-14 Alexander Larsson <alexl@redhat.com>
2243 * gmountoperation.h:
2246 2007-12-14 Alexander Larsson <alexl@redhat.com>
2250 * gfileattribute.[ch]:
2253 * glocalfileoutputstream.c:
2254 * gmountoperation.[ch]:
2255 * goutputstream.[ch]:
2256 Clean up all flags enums to not have _FLAGS in them
2257 Make the names of some of the enums better.
2262 2007-12-14 Michael Natterer <mitch@imendio.com>
2264 * gio.symbols: fix g_io_scheduler symbol names.
2266 2007-12-14 Alexander Larsson <alexl@redhat.com>
2272 * gbufferedinputstream.h:
2273 * gbufferedoutputstream.h:
2276 * gdatainputstream.h:
2277 * gdataoutputstream.h:
2278 * gdesktopappinfo.h:
2279 * gdirectorymonitor.h:
2283 * gfileenumerator.h:
2286 * gfileinputstream.h:
2288 * gfilenamecompleter.h:
2289 * gfileoutputstream.h:
2290 * gfilterinputstream.h:
2291 * gfilteroutputstream.h:
2299 * gmemoryinputstream.h:
2300 * gmemoryoutputstream.h:
2302 * gmountoperation.h:
2305 * gsimpleasyncresult.h:
2307 * gunixinputstream.h:
2309 * gunixoutputstream.h:
2313 * inotify/Makefile.am:
2314 Only allow including <gio/gio.h> from apps
2316 2007-12-14 Alexander Larsson <alexl@redhat.com>
2318 * gioscheduler.[ch]:
2319 * gsimpleasyncresult.c:
2320 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2321 Split out the send_to_mainloop call into two versions instead
2322 of having the block argument.
2324 2007-12-13 Alexander Larsson <alexl@redhat.com>
2326 * gcancellable.[ch]:
2328 * gbufferedinputstream.c:
2329 * gfileenumerator.c:
2330 * gfileinputstream.c:
2331 * gfileoutputstream.c:
2335 g_push/pop_current_cancellable ->
2336 g_cancellable_push/pop_current
2338 2007-12-13 Alexander Larsson <alexl@redhat.com>
2342 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2344 2007-12-13 Alexander Larsson <alexl@redhat.com>
2346 * gmountoperation.h:
2347 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2349 2007-12-12 Alexander Larsson <alexl@redhat.com>
2352 Fix race condition when freeing proxy in
2353 g_io_job_send_to_mainloop().
2355 2007-12-12 Alexander Larsson <alexl@redhat.com>
2361 Make attribute namespace separator "::" instead of ":".
2362 Use - instead of _ as separator in attribute names.
2364 2007-12-12 Alexander Larsson <alexl@redhat.com>
2366 * gbufferedinputstream.h:
2367 * gbufferedoutputstream.h:
2368 * gdatainputstream.h:
2369 * gdataoutputstream.h:
2370 * gdirectorymonitor.h:
2371 * gfileenumerator.h:
2372 * gfileinputstream.h:
2374 * gfileoutputstream.h:
2375 * gfilterinputstream.h:
2376 * gfilteroutputstream.h:
2378 * glocalfileinputstream.h:
2379 * glocalfileoutputstream.h:
2380 * gmemoryinputstream.h:
2381 * gmemoryoutputstream.h:
2382 * gnativevolumemonitor.h:
2384 * gunixinputstream.h:
2385 * gunixoutputstream.h:
2388 s/parent/parent_instance/ in GObjects
2390 2007-12-12 Alexander Larsson <alexl@redhat.com>
2395 No need for padding for interfaces
2397 2007-12-12 Alexander Larsson <alexl@redhat.com>
2401 * gbufferedinputstream.c:
2402 * gbufferedoutputstream.c:
2405 * gdatainputstream.[ch]:
2406 * gdesktopappinfo.c:
2407 * gdirectorymonitor.c:
2409 * gfileattribute.[ch]:
2412 * gfileinputstream.h:
2413 * gfilemonitor.[ch]:
2414 * gfileoutputstream.[ch]:
2415 * gfilterinputstream.h:
2416 * gfilteroutputstream.h:
2419 * gloadableicon.[ch]:
2420 * gmemoryinputstream.c:
2421 * gmountoperation.c:
2423 Fix up a bunch of details in the docs.
2428 2007-12-11 David Zeuthen <davidz@redhat.com>
2430 Rework how volumes, drives and volume monitoring is
2431 done. Previosly the model was
2433 GDrive <1-1> GVolume
2435 where a GDrive instance represented a mount point and a GVolume
2436 instance represented a mounted file system. This patch changes it
2439 GDrive <1-N> GVolume <1-1> GMount
2441 where GMount now serves the purpose of the old GVolume and the new
2442 GVolume serves the purpose of the old GDrive. In addition the new
2443 GDrive interface is used to represent a collection of GVolume
2444 instances (typically partitions) and also contains utility to query
2445 the state of the physical drive the GDrive object represents (such
2446 as checking for media, polling the drive, ejecting the media etc.).
2448 Also implement mounting and unmounting in the Unix volume monitor
2449 backend. A subquent patch will introduce GDrive support for ejection
2453 * gdrive.c: (g_drive_is_media_check_automatic),
2454 (g_drive_is_media_removable), (g_drive_has_media),
2455 (g_drive_can_poll_for_media), (g_drive_eject),
2456 (g_drive_eject_finish), (g_drive_poll_for_media),
2457 (g_drive_poll_for_media_finish):
2459 * gfile.c: (g_file_find_enclosing_mount):
2462 * glocaldirectorymonitor.c:
2463 (g_local_directory_monitor_constructor), (mounts_changed):
2464 * glocalfile.c: (get_mount_info),
2465 (g_local_file_find_enclosing_mount),
2466 (g_local_file_file_iface_init):
2467 * gnativevolumemonitor.h:
2468 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2469 (get_connected_drives), (g_union_volume_monitor_class_init),
2470 (child_volume_added), (child_volume_removed),
2471 (child_volume_changed), (child_mount_added), (child_mount_removed),
2472 (child_mount_pre_unmount), (child_mount_changed),
2473 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2474 (g_union_volume_monitor_remove_monitor),
2475 (_g_mount_get_for_mount_path):
2476 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2477 (guess_system_internal), (_g_get_unix_mounts),
2478 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2479 (g_unix_mount_free), (g_unix_mount_compare),
2480 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2481 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2482 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2483 (type_to_icon), (g_unix_mount_guess_name),
2484 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2485 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2486 (_resolve_symlink), (_resolve_dev_root):
2488 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2489 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2490 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2491 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2492 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2493 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2494 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2495 (g_unix_volume_volume_iface_init):
2497 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2498 (get_mounts), (get_volumes), (get_connected_drives),
2499 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2500 (mountpoints_changed), (mounts_changed),
2501 (g_unix_volume_monitor_init),
2502 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2503 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2504 * gunixvolumemonitor.h:
2505 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2506 (g_volume_mount), (g_volume_mount_finish):
2508 * gvolumemonitor.c: (g_volume_monitor_class_init),
2509 (g_volume_monitor_get_connected_drives),
2510 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2513 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2515 * gmountoperation.h (GPasswordFlags): Close the gap
2517 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2519 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2521 * gdesktopappinfo.[hc]: Remove _-prefixes
2523 2007-12-10 Tor Lillqvist <tml@novell.com>
2525 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2528 2007-12-10 Alexander Larsson <alexl@redhat.com>
2530 * gfile.c (g_file_set_display_name):
2531 Don't hardcode '/' (#502727)
2533 2007-12-09 Hans Breuer <hans@breuer.org>
2535 * makefile.msc : follow lib naming convention
2536 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2537 for user and group name, tested with ../tests/gio-ls
2539 2007-12-09 A. Walton <awalton@svn.gnome.org>
2541 * gdesktopappinfo.c:
2547 * gfileenumerator.c:
2552 * gmemoryinputstream.c:
2553 * gmemoryoutputstream.c:
2555 * gsimpleasyncresult.c:
2556 More documentation cleanup and filling in missing information, bringing
2557 GIO to 99% symbol coverage.
2559 2007-12-08 Hans Breuer <hans@breuer.org>
2561 [gio compiles and links on win32, not sure how much already works]
2562 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2563 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2564 base on win32 API; prefer g_lstat() over lstat(); instead of
2565 localtime_r() use an all GLib implementation on win32;
2566 get_mount_info() still needs a win32 specifc implementation
2567 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2568 win32_get_file_user_info to get owner/group info without uid/gid
2569 * glocalfileinputstream.c : include <io.h> on win32
2570 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2571 definition, use g_win32_ftruncate() for G_OS_WIN32
2572 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2573 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2574 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2575 * makefile.msc : updated
2577 2007-12-07 Alexander Larsson <alexl@redhat.com>
2579 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2580 Avoid warning spew if error == NULL
2582 2007-12-07 Alexander Larsson <alexl@redhat.com>
2585 Update docs wrt etags
2587 2007-12-06 Alexander Larsson <alexl@redhat.com>
2590 Include sys/types.h for dev_t (#501919)
2592 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2596 Make abicheck and pltcheck pass.
2598 2007-12-05 Alexander Larsson <alexl@redhat.com>
2601 * giomodule-priv.h: Added.
2602 * glocaldirectorymonitor.c:
2603 * glocalfilemonitor.c:
2604 * gunionvolumemonitor.c:
2606 Actually add the declaration of _g_io_modules_ensure_loaded
2608 2007-12-05 Alexander Larsson <alexl@redhat.com>
2610 * gdatainputstream.c:
2615 * glocaldirectorymonitor.c:
2616 * glocalfilemonitor.c:
2617 * gunionvolumemonitor.c:
2619 Make g_io_modules_ensure_loaded a private function and
2620 don't pass in the dirname. This means we can do magic
2621 directory finding in the win32 version.
2622 Export the actual load-modules-in-directory code so that
2623 gvfs can reuse that.
2625 2007-12-05 Alexander Larsson <alexl@redhat.com>
2627 * gbufferedinputstream.c:
2628 * gbufferedoutputstream.c:
2631 * gfileenumerator.[ch]:
2632 * gfileinputstream.c:
2633 * gfileoutputstream.[ch]:
2634 * gfilterinputstream.c:
2635 * gfilteroutputstream.c:
2636 * ginputstream.[ch]:
2638 * glocalfileenumerator.c:
2639 * glocalfileinputstream.c:
2640 * glocalfileoutputstream.c:
2641 * gmemoryinputstream.c:
2642 * gmemoryoutputstream.c:
2643 * goutputstream.[ch]:
2646 * gunixinputstream.c:
2647 * gunixoutputstream.c:
2648 Rename all struct members named:
2649 read, write, close, truncate, or mount
2650 to foo_fn, as these are reserved names
2651 and could be defined as macros in libc.
2654 2007-12-04 Alexander Larsson <alexl@redhat.com>
2657 (g_output_stream_close):
2658 Only call flush if non-null.
2660 2007-11-30 Dan Winship <danw@gnome.org>
2662 * ginputstream.c (g_input_stream_set_pending): Make this take a
2663 GError and return a gboolean, and do the "outstanding operation"
2664 check (and the "stream is already closed" check) itself.
2665 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2667 * goutputstream.c (g_output_stream_set_pending)
2668 (g_output_stream_clear_pending): Likewise
2670 * gbufferedinputstream.c:
2671 * gfileinputstream.c:
2672 * gfileoutputstream.c: Update for that
2674 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2675 Like g_simple_async_report_error_in_idle, but takes a GError
2676 rather than building one.
2678 2007-11-30 Dan Winship <danw@gnome.org>
2680 * goutputstream.c: Don't cheat and unset the "pending" flag around
2681 inner calls. Instead, call the class method directly rather than
2682 the wrapper function that checks "pending"
2684 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2686 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2688 2007-12-03 Hans Breuer <hans@breuer.org>
2690 [start of port to win32/msvc]
2691 * gcancellable.c : HAVE_UNIST_H and _pipe()
2692 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2693 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2694 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2696 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2697 * glocalvfs.c : use HAVE_PWD_H
2698 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2699 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2700 * Makefile.am : added to EXTRA_DIST
2702 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2704 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2707 2007-12-03 Alexander Larsson <alexl@redhat.com>
2710 Handle OSX style xattrs API (#500506)
2712 2007-12-03 Alexander Larsson <alexl@redhat.com>
2716 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2718 2007-12-02 A. Walton <awalton@svn.gnome.org>
2722 Documentation accuracy fixes.
2724 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2726 * gioenumtypes.c.template: Fix typo.
2728 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2730 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2732 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2734 * gdirectorymonitor.c:
2735 * gfilemonitor.c: Add properties
2737 * gbufferedoutputstream.c: Don't mark buffer-size property
2740 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2742 * gbufferedoutputstream.c: Add auto-grow property.
2744 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2746 * *.c: Unify the capitalization of section headings.
2748 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2750 * gmountoperation.c: Add properties
2752 * gdatainputstream.c: Turn byte-order and newline-type into
2755 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2757 * gioenumtypes.[hc].template: Templates for enum registration
2759 * Makefile.am: Generate gioenumtypes.[hc]
2761 * gio.h: Include gioenumtypes.h
2763 * gfile.h: Add some explicit nicks.
2765 * gio.symbols: Add new symbols
2767 * pltcheck.sh: Adjust
2769 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2771 * *.c: Explain etags and link to the explanation
2773 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2775 * *.c: Explain I/O priority.
2777 * *.c: More coding style fixes.
2779 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2781 * gasyncresult.c: Add another paragraph to the intro,
2782 adjust coding style of example.
2784 2007-11-29 A. Walton <awalton@svn.gnome.org>
2787 Fixes unknown meaning in GAppLaunchContext docs.
2789 Clarify asynchronous ops.
2791 Fix entity tag docs.
2794 Provides missing gtk-doc section, fixes API docs slighly.
2795 * gsimpleasyncresult.c:
2796 Fill in missing info in docs.
2797 * gunixinputstream.c:
2798 * gunixoutputstream.c:
2799 Be more expressive in short description.
2801 Remove gtk-doc stubs for non-public API.
2803 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2805 * *.c: Coding style fixups
2807 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2809 * inotify/inotify-helper.c: Don't export the lock from libgio.
2811 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2814 * abicheck.sh: Fix copy-and-paste leftovers
2816 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2818 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2820 2007-11-28 Alexander Larsson <alexl@redhat.com>
2824 Removed unnecessary file
2826 * gdesktopappinfo.[ch]:
2829 * glocaldirectorymonitor.[ch]:
2831 * glocalfileenumerator.[ch]:
2832 * glocalfileinputstream.[ch]:
2833 * glocalfilemonitor.[ch]:
2834 * glocalfileoutputstream.[ch]:
2836 * gnativevolumemonitor.c:
2837 * gpollfilemonitor.[ch]:
2838 * gunionvolumemonitor.[ch]:
2841 * gunixvolumemonitor.[ch]:
2844 * inotify/ginotifydirectorymonitor.[ch]:
2845 * inotify/ginotifyfilemonitor.[ch]:
2846 * inotify/inotify-helper.c:
2847 Append _ to all internal functions
2851 Export symbols needed for modules
2853 2007-11-28 Alexander Larsson <alexl@redhat.com>
2856 * abicheck.sh: Added.
2857 * makegioalias.pl: Added.
2858 * pltcheck.sh: Added.
2859 * gio.symbols: Added.
2862 Initial work on adding symbol handling.
2865 Correct ifdef guard name
2868 * inotify/Makefile.am:
2869 * xdgmime/Makefile.am:
2870 Include toplevel Makefile.decl
2872 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2874 * gcontenttype.c: Move doc comments to the unix section.
2876 * *.[hc]: More trivial doc corrections.
2878 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2880 * gpollfilemonitor.c:
2884 * gdesktopappinfo.c:
2889 * gdatainputstream.c:
2890 * gdatainputstream.h:
2891 * gdataoutputstream.c:
2892 * gdataoutputstream.h:
2893 * gfileinfo.h: Doc cleanups
2895 2007-11-28 Andre Klapper <a9016009@gmx.de>
2897 * gdesktopappinfo.c: Fix a typo.
2899 2007-11-27 Andre Klapper <a9016009@gmx.de>
2901 * glocalfileoutputstream.c: Fix a typo.
2903 2007-11-27 Alexander Larsson <alexl@redhat.com>
2906 Don't include removed headers
2908 2007-11-27 Alexander Larsson <alexl@redhat.com>
2911 * gsocketinputstream.[ch]: Removed.
2912 * gsocketoutputstream.[ch]: Removed.
2913 * gunixinputstream.[ch]: Added.
2914 * gunixoutputstream.[ch]: Added.
2915 Renamed GSocket*Stream to GUnix*Stream and made
2916 it unix-only, since its not really only for sockets
2917 and it only works on unix (but is highly useful there).
2919 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2925 * gbufferedinputstream.c:
2926 * gbufferedinputstream.h:
2927 * gbufferedoutputstream.c:
2928 * gbufferedoutputstream.h:
2932 * gdatainputstream.c:
2933 * gdatainputstream.h:
2934 * gdataoutputstream.c:
2935 * gdataoutputstream.h:
2936 * gdirectorymonitor.c:
2937 * gdirectorymonitor.h:
2944 * gfileenumerator.c:
2945 * gfileenumerator.h:
2950 * gfileinputstream.c:
2951 * gfileinputstream.h:
2954 * gfilenamecompleter.c:
2955 * gfilenamecompleter.h:
2956 * gfileoutputstream.c:
2957 * gfileoutputstream.h:
2958 * gfilterinputstream.c:
2959 * gfilterinputstream.h:
2960 * gfilteroutputstream.c:
2961 * gfilteroutputstream.h:
2974 * glocalfileoutputstream.c:
2975 * gmemoryinputstream.c:
2976 * gmemoryinputstream.h:
2977 * gmemoryoutputstream.c:
2978 * gmemoryoutputstream.h:
2979 * gmountoperation.c:
2980 * gmountoperation.h:
2983 * gpollfilemonitor.c:
2986 * gsimpleasyncresult.c:
2987 * gsimpleasyncresult.h:
2988 * gsocketinputstream.c:
2989 * gsocketinputstream.h:
2990 * gsocketoutputstream.c:
2991 * gsocketoutputstream.h:
2998 * gunixvolumemonitor.c:
3007 Bumps documentation to 93% symbol coverage, touching most
3008 of the public files. Fixes broken function documentation prototypes.
3009 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3010 gtk-doc headers in private files.
3012 2007-11-27 Jürg Billeter <j@bitron.ch>
3014 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3015 (g_buffered_input_stream_read_byte):
3016 * gbufferedinputstream.h:
3017 New functions for efficient access to buffer and simple single byte
3020 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3021 (g_data_input_stream_read_until):
3022 * gdatainputstream.h:
3023 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3024 read_until with multiple stop chars.
3026 2007-11-27 Alexander Larsson <alexl@redhat.com>
3030 * inotify/Makefile.am:
3031 Use the user-specified giomoduledir
3033 2007-11-27 Alexander Larsson <alexl@redhat.com>
3037 Add catch-all gio.h header
3038 Don't install gdummyfile.h
3040 2007-11-26 Alexander Larsson <alexl@redhat.com>
3042 * Makefile.am (gioinclude_HEADERS):
3043 Remove trailing whitespace
3045 2007-11-26 Alexander Larsson <alexl@redhat.com>
3047 Merge gio-standalone into glib
3049 2007-11-25 Christian Kellner <gicmo@gnome.org>
3051 * gio/goutputstream.c:
3052 Fix small mistake in the docs.
3054 2007-11-21 Christian Persch <chpe@gnome.org>
3056 * gio/glocalfile.c: (g_local_file_trash):
3057 Convert filenames to UTF-8 for GError.
3058 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3059 as per xdg base dir spec.
3061 2007-11-21 Christian Persch <chpe@gnome.org>
3063 * gio/gdesktopappinfo.c:
3064 Use that g_key_file_to_data cannot fail.
3066 Use stock defines for the key file group and key names.
3069 2007-11-21 Alexander Larsson <alexl@redhat.com>
3072 (copy_stream_with_progress):
3073 Make sure we do a final progress callback with
3074 the full total size.
3076 2007-11-21 Alexander Larsson <alexl@redhat.com>
3079 Export g_file_copy_attributes
3080 Remove padding as its not needed for interfaces
3082 2007-11-20 Alexander Larsson <alexl@redhat.com>
3087 Add G_IO_ERROR_WOULD_MERGE for
3088 copy/move dir on dir with overwrite.
3090 2007-11-20 Alexander Larsson <alexl@redhat.com>
3093 * gio/glocalfileinfo.c:
3094 Add COPY_NAME (this is an optional
3095 non-modified utf8 version of the name) that
3098 2007-11-20 Alexander Larsson <alexl@redhat.com>
3100 * gio/glocalfileenumerator.c:
3101 Report errors as GIOError, not GFileError
3103 2007-11-16 Alexander Larsson <alexl@redhat.com>
3105 * gio/glocalfileoutputstream.c:
3106 * gio/gwin32appinfo.c:
3107 Fix typos in strings.
3108 Patch from Luca Ferretti <elle.uca@libero.it>
3110 2007-11-15 Alexander Larsson <alexl@redhat.com>
3113 Post release version bump
3115 === gio-standalone 0.1.2 ===
3117 2007-11-15 Alexander Larsson <alexl@redhat.com>
3119 * docs/reference/gio/Makefile.am:
3120 Fix up distcheck by removing weird
3126 2007-11-14 Alexander Larsson <alexl@redhat.com>
3128 * gio/gdesktopappinfo.c:
3129 * gio/glocaldirectorymonitor.c:
3131 * gio/glocalfileinfo.c:
3132 * gio/inotify/inotify-sub.c:
3133 * programs/gio-cat.c:
3134 * programs/gio-copy.c:
3135 * programs/gio-info.c:
3136 * programs/gio-ls.c:
3137 * programs/gio-monitor-dir.c:
3138 * programs/gio-monitor-file.c:
3139 * programs/gio-mount.c:
3140 * programs/gio-move.c:
3141 * programs/gio-rm.c:
3142 * programs/gio-save.c:
3143 * programs/gio-trash.c:
3144 Leak fixes from Kjartan Maraas
3146 2007-11-14 Alexander Larsson <alexl@redhat.com>
3148 * gio/fam/fam-helper.c:
3150 * gio/glocalfileinfo.c:
3154 * gio/inotify/inotify-diag.c:
3155 * gio/inotify/inotify-kernel.c:
3156 Various code cleanups from Kjartan Maraas
3158 2007-11-14 Alexander Larsson <alexl@redhat.com>
3160 * gio/gioscheduler.c:
3162 Set up threadpool so that we cache 2 unused
3163 idle threads for at 15 secs. This means we
3164 will reuse thread-local data (like dbus connections)
3167 2007-11-14 Alexander Larsson <alexl@redhat.com>
3169 * gio/fam/fam-helper.c:
3170 * gio/fam/gfamdirectorymonitor.c:
3171 * gio/fam/gfamfilemonitor.c:
3173 * gio/gcontenttype.c:
3174 * gio/gdatainputstream.c:
3175 * gio/gdataoutputstream.c:
3179 * gio/gfileattribute.h:
3180 * gio/gfileenumerator.c:
3182 * gio/ginputstream.c:
3185 * gio/glocalfileinfo.c:
3186 * gio/goutputstream.c:
3187 * gio/gpollfilemonitor.c:
3188 * gio/gsimpleasyncresult.c:
3189 * gio/gunixmounts.c:
3190 * gio/gunixmounts.h:
3191 * gio/inotify/ginotifydirectorymonitor.c:
3192 * gio/inotify/ginotifyfilemonitor.c:
3193 * gio/inotify/inotify-diag.c:
3194 * gio/inotify/inotify-kernel.c:
3195 * gio/inotify/inotify-path.c:
3197 * gio/test-streams.c:
3198 * programs/gio-info.c:
3199 * programs/gio-monitor-dir.c:
3200 * programs/gio-monitor-file.c:
3201 Various code cleanups from Kjartan Maraas
3203 2007-11-13 Alexander Larsson <alexl@redhat.com>
3206 Handle the uri-scheme calls for dummy files
3208 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3210 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3211 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3212 to avoid clash with the C++ keyword.
3214 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3216 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3217 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3219 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3221 * gio/glocaldirectorymonitor.c:
3222 * gio/glocalfilemonitor.c:
3223 * gio/gunionvolumemonitor.c:
3224 Don't use g_once_init_*() for initializations that could fail and
3225 could leave the initialization variable set to 0 but use GOnce.
3226 This prevents a deadlock on the second call when trying to create
3227 a monitor and no monitor type is available. Thanks to Sven Herzberg
3230 2007-11-11 Sven Herzberg <sven@imendio.com>
3232 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3233 #ifdef (make it work on MacOS X again)
3235 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3237 Fixes Changelog for last two commits (sorry guys).
3239 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3241 * gio/gbufferedinputstream.c:
3242 * gio/gdatainputstream.c:
3244 * gio/gfileoutputstream.c:
3245 * gio/gfilterinputstream.c:
3246 * gio/glocalfileinputstream.c:
3249 More consistency fixes in g*stream.c files.
3250 Significant clean of gfile's documentation, filling in of
3251 asynchronous operations documentation.
3253 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3255 * gio/gasyncresult.c:
3256 * gio/gbufferedinputstream.c:
3257 * gio/gbufferedoutputstream.c:
3258 * gio/gcancellable.c:
3259 * gio/gcontenttype.c:
3260 * gio/gdatainputstream.c:
3261 * gio/gdataoutputstream.c:
3262 * gio/gdesktopappinfo.c:
3265 * gio/gfileattribute.c:
3266 * gio/gio/gfileenumerator.c:
3268 * gio/gfileinputstream.c:
3269 * gio/gfilemonitor.c:
3270 * gio/gfileoutputstream.c:
3271 * gio/ginputstream.c:
3273 * gio/gioscheduler.c:
3274 * gio/gloadableicon.c:
3275 * gio/glocalfileoutputstream.c:
3276 * gio/gmemoryoutputstream.c:
3277 * gio/gmountoperation.c:
3278 * gio/goutputstream.c:
3280 * gio/gsimpleasyncresult.c:
3281 * gio/gunionvolumemonitor.c:
3282 * gio/gunixmounts.c:
3283 * gio/gunixvolume.c:
3287 * gio/gvolumemonitor.c:
3288 Updated documentation stubs, working towards consistency and
3291 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3293 * gio/gmemoryoutputstream.c:
3294 * gio/gmemoryoutputstream.h:
3295 Change g_memory_output_stream_set_free_on_close() to
3296 g_memory_output_stream_set_free_data() as this makes more sense and
3297 is more consistent with GMemoryInputStream.
3299 2007-11-07 Alexander Larsson <alexl@redhat.com>
3306 Change how we find the default vfs so that
3307 we can handle a gvfs failing to init
3309 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3311 * gio/gbufferedoutputstream.c:
3312 * gio/gdatainputstream.c:
3313 * gio/gdataoutputstream.c:
3314 * gio/gfileinputstream.c:
3315 * gio/gfileoutputstream.c:
3316 * gio/gfilterinputstream.c:
3317 * gio/gfilteroutputstream.c:
3318 * gio/ginputstream.c:
3319 * gio/gmemoryinputstream.c:
3320 * gio/gmemoryoutputstream.c:
3321 * gio/goutputstream.c:
3322 * gio/gsimpleasyncresult.c:
3323 * gio/gsocketinputstream.c:
3324 * gio/gsocketoutputstream.c:
3325 Add guards to the remaining public functions, add a TODO for
3326 an unimplemented function and remove some useless guards.
3328 2007-11-07 Alexander Larsson <alexl@redhat.com>
3331 Autoconf checks for the various types of
3332 getpwuid_r and getgrgid_r
3334 * gio/glocalfileinfo.c:
3335 Use the autoconf checks from above
3337 2007-11-07 Alexander Larsson <alexl@redhat.com>
3340 (g_local_file_query_filesystem_info):
3341 Some fixes for the statvfs case
3343 2007-11-07 Alexander Larsson <alexl@redhat.com>
3346 (g_local_file_query_filesystem_info):
3347 Pick the "best" of statfs / statvfs for the system
3348 if both are availible.
3350 2007-11-07 Alexander Larsson <alexl@redhat.com>
3352 Solaris fixes from Halton.Huo@Sun.COM:
3359 * gio/glocalfileinfo.c:
3360 Fix for solaris definition of getpwuid_r
3362 * gio/test-streams.c:
3363 Use G_GNUC_PRETTY_FUNCTION
3365 2007-11-07 Alexander Larsson <alexl@redhat.com>
3367 * gio/gdesktopappinfo.c:
3368 (update_default_list):
3369 Remove double semicolon.
3370 Patch from Jens Granseuer
3372 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3374 * docs/reference/gio/gio-sections.txt:
3375 * gio/gbufferedinputstream.c:
3376 * gio/gbufferedinputstream.h:
3377 * gio/gdatainputstream.c:
3378 * gio/gfileenumerator.c:
3379 * gio/gioscheduler.c:
3380 * gio/gunionvolumemonitor.c:
3382 * programs/gio-save.c:
3383 Fix typo: availible -> available. Unfortuntely this breaks API
3384 and ABI as g_buffered_input_stream_get_available() was renamed.
3386 * gio/gunixmounts.c:
3387 * gio/gbufferedinputstream.c:
3388 Add guards for public functions.
3390 2007-11-06 Ross Burton <ross@openedhand.com>
3392 * docs/reference/gio/Makefile.am:
3393 Fix invalid += usage which automake 1.10 doesn't like.
3395 2007-11-06 Alexander Larsson <alexl@redhat.com>
3398 (g_app_launch_context_class_init):
3401 Patch from Ross Burton
3403 2007-11-06 Alexander Larsson <alexl@redhat.com>
3406 Post release version bump
3408 === gio-standalone 0.1.1 ===
3410 2007-11-06 Alexander Larsson <alexl@redhat.com>
3413 Bump version to 0.1.1
3415 * gio/gsimpleasyncresult.c:
3416 (g_simple_async_result_set_from_error):
3417 Remove bogus g_return_if_fail
3419 2007-11-06 Alexander Larsson <alexl@redhat.com>
3422 The name is gio-standalone
3425 Add top src/builddir to includedir
3427 2007-11-06 Alexander Larsson <alexl@redhat.com>
3429 * docs/reference/gio/gio-sections.txt:
3431 * gio/gbufferedinputstream.c:
3432 * gio/gbufferedoutputstream.c:
3433 * gio/gcancellable.c:
3434 * gio/gdatainputstream.h:
3435 * gio/gdataoutputstream.c:
3436 * gio/gdataoutputstream.h:
3437 * gio/gdirectorymonitor.c:
3439 * gio/gfileattribute.c:
3440 * gio/gfileattribute.h:
3441 * gio/gfileenumerator.c:
3442 * gio/gfileenumerator.h:
3445 * gio/gfileinputstream.h:
3446 * gio/gfilemonitor.c:
3447 * gio/gfileoutputstream.h:
3448 * gio/glocalfilemonitor.h:
3449 * gio/glocalfileoutputstream.h:
3450 * gio/gmemoryinputstream.c:
3451 * gio/gmemoryoutputstream.c:
3452 * gio/gmountoperation.c:
3453 * gio/goutputstream.c:
3454 * gio/goutputstream.h:
3456 * gio/gsimpleasyncresult.c:
3457 * gio/gunixmounts.c:
3458 * gio/gunixmounts.h:
3460 * gio/inotify/inotify-helper.c:
3461 Fix gtk-doc warnings
3463 Patch from Ross Burton
3465 2007-11-06 Alexander Larsson <alexl@redhat.com>
3467 * gio/gfilenamecompleter.c:
3468 (g_filename_completer_get_completions):
3471 * gio/gunixvolume.c:
3472 Remove unused function
3474 Patches from Ross Burton
3476 2007-11-06 Alexander Larsson <alexl@redhat.com>
3481 Padding not needed for interfaces
3483 2007-11-06 Alexander Larsson <alexl@redhat.com>
3485 * gio/gfilemonitor.c:
3489 Make giotypes.h an internal file
3492 * gio/gbufferedinputstream.h:
3493 * gio/gbufferedoutputstream.h:
3494 * gio/gcancellable.h:
3495 * gio/gdatainputstream.h:
3496 * gio/gdataoutputstream.h:
3497 * gio/gdirectorymonitor.c:
3498 * gio/gdirectorymonitor.h:
3503 * gio/gfileattribute.h:
3504 * gio/gfileenumerator.h:
3509 * gio/gfilemonitor.c:
3510 * gio/gfilemonitor.h:
3511 * gio/gfilenamecompleter.c:
3512 * gio/gfilenamecompleter.h:
3513 * gio/gfilterinputstream.h:
3514 * gio/gfilteroutputstream.h:
3515 * gio/ginputstream.h:
3516 * gio/gmemoryinputstream.h:
3517 * gio/gmemoryoutputstream.h:
3518 * gio/gmountoperation.c:
3519 * gio/gmountoperation.h:
3520 * gio/gnativevolumemonitor.c:
3521 * gio/goutputstream.h:
3524 * gio/gsimpleasyncresult.c:
3525 * gio/gsimpleasyncresult.h:
3526 * gio/gsocketinputstream.h:
3527 * gio/gsocketoutputstream.h:
3528 * gio/gthemedicon.c:
3529 * gio/gthemedicon.h:
3533 * gio/gvolumemonitor.c:
3534 * gio/gvolumemonitor.h:
3535 Add padding in classes where it seems useful
3536 Don't include giotypes.h from public headers
3537 Move in Class definitions into c file where possible
3542 2007-11-06 Alexander Larsson <alexl@redhat.com>
3544 * docs/reference/gio/gio-docs.xml:
3545 Better structure for API docs
3547 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3550 * gio/gloadableicon.c:
3551 * gio/gsimpleasyncresult.c:
3552 * gio/gthemedicon.c:
3553 Add some more guards to public functions. Only files missing are now
3556 2007-11-06 Alexander Larsson <alexl@redhat.com>
3558 * docs/reference/gio/gio-docs.xml:
3559 Remove old files, add missing ones
3561 2007-11-06 Alexander Larsson <alexl@redhat.com>
3563 * docs/reference/gio/gio-sections.txt:
3566 Hide implementation classes
3568 * gio/gdriveprivate.h:
3569 * gio/gvolumeprivate.h:
3570 Remove non-existing function declarations
3572 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3575 Fix compilation warnings and add guards to the new functions.
3577 * gio/gasyncresult.c:
3579 Add guards to the public functions.
3582 Implement get_path().
3584 2007-11-06 Alexander Larsson <alexl@redhat.com>
3586 * gio/gfilenamecompleter.c:
3587 Make g_filename_completer_get_completions
3588 return char ** instead of GList for
3591 * docs/reference/gio/gio-docs.xml:
3592 * docs/reference/gio/gio-sections.txt:
3594 * gio/gasyncresult.c:
3595 * gio/gbufferedinputstream.c:
3596 * gio/gbufferedoutputstream.c:
3597 * gio/gcancellable.c:
3598 * gio/gcontenttype.c:
3599 * gio/gdatainputstream.c:
3600 * gio/gdataoutputstream.c:
3601 * gio/gdesktopappinfo.c:
3602 * gio/gdirectorymonitor.c:
3606 * gio/gfileattribute.c:
3607 * gio/gfileenumerator.c:
3610 * gio/gfileinputstream.c:
3611 * gio/gfilemonitor.c:
3612 * gio/gfilenamecompleter.c:
3613 * gio/gfilenamecompleter.h:
3614 * gio/gfileoutputstream.c:
3615 * gio/gfilterinputstream.c:
3617 * gio/ginputstream.c:
3619 * gio/gioscheduler.c:
3620 * gio/gloadableicon.c:
3621 * gio/glocaldirectorymonitor.c:
3623 * gio/glocalfileinputstream.c:
3624 * gio/glocalfilemonitor.c:
3625 * gio/glocalfileoutputstream.c:
3627 * gio/gmemoryinputstream.c:
3628 * gio/gmemoryoutputstream.c:
3629 * gio/gmountoperation.c:
3630 * gio/goutputstream.c:
3631 * gio/gpollfilemonitor.c:
3633 * gio/gsimpleasyncresult.c:
3634 * gio/gsocketinputstream.c:
3635 * gio/gsocketoutputstream.c:
3636 * gio/gthemedicon.c:
3637 * gio/gunionvolumemonitor.c:
3639 * gio/gunixmounts.c:
3640 * gio/gunixvolume.c:
3641 * gio/gunixvolumemonitor.c:
3645 * gio/gvolumemonitor.c:
3646 * gio/gwin32appinfo.c:
3647 Add (mostly stub) doc strings to public functions.
3648 Patch from Andrew Walton (awalton@gmail.com)
3650 2007-11-06 Alexander Larsson <alexl@redhat.com>
3652 * gio/gappinfo.[ch]:
3653 Added GAppLaunchContext object and pass that to launch.
3654 This allows simple implementation of both
3655 launch-on-screen and startup notification via a gtk+
3656 subclass of GAppLaunchContext
3658 * gio/gdesktopappinfo.c:
3659 Implement GAppLaunchContext API
3661 * gio/gwin32appinfo.c:
3664 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3666 * gio/gmountoperation.c:
3667 Add some guards to GMountOperation's public functions.
3669 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3673 * gio/gcancellable.c:
3674 * gio/gdirectorymonitor.c:
3676 * gio/gfileenumerator.c:
3677 * gio/gfilemonitor.c:,
3678 * gio/gfilenamecompleter.c:
3681 * gio/gioscheduler.c:
3685 * gio/gvolumemonitor.c:
3686 Add even more guards to various public functions.
3688 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3691 Add guards to the public functions of GAppInfo.
3693 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3695 * gio/gcontenttype.c:
3696 Add some more guards for public functions.
3698 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3700 * gio/fam/fam-module.c:
3701 * gio/fam/gfamdirectorymonitor.c:
3702 * gio/fam/gfamdirectorymonitor.h:
3703 * gio/fam/gfamfilemonitor.c:
3704 * gio/fam/gfamfilemonitor.h:
3705 * gio/inotify/ginotifydirectorymonitor.c:
3706 * gio/inotify/ginotifydirectorymonitor.h:
3707 * gio/inotify/ginotifyfilemonitor.c:
3708 * gio/inotify/ginotifyfilemonitor.h:
3709 Add proper copyright information and remove an unused variable
3710 in the GInotifyFileMonitor constructor.
3712 * gio/gcancellable.c:
3713 Add a guard for a public function and an assertion to prevent
3714 an undefined program state.
3716 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3718 * gio/gfileattribute.c:
3719 Don't run into an assertion if the given attribute value is NULL
3720 in g_file_attribute_value_get_*() but instead return a fallback
3721 value that makes sense in most situations. Passing them a attribute
3722 value with the wrong type will still run into an assertion.
3724 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3726 * gio/gfileattribute.c:
3728 Add even more guards to the public functions. Also fix the refcounting
3729 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3730 let g_file_info_list_attributes() filter the attributes by namespace
3731 instead of simply ignoring the namespace parameter.
3733 2007-11-03 Sven Herzberg <sven@imendio.com>
3735 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3736 (This makes gio work on MacOS X again)
3738 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3741 Build the gio subdirectory before the docs. Otherwise the build will
3744 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3745 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3746 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3747 Add guards to the public functions.
3749 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3751 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3752 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3753 to prevent a compiler warning.
3755 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3756 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3757 return something in the non-void function find_topdir_for().
3759 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3766 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3768 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3769 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3770 * gwin32appinfo.c (g_win32_app_info_launch):
3771 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3772 envp_for_startup_id, g_desktop_app_info_launch,
3773 g_desktop_app_info_launch_uris):
3775 Give an opaque 'startup_id' string instead of 'envp'.
3776 Support empty file lists for launching new windows.
3777 Fix infinite recursion bug when launching URIs.
3779 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3782 Add guard to the new g_file_get_uri_scheme() function.
3784 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3787 Convert a g_return_val_if_fail() to setting the GError instead as
3788 otherwise applications have to verify the parameter before otherwise
3789 and the parameter might come directly from the user.
3791 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/inotify/ginotify*.[ch]:
3794 Add missing copyright information.
3796 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3799 Add guards in the beginning of public functions to check for valid
3800 parameters and fix a bug in copy_stream_with_progress() that could've
3801 caused writing less bytes than reading.
3802 * gio/glocalfileinfo.c:
3803 Check for a NULL parameter and set the GError accordingly then.
3804 * gio/goutputstream.c:
3805 Fix the same bug as in gfile.c that could've caused writing less bytes
3806 than reading in g_output_stream_real_splice().
3808 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3811 Use the correct gvolumeprivate.h naming
3813 2007-11-01 Christian Kellner <gicmo@gnome.org>
3816 Remove leftover "$(daemon_sources)" entry.
3818 2007-11-01 Christian Kellner <gicmo@gnome.org>
3823 Add copyright information to source files.
3825 2007-11-01 Alexander Larsson <alexl@redhat.com>
3829 Add g_file_get_uri_scheme
3831 2007-11-01 Alexander Larsson <alexl@redhat.com>
3834 * gio/gdesktopappinfo.c:
3835 * gio/gwin32appinfo.c:
3836 Add g_app_info_get_default_for_uri_scheme.
3838 2007-11-01 Alexander Larsson <alexl@redhat.com>
3841 Correct filename for gdriveprivate.h
3843 2007-10-31 Alexander Larsson <alexl@redhat.com>
3846 Rename id:value to id:file
3849 * gio/glocalfileinfo.c:
3852 2007-10-31 Alexander Larsson <alexl@redhat.com>
3854 * gio/gunixvolume.c:
3856 Remove g_volume_get_platform_id, as thats not
3857 needed with the simpler union volume monitor
3859 2007-10-31 Alexander Larsson <alexl@redhat.com>
3862 * gio/guniondrive.[ch]: Removed.
3863 * gio/gunionvolume.[ch]: Removed.
3864 Remove GUnionDrive/Volume
3866 * gio/gunionvolumemonitor.c:
3867 Simplify union volume monitor, now we
3868 only have one native volume monitor and
3869 we use the actual volumes/drives from the
3870 child monitors instead of wrapping them
3872 * gio/gnativevolumemonitor.[ch]:
3873 Base class for native volume monitors.
3874 Includes priority and get_volume_for_mountpoint
3877 Add g_file_find_enclosing_volume
3880 Remove volume name fs attribute
3881 Add readonly fs attribute
3884 Implement readonly attribute
3885 remove volume name attribute
3886 Implement find_enclosing volume
3888 * gio/gunixmounts.c:
3889 Add a volume for "/".
3891 * gio/gunixvolume.[ch]:
3892 Set better name for /
3894 * gio/gunixvolumemonitor.[ch]:
3895 Derive from GNativeVolumeMonitor
3896 Implement get_volume_for_mountpoint
3899 GVolume typedef moved to gfile.h
3901 * gio/gvolumeprivate.h:
3902 Add g_volume_get_for_mount_path
3904 2007-10-31 Alexander Larsson <alexl@redhat.com>
3906 * gio/gunixmounts.[ch]:
3907 Add cache info to unix mount listers
3908 Make getmntent use threadsafe
3909 Add is_system_internal attribute for GUnixMount
3911 * gio/gunixvolume.c:
3912 (g_unix_volume_new):
3913 Use is_system_internal instead of own code
3915 * gio/glocaldirectorymonitor.c:
3916 * gio/gunixvolumemonitor.c:
3917 Update to new gunixmounts API
3922 2007-10-30 Alexander Larsson <alexl@redhat.com>
3925 Add volume name fsinfo attribute
3928 Read volume name info
3930 * gio/gunionvolumemonitor.c:
3931 Fix infinite loops when finalizing a union volume monitor
3933 2007-10-30 Alexander Larsson <alexl@redhat.com>
3935 * gio/goutputstream.[ch]:
3936 Add splice() with default implementation
3938 * gio/gsocketoutputstream.c:
3939 (g_socket_output_stream_write):
3940 Return error on cancellation correctly.
3942 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3944 * gio/glocalfile.c (g_local_file_trash):
3945 Do not leak a string.
3947 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3949 * gio/gfile.c (g_file_load_contents):
3950 Unref the stream after closing it.
3952 2007-10-25 Alexander Larsson <alexl@redhat.com>
3954 * gio/gioscheduler.h:
3957 2007-10-25 Alexander Larsson <alexl@redhat.com>
3961 Add g_file_has_uri_scheme and implement for local files
3963 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3965 * gio/gdesktopappinfo.c: do not leak a string.
3967 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3969 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3970 (g_local_directory_monitor_new):
3971 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3972 (g_local_file_monitor_new):
3973 Only look for the monitor type that should be used the first time
3974 and use g_qsort_with_data() instead of our own bubble sort
3977 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3980 * gio/fam/Makefile.am:
3981 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3982 * gio/fam/fam-helper.h:
3983 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3984 * gio/fam/gfamdirectorymonitor.c:
3985 * gio/fam/gfamdirectorymonitor.h:
3986 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3987 * gio/fam/gfamfilemonitor.h:
3988 * gio/glocaldirectorymonitor.c:
3989 * gio/glocaldirectorymonitor.h:
3990 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3991 * gio/glocalfilemonitor.h:
3992 * gio/inotify/Makefile.am:
3993 * gio/inotify/ginotifydirectorymonitor.c:
3994 * gio/inotify/ginotifydirectorymonitor.h:
3995 * gio/inotify/ginotifyfilemonitor.c:
3996 * gio/inotify/ginotifyfilemonitor.h:
3997 Implement the FAM and Inotify monitors as
3998 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3999 their own GIO module. GLocal(Directory|File)Monitor will use the
4000 monitor with the highest rank that is supported on that machine.
4002 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4005 Change GIO module dir to $(libdir)/gio/modules and change
4006 the log domain from GVFS to GIO. Also only export symbols starting
4007 with g_ in the resulting library.
4008 * gio/test-streams.c: (main):
4009 Set log handler for the GIO log domain.
4011 2007-10-22 Alexander Larsson <alexl@redhat.com>
4013 * gio/gfilenamecompleter.[ch]:
4014 Add g_filename_completer_set_dirs_only
4016 2007-10-22 Alexander Larsson <alexl@redhat.com>
4019 * gio/gurifuncs.[ch]:
4020 Add some simple URI helpers
4022 * gio/gfilenamecompleter.[ch]:
4023 Added object for filename (parse name actually) completion
4026 Handle ~ in parse names
4028 2007-10-17 Alexander Larsson <alexl@redhat.com>
4031 * gio/glocalfileinfo.c:
4032 Add and implement id:value attribute
4034 2007-10-17 Alexander Larsson <alexl@redhat.com>
4037 * gio/guniondrive.c:
4039 Add and implement g_drive_has_volumes
4041 2007-10-17 Alexander Larsson <alexl@redhat.com>
4044 * gio/glocalfileinfo.[ch]:
4045 Add unix:is_mountpoint and implement for local files
4047 2007-10-16 Alexander Larsson <alexl@redhat.com>
4049 * gio/gunionvolumemonitor.c:
4050 (g_union_volume_monitor_init):
4051 Fix up the unix type getting so that it works with gcc
4053 2007-10-12 Alexander Larsson <alexl@redhat.com>
4056 * gio/glocalfileinfo.c:
4057 Add thumbnail:failed to file info
4059 2007-10-12 Richard Hult <richard@imendio.com>
4061 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4062 optimizing away the get_type call (happens with some gcc versions,
4063 like the one shipped with OS X 10.4).
4065 2007-10-12 Alexander Larsson <alexl@redhat.com>
4067 * gio/glocalfileinfo.c:
4068 (_g_local_file_info_set_attribute):
4069 Fix build if not HAVE_XATTR
4070 Patch from Milosz Derezynski <internalerror@gmail.com>
4072 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4074 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4075 around for review, otherwise I would have asked you before
4078 2007-10-11 Alexander Larsson <alexl@redhat.com>
4081 Add thumbnail:path attribute
4083 * gio/glocalfileinfo.c:
4084 Implement thumbnail:path for local files
4086 2007-10-11 Alexander Larsson <alexl@redhat.com>
4088 * gio/glocalfileinfo.c:
4089 (_g_local_file_info_get):
4090 Avoid duplicate icon names
4092 2007-10-11 Alexander Larsson <alexl@redhat.com>
4094 * gio/gthemedicon.[ch]:
4095 Change g_themed_icon_get_names return type to const
4097 2007-10-10 Alexander Larsson <alexl@redhat.com>
4099 * gio/glocalfileinfo.c:
4100 Don't reference freed memory
4102 2007-10-10 Alexander Larsson <alexl@redhat.com>
4104 * gio/gfileattribute.c:
4107 * gio/glocalfileinfo.c:
4110 2007-10-10 Alexander Larsson <alexl@redhat.com>
4113 Check for NULL icons
4115 * gio/gfileattribute.c:
4116 Don't dup when getting objects (same as for string attributes)
4118 * gio/gicon.c (g_icon_equal):
4119 Safely handle NULLs in equal
4121 2007-10-10 Alexander Larsson <alexl@redhat.com>
4124 Fix c++ compilation issues
4125 Patch from Milosz Derezynski <internalerror@gmail.com>
4127 2007-10-10 Alexander Larsson <alexl@redhat.com>
4129 * programs/gio-monitor-dir.c:
4130 Don't crash if dir monitor not supported.
4132 2007-10-09 Alexander Larsson <alexl@redhat.com>
4135 Add missing G_END_DECLS
4137 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gio/gfile.c: (g_file_set_display_name),
4140 (g_file_query_settable_attributes),
4141 (g_file_query_writable_namespaces):
4142 Return NULL not FALSE on errors as the return type is a pointer.
4144 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4146 * gio/glocalfile.c: (g_local_file_monitor_file):
4147 Don't call monitor_file on the default interface vtable (which
4148 is NULL) but simply return NULL. The caller, GFile, will create a
4149 polling monitor if NULL is returned.
4151 2007-10-09 Alexander Larsson <alexl@redhat.com>
4155 * gio-unix-2.0.pc.in:
4156 Add gio-unix-2.0.pc if OS_UNIX
4159 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4161 2007-10-09 Alexander Larsson <alexl@redhat.com>
4163 * gio/gunixmounts.[ch]:
4164 Make unix mount monitoring API sane.
4165 Now its just a object with mounts_changed
4166 and mountpoints_changed signals.
4168 * gio/glocaldirectorymonitor.c:
4169 * gio/gunixvolumemonitor.c:
4170 Use new mount monitor api
4172 2007-10-09 Alexander Larsson <alexl@redhat.com>
4174 * gio/gunixmounts.[ch]:
4175 Move guess type into one call for mounts and one for mountpoints
4178 * gio/gunixvolume.c:
4181 2007-10-09 Alexander Larsson <alexl@redhat.com>
4183 * gio/gunixmounts.[ch]:
4184 Remove _ prefix in preparation to make this semi-public
4185 Hide implementation of structs
4187 * gio/glocaldirectorymonitor.c:
4189 * gio/gunixvolume.c:
4190 * gio/gunixvolumemonitor.c:
4191 Update for above API changes
4193 2007-10-08 Alexander Larsson <alexl@redhat.com>
4196 Better polling fallback. This also handles the case where we have
4197 a monitor_file implementation, but it fails.
4199 2007-10-08 Alexander Larsson <alexl@redhat.com>
4203 * gio/gunixmounts.c:
4204 * programs/gio-monitor-dir.c:
4205 * programs/gio-monitor-file.c:
4206 Added cancellable to file monitoring calls.
4207 These are really sync calls and need this.
4209 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4211 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4212 (g_local_vfs_class_init):
4213 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4214 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4216 2007-10-05 Alexander Larsson <alexl@redhat.com>
4218 * gio/gdirectorymonitorprivate.h:
4219 * gio/gfilemonitorprivate.h:
4220 * gio/gdirectorymonitor.h:
4221 * gio/gfilemonitor.h:
4222 Remove *private.h and move to the public API, so that
4223 we can do implementations outside gio (such as in gvfs)
4225 * gio/gdirectorymonitor.c:
4226 * gio/gfilemonitor.c:
4227 * gio/glocaldirectorymonitor.c:
4228 * gio/gpollfilemonitor.c:
4229 * gio/inotify/inotify-helper.c:
4230 * gio/fam/fam-helper.c:
4231 Update to the new header names
4233 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gio/gdirectorymonitor.c:
4236 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4239 2007-10-04 Alexander Larsson <alexl@redhat.com>
4241 * gio/glocalfileinfo.c (get_access_rights):
4242 Set CAN_TRASH when we can move the file.
4243 We should really also check for a parent trash dir.
4245 2007-10-04 Alexander Larsson <alexl@redhat.com>
4247 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4248 Add can_trash access attribute
4250 2007-10-04 Alexander Larsson <alexl@redhat.com>
4253 (g_local_file_trash):
4254 Create info file first. This is per-spec and allows
4255 us to actually trash directories.
4257 2007-10-02 Alexander Larsson <alexl@redhat.com>
4259 * gio/gdesktopappinfo.c:
4260 Implement the new mime support code.
4261 Always set app as handling mimetype when being set as default for it
4263 2007-10-01 Alexander Larsson <alexl@redhat.com>
4265 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4266 Fix up check for xattrs:
4268 2007-10-01 Alexander Larsson <alexl@redhat.com>
4271 (g_app_info_set_as_default_for_extension):
4272 (g_app_info_add_supports_type):
4273 (g_app_info_can_remove_supports_type):
4274 (g_app_info_remove_supports_type):
4275 Make these fail nicely if not implemented
4277 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4279 * gio/glocalfileoutputstream.c:
4280 * gio/glocalfileoutputstream.h:
4285 * programs/gio-save.c:
4286 Add a GFileCreateFlags argument to operations that can create
4289 2007-10-01 Alexander Larsson <alexl@redhat.com>
4291 * gio/gappinfo.[ch]:
4292 * gio/gdesktopappinfo.c:
4293 Add more (stubbed out) mime API needed for nautilus
4295 2007-10-01 Alexander Larsson <alexl@redhat.com>
4298 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4299 Add g_app_info_set_as_default_for_extension.
4301 * gio/gdesktopappinfo.c:
4302 Dummy for g_app_info_set_as_default_for_extension
4303 Support flags in g_app_info_create_from_commandline
4305 * gio/gwin32appinfo.c:
4307 Update for API changes
4309 * gio/gthemedicon.c:
4310 Properly NULL-terminate list of icon names
4312 2007-09-28 Alexander Larsson <alexl@redhat.com>
4314 * gio/gloadableicon.h:
4315 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4317 2007-09-28 Alexander Larsson <alexl@redhat.com>
4320 Install headers in $includedir/gio-standalone/
4322 * gio-2.0.pc.in: Added.
4323 * gio-standalone.pc.in: Removed.
4326 Renamed pkg-config file to match glib (for future move)
4327 Update to the new include dir
4330 Add more TODO comments
4332 2007-09-28 Alexander Larsson <alexl@redhat.com>
4334 * gio/gdesktopappinfo.[ch]:
4335 Expose new_from_filename
4336 Add getter for is_hidden and handle it better
4338 2007-09-28 Alexander Larsson <alexl@redhat.com>
4340 * gio/gfileinfo.[ch]:
4341 Rename g_file_size_format_for_display to
4342 g_format_file_size_for_display.
4343 Now it doesn't have the g_file prefix, so we
4344 can later move it to glib.
4346 2007-09-28 Alexander Larsson <alexl@redhat.com>
4348 * gio/gappinfo.[ch]:
4349 Add g_app_info_get_id and g_app_info_get_executable.
4350 Make all getters non-reffing
4351 Make g_app_info_launch take GFile arguments.
4352 Add must_support_uris argument to g_app_info_get_default_for_type.
4354 * gio/gwin32appinfo.c:
4355 Update to GAppInfo api changes
4357 * gio/gdesktopappinfo.c:
4358 Update to GAppInfo api changes
4359 Implement supports_xdg_startup_notify
4361 * gio/gfileicon.c (g_file_icon_get_file):
4362 Make getter non-reffing.
4367 2007-09-27 Alexander Larsson <alexl@redhat.com>
4369 * gio/gfileinfo.[ch]:
4370 Add g_file_size_format_for_display helper
4372 2007-09-27 Alexander Larsson <alexl@redhat.com>
4374 * gio/glocalfileinfo.c:
4375 Set UNIX_GID from gid, not from uid
4377 2007-09-27 Alexander Larsson <alexl@redhat.com>
4380 Add g_file_set_attributes_async
4382 2007-09-27 Alexander Larsson <alexl@redhat.com>
4384 * gio/glocalfile.c (g_local_file_set_display_name):
4385 Fix set_display_name to actually rename to the right place.
4386 Use lstat to look for existing files so we don't overwrite
4389 2007-09-26 Alexander Larsson <alexl@redhat.com>
4392 Add g_file_set_display_name_async()
4394 2007-09-26 Alexander Larsson <alexl@redhat.com>
4397 Add load_partial_contents async calls
4400 Make internal function static
4402 2007-09-26 Alexander Larsson <alexl@redhat.com>
4404 * gio/glocalfileinfo.c:
4405 Correctly detect broken symlinks
4407 2007-09-26 Alexander Larsson <alexl@redhat.com>
4409 * gio/gcancellable.c (g_cancellable_cancel):
4410 Allow cancel on NULL cancellable
4412 2007-09-25 Alexander Larsson <alexl@redhat.com>
4414 * gio/gsimpleasyncresult.c:
4415 Don't allocate g_error manually.
4416 Fixes g_slice/g_new mixup crash
4418 2007-09-25 Alexander Larsson <alexl@redhat.com>
4420 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4421 Actually set active_backend.
4422 This means the monitor will be cancelled correctly.
4424 2007-09-25 Alexander Larsson <alexl@redhat.com>
4426 * gio/gdirectorymonitor.c:
4427 Set timeout to NULL when destroying
4429 2007-09-25 Alexander Larsson <alexl@redhat.com>
4432 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4433 that is a better description of the error.
4435 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4437 * gio/gvfs.c: (g_vfs_get_local):
4438 Make the local vfs variable static. The same instance should
4441 2007-09-24 Alexander Larsson <alexl@redhat.com>
4443 * gio/glocalfileinfo.c:
4444 Pass in actual length read into sniffer, not the length
4447 2007-09-21 Alexander Larsson <alexl@redhat.com>
4449 * gio/gfileenumerator.c:
4452 * gio/gfileinputstream.c:
4453 * gio/gfileoutputstream.c:
4454 * gio/ginputstream.c:
4455 * gio/goutputstream.c:
4456 Don't crash if async callbacks are NULL
4458 2007-09-20 Alexander Larsson <alexl@redhat.com>
4461 Add async enumerate_children method and default
4464 2007-09-20 Alexander Larsson <alexl@redhat.com>
4467 Add g_file_contains_file & g_file_get_relative_path, since they
4468 were needed for nautilus.
4469 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4474 Implement new methods
4476 2007-09-17 Alexander Larsson <alexl@redhat.com>
4479 * gio/gfileinputstream.[ch]:
4480 * gio/gfileoutputstream.[ch]:
4482 * gio/glocalfileenumerator.[ch]:
4483 * gio/glocalfileinfo.[ch]:
4484 * gio/glocalfileinputstream.c:
4485 * gio/glocalfileoutputstream.c:
4486 * gio/gpollfilemonitor.c:
4487 * programs/gio-copy.c:
4488 * programs/gio-info.c:
4489 * programs/gio-move.c:
4490 Rename get_file_info to query_info() to make it clearer
4491 that these are not simple getters, but do i/o.
4493 2007-09-17 Alexander Larsson <alexl@redhat.com>
4495 * gio/gdatainputstream.[ch]:
4496 * gio/test-streams.c:
4497 Use _read_XXX instead of _get_XXX for the i/o calls
4500 2007-09-17 Alexander Larsson <alexl@redhat.com>
4503 Added needed stuff to TODO comment
4505 2007-09-17 Alexander Larsson <alexl@redhat.com>
4507 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4508 Don't error out removing the backup copy if it doesn't
4511 2007-09-14 Alexander Larsson <alexl@redhat.com>
4513 * programs/Makefile.am:
4514 * programs/gvfs-*.c:
4516 Renamed apps from gvfs-xxx to gio-xxx.
4518 2007-09-14 Alexander Larsson <alexl@redhat.com>
4521 * gio/gfileoutputstream.[ch]:
4522 * gio/glocalfileoutputstream.c:
4523 * programs/gvfs-save.c:
4524 g_file_output_stream_get_etag doesn't do i/o, so remove
4525 cancellation and error.
4527 2007-09-14 Alexander Larsson <alexl@redhat.com>
4530 Add new_etag output to replace_contents functions
4532 2007-09-14 Alexander Larsson <alexl@redhat.com>
4534 * gio/gfileoutputstream.[ch]:
4535 Add async get_file_info and default implementation
4537 2007-09-14 Alexander Larsson <alexl@redhat.com>
4539 * gio/gfileinputstream.c:
4540 Implement fallback wrapper for async get_file_info
4542 2007-09-14 Alexander Larsson <alexl@redhat.com>
4545 Add etag out argument to load_contents
4550 2007-09-14 Alexander Larsson <alexl@redhat.com>
4552 * gio/gcontenttype.c (looks_like_text):
4553 Whitespace like tab, cr and lf do not make the
4556 2007-09-14 Alexander Larsson <alexl@redhat.com>
4558 * gio/gfileinputstream.[ch]:
4559 Add async get_file_info.
4561 2007-09-13 Alexander Larsson <alexl@redhat.com>
4563 * gio/goutputstream.c (g_output_stream_write_all):
4564 Allow NULL for bytes_written
4566 2007-09-13 Alexander Larsson <alexl@redhat.com>
4568 * gio/gmemoryinputstream.[ch]:
4569 Add accessors for data
4571 2007-09-13 Alexander Larsson <alexl@redhat.com>
4573 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4574 Don't crash if length is NULL