1 2008-07-18 Matthias Clasen <mclasen@redhat.com>
3 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
6 * fen/fen-kernel.c: Remove a warning that was causing
7 crashes. Reported by Lin Ma.
9 2008-07-18 Matthias Clasen <mclasen@redhat.com>
11 Bug 543040 – async reading on dummy file will crash on
14 * gfile.c (open_read_async_thread): Cope with read_fn being
15 NULL. Reported by Lin Ma.
17 2008-07-18 Matthias Clasen <mclasen@redhat.com>
20 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
22 2008-07-16 Matthias Clasen <mclasen@redhat.com>
26 * giomodule.c: Rename a chapter id to avoid filename conflict.
28 2008-07-16 Matthias Clasen <mclasen@redhat.com>
30 Bug 540616 – mem leak in filechooser button
32 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
33 the mount entry. Reported by Chrisitan Persch
35 2008-07-16 Matthias Clasen <mclasen@redhat.com>
37 * gfile.c: Small documentation fixes.
39 2008-07-15 Matthias Clasen <mclasen@redhat.com>
41 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
43 2008-07-08 Matthias Clasen <mclasen@redhat.com>
48 * gmount.c: Documentation improvements.
50 2008-07-08 Matthias Clasen <mclasen@redhat.com>
53 * gmount.[hc]: Add g_mount_guess_content_type().
55 2008-07-06 David Zeuthen <davidz@redhat.com>
58 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
59 is needed for easily handling adoption of foreign volumes by
60 out-of-process volume monitors (#541793)
62 2008-07-06 David Zeuthen <davidz@redhat.com>
64 * gvolumemonitor.[ch]:
65 * gunionvolumemonitor.c: Export the eject-button signal on the
66 volume monitor class (#541794).
68 2008-07-06 Matthias Clasen <mclasen@redhat.com>
70 * gappinfo.c: More doc tweaks
72 2008-07-05 Matthias Clasen <mclasen@redhat.com>
74 * gappinfo.c: Clarify some docs
76 2008-07-03 Matthias Clasen <mclasen@redhat.com>
78 * gdesktopappinfo.c: Fix a stupid mistake.
80 2008-07-02 Matthias Clasen <mclasen@redhat.com>
82 * === Released 2.17.3 ===
84 2008-07-02 Matthias Clasen <mclasen@redhat.com>
86 * gfilemonitor.c: Fix the build.
88 2008-07-02 Matthias Clasen <mclasen@redhat.com>
90 Bug 536160 – Add g_file_monitor()
93 * gfile.[hc]: Add g_file_monitor which can return either
94 a file or a directory monitor. Proposed by Behdad Esfahbod
96 2008-07-02 Matthias Clasen <mclasen@redhat.com>
98 536733 – gio build failure on Irix
100 * glocalfile.c: Use a configure check for structfs.f_bavail.
102 2008-07-02 Matthias Clasen <mclasen@redhat.com>
104 Bug 534639 – add g_desktop_app_info_new_from_keyfile
107 * gdesktopappinfo.[hc]: Add a function to create a
108 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
110 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
112 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
114 2008-07-01 Matthias Clasen <mclasen@redhat.com>
116 * gunixmounts.c: Fix a doc typo.
118 2008-07-01 Cody Russell <bratsche@gnome.org>
120 * gio/gcontenttype.c:
121 * gio/gwin32appinfo.c:
122 * gio/gwin32volumemonitor.c:
123 * gio/gwin32mount.c: Fixed some include problems.
125 2008-07-01 Cody Russell <bratsche@gnome.org>
129 Moved all relevant typedefs into these files.
132 Updated wrt added files.
134 Split types into separate file for easier maintainership. (#538564)
136 2008-06-30 Matthias Clasen <mclasen@redhat.com>
138 Bug 540331 – g_file_append_to () documentation: can return NULL
140 * gfile.c (g_file_append_to): Clarify docs.
143 2008-06-30 Matthias Clasen <mclasen@redhat.com>
145 Bug 539090 – g_content_type_from_mime_type() should unalias
147 * gcontentype.c (g_content_type_from_mime_type): Unalias.
148 Patch by Markus Bergman
150 2008-06-30 Matthias Clasen <mclasen@redhat.com>
152 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
155 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
156 on ppc and alpha. Reported by Mart Raudsepp
158 2008-06-29 Matthias Clasen <mclasen@redhat.com>
161 * tests/memory-output-stream.c: Add some tests for
164 2008-06-29 Matthias Clasen <mclasen@redhat.com>
166 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
169 * gmemoryoutputstream.c (array_resize): Handle truncation to
170 zero correctly. Reported by Akira Tagoh
172 2008-06-29 Matthias Clasen <mclasen@redhat.com>
174 * gmemoryoutputstream.c: Trivial doc fixes
176 2008-06-29 Matthias Clasen <mclasen@redhat.com>
178 Bug 540802 – g_list_prepend doesn't concat lists
180 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
181 one list to another. Pointed out by Jan Arne Petersen
183 2008-06-28 Michael Natterer <mitch@imendio.com>
185 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
187 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
189 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
190 to avoid problems with partial icon themes.
192 2008-06-17 Hans Breuer <hans@breuer.org>
194 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
195 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
196 access again on win32, see bug #538127
197 * giomodule.c : ensure GWin32VolumeMonitor is registered
198 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
199 * Makefile.am makefile.msc : updated
201 2008-06-16 Hans Breuer <hans@breuer.org>
203 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
204 and initialization in one step avoids c99ism
206 2008-06-16 Christian Persch <chpe@gnome.org>
209 * gio/gbufferedinputstream.c
211 * gio/gdatainputstream.c
212 * gio/gdesktopappinfo.c
214 * gio/gfileenumerator.c
215 * gio/gfileinputstream.c
216 * gio/gfileoutputstream.c
218 * gio/glocaldirectorymonitor.c
220 * gio/glocalfileenumerator.c
221 * gio/glocalfileinfo.c
222 * gio/glocalfilemonitor.c
223 * gio/glocalfileoutputstream.c
224 * gio/gmemoryinputstream.c
225 * gio/gmemoryoutputstream.c
226 * gio/goutputstream.c
227 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
230 2008-06-16 Tor Lillqvist <tml@novell.com>
232 Bug 538362 - Get Win32 icons back in the file chooser
234 * gcontenttype.c (g_content_type_get_icon): Look up the icon
235 corresponding to a file extension in the Registry. Patch by Hans
237 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
239 2008-06-16 Tor Lillqvist <tml@novell.com>
241 Patches by Hans Breuer:
243 * glocalfile.c (is_xp_or_later): Handle compiling against older
244 SDK headers with missing VerifyVersionInfo(). Conditioned on
245 _MSC_VER, but should probably use some better test.
246 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
247 uninitialised statfs_result variable on Win32.
249 2008-06-16 Michael Natterer <mitch@imendio.com>
251 * *.c: chain up unconditionally in finalize() and dispose(). Also
252 don't dereference these function pointers when calling them since
253 that has no meaning at all.
255 2008-06-16 Ross Burton <ross@burtonini.com>
258 Remove check for dispose implementation as it annoys Emmanuele.
260 2008-06-16 Ross Burton <ross@burtonini.com>
262 Bug 536252 – GFileEnumerator should allow access to the containing
268 Add g_file_enumerator_get_container() and a container writeable
269 construct-only property. Also shuffle around typedefs to make it
272 * glocalfileenumerator.c:
273 * glocalfileenumerator.h:
275 Instead of a string filename take a GFile in the constructor and
276 use it to set the container property.
281 2008-06-16 Matthias Clasen <mclasen@redhat.com>
283 * gfile.c: Make includes more uniform
285 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
287 * tests/live-g-file.c (sample_struct):
288 Use less fancy unicode filenames, so the test doesn't fail
289 on Mac OS X (#531476).
291 2008-06-12 Matthias Clasen <mclasen@redhat.com>
293 * === Released 2.17.2 ===
295 2008-06-12 Matthias Clasen <mclasen@redhat.com>
297 * === Released 2.17.1 ===
299 2008-06-11 A. Walton <awalton@gnome.org>
301 * tests/g-file.c (test_g_file_new_null):
302 Fix broken test case.
304 2008-06-11 Matthias Clasen <mclasen@redhat.com>
306 * pltcheck.sh: We use g_clear_error now.
308 2008-06-11 Matthias Clasen <mclasen@redhat.com>
310 * glocalfile.c (g_local_file_enumerate_children): Revert
311 an unintended change.
313 2008-06-11 Matthias Clasen <mclasen@redhat.com>
315 * gfile.c (g_file_replace_contents): Don't unref before the last use.
317 2008-06-10 Matthias Clasen <mclasen@redhat.com>
319 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
322 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
323 as icon for the desktop directory, also make user-home and
324 user-desktop the preferred icons.
326 2008-06-10 Matthias Clasen <mclasen@redhat.com>
329 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
330 to add a name to the front of the list.
332 2008-06-10 Matthias Clasen <mclasen@redhat.com>
334 Bug 537392 – Additional colon in xattr name
336 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
337 too. Reported by Alessandro Morandi
339 2008-06-10 Matthias Clasen <mclasen@redhat.com>
341 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
344 * glocalfile.c (get_fs_type): Add afs and autofs.
345 Patch by Danny Baumann.
347 2008-06-10 Matthias Clasen <mclasen@redhat.com>
349 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
351 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
352 is no parent. (Owen Taylor, patch by Christian Neumair)
354 2008-06-10 Paolo Borelli <pborelli@katamail.com>
356 * gfile.c (g_file_replace_contents): do not leak the output stream.
358 2008-06-10 Michael Natterer <mitch@imendio.com>
360 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
361 uninitialized memory as array index.
363 2008-06-10 Tor Lillqvist <tml@novell.com>
365 * gcontenttype.c (g_content_type_can_be_executable)
366 (g_content_type_get_icon) [Win32]: Add TODO comments.
368 2008-06-09 Matthias Clasen <mclasen@redhat.com>
370 * xdgmime/Makefile.am: Fix the build
372 2008-06-09 Matthias Clasen <mclasen@redhat.com>
374 * gcontenttype.c (g_content_type_get_icon): Use icons specified
375 in the shared mime database, if available.
377 * xdgmime/*: Sync with upstream. This brings support for
378 glob weights, generic icons, and changes the cache format to
381 2008-05-28 Michael Natterer <mitch@imendio.com>
383 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
384 the global CPPFLAGS now.
386 * tests/data-input-stream.c
387 * tests/data-output-stream.c
388 * tests/g-file-info.c
390 * tests/live-g-file.c
391 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
393 2008-05-27 Matthias Clasen <mclasen@redhat.com>
395 * === Released 2.17.0 ===
397 * tests/live-g-file.c: Clean up after the tests, so make distcheck
398 doesn't complain about leftover files.
400 2008-05-27 simon.zheng <simon.zheng@sun.com>
402 * glocalfile.c: (g_local_file_query_filesystem_info):
403 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
405 2008-05-26 Michael Natterer <mitch@imendio.com>
407 * gmemoryoutputstream.h: declare
408 g_memory_output_stream_get_data_size().
410 2008-05-26 Matthias Clasen <mclasen@redhat.com>
412 * tests/*: Make tests work
414 2008-05-26 Matthias Clasen <mclasen@redhat.com>
416 * gio.symbols: Add g_memory_output_stream_get_data_size.
418 2008-05-25 Ross Burton <ross@burtonini.com>
421 Fix typo in error message (#534764).
423 2008-05-25 Ross Burton <ross@burtonini.com>
426 Fix circular dependency loop for gioenumtypes.h (#534759).
428 2008-05-19 Hans Breuer <hans@breuer.org>
430 * Makefile.am : EXTRA_DIST += makefile.msc
432 2008-05-17 Matthias Clasen <mclasen@redhat.com>
435 * gcontenttype.c: (g_content_type_from_mime_type):
436 New function to create a content type from a mime type. (#527175,
439 2008-05-17 Matthias Clasen <mclasen@redhat.com>
441 Bug 532965 – Should not return filesystem::free for certain file systems
443 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
444 free space for ncpfs.
446 2008-05-17 Matthias Clasen <mclasen@redhat.com>
448 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
450 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
451 st_dev might be zero.
453 2008-05-16 Tor Lillqvist <tml@novell.com>
455 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
456 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
458 2008-05-13 Bastien Nocera <hadess@hadess.net>
460 * gfile.c (has_valid_scheme): A URI scheme must start with a
461 letter, even if later more characters are allowed (#532852)
463 2008-05-05 Michael Natterer <mitch@imendio.com>
465 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
466 code from being checked in that breaks the build of applications
467 which use G_DISABLE_SINGLE_INCLUDES.
469 * makegioalias.pl: make the alias file include "glib.h" instead of
472 * gio.symbols: whitespace change to force regeneration of the
473 alias file after above script change.
475 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
477 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
479 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
481 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
483 2008-04-28 David Zeuthen <davidz@redhat.com>
485 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
486 displaying mounts in a subdirectory not accessible to the
489 2008-04-22 Michael Natterer <mitch@imendio.com>
491 * Makefile.am: fix library versioning (it was 0.0.0).
493 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
495 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
496 Default disable all loggings.
497 * fen/fen-kernel.c: (printevent), (port_add_kevent),
498 (port_fetch_event_cb): Fixed two macro nits.
500 2008-04-16 Matthias Clasen <mclasen@redhat.com>
502 * xdgmime/xdgmime.c: Rework the timestamp checking code
503 to protect against duplicate directories in XDG_DATA_DIRS.
504 Fixes fd.o bug 12513, reported by Joe Shaw.
506 2008-04-16 Matthias Clasen <mclasen@redhat.com>
508 Partically revert the last commit after realizing that
509 xdg_mime_media_type_equal doesn't have to init at all.
512 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
514 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
516 2008-04-16 Matthias Clasen <mclasen@redhat.com>
518 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
519 reported by Joe Shaw and Federico Mena Quintero.
521 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
522 (xdg_mime_media_type_equal): Turn into a wrapper around the
525 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
526 functions throughout.
528 2008-04-16 Michael Meeks <michael.meeks@novell.com>
530 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
531 tolerate an empty TryExec= line without failing; nautilus used
532 to create launchers with these in previous versions. Fixes #528433
534 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
536 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
537 after name. Fixes #527132.
539 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
541 * gfile.c: (g_file_replace):
544 2008-04-07 Matthias Clasen <mclasen@redhat.com>
546 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
548 * gfile.c (file_copy_fallback): Fix the argument order. Patch
549 by Christian Kellner.
551 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
553 * gunixmounts.c: (g_unix_mount_guess_should_display):
554 Don't list the user directory as a mount, fix potential issue
555 when other users have a similar naming and don't special case the
556 gvfs mounts there since that's not required (#525866)
558 2008-03-31 Alexander Larsson <alexl@redhat.com>
560 * glocalfile.c (get_parent):
563 2008-03-31 A. Walton <awalton@svn.gnome.org>
565 * gfile.c (g_file_query_file_type):
566 Always return a GFileType enum value (#520715).
568 2008-03-31 Alexander Larsson <alexl@redhat.com>
570 * glocalfileenumerator.c:
571 Read readdir() info in chunks (of 1000) and sort
572 the chunks by inode before stat:ing.
573 This is a 20% performance increase in testing
574 gvfs-ls on /usr/bin with cold cache.
576 2008-03-31 Alexander Larsson <alexl@redhat.com>
578 * gmemoryoutputstream.c:
579 Clarify docs for g_memory_output_stream_get_size.
580 Add g_memory_output_stream_get_data_size.
582 2008-03-30 Matthias Clasen <mclasen@redhat.com>
586 * gfile.h: Add g_file_query_file_type convenience function
587 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
589 2008-03-30 Matthias Clasen <mclasen@redhat.com>
592 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
594 2008-03-28 A. Walton <awalton@svn.gnome.org>
596 * giomodule.c (_g_io_modules_ensure_loaded):
597 Adds GIO_EXTRA_MODULES environment variable support, closing bug
600 2008-03-28 Alexander Larsson <alexl@redhat.com>
603 (copy_stream_with_progress):
606 2008-03-28 Alexander Larsson <alexl@redhat.com>
609 (copy_stream_with_progress):
610 (file_copy_fallback):
611 Fallback to g_file_query_info for source size
612 if g_file_input_stream_query_info fails. (#524579)
614 2008-03-28 Alexander Larsson <alexl@redhat.com>
616 * glocalfile.c (g_local_file_move):
617 Reuse old string instead of adding new one.
619 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
621 * fen/*.[hc]: still copyright issue. I hate copyright.
623 2008-03-27 Alexander Larsson <alexl@redhat.com>
625 * glocalfile.c (g_local_file_move):
626 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
627 file over directory. This is according to the docs and what the move via
628 copy+remove fallback does.
630 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
632 * fen/*.[hc]: Updated copyright.
634 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
636 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
638 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
640 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
641 not emit attribute changed events when optimizing changed events.
642 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
645 2008-03-19 Matthias Clasen <mclasen@redhat.com>
647 * gmountoperation.[hc]: Small documentation additions
649 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
651 * gunixmounts.c: (guess_mount_type):
652 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
654 2008-03-19 Alexander Larsson <alexl@redhat.com>
657 (copy_stream_with_progress):
658 Bump block side for copy to 64k to minimize
659 overhead for low latency links. (#523015)
661 2008-03-16 Tor Lillqvist <tml@novell.com>
663 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
664 depend on gio.def on Windows.
666 2008-03-12 David Zeuthen <davidz@redhat.com>
670 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
672 2008-03-14 Alexander Larsson <alexl@redhat.com>
676 Avoid redudant tests (#521851)
677 Patch from Josselin Mouette
679 2008-03-14 Alexander Larsson <alexl@redhat.com>
682 (g_file_monitor_is_cancelled):
683 Fix C89 issue (#521672)
684 Patch from Jens Granseuer
686 2008-03-14 Alexander Larsson <alexl@redhat.com>
688 * fam/fam-helper.[ch]:
690 Shut down fam (including removing fam GSource) when
691 module is unloaded (#521513)
692 Patch from Joe Marcus Clarke
694 2008-03-14 Alexander Larsson <alexl@redhat.com>
697 (_g_io_modules_ensure_loaded):
700 2008-03-14 Alexander Larsson <alexl@redhat.com>
703 (g_local_file_query_filesystem_info):
704 Use right define name for f_fstypename member check
706 2008-03-14 Alexander Larsson <alexl@redhat.com>
709 * fen/Makefile.am: Added.
710 * fen/fen-data.[ch]: Added.
711 * fen/fen-dump.[ch]: Added.
712 * fen/fen-helper.[ch]: Added.
713 * fen/fen-kernel.[ch]: Added.
714 * fen/fen-missing.[ch]: Added.
715 * fen/fen-node.[ch]: Added.
716 * fen/fen-sub.[ch]: Added.
717 * fen/gfendirectorymonitor.[ch]: Added.
718 * fen/gfenfilemonitor.[ch]: Added.
720 Added Solaris FEN file notification backend.
721 Patch from Lin Ma <Lin.Ma@Sun.COM>
723 2008-03-13 Tor Lillqvist <tml@novell.com>
725 * Makefile.am: Actually use the gio.def file when linking the
726 library on Windows. Produce .lib library for Microsoft's toolchain
727 when possible. Install the .lib and .def file like for the other
730 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
732 * tests/live-g-file.c:
733 Include live-g-file in standard set of tests, making a temporary
734 directory in source structure.
736 Clean target directory before the tests (write mode only)
738 2008-03-12 Tor Lillqvist <tml@novell.com>
740 Bug 517419 - gio win32 directory monitor
741 Implementation by Vlad Grecescu.
744 * win32/gwin32directorymonitor.h
745 * win32/gwin32directorymonitor.c: New files.
747 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
749 * Makefile.am: Add the win32 subdirectory.
751 2008-03-12 Tor Lillqvist <tml@novell.com>
753 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
754 normal struct stat on Unix but struct _stati64 on Windows to have
755 access to 64-bit file size information. Use that instead of struct
756 stat in the functions declared here in this private header.
758 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
759 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
760 warnings about unused functions and variables. Don't set
761 meaningless attributes like inode numbers on Windows.
763 2008-03-12 Benjamin Otte <otte@gnome.org>
766 trim whitespace so gtk-doc groks the function name
768 2008-03-12 Tor Lillqvist <tml@novell.com>
770 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
771 returning FALSE, on Win32.
773 2008-03-11 Alexander Larsson <alexl@redhat.com>
776 * glocalfileinfo.[ch]:
777 Correctly implement can_trash by actually
778 looking for a trash dir, not just assuming
781 2008-03-10 Matthias Clasen <mclasen@redhat.com>
783 * === Released 2.16.1 ===
785 2008-03-11 Alexander Larsson <alexl@redhat.com>
788 Fix crashes in new constructor and properties code
790 2008-03-10 Murray Cumming <murrayc@murrayc.com>
792 * gfile.c: Minor spelling correction in documentation:
793 existance -> existence.
795 2008-03-10 Matthias Clasen <mclasen@redhat.com>
797 * === Released 2.16.0 ===
799 2008-03-10 Matthias Clasen <mclasen@redhat.com>
801 * gio.symbols: Remove g_file_contains_file here, too.
803 2008-03-10 Matthias Clasen <mclasen@redhat.com>
805 * gthemedicon.c: Add properties to make bindings happy. (#517676,
806 Samuel Cormier-Iijima)
808 2008-03-08 Tor Lillqvist <tml@novell.com>
810 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
813 2008-03-07 Alexander Larsson <alexl@redhat.com>
816 (g_local_file_query_filesystem_info):
817 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
818 Patch from Jasper Lievisse Adriaanse
820 2008-03-06 Tor Lillqvist <tml@novell.com>
822 * gfileinfo.h: Correct milliseconds to microseconds in the doc
823 comments for the *_USEC attributes.
825 2008-03-06 Alexander Larsson <alexl@redhat.com>
827 * gfile.c (g_file_query_exists):
828 Add g_return_val_if_fail check (#520700)
830 2008-03-06 Alexander Larsson <alexl@redhat.com>
835 * gunionvolumemonitor.c:
838 * tests/live-g-file.c:
839 * xdgmime/xdgmimecache.c:
840 Fix sparse warnings (#519489)
842 2008-03-05 Alexander Larsson <alexl@redhat.com>
845 Make cancellation threadsafe (i.e.
846 guarantee its only done once, and always
849 * glocaldirectorymonitor.c:
850 Make sure we the monitor lives while the
851 mounts_changed callback is being called (#520484)
853 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
855 * gbufferedinputstream.c: Fix typo in parameter
858 2008-03-04 Alexander Larsson <alexl@redhat.com>
861 Remove deprecated symbols we kept for one release.
863 2008-03-04 Murray Cumming <murrayc@murrayc.com>
866 * goutputstream.c: Tiny documentation corrections.
868 2008-03-03 Alexander Larsson <alexl@redhat.com>
870 * gunionvolumemonitor.c:
872 Fix the adopt_orphan_mount vfunc to take a
873 volume_monitor reference in an ABI compat way.
874 This change is not API compat, but the added
875 arg is not used in the only user of this vfunc, so
876 all we get is a harmless warning in gvfs (#520169)
878 2008-03-01 Benjamin Otte <otte@gnome.org>
881 clarify docs for g_file_delete().
883 2008-02-29 Alexander Larsson <alexl@redhat.com>
887 Make sure empty files get text/plain type (#518720)
889 2008-02-27 Alexander Larsson <alexl@redhat.com>
895 (g_unix_volume_mount):
896 Add missing GMountMountFlags argument
898 2008-02-26 Alexander Larsson <alexl@redhat.com>
901 (g_local_file_delete):
902 Handle filesystems (like ntfs-3g) that return EEXIST instead
903 of ENOTEMPTY (#518816)
905 2008-02-25 Matthias Clasen <mclasen@redhat.com>
907 * === Released 2.15.6 ===
909 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
911 * gfile.c (g_file_find_enclosing_mount):
912 * ginputstream.c (g_input_stream_set_pending):
913 * glocalfile.c (g_local_file_find_enclosing_mount):
914 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
915 * goutputstream.c (g_output_stream_set_pending):
917 Fixup translator comments (#518578).
919 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
921 * gfile.c (g_file_find_enclosing_mount):
923 * glocalfile.c (g_local_file_find_enclosing_mount):
926 Fix a few typos in translator comments and documentation.
928 2008-02-25 Alexander Larsson <alexl@redhat.com>
935 Add translator comments (#518578)
937 2008-02-25 Alexander Larsson <alexl@redhat.com>
940 Reintroduce g_file_contains_file, keep around for one
941 unstable release cycle to avoid crashing to many apps.
942 Make sure to delete after release.
944 2008-02-25 Alexander Larsson <alexl@redhat.com>
947 Remove deprecated g_file_contains_file.
949 2008-02-25 Alexander Larsson <alexl@redhat.com>
952 Emit actual change signals in an idle handler.
953 This avoids reentrance and locking problems in
954 the file notification backends.
956 2008-02-25 Alexander Larsson <alexl@redhat.com>
959 (g_unix_mount_guess_should_display):
960 Remove type guessing, instead just display
961 mounts in /media and in ~/.
963 2008-02-25 Alexander Larsson <alexl@redhat.com>
966 Make new strings reuse old ones.
968 2008-02-25 Alexander Larsson <alexl@redhat.com>
971 Implement trashing and filesystem::readonly for win32 (#517235)
972 Patch from Yevgen Muntyan
974 2008-02-23 Matthias Clasen <mclasen@redhat.com>
976 * gfileinfo.h: Documentation fixes.
978 2008-02-22 Alexander Larsson <alexl@redhat.com>
980 * gcontenttype.c (g_content_type_get_icon):
981 Look at old-style gnome mime icon names too, as many
982 have not moved to the new style.
984 2008-02-21 Matthias Clasen <mclasen@redhat.com>
986 * *.c: Correct the @include in for section docs.
988 2008-02-21 David Zeuthen <davidz@redhat.com>
990 * glocalfileinfo.c: (_g_local_file_info_get):
992 (g_content_type_get_icon): Implement this function by
993 moving bits from glocalfileinfo.c
994 (g_content_type_get_description): Unalias before getting
995 description (#517687)
997 * gfile.c: (g_file_class_init),
998 (g_file_query_filesystem_info_async),
999 (g_file_query_filesystem_info_finish),
1000 (query_filesystem_info_data_free),
1001 (query_filesystem_info_async_thread),
1002 (g_file_real_query_filesystem_info_async),
1003 (g_file_real_query_filesystem_info_finish):
1004 * gfile.h: Implement async version of
1005 g_file_query_filesystem_info()
1007 * gfileinfo.h: Add new attributes for filesystem::use-preview
1009 * gio.symbols: Update
1011 * gthemedicon.c: (g_themed_icon_append_name):
1012 * gthemedicon.h: Add new new convenience function.
1014 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1015 (get_mounts), (get_volumes), (get_connected_drives),
1016 (get_volume_for_uuid), (get_mount_for_uuid),
1017 (g_union_volume_monitor_init), (populate_union_monitor),
1018 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1019 (g_volume_monitor_adopt_orphan_mount):
1021 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1022 monitor implementations to call into the main volume monitor. Also
1023 separate object initialization and volume monitor initialization
1024 such that non-native volume monitors can properly adopt their
1027 2008-02-21 Alexander Larsson <alexl@redhat.com>
1032 2008-02-21 Alexander Larsson <alexl@redhat.com>
1035 Add more documentation about how GFiles work (from #517086)
1037 2008-02-21 Alexander Larsson <alexl@redhat.com>
1041 Add new g_file_has_prefix that does the same as g_file_contains_file.
1042 Deprecate g_file_contains_file and add a macro that converts
1043 it to g_file_has_prefix.
1044 The reason for this change is that the contains_file() name seems to
1045 imply that this does more work than what it does, but its really only
1046 a name match (from #517086)
1051 Update to match the above change.
1053 2008-02-20 Benjamin Otte <otte@gnome.org>
1055 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1056 (g_file_eject_mountable):
1057 even more cases of not returning in error path
1059 2008-02-20 Benjamin Otte <otte@gnome.org>
1061 * gfile.c: (g_file_mount_mountable):
1062 return from function in error path.
1064 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1067 Remove trailing coma in GMountMountFlags struct
1069 2008-02-18 Alexander Larsson <alexl@redhat.com>
1073 * glocalfileoutputstream.c:
1074 Use g_unlink/g_rename instead of unlink/rename;
1075 do not pass raw filenames to g_set_error. (#517239)
1076 Patch from Yevgen Muntyan.
1078 2008-02-18 Alexander Larsson <alexl@redhat.com>
1081 * glocalfileoutputstream.c:
1082 Open files with O_BINARY on windows. (#517140)
1084 2008-02-14 Alexander Larsson <alexl@redhat.com>
1086 * glocalfileoutputstream.c:
1087 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1089 2008-02-14 Alexander Larsson <alexl@redhat.com>
1092 Copy permissions with file on copy (#514084)
1093 This is what cp does and makes sure e.g. the
1094 exec permissions are kept.
1095 Its kinda weird in that it keeps the permission bits
1096 the same while the uid and gid are different. However
1097 the new uid is the user so its not a security issue,
1098 and I've heard no complaints about cp on this issue.
1100 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1102 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1104 2008-02-13 Alexander Larsson <alexl@redhat.com>
1106 * inotify/inotify-path.c:
1107 Define IN_ONLYDIR if not in header (#515346)
1109 2008-02-12 Alexander Larsson <alexl@redhat.com>
1111 * tests/live-g-file.c:
1114 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1116 * === Released 2.15.5 ===
1118 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1120 * gio.symbols: Add g_mount_mount_flags_get_type.
1122 2008-02-11 Alexander Larsson <alexl@redhat.com>
1125 (g_file_info_set_attribute_mask):
1126 (g_file_attribute_matcher_matches_id):
1127 Correctly handle NULL GAttributeMatcher meaning
1128 matches nothing. (Fixes #513492)
1130 2008-02-11 Alexander Larsson <alexl@redhat.com>
1135 Added GMountMountFlags enum and added a flags
1136 argument to all mount calls.
1138 This is an API/ABI change for future extensibility,
1139 as I think we will need at least an
1140 inhibit-autorun flag (the panel needs this).
1141 There are no flags defined yet though.
1143 2008-02-11 Alexander Larsson <alexl@redhat.com>
1146 Added new standard::description attribute.
1147 Requested by Vincent, and useful for both
1150 2008-02-11 Alexander Larsson <alexl@redhat.com>
1152 * gdesktopappinfo.c:
1155 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1157 * *.c: Documentation additions
1159 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1161 * gappinfo.h: Formatting cleanup
1162 * gappinfo.c: Fix up docs.
1164 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1166 * gunixmounts.c: Consistently use getmntent_r() and fall
1167 back to getmntent(). (#515492)
1169 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1171 * gbufferedinputstream.c:
1173 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1175 * tests/data-input-stream.c:
1176 * tests/data-output-stream.c: Portability fixes.
1178 2008-02-08 Alexander Larsson <alexl@redhat.com>
1183 Add g_volume_should_automount.
1186 2008-02-07 Tor Lillqvist <tml@novell.com>
1188 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1189 Win32, too Unix-specific.
1191 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1193 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1194 a local plt if the compiler doesn't support what we want. Bug #514702
1196 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1198 reviewed by: <delete if not using a buddy>
1201 * gunixinputstream.c:
1202 * gunixoutputstream.c:
1204 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1206 * tests/Makefile.am:
1207 * tests/live-g-file.c:
1208 * tests/live-g-file.txt:
1209 New GIO testing module working over real data
1211 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1213 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1214 Fallback to rename() if link() is not available
1215 (when no support on target filesystem)
1217 2008-02-06 Michael Natterer <mitch@imendio.com>
1219 * gfileinfo.c (g_file_info_get_icon): replace
1220 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1222 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1224 * gfile.c (g_file_create):
1225 Documentation update of error codes
1227 2008-02-06 Alexander Larsson <alexl@redhat.com>
1229 * gdesktopappinfo.c:
1230 Update to use both mimeapps.list and
1231 defaults.list as discussed on xdg list.
1233 2008-02-06 Benjamin Otte <otte@gnome.org>
1236 * gfilenamecompleter.c:
1237 Fix some typos in the documentation.
1239 2008-02-06 Alexander Larsson <alexl@redhat.com>
1241 * glocalfile.c (g_local_file_trash):
1242 Don't succeed with trash if newly created
1243 trash dir has the wrong owner. (#514696)
1245 2008-02-05 Alexander Larsson <alexl@redhat.com>
1247 * glocalfile.c (g_local_file_move):
1248 Don't spew warnings when destination is not
1251 2008-02-03 Hans Breuer <hans@breuer.org>
1253 * makefile.msc : update
1255 2008-02-01 Michael Natterer <mitch@imendio.com>
1257 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1258 return value of xdg_mime_list_mime_parents() to a variable of the
1261 2008-02-01 Alexander Larsson <alexl@redhat.com>
1263 * gappinfo.c (g_app_info_launch_uris):
1264 Actually call the launch_uris method, not
1267 2008-02-01 Alexander Larsson <alexl@redhat.com>
1269 * gdesktopappinfo.c (g_desktop_app_info_equal):
1270 Ensure appinfos with no id but same pointer value
1273 2008-02-01 Alexander Larsson <alexl@redhat.com>
1275 * gappinfo.c (g_app_info_launch_default_for_uri):
1278 2008-02-01 Alexander Larsson <alexl@redhat.com>
1282 Add g_app_info_launch_default_for_uri utility
1285 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1287 * gdesktopappinfo.c:
1288 Doc fix for g_app_info_get_default_for_uri_scheme ()
1291 2008-01-30 Alexander Larsson <alexl@redhat.com>
1294 Add doc comment about uris vs GFiles to
1297 * gdesktopappinfo.c:
1298 Ensure uris passed to g_app_info_launch_uris()
1299 are not roundtriped through GFile (as that
1300 may be slightly destructive for e.g. mailto: links)
1302 2008-01-30 Alexander Larsson <alexl@redhat.com>
1304 * tests/data-input-stream.c:
1305 * tests/data-output-stream.c:
1306 C89 fixes from Jens Granseuer (#512849)
1308 2008-01-30 Alexander Larsson <alexl@redhat.com>
1311 Fix gamin/fam difference build issue. (#509419)
1313 2008-01-29 Alexander Larsson <alexl@redhat.com>
1316 * gdesktopappinfo.c:
1317 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1319 2008-01-29 Alexander Larsson <alexl@redhat.com>
1321 * gdesktopappinfo.c:
1322 * gdesktopappinfo.h:
1323 giomodule-priv.h include moved to .c file.
1325 2008-01-29 Alexander Larsson <alexl@redhat.com>
1327 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1328 Remove unused prio/name fields.
1330 2008-01-29 Alexander Larsson <alexl@redhat.com>
1332 * gcontenttype.c (looks_like_text):
1333 Don't treat whitespace as control chars.
1335 2008-01-29 Alexander Larsson <alexl@redhat.com>
1337 * gdesktopappinfo.c:
1338 Lazily create the desktop files for appinfos created
1339 by g_app_info_create_from_commandline() when needed
1340 for mime associations. This allows run-time use
1341 of GAppInfo object without creating unnecessary
1344 2008-01-29 Alexander Larsson <alexl@redhat.com>
1347 Added new symbols to gio.symbols
1349 2008-01-29 Alexander Larsson <alexl@redhat.com>
1352 Add g_file_query_default_handler utility to easily look up
1353 the GAppInfo that handles a file.
1355 * gdesktopappinfo.[ch]:
1357 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1360 Remove unused function
1362 2008-01-29 Alexander Larsson <alexl@redhat.com>
1364 * gfileenumerator.c:
1365 Mention need to free returned value in
1366 g_file_enumerator_next_files_finish docs.
1367 Fix leak if g_file_enumerator_next_files_finish()
1370 2008-01-29 Alexander Larsson <alexl@redhat.com>
1373 (_g_unix_content_type_get_parents):
1374 Use list_parents, not get_parents from xdgmime, because
1375 the later doesn't use the cache.
1377 * xdgmime/xdgmimecache.c:
1378 (_xdg_mime_cache_list_mime_parents):
1379 Don't list the same type as parent multiple times.
1381 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1383 * === Released 2.15.4 ===
1385 2008-01-28 Alexander Larsson <alexl@redhat.com>
1388 Register local vfs with prio 0.
1391 Remove old name and prio class members
1393 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1395 * tests/g-file.c: Disable some tests that are failing in
1396 the absence of a http backend.
1398 2008-01-28 Alexander Larsson <alexl@redhat.com>
1402 Add registration hooks for extension points.
1403 Register the gio extension points.
1405 * fam/gfamdirectorymonitor.c:
1406 * fam/gfamfilemonitor.c:
1407 * glocaldirectorymonitor.[ch]:
1408 * glocalfilemonitor.[ch]:
1409 * gnativevolumemonitor.h:
1410 * gunionvolumemonitor.c:
1411 * gunixvolumemonitor.c:
1414 * inotify/ginotifydirectorymonitor.c:
1415 * inotify/ginotifyfilemonitor.c:
1416 Use the extension points registration instead
1417 of g_type_children().
1419 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1422 * gvolume.[hc]: Document new API.
1424 * gfile.c (g_file_copy_async): Fix docs
1426 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1428 * gbufferedinputstream.c:
1430 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1433 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1435 * glocalfile.c: Avoid trivial differences in translatable strings.
1437 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1439 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1440 build with gcc 3.4 (#509419)
1442 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1444 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1445 (#509994, Murray Cumming)
1447 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1449 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1450 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1451 this allows big jobs to be executed in chunks, instead of blocking
1452 the main loop for a long time.
1454 * gsimpleasyncresult.c:
1455 * giofile.c: Adapt callers.
1457 2008-01-25 Alexander Larsson <alexl@redhat.com>
1459 * gdesktopappinfo.c:
1460 Implement changes discussed on xdg list.
1461 Now we can add supported mimetypes by just using defaults.list
1462 We can also remove associations in defaults.list.
1464 2008-01-25 Alexander Larsson <alexl@redhat.com>
1466 * gdesktopappinfo.c:
1467 Don't make local copy of desktop file
1468 for mimetype changes if the file already
1469 supports the new mimetype.
1471 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1475 * gbufferedinputstream.c:
1476 * glocalfile.c: String improvements. (#511966,
1477 Theppitak Karoonboonyanan)
1479 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1481 * gioscheduler.h: Expand docs a bit.
1483 2008-01-24 Alexander Larsson <alexl@redhat.com>
1486 Add g_drive_get_identifier and
1487 g_drive_enumerate_identifiers
1490 Add g_volume_get_identifier and
1491 g_volume_enumerate_identifiers
1497 Implement identifiers for unix backend
1499 2008-01-24 Alexander Larsson <alexl@redhat.com>
1504 Add g_file_copy_async() (#511580)
1505 Based on patch from Carlos Garcia Campos
1507 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1509 * gioscheduler.c: Some documentation additions.
1511 2008-01-22 Alexander Larsson <alexl@redhat.com>
1513 * gdesktopappinfo.c:
1514 (g_desktop_app_info_new):
1515 Don't leak basename.
1517 2008-01-22 Alexander Larsson <alexl@redhat.com>
1519 * gdesktopappinfo.c:
1520 (g_desktop_app_info_new_from_filename):
1523 2008-01-22 Alexander Larsson <alexl@redhat.com>
1525 * glocalfileinfo.c (get_thumbnail_attributes):
1528 2008-01-22 Alexander Larsson <alexl@redhat.com>
1531 (canonicalize_filename):
1532 Canonicalize paths that start with more than
1536 (compare_two_files):
1537 (test_g_file_new_for_path):
1540 2008-01-22 Alexander Larsson <alexl@redhat.com>
1543 Allow UTF-8 in file:// parse names.
1545 * tests/Makefile.am:
1546 * tests/data-input-stream.c:
1547 * tests/data-output-stream.c:
1548 * tests/g-file-info.c:
1550 Added a bunch of tests from Tomas Bzatek
1552 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1554 * === Released 2.15.3 ===
1556 2008-01-21 Alexander Larsson <alexl@redhat.com>
1558 * gfileinputstream.[ch]:
1559 * gfileoutputstream.[ch]:
1561 Remove duplicated GSeekable functions. (#509990)
1562 Just use the g_seekable_xxx() calls instead.
1564 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1567 * gvolumemanager.c: Whitespace cleanups.
1569 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1570 Use the right mode when creating the file.
1572 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1574 * gfileenumerator.c:
1575 * gfileinputstream.c:
1577 * goutputstream.c: Documentation: Fixed minor typos
1578 and added more mentions of specific _finish() functions.
1580 2008-01-21 Alexander Larsson <alexl@redhat.com>
1582 * inotify/Makefile.am:
1583 * inotify/inotify-helper.c:
1584 * inotify/inotify-kernel.c:
1585 * inotify/inotify-path.c:
1586 * inotify/local_inotify.h: Removed.
1587 * inotify/local_inotify_syscalls.h: Removed.
1588 Removed the included copies of the inotify
1589 headers. We now only use the <sys/inotify.h>
1590 header which exists on modern systems.
1591 This fixes problems on ARM and SH5 (#510448)
1592 but is also generally much cleaner and future
1593 safe. For instance, if other OSes add support
1594 for inotify it should "just work".
1596 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1598 * inotify/*.c: Coding style fixes.
1599 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1600 for the 1/4 Hz timer.
1602 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1605 * gfilemonitor.[hc]:
1606 * gmemoryinputstream.c:
1607 * gmemoryoutputstream.c:
1608 * gmountoperation.c:
1609 * gthemedicon.c: Documentation updates
1611 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1613 * gfile.c: documentation: Fixed more minor
1616 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1618 * gmount.c: (g_mount_remount): documentation:
1619 Mention g_mount_remount_finish() instead of
1620 g_mount_unmount_finish().
1622 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1626 * gfile.c: Fixed some minor typos in the
1629 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1631 * gio/gvolumemonitor.c:
1632 (g_volume_monitor_get_connected_drives):
1633 (g_volume_monitor_get_volumes):
1634 (g_volume_monitor_get_mounts): Documentation:
1635 Clarify the ownership of the regurn GLists.
1637 2008-01-17 Alexander Larsson <alexl@redhat.com>
1640 Add the async find_enclosing_mount version
1641 to the header file too.
1643 2008-01-17 Alexander Larsson <alexl@redhat.com>
1646 Add async version of find_enclosing_mount
1647 with default implementation.
1649 2008-01-17 Alexander Larsson <alexl@redhat.com>
1654 Allow calls to implementation of copy and write
1655 even if the type of the file implementations is
1656 different. This can be used to implement native
1657 upload and download calls in a vfs.
1660 (g_local_file_move):
1661 Protect against the case where move is called
1662 with one file not being local.
1664 Make sure we call the progress callback once
1665 in the native move operation so that the caller
1666 knows how many bytes were copied.
1668 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1671 * gdatainputstream.c:
1673 * gfileoutputstream.c:
1678 * gunixmounts.c: Corrected some typos in the documentation:
1679 occured -> occurred.
1680 its -> it's (where appropriate).
1682 2008-01-16 Alexander Larsson <alexl@redhat.com>
1686 Add g_file_query_exists (#508771)
1688 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1693 * gvolume.c: For async functions that have no non-async
1694 version, document that the GAsyncReadyCallback may be NULL.
1697 2008-01-15 Alexander Larsson <alexl@redhat.com>
1699 * gmemoryinputstream.c:
1700 * gmemoryoutputstream.c:
1701 Don't do pointer arithmetic on void * (#508602)
1702 Patch from Kazuki IWAMOTO
1704 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1706 * === Released 2.15.2 ===
1708 2008-01-14 Alexander Larsson <alexl@redhat.com>
1710 * gfile.c (g_file_monitor_file):
1711 Don't set error here, since we fallback to polling monitor.
1713 2008-01-14 Alexander Larsson <alexl@redhat.com>
1716 (g_file_monitor_directory):
1717 (g_file_monitor_file):
1718 Add GError to file monitor calls
1720 * glocaldirectorymonitor.c:
1721 * glocaldirectorymonitor.h:
1723 * glocalfilemonitor.c:
1724 * glocalfilemonitor.h:
1726 Update for above change
1728 2008-01-14 Alexander Larsson <alexl@redhat.com>
1732 Handle root correctly in g_file_get_relative_path (#508719)
1734 2008-01-14 Alexander Larsson <alexl@redhat.com>
1737 Clean up docs and example for GAsyncResult (#508074)
1739 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1741 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1742 and correct some spelling mistakes. Bug #508108.
1744 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1746 * glocalfileinfo.c: Add a comment.
1748 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1750 * gfileinfo.c: GFileInfo description: Mention
1751 how to actually set attributes in a GFile and how to discover
1752 which attributes are settable. Bug #508378.
1754 2008-01-10 A. Walton <awalton@svn.gnome.org>
1756 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1757 (g_app_info_get_default_for_type):
1758 Check for NULL content types.
1760 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1762 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1764 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1766 * gfile.c: *_async() functions: Several small corrections
1767 to the documentation, mostly correcting copy/paste errors
1768 and improving some sentences.
1770 2008-01-09 Dan Winship <danw@gnome.org>
1772 * glocalfile.c (get_unique_filename): x86_64 fix
1774 2008-01-09 Alexander Larsson <alexl@redhat.com>
1779 Add g_unix_mount_guess_should_display and use
1780 for unix volume monitor backend.
1781 This means we more or less show what the
1782 gnome-vfs backend did.
1783 Based on patch from Padraig O'Briain
1785 2008-01-09 Alexander Larsson <alexl@redhat.com>
1789 Add g_themed_icon_new_with_default_fallbacks
1792 Use default fallbacks for icons
1794 2008-01-09 Alexander Larsson <alexl@redhat.com>
1797 * gmountoperation.[ch]:
1798 Change the API a bit so that unhandled methods
1799 get reported via the reply, rather than by
1800 the signal emission return value. This is because
1801 some handlers can't know this immediately without
1802 doing I/O, and this is an async operation that
1805 2008-01-09 Alexander Larsson <alexl@redhat.com>
1808 * fam/gfamdirectorymonitor.c:
1809 * fam/gfamfilemonitor.c:
1810 Fix double free crash (#508224)
1811 Patch from Joe Marcus Clarke
1813 008-01-07 Matthias Clasen <mclasen@redhat.com>
1815 * === Released 2.15.1 ===
1817 2008-01-07 Alexander Larsson <alexl@redhat.com>
1819 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1820 Fix warning (#507835)
1822 2008-01-07 Alexander Larsson <alexl@redhat.com>
1825 Pass --internal to glib-genmarshal
1828 * gmountoperation.c:
1830 Use better types for signal arguments (#507822)
1832 2008-01-07 Alexander Larsson <alexl@redhat.com>
1835 Build test subdir after .
1836 Remove gdirectorymonitor.[ch]
1838 * gdirectorymonitor.[ch]:
1842 Remove GDirectoryMonitor and make
1843 GFileMonitor the baseclass for both file and
1844 directory monitors. Lift the more generic
1845 rate limiting code from GDirectoryMonitor
1849 * fam/gfamdirectorymonitor.[ch]:
1850 * inotify/ginotifydirectorymonitor.[ch]:
1851 * inotify/inotify-helper.c:
1852 * glocaldirectorymonitor.[ch]:
1855 Update for the removed GDirectoryMonitor.
1857 * gmemoryoutputstream.c:
1858 Remove ununsed variable
1860 2008-01-07 Alexander Larsson <alexl@redhat.com>
1862 * gmemoryinputstream.c:
1863 Translate error strings
1866 * gmemoryoutputstream.[ch]:
1867 New implementation that avoids using GByteArray
1868 in implementation and API. (#506377)
1870 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1872 * tests/*: Add a test for memory input streams.
1874 * Makefile.am: Add tests to SUBDIRS.
1876 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1878 * glocalfilemonitor.c:
1879 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1882 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1884 * gdesktopappinfo.c: Fix a docs typo.
1886 * gfileattribute.c: Add information about extended attributes
1887 to the documentation. (#505058)
1889 2008-01-04 Alexander Larsson <alexl@redhat.com>
1892 * gmountoperation.c:
1893 Use the right type (uint) for the ask_password signal.
1895 2008-01-04 Alexander Larsson <alexl@redhat.com>
1900 Add g_app_info_supports_files()
1901 Remove desktop arg from g_app_info_should_show().
1903 * gdesktopappinfo.[ch]:
1904 Implement g_app_info_supports_files() and new should_show()
1905 Add g_desktop_app_info_set_desktop_env() to set the desktop
1906 for should_show(). (This will be set by gtk+ later)
1908 2008-01-04 Alexander Larsson <alexl@redhat.com>
1911 * gmemoryinputstream.[ch]:
1912 Improve API so that you can use multiple chunks
1913 of memory and custom destroy functions. (#506374)
1915 2008-01-03 Alexander Larsson <alexl@redhat.com>
1918 Handle NULL attribute matchers safely, as we return this
1919 for empty attribute matcher strings.
1921 2008-01-03 Alexander Larsson <alexl@redhat.com>
1923 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1924 Add /usr/local to list of internal mountpoints
1926 2008-01-03 Alexander Larsson <alexl@redhat.com>
1929 Check for HAVE_LCHOWN (#505887)
1931 2008-01-03 Alexander Larsson <alexl@redhat.com>
1935 Add define for selinux context attribute.
1936 Fix missing : -> :: namespace separator change
1937 Fix missing _ -> - name change for xattr-sys.
1940 2008-01-03 Alexander Larsson <alexl@redhat.com>
1943 Link to libglib and libgobject directly (#504879)
1944 Patch from Sebastien Bacher
1946 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1948 * gfile.c: Expanded the g_file_new_for_commandline_arg
1949 description a bit, based on the code and the docs of the
1950 other g_file_new_for_* functions.
1952 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1954 * gfilemonitor.h: Fixed typo in docs.
1956 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1958 Updates to GIO documentation. (#506395, Mikael Hermansson)
1960 * gcontenttype.c: Describe memory management for return value of
1961 g_content_types_get_registered(). Missing piece from #505815.
1962 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1963 GVolume, GDrive, GMounts, which hopefully gives the user less
1964 confusions when using this API. Following explainations from
1965 Alexander Larsson on gtk-devel-list.
1967 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1969 * gfileinfo.c: Expand the long description.
1971 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1974 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1975 fix builds with --disable-visibility. (#500273, Christian Persch)
1977 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1979 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1980 in the list of returned app infos.
1982 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1984 * gappinfo.c: Fix a cross-reference
1986 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1988 * gfileinputstream.c:
1989 * gfileoutputstream.c:
1993 * gdesktopappinfo.c:
1995 * gfileinfo.c: Documentation updates.
1997 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1999 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2002 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2004 * gcontenttype.c (g_content_types_get_registered): Don't return
2005 freed memory (#505815, Mikael Hermansson)
2007 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2009 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2010 used to detect statbuf->st_blocks. (#505042)
2012 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2014 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2015 environment handling. (#504829, Cosimo Cecchi)
2017 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2019 * gappinfo.c: Doc improvements
2021 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2024 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2026 * === Released 2.15.0 ===
2028 2007-12-20 Hans Breuer <hans@breuer.org>
2030 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2031 with symbols gwin32appinfo.obj, added gmount.obj
2032 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2034 2007-12-20 Alexander Larsson <alexl@redhat.com>
2040 * gfilenamecompleter.c:
2043 * gpollfilemonitor.c:
2044 File attribute renames:
2046 fs:: -> filesystem::
2047 id::fs -> id::filesystem
2049 2007-12-20 Alexander Larsson <alexl@redhat.com>
2058 Add GMountUnmountFlags to all unmount and
2060 Add g_mount_remount() call.
2062 2007-12-20 Alexander Larsson <alexl@redhat.com>
2064 * gvfs.c (get_default_vfs):
2065 Fix unused variable warning
2067 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2069 * pltcheck.sh: Update
2071 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2073 * gunionvolumemonitor.c:
2074 * gunixmount.c: Remove C99 comments
2076 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2078 * gio.symbols: Add some missing symbols
2080 2007-12-19 Alexander Larsson <alexl@redhat.com>
2083 Make g_io_modules_load_all_in_directory not unuse
2084 loaded modules so that users of it can do stuff
2086 Init internal "module" types.
2087 Initialize static prio and name for types so that
2088 we don't have to load modules to get it.
2090 * gnativevolumemonitor.h:
2092 Move is_supported to parent class so that
2093 non-native monitors can avoid being initialized
2094 too. (For instance GDaemonVolumeMonitor if we're
2095 not using GDaemonVfs.)
2097 * glocaldirectorymonitor.[ch]:
2098 * glocalfilemonitor.[ch]:
2099 * gunionvolumemonitor.c:
2100 * gunixvolumemonitor.c:
2102 Find plugins using the static prio+name to
2103 avoid unnecessarily loading the modules.
2105 2007-12-19 Alexander Larsson <alexl@redhat.com>
2110 2007-12-19 Alexander Larsson <alexl@redhat.com>
2112 * gunionvolumemonitor.c:
2113 Store the native type as GType, not class so that
2114 we can unload it. But still avoid unnecessarily
2117 2007-12-19 David Zeuthen <davidz@redhat.com>
2119 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2120 add signals 'disconnected' and 'eject-button' on GDrive. Add
2121 signal 'removed' on GVolume and 'unmounted' on GMount.
2123 * gdrive.c: (g_drive_base_init):
2125 * gfile.c: (g_file_mount_mountable),
2126 (g_file_mount_enclosing_volume):
2129 * gmount.c: (g_mount_base_init):
2131 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2132 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2133 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2137 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2139 * *.c: Fix up includes in the section docs.
2141 2007-12-17 Alexander Larsson <alexl@redhat.com>
2143 * gnativevolumemonitor.h:
2144 * gunionvolumemonitor.c:
2145 * gunixvolumemonitor.c:
2146 Add is_supported() to GNativeVolumeMonitorClass so
2147 that we can avoid having to create an object to see
2148 if the backend is supported at runtime.
2149 Also add name member and an env var to pick a specific
2150 volume monitor backend.
2154 Add cancellable to _g_mount_get_for_mount_path()
2156 * glocaldirectorymonitor.c:
2157 * glocalfilemonitor.c:
2158 Avoid loading and unloading modules while sorting.
2160 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2163 * gunixmounts.[hc]: Namespace waste reduction, move some
2164 g_get_unix_mount functions to the g_unix_mount namespace.
2167 * gunixvolumemonitor.c:
2169 * glocaldirectorymonitor.c: Update all callers.
2171 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2173 2007-12-17 Alexander Larsson <alexl@redhat.com>
2176 Add doc comments about what GFile operations are
2177 guaranteed to not block.
2179 2007-12-17 Alexander Larsson <alexl@redhat.com>
2182 Add missing #ifdef fixing OSX build.
2183 (#503334, patch from Richard Hult)
2185 2007-12-14 David Zeuthen <davidz@redhat.com>
2189 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2190 (g_mount_eject), (g_mount_eject_finish):
2192 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2193 (get_volume_for_uuid), (get_mount_for_uuid),
2194 (g_union_volume_monitor_class_init),
2195 (get_default_native_type_with_exclude), (get_default_native_type),
2196 (get_native_type), (update_native_type),
2197 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2198 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2199 (g_unix_mount_can_eject), (eject_unmount_cb),
2200 (eject_unmount_read_error), (eject_unmount_do),
2201 (g_unix_mount_unmount), (g_unix_mount_eject),
2202 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2203 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2204 (g_unix_mount_point_guess_can_eject):
2206 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2207 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2208 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2209 (g_unix_volume_mount), (g_unix_volume_eject),
2210 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2211 * gunixvolumemonitor.c: (get_volume_for_uuid),
2212 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2214 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2215 (g_volume_eject), (g_volume_eject_finish):
2217 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2218 (g_volume_monitor_get_mount_for_uuid):
2221 Provide eject() on both GMount and GVolume and utility functions
2222 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2223 ejected. Introduce the concept of UUID's and wire it into GVolume
2224 and GMount and provide API on GVolumeMonitor to find such
2225 instances. Also handle the case where an external
2226 GNativeVolumeMonitor fails to initialize. Lock around the
2227 _g_get_mount_for_mount_path() function such that volume monitor
2228 implementations won't have to do locking themselves.
2230 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2232 * gdesktopappinfo.c:
2238 * gvolume.h: Documentation updates
2240 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2243 * gfile.h: Doc updates
2245 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2248 * gdesktopappinfo.c: Use hash table iterators.
2250 2007-12-14 Alexander Larsson <alexl@redhat.com>
2253 * gfileattribute.[ch]:
2254 * gfileattribute-priv.h:
2255 Move GFileAttributeValue to a private header, as
2259 Make set_attribute take a type + a pointer instead
2260 of a GFileAttributeValue.
2263 Fix up for above changes.
2264 Add g_file_info_get_attribute_data to get
2265 all info in one call, g_file_info_get_attribute_status
2266 to get the status and g_file_info_get_attribute_as_string.
2270 * glocalfileinfo.[ch]:
2274 Make _guess_type static.
2276 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2279 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2280 made mkenums and friends use temporary files to avoid leaving
2281 empty generated files on failure (#503470).
2283 2007-12-14 Alexander Larsson <alexl@redhat.com>
2285 * gmountoperation.h:
2288 2007-12-14 Alexander Larsson <alexl@redhat.com>
2292 * gfileattribute.[ch]:
2295 * glocalfileoutputstream.c:
2296 * gmountoperation.[ch]:
2297 * goutputstream.[ch]:
2298 Clean up all flags enums to not have _FLAGS in them
2299 Make the names of some of the enums better.
2304 2007-12-14 Michael Natterer <mitch@imendio.com>
2306 * gio.symbols: fix g_io_scheduler symbol names.
2308 2007-12-14 Alexander Larsson <alexl@redhat.com>
2314 * gbufferedinputstream.h:
2315 * gbufferedoutputstream.h:
2318 * gdatainputstream.h:
2319 * gdataoutputstream.h:
2320 * gdesktopappinfo.h:
2321 * gdirectorymonitor.h:
2325 * gfileenumerator.h:
2328 * gfileinputstream.h:
2330 * gfilenamecompleter.h:
2331 * gfileoutputstream.h:
2332 * gfilterinputstream.h:
2333 * gfilteroutputstream.h:
2341 * gmemoryinputstream.h:
2342 * gmemoryoutputstream.h:
2344 * gmountoperation.h:
2347 * gsimpleasyncresult.h:
2349 * gunixinputstream.h:
2351 * gunixoutputstream.h:
2355 * inotify/Makefile.am:
2356 Only allow including <gio/gio.h> from apps
2358 2007-12-14 Alexander Larsson <alexl@redhat.com>
2360 * gioscheduler.[ch]:
2361 * gsimpleasyncresult.c:
2362 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2363 Split out the send_to_mainloop call into two versions instead
2364 of having the block argument.
2366 2007-12-13 Alexander Larsson <alexl@redhat.com>
2368 * gcancellable.[ch]:
2370 * gbufferedinputstream.c:
2371 * gfileenumerator.c:
2372 * gfileinputstream.c:
2373 * gfileoutputstream.c:
2377 g_push/pop_current_cancellable ->
2378 g_cancellable_push/pop_current
2380 2007-12-13 Alexander Larsson <alexl@redhat.com>
2384 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2386 2007-12-13 Alexander Larsson <alexl@redhat.com>
2388 * gmountoperation.h:
2389 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2391 2007-12-12 Alexander Larsson <alexl@redhat.com>
2394 Fix race condition when freeing proxy in
2395 g_io_job_send_to_mainloop().
2397 2007-12-12 Alexander Larsson <alexl@redhat.com>
2403 Make attribute namespace separator "::" instead of ":".
2404 Use - instead of _ as separator in attribute names.
2406 2007-12-12 Alexander Larsson <alexl@redhat.com>
2408 * gbufferedinputstream.h:
2409 * gbufferedoutputstream.h:
2410 * gdatainputstream.h:
2411 * gdataoutputstream.h:
2412 * gdirectorymonitor.h:
2413 * gfileenumerator.h:
2414 * gfileinputstream.h:
2416 * gfileoutputstream.h:
2417 * gfilterinputstream.h:
2418 * gfilteroutputstream.h:
2420 * glocalfileinputstream.h:
2421 * glocalfileoutputstream.h:
2422 * gmemoryinputstream.h:
2423 * gmemoryoutputstream.h:
2424 * gnativevolumemonitor.h:
2426 * gunixinputstream.h:
2427 * gunixoutputstream.h:
2430 s/parent/parent_instance/ in GObjects
2432 2007-12-12 Alexander Larsson <alexl@redhat.com>
2437 No need for padding for interfaces
2439 2007-12-12 Alexander Larsson <alexl@redhat.com>
2443 * gbufferedinputstream.c:
2444 * gbufferedoutputstream.c:
2447 * gdatainputstream.[ch]:
2448 * gdesktopappinfo.c:
2449 * gdirectorymonitor.c:
2451 * gfileattribute.[ch]:
2454 * gfileinputstream.h:
2455 * gfilemonitor.[ch]:
2456 * gfileoutputstream.[ch]:
2457 * gfilterinputstream.h:
2458 * gfilteroutputstream.h:
2461 * gloadableicon.[ch]:
2462 * gmemoryinputstream.c:
2463 * gmountoperation.c:
2465 Fix up a bunch of details in the docs.
2470 2007-12-11 David Zeuthen <davidz@redhat.com>
2472 Rework how volumes, drives and volume monitoring is
2473 done. Previosly the model was
2475 GDrive <1-1> GVolume
2477 where a GDrive instance represented a mount point and a GVolume
2478 instance represented a mounted file system. This patch changes it
2481 GDrive <1-N> GVolume <1-1> GMount
2483 where GMount now serves the purpose of the old GVolume and the new
2484 GVolume serves the purpose of the old GDrive. In addition the new
2485 GDrive interface is used to represent a collection of GVolume
2486 instances (typically partitions) and also contains utility to query
2487 the state of the physical drive the GDrive object represents (such
2488 as checking for media, polling the drive, ejecting the media etc.).
2490 Also implement mounting and unmounting in the Unix volume monitor
2491 backend. A subquent patch will introduce GDrive support for ejection
2495 * gdrive.c: (g_drive_is_media_check_automatic),
2496 (g_drive_is_media_removable), (g_drive_has_media),
2497 (g_drive_can_poll_for_media), (g_drive_eject),
2498 (g_drive_eject_finish), (g_drive_poll_for_media),
2499 (g_drive_poll_for_media_finish):
2501 * gfile.c: (g_file_find_enclosing_mount):
2504 * glocaldirectorymonitor.c:
2505 (g_local_directory_monitor_constructor), (mounts_changed):
2506 * glocalfile.c: (get_mount_info),
2507 (g_local_file_find_enclosing_mount),
2508 (g_local_file_file_iface_init):
2509 * gnativevolumemonitor.h:
2510 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2511 (get_connected_drives), (g_union_volume_monitor_class_init),
2512 (child_volume_added), (child_volume_removed),
2513 (child_volume_changed), (child_mount_added), (child_mount_removed),
2514 (child_mount_pre_unmount), (child_mount_changed),
2515 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2516 (g_union_volume_monitor_remove_monitor),
2517 (_g_mount_get_for_mount_path):
2518 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2519 (guess_system_internal), (_g_get_unix_mounts),
2520 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2521 (g_unix_mount_free), (g_unix_mount_compare),
2522 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2523 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2524 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2525 (type_to_icon), (g_unix_mount_guess_name),
2526 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2527 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2528 (_resolve_symlink), (_resolve_dev_root):
2530 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2531 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2532 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2533 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2534 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2535 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2536 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2537 (g_unix_volume_volume_iface_init):
2539 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2540 (get_mounts), (get_volumes), (get_connected_drives),
2541 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2542 (mountpoints_changed), (mounts_changed),
2543 (g_unix_volume_monitor_init),
2544 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2545 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2546 * gunixvolumemonitor.h:
2547 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2548 (g_volume_mount), (g_volume_mount_finish):
2550 * gvolumemonitor.c: (g_volume_monitor_class_init),
2551 (g_volume_monitor_get_connected_drives),
2552 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2555 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2557 * gmountoperation.h (GPasswordFlags): Close the gap
2559 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2561 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2563 * gdesktopappinfo.[hc]: Remove _-prefixes
2565 2007-12-10 Tor Lillqvist <tml@novell.com>
2567 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2570 2007-12-10 Alexander Larsson <alexl@redhat.com>
2572 * gfile.c (g_file_set_display_name):
2573 Don't hardcode '/' (#502727)
2575 2007-12-09 Hans Breuer <hans@breuer.org>
2577 * makefile.msc : follow lib naming convention
2578 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2579 for user and group name, tested with ../tests/gio-ls
2581 2007-12-09 A. Walton <awalton@svn.gnome.org>
2583 * gdesktopappinfo.c:
2589 * gfileenumerator.c:
2594 * gmemoryinputstream.c:
2595 * gmemoryoutputstream.c:
2597 * gsimpleasyncresult.c:
2598 More documentation cleanup and filling in missing information, bringing
2599 GIO to 99% symbol coverage.
2601 2007-12-08 Hans Breuer <hans@breuer.org>
2603 [gio compiles and links on win32, not sure how much already works]
2604 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2605 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2606 base on win32 API; prefer g_lstat() over lstat(); instead of
2607 localtime_r() use an all GLib implementation on win32;
2608 get_mount_info() still needs a win32 specifc implementation
2609 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2610 win32_get_file_user_info to get owner/group info without uid/gid
2611 * glocalfileinputstream.c : include <io.h> on win32
2612 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2613 definition, use g_win32_ftruncate() for G_OS_WIN32
2614 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2615 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2616 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2617 * makefile.msc : updated
2619 2007-12-07 Alexander Larsson <alexl@redhat.com>
2621 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2622 Avoid warning spew if error == NULL
2624 2007-12-07 Alexander Larsson <alexl@redhat.com>
2627 Update docs wrt etags
2629 2007-12-06 Alexander Larsson <alexl@redhat.com>
2632 Include sys/types.h for dev_t (#501919)
2634 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2638 Make abicheck and pltcheck pass.
2640 2007-12-05 Alexander Larsson <alexl@redhat.com>
2643 * giomodule-priv.h: Added.
2644 * glocaldirectorymonitor.c:
2645 * glocalfilemonitor.c:
2646 * gunionvolumemonitor.c:
2648 Actually add the declaration of _g_io_modules_ensure_loaded
2650 2007-12-05 Alexander Larsson <alexl@redhat.com>
2652 * gdatainputstream.c:
2657 * glocaldirectorymonitor.c:
2658 * glocalfilemonitor.c:
2659 * gunionvolumemonitor.c:
2661 Make g_io_modules_ensure_loaded a private function and
2662 don't pass in the dirname. This means we can do magic
2663 directory finding in the win32 version.
2664 Export the actual load-modules-in-directory code so that
2665 gvfs can reuse that.
2667 2007-12-05 Alexander Larsson <alexl@redhat.com>
2669 * gbufferedinputstream.c:
2670 * gbufferedoutputstream.c:
2673 * gfileenumerator.[ch]:
2674 * gfileinputstream.c:
2675 * gfileoutputstream.[ch]:
2676 * gfilterinputstream.c:
2677 * gfilteroutputstream.c:
2678 * ginputstream.[ch]:
2680 * glocalfileenumerator.c:
2681 * glocalfileinputstream.c:
2682 * glocalfileoutputstream.c:
2683 * gmemoryinputstream.c:
2684 * gmemoryoutputstream.c:
2685 * goutputstream.[ch]:
2688 * gunixinputstream.c:
2689 * gunixoutputstream.c:
2690 Rename all struct members named:
2691 read, write, close, truncate, or mount
2692 to foo_fn, as these are reserved names
2693 and could be defined as macros in libc.
2696 2007-12-04 Alexander Larsson <alexl@redhat.com>
2699 (g_output_stream_close):
2700 Only call flush if non-null.
2702 2007-11-30 Dan Winship <danw@gnome.org>
2704 * ginputstream.c (g_input_stream_set_pending): Make this take a
2705 GError and return a gboolean, and do the "outstanding operation"
2706 check (and the "stream is already closed" check) itself.
2707 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2709 * goutputstream.c (g_output_stream_set_pending)
2710 (g_output_stream_clear_pending): Likewise
2712 * gbufferedinputstream.c:
2713 * gfileinputstream.c:
2714 * gfileoutputstream.c: Update for that
2716 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2717 Like g_simple_async_report_error_in_idle, but takes a GError
2718 rather than building one.
2720 2007-11-30 Dan Winship <danw@gnome.org>
2722 * goutputstream.c: Don't cheat and unset the "pending" flag around
2723 inner calls. Instead, call the class method directly rather than
2724 the wrapper function that checks "pending"
2726 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2728 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2730 2007-12-03 Hans Breuer <hans@breuer.org>
2732 [start of port to win32/msvc]
2733 * gcancellable.c : HAVE_UNIST_H and _pipe()
2734 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2735 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2736 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2738 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2739 * glocalvfs.c : use HAVE_PWD_H
2740 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2741 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2742 * Makefile.am : added to EXTRA_DIST
2744 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2746 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2749 2007-12-03 Alexander Larsson <alexl@redhat.com>
2752 Handle OSX style xattrs API (#500506)
2754 2007-12-03 Alexander Larsson <alexl@redhat.com>
2758 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2760 2007-12-02 A. Walton <awalton@svn.gnome.org>
2764 Documentation accuracy fixes.
2766 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2768 * gioenumtypes.c.template: Fix typo.
2770 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2772 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2774 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2776 * gdirectorymonitor.c:
2777 * gfilemonitor.c: Add properties
2779 * gbufferedoutputstream.c: Don't mark buffer-size property
2782 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2784 * gbufferedoutputstream.c: Add auto-grow property.
2786 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2788 * *.c: Unify the capitalization of section headings.
2790 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2792 * gmountoperation.c: Add properties
2794 * gdatainputstream.c: Turn byte-order and newline-type into
2797 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2799 * gioenumtypes.[hc].template: Templates for enum registration
2801 * Makefile.am: Generate gioenumtypes.[hc]
2803 * gio.h: Include gioenumtypes.h
2805 * gfile.h: Add some explicit nicks.
2807 * gio.symbols: Add new symbols
2809 * pltcheck.sh: Adjust
2811 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2813 * *.c: Explain etags and link to the explanation
2815 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2817 * *.c: Explain I/O priority.
2819 * *.c: More coding style fixes.
2821 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2823 * gasyncresult.c: Add another paragraph to the intro,
2824 adjust coding style of example.
2826 2007-11-29 A. Walton <awalton@svn.gnome.org>
2829 Fixes unknown meaning in GAppLaunchContext docs.
2831 Clarify asynchronous ops.
2833 Fix entity tag docs.
2836 Provides missing gtk-doc section, fixes API docs slighly.
2837 * gsimpleasyncresult.c:
2838 Fill in missing info in docs.
2839 * gunixinputstream.c:
2840 * gunixoutputstream.c:
2841 Be more expressive in short description.
2843 Remove gtk-doc stubs for non-public API.
2845 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2847 * *.c: Coding style fixups
2849 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2851 * inotify/inotify-helper.c: Don't export the lock from libgio.
2853 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2856 * abicheck.sh: Fix copy-and-paste leftovers
2858 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2860 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2862 2007-11-28 Alexander Larsson <alexl@redhat.com>
2866 Removed unnecessary file
2868 * gdesktopappinfo.[ch]:
2871 * glocaldirectorymonitor.[ch]:
2873 * glocalfileenumerator.[ch]:
2874 * glocalfileinputstream.[ch]:
2875 * glocalfilemonitor.[ch]:
2876 * glocalfileoutputstream.[ch]:
2878 * gnativevolumemonitor.c:
2879 * gpollfilemonitor.[ch]:
2880 * gunionvolumemonitor.[ch]:
2883 * gunixvolumemonitor.[ch]:
2886 * inotify/ginotifydirectorymonitor.[ch]:
2887 * inotify/ginotifyfilemonitor.[ch]:
2888 * inotify/inotify-helper.c:
2889 Append _ to all internal functions
2893 Export symbols needed for modules
2895 2007-11-28 Alexander Larsson <alexl@redhat.com>
2898 * abicheck.sh: Added.
2899 * makegioalias.pl: Added.
2900 * pltcheck.sh: Added.
2901 * gio.symbols: Added.
2904 Initial work on adding symbol handling.
2907 Correct ifdef guard name
2910 * inotify/Makefile.am:
2911 * xdgmime/Makefile.am:
2912 Include toplevel Makefile.decl
2914 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2916 * gcontenttype.c: Move doc comments to the unix section.
2918 * *.[hc]: More trivial doc corrections.
2920 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2922 * gpollfilemonitor.c:
2926 * gdesktopappinfo.c:
2931 * gdatainputstream.c:
2932 * gdatainputstream.h:
2933 * gdataoutputstream.c:
2934 * gdataoutputstream.h:
2935 * gfileinfo.h: Doc cleanups
2937 2007-11-28 Andre Klapper <a9016009@gmx.de>
2939 * gdesktopappinfo.c: Fix a typo.
2941 2007-11-27 Andre Klapper <a9016009@gmx.de>
2943 * glocalfileoutputstream.c: Fix a typo.
2945 2007-11-27 Alexander Larsson <alexl@redhat.com>
2948 Don't include removed headers
2950 2007-11-27 Alexander Larsson <alexl@redhat.com>
2953 * gsocketinputstream.[ch]: Removed.
2954 * gsocketoutputstream.[ch]: Removed.
2955 * gunixinputstream.[ch]: Added.
2956 * gunixoutputstream.[ch]: Added.
2957 Renamed GSocket*Stream to GUnix*Stream and made
2958 it unix-only, since its not really only for sockets
2959 and it only works on unix (but is highly useful there).
2961 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2967 * gbufferedinputstream.c:
2968 * gbufferedinputstream.h:
2969 * gbufferedoutputstream.c:
2970 * gbufferedoutputstream.h:
2974 * gdatainputstream.c:
2975 * gdatainputstream.h:
2976 * gdataoutputstream.c:
2977 * gdataoutputstream.h:
2978 * gdirectorymonitor.c:
2979 * gdirectorymonitor.h:
2986 * gfileenumerator.c:
2987 * gfileenumerator.h:
2992 * gfileinputstream.c:
2993 * gfileinputstream.h:
2996 * gfilenamecompleter.c:
2997 * gfilenamecompleter.h:
2998 * gfileoutputstream.c:
2999 * gfileoutputstream.h:
3000 * gfilterinputstream.c:
3001 * gfilterinputstream.h:
3002 * gfilteroutputstream.c:
3003 * gfilteroutputstream.h:
3016 * glocalfileoutputstream.c:
3017 * gmemoryinputstream.c:
3018 * gmemoryinputstream.h:
3019 * gmemoryoutputstream.c:
3020 * gmemoryoutputstream.h:
3021 * gmountoperation.c:
3022 * gmountoperation.h:
3025 * gpollfilemonitor.c:
3028 * gsimpleasyncresult.c:
3029 * gsimpleasyncresult.h:
3030 * gsocketinputstream.c:
3031 * gsocketinputstream.h:
3032 * gsocketoutputstream.c:
3033 * gsocketoutputstream.h:
3040 * gunixvolumemonitor.c:
3049 Bumps documentation to 93% symbol coverage, touching most
3050 of the public files. Fixes broken function documentation prototypes.
3051 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3052 gtk-doc headers in private files.
3054 2007-11-27 Jürg Billeter <j@bitron.ch>
3056 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3057 (g_buffered_input_stream_read_byte):
3058 * gbufferedinputstream.h:
3059 New functions for efficient access to buffer and simple single byte
3062 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3063 (g_data_input_stream_read_until):
3064 * gdatainputstream.h:
3065 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3066 read_until with multiple stop chars.
3068 2007-11-27 Alexander Larsson <alexl@redhat.com>
3072 * inotify/Makefile.am:
3073 Use the user-specified giomoduledir
3075 2007-11-27 Alexander Larsson <alexl@redhat.com>
3079 Add catch-all gio.h header
3080 Don't install gdummyfile.h
3082 2007-11-26 Alexander Larsson <alexl@redhat.com>
3084 * Makefile.am (gioinclude_HEADERS):
3085 Remove trailing whitespace
3087 2007-11-26 Alexander Larsson <alexl@redhat.com>
3089 Merge gio-standalone into glib
3091 2007-11-25 Christian Kellner <gicmo@gnome.org>
3093 * gio/goutputstream.c:
3094 Fix small mistake in the docs.
3096 2007-11-21 Christian Persch <chpe@gnome.org>
3098 * gio/glocalfile.c: (g_local_file_trash):
3099 Convert filenames to UTF-8 for GError.
3100 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3101 as per xdg base dir spec.
3103 2007-11-21 Christian Persch <chpe@gnome.org>
3105 * gio/gdesktopappinfo.c:
3106 Use that g_key_file_to_data cannot fail.
3108 Use stock defines for the key file group and key names.
3111 2007-11-21 Alexander Larsson <alexl@redhat.com>
3114 (copy_stream_with_progress):
3115 Make sure we do a final progress callback with
3116 the full total size.
3118 2007-11-21 Alexander Larsson <alexl@redhat.com>
3121 Export g_file_copy_attributes
3122 Remove padding as its not needed for interfaces
3124 2007-11-20 Alexander Larsson <alexl@redhat.com>
3129 Add G_IO_ERROR_WOULD_MERGE for
3130 copy/move dir on dir with overwrite.
3132 2007-11-20 Alexander Larsson <alexl@redhat.com>
3135 * gio/glocalfileinfo.c:
3136 Add COPY_NAME (this is an optional
3137 non-modified utf8 version of the name) that
3140 2007-11-20 Alexander Larsson <alexl@redhat.com>
3142 * gio/glocalfileenumerator.c:
3143 Report errors as GIOError, not GFileError
3145 2007-11-16 Alexander Larsson <alexl@redhat.com>
3147 * gio/glocalfileoutputstream.c:
3148 * gio/gwin32appinfo.c:
3149 Fix typos in strings.
3150 Patch from Luca Ferretti <elle.uca@libero.it>
3152 2007-11-15 Alexander Larsson <alexl@redhat.com>
3155 Post release version bump
3157 === gio-standalone 0.1.2 ===
3159 2007-11-15 Alexander Larsson <alexl@redhat.com>
3161 * docs/reference/gio/Makefile.am:
3162 Fix up distcheck by removing weird
3168 2007-11-14 Alexander Larsson <alexl@redhat.com>
3170 * gio/gdesktopappinfo.c:
3171 * gio/glocaldirectorymonitor.c:
3173 * gio/glocalfileinfo.c:
3174 * gio/inotify/inotify-sub.c:
3175 * programs/gio-cat.c:
3176 * programs/gio-copy.c:
3177 * programs/gio-info.c:
3178 * programs/gio-ls.c:
3179 * programs/gio-monitor-dir.c:
3180 * programs/gio-monitor-file.c:
3181 * programs/gio-mount.c:
3182 * programs/gio-move.c:
3183 * programs/gio-rm.c:
3184 * programs/gio-save.c:
3185 * programs/gio-trash.c:
3186 Leak fixes from Kjartan Maraas
3188 2007-11-14 Alexander Larsson <alexl@redhat.com>
3190 * gio/fam/fam-helper.c:
3192 * gio/glocalfileinfo.c:
3196 * gio/inotify/inotify-diag.c:
3197 * gio/inotify/inotify-kernel.c:
3198 Various code cleanups from Kjartan Maraas
3200 2007-11-14 Alexander Larsson <alexl@redhat.com>
3202 * gio/gioscheduler.c:
3204 Set up threadpool so that we cache 2 unused
3205 idle threads for at 15 secs. This means we
3206 will reuse thread-local data (like dbus connections)
3209 2007-11-14 Alexander Larsson <alexl@redhat.com>
3211 * gio/fam/fam-helper.c:
3212 * gio/fam/gfamdirectorymonitor.c:
3213 * gio/fam/gfamfilemonitor.c:
3215 * gio/gcontenttype.c:
3216 * gio/gdatainputstream.c:
3217 * gio/gdataoutputstream.c:
3221 * gio/gfileattribute.h:
3222 * gio/gfileenumerator.c:
3224 * gio/ginputstream.c:
3227 * gio/glocalfileinfo.c:
3228 * gio/goutputstream.c:
3229 * gio/gpollfilemonitor.c:
3230 * gio/gsimpleasyncresult.c:
3231 * gio/gunixmounts.c:
3232 * gio/gunixmounts.h:
3233 * gio/inotify/ginotifydirectorymonitor.c:
3234 * gio/inotify/ginotifyfilemonitor.c:
3235 * gio/inotify/inotify-diag.c:
3236 * gio/inotify/inotify-kernel.c:
3237 * gio/inotify/inotify-path.c:
3239 * gio/test-streams.c:
3240 * programs/gio-info.c:
3241 * programs/gio-monitor-dir.c:
3242 * programs/gio-monitor-file.c:
3243 Various code cleanups from Kjartan Maraas
3245 2007-11-13 Alexander Larsson <alexl@redhat.com>
3248 Handle the uri-scheme calls for dummy files
3250 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3252 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3253 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3254 to avoid clash with the C++ keyword.
3256 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3258 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3259 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3261 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3263 * gio/glocaldirectorymonitor.c:
3264 * gio/glocalfilemonitor.c:
3265 * gio/gunionvolumemonitor.c:
3266 Don't use g_once_init_*() for initializations that could fail and
3267 could leave the initialization variable set to 0 but use GOnce.
3268 This prevents a deadlock on the second call when trying to create
3269 a monitor and no monitor type is available. Thanks to Sven Herzberg
3272 2007-11-11 Sven Herzberg <sven@imendio.com>
3274 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3275 #ifdef (make it work on MacOS X again)
3277 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3279 Fixes Changelog for last two commits (sorry guys).
3281 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3283 * gio/gbufferedinputstream.c:
3284 * gio/gdatainputstream.c:
3286 * gio/gfileoutputstream.c:
3287 * gio/gfilterinputstream.c:
3288 * gio/glocalfileinputstream.c:
3291 More consistency fixes in g*stream.c files.
3292 Significant clean of gfile's documentation, filling in of
3293 asynchronous operations documentation.
3295 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3297 * gio/gasyncresult.c:
3298 * gio/gbufferedinputstream.c:
3299 * gio/gbufferedoutputstream.c:
3300 * gio/gcancellable.c:
3301 * gio/gcontenttype.c:
3302 * gio/gdatainputstream.c:
3303 * gio/gdataoutputstream.c:
3304 * gio/gdesktopappinfo.c:
3307 * gio/gfileattribute.c:
3308 * gio/gio/gfileenumerator.c:
3310 * gio/gfileinputstream.c:
3311 * gio/gfilemonitor.c:
3312 * gio/gfileoutputstream.c:
3313 * gio/ginputstream.c:
3315 * gio/gioscheduler.c:
3316 * gio/gloadableicon.c:
3317 * gio/glocalfileoutputstream.c:
3318 * gio/gmemoryoutputstream.c:
3319 * gio/gmountoperation.c:
3320 * gio/goutputstream.c:
3322 * gio/gsimpleasyncresult.c:
3323 * gio/gunionvolumemonitor.c:
3324 * gio/gunixmounts.c:
3325 * gio/gunixvolume.c:
3329 * gio/gvolumemonitor.c:
3330 Updated documentation stubs, working towards consistency and
3333 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3335 * gio/gmemoryoutputstream.c:
3336 * gio/gmemoryoutputstream.h:
3337 Change g_memory_output_stream_set_free_on_close() to
3338 g_memory_output_stream_set_free_data() as this makes more sense and
3339 is more consistent with GMemoryInputStream.
3341 2007-11-07 Alexander Larsson <alexl@redhat.com>
3348 Change how we find the default vfs so that
3349 we can handle a gvfs failing to init
3351 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3353 * gio/gbufferedoutputstream.c:
3354 * gio/gdatainputstream.c:
3355 * gio/gdataoutputstream.c:
3356 * gio/gfileinputstream.c:
3357 * gio/gfileoutputstream.c:
3358 * gio/gfilterinputstream.c:
3359 * gio/gfilteroutputstream.c:
3360 * gio/ginputstream.c:
3361 * gio/gmemoryinputstream.c:
3362 * gio/gmemoryoutputstream.c:
3363 * gio/goutputstream.c:
3364 * gio/gsimpleasyncresult.c:
3365 * gio/gsocketinputstream.c:
3366 * gio/gsocketoutputstream.c:
3367 Add guards to the remaining public functions, add a TODO for
3368 an unimplemented function and remove some useless guards.
3370 2007-11-07 Alexander Larsson <alexl@redhat.com>
3373 Autoconf checks for the various types of
3374 getpwuid_r and getgrgid_r
3376 * gio/glocalfileinfo.c:
3377 Use the autoconf checks from above
3379 2007-11-07 Alexander Larsson <alexl@redhat.com>
3382 (g_local_file_query_filesystem_info):
3383 Some fixes for the statvfs case
3385 2007-11-07 Alexander Larsson <alexl@redhat.com>
3388 (g_local_file_query_filesystem_info):
3389 Pick the "best" of statfs / statvfs for the system
3390 if both are availible.
3392 2007-11-07 Alexander Larsson <alexl@redhat.com>
3394 Solaris fixes from Halton.Huo@Sun.COM:
3401 * gio/glocalfileinfo.c:
3402 Fix for solaris definition of getpwuid_r
3404 * gio/test-streams.c:
3405 Use G_GNUC_PRETTY_FUNCTION
3407 2007-11-07 Alexander Larsson <alexl@redhat.com>
3409 * gio/gdesktopappinfo.c:
3410 (update_default_list):
3411 Remove double semicolon.
3412 Patch from Jens Granseuer
3414 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3416 * docs/reference/gio/gio-sections.txt:
3417 * gio/gbufferedinputstream.c:
3418 * gio/gbufferedinputstream.h:
3419 * gio/gdatainputstream.c:
3420 * gio/gfileenumerator.c:
3421 * gio/gioscheduler.c:
3422 * gio/gunionvolumemonitor.c:
3424 * programs/gio-save.c:
3425 Fix typo: availible -> available. Unfortuntely this breaks API
3426 and ABI as g_buffered_input_stream_get_available() was renamed.
3428 * gio/gunixmounts.c:
3429 * gio/gbufferedinputstream.c:
3430 Add guards for public functions.
3432 2007-11-06 Ross Burton <ross@openedhand.com>
3434 * docs/reference/gio/Makefile.am:
3435 Fix invalid += usage which automake 1.10 doesn't like.
3437 2007-11-06 Alexander Larsson <alexl@redhat.com>
3440 (g_app_launch_context_class_init):
3443 Patch from Ross Burton
3445 2007-11-06 Alexander Larsson <alexl@redhat.com>
3448 Post release version bump
3450 === gio-standalone 0.1.1 ===
3452 2007-11-06 Alexander Larsson <alexl@redhat.com>
3455 Bump version to 0.1.1
3457 * gio/gsimpleasyncresult.c:
3458 (g_simple_async_result_set_from_error):
3459 Remove bogus g_return_if_fail
3461 2007-11-06 Alexander Larsson <alexl@redhat.com>
3464 The name is gio-standalone
3467 Add top src/builddir to includedir
3469 2007-11-06 Alexander Larsson <alexl@redhat.com>
3471 * docs/reference/gio/gio-sections.txt:
3473 * gio/gbufferedinputstream.c:
3474 * gio/gbufferedoutputstream.c:
3475 * gio/gcancellable.c:
3476 * gio/gdatainputstream.h:
3477 * gio/gdataoutputstream.c:
3478 * gio/gdataoutputstream.h:
3479 * gio/gdirectorymonitor.c:
3481 * gio/gfileattribute.c:
3482 * gio/gfileattribute.h:
3483 * gio/gfileenumerator.c:
3484 * gio/gfileenumerator.h:
3487 * gio/gfileinputstream.h:
3488 * gio/gfilemonitor.c:
3489 * gio/gfileoutputstream.h:
3490 * gio/glocalfilemonitor.h:
3491 * gio/glocalfileoutputstream.h:
3492 * gio/gmemoryinputstream.c:
3493 * gio/gmemoryoutputstream.c:
3494 * gio/gmountoperation.c:
3495 * gio/goutputstream.c:
3496 * gio/goutputstream.h:
3498 * gio/gsimpleasyncresult.c:
3499 * gio/gunixmounts.c:
3500 * gio/gunixmounts.h:
3502 * gio/inotify/inotify-helper.c:
3503 Fix gtk-doc warnings
3505 Patch from Ross Burton
3507 2007-11-06 Alexander Larsson <alexl@redhat.com>
3509 * gio/gfilenamecompleter.c:
3510 (g_filename_completer_get_completions):
3513 * gio/gunixvolume.c:
3514 Remove unused function
3516 Patches from Ross Burton
3518 2007-11-06 Alexander Larsson <alexl@redhat.com>
3523 Padding not needed for interfaces
3525 2007-11-06 Alexander Larsson <alexl@redhat.com>
3527 * gio/gfilemonitor.c:
3531 Make giotypes.h an internal file
3534 * gio/gbufferedinputstream.h:
3535 * gio/gbufferedoutputstream.h:
3536 * gio/gcancellable.h:
3537 * gio/gdatainputstream.h:
3538 * gio/gdataoutputstream.h:
3539 * gio/gdirectorymonitor.c:
3540 * gio/gdirectorymonitor.h:
3545 * gio/gfileattribute.h:
3546 * gio/gfileenumerator.h:
3551 * gio/gfilemonitor.c:
3552 * gio/gfilemonitor.h:
3553 * gio/gfilenamecompleter.c:
3554 * gio/gfilenamecompleter.h:
3555 * gio/gfilterinputstream.h:
3556 * gio/gfilteroutputstream.h:
3557 * gio/ginputstream.h:
3558 * gio/gmemoryinputstream.h:
3559 * gio/gmemoryoutputstream.h:
3560 * gio/gmountoperation.c:
3561 * gio/gmountoperation.h:
3562 * gio/gnativevolumemonitor.c:
3563 * gio/goutputstream.h:
3566 * gio/gsimpleasyncresult.c:
3567 * gio/gsimpleasyncresult.h:
3568 * gio/gsocketinputstream.h:
3569 * gio/gsocketoutputstream.h:
3570 * gio/gthemedicon.c:
3571 * gio/gthemedicon.h:
3575 * gio/gvolumemonitor.c:
3576 * gio/gvolumemonitor.h:
3577 Add padding in classes where it seems useful
3578 Don't include giotypes.h from public headers
3579 Move in Class definitions into c file where possible
3584 2007-11-06 Alexander Larsson <alexl@redhat.com>
3586 * docs/reference/gio/gio-docs.xml:
3587 Better structure for API docs
3589 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3592 * gio/gloadableicon.c:
3593 * gio/gsimpleasyncresult.c:
3594 * gio/gthemedicon.c:
3595 Add some more guards to public functions. Only files missing are now
3598 2007-11-06 Alexander Larsson <alexl@redhat.com>
3600 * docs/reference/gio/gio-docs.xml:
3601 Remove old files, add missing ones
3603 2007-11-06 Alexander Larsson <alexl@redhat.com>
3605 * docs/reference/gio/gio-sections.txt:
3608 Hide implementation classes
3610 * gio/gdriveprivate.h:
3611 * gio/gvolumeprivate.h:
3612 Remove non-existing function declarations
3614 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3617 Fix compilation warnings and add guards to the new functions.
3619 * gio/gasyncresult.c:
3621 Add guards to the public functions.
3624 Implement get_path().
3626 2007-11-06 Alexander Larsson <alexl@redhat.com>
3628 * gio/gfilenamecompleter.c:
3629 Make g_filename_completer_get_completions
3630 return char ** instead of GList for
3633 * docs/reference/gio/gio-docs.xml:
3634 * docs/reference/gio/gio-sections.txt:
3636 * gio/gasyncresult.c:
3637 * gio/gbufferedinputstream.c:
3638 * gio/gbufferedoutputstream.c:
3639 * gio/gcancellable.c:
3640 * gio/gcontenttype.c:
3641 * gio/gdatainputstream.c:
3642 * gio/gdataoutputstream.c:
3643 * gio/gdesktopappinfo.c:
3644 * gio/gdirectorymonitor.c:
3648 * gio/gfileattribute.c:
3649 * gio/gfileenumerator.c:
3652 * gio/gfileinputstream.c:
3653 * gio/gfilemonitor.c:
3654 * gio/gfilenamecompleter.c:
3655 * gio/gfilenamecompleter.h:
3656 * gio/gfileoutputstream.c:
3657 * gio/gfilterinputstream.c:
3659 * gio/ginputstream.c:
3661 * gio/gioscheduler.c:
3662 * gio/gloadableicon.c:
3663 * gio/glocaldirectorymonitor.c:
3665 * gio/glocalfileinputstream.c:
3666 * gio/glocalfilemonitor.c:
3667 * gio/glocalfileoutputstream.c:
3669 * gio/gmemoryinputstream.c:
3670 * gio/gmemoryoutputstream.c:
3671 * gio/gmountoperation.c:
3672 * gio/goutputstream.c:
3673 * gio/gpollfilemonitor.c:
3675 * gio/gsimpleasyncresult.c:
3676 * gio/gsocketinputstream.c:
3677 * gio/gsocketoutputstream.c:
3678 * gio/gthemedicon.c:
3679 * gio/gunionvolumemonitor.c:
3681 * gio/gunixmounts.c:
3682 * gio/gunixvolume.c:
3683 * gio/gunixvolumemonitor.c:
3687 * gio/gvolumemonitor.c:
3688 * gio/gwin32appinfo.c:
3689 Add (mostly stub) doc strings to public functions.
3690 Patch from Andrew Walton (awalton@gmail.com)
3692 2007-11-06 Alexander Larsson <alexl@redhat.com>
3694 * gio/gappinfo.[ch]:
3695 Added GAppLaunchContext object and pass that to launch.
3696 This allows simple implementation of both
3697 launch-on-screen and startup notification via a gtk+
3698 subclass of GAppLaunchContext
3700 * gio/gdesktopappinfo.c:
3701 Implement GAppLaunchContext API
3703 * gio/gwin32appinfo.c:
3706 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3708 * gio/gmountoperation.c:
3709 Add some guards to GMountOperation's public functions.
3711 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3715 * gio/gcancellable.c:
3716 * gio/gdirectorymonitor.c:
3718 * gio/gfileenumerator.c:
3719 * gio/gfilemonitor.c:,
3720 * gio/gfilenamecompleter.c:
3723 * gio/gioscheduler.c:
3727 * gio/gvolumemonitor.c:
3728 Add even more guards to various public functions.
3730 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3733 Add guards to the public functions of GAppInfo.
3735 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3737 * gio/gcontenttype.c:
3738 Add some more guards for public functions.
3740 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3742 * gio/fam/fam-module.c:
3743 * gio/fam/gfamdirectorymonitor.c:
3744 * gio/fam/gfamdirectorymonitor.h:
3745 * gio/fam/gfamfilemonitor.c:
3746 * gio/fam/gfamfilemonitor.h:
3747 * gio/inotify/ginotifydirectorymonitor.c:
3748 * gio/inotify/ginotifydirectorymonitor.h:
3749 * gio/inotify/ginotifyfilemonitor.c:
3750 * gio/inotify/ginotifyfilemonitor.h:
3751 Add proper copyright information and remove an unused variable
3752 in the GInotifyFileMonitor constructor.
3754 * gio/gcancellable.c:
3755 Add a guard for a public function and an assertion to prevent
3756 an undefined program state.
3758 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3760 * gio/gfileattribute.c:
3761 Don't run into an assertion if the given attribute value is NULL
3762 in g_file_attribute_value_get_*() but instead return a fallback
3763 value that makes sense in most situations. Passing them a attribute
3764 value with the wrong type will still run into an assertion.
3766 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3768 * gio/gfileattribute.c:
3770 Add even more guards to the public functions. Also fix the refcounting
3771 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3772 let g_file_info_list_attributes() filter the attributes by namespace
3773 instead of simply ignoring the namespace parameter.
3775 2007-11-03 Sven Herzberg <sven@imendio.com>
3777 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3778 (This makes gio work on MacOS X again)
3780 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3783 Build the gio subdirectory before the docs. Otherwise the build will
3786 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3787 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3788 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3789 Add guards to the public functions.
3791 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3794 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3795 to prevent a compiler warning.
3797 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3798 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3799 return something in the non-void function find_topdir_for().
3801 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3808 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3810 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3811 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3812 * gwin32appinfo.c (g_win32_app_info_launch):
3813 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3814 envp_for_startup_id, g_desktop_app_info_launch,
3815 g_desktop_app_info_launch_uris):
3817 Give an opaque 'startup_id' string instead of 'envp'.
3818 Support empty file lists for launching new windows.
3819 Fix infinite recursion bug when launching URIs.
3821 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3824 Add guard to the new g_file_get_uri_scheme() function.
3826 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3829 Convert a g_return_val_if_fail() to setting the GError instead as
3830 otherwise applications have to verify the parameter before otherwise
3831 and the parameter might come directly from the user.
3833 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3835 * gio/inotify/ginotify*.[ch]:
3836 Add missing copyright information.
3838 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3841 Add guards in the beginning of public functions to check for valid
3842 parameters and fix a bug in copy_stream_with_progress() that could've
3843 caused writing less bytes than reading.
3844 * gio/glocalfileinfo.c:
3845 Check for a NULL parameter and set the GError accordingly then.
3846 * gio/goutputstream.c:
3847 Fix the same bug as in gfile.c that could've caused writing less bytes
3848 than reading in g_output_stream_real_splice().
3850 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3853 Use the correct gvolumeprivate.h naming
3855 2007-11-01 Christian Kellner <gicmo@gnome.org>
3858 Remove leftover "$(daemon_sources)" entry.
3860 2007-11-01 Christian Kellner <gicmo@gnome.org>
3865 Add copyright information to source files.
3867 2007-11-01 Alexander Larsson <alexl@redhat.com>
3871 Add g_file_get_uri_scheme
3873 2007-11-01 Alexander Larsson <alexl@redhat.com>
3876 * gio/gdesktopappinfo.c:
3877 * gio/gwin32appinfo.c:
3878 Add g_app_info_get_default_for_uri_scheme.
3880 2007-11-01 Alexander Larsson <alexl@redhat.com>
3883 Correct filename for gdriveprivate.h
3885 2007-10-31 Alexander Larsson <alexl@redhat.com>
3888 Rename id:value to id:file
3891 * gio/glocalfileinfo.c:
3894 2007-10-31 Alexander Larsson <alexl@redhat.com>
3896 * gio/gunixvolume.c:
3898 Remove g_volume_get_platform_id, as thats not
3899 needed with the simpler union volume monitor
3901 2007-10-31 Alexander Larsson <alexl@redhat.com>
3904 * gio/guniondrive.[ch]: Removed.
3905 * gio/gunionvolume.[ch]: Removed.
3906 Remove GUnionDrive/Volume
3908 * gio/gunionvolumemonitor.c:
3909 Simplify union volume monitor, now we
3910 only have one native volume monitor and
3911 we use the actual volumes/drives from the
3912 child monitors instead of wrapping them
3914 * gio/gnativevolumemonitor.[ch]:
3915 Base class for native volume monitors.
3916 Includes priority and get_volume_for_mountpoint
3919 Add g_file_find_enclosing_volume
3922 Remove volume name fs attribute
3923 Add readonly fs attribute
3926 Implement readonly attribute
3927 remove volume name attribute
3928 Implement find_enclosing volume
3930 * gio/gunixmounts.c:
3931 Add a volume for "/".
3933 * gio/gunixvolume.[ch]:
3934 Set better name for /
3936 * gio/gunixvolumemonitor.[ch]:
3937 Derive from GNativeVolumeMonitor
3938 Implement get_volume_for_mountpoint
3941 GVolume typedef moved to gfile.h
3943 * gio/gvolumeprivate.h:
3944 Add g_volume_get_for_mount_path
3946 2007-10-31 Alexander Larsson <alexl@redhat.com>
3948 * gio/gunixmounts.[ch]:
3949 Add cache info to unix mount listers
3950 Make getmntent use threadsafe
3951 Add is_system_internal attribute for GUnixMount
3953 * gio/gunixvolume.c:
3954 (g_unix_volume_new):
3955 Use is_system_internal instead of own code
3957 * gio/glocaldirectorymonitor.c:
3958 * gio/gunixvolumemonitor.c:
3959 Update to new gunixmounts API
3964 2007-10-30 Alexander Larsson <alexl@redhat.com>
3967 Add volume name fsinfo attribute
3970 Read volume name info
3972 * gio/gunionvolumemonitor.c:
3973 Fix infinite loops when finalizing a union volume monitor
3975 2007-10-30 Alexander Larsson <alexl@redhat.com>
3977 * gio/goutputstream.[ch]:
3978 Add splice() with default implementation
3980 * gio/gsocketoutputstream.c:
3981 (g_socket_output_stream_write):
3982 Return error on cancellation correctly.
3984 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3986 * gio/glocalfile.c (g_local_file_trash):
3987 Do not leak a string.
3989 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3991 * gio/gfile.c (g_file_load_contents):
3992 Unref the stream after closing it.
3994 2007-10-25 Alexander Larsson <alexl@redhat.com>
3996 * gio/gioscheduler.h:
3999 2007-10-25 Alexander Larsson <alexl@redhat.com>
4003 Add g_file_has_uri_scheme and implement for local files
4005 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4007 * gio/gdesktopappinfo.c: do not leak a string.
4009 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4011 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4012 (g_local_directory_monitor_new):
4013 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4014 (g_local_file_monitor_new):
4015 Only look for the monitor type that should be used the first time
4016 and use g_qsort_with_data() instead of our own bubble sort
4019 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4022 * gio/fam/Makefile.am:
4023 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4024 * gio/fam/fam-helper.h:
4025 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4026 * gio/fam/gfamdirectorymonitor.c:
4027 * gio/fam/gfamdirectorymonitor.h:
4028 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4029 * gio/fam/gfamfilemonitor.h:
4030 * gio/glocaldirectorymonitor.c:
4031 * gio/glocaldirectorymonitor.h:
4032 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4033 * gio/glocalfilemonitor.h:
4034 * gio/inotify/Makefile.am:
4035 * gio/inotify/ginotifydirectorymonitor.c:
4036 * gio/inotify/ginotifydirectorymonitor.h:
4037 * gio/inotify/ginotifyfilemonitor.c:
4038 * gio/inotify/ginotifyfilemonitor.h:
4039 Implement the FAM and Inotify monitors as
4040 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4041 their own GIO module. GLocal(Directory|File)Monitor will use the
4042 monitor with the highest rank that is supported on that machine.
4044 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4047 Change GIO module dir to $(libdir)/gio/modules and change
4048 the log domain from GVFS to GIO. Also only export symbols starting
4049 with g_ in the resulting library.
4050 * gio/test-streams.c: (main):
4051 Set log handler for the GIO log domain.
4053 2007-10-22 Alexander Larsson <alexl@redhat.com>
4055 * gio/gfilenamecompleter.[ch]:
4056 Add g_filename_completer_set_dirs_only
4058 2007-10-22 Alexander Larsson <alexl@redhat.com>
4061 * gio/gurifuncs.[ch]:
4062 Add some simple URI helpers
4064 * gio/gfilenamecompleter.[ch]:
4065 Added object for filename (parse name actually) completion
4068 Handle ~ in parse names
4070 2007-10-17 Alexander Larsson <alexl@redhat.com>
4073 * gio/glocalfileinfo.c:
4074 Add and implement id:value attribute
4076 2007-10-17 Alexander Larsson <alexl@redhat.com>
4079 * gio/guniondrive.c:
4081 Add and implement g_drive_has_volumes
4083 2007-10-17 Alexander Larsson <alexl@redhat.com>
4086 * gio/glocalfileinfo.[ch]:
4087 Add unix:is_mountpoint and implement for local files
4089 2007-10-16 Alexander Larsson <alexl@redhat.com>
4091 * gio/gunionvolumemonitor.c:
4092 (g_union_volume_monitor_init):
4093 Fix up the unix type getting so that it works with gcc
4095 2007-10-12 Alexander Larsson <alexl@redhat.com>
4098 * gio/glocalfileinfo.c:
4099 Add thumbnail:failed to file info
4101 2007-10-12 Richard Hult <richard@imendio.com>
4103 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4104 optimizing away the get_type call (happens with some gcc versions,
4105 like the one shipped with OS X 10.4).
4107 2007-10-12 Alexander Larsson <alexl@redhat.com>
4109 * gio/glocalfileinfo.c:
4110 (_g_local_file_info_set_attribute):
4111 Fix build if not HAVE_XATTR
4112 Patch from Milosz Derezynski <internalerror@gmail.com>
4114 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4116 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4117 around for review, otherwise I would have asked you before
4120 2007-10-11 Alexander Larsson <alexl@redhat.com>
4123 Add thumbnail:path attribute
4125 * gio/glocalfileinfo.c:
4126 Implement thumbnail:path for local files
4128 2007-10-11 Alexander Larsson <alexl@redhat.com>
4130 * gio/glocalfileinfo.c:
4131 (_g_local_file_info_get):
4132 Avoid duplicate icon names
4134 2007-10-11 Alexander Larsson <alexl@redhat.com>
4136 * gio/gthemedicon.[ch]:
4137 Change g_themed_icon_get_names return type to const
4139 2007-10-10 Alexander Larsson <alexl@redhat.com>
4141 * gio/glocalfileinfo.c:
4142 Don't reference freed memory
4144 2007-10-10 Alexander Larsson <alexl@redhat.com>
4146 * gio/gfileattribute.c:
4149 * gio/glocalfileinfo.c:
4152 2007-10-10 Alexander Larsson <alexl@redhat.com>
4155 Check for NULL icons
4157 * gio/gfileattribute.c:
4158 Don't dup when getting objects (same as for string attributes)
4160 * gio/gicon.c (g_icon_equal):
4161 Safely handle NULLs in equal
4163 2007-10-10 Alexander Larsson <alexl@redhat.com>
4166 Fix c++ compilation issues
4167 Patch from Milosz Derezynski <internalerror@gmail.com>
4169 2007-10-10 Alexander Larsson <alexl@redhat.com>
4171 * programs/gio-monitor-dir.c:
4172 Don't crash if dir monitor not supported.
4174 2007-10-09 Alexander Larsson <alexl@redhat.com>
4177 Add missing G_END_DECLS
4179 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4181 * gio/gfile.c: (g_file_set_display_name),
4182 (g_file_query_settable_attributes),
4183 (g_file_query_writable_namespaces):
4184 Return NULL not FALSE on errors as the return type is a pointer.
4186 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4188 * gio/glocalfile.c: (g_local_file_monitor_file):
4189 Don't call monitor_file on the default interface vtable (which
4190 is NULL) but simply return NULL. The caller, GFile, will create a
4191 polling monitor if NULL is returned.
4193 2007-10-09 Alexander Larsson <alexl@redhat.com>
4197 * gio-unix-2.0.pc.in:
4198 Add gio-unix-2.0.pc if OS_UNIX
4201 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4203 2007-10-09 Alexander Larsson <alexl@redhat.com>
4205 * gio/gunixmounts.[ch]:
4206 Make unix mount monitoring API sane.
4207 Now its just a object with mounts_changed
4208 and mountpoints_changed signals.
4210 * gio/glocaldirectorymonitor.c:
4211 * gio/gunixvolumemonitor.c:
4212 Use new mount monitor api
4214 2007-10-09 Alexander Larsson <alexl@redhat.com>
4216 * gio/gunixmounts.[ch]:
4217 Move guess type into one call for mounts and one for mountpoints
4220 * gio/gunixvolume.c:
4223 2007-10-09 Alexander Larsson <alexl@redhat.com>
4225 * gio/gunixmounts.[ch]:
4226 Remove _ prefix in preparation to make this semi-public
4227 Hide implementation of structs
4229 * gio/glocaldirectorymonitor.c:
4231 * gio/gunixvolume.c:
4232 * gio/gunixvolumemonitor.c:
4233 Update for above API changes
4235 2007-10-08 Alexander Larsson <alexl@redhat.com>
4238 Better polling fallback. This also handles the case where we have
4239 a monitor_file implementation, but it fails.
4241 2007-10-08 Alexander Larsson <alexl@redhat.com>
4245 * gio/gunixmounts.c:
4246 * programs/gio-monitor-dir.c:
4247 * programs/gio-monitor-file.c:
4248 Added cancellable to file monitoring calls.
4249 These are really sync calls and need this.
4251 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4253 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4254 (g_local_vfs_class_init):
4255 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4256 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4258 2007-10-05 Alexander Larsson <alexl@redhat.com>
4260 * gio/gdirectorymonitorprivate.h:
4261 * gio/gfilemonitorprivate.h:
4262 * gio/gdirectorymonitor.h:
4263 * gio/gfilemonitor.h:
4264 Remove *private.h and move to the public API, so that
4265 we can do implementations outside gio (such as in gvfs)
4267 * gio/gdirectorymonitor.c:
4268 * gio/gfilemonitor.c:
4269 * gio/glocaldirectorymonitor.c:
4270 * gio/gpollfilemonitor.c:
4271 * gio/inotify/inotify-helper.c:
4272 * gio/fam/fam-helper.c:
4273 Update to the new header names
4275 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4277 * gio/gdirectorymonitor.c:
4278 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4281 2007-10-04 Alexander Larsson <alexl@redhat.com>
4283 * gio/glocalfileinfo.c (get_access_rights):
4284 Set CAN_TRASH when we can move the file.
4285 We should really also check for a parent trash dir.
4287 2007-10-04 Alexander Larsson <alexl@redhat.com>
4289 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4290 Add can_trash access attribute
4292 2007-10-04 Alexander Larsson <alexl@redhat.com>
4295 (g_local_file_trash):
4296 Create info file first. This is per-spec and allows
4297 us to actually trash directories.
4299 2007-10-02 Alexander Larsson <alexl@redhat.com>
4301 * gio/gdesktopappinfo.c:
4302 Implement the new mime support code.
4303 Always set app as handling mimetype when being set as default for it
4305 2007-10-01 Alexander Larsson <alexl@redhat.com>
4307 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4308 Fix up check for xattrs:
4310 2007-10-01 Alexander Larsson <alexl@redhat.com>
4313 (g_app_info_set_as_default_for_extension):
4314 (g_app_info_add_supports_type):
4315 (g_app_info_can_remove_supports_type):
4316 (g_app_info_remove_supports_type):
4317 Make these fail nicely if not implemented
4319 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4321 * gio/glocalfileoutputstream.c:
4322 * gio/glocalfileoutputstream.h:
4327 * programs/gio-save.c:
4328 Add a GFileCreateFlags argument to operations that can create
4331 2007-10-01 Alexander Larsson <alexl@redhat.com>
4333 * gio/gappinfo.[ch]:
4334 * gio/gdesktopappinfo.c:
4335 Add more (stubbed out) mime API needed for nautilus
4337 2007-10-01 Alexander Larsson <alexl@redhat.com>
4340 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4341 Add g_app_info_set_as_default_for_extension.
4343 * gio/gdesktopappinfo.c:
4344 Dummy for g_app_info_set_as_default_for_extension
4345 Support flags in g_app_info_create_from_commandline
4347 * gio/gwin32appinfo.c:
4349 Update for API changes
4351 * gio/gthemedicon.c:
4352 Properly NULL-terminate list of icon names
4354 2007-09-28 Alexander Larsson <alexl@redhat.com>
4356 * gio/gloadableicon.h:
4357 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4359 2007-09-28 Alexander Larsson <alexl@redhat.com>
4362 Install headers in $includedir/gio-standalone/
4364 * gio-2.0.pc.in: Added.
4365 * gio-standalone.pc.in: Removed.
4368 Renamed pkg-config file to match glib (for future move)
4369 Update to the new include dir
4372 Add more TODO comments
4374 2007-09-28 Alexander Larsson <alexl@redhat.com>
4376 * gio/gdesktopappinfo.[ch]:
4377 Expose new_from_filename
4378 Add getter for is_hidden and handle it better
4380 2007-09-28 Alexander Larsson <alexl@redhat.com>
4382 * gio/gfileinfo.[ch]:
4383 Rename g_file_size_format_for_display to
4384 g_format_file_size_for_display.
4385 Now it doesn't have the g_file prefix, so we
4386 can later move it to glib.
4388 2007-09-28 Alexander Larsson <alexl@redhat.com>
4390 * gio/gappinfo.[ch]:
4391 Add g_app_info_get_id and g_app_info_get_executable.
4392 Make all getters non-reffing
4393 Make g_app_info_launch take GFile arguments.
4394 Add must_support_uris argument to g_app_info_get_default_for_type.
4396 * gio/gwin32appinfo.c:
4397 Update to GAppInfo api changes
4399 * gio/gdesktopappinfo.c:
4400 Update to GAppInfo api changes
4401 Implement supports_xdg_startup_notify
4403 * gio/gfileicon.c (g_file_icon_get_file):
4404 Make getter non-reffing.
4409 2007-09-27 Alexander Larsson <alexl@redhat.com>
4411 * gio/gfileinfo.[ch]:
4412 Add g_file_size_format_for_display helper
4414 2007-09-27 Alexander Larsson <alexl@redhat.com>
4416 * gio/glocalfileinfo.c:
4417 Set UNIX_GID from gid, not from uid
4419 2007-09-27 Alexander Larsson <alexl@redhat.com>
4422 Add g_file_set_attributes_async
4424 2007-09-27 Alexander Larsson <alexl@redhat.com>
4426 * gio/glocalfile.c (g_local_file_set_display_name):
4427 Fix set_display_name to actually rename to the right place.
4428 Use lstat to look for existing files so we don't overwrite
4431 2007-09-26 Alexander Larsson <alexl@redhat.com>
4434 Add g_file_set_display_name_async()
4436 2007-09-26 Alexander Larsson <alexl@redhat.com>
4439 Add load_partial_contents async calls
4442 Make internal function static
4444 2007-09-26 Alexander Larsson <alexl@redhat.com>
4446 * gio/glocalfileinfo.c:
4447 Correctly detect broken symlinks
4449 2007-09-26 Alexander Larsson <alexl@redhat.com>
4451 * gio/gcancellable.c (g_cancellable_cancel):
4452 Allow cancel on NULL cancellable
4454 2007-09-25 Alexander Larsson <alexl@redhat.com>
4456 * gio/gsimpleasyncresult.c:
4457 Don't allocate g_error manually.
4458 Fixes g_slice/g_new mixup crash
4460 2007-09-25 Alexander Larsson <alexl@redhat.com>
4462 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4463 Actually set active_backend.
4464 This means the monitor will be cancelled correctly.
4466 2007-09-25 Alexander Larsson <alexl@redhat.com>
4468 * gio/gdirectorymonitor.c:
4469 Set timeout to NULL when destroying
4471 2007-09-25 Alexander Larsson <alexl@redhat.com>
4474 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4475 that is a better description of the error.
4477 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4479 * gio/gvfs.c: (g_vfs_get_local):
4480 Make the local vfs variable static. The same instance should
4483 2007-09-24 Alexander Larsson <alexl@redhat.com>
4485 * gio/glocalfileinfo.c:
4486 Pass in actual length read into sniffer, not the length
4489 2007-09-21 Alexander Larsson <alexl@redhat.com>
4491 * gio/gfileenumerator.c:
4494 * gio/gfileinputstream.c:
4495 * gio/gfileoutputstream.c:
4496 * gio/ginputstream.c:
4497 * gio/goutputstream.c:
4498 Don't crash if async callbacks are NULL
4500 2007-09-20 Alexander Larsson <alexl@redhat.com>
4503 Add async enumerate_children method and default
4506 2007-09-20 Alexander Larsson <alexl@redhat.com>
4509 Add g_file_contains_file & g_file_get_relative_path, since they
4510 were needed for nautilus.
4511 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4516 Implement new methods
4518 2007-09-17 Alexander Larsson <alexl@redhat.com>
4521 * gio/gfileinputstream.[ch]:
4522 * gio/gfileoutputstream.[ch]:
4524 * gio/glocalfileenumerator.[ch]:
4525 * gio/glocalfileinfo.[ch]:
4526 * gio/glocalfileinputstream.c:
4527 * gio/glocalfileoutputstream.c:
4528 * gio/gpollfilemonitor.c:
4529 * programs/gio-copy.c:
4530 * programs/gio-info.c:
4531 * programs/gio-move.c:
4532 Rename get_file_info to query_info() to make it clearer
4533 that these are not simple getters, but do i/o.
4535 2007-09-17 Alexander Larsson <alexl@redhat.com>
4537 * gio/gdatainputstream.[ch]:
4538 * gio/test-streams.c:
4539 Use _read_XXX instead of _get_XXX for the i/o calls
4542 2007-09-17 Alexander Larsson <alexl@redhat.com>
4545 Added needed stuff to TODO comment
4547 2007-09-17 Alexander Larsson <alexl@redhat.com>
4549 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4550 Don't error out removing the backup copy if it doesn't
4553 2007-09-14 Alexander Larsson <alexl@redhat.com>
4555 * programs/Makefile.am:
4556 * programs/gvfs-*.c:
4558 Renamed apps from gvfs-xxx to gio-xxx.
4560 2007-09-14 Alexander Larsson <alexl@redhat.com>
4563 * gio/gfileoutputstream.[ch]:
4564 * gio/glocalfileoutputstream.c:
4565 * programs/gvfs-save.c:
4566 g_file_output_stream_get_etag doesn't do i/o, so remove
4567 cancellation and error.
4569 2007-09-14 Alexander Larsson <alexl@redhat.com>
4572 Add new_etag output to replace_contents functions
4574 2007-09-14 Alexander Larsson <alexl@redhat.com>
4576 * gio/gfileoutputstream.[ch]:
4577 Add async get_file_info and default implementation
4579 2007-09-14 Alexander Larsson <alexl@redhat.com>
4581 * gio/gfileinputstream.c:
4582 Implement fallback wrapper for async get_file_info
4584 2007-09-14 Alexander Larsson <alexl@redhat.com>
4587 Add etag out argument to load_contents
4592 2007-09-14 Alexander Larsson <alexl@redhat.com>
4594 * gio/gcontenttype.c (looks_like_text):
4595 Whitespace like tab, cr and lf do not make the
4598 2007-09-14 Alexander Larsson <alexl@redhat.com>
4600 * gio/gfileinputstream.[ch]:
4601 Add async get_file_info.
4603 2007-09-13 Alexander Larsson <alexl@redhat.com>
4605 * gio/goutputstream.c (g_output_stream_write_all):
4606 Allow NULL for bytes_written
4608 2007-09-13 Alexander Larsson <alexl@redhat.com>
4610 * gio/gmemoryinputstream.[ch]:
4611 Add accessors for data
4613 2007-09-13 Alexander Larsson <alexl@redhat.com>
4615 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4616 Don't crash if length is NULL