1 2008-07-20 Matthias Clasen <mclasen@redhat.com>
5 * gmount.c: Documentation fixes
7 2008-07-19 Matthias Clasen <mclasen@redhat.com>
9 543504 – crash in Epiphany Web Browser: Opening local file
20 * gvolume.c: Register types thread-safely.
21 Patch by Christian Persch
23 2008-07-18 Matthias Clasen <mclasen@redhat.com>
25 * gcontenttype.c: Remove debug spew
27 2008-07-18 Matthias Clasen <mclasen@redhat.com>
29 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
32 * fen/fen-kernel.c: Remove a warning that was causing
33 crashes. Reported by Lin Ma.
35 2008-07-18 Matthias Clasen <mclasen@redhat.com>
37 Bug 543040 – async reading on dummy file will crash on
40 * gfile.c (open_read_async_thread): Cope with read_fn being
41 NULL. Reported by Lin Ma.
43 2008-07-18 Matthias Clasen <mclasen@redhat.com>
46 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
48 2008-07-16 Matthias Clasen <mclasen@redhat.com>
52 * giomodule.c: Rename a chapter id to avoid filename conflict.
54 2008-07-16 Matthias Clasen <mclasen@redhat.com>
56 Bug 540616 – mem leak in filechooser button
58 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
59 the mount entry. Reported by Chrisitan Persch
61 2008-07-16 Matthias Clasen <mclasen@redhat.com>
63 * gfile.c: Small documentation fixes.
65 2008-07-15 Matthias Clasen <mclasen@redhat.com>
67 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
69 2008-07-08 Matthias Clasen <mclasen@redhat.com>
74 * gmount.c: Documentation improvements.
76 2008-07-08 Matthias Clasen <mclasen@redhat.com>
79 * gmount.[hc]: Add g_mount_guess_content_type().
81 2008-07-06 David Zeuthen <davidz@redhat.com>
84 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
85 is needed for easily handling adoption of foreign volumes by
86 out-of-process volume monitors (#541793)
88 2008-07-06 David Zeuthen <davidz@redhat.com>
90 * gvolumemonitor.[ch]:
91 * gunionvolumemonitor.c: Export the eject-button signal on the
92 volume monitor class (#541794).
94 2008-07-06 Matthias Clasen <mclasen@redhat.com>
96 * gappinfo.c: More doc tweaks
98 2008-07-05 Matthias Clasen <mclasen@redhat.com>
100 * gappinfo.c: Clarify some docs
102 2008-07-03 Matthias Clasen <mclasen@redhat.com>
104 * gdesktopappinfo.c: Fix a stupid mistake.
106 2008-07-02 Matthias Clasen <mclasen@redhat.com>
108 * === Released 2.17.3 ===
110 2008-07-02 Matthias Clasen <mclasen@redhat.com>
112 * gfilemonitor.c: Fix the build.
114 2008-07-02 Matthias Clasen <mclasen@redhat.com>
116 Bug 536160 – Add g_file_monitor()
119 * gfile.[hc]: Add g_file_monitor which can return either
120 a file or a directory monitor. Proposed by Behdad Esfahbod
122 2008-07-02 Matthias Clasen <mclasen@redhat.com>
124 536733 – gio build failure on Irix
126 * glocalfile.c: Use a configure check for structfs.f_bavail.
128 2008-07-02 Matthias Clasen <mclasen@redhat.com>
130 Bug 534639 – add g_desktop_app_info_new_from_keyfile
133 * gdesktopappinfo.[hc]: Add a function to create a
134 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
136 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
138 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
140 2008-07-01 Matthias Clasen <mclasen@redhat.com>
142 * gunixmounts.c: Fix a doc typo.
144 2008-07-01 Cody Russell <bratsche@gnome.org>
146 * gio/gcontenttype.c:
147 * gio/gwin32appinfo.c:
148 * gio/gwin32volumemonitor.c:
149 * gio/gwin32mount.c: Fixed some include problems.
151 2008-07-01 Cody Russell <bratsche@gnome.org>
155 Moved all relevant typedefs into these files.
158 Updated wrt added files.
160 Split types into separate file for easier maintainership. (#538564)
162 2008-06-30 Matthias Clasen <mclasen@redhat.com>
164 Bug 540331 – g_file_append_to () documentation: can return NULL
166 * gfile.c (g_file_append_to): Clarify docs.
169 2008-06-30 Matthias Clasen <mclasen@redhat.com>
171 Bug 539090 – g_content_type_from_mime_type() should unalias
173 * gcontentype.c (g_content_type_from_mime_type): Unalias.
174 Patch by Markus Bergman
176 2008-06-30 Matthias Clasen <mclasen@redhat.com>
178 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
181 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
182 on ppc and alpha. Reported by Mart Raudsepp
184 2008-06-29 Matthias Clasen <mclasen@redhat.com>
187 * tests/memory-output-stream.c: Add some tests for
190 2008-06-29 Matthias Clasen <mclasen@redhat.com>
192 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
195 * gmemoryoutputstream.c (array_resize): Handle truncation to
196 zero correctly. Reported by Akira Tagoh
198 2008-06-29 Matthias Clasen <mclasen@redhat.com>
200 * gmemoryoutputstream.c: Trivial doc fixes
202 2008-06-29 Matthias Clasen <mclasen@redhat.com>
204 Bug 540802 – g_list_prepend doesn't concat lists
206 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
207 one list to another. Pointed out by Jan Arne Petersen
209 2008-06-28 Michael Natterer <mitch@imendio.com>
211 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
213 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
215 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
216 to avoid problems with partial icon themes.
218 2008-06-17 Hans Breuer <hans@breuer.org>
220 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
221 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
222 access again on win32, see bug #538127
223 * giomodule.c : ensure GWin32VolumeMonitor is registered
224 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
225 * Makefile.am makefile.msc : updated
227 2008-06-16 Hans Breuer <hans@breuer.org>
229 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
230 and initialization in one step avoids c99ism
232 2008-06-16 Christian Persch <chpe@gnome.org>
235 * gio/gbufferedinputstream.c
237 * gio/gdatainputstream.c
238 * gio/gdesktopappinfo.c
240 * gio/gfileenumerator.c
241 * gio/gfileinputstream.c
242 * gio/gfileoutputstream.c
244 * gio/glocaldirectorymonitor.c
246 * gio/glocalfileenumerator.c
247 * gio/glocalfileinfo.c
248 * gio/glocalfilemonitor.c
249 * gio/glocalfileoutputstream.c
250 * gio/gmemoryinputstream.c
251 * gio/gmemoryoutputstream.c
252 * gio/goutputstream.c
253 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
256 2008-06-16 Tor Lillqvist <tml@novell.com>
258 Bug 538362 - Get Win32 icons back in the file chooser
260 * gcontenttype.c (g_content_type_get_icon): Look up the icon
261 corresponding to a file extension in the Registry. Patch by Hans
263 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
265 2008-06-16 Tor Lillqvist <tml@novell.com>
267 Patches by Hans Breuer:
269 * glocalfile.c (is_xp_or_later): Handle compiling against older
270 SDK headers with missing VerifyVersionInfo(). Conditioned on
271 _MSC_VER, but should probably use some better test.
272 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
273 uninitialised statfs_result variable on Win32.
275 2008-06-16 Michael Natterer <mitch@imendio.com>
277 * *.c: chain up unconditionally in finalize() and dispose(). Also
278 don't dereference these function pointers when calling them since
279 that has no meaning at all.
281 2008-06-16 Ross Burton <ross@burtonini.com>
284 Remove check for dispose implementation as it annoys Emmanuele.
286 2008-06-16 Ross Burton <ross@burtonini.com>
288 Bug 536252 – GFileEnumerator should allow access to the containing
294 Add g_file_enumerator_get_container() and a container writeable
295 construct-only property. Also shuffle around typedefs to make it
298 * glocalfileenumerator.c:
299 * glocalfileenumerator.h:
301 Instead of a string filename take a GFile in the constructor and
302 use it to set the container property.
307 2008-06-16 Matthias Clasen <mclasen@redhat.com>
309 * gfile.c: Make includes more uniform
311 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
313 * tests/live-g-file.c (sample_struct):
314 Use less fancy unicode filenames, so the test doesn't fail
315 on Mac OS X (#531476).
317 2008-06-12 Matthias Clasen <mclasen@redhat.com>
319 * === Released 2.17.2 ===
321 2008-06-12 Matthias Clasen <mclasen@redhat.com>
323 * === Released 2.17.1 ===
325 2008-06-11 A. Walton <awalton@gnome.org>
327 * tests/g-file.c (test_g_file_new_null):
328 Fix broken test case.
330 2008-06-11 Matthias Clasen <mclasen@redhat.com>
332 * pltcheck.sh: We use g_clear_error now.
334 2008-06-11 Matthias Clasen <mclasen@redhat.com>
336 * glocalfile.c (g_local_file_enumerate_children): Revert
337 an unintended change.
339 2008-06-11 Matthias Clasen <mclasen@redhat.com>
341 * gfile.c (g_file_replace_contents): Don't unref before the last use.
343 2008-06-10 Matthias Clasen <mclasen@redhat.com>
345 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
348 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
349 as icon for the desktop directory, also make user-home and
350 user-desktop the preferred icons.
352 2008-06-10 Matthias Clasen <mclasen@redhat.com>
355 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
356 to add a name to the front of the list.
358 2008-06-10 Matthias Clasen <mclasen@redhat.com>
360 Bug 537392 – Additional colon in xattr name
362 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
363 too. Reported by Alessandro Morandi
365 2008-06-10 Matthias Clasen <mclasen@redhat.com>
367 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
370 * glocalfile.c (get_fs_type): Add afs and autofs.
371 Patch by Danny Baumann.
373 2008-06-10 Matthias Clasen <mclasen@redhat.com>
375 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
377 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
378 is no parent. (Owen Taylor, patch by Christian Neumair)
380 2008-06-10 Paolo Borelli <pborelli@katamail.com>
382 * gfile.c (g_file_replace_contents): do not leak the output stream.
384 2008-06-10 Michael Natterer <mitch@imendio.com>
386 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
387 uninitialized memory as array index.
389 2008-06-10 Tor Lillqvist <tml@novell.com>
391 * gcontenttype.c (g_content_type_can_be_executable)
392 (g_content_type_get_icon) [Win32]: Add TODO comments.
394 2008-06-09 Matthias Clasen <mclasen@redhat.com>
396 * xdgmime/Makefile.am: Fix the build
398 2008-06-09 Matthias Clasen <mclasen@redhat.com>
400 * gcontenttype.c (g_content_type_get_icon): Use icons specified
401 in the shared mime database, if available.
403 * xdgmime/*: Sync with upstream. This brings support for
404 glob weights, generic icons, and changes the cache format to
407 2008-05-28 Michael Natterer <mitch@imendio.com>
409 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
410 the global CPPFLAGS now.
412 * tests/data-input-stream.c
413 * tests/data-output-stream.c
414 * tests/g-file-info.c
416 * tests/live-g-file.c
417 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
419 2008-05-27 Matthias Clasen <mclasen@redhat.com>
421 * === Released 2.17.0 ===
423 * tests/live-g-file.c: Clean up after the tests, so make distcheck
424 doesn't complain about leftover files.
426 2008-05-27 simon.zheng <simon.zheng@sun.com>
428 * glocalfile.c: (g_local_file_query_filesystem_info):
429 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
431 2008-05-26 Michael Natterer <mitch@imendio.com>
433 * gmemoryoutputstream.h: declare
434 g_memory_output_stream_get_data_size().
436 2008-05-26 Matthias Clasen <mclasen@redhat.com>
438 * tests/*: Make tests work
440 2008-05-26 Matthias Clasen <mclasen@redhat.com>
442 * gio.symbols: Add g_memory_output_stream_get_data_size.
444 2008-05-25 Ross Burton <ross@burtonini.com>
447 Fix typo in error message (#534764).
449 2008-05-25 Ross Burton <ross@burtonini.com>
452 Fix circular dependency loop for gioenumtypes.h (#534759).
454 2008-05-19 Hans Breuer <hans@breuer.org>
456 * Makefile.am : EXTRA_DIST += makefile.msc
458 2008-05-17 Matthias Clasen <mclasen@redhat.com>
461 * gcontenttype.c: (g_content_type_from_mime_type):
462 New function to create a content type from a mime type. (#527175,
465 2008-05-17 Matthias Clasen <mclasen@redhat.com>
467 Bug 532965 – Should not return filesystem::free for certain file systems
469 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
470 free space for ncpfs.
472 2008-05-17 Matthias Clasen <mclasen@redhat.com>
474 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
476 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
477 st_dev might be zero.
479 2008-05-16 Tor Lillqvist <tml@novell.com>
481 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
482 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
484 2008-05-13 Bastien Nocera <hadess@hadess.net>
486 * gfile.c (has_valid_scheme): A URI scheme must start with a
487 letter, even if later more characters are allowed (#532852)
489 2008-05-05 Michael Natterer <mitch@imendio.com>
491 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
492 code from being checked in that breaks the build of applications
493 which use G_DISABLE_SINGLE_INCLUDES.
495 * makegioalias.pl: make the alias file include "glib.h" instead of
498 * gio.symbols: whitespace change to force regeneration of the
499 alias file after above script change.
501 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
503 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
505 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
507 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
509 2008-04-28 David Zeuthen <davidz@redhat.com>
511 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
512 displaying mounts in a subdirectory not accessible to the
515 2008-04-22 Michael Natterer <mitch@imendio.com>
517 * Makefile.am: fix library versioning (it was 0.0.0).
519 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
521 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
522 Default disable all loggings.
523 * fen/fen-kernel.c: (printevent), (port_add_kevent),
524 (port_fetch_event_cb): Fixed two macro nits.
526 2008-04-16 Matthias Clasen <mclasen@redhat.com>
528 * xdgmime/xdgmime.c: Rework the timestamp checking code
529 to protect against duplicate directories in XDG_DATA_DIRS.
530 Fixes fd.o bug 12513, reported by Joe Shaw.
532 2008-04-16 Matthias Clasen <mclasen@redhat.com>
534 Partically revert the last commit after realizing that
535 xdg_mime_media_type_equal doesn't have to init at all.
538 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
540 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
542 2008-04-16 Matthias Clasen <mclasen@redhat.com>
544 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
545 reported by Joe Shaw and Federico Mena Quintero.
547 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
548 (xdg_mime_media_type_equal): Turn into a wrapper around the
551 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
552 functions throughout.
554 2008-04-16 Michael Meeks <michael.meeks@novell.com>
556 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
557 tolerate an empty TryExec= line without failing; nautilus used
558 to create launchers with these in previous versions. Fixes #528433
560 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
562 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
563 after name. Fixes #527132.
565 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
567 * gfile.c: (g_file_replace):
570 2008-04-07 Matthias Clasen <mclasen@redhat.com>
572 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
574 * gfile.c (file_copy_fallback): Fix the argument order. Patch
575 by Christian Kellner.
577 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
579 * gunixmounts.c: (g_unix_mount_guess_should_display):
580 Don't list the user directory as a mount, fix potential issue
581 when other users have a similar naming and don't special case the
582 gvfs mounts there since that's not required (#525866)
584 2008-03-31 Alexander Larsson <alexl@redhat.com>
586 * glocalfile.c (get_parent):
589 2008-03-31 A. Walton <awalton@svn.gnome.org>
591 * gfile.c (g_file_query_file_type):
592 Always return a GFileType enum value (#520715).
594 2008-03-31 Alexander Larsson <alexl@redhat.com>
596 * glocalfileenumerator.c:
597 Read readdir() info in chunks (of 1000) and sort
598 the chunks by inode before stat:ing.
599 This is a 20% performance increase in testing
600 gvfs-ls on /usr/bin with cold cache.
602 2008-03-31 Alexander Larsson <alexl@redhat.com>
604 * gmemoryoutputstream.c:
605 Clarify docs for g_memory_output_stream_get_size.
606 Add g_memory_output_stream_get_data_size.
608 2008-03-30 Matthias Clasen <mclasen@redhat.com>
612 * gfile.h: Add g_file_query_file_type convenience function
613 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
615 2008-03-30 Matthias Clasen <mclasen@redhat.com>
618 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
620 2008-03-28 A. Walton <awalton@svn.gnome.org>
622 * giomodule.c (_g_io_modules_ensure_loaded):
623 Adds GIO_EXTRA_MODULES environment variable support, closing bug
626 2008-03-28 Alexander Larsson <alexl@redhat.com>
629 (copy_stream_with_progress):
632 2008-03-28 Alexander Larsson <alexl@redhat.com>
635 (copy_stream_with_progress):
636 (file_copy_fallback):
637 Fallback to g_file_query_info for source size
638 if g_file_input_stream_query_info fails. (#524579)
640 2008-03-28 Alexander Larsson <alexl@redhat.com>
642 * glocalfile.c (g_local_file_move):
643 Reuse old string instead of adding new one.
645 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
647 * fen/*.[hc]: still copyright issue. I hate copyright.
649 2008-03-27 Alexander Larsson <alexl@redhat.com>
651 * glocalfile.c (g_local_file_move):
652 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
653 file over directory. This is according to the docs and what the move via
654 copy+remove fallback does.
656 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
658 * fen/*.[hc]: Updated copyright.
660 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
662 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
664 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
666 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
667 not emit attribute changed events when optimizing changed events.
668 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
671 2008-03-19 Matthias Clasen <mclasen@redhat.com>
673 * gmountoperation.[hc]: Small documentation additions
675 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
677 * gunixmounts.c: (guess_mount_type):
678 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
680 2008-03-19 Alexander Larsson <alexl@redhat.com>
683 (copy_stream_with_progress):
684 Bump block side for copy to 64k to minimize
685 overhead for low latency links. (#523015)
687 2008-03-16 Tor Lillqvist <tml@novell.com>
689 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
690 depend on gio.def on Windows.
692 2008-03-12 David Zeuthen <davidz@redhat.com>
696 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
698 2008-03-14 Alexander Larsson <alexl@redhat.com>
702 Avoid redudant tests (#521851)
703 Patch from Josselin Mouette
705 2008-03-14 Alexander Larsson <alexl@redhat.com>
708 (g_file_monitor_is_cancelled):
709 Fix C89 issue (#521672)
710 Patch from Jens Granseuer
712 2008-03-14 Alexander Larsson <alexl@redhat.com>
714 * fam/fam-helper.[ch]:
716 Shut down fam (including removing fam GSource) when
717 module is unloaded (#521513)
718 Patch from Joe Marcus Clarke
720 2008-03-14 Alexander Larsson <alexl@redhat.com>
723 (_g_io_modules_ensure_loaded):
726 2008-03-14 Alexander Larsson <alexl@redhat.com>
729 (g_local_file_query_filesystem_info):
730 Use right define name for f_fstypename member check
732 2008-03-14 Alexander Larsson <alexl@redhat.com>
735 * fen/Makefile.am: Added.
736 * fen/fen-data.[ch]: Added.
737 * fen/fen-dump.[ch]: Added.
738 * fen/fen-helper.[ch]: Added.
739 * fen/fen-kernel.[ch]: Added.
740 * fen/fen-missing.[ch]: Added.
741 * fen/fen-node.[ch]: Added.
742 * fen/fen-sub.[ch]: Added.
743 * fen/gfendirectorymonitor.[ch]: Added.
744 * fen/gfenfilemonitor.[ch]: Added.
746 Added Solaris FEN file notification backend.
747 Patch from Lin Ma <Lin.Ma@Sun.COM>
749 2008-03-13 Tor Lillqvist <tml@novell.com>
751 * Makefile.am: Actually use the gio.def file when linking the
752 library on Windows. Produce .lib library for Microsoft's toolchain
753 when possible. Install the .lib and .def file like for the other
756 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
758 * tests/live-g-file.c:
759 Include live-g-file in standard set of tests, making a temporary
760 directory in source structure.
762 Clean target directory before the tests (write mode only)
764 2008-03-12 Tor Lillqvist <tml@novell.com>
766 Bug 517419 - gio win32 directory monitor
767 Implementation by Vlad Grecescu.
770 * win32/gwin32directorymonitor.h
771 * win32/gwin32directorymonitor.c: New files.
773 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
775 * Makefile.am: Add the win32 subdirectory.
777 2008-03-12 Tor Lillqvist <tml@novell.com>
779 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
780 normal struct stat on Unix but struct _stati64 on Windows to have
781 access to 64-bit file size information. Use that instead of struct
782 stat in the functions declared here in this private header.
784 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
785 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
786 warnings about unused functions and variables. Don't set
787 meaningless attributes like inode numbers on Windows.
789 2008-03-12 Benjamin Otte <otte@gnome.org>
792 trim whitespace so gtk-doc groks the function name
794 2008-03-12 Tor Lillqvist <tml@novell.com>
796 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
797 returning FALSE, on Win32.
799 2008-03-11 Alexander Larsson <alexl@redhat.com>
802 * glocalfileinfo.[ch]:
803 Correctly implement can_trash by actually
804 looking for a trash dir, not just assuming
807 2008-03-10 Matthias Clasen <mclasen@redhat.com>
809 * === Released 2.16.1 ===
811 2008-03-11 Alexander Larsson <alexl@redhat.com>
814 Fix crashes in new constructor and properties code
816 2008-03-10 Murray Cumming <murrayc@murrayc.com>
818 * gfile.c: Minor spelling correction in documentation:
819 existance -> existence.
821 2008-03-10 Matthias Clasen <mclasen@redhat.com>
823 * === Released 2.16.0 ===
825 2008-03-10 Matthias Clasen <mclasen@redhat.com>
827 * gio.symbols: Remove g_file_contains_file here, too.
829 2008-03-10 Matthias Clasen <mclasen@redhat.com>
831 * gthemedicon.c: Add properties to make bindings happy. (#517676,
832 Samuel Cormier-Iijima)
834 2008-03-08 Tor Lillqvist <tml@novell.com>
836 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
839 2008-03-07 Alexander Larsson <alexl@redhat.com>
842 (g_local_file_query_filesystem_info):
843 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
844 Patch from Jasper Lievisse Adriaanse
846 2008-03-06 Tor Lillqvist <tml@novell.com>
848 * gfileinfo.h: Correct milliseconds to microseconds in the doc
849 comments for the *_USEC attributes.
851 2008-03-06 Alexander Larsson <alexl@redhat.com>
853 * gfile.c (g_file_query_exists):
854 Add g_return_val_if_fail check (#520700)
856 2008-03-06 Alexander Larsson <alexl@redhat.com>
861 * gunionvolumemonitor.c:
864 * tests/live-g-file.c:
865 * xdgmime/xdgmimecache.c:
866 Fix sparse warnings (#519489)
868 2008-03-05 Alexander Larsson <alexl@redhat.com>
871 Make cancellation threadsafe (i.e.
872 guarantee its only done once, and always
875 * glocaldirectorymonitor.c:
876 Make sure we the monitor lives while the
877 mounts_changed callback is being called (#520484)
879 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
881 * gbufferedinputstream.c: Fix typo in parameter
884 2008-03-04 Alexander Larsson <alexl@redhat.com>
887 Remove deprecated symbols we kept for one release.
889 2008-03-04 Murray Cumming <murrayc@murrayc.com>
892 * goutputstream.c: Tiny documentation corrections.
894 2008-03-03 Alexander Larsson <alexl@redhat.com>
896 * gunionvolumemonitor.c:
898 Fix the adopt_orphan_mount vfunc to take a
899 volume_monitor reference in an ABI compat way.
900 This change is not API compat, but the added
901 arg is not used in the only user of this vfunc, so
902 all we get is a harmless warning in gvfs (#520169)
904 2008-03-01 Benjamin Otte <otte@gnome.org>
907 clarify docs for g_file_delete().
909 2008-02-29 Alexander Larsson <alexl@redhat.com>
913 Make sure empty files get text/plain type (#518720)
915 2008-02-27 Alexander Larsson <alexl@redhat.com>
921 (g_unix_volume_mount):
922 Add missing GMountMountFlags argument
924 2008-02-26 Alexander Larsson <alexl@redhat.com>
927 (g_local_file_delete):
928 Handle filesystems (like ntfs-3g) that return EEXIST instead
929 of ENOTEMPTY (#518816)
931 2008-02-25 Matthias Clasen <mclasen@redhat.com>
933 * === Released 2.15.6 ===
935 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
937 * gfile.c (g_file_find_enclosing_mount):
938 * ginputstream.c (g_input_stream_set_pending):
939 * glocalfile.c (g_local_file_find_enclosing_mount):
940 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
941 * goutputstream.c (g_output_stream_set_pending):
943 Fixup translator comments (#518578).
945 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
947 * gfile.c (g_file_find_enclosing_mount):
949 * glocalfile.c (g_local_file_find_enclosing_mount):
952 Fix a few typos in translator comments and documentation.
954 2008-02-25 Alexander Larsson <alexl@redhat.com>
961 Add translator comments (#518578)
963 2008-02-25 Alexander Larsson <alexl@redhat.com>
966 Reintroduce g_file_contains_file, keep around for one
967 unstable release cycle to avoid crashing to many apps.
968 Make sure to delete after release.
970 2008-02-25 Alexander Larsson <alexl@redhat.com>
973 Remove deprecated g_file_contains_file.
975 2008-02-25 Alexander Larsson <alexl@redhat.com>
978 Emit actual change signals in an idle handler.
979 This avoids reentrance and locking problems in
980 the file notification backends.
982 2008-02-25 Alexander Larsson <alexl@redhat.com>
985 (g_unix_mount_guess_should_display):
986 Remove type guessing, instead just display
987 mounts in /media and in ~/.
989 2008-02-25 Alexander Larsson <alexl@redhat.com>
992 Make new strings reuse old ones.
994 2008-02-25 Alexander Larsson <alexl@redhat.com>
997 Implement trashing and filesystem::readonly for win32 (#517235)
998 Patch from Yevgen Muntyan
1000 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1002 * gfileinfo.h: Documentation fixes.
1004 2008-02-22 Alexander Larsson <alexl@redhat.com>
1006 * gcontenttype.c (g_content_type_get_icon):
1007 Look at old-style gnome mime icon names too, as many
1008 have not moved to the new style.
1010 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1012 * *.c: Correct the @include in for section docs.
1014 2008-02-21 David Zeuthen <davidz@redhat.com>
1016 * glocalfileinfo.c: (_g_local_file_info_get):
1018 (g_content_type_get_icon): Implement this function by
1019 moving bits from glocalfileinfo.c
1020 (g_content_type_get_description): Unalias before getting
1021 description (#517687)
1023 * gfile.c: (g_file_class_init),
1024 (g_file_query_filesystem_info_async),
1025 (g_file_query_filesystem_info_finish),
1026 (query_filesystem_info_data_free),
1027 (query_filesystem_info_async_thread),
1028 (g_file_real_query_filesystem_info_async),
1029 (g_file_real_query_filesystem_info_finish):
1030 * gfile.h: Implement async version of
1031 g_file_query_filesystem_info()
1033 * gfileinfo.h: Add new attributes for filesystem::use-preview
1035 * gio.symbols: Update
1037 * gthemedicon.c: (g_themed_icon_append_name):
1038 * gthemedicon.h: Add new new convenience function.
1040 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1041 (get_mounts), (get_volumes), (get_connected_drives),
1042 (get_volume_for_uuid), (get_mount_for_uuid),
1043 (g_union_volume_monitor_init), (populate_union_monitor),
1044 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1045 (g_volume_monitor_adopt_orphan_mount):
1047 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1048 monitor implementations to call into the main volume monitor. Also
1049 separate object initialization and volume monitor initialization
1050 such that non-native volume monitors can properly adopt their
1053 2008-02-21 Alexander Larsson <alexl@redhat.com>
1058 2008-02-21 Alexander Larsson <alexl@redhat.com>
1061 Add more documentation about how GFiles work (from #517086)
1063 2008-02-21 Alexander Larsson <alexl@redhat.com>
1067 Add new g_file_has_prefix that does the same as g_file_contains_file.
1068 Deprecate g_file_contains_file and add a macro that converts
1069 it to g_file_has_prefix.
1070 The reason for this change is that the contains_file() name seems to
1071 imply that this does more work than what it does, but its really only
1072 a name match (from #517086)
1077 Update to match the above change.
1079 2008-02-20 Benjamin Otte <otte@gnome.org>
1081 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1082 (g_file_eject_mountable):
1083 even more cases of not returning in error path
1085 2008-02-20 Benjamin Otte <otte@gnome.org>
1087 * gfile.c: (g_file_mount_mountable):
1088 return from function in error path.
1090 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1093 Remove trailing coma in GMountMountFlags struct
1095 2008-02-18 Alexander Larsson <alexl@redhat.com>
1099 * glocalfileoutputstream.c:
1100 Use g_unlink/g_rename instead of unlink/rename;
1101 do not pass raw filenames to g_set_error. (#517239)
1102 Patch from Yevgen Muntyan.
1104 2008-02-18 Alexander Larsson <alexl@redhat.com>
1107 * glocalfileoutputstream.c:
1108 Open files with O_BINARY on windows. (#517140)
1110 2008-02-14 Alexander Larsson <alexl@redhat.com>
1112 * glocalfileoutputstream.c:
1113 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1115 2008-02-14 Alexander Larsson <alexl@redhat.com>
1118 Copy permissions with file on copy (#514084)
1119 This is what cp does and makes sure e.g. the
1120 exec permissions are kept.
1121 Its kinda weird in that it keeps the permission bits
1122 the same while the uid and gid are different. However
1123 the new uid is the user so its not a security issue,
1124 and I've heard no complaints about cp on this issue.
1126 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1128 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1130 2008-02-13 Alexander Larsson <alexl@redhat.com>
1132 * inotify/inotify-path.c:
1133 Define IN_ONLYDIR if not in header (#515346)
1135 2008-02-12 Alexander Larsson <alexl@redhat.com>
1137 * tests/live-g-file.c:
1140 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1142 * === Released 2.15.5 ===
1144 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1146 * gio.symbols: Add g_mount_mount_flags_get_type.
1148 2008-02-11 Alexander Larsson <alexl@redhat.com>
1151 (g_file_info_set_attribute_mask):
1152 (g_file_attribute_matcher_matches_id):
1153 Correctly handle NULL GAttributeMatcher meaning
1154 matches nothing. (Fixes #513492)
1156 2008-02-11 Alexander Larsson <alexl@redhat.com>
1161 Added GMountMountFlags enum and added a flags
1162 argument to all mount calls.
1164 This is an API/ABI change for future extensibility,
1165 as I think we will need at least an
1166 inhibit-autorun flag (the panel needs this).
1167 There are no flags defined yet though.
1169 2008-02-11 Alexander Larsson <alexl@redhat.com>
1172 Added new standard::description attribute.
1173 Requested by Vincent, and useful for both
1176 2008-02-11 Alexander Larsson <alexl@redhat.com>
1178 * gdesktopappinfo.c:
1181 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1183 * *.c: Documentation additions
1185 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1187 * gappinfo.h: Formatting cleanup
1188 * gappinfo.c: Fix up docs.
1190 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1192 * gunixmounts.c: Consistently use getmntent_r() and fall
1193 back to getmntent(). (#515492)
1195 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1197 * gbufferedinputstream.c:
1199 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1201 * tests/data-input-stream.c:
1202 * tests/data-output-stream.c: Portability fixes.
1204 2008-02-08 Alexander Larsson <alexl@redhat.com>
1209 Add g_volume_should_automount.
1212 2008-02-07 Tor Lillqvist <tml@novell.com>
1214 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1215 Win32, too Unix-specific.
1217 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1219 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1220 a local plt if the compiler doesn't support what we want. Bug #514702
1222 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1224 reviewed by: <delete if not using a buddy>
1227 * gunixinputstream.c:
1228 * gunixoutputstream.c:
1230 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1232 * tests/Makefile.am:
1233 * tests/live-g-file.c:
1234 * tests/live-g-file.txt:
1235 New GIO testing module working over real data
1237 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1239 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1240 Fallback to rename() if link() is not available
1241 (when no support on target filesystem)
1243 2008-02-06 Michael Natterer <mitch@imendio.com>
1245 * gfileinfo.c (g_file_info_get_icon): replace
1246 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1248 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1250 * gfile.c (g_file_create):
1251 Documentation update of error codes
1253 2008-02-06 Alexander Larsson <alexl@redhat.com>
1255 * gdesktopappinfo.c:
1256 Update to use both mimeapps.list and
1257 defaults.list as discussed on xdg list.
1259 2008-02-06 Benjamin Otte <otte@gnome.org>
1262 * gfilenamecompleter.c:
1263 Fix some typos in the documentation.
1265 2008-02-06 Alexander Larsson <alexl@redhat.com>
1267 * glocalfile.c (g_local_file_trash):
1268 Don't succeed with trash if newly created
1269 trash dir has the wrong owner. (#514696)
1271 2008-02-05 Alexander Larsson <alexl@redhat.com>
1273 * glocalfile.c (g_local_file_move):
1274 Don't spew warnings when destination is not
1277 2008-02-03 Hans Breuer <hans@breuer.org>
1279 * makefile.msc : update
1281 2008-02-01 Michael Natterer <mitch@imendio.com>
1283 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1284 return value of xdg_mime_list_mime_parents() to a variable of the
1287 2008-02-01 Alexander Larsson <alexl@redhat.com>
1289 * gappinfo.c (g_app_info_launch_uris):
1290 Actually call the launch_uris method, not
1293 2008-02-01 Alexander Larsson <alexl@redhat.com>
1295 * gdesktopappinfo.c (g_desktop_app_info_equal):
1296 Ensure appinfos with no id but same pointer value
1299 2008-02-01 Alexander Larsson <alexl@redhat.com>
1301 * gappinfo.c (g_app_info_launch_default_for_uri):
1304 2008-02-01 Alexander Larsson <alexl@redhat.com>
1308 Add g_app_info_launch_default_for_uri utility
1311 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1313 * gdesktopappinfo.c:
1314 Doc fix for g_app_info_get_default_for_uri_scheme ()
1317 2008-01-30 Alexander Larsson <alexl@redhat.com>
1320 Add doc comment about uris vs GFiles to
1323 * gdesktopappinfo.c:
1324 Ensure uris passed to g_app_info_launch_uris()
1325 are not roundtriped through GFile (as that
1326 may be slightly destructive for e.g. mailto: links)
1328 2008-01-30 Alexander Larsson <alexl@redhat.com>
1330 * tests/data-input-stream.c:
1331 * tests/data-output-stream.c:
1332 C89 fixes from Jens Granseuer (#512849)
1334 2008-01-30 Alexander Larsson <alexl@redhat.com>
1337 Fix gamin/fam difference build issue. (#509419)
1339 2008-01-29 Alexander Larsson <alexl@redhat.com>
1342 * gdesktopappinfo.c:
1343 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1345 2008-01-29 Alexander Larsson <alexl@redhat.com>
1347 * gdesktopappinfo.c:
1348 * gdesktopappinfo.h:
1349 giomodule-priv.h include moved to .c file.
1351 2008-01-29 Alexander Larsson <alexl@redhat.com>
1353 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1354 Remove unused prio/name fields.
1356 2008-01-29 Alexander Larsson <alexl@redhat.com>
1358 * gcontenttype.c (looks_like_text):
1359 Don't treat whitespace as control chars.
1361 2008-01-29 Alexander Larsson <alexl@redhat.com>
1363 * gdesktopappinfo.c:
1364 Lazily create the desktop files for appinfos created
1365 by g_app_info_create_from_commandline() when needed
1366 for mime associations. This allows run-time use
1367 of GAppInfo object without creating unnecessary
1370 2008-01-29 Alexander Larsson <alexl@redhat.com>
1373 Added new symbols to gio.symbols
1375 2008-01-29 Alexander Larsson <alexl@redhat.com>
1378 Add g_file_query_default_handler utility to easily look up
1379 the GAppInfo that handles a file.
1381 * gdesktopappinfo.[ch]:
1383 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1386 Remove unused function
1388 2008-01-29 Alexander Larsson <alexl@redhat.com>
1390 * gfileenumerator.c:
1391 Mention need to free returned value in
1392 g_file_enumerator_next_files_finish docs.
1393 Fix leak if g_file_enumerator_next_files_finish()
1396 2008-01-29 Alexander Larsson <alexl@redhat.com>
1399 (_g_unix_content_type_get_parents):
1400 Use list_parents, not get_parents from xdgmime, because
1401 the later doesn't use the cache.
1403 * xdgmime/xdgmimecache.c:
1404 (_xdg_mime_cache_list_mime_parents):
1405 Don't list the same type as parent multiple times.
1407 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1409 * === Released 2.15.4 ===
1411 2008-01-28 Alexander Larsson <alexl@redhat.com>
1414 Register local vfs with prio 0.
1417 Remove old name and prio class members
1419 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1421 * tests/g-file.c: Disable some tests that are failing in
1422 the absence of a http backend.
1424 2008-01-28 Alexander Larsson <alexl@redhat.com>
1428 Add registration hooks for extension points.
1429 Register the gio extension points.
1431 * fam/gfamdirectorymonitor.c:
1432 * fam/gfamfilemonitor.c:
1433 * glocaldirectorymonitor.[ch]:
1434 * glocalfilemonitor.[ch]:
1435 * gnativevolumemonitor.h:
1436 * gunionvolumemonitor.c:
1437 * gunixvolumemonitor.c:
1440 * inotify/ginotifydirectorymonitor.c:
1441 * inotify/ginotifyfilemonitor.c:
1442 Use the extension points registration instead
1443 of g_type_children().
1445 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1448 * gvolume.[hc]: Document new API.
1450 * gfile.c (g_file_copy_async): Fix docs
1452 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1454 * gbufferedinputstream.c:
1456 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1459 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1461 * glocalfile.c: Avoid trivial differences in translatable strings.
1463 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1465 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1466 build with gcc 3.4 (#509419)
1468 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1470 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1471 (#509994, Murray Cumming)
1473 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1475 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1476 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1477 this allows big jobs to be executed in chunks, instead of blocking
1478 the main loop for a long time.
1480 * gsimpleasyncresult.c:
1481 * giofile.c: Adapt callers.
1483 2008-01-25 Alexander Larsson <alexl@redhat.com>
1485 * gdesktopappinfo.c:
1486 Implement changes discussed on xdg list.
1487 Now we can add supported mimetypes by just using defaults.list
1488 We can also remove associations in defaults.list.
1490 2008-01-25 Alexander Larsson <alexl@redhat.com>
1492 * gdesktopappinfo.c:
1493 Don't make local copy of desktop file
1494 for mimetype changes if the file already
1495 supports the new mimetype.
1497 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1501 * gbufferedinputstream.c:
1502 * glocalfile.c: String improvements. (#511966,
1503 Theppitak Karoonboonyanan)
1505 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1507 * gioscheduler.h: Expand docs a bit.
1509 2008-01-24 Alexander Larsson <alexl@redhat.com>
1512 Add g_drive_get_identifier and
1513 g_drive_enumerate_identifiers
1516 Add g_volume_get_identifier and
1517 g_volume_enumerate_identifiers
1523 Implement identifiers for unix backend
1525 2008-01-24 Alexander Larsson <alexl@redhat.com>
1530 Add g_file_copy_async() (#511580)
1531 Based on patch from Carlos Garcia Campos
1533 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1535 * gioscheduler.c: Some documentation additions.
1537 2008-01-22 Alexander Larsson <alexl@redhat.com>
1539 * gdesktopappinfo.c:
1540 (g_desktop_app_info_new):
1541 Don't leak basename.
1543 2008-01-22 Alexander Larsson <alexl@redhat.com>
1545 * gdesktopappinfo.c:
1546 (g_desktop_app_info_new_from_filename):
1549 2008-01-22 Alexander Larsson <alexl@redhat.com>
1551 * glocalfileinfo.c (get_thumbnail_attributes):
1554 2008-01-22 Alexander Larsson <alexl@redhat.com>
1557 (canonicalize_filename):
1558 Canonicalize paths that start with more than
1562 (compare_two_files):
1563 (test_g_file_new_for_path):
1566 2008-01-22 Alexander Larsson <alexl@redhat.com>
1569 Allow UTF-8 in file:// parse names.
1571 * tests/Makefile.am:
1572 * tests/data-input-stream.c:
1573 * tests/data-output-stream.c:
1574 * tests/g-file-info.c:
1576 Added a bunch of tests from Tomas Bzatek
1578 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1580 * === Released 2.15.3 ===
1582 2008-01-21 Alexander Larsson <alexl@redhat.com>
1584 * gfileinputstream.[ch]:
1585 * gfileoutputstream.[ch]:
1587 Remove duplicated GSeekable functions. (#509990)
1588 Just use the g_seekable_xxx() calls instead.
1590 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1593 * gvolumemanager.c: Whitespace cleanups.
1595 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1596 Use the right mode when creating the file.
1598 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1600 * gfileenumerator.c:
1601 * gfileinputstream.c:
1603 * goutputstream.c: Documentation: Fixed minor typos
1604 and added more mentions of specific _finish() functions.
1606 2008-01-21 Alexander Larsson <alexl@redhat.com>
1608 * inotify/Makefile.am:
1609 * inotify/inotify-helper.c:
1610 * inotify/inotify-kernel.c:
1611 * inotify/inotify-path.c:
1612 * inotify/local_inotify.h: Removed.
1613 * inotify/local_inotify_syscalls.h: Removed.
1614 Removed the included copies of the inotify
1615 headers. We now only use the <sys/inotify.h>
1616 header which exists on modern systems.
1617 This fixes problems on ARM and SH5 (#510448)
1618 but is also generally much cleaner and future
1619 safe. For instance, if other OSes add support
1620 for inotify it should "just work".
1622 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1624 * inotify/*.c: Coding style fixes.
1625 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1626 for the 1/4 Hz timer.
1628 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1631 * gfilemonitor.[hc]:
1632 * gmemoryinputstream.c:
1633 * gmemoryoutputstream.c:
1634 * gmountoperation.c:
1635 * gthemedicon.c: Documentation updates
1637 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1639 * gfile.c: documentation: Fixed more minor
1642 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1644 * gmount.c: (g_mount_remount): documentation:
1645 Mention g_mount_remount_finish() instead of
1646 g_mount_unmount_finish().
1648 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1652 * gfile.c: Fixed some minor typos in the
1655 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1657 * gio/gvolumemonitor.c:
1658 (g_volume_monitor_get_connected_drives):
1659 (g_volume_monitor_get_volumes):
1660 (g_volume_monitor_get_mounts): Documentation:
1661 Clarify the ownership of the regurn GLists.
1663 2008-01-17 Alexander Larsson <alexl@redhat.com>
1666 Add the async find_enclosing_mount version
1667 to the header file too.
1669 2008-01-17 Alexander Larsson <alexl@redhat.com>
1672 Add async version of find_enclosing_mount
1673 with default implementation.
1675 2008-01-17 Alexander Larsson <alexl@redhat.com>
1680 Allow calls to implementation of copy and write
1681 even if the type of the file implementations is
1682 different. This can be used to implement native
1683 upload and download calls in a vfs.
1686 (g_local_file_move):
1687 Protect against the case where move is called
1688 with one file not being local.
1690 Make sure we call the progress callback once
1691 in the native move operation so that the caller
1692 knows how many bytes were copied.
1694 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1697 * gdatainputstream.c:
1699 * gfileoutputstream.c:
1704 * gunixmounts.c: Corrected some typos in the documentation:
1705 occured -> occurred.
1706 its -> it's (where appropriate).
1708 2008-01-16 Alexander Larsson <alexl@redhat.com>
1712 Add g_file_query_exists (#508771)
1714 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1719 * gvolume.c: For async functions that have no non-async
1720 version, document that the GAsyncReadyCallback may be NULL.
1723 2008-01-15 Alexander Larsson <alexl@redhat.com>
1725 * gmemoryinputstream.c:
1726 * gmemoryoutputstream.c:
1727 Don't do pointer arithmetic on void * (#508602)
1728 Patch from Kazuki IWAMOTO
1730 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1732 * === Released 2.15.2 ===
1734 2008-01-14 Alexander Larsson <alexl@redhat.com>
1736 * gfile.c (g_file_monitor_file):
1737 Don't set error here, since we fallback to polling monitor.
1739 2008-01-14 Alexander Larsson <alexl@redhat.com>
1742 (g_file_monitor_directory):
1743 (g_file_monitor_file):
1744 Add GError to file monitor calls
1746 * glocaldirectorymonitor.c:
1747 * glocaldirectorymonitor.h:
1749 * glocalfilemonitor.c:
1750 * glocalfilemonitor.h:
1752 Update for above change
1754 2008-01-14 Alexander Larsson <alexl@redhat.com>
1758 Handle root correctly in g_file_get_relative_path (#508719)
1760 2008-01-14 Alexander Larsson <alexl@redhat.com>
1763 Clean up docs and example for GAsyncResult (#508074)
1765 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1767 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1768 and correct some spelling mistakes. Bug #508108.
1770 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1772 * glocalfileinfo.c: Add a comment.
1774 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1776 * gfileinfo.c: GFileInfo description: Mention
1777 how to actually set attributes in a GFile and how to discover
1778 which attributes are settable. Bug #508378.
1780 2008-01-10 A. Walton <awalton@svn.gnome.org>
1782 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1783 (g_app_info_get_default_for_type):
1784 Check for NULL content types.
1786 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1788 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1790 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1792 * gfile.c: *_async() functions: Several small corrections
1793 to the documentation, mostly correcting copy/paste errors
1794 and improving some sentences.
1796 2008-01-09 Dan Winship <danw@gnome.org>
1798 * glocalfile.c (get_unique_filename): x86_64 fix
1800 2008-01-09 Alexander Larsson <alexl@redhat.com>
1805 Add g_unix_mount_guess_should_display and use
1806 for unix volume monitor backend.
1807 This means we more or less show what the
1808 gnome-vfs backend did.
1809 Based on patch from Padraig O'Briain
1811 2008-01-09 Alexander Larsson <alexl@redhat.com>
1815 Add g_themed_icon_new_with_default_fallbacks
1818 Use default fallbacks for icons
1820 2008-01-09 Alexander Larsson <alexl@redhat.com>
1823 * gmountoperation.[ch]:
1824 Change the API a bit so that unhandled methods
1825 get reported via the reply, rather than by
1826 the signal emission return value. This is because
1827 some handlers can't know this immediately without
1828 doing I/O, and this is an async operation that
1831 2008-01-09 Alexander Larsson <alexl@redhat.com>
1834 * fam/gfamdirectorymonitor.c:
1835 * fam/gfamfilemonitor.c:
1836 Fix double free crash (#508224)
1837 Patch from Joe Marcus Clarke
1839 008-01-07 Matthias Clasen <mclasen@redhat.com>
1841 * === Released 2.15.1 ===
1843 2008-01-07 Alexander Larsson <alexl@redhat.com>
1845 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1846 Fix warning (#507835)
1848 2008-01-07 Alexander Larsson <alexl@redhat.com>
1851 Pass --internal to glib-genmarshal
1854 * gmountoperation.c:
1856 Use better types for signal arguments (#507822)
1858 2008-01-07 Alexander Larsson <alexl@redhat.com>
1861 Build test subdir after .
1862 Remove gdirectorymonitor.[ch]
1864 * gdirectorymonitor.[ch]:
1868 Remove GDirectoryMonitor and make
1869 GFileMonitor the baseclass for both file and
1870 directory monitors. Lift the more generic
1871 rate limiting code from GDirectoryMonitor
1875 * fam/gfamdirectorymonitor.[ch]:
1876 * inotify/ginotifydirectorymonitor.[ch]:
1877 * inotify/inotify-helper.c:
1878 * glocaldirectorymonitor.[ch]:
1881 Update for the removed GDirectoryMonitor.
1883 * gmemoryoutputstream.c:
1884 Remove ununsed variable
1886 2008-01-07 Alexander Larsson <alexl@redhat.com>
1888 * gmemoryinputstream.c:
1889 Translate error strings
1892 * gmemoryoutputstream.[ch]:
1893 New implementation that avoids using GByteArray
1894 in implementation and API. (#506377)
1896 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1898 * tests/*: Add a test for memory input streams.
1900 * Makefile.am: Add tests to SUBDIRS.
1902 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1904 * glocalfilemonitor.c:
1905 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1908 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1910 * gdesktopappinfo.c: Fix a docs typo.
1912 * gfileattribute.c: Add information about extended attributes
1913 to the documentation. (#505058)
1915 2008-01-04 Alexander Larsson <alexl@redhat.com>
1918 * gmountoperation.c:
1919 Use the right type (uint) for the ask_password signal.
1921 2008-01-04 Alexander Larsson <alexl@redhat.com>
1926 Add g_app_info_supports_files()
1927 Remove desktop arg from g_app_info_should_show().
1929 * gdesktopappinfo.[ch]:
1930 Implement g_app_info_supports_files() and new should_show()
1931 Add g_desktop_app_info_set_desktop_env() to set the desktop
1932 for should_show(). (This will be set by gtk+ later)
1934 2008-01-04 Alexander Larsson <alexl@redhat.com>
1937 * gmemoryinputstream.[ch]:
1938 Improve API so that you can use multiple chunks
1939 of memory and custom destroy functions. (#506374)
1941 2008-01-03 Alexander Larsson <alexl@redhat.com>
1944 Handle NULL attribute matchers safely, as we return this
1945 for empty attribute matcher strings.
1947 2008-01-03 Alexander Larsson <alexl@redhat.com>
1949 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1950 Add /usr/local to list of internal mountpoints
1952 2008-01-03 Alexander Larsson <alexl@redhat.com>
1955 Check for HAVE_LCHOWN (#505887)
1957 2008-01-03 Alexander Larsson <alexl@redhat.com>
1961 Add define for selinux context attribute.
1962 Fix missing : -> :: namespace separator change
1963 Fix missing _ -> - name change for xattr-sys.
1966 2008-01-03 Alexander Larsson <alexl@redhat.com>
1969 Link to libglib and libgobject directly (#504879)
1970 Patch from Sebastien Bacher
1972 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1974 * gfile.c: Expanded the g_file_new_for_commandline_arg
1975 description a bit, based on the code and the docs of the
1976 other g_file_new_for_* functions.
1978 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1980 * gfilemonitor.h: Fixed typo in docs.
1982 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1984 Updates to GIO documentation. (#506395, Mikael Hermansson)
1986 * gcontenttype.c: Describe memory management for return value of
1987 g_content_types_get_registered(). Missing piece from #505815.
1988 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1989 GVolume, GDrive, GMounts, which hopefully gives the user less
1990 confusions when using this API. Following explainations from
1991 Alexander Larsson on gtk-devel-list.
1993 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1995 * gfileinfo.c: Expand the long description.
1997 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2000 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2001 fix builds with --disable-visibility. (#500273, Christian Persch)
2003 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2005 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2006 in the list of returned app infos.
2008 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2010 * gappinfo.c: Fix a cross-reference
2012 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2014 * gfileinputstream.c:
2015 * gfileoutputstream.c:
2019 * gdesktopappinfo.c:
2021 * gfileinfo.c: Documentation updates.
2023 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2025 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2028 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2030 * gcontenttype.c (g_content_types_get_registered): Don't return
2031 freed memory (#505815, Mikael Hermansson)
2033 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2035 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2036 used to detect statbuf->st_blocks. (#505042)
2038 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2040 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2041 environment handling. (#504829, Cosimo Cecchi)
2043 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2045 * gappinfo.c: Doc improvements
2047 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2050 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2052 * === Released 2.15.0 ===
2054 2007-12-20 Hans Breuer <hans@breuer.org>
2056 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2057 with symbols gwin32appinfo.obj, added gmount.obj
2058 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2060 2007-12-20 Alexander Larsson <alexl@redhat.com>
2066 * gfilenamecompleter.c:
2069 * gpollfilemonitor.c:
2070 File attribute renames:
2072 fs:: -> filesystem::
2073 id::fs -> id::filesystem
2075 2007-12-20 Alexander Larsson <alexl@redhat.com>
2084 Add GMountUnmountFlags to all unmount and
2086 Add g_mount_remount() call.
2088 2007-12-20 Alexander Larsson <alexl@redhat.com>
2090 * gvfs.c (get_default_vfs):
2091 Fix unused variable warning
2093 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2095 * pltcheck.sh: Update
2097 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2099 * gunionvolumemonitor.c:
2100 * gunixmount.c: Remove C99 comments
2102 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2104 * gio.symbols: Add some missing symbols
2106 2007-12-19 Alexander Larsson <alexl@redhat.com>
2109 Make g_io_modules_load_all_in_directory not unuse
2110 loaded modules so that users of it can do stuff
2112 Init internal "module" types.
2113 Initialize static prio and name for types so that
2114 we don't have to load modules to get it.
2116 * gnativevolumemonitor.h:
2118 Move is_supported to parent class so that
2119 non-native monitors can avoid being initialized
2120 too. (For instance GDaemonVolumeMonitor if we're
2121 not using GDaemonVfs.)
2123 * glocaldirectorymonitor.[ch]:
2124 * glocalfilemonitor.[ch]:
2125 * gunionvolumemonitor.c:
2126 * gunixvolumemonitor.c:
2128 Find plugins using the static prio+name to
2129 avoid unnecessarily loading the modules.
2131 2007-12-19 Alexander Larsson <alexl@redhat.com>
2136 2007-12-19 Alexander Larsson <alexl@redhat.com>
2138 * gunionvolumemonitor.c:
2139 Store the native type as GType, not class so that
2140 we can unload it. But still avoid unnecessarily
2143 2007-12-19 David Zeuthen <davidz@redhat.com>
2145 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2146 add signals 'disconnected' and 'eject-button' on GDrive. Add
2147 signal 'removed' on GVolume and 'unmounted' on GMount.
2149 * gdrive.c: (g_drive_base_init):
2151 * gfile.c: (g_file_mount_mountable),
2152 (g_file_mount_enclosing_volume):
2155 * gmount.c: (g_mount_base_init):
2157 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2158 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2159 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2163 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2165 * *.c: Fix up includes in the section docs.
2167 2007-12-17 Alexander Larsson <alexl@redhat.com>
2169 * gnativevolumemonitor.h:
2170 * gunionvolumemonitor.c:
2171 * gunixvolumemonitor.c:
2172 Add is_supported() to GNativeVolumeMonitorClass so
2173 that we can avoid having to create an object to see
2174 if the backend is supported at runtime.
2175 Also add name member and an env var to pick a specific
2176 volume monitor backend.
2180 Add cancellable to _g_mount_get_for_mount_path()
2182 * glocaldirectorymonitor.c:
2183 * glocalfilemonitor.c:
2184 Avoid loading and unloading modules while sorting.
2186 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2189 * gunixmounts.[hc]: Namespace waste reduction, move some
2190 g_get_unix_mount functions to the g_unix_mount namespace.
2193 * gunixvolumemonitor.c:
2195 * glocaldirectorymonitor.c: Update all callers.
2197 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2199 2007-12-17 Alexander Larsson <alexl@redhat.com>
2202 Add doc comments about what GFile operations are
2203 guaranteed to not block.
2205 2007-12-17 Alexander Larsson <alexl@redhat.com>
2208 Add missing #ifdef fixing OSX build.
2209 (#503334, patch from Richard Hult)
2211 2007-12-14 David Zeuthen <davidz@redhat.com>
2215 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2216 (g_mount_eject), (g_mount_eject_finish):
2218 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2219 (get_volume_for_uuid), (get_mount_for_uuid),
2220 (g_union_volume_monitor_class_init),
2221 (get_default_native_type_with_exclude), (get_default_native_type),
2222 (get_native_type), (update_native_type),
2223 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2224 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2225 (g_unix_mount_can_eject), (eject_unmount_cb),
2226 (eject_unmount_read_error), (eject_unmount_do),
2227 (g_unix_mount_unmount), (g_unix_mount_eject),
2228 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2229 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2230 (g_unix_mount_point_guess_can_eject):
2232 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2233 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2234 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2235 (g_unix_volume_mount), (g_unix_volume_eject),
2236 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2237 * gunixvolumemonitor.c: (get_volume_for_uuid),
2238 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2240 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2241 (g_volume_eject), (g_volume_eject_finish):
2243 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2244 (g_volume_monitor_get_mount_for_uuid):
2247 Provide eject() on both GMount and GVolume and utility functions
2248 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2249 ejected. Introduce the concept of UUID's and wire it into GVolume
2250 and GMount and provide API on GVolumeMonitor to find such
2251 instances. Also handle the case where an external
2252 GNativeVolumeMonitor fails to initialize. Lock around the
2253 _g_get_mount_for_mount_path() function such that volume monitor
2254 implementations won't have to do locking themselves.
2256 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2258 * gdesktopappinfo.c:
2264 * gvolume.h: Documentation updates
2266 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2269 * gfile.h: Doc updates
2271 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2274 * gdesktopappinfo.c: Use hash table iterators.
2276 2007-12-14 Alexander Larsson <alexl@redhat.com>
2279 * gfileattribute.[ch]:
2280 * gfileattribute-priv.h:
2281 Move GFileAttributeValue to a private header, as
2285 Make set_attribute take a type + a pointer instead
2286 of a GFileAttributeValue.
2289 Fix up for above changes.
2290 Add g_file_info_get_attribute_data to get
2291 all info in one call, g_file_info_get_attribute_status
2292 to get the status and g_file_info_get_attribute_as_string.
2296 * glocalfileinfo.[ch]:
2300 Make _guess_type static.
2302 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2305 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2306 made mkenums and friends use temporary files to avoid leaving
2307 empty generated files on failure (#503470).
2309 2007-12-14 Alexander Larsson <alexl@redhat.com>
2311 * gmountoperation.h:
2314 2007-12-14 Alexander Larsson <alexl@redhat.com>
2318 * gfileattribute.[ch]:
2321 * glocalfileoutputstream.c:
2322 * gmountoperation.[ch]:
2323 * goutputstream.[ch]:
2324 Clean up all flags enums to not have _FLAGS in them
2325 Make the names of some of the enums better.
2330 2007-12-14 Michael Natterer <mitch@imendio.com>
2332 * gio.symbols: fix g_io_scheduler symbol names.
2334 2007-12-14 Alexander Larsson <alexl@redhat.com>
2340 * gbufferedinputstream.h:
2341 * gbufferedoutputstream.h:
2344 * gdatainputstream.h:
2345 * gdataoutputstream.h:
2346 * gdesktopappinfo.h:
2347 * gdirectorymonitor.h:
2351 * gfileenumerator.h:
2354 * gfileinputstream.h:
2356 * gfilenamecompleter.h:
2357 * gfileoutputstream.h:
2358 * gfilterinputstream.h:
2359 * gfilteroutputstream.h:
2367 * gmemoryinputstream.h:
2368 * gmemoryoutputstream.h:
2370 * gmountoperation.h:
2373 * gsimpleasyncresult.h:
2375 * gunixinputstream.h:
2377 * gunixoutputstream.h:
2381 * inotify/Makefile.am:
2382 Only allow including <gio/gio.h> from apps
2384 2007-12-14 Alexander Larsson <alexl@redhat.com>
2386 * gioscheduler.[ch]:
2387 * gsimpleasyncresult.c:
2388 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2389 Split out the send_to_mainloop call into two versions instead
2390 of having the block argument.
2392 2007-12-13 Alexander Larsson <alexl@redhat.com>
2394 * gcancellable.[ch]:
2396 * gbufferedinputstream.c:
2397 * gfileenumerator.c:
2398 * gfileinputstream.c:
2399 * gfileoutputstream.c:
2403 g_push/pop_current_cancellable ->
2404 g_cancellable_push/pop_current
2406 2007-12-13 Alexander Larsson <alexl@redhat.com>
2410 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2412 2007-12-13 Alexander Larsson <alexl@redhat.com>
2414 * gmountoperation.h:
2415 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2417 2007-12-12 Alexander Larsson <alexl@redhat.com>
2420 Fix race condition when freeing proxy in
2421 g_io_job_send_to_mainloop().
2423 2007-12-12 Alexander Larsson <alexl@redhat.com>
2429 Make attribute namespace separator "::" instead of ":".
2430 Use - instead of _ as separator in attribute names.
2432 2007-12-12 Alexander Larsson <alexl@redhat.com>
2434 * gbufferedinputstream.h:
2435 * gbufferedoutputstream.h:
2436 * gdatainputstream.h:
2437 * gdataoutputstream.h:
2438 * gdirectorymonitor.h:
2439 * gfileenumerator.h:
2440 * gfileinputstream.h:
2442 * gfileoutputstream.h:
2443 * gfilterinputstream.h:
2444 * gfilteroutputstream.h:
2446 * glocalfileinputstream.h:
2447 * glocalfileoutputstream.h:
2448 * gmemoryinputstream.h:
2449 * gmemoryoutputstream.h:
2450 * gnativevolumemonitor.h:
2452 * gunixinputstream.h:
2453 * gunixoutputstream.h:
2456 s/parent/parent_instance/ in GObjects
2458 2007-12-12 Alexander Larsson <alexl@redhat.com>
2463 No need for padding for interfaces
2465 2007-12-12 Alexander Larsson <alexl@redhat.com>
2469 * gbufferedinputstream.c:
2470 * gbufferedoutputstream.c:
2473 * gdatainputstream.[ch]:
2474 * gdesktopappinfo.c:
2475 * gdirectorymonitor.c:
2477 * gfileattribute.[ch]:
2480 * gfileinputstream.h:
2481 * gfilemonitor.[ch]:
2482 * gfileoutputstream.[ch]:
2483 * gfilterinputstream.h:
2484 * gfilteroutputstream.h:
2487 * gloadableicon.[ch]:
2488 * gmemoryinputstream.c:
2489 * gmountoperation.c:
2491 Fix up a bunch of details in the docs.
2496 2007-12-11 David Zeuthen <davidz@redhat.com>
2498 Rework how volumes, drives and volume monitoring is
2499 done. Previosly the model was
2501 GDrive <1-1> GVolume
2503 where a GDrive instance represented a mount point and a GVolume
2504 instance represented a mounted file system. This patch changes it
2507 GDrive <1-N> GVolume <1-1> GMount
2509 where GMount now serves the purpose of the old GVolume and the new
2510 GVolume serves the purpose of the old GDrive. In addition the new
2511 GDrive interface is used to represent a collection of GVolume
2512 instances (typically partitions) and also contains utility to query
2513 the state of the physical drive the GDrive object represents (such
2514 as checking for media, polling the drive, ejecting the media etc.).
2516 Also implement mounting and unmounting in the Unix volume monitor
2517 backend. A subquent patch will introduce GDrive support for ejection
2521 * gdrive.c: (g_drive_is_media_check_automatic),
2522 (g_drive_is_media_removable), (g_drive_has_media),
2523 (g_drive_can_poll_for_media), (g_drive_eject),
2524 (g_drive_eject_finish), (g_drive_poll_for_media),
2525 (g_drive_poll_for_media_finish):
2527 * gfile.c: (g_file_find_enclosing_mount):
2530 * glocaldirectorymonitor.c:
2531 (g_local_directory_monitor_constructor), (mounts_changed):
2532 * glocalfile.c: (get_mount_info),
2533 (g_local_file_find_enclosing_mount),
2534 (g_local_file_file_iface_init):
2535 * gnativevolumemonitor.h:
2536 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2537 (get_connected_drives), (g_union_volume_monitor_class_init),
2538 (child_volume_added), (child_volume_removed),
2539 (child_volume_changed), (child_mount_added), (child_mount_removed),
2540 (child_mount_pre_unmount), (child_mount_changed),
2541 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2542 (g_union_volume_monitor_remove_monitor),
2543 (_g_mount_get_for_mount_path):
2544 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2545 (guess_system_internal), (_g_get_unix_mounts),
2546 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2547 (g_unix_mount_free), (g_unix_mount_compare),
2548 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2549 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2550 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2551 (type_to_icon), (g_unix_mount_guess_name),
2552 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2553 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2554 (_resolve_symlink), (_resolve_dev_root):
2556 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2557 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2558 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2559 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2560 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2561 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2562 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2563 (g_unix_volume_volume_iface_init):
2565 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2566 (get_mounts), (get_volumes), (get_connected_drives),
2567 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2568 (mountpoints_changed), (mounts_changed),
2569 (g_unix_volume_monitor_init),
2570 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2571 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2572 * gunixvolumemonitor.h:
2573 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2574 (g_volume_mount), (g_volume_mount_finish):
2576 * gvolumemonitor.c: (g_volume_monitor_class_init),
2577 (g_volume_monitor_get_connected_drives),
2578 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2581 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2583 * gmountoperation.h (GPasswordFlags): Close the gap
2585 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2587 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2589 * gdesktopappinfo.[hc]: Remove _-prefixes
2591 2007-12-10 Tor Lillqvist <tml@novell.com>
2593 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2596 2007-12-10 Alexander Larsson <alexl@redhat.com>
2598 * gfile.c (g_file_set_display_name):
2599 Don't hardcode '/' (#502727)
2601 2007-12-09 Hans Breuer <hans@breuer.org>
2603 * makefile.msc : follow lib naming convention
2604 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2605 for user and group name, tested with ../tests/gio-ls
2607 2007-12-09 A. Walton <awalton@svn.gnome.org>
2609 * gdesktopappinfo.c:
2615 * gfileenumerator.c:
2620 * gmemoryinputstream.c:
2621 * gmemoryoutputstream.c:
2623 * gsimpleasyncresult.c:
2624 More documentation cleanup and filling in missing information, bringing
2625 GIO to 99% symbol coverage.
2627 2007-12-08 Hans Breuer <hans@breuer.org>
2629 [gio compiles and links on win32, not sure how much already works]
2630 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2631 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2632 base on win32 API; prefer g_lstat() over lstat(); instead of
2633 localtime_r() use an all GLib implementation on win32;
2634 get_mount_info() still needs a win32 specifc implementation
2635 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2636 win32_get_file_user_info to get owner/group info without uid/gid
2637 * glocalfileinputstream.c : include <io.h> on win32
2638 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2639 definition, use g_win32_ftruncate() for G_OS_WIN32
2640 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2641 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2642 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2643 * makefile.msc : updated
2645 2007-12-07 Alexander Larsson <alexl@redhat.com>
2647 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2648 Avoid warning spew if error == NULL
2650 2007-12-07 Alexander Larsson <alexl@redhat.com>
2653 Update docs wrt etags
2655 2007-12-06 Alexander Larsson <alexl@redhat.com>
2658 Include sys/types.h for dev_t (#501919)
2660 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2664 Make abicheck and pltcheck pass.
2666 2007-12-05 Alexander Larsson <alexl@redhat.com>
2669 * giomodule-priv.h: Added.
2670 * glocaldirectorymonitor.c:
2671 * glocalfilemonitor.c:
2672 * gunionvolumemonitor.c:
2674 Actually add the declaration of _g_io_modules_ensure_loaded
2676 2007-12-05 Alexander Larsson <alexl@redhat.com>
2678 * gdatainputstream.c:
2683 * glocaldirectorymonitor.c:
2684 * glocalfilemonitor.c:
2685 * gunionvolumemonitor.c:
2687 Make g_io_modules_ensure_loaded a private function and
2688 don't pass in the dirname. This means we can do magic
2689 directory finding in the win32 version.
2690 Export the actual load-modules-in-directory code so that
2691 gvfs can reuse that.
2693 2007-12-05 Alexander Larsson <alexl@redhat.com>
2695 * gbufferedinputstream.c:
2696 * gbufferedoutputstream.c:
2699 * gfileenumerator.[ch]:
2700 * gfileinputstream.c:
2701 * gfileoutputstream.[ch]:
2702 * gfilterinputstream.c:
2703 * gfilteroutputstream.c:
2704 * ginputstream.[ch]:
2706 * glocalfileenumerator.c:
2707 * glocalfileinputstream.c:
2708 * glocalfileoutputstream.c:
2709 * gmemoryinputstream.c:
2710 * gmemoryoutputstream.c:
2711 * goutputstream.[ch]:
2714 * gunixinputstream.c:
2715 * gunixoutputstream.c:
2716 Rename all struct members named:
2717 read, write, close, truncate, or mount
2718 to foo_fn, as these are reserved names
2719 and could be defined as macros in libc.
2722 2007-12-04 Alexander Larsson <alexl@redhat.com>
2725 (g_output_stream_close):
2726 Only call flush if non-null.
2728 2007-11-30 Dan Winship <danw@gnome.org>
2730 * ginputstream.c (g_input_stream_set_pending): Make this take a
2731 GError and return a gboolean, and do the "outstanding operation"
2732 check (and the "stream is already closed" check) itself.
2733 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2735 * goutputstream.c (g_output_stream_set_pending)
2736 (g_output_stream_clear_pending): Likewise
2738 * gbufferedinputstream.c:
2739 * gfileinputstream.c:
2740 * gfileoutputstream.c: Update for that
2742 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2743 Like g_simple_async_report_error_in_idle, but takes a GError
2744 rather than building one.
2746 2007-11-30 Dan Winship <danw@gnome.org>
2748 * goutputstream.c: Don't cheat and unset the "pending" flag around
2749 inner calls. Instead, call the class method directly rather than
2750 the wrapper function that checks "pending"
2752 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2754 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2756 2007-12-03 Hans Breuer <hans@breuer.org>
2758 [start of port to win32/msvc]
2759 * gcancellable.c : HAVE_UNIST_H and _pipe()
2760 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2761 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2762 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2764 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2765 * glocalvfs.c : use HAVE_PWD_H
2766 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2767 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2768 * Makefile.am : added to EXTRA_DIST
2770 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2772 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2775 2007-12-03 Alexander Larsson <alexl@redhat.com>
2778 Handle OSX style xattrs API (#500506)
2780 2007-12-03 Alexander Larsson <alexl@redhat.com>
2784 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2786 2007-12-02 A. Walton <awalton@svn.gnome.org>
2790 Documentation accuracy fixes.
2792 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2794 * gioenumtypes.c.template: Fix typo.
2796 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2798 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2800 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2802 * gdirectorymonitor.c:
2803 * gfilemonitor.c: Add properties
2805 * gbufferedoutputstream.c: Don't mark buffer-size property
2808 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2810 * gbufferedoutputstream.c: Add auto-grow property.
2812 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2814 * *.c: Unify the capitalization of section headings.
2816 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2818 * gmountoperation.c: Add properties
2820 * gdatainputstream.c: Turn byte-order and newline-type into
2823 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2825 * gioenumtypes.[hc].template: Templates for enum registration
2827 * Makefile.am: Generate gioenumtypes.[hc]
2829 * gio.h: Include gioenumtypes.h
2831 * gfile.h: Add some explicit nicks.
2833 * gio.symbols: Add new symbols
2835 * pltcheck.sh: Adjust
2837 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2839 * *.c: Explain etags and link to the explanation
2841 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2843 * *.c: Explain I/O priority.
2845 * *.c: More coding style fixes.
2847 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2849 * gasyncresult.c: Add another paragraph to the intro,
2850 adjust coding style of example.
2852 2007-11-29 A. Walton <awalton@svn.gnome.org>
2855 Fixes unknown meaning in GAppLaunchContext docs.
2857 Clarify asynchronous ops.
2859 Fix entity tag docs.
2862 Provides missing gtk-doc section, fixes API docs slighly.
2863 * gsimpleasyncresult.c:
2864 Fill in missing info in docs.
2865 * gunixinputstream.c:
2866 * gunixoutputstream.c:
2867 Be more expressive in short description.
2869 Remove gtk-doc stubs for non-public API.
2871 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2873 * *.c: Coding style fixups
2875 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2877 * inotify/inotify-helper.c: Don't export the lock from libgio.
2879 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2882 * abicheck.sh: Fix copy-and-paste leftovers
2884 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2886 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2888 2007-11-28 Alexander Larsson <alexl@redhat.com>
2892 Removed unnecessary file
2894 * gdesktopappinfo.[ch]:
2897 * glocaldirectorymonitor.[ch]:
2899 * glocalfileenumerator.[ch]:
2900 * glocalfileinputstream.[ch]:
2901 * glocalfilemonitor.[ch]:
2902 * glocalfileoutputstream.[ch]:
2904 * gnativevolumemonitor.c:
2905 * gpollfilemonitor.[ch]:
2906 * gunionvolumemonitor.[ch]:
2909 * gunixvolumemonitor.[ch]:
2912 * inotify/ginotifydirectorymonitor.[ch]:
2913 * inotify/ginotifyfilemonitor.[ch]:
2914 * inotify/inotify-helper.c:
2915 Append _ to all internal functions
2919 Export symbols needed for modules
2921 2007-11-28 Alexander Larsson <alexl@redhat.com>
2924 * abicheck.sh: Added.
2925 * makegioalias.pl: Added.
2926 * pltcheck.sh: Added.
2927 * gio.symbols: Added.
2930 Initial work on adding symbol handling.
2933 Correct ifdef guard name
2936 * inotify/Makefile.am:
2937 * xdgmime/Makefile.am:
2938 Include toplevel Makefile.decl
2940 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2942 * gcontenttype.c: Move doc comments to the unix section.
2944 * *.[hc]: More trivial doc corrections.
2946 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2948 * gpollfilemonitor.c:
2952 * gdesktopappinfo.c:
2957 * gdatainputstream.c:
2958 * gdatainputstream.h:
2959 * gdataoutputstream.c:
2960 * gdataoutputstream.h:
2961 * gfileinfo.h: Doc cleanups
2963 2007-11-28 Andre Klapper <a9016009@gmx.de>
2965 * gdesktopappinfo.c: Fix a typo.
2967 2007-11-27 Andre Klapper <a9016009@gmx.de>
2969 * glocalfileoutputstream.c: Fix a typo.
2971 2007-11-27 Alexander Larsson <alexl@redhat.com>
2974 Don't include removed headers
2976 2007-11-27 Alexander Larsson <alexl@redhat.com>
2979 * gsocketinputstream.[ch]: Removed.
2980 * gsocketoutputstream.[ch]: Removed.
2981 * gunixinputstream.[ch]: Added.
2982 * gunixoutputstream.[ch]: Added.
2983 Renamed GSocket*Stream to GUnix*Stream and made
2984 it unix-only, since its not really only for sockets
2985 and it only works on unix (but is highly useful there).
2987 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2993 * gbufferedinputstream.c:
2994 * gbufferedinputstream.h:
2995 * gbufferedoutputstream.c:
2996 * gbufferedoutputstream.h:
3000 * gdatainputstream.c:
3001 * gdatainputstream.h:
3002 * gdataoutputstream.c:
3003 * gdataoutputstream.h:
3004 * gdirectorymonitor.c:
3005 * gdirectorymonitor.h:
3012 * gfileenumerator.c:
3013 * gfileenumerator.h:
3018 * gfileinputstream.c:
3019 * gfileinputstream.h:
3022 * gfilenamecompleter.c:
3023 * gfilenamecompleter.h:
3024 * gfileoutputstream.c:
3025 * gfileoutputstream.h:
3026 * gfilterinputstream.c:
3027 * gfilterinputstream.h:
3028 * gfilteroutputstream.c:
3029 * gfilteroutputstream.h:
3042 * glocalfileoutputstream.c:
3043 * gmemoryinputstream.c:
3044 * gmemoryinputstream.h:
3045 * gmemoryoutputstream.c:
3046 * gmemoryoutputstream.h:
3047 * gmountoperation.c:
3048 * gmountoperation.h:
3051 * gpollfilemonitor.c:
3054 * gsimpleasyncresult.c:
3055 * gsimpleasyncresult.h:
3056 * gsocketinputstream.c:
3057 * gsocketinputstream.h:
3058 * gsocketoutputstream.c:
3059 * gsocketoutputstream.h:
3066 * gunixvolumemonitor.c:
3075 Bumps documentation to 93% symbol coverage, touching most
3076 of the public files. Fixes broken function documentation prototypes.
3077 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3078 gtk-doc headers in private files.
3080 2007-11-27 Jürg Billeter <j@bitron.ch>
3082 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3083 (g_buffered_input_stream_read_byte):
3084 * gbufferedinputstream.h:
3085 New functions for efficient access to buffer and simple single byte
3088 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3089 (g_data_input_stream_read_until):
3090 * gdatainputstream.h:
3091 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3092 read_until with multiple stop chars.
3094 2007-11-27 Alexander Larsson <alexl@redhat.com>
3098 * inotify/Makefile.am:
3099 Use the user-specified giomoduledir
3101 2007-11-27 Alexander Larsson <alexl@redhat.com>
3105 Add catch-all gio.h header
3106 Don't install gdummyfile.h
3108 2007-11-26 Alexander Larsson <alexl@redhat.com>
3110 * Makefile.am (gioinclude_HEADERS):
3111 Remove trailing whitespace
3113 2007-11-26 Alexander Larsson <alexl@redhat.com>
3115 Merge gio-standalone into glib
3117 2007-11-25 Christian Kellner <gicmo@gnome.org>
3119 * gio/goutputstream.c:
3120 Fix small mistake in the docs.
3122 2007-11-21 Christian Persch <chpe@gnome.org>
3124 * gio/glocalfile.c: (g_local_file_trash):
3125 Convert filenames to UTF-8 for GError.
3126 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3127 as per xdg base dir spec.
3129 2007-11-21 Christian Persch <chpe@gnome.org>
3131 * gio/gdesktopappinfo.c:
3132 Use that g_key_file_to_data cannot fail.
3134 Use stock defines for the key file group and key names.
3137 2007-11-21 Alexander Larsson <alexl@redhat.com>
3140 (copy_stream_with_progress):
3141 Make sure we do a final progress callback with
3142 the full total size.
3144 2007-11-21 Alexander Larsson <alexl@redhat.com>
3147 Export g_file_copy_attributes
3148 Remove padding as its not needed for interfaces
3150 2007-11-20 Alexander Larsson <alexl@redhat.com>
3155 Add G_IO_ERROR_WOULD_MERGE for
3156 copy/move dir on dir with overwrite.
3158 2007-11-20 Alexander Larsson <alexl@redhat.com>
3161 * gio/glocalfileinfo.c:
3162 Add COPY_NAME (this is an optional
3163 non-modified utf8 version of the name) that
3166 2007-11-20 Alexander Larsson <alexl@redhat.com>
3168 * gio/glocalfileenumerator.c:
3169 Report errors as GIOError, not GFileError
3171 2007-11-16 Alexander Larsson <alexl@redhat.com>
3173 * gio/glocalfileoutputstream.c:
3174 * gio/gwin32appinfo.c:
3175 Fix typos in strings.
3176 Patch from Luca Ferretti <elle.uca@libero.it>
3178 2007-11-15 Alexander Larsson <alexl@redhat.com>
3181 Post release version bump
3183 === gio-standalone 0.1.2 ===
3185 2007-11-15 Alexander Larsson <alexl@redhat.com>
3187 * docs/reference/gio/Makefile.am:
3188 Fix up distcheck by removing weird
3194 2007-11-14 Alexander Larsson <alexl@redhat.com>
3196 * gio/gdesktopappinfo.c:
3197 * gio/glocaldirectorymonitor.c:
3199 * gio/glocalfileinfo.c:
3200 * gio/inotify/inotify-sub.c:
3201 * programs/gio-cat.c:
3202 * programs/gio-copy.c:
3203 * programs/gio-info.c:
3204 * programs/gio-ls.c:
3205 * programs/gio-monitor-dir.c:
3206 * programs/gio-monitor-file.c:
3207 * programs/gio-mount.c:
3208 * programs/gio-move.c:
3209 * programs/gio-rm.c:
3210 * programs/gio-save.c:
3211 * programs/gio-trash.c:
3212 Leak fixes from Kjartan Maraas
3214 2007-11-14 Alexander Larsson <alexl@redhat.com>
3216 * gio/fam/fam-helper.c:
3218 * gio/glocalfileinfo.c:
3222 * gio/inotify/inotify-diag.c:
3223 * gio/inotify/inotify-kernel.c:
3224 Various code cleanups from Kjartan Maraas
3226 2007-11-14 Alexander Larsson <alexl@redhat.com>
3228 * gio/gioscheduler.c:
3230 Set up threadpool so that we cache 2 unused
3231 idle threads for at 15 secs. This means we
3232 will reuse thread-local data (like dbus connections)
3235 2007-11-14 Alexander Larsson <alexl@redhat.com>
3237 * gio/fam/fam-helper.c:
3238 * gio/fam/gfamdirectorymonitor.c:
3239 * gio/fam/gfamfilemonitor.c:
3241 * gio/gcontenttype.c:
3242 * gio/gdatainputstream.c:
3243 * gio/gdataoutputstream.c:
3247 * gio/gfileattribute.h:
3248 * gio/gfileenumerator.c:
3250 * gio/ginputstream.c:
3253 * gio/glocalfileinfo.c:
3254 * gio/goutputstream.c:
3255 * gio/gpollfilemonitor.c:
3256 * gio/gsimpleasyncresult.c:
3257 * gio/gunixmounts.c:
3258 * gio/gunixmounts.h:
3259 * gio/inotify/ginotifydirectorymonitor.c:
3260 * gio/inotify/ginotifyfilemonitor.c:
3261 * gio/inotify/inotify-diag.c:
3262 * gio/inotify/inotify-kernel.c:
3263 * gio/inotify/inotify-path.c:
3265 * gio/test-streams.c:
3266 * programs/gio-info.c:
3267 * programs/gio-monitor-dir.c:
3268 * programs/gio-monitor-file.c:
3269 Various code cleanups from Kjartan Maraas
3271 2007-11-13 Alexander Larsson <alexl@redhat.com>
3274 Handle the uri-scheme calls for dummy files
3276 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3278 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3279 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3280 to avoid clash with the C++ keyword.
3282 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3284 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3285 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3287 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3289 * gio/glocaldirectorymonitor.c:
3290 * gio/glocalfilemonitor.c:
3291 * gio/gunionvolumemonitor.c:
3292 Don't use g_once_init_*() for initializations that could fail and
3293 could leave the initialization variable set to 0 but use GOnce.
3294 This prevents a deadlock on the second call when trying to create
3295 a monitor and no monitor type is available. Thanks to Sven Herzberg
3298 2007-11-11 Sven Herzberg <sven@imendio.com>
3300 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3301 #ifdef (make it work on MacOS X again)
3303 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3305 Fixes Changelog for last two commits (sorry guys).
3307 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3309 * gio/gbufferedinputstream.c:
3310 * gio/gdatainputstream.c:
3312 * gio/gfileoutputstream.c:
3313 * gio/gfilterinputstream.c:
3314 * gio/glocalfileinputstream.c:
3317 More consistency fixes in g*stream.c files.
3318 Significant clean of gfile's documentation, filling in of
3319 asynchronous operations documentation.
3321 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3323 * gio/gasyncresult.c:
3324 * gio/gbufferedinputstream.c:
3325 * gio/gbufferedoutputstream.c:
3326 * gio/gcancellable.c:
3327 * gio/gcontenttype.c:
3328 * gio/gdatainputstream.c:
3329 * gio/gdataoutputstream.c:
3330 * gio/gdesktopappinfo.c:
3333 * gio/gfileattribute.c:
3334 * gio/gio/gfileenumerator.c:
3336 * gio/gfileinputstream.c:
3337 * gio/gfilemonitor.c:
3338 * gio/gfileoutputstream.c:
3339 * gio/ginputstream.c:
3341 * gio/gioscheduler.c:
3342 * gio/gloadableicon.c:
3343 * gio/glocalfileoutputstream.c:
3344 * gio/gmemoryoutputstream.c:
3345 * gio/gmountoperation.c:
3346 * gio/goutputstream.c:
3348 * gio/gsimpleasyncresult.c:
3349 * gio/gunionvolumemonitor.c:
3350 * gio/gunixmounts.c:
3351 * gio/gunixvolume.c:
3355 * gio/gvolumemonitor.c:
3356 Updated documentation stubs, working towards consistency and
3359 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3361 * gio/gmemoryoutputstream.c:
3362 * gio/gmemoryoutputstream.h:
3363 Change g_memory_output_stream_set_free_on_close() to
3364 g_memory_output_stream_set_free_data() as this makes more sense and
3365 is more consistent with GMemoryInputStream.
3367 2007-11-07 Alexander Larsson <alexl@redhat.com>
3374 Change how we find the default vfs so that
3375 we can handle a gvfs failing to init
3377 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3379 * gio/gbufferedoutputstream.c:
3380 * gio/gdatainputstream.c:
3381 * gio/gdataoutputstream.c:
3382 * gio/gfileinputstream.c:
3383 * gio/gfileoutputstream.c:
3384 * gio/gfilterinputstream.c:
3385 * gio/gfilteroutputstream.c:
3386 * gio/ginputstream.c:
3387 * gio/gmemoryinputstream.c:
3388 * gio/gmemoryoutputstream.c:
3389 * gio/goutputstream.c:
3390 * gio/gsimpleasyncresult.c:
3391 * gio/gsocketinputstream.c:
3392 * gio/gsocketoutputstream.c:
3393 Add guards to the remaining public functions, add a TODO for
3394 an unimplemented function and remove some useless guards.
3396 2007-11-07 Alexander Larsson <alexl@redhat.com>
3399 Autoconf checks for the various types of
3400 getpwuid_r and getgrgid_r
3402 * gio/glocalfileinfo.c:
3403 Use the autoconf checks from above
3405 2007-11-07 Alexander Larsson <alexl@redhat.com>
3408 (g_local_file_query_filesystem_info):
3409 Some fixes for the statvfs case
3411 2007-11-07 Alexander Larsson <alexl@redhat.com>
3414 (g_local_file_query_filesystem_info):
3415 Pick the "best" of statfs / statvfs for the system
3416 if both are availible.
3418 2007-11-07 Alexander Larsson <alexl@redhat.com>
3420 Solaris fixes from Halton.Huo@Sun.COM:
3427 * gio/glocalfileinfo.c:
3428 Fix for solaris definition of getpwuid_r
3430 * gio/test-streams.c:
3431 Use G_GNUC_PRETTY_FUNCTION
3433 2007-11-07 Alexander Larsson <alexl@redhat.com>
3435 * gio/gdesktopappinfo.c:
3436 (update_default_list):
3437 Remove double semicolon.
3438 Patch from Jens Granseuer
3440 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3442 * docs/reference/gio/gio-sections.txt:
3443 * gio/gbufferedinputstream.c:
3444 * gio/gbufferedinputstream.h:
3445 * gio/gdatainputstream.c:
3446 * gio/gfileenumerator.c:
3447 * gio/gioscheduler.c:
3448 * gio/gunionvolumemonitor.c:
3450 * programs/gio-save.c:
3451 Fix typo: availible -> available. Unfortuntely this breaks API
3452 and ABI as g_buffered_input_stream_get_available() was renamed.
3454 * gio/gunixmounts.c:
3455 * gio/gbufferedinputstream.c:
3456 Add guards for public functions.
3458 2007-11-06 Ross Burton <ross@openedhand.com>
3460 * docs/reference/gio/Makefile.am:
3461 Fix invalid += usage which automake 1.10 doesn't like.
3463 2007-11-06 Alexander Larsson <alexl@redhat.com>
3466 (g_app_launch_context_class_init):
3469 Patch from Ross Burton
3471 2007-11-06 Alexander Larsson <alexl@redhat.com>
3474 Post release version bump
3476 === gio-standalone 0.1.1 ===
3478 2007-11-06 Alexander Larsson <alexl@redhat.com>
3481 Bump version to 0.1.1
3483 * gio/gsimpleasyncresult.c:
3484 (g_simple_async_result_set_from_error):
3485 Remove bogus g_return_if_fail
3487 2007-11-06 Alexander Larsson <alexl@redhat.com>
3490 The name is gio-standalone
3493 Add top src/builddir to includedir
3495 2007-11-06 Alexander Larsson <alexl@redhat.com>
3497 * docs/reference/gio/gio-sections.txt:
3499 * gio/gbufferedinputstream.c:
3500 * gio/gbufferedoutputstream.c:
3501 * gio/gcancellable.c:
3502 * gio/gdatainputstream.h:
3503 * gio/gdataoutputstream.c:
3504 * gio/gdataoutputstream.h:
3505 * gio/gdirectorymonitor.c:
3507 * gio/gfileattribute.c:
3508 * gio/gfileattribute.h:
3509 * gio/gfileenumerator.c:
3510 * gio/gfileenumerator.h:
3513 * gio/gfileinputstream.h:
3514 * gio/gfilemonitor.c:
3515 * gio/gfileoutputstream.h:
3516 * gio/glocalfilemonitor.h:
3517 * gio/glocalfileoutputstream.h:
3518 * gio/gmemoryinputstream.c:
3519 * gio/gmemoryoutputstream.c:
3520 * gio/gmountoperation.c:
3521 * gio/goutputstream.c:
3522 * gio/goutputstream.h:
3524 * gio/gsimpleasyncresult.c:
3525 * gio/gunixmounts.c:
3526 * gio/gunixmounts.h:
3528 * gio/inotify/inotify-helper.c:
3529 Fix gtk-doc warnings
3531 Patch from Ross Burton
3533 2007-11-06 Alexander Larsson <alexl@redhat.com>
3535 * gio/gfilenamecompleter.c:
3536 (g_filename_completer_get_completions):
3539 * gio/gunixvolume.c:
3540 Remove unused function
3542 Patches from Ross Burton
3544 2007-11-06 Alexander Larsson <alexl@redhat.com>
3549 Padding not needed for interfaces
3551 2007-11-06 Alexander Larsson <alexl@redhat.com>
3553 * gio/gfilemonitor.c:
3557 Make giotypes.h an internal file
3560 * gio/gbufferedinputstream.h:
3561 * gio/gbufferedoutputstream.h:
3562 * gio/gcancellable.h:
3563 * gio/gdatainputstream.h:
3564 * gio/gdataoutputstream.h:
3565 * gio/gdirectorymonitor.c:
3566 * gio/gdirectorymonitor.h:
3571 * gio/gfileattribute.h:
3572 * gio/gfileenumerator.h:
3577 * gio/gfilemonitor.c:
3578 * gio/gfilemonitor.h:
3579 * gio/gfilenamecompleter.c:
3580 * gio/gfilenamecompleter.h:
3581 * gio/gfilterinputstream.h:
3582 * gio/gfilteroutputstream.h:
3583 * gio/ginputstream.h:
3584 * gio/gmemoryinputstream.h:
3585 * gio/gmemoryoutputstream.h:
3586 * gio/gmountoperation.c:
3587 * gio/gmountoperation.h:
3588 * gio/gnativevolumemonitor.c:
3589 * gio/goutputstream.h:
3592 * gio/gsimpleasyncresult.c:
3593 * gio/gsimpleasyncresult.h:
3594 * gio/gsocketinputstream.h:
3595 * gio/gsocketoutputstream.h:
3596 * gio/gthemedicon.c:
3597 * gio/gthemedicon.h:
3601 * gio/gvolumemonitor.c:
3602 * gio/gvolumemonitor.h:
3603 Add padding in classes where it seems useful
3604 Don't include giotypes.h from public headers
3605 Move in Class definitions into c file where possible
3610 2007-11-06 Alexander Larsson <alexl@redhat.com>
3612 * docs/reference/gio/gio-docs.xml:
3613 Better structure for API docs
3615 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3618 * gio/gloadableicon.c:
3619 * gio/gsimpleasyncresult.c:
3620 * gio/gthemedicon.c:
3621 Add some more guards to public functions. Only files missing are now
3624 2007-11-06 Alexander Larsson <alexl@redhat.com>
3626 * docs/reference/gio/gio-docs.xml:
3627 Remove old files, add missing ones
3629 2007-11-06 Alexander Larsson <alexl@redhat.com>
3631 * docs/reference/gio/gio-sections.txt:
3634 Hide implementation classes
3636 * gio/gdriveprivate.h:
3637 * gio/gvolumeprivate.h:
3638 Remove non-existing function declarations
3640 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3643 Fix compilation warnings and add guards to the new functions.
3645 * gio/gasyncresult.c:
3647 Add guards to the public functions.
3650 Implement get_path().
3652 2007-11-06 Alexander Larsson <alexl@redhat.com>
3654 * gio/gfilenamecompleter.c:
3655 Make g_filename_completer_get_completions
3656 return char ** instead of GList for
3659 * docs/reference/gio/gio-docs.xml:
3660 * docs/reference/gio/gio-sections.txt:
3662 * gio/gasyncresult.c:
3663 * gio/gbufferedinputstream.c:
3664 * gio/gbufferedoutputstream.c:
3665 * gio/gcancellable.c:
3666 * gio/gcontenttype.c:
3667 * gio/gdatainputstream.c:
3668 * gio/gdataoutputstream.c:
3669 * gio/gdesktopappinfo.c:
3670 * gio/gdirectorymonitor.c:
3674 * gio/gfileattribute.c:
3675 * gio/gfileenumerator.c:
3678 * gio/gfileinputstream.c:
3679 * gio/gfilemonitor.c:
3680 * gio/gfilenamecompleter.c:
3681 * gio/gfilenamecompleter.h:
3682 * gio/gfileoutputstream.c:
3683 * gio/gfilterinputstream.c:
3685 * gio/ginputstream.c:
3687 * gio/gioscheduler.c:
3688 * gio/gloadableicon.c:
3689 * gio/glocaldirectorymonitor.c:
3691 * gio/glocalfileinputstream.c:
3692 * gio/glocalfilemonitor.c:
3693 * gio/glocalfileoutputstream.c:
3695 * gio/gmemoryinputstream.c:
3696 * gio/gmemoryoutputstream.c:
3697 * gio/gmountoperation.c:
3698 * gio/goutputstream.c:
3699 * gio/gpollfilemonitor.c:
3701 * gio/gsimpleasyncresult.c:
3702 * gio/gsocketinputstream.c:
3703 * gio/gsocketoutputstream.c:
3704 * gio/gthemedicon.c:
3705 * gio/gunionvolumemonitor.c:
3707 * gio/gunixmounts.c:
3708 * gio/gunixvolume.c:
3709 * gio/gunixvolumemonitor.c:
3713 * gio/gvolumemonitor.c:
3714 * gio/gwin32appinfo.c:
3715 Add (mostly stub) doc strings to public functions.
3716 Patch from Andrew Walton (awalton@gmail.com)
3718 2007-11-06 Alexander Larsson <alexl@redhat.com>
3720 * gio/gappinfo.[ch]:
3721 Added GAppLaunchContext object and pass that to launch.
3722 This allows simple implementation of both
3723 launch-on-screen and startup notification via a gtk+
3724 subclass of GAppLaunchContext
3726 * gio/gdesktopappinfo.c:
3727 Implement GAppLaunchContext API
3729 * gio/gwin32appinfo.c:
3732 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3734 * gio/gmountoperation.c:
3735 Add some guards to GMountOperation's public functions.
3737 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gio/gcancellable.c:
3742 * gio/gdirectorymonitor.c:
3744 * gio/gfileenumerator.c:
3745 * gio/gfilemonitor.c:,
3746 * gio/gfilenamecompleter.c:
3749 * gio/gioscheduler.c:
3753 * gio/gvolumemonitor.c:
3754 Add even more guards to various public functions.
3756 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3759 Add guards to the public functions of GAppInfo.
3761 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3763 * gio/gcontenttype.c:
3764 Add some more guards for public functions.
3766 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3768 * gio/fam/fam-module.c:
3769 * gio/fam/gfamdirectorymonitor.c:
3770 * gio/fam/gfamdirectorymonitor.h:
3771 * gio/fam/gfamfilemonitor.c:
3772 * gio/fam/gfamfilemonitor.h:
3773 * gio/inotify/ginotifydirectorymonitor.c:
3774 * gio/inotify/ginotifydirectorymonitor.h:
3775 * gio/inotify/ginotifyfilemonitor.c:
3776 * gio/inotify/ginotifyfilemonitor.h:
3777 Add proper copyright information and remove an unused variable
3778 in the GInotifyFileMonitor constructor.
3780 * gio/gcancellable.c:
3781 Add a guard for a public function and an assertion to prevent
3782 an undefined program state.
3784 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3786 * gio/gfileattribute.c:
3787 Don't run into an assertion if the given attribute value is NULL
3788 in g_file_attribute_value_get_*() but instead return a fallback
3789 value that makes sense in most situations. Passing them a attribute
3790 value with the wrong type will still run into an assertion.
3792 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3794 * gio/gfileattribute.c:
3796 Add even more guards to the public functions. Also fix the refcounting
3797 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3798 let g_file_info_list_attributes() filter the attributes by namespace
3799 instead of simply ignoring the namespace parameter.
3801 2007-11-03 Sven Herzberg <sven@imendio.com>
3803 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3804 (This makes gio work on MacOS X again)
3806 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3809 Build the gio subdirectory before the docs. Otherwise the build will
3812 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3813 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3814 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3815 Add guards to the public functions.
3817 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3819 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3820 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3821 to prevent a compiler warning.
3823 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3824 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3825 return something in the non-void function find_topdir_for().
3827 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3834 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3836 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3837 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3838 * gwin32appinfo.c (g_win32_app_info_launch):
3839 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3840 envp_for_startup_id, g_desktop_app_info_launch,
3841 g_desktop_app_info_launch_uris):
3843 Give an opaque 'startup_id' string instead of 'envp'.
3844 Support empty file lists for launching new windows.
3845 Fix infinite recursion bug when launching URIs.
3847 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3850 Add guard to the new g_file_get_uri_scheme() function.
3852 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3855 Convert a g_return_val_if_fail() to setting the GError instead as
3856 otherwise applications have to verify the parameter before otherwise
3857 and the parameter might come directly from the user.
3859 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3861 * gio/inotify/ginotify*.[ch]:
3862 Add missing copyright information.
3864 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3867 Add guards in the beginning of public functions to check for valid
3868 parameters and fix a bug in copy_stream_with_progress() that could've
3869 caused writing less bytes than reading.
3870 * gio/glocalfileinfo.c:
3871 Check for a NULL parameter and set the GError accordingly then.
3872 * gio/goutputstream.c:
3873 Fix the same bug as in gfile.c that could've caused writing less bytes
3874 than reading in g_output_stream_real_splice().
3876 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3879 Use the correct gvolumeprivate.h naming
3881 2007-11-01 Christian Kellner <gicmo@gnome.org>
3884 Remove leftover "$(daemon_sources)" entry.
3886 2007-11-01 Christian Kellner <gicmo@gnome.org>
3891 Add copyright information to source files.
3893 2007-11-01 Alexander Larsson <alexl@redhat.com>
3897 Add g_file_get_uri_scheme
3899 2007-11-01 Alexander Larsson <alexl@redhat.com>
3902 * gio/gdesktopappinfo.c:
3903 * gio/gwin32appinfo.c:
3904 Add g_app_info_get_default_for_uri_scheme.
3906 2007-11-01 Alexander Larsson <alexl@redhat.com>
3909 Correct filename for gdriveprivate.h
3911 2007-10-31 Alexander Larsson <alexl@redhat.com>
3914 Rename id:value to id:file
3917 * gio/glocalfileinfo.c:
3920 2007-10-31 Alexander Larsson <alexl@redhat.com>
3922 * gio/gunixvolume.c:
3924 Remove g_volume_get_platform_id, as thats not
3925 needed with the simpler union volume monitor
3927 2007-10-31 Alexander Larsson <alexl@redhat.com>
3930 * gio/guniondrive.[ch]: Removed.
3931 * gio/gunionvolume.[ch]: Removed.
3932 Remove GUnionDrive/Volume
3934 * gio/gunionvolumemonitor.c:
3935 Simplify union volume monitor, now we
3936 only have one native volume monitor and
3937 we use the actual volumes/drives from the
3938 child monitors instead of wrapping them
3940 * gio/gnativevolumemonitor.[ch]:
3941 Base class for native volume monitors.
3942 Includes priority and get_volume_for_mountpoint
3945 Add g_file_find_enclosing_volume
3948 Remove volume name fs attribute
3949 Add readonly fs attribute
3952 Implement readonly attribute
3953 remove volume name attribute
3954 Implement find_enclosing volume
3956 * gio/gunixmounts.c:
3957 Add a volume for "/".
3959 * gio/gunixvolume.[ch]:
3960 Set better name for /
3962 * gio/gunixvolumemonitor.[ch]:
3963 Derive from GNativeVolumeMonitor
3964 Implement get_volume_for_mountpoint
3967 GVolume typedef moved to gfile.h
3969 * gio/gvolumeprivate.h:
3970 Add g_volume_get_for_mount_path
3972 2007-10-31 Alexander Larsson <alexl@redhat.com>
3974 * gio/gunixmounts.[ch]:
3975 Add cache info to unix mount listers
3976 Make getmntent use threadsafe
3977 Add is_system_internal attribute for GUnixMount
3979 * gio/gunixvolume.c:
3980 (g_unix_volume_new):
3981 Use is_system_internal instead of own code
3983 * gio/glocaldirectorymonitor.c:
3984 * gio/gunixvolumemonitor.c:
3985 Update to new gunixmounts API
3990 2007-10-30 Alexander Larsson <alexl@redhat.com>
3993 Add volume name fsinfo attribute
3996 Read volume name info
3998 * gio/gunionvolumemonitor.c:
3999 Fix infinite loops when finalizing a union volume monitor
4001 2007-10-30 Alexander Larsson <alexl@redhat.com>
4003 * gio/goutputstream.[ch]:
4004 Add splice() with default implementation
4006 * gio/gsocketoutputstream.c:
4007 (g_socket_output_stream_write):
4008 Return error on cancellation correctly.
4010 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4012 * gio/glocalfile.c (g_local_file_trash):
4013 Do not leak a string.
4015 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4017 * gio/gfile.c (g_file_load_contents):
4018 Unref the stream after closing it.
4020 2007-10-25 Alexander Larsson <alexl@redhat.com>
4022 * gio/gioscheduler.h:
4025 2007-10-25 Alexander Larsson <alexl@redhat.com>
4029 Add g_file_has_uri_scheme and implement for local files
4031 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4033 * gio/gdesktopappinfo.c: do not leak a string.
4035 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4037 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4038 (g_local_directory_monitor_new):
4039 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4040 (g_local_file_monitor_new):
4041 Only look for the monitor type that should be used the first time
4042 and use g_qsort_with_data() instead of our own bubble sort
4045 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gio/fam/Makefile.am:
4049 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4050 * gio/fam/fam-helper.h:
4051 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4052 * gio/fam/gfamdirectorymonitor.c:
4053 * gio/fam/gfamdirectorymonitor.h:
4054 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4055 * gio/fam/gfamfilemonitor.h:
4056 * gio/glocaldirectorymonitor.c:
4057 * gio/glocaldirectorymonitor.h:
4058 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4059 * gio/glocalfilemonitor.h:
4060 * gio/inotify/Makefile.am:
4061 * gio/inotify/ginotifydirectorymonitor.c:
4062 * gio/inotify/ginotifydirectorymonitor.h:
4063 * gio/inotify/ginotifyfilemonitor.c:
4064 * gio/inotify/ginotifyfilemonitor.h:
4065 Implement the FAM and Inotify monitors as
4066 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4067 their own GIO module. GLocal(Directory|File)Monitor will use the
4068 monitor with the highest rank that is supported on that machine.
4070 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4073 Change GIO module dir to $(libdir)/gio/modules and change
4074 the log domain from GVFS to GIO. Also only export symbols starting
4075 with g_ in the resulting library.
4076 * gio/test-streams.c: (main):
4077 Set log handler for the GIO log domain.
4079 2007-10-22 Alexander Larsson <alexl@redhat.com>
4081 * gio/gfilenamecompleter.[ch]:
4082 Add g_filename_completer_set_dirs_only
4084 2007-10-22 Alexander Larsson <alexl@redhat.com>
4087 * gio/gurifuncs.[ch]:
4088 Add some simple URI helpers
4090 * gio/gfilenamecompleter.[ch]:
4091 Added object for filename (parse name actually) completion
4094 Handle ~ in parse names
4096 2007-10-17 Alexander Larsson <alexl@redhat.com>
4099 * gio/glocalfileinfo.c:
4100 Add and implement id:value attribute
4102 2007-10-17 Alexander Larsson <alexl@redhat.com>
4105 * gio/guniondrive.c:
4107 Add and implement g_drive_has_volumes
4109 2007-10-17 Alexander Larsson <alexl@redhat.com>
4112 * gio/glocalfileinfo.[ch]:
4113 Add unix:is_mountpoint and implement for local files
4115 2007-10-16 Alexander Larsson <alexl@redhat.com>
4117 * gio/gunionvolumemonitor.c:
4118 (g_union_volume_monitor_init):
4119 Fix up the unix type getting so that it works with gcc
4121 2007-10-12 Alexander Larsson <alexl@redhat.com>
4124 * gio/glocalfileinfo.c:
4125 Add thumbnail:failed to file info
4127 2007-10-12 Richard Hult <richard@imendio.com>
4129 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4130 optimizing away the get_type call (happens with some gcc versions,
4131 like the one shipped with OS X 10.4).
4133 2007-10-12 Alexander Larsson <alexl@redhat.com>
4135 * gio/glocalfileinfo.c:
4136 (_g_local_file_info_set_attribute):
4137 Fix build if not HAVE_XATTR
4138 Patch from Milosz Derezynski <internalerror@gmail.com>
4140 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4142 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4143 around for review, otherwise I would have asked you before
4146 2007-10-11 Alexander Larsson <alexl@redhat.com>
4149 Add thumbnail:path attribute
4151 * gio/glocalfileinfo.c:
4152 Implement thumbnail:path for local files
4154 2007-10-11 Alexander Larsson <alexl@redhat.com>
4156 * gio/glocalfileinfo.c:
4157 (_g_local_file_info_get):
4158 Avoid duplicate icon names
4160 2007-10-11 Alexander Larsson <alexl@redhat.com>
4162 * gio/gthemedicon.[ch]:
4163 Change g_themed_icon_get_names return type to const
4165 2007-10-10 Alexander Larsson <alexl@redhat.com>
4167 * gio/glocalfileinfo.c:
4168 Don't reference freed memory
4170 2007-10-10 Alexander Larsson <alexl@redhat.com>
4172 * gio/gfileattribute.c:
4175 * gio/glocalfileinfo.c:
4178 2007-10-10 Alexander Larsson <alexl@redhat.com>
4181 Check for NULL icons
4183 * gio/gfileattribute.c:
4184 Don't dup when getting objects (same as for string attributes)
4186 * gio/gicon.c (g_icon_equal):
4187 Safely handle NULLs in equal
4189 2007-10-10 Alexander Larsson <alexl@redhat.com>
4192 Fix c++ compilation issues
4193 Patch from Milosz Derezynski <internalerror@gmail.com>
4195 2007-10-10 Alexander Larsson <alexl@redhat.com>
4197 * programs/gio-monitor-dir.c:
4198 Don't crash if dir monitor not supported.
4200 2007-10-09 Alexander Larsson <alexl@redhat.com>
4203 Add missing G_END_DECLS
4205 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4207 * gio/gfile.c: (g_file_set_display_name),
4208 (g_file_query_settable_attributes),
4209 (g_file_query_writable_namespaces):
4210 Return NULL not FALSE on errors as the return type is a pointer.
4212 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4214 * gio/glocalfile.c: (g_local_file_monitor_file):
4215 Don't call monitor_file on the default interface vtable (which
4216 is NULL) but simply return NULL. The caller, GFile, will create a
4217 polling monitor if NULL is returned.
4219 2007-10-09 Alexander Larsson <alexl@redhat.com>
4223 * gio-unix-2.0.pc.in:
4224 Add gio-unix-2.0.pc if OS_UNIX
4227 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4229 2007-10-09 Alexander Larsson <alexl@redhat.com>
4231 * gio/gunixmounts.[ch]:
4232 Make unix mount monitoring API sane.
4233 Now its just a object with mounts_changed
4234 and mountpoints_changed signals.
4236 * gio/glocaldirectorymonitor.c:
4237 * gio/gunixvolumemonitor.c:
4238 Use new mount monitor api
4240 2007-10-09 Alexander Larsson <alexl@redhat.com>
4242 * gio/gunixmounts.[ch]:
4243 Move guess type into one call for mounts and one for mountpoints
4246 * gio/gunixvolume.c:
4249 2007-10-09 Alexander Larsson <alexl@redhat.com>
4251 * gio/gunixmounts.[ch]:
4252 Remove _ prefix in preparation to make this semi-public
4253 Hide implementation of structs
4255 * gio/glocaldirectorymonitor.c:
4257 * gio/gunixvolume.c:
4258 * gio/gunixvolumemonitor.c:
4259 Update for above API changes
4261 2007-10-08 Alexander Larsson <alexl@redhat.com>
4264 Better polling fallback. This also handles the case where we have
4265 a monitor_file implementation, but it fails.
4267 2007-10-08 Alexander Larsson <alexl@redhat.com>
4271 * gio/gunixmounts.c:
4272 * programs/gio-monitor-dir.c:
4273 * programs/gio-monitor-file.c:
4274 Added cancellable to file monitoring calls.
4275 These are really sync calls and need this.
4277 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4279 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4280 (g_local_vfs_class_init):
4281 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4282 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4284 2007-10-05 Alexander Larsson <alexl@redhat.com>
4286 * gio/gdirectorymonitorprivate.h:
4287 * gio/gfilemonitorprivate.h:
4288 * gio/gdirectorymonitor.h:
4289 * gio/gfilemonitor.h:
4290 Remove *private.h and move to the public API, so that
4291 we can do implementations outside gio (such as in gvfs)
4293 * gio/gdirectorymonitor.c:
4294 * gio/gfilemonitor.c:
4295 * gio/glocaldirectorymonitor.c:
4296 * gio/gpollfilemonitor.c:
4297 * gio/inotify/inotify-helper.c:
4298 * gio/fam/fam-helper.c:
4299 Update to the new header names
4301 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4303 * gio/gdirectorymonitor.c:
4304 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4307 2007-10-04 Alexander Larsson <alexl@redhat.com>
4309 * gio/glocalfileinfo.c (get_access_rights):
4310 Set CAN_TRASH when we can move the file.
4311 We should really also check for a parent trash dir.
4313 2007-10-04 Alexander Larsson <alexl@redhat.com>
4315 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4316 Add can_trash access attribute
4318 2007-10-04 Alexander Larsson <alexl@redhat.com>
4321 (g_local_file_trash):
4322 Create info file first. This is per-spec and allows
4323 us to actually trash directories.
4325 2007-10-02 Alexander Larsson <alexl@redhat.com>
4327 * gio/gdesktopappinfo.c:
4328 Implement the new mime support code.
4329 Always set app as handling mimetype when being set as default for it
4331 2007-10-01 Alexander Larsson <alexl@redhat.com>
4333 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4334 Fix up check for xattrs:
4336 2007-10-01 Alexander Larsson <alexl@redhat.com>
4339 (g_app_info_set_as_default_for_extension):
4340 (g_app_info_add_supports_type):
4341 (g_app_info_can_remove_supports_type):
4342 (g_app_info_remove_supports_type):
4343 Make these fail nicely if not implemented
4345 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4347 * gio/glocalfileoutputstream.c:
4348 * gio/glocalfileoutputstream.h:
4353 * programs/gio-save.c:
4354 Add a GFileCreateFlags argument to operations that can create
4357 2007-10-01 Alexander Larsson <alexl@redhat.com>
4359 * gio/gappinfo.[ch]:
4360 * gio/gdesktopappinfo.c:
4361 Add more (stubbed out) mime API needed for nautilus
4363 2007-10-01 Alexander Larsson <alexl@redhat.com>
4366 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4367 Add g_app_info_set_as_default_for_extension.
4369 * gio/gdesktopappinfo.c:
4370 Dummy for g_app_info_set_as_default_for_extension
4371 Support flags in g_app_info_create_from_commandline
4373 * gio/gwin32appinfo.c:
4375 Update for API changes
4377 * gio/gthemedicon.c:
4378 Properly NULL-terminate list of icon names
4380 2007-09-28 Alexander Larsson <alexl@redhat.com>
4382 * gio/gloadableicon.h:
4383 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4385 2007-09-28 Alexander Larsson <alexl@redhat.com>
4388 Install headers in $includedir/gio-standalone/
4390 * gio-2.0.pc.in: Added.
4391 * gio-standalone.pc.in: Removed.
4394 Renamed pkg-config file to match glib (for future move)
4395 Update to the new include dir
4398 Add more TODO comments
4400 2007-09-28 Alexander Larsson <alexl@redhat.com>
4402 * gio/gdesktopappinfo.[ch]:
4403 Expose new_from_filename
4404 Add getter for is_hidden and handle it better
4406 2007-09-28 Alexander Larsson <alexl@redhat.com>
4408 * gio/gfileinfo.[ch]:
4409 Rename g_file_size_format_for_display to
4410 g_format_file_size_for_display.
4411 Now it doesn't have the g_file prefix, so we
4412 can later move it to glib.
4414 2007-09-28 Alexander Larsson <alexl@redhat.com>
4416 * gio/gappinfo.[ch]:
4417 Add g_app_info_get_id and g_app_info_get_executable.
4418 Make all getters non-reffing
4419 Make g_app_info_launch take GFile arguments.
4420 Add must_support_uris argument to g_app_info_get_default_for_type.
4422 * gio/gwin32appinfo.c:
4423 Update to GAppInfo api changes
4425 * gio/gdesktopappinfo.c:
4426 Update to GAppInfo api changes
4427 Implement supports_xdg_startup_notify
4429 * gio/gfileicon.c (g_file_icon_get_file):
4430 Make getter non-reffing.
4435 2007-09-27 Alexander Larsson <alexl@redhat.com>
4437 * gio/gfileinfo.[ch]:
4438 Add g_file_size_format_for_display helper
4440 2007-09-27 Alexander Larsson <alexl@redhat.com>
4442 * gio/glocalfileinfo.c:
4443 Set UNIX_GID from gid, not from uid
4445 2007-09-27 Alexander Larsson <alexl@redhat.com>
4448 Add g_file_set_attributes_async
4450 2007-09-27 Alexander Larsson <alexl@redhat.com>
4452 * gio/glocalfile.c (g_local_file_set_display_name):
4453 Fix set_display_name to actually rename to the right place.
4454 Use lstat to look for existing files so we don't overwrite
4457 2007-09-26 Alexander Larsson <alexl@redhat.com>
4460 Add g_file_set_display_name_async()
4462 2007-09-26 Alexander Larsson <alexl@redhat.com>
4465 Add load_partial_contents async calls
4468 Make internal function static
4470 2007-09-26 Alexander Larsson <alexl@redhat.com>
4472 * gio/glocalfileinfo.c:
4473 Correctly detect broken symlinks
4475 2007-09-26 Alexander Larsson <alexl@redhat.com>
4477 * gio/gcancellable.c (g_cancellable_cancel):
4478 Allow cancel on NULL cancellable
4480 2007-09-25 Alexander Larsson <alexl@redhat.com>
4482 * gio/gsimpleasyncresult.c:
4483 Don't allocate g_error manually.
4484 Fixes g_slice/g_new mixup crash
4486 2007-09-25 Alexander Larsson <alexl@redhat.com>
4488 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4489 Actually set active_backend.
4490 This means the monitor will be cancelled correctly.
4492 2007-09-25 Alexander Larsson <alexl@redhat.com>
4494 * gio/gdirectorymonitor.c:
4495 Set timeout to NULL when destroying
4497 2007-09-25 Alexander Larsson <alexl@redhat.com>
4500 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4501 that is a better description of the error.
4503 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4505 * gio/gvfs.c: (g_vfs_get_local):
4506 Make the local vfs variable static. The same instance should
4509 2007-09-24 Alexander Larsson <alexl@redhat.com>
4511 * gio/glocalfileinfo.c:
4512 Pass in actual length read into sniffer, not the length
4515 2007-09-21 Alexander Larsson <alexl@redhat.com>
4517 * gio/gfileenumerator.c:
4520 * gio/gfileinputstream.c:
4521 * gio/gfileoutputstream.c:
4522 * gio/ginputstream.c:
4523 * gio/goutputstream.c:
4524 Don't crash if async callbacks are NULL
4526 2007-09-20 Alexander Larsson <alexl@redhat.com>
4529 Add async enumerate_children method and default
4532 2007-09-20 Alexander Larsson <alexl@redhat.com>
4535 Add g_file_contains_file & g_file_get_relative_path, since they
4536 were needed for nautilus.
4537 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4542 Implement new methods
4544 2007-09-17 Alexander Larsson <alexl@redhat.com>
4547 * gio/gfileinputstream.[ch]:
4548 * gio/gfileoutputstream.[ch]:
4550 * gio/glocalfileenumerator.[ch]:
4551 * gio/glocalfileinfo.[ch]:
4552 * gio/glocalfileinputstream.c:
4553 * gio/glocalfileoutputstream.c:
4554 * gio/gpollfilemonitor.c:
4555 * programs/gio-copy.c:
4556 * programs/gio-info.c:
4557 * programs/gio-move.c:
4558 Rename get_file_info to query_info() to make it clearer
4559 that these are not simple getters, but do i/o.
4561 2007-09-17 Alexander Larsson <alexl@redhat.com>
4563 * gio/gdatainputstream.[ch]:
4564 * gio/test-streams.c:
4565 Use _read_XXX instead of _get_XXX for the i/o calls
4568 2007-09-17 Alexander Larsson <alexl@redhat.com>
4571 Added needed stuff to TODO comment
4573 2007-09-17 Alexander Larsson <alexl@redhat.com>
4575 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4576 Don't error out removing the backup copy if it doesn't
4579 2007-09-14 Alexander Larsson <alexl@redhat.com>
4581 * programs/Makefile.am:
4582 * programs/gvfs-*.c:
4584 Renamed apps from gvfs-xxx to gio-xxx.
4586 2007-09-14 Alexander Larsson <alexl@redhat.com>
4589 * gio/gfileoutputstream.[ch]:
4590 * gio/glocalfileoutputstream.c:
4591 * programs/gvfs-save.c:
4592 g_file_output_stream_get_etag doesn't do i/o, so remove
4593 cancellation and error.
4595 2007-09-14 Alexander Larsson <alexl@redhat.com>
4598 Add new_etag output to replace_contents functions
4600 2007-09-14 Alexander Larsson <alexl@redhat.com>
4602 * gio/gfileoutputstream.[ch]:
4603 Add async get_file_info and default implementation
4605 2007-09-14 Alexander Larsson <alexl@redhat.com>
4607 * gio/gfileinputstream.c:
4608 Implement fallback wrapper for async get_file_info
4610 2007-09-14 Alexander Larsson <alexl@redhat.com>
4613 Add etag out argument to load_contents
4618 2007-09-14 Alexander Larsson <alexl@redhat.com>
4620 * gio/gcontenttype.c (looks_like_text):
4621 Whitespace like tab, cr and lf do not make the
4624 2007-09-14 Alexander Larsson <alexl@redhat.com>
4626 * gio/gfileinputstream.[ch]:
4627 Add async get_file_info.
4629 2007-09-13 Alexander Larsson <alexl@redhat.com>
4631 * gio/goutputstream.c (g_output_stream_write_all):
4632 Allow NULL for bytes_written
4634 2007-09-13 Alexander Larsson <alexl@redhat.com>
4636 * gio/gmemoryinputstream.[ch]:
4637 Add accessors for data
4639 2007-09-13 Alexander Larsson <alexl@redhat.com>
4641 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4642 Don't crash if length is NULL