1 2008-07-19 Matthias Clasen <mclasen@redhat.com>
3 543504 – crash in Epiphany Web Browser: Opening local file
14 * gvolume.c: Register types thread-safely.
15 Patch by Christian Persch
17 2008-07-18 Matthias Clasen <mclasen@redhat.com>
19 * gcontenttype.c: Remove debug spew
21 2008-07-18 Matthias Clasen <mclasen@redhat.com>
23 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
26 * fen/fen-kernel.c: Remove a warning that was causing
27 crashes. Reported by Lin Ma.
29 2008-07-18 Matthias Clasen <mclasen@redhat.com>
31 Bug 543040 – async reading on dummy file will crash on
34 * gfile.c (open_read_async_thread): Cope with read_fn being
35 NULL. Reported by Lin Ma.
37 2008-07-18 Matthias Clasen <mclasen@redhat.com>
40 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
42 2008-07-16 Matthias Clasen <mclasen@redhat.com>
46 * giomodule.c: Rename a chapter id to avoid filename conflict.
48 2008-07-16 Matthias Clasen <mclasen@redhat.com>
50 Bug 540616 – mem leak in filechooser button
52 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
53 the mount entry. Reported by Chrisitan Persch
55 2008-07-16 Matthias Clasen <mclasen@redhat.com>
57 * gfile.c: Small documentation fixes.
59 2008-07-15 Matthias Clasen <mclasen@redhat.com>
61 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
63 2008-07-08 Matthias Clasen <mclasen@redhat.com>
68 * gmount.c: Documentation improvements.
70 2008-07-08 Matthias Clasen <mclasen@redhat.com>
73 * gmount.[hc]: Add g_mount_guess_content_type().
75 2008-07-06 David Zeuthen <davidz@redhat.com>
78 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
79 is needed for easily handling adoption of foreign volumes by
80 out-of-process volume monitors (#541793)
82 2008-07-06 David Zeuthen <davidz@redhat.com>
84 * gvolumemonitor.[ch]:
85 * gunionvolumemonitor.c: Export the eject-button signal on the
86 volume monitor class (#541794).
88 2008-07-06 Matthias Clasen <mclasen@redhat.com>
90 * gappinfo.c: More doc tweaks
92 2008-07-05 Matthias Clasen <mclasen@redhat.com>
94 * gappinfo.c: Clarify some docs
96 2008-07-03 Matthias Clasen <mclasen@redhat.com>
98 * gdesktopappinfo.c: Fix a stupid mistake.
100 2008-07-02 Matthias Clasen <mclasen@redhat.com>
102 * === Released 2.17.3 ===
104 2008-07-02 Matthias Clasen <mclasen@redhat.com>
106 * gfilemonitor.c: Fix the build.
108 2008-07-02 Matthias Clasen <mclasen@redhat.com>
110 Bug 536160 – Add g_file_monitor()
113 * gfile.[hc]: Add g_file_monitor which can return either
114 a file or a directory monitor. Proposed by Behdad Esfahbod
116 2008-07-02 Matthias Clasen <mclasen@redhat.com>
118 536733 – gio build failure on Irix
120 * glocalfile.c: Use a configure check for structfs.f_bavail.
122 2008-07-02 Matthias Clasen <mclasen@redhat.com>
124 Bug 534639 – add g_desktop_app_info_new_from_keyfile
127 * gdesktopappinfo.[hc]: Add a function to create a
128 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
130 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
132 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
134 2008-07-01 Matthias Clasen <mclasen@redhat.com>
136 * gunixmounts.c: Fix a doc typo.
138 2008-07-01 Cody Russell <bratsche@gnome.org>
140 * gio/gcontenttype.c:
141 * gio/gwin32appinfo.c:
142 * gio/gwin32volumemonitor.c:
143 * gio/gwin32mount.c: Fixed some include problems.
145 2008-07-01 Cody Russell <bratsche@gnome.org>
149 Moved all relevant typedefs into these files.
152 Updated wrt added files.
154 Split types into separate file for easier maintainership. (#538564)
156 2008-06-30 Matthias Clasen <mclasen@redhat.com>
158 Bug 540331 – g_file_append_to () documentation: can return NULL
160 * gfile.c (g_file_append_to): Clarify docs.
163 2008-06-30 Matthias Clasen <mclasen@redhat.com>
165 Bug 539090 – g_content_type_from_mime_type() should unalias
167 * gcontentype.c (g_content_type_from_mime_type): Unalias.
168 Patch by Markus Bergman
170 2008-06-30 Matthias Clasen <mclasen@redhat.com>
172 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
175 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
176 on ppc and alpha. Reported by Mart Raudsepp
178 2008-06-29 Matthias Clasen <mclasen@redhat.com>
181 * tests/memory-output-stream.c: Add some tests for
184 2008-06-29 Matthias Clasen <mclasen@redhat.com>
186 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
189 * gmemoryoutputstream.c (array_resize): Handle truncation to
190 zero correctly. Reported by Akira Tagoh
192 2008-06-29 Matthias Clasen <mclasen@redhat.com>
194 * gmemoryoutputstream.c: Trivial doc fixes
196 2008-06-29 Matthias Clasen <mclasen@redhat.com>
198 Bug 540802 – g_list_prepend doesn't concat lists
200 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
201 one list to another. Pointed out by Jan Arne Petersen
203 2008-06-28 Michael Natterer <mitch@imendio.com>
205 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
207 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
209 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
210 to avoid problems with partial icon themes.
212 2008-06-17 Hans Breuer <hans@breuer.org>
214 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
215 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
216 access again on win32, see bug #538127
217 * giomodule.c : ensure GWin32VolumeMonitor is registered
218 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
219 * Makefile.am makefile.msc : updated
221 2008-06-16 Hans Breuer <hans@breuer.org>
223 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
224 and initialization in one step avoids c99ism
226 2008-06-16 Christian Persch <chpe@gnome.org>
229 * gio/gbufferedinputstream.c
231 * gio/gdatainputstream.c
232 * gio/gdesktopappinfo.c
234 * gio/gfileenumerator.c
235 * gio/gfileinputstream.c
236 * gio/gfileoutputstream.c
238 * gio/glocaldirectorymonitor.c
240 * gio/glocalfileenumerator.c
241 * gio/glocalfileinfo.c
242 * gio/glocalfilemonitor.c
243 * gio/glocalfileoutputstream.c
244 * gio/gmemoryinputstream.c
245 * gio/gmemoryoutputstream.c
246 * gio/goutputstream.c
247 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
250 2008-06-16 Tor Lillqvist <tml@novell.com>
252 Bug 538362 - Get Win32 icons back in the file chooser
254 * gcontenttype.c (g_content_type_get_icon): Look up the icon
255 corresponding to a file extension in the Registry. Patch by Hans
257 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
259 2008-06-16 Tor Lillqvist <tml@novell.com>
261 Patches by Hans Breuer:
263 * glocalfile.c (is_xp_or_later): Handle compiling against older
264 SDK headers with missing VerifyVersionInfo(). Conditioned on
265 _MSC_VER, but should probably use some better test.
266 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
267 uninitialised statfs_result variable on Win32.
269 2008-06-16 Michael Natterer <mitch@imendio.com>
271 * *.c: chain up unconditionally in finalize() and dispose(). Also
272 don't dereference these function pointers when calling them since
273 that has no meaning at all.
275 2008-06-16 Ross Burton <ross@burtonini.com>
278 Remove check for dispose implementation as it annoys Emmanuele.
280 2008-06-16 Ross Burton <ross@burtonini.com>
282 Bug 536252 – GFileEnumerator should allow access to the containing
288 Add g_file_enumerator_get_container() and a container writeable
289 construct-only property. Also shuffle around typedefs to make it
292 * glocalfileenumerator.c:
293 * glocalfileenumerator.h:
295 Instead of a string filename take a GFile in the constructor and
296 use it to set the container property.
301 2008-06-16 Matthias Clasen <mclasen@redhat.com>
303 * gfile.c: Make includes more uniform
305 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
307 * tests/live-g-file.c (sample_struct):
308 Use less fancy unicode filenames, so the test doesn't fail
309 on Mac OS X (#531476).
311 2008-06-12 Matthias Clasen <mclasen@redhat.com>
313 * === Released 2.17.2 ===
315 2008-06-12 Matthias Clasen <mclasen@redhat.com>
317 * === Released 2.17.1 ===
319 2008-06-11 A. Walton <awalton@gnome.org>
321 * tests/g-file.c (test_g_file_new_null):
322 Fix broken test case.
324 2008-06-11 Matthias Clasen <mclasen@redhat.com>
326 * pltcheck.sh: We use g_clear_error now.
328 2008-06-11 Matthias Clasen <mclasen@redhat.com>
330 * glocalfile.c (g_local_file_enumerate_children): Revert
331 an unintended change.
333 2008-06-11 Matthias Clasen <mclasen@redhat.com>
335 * gfile.c (g_file_replace_contents): Don't unref before the last use.
337 2008-06-10 Matthias Clasen <mclasen@redhat.com>
339 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
342 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
343 as icon for the desktop directory, also make user-home and
344 user-desktop the preferred icons.
346 2008-06-10 Matthias Clasen <mclasen@redhat.com>
349 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
350 to add a name to the front of the list.
352 2008-06-10 Matthias Clasen <mclasen@redhat.com>
354 Bug 537392 – Additional colon in xattr name
356 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
357 too. Reported by Alessandro Morandi
359 2008-06-10 Matthias Clasen <mclasen@redhat.com>
361 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
364 * glocalfile.c (get_fs_type): Add afs and autofs.
365 Patch by Danny Baumann.
367 2008-06-10 Matthias Clasen <mclasen@redhat.com>
369 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
371 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
372 is no parent. (Owen Taylor, patch by Christian Neumair)
374 2008-06-10 Paolo Borelli <pborelli@katamail.com>
376 * gfile.c (g_file_replace_contents): do not leak the output stream.
378 2008-06-10 Michael Natterer <mitch@imendio.com>
380 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
381 uninitialized memory as array index.
383 2008-06-10 Tor Lillqvist <tml@novell.com>
385 * gcontenttype.c (g_content_type_can_be_executable)
386 (g_content_type_get_icon) [Win32]: Add TODO comments.
388 2008-06-09 Matthias Clasen <mclasen@redhat.com>
390 * xdgmime/Makefile.am: Fix the build
392 2008-06-09 Matthias Clasen <mclasen@redhat.com>
394 * gcontenttype.c (g_content_type_get_icon): Use icons specified
395 in the shared mime database, if available.
397 * xdgmime/*: Sync with upstream. This brings support for
398 glob weights, generic icons, and changes the cache format to
401 2008-05-28 Michael Natterer <mitch@imendio.com>
403 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
404 the global CPPFLAGS now.
406 * tests/data-input-stream.c
407 * tests/data-output-stream.c
408 * tests/g-file-info.c
410 * tests/live-g-file.c
411 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
413 2008-05-27 Matthias Clasen <mclasen@redhat.com>
415 * === Released 2.17.0 ===
417 * tests/live-g-file.c: Clean up after the tests, so make distcheck
418 doesn't complain about leftover files.
420 2008-05-27 simon.zheng <simon.zheng@sun.com>
422 * glocalfile.c: (g_local_file_query_filesystem_info):
423 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
425 2008-05-26 Michael Natterer <mitch@imendio.com>
427 * gmemoryoutputstream.h: declare
428 g_memory_output_stream_get_data_size().
430 2008-05-26 Matthias Clasen <mclasen@redhat.com>
432 * tests/*: Make tests work
434 2008-05-26 Matthias Clasen <mclasen@redhat.com>
436 * gio.symbols: Add g_memory_output_stream_get_data_size.
438 2008-05-25 Ross Burton <ross@burtonini.com>
441 Fix typo in error message (#534764).
443 2008-05-25 Ross Burton <ross@burtonini.com>
446 Fix circular dependency loop for gioenumtypes.h (#534759).
448 2008-05-19 Hans Breuer <hans@breuer.org>
450 * Makefile.am : EXTRA_DIST += makefile.msc
452 2008-05-17 Matthias Clasen <mclasen@redhat.com>
455 * gcontenttype.c: (g_content_type_from_mime_type):
456 New function to create a content type from a mime type. (#527175,
459 2008-05-17 Matthias Clasen <mclasen@redhat.com>
461 Bug 532965 – Should not return filesystem::free for certain file systems
463 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
464 free space for ncpfs.
466 2008-05-17 Matthias Clasen <mclasen@redhat.com>
468 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
470 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
471 st_dev might be zero.
473 2008-05-16 Tor Lillqvist <tml@novell.com>
475 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
476 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
478 2008-05-13 Bastien Nocera <hadess@hadess.net>
480 * gfile.c (has_valid_scheme): A URI scheme must start with a
481 letter, even if later more characters are allowed (#532852)
483 2008-05-05 Michael Natterer <mitch@imendio.com>
485 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
486 code from being checked in that breaks the build of applications
487 which use G_DISABLE_SINGLE_INCLUDES.
489 * makegioalias.pl: make the alias file include "glib.h" instead of
492 * gio.symbols: whitespace change to force regeneration of the
493 alias file after above script change.
495 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
497 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
499 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
501 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
503 2008-04-28 David Zeuthen <davidz@redhat.com>
505 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
506 displaying mounts in a subdirectory not accessible to the
509 2008-04-22 Michael Natterer <mitch@imendio.com>
511 * Makefile.am: fix library versioning (it was 0.0.0).
513 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
515 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
516 Default disable all loggings.
517 * fen/fen-kernel.c: (printevent), (port_add_kevent),
518 (port_fetch_event_cb): Fixed two macro nits.
520 2008-04-16 Matthias Clasen <mclasen@redhat.com>
522 * xdgmime/xdgmime.c: Rework the timestamp checking code
523 to protect against duplicate directories in XDG_DATA_DIRS.
524 Fixes fd.o bug 12513, reported by Joe Shaw.
526 2008-04-16 Matthias Clasen <mclasen@redhat.com>
528 Partically revert the last commit after realizing that
529 xdg_mime_media_type_equal doesn't have to init at all.
532 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
534 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
536 2008-04-16 Matthias Clasen <mclasen@redhat.com>
538 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
539 reported by Joe Shaw and Federico Mena Quintero.
541 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
542 (xdg_mime_media_type_equal): Turn into a wrapper around the
545 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
546 functions throughout.
548 2008-04-16 Michael Meeks <michael.meeks@novell.com>
550 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
551 tolerate an empty TryExec= line without failing; nautilus used
552 to create launchers with these in previous versions. Fixes #528433
554 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
556 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
557 after name. Fixes #527132.
559 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
561 * gfile.c: (g_file_replace):
564 2008-04-07 Matthias Clasen <mclasen@redhat.com>
566 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
568 * gfile.c (file_copy_fallback): Fix the argument order. Patch
569 by Christian Kellner.
571 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
573 * gunixmounts.c: (g_unix_mount_guess_should_display):
574 Don't list the user directory as a mount, fix potential issue
575 when other users have a similar naming and don't special case the
576 gvfs mounts there since that's not required (#525866)
578 2008-03-31 Alexander Larsson <alexl@redhat.com>
580 * glocalfile.c (get_parent):
583 2008-03-31 A. Walton <awalton@svn.gnome.org>
585 * gfile.c (g_file_query_file_type):
586 Always return a GFileType enum value (#520715).
588 2008-03-31 Alexander Larsson <alexl@redhat.com>
590 * glocalfileenumerator.c:
591 Read readdir() info in chunks (of 1000) and sort
592 the chunks by inode before stat:ing.
593 This is a 20% performance increase in testing
594 gvfs-ls on /usr/bin with cold cache.
596 2008-03-31 Alexander Larsson <alexl@redhat.com>
598 * gmemoryoutputstream.c:
599 Clarify docs for g_memory_output_stream_get_size.
600 Add g_memory_output_stream_get_data_size.
602 2008-03-30 Matthias Clasen <mclasen@redhat.com>
606 * gfile.h: Add g_file_query_file_type convenience function
607 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
609 2008-03-30 Matthias Clasen <mclasen@redhat.com>
612 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
614 2008-03-28 A. Walton <awalton@svn.gnome.org>
616 * giomodule.c (_g_io_modules_ensure_loaded):
617 Adds GIO_EXTRA_MODULES environment variable support, closing bug
620 2008-03-28 Alexander Larsson <alexl@redhat.com>
623 (copy_stream_with_progress):
626 2008-03-28 Alexander Larsson <alexl@redhat.com>
629 (copy_stream_with_progress):
630 (file_copy_fallback):
631 Fallback to g_file_query_info for source size
632 if g_file_input_stream_query_info fails. (#524579)
634 2008-03-28 Alexander Larsson <alexl@redhat.com>
636 * glocalfile.c (g_local_file_move):
637 Reuse old string instead of adding new one.
639 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
641 * fen/*.[hc]: still copyright issue. I hate copyright.
643 2008-03-27 Alexander Larsson <alexl@redhat.com>
645 * glocalfile.c (g_local_file_move):
646 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
647 file over directory. This is according to the docs and what the move via
648 copy+remove fallback does.
650 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
652 * fen/*.[hc]: Updated copyright.
654 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
656 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
658 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
660 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
661 not emit attribute changed events when optimizing changed events.
662 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
665 2008-03-19 Matthias Clasen <mclasen@redhat.com>
667 * gmountoperation.[hc]: Small documentation additions
669 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
671 * gunixmounts.c: (guess_mount_type):
672 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
674 2008-03-19 Alexander Larsson <alexl@redhat.com>
677 (copy_stream_with_progress):
678 Bump block side for copy to 64k to minimize
679 overhead for low latency links. (#523015)
681 2008-03-16 Tor Lillqvist <tml@novell.com>
683 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
684 depend on gio.def on Windows.
686 2008-03-12 David Zeuthen <davidz@redhat.com>
690 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
692 2008-03-14 Alexander Larsson <alexl@redhat.com>
696 Avoid redudant tests (#521851)
697 Patch from Josselin Mouette
699 2008-03-14 Alexander Larsson <alexl@redhat.com>
702 (g_file_monitor_is_cancelled):
703 Fix C89 issue (#521672)
704 Patch from Jens Granseuer
706 2008-03-14 Alexander Larsson <alexl@redhat.com>
708 * fam/fam-helper.[ch]:
710 Shut down fam (including removing fam GSource) when
711 module is unloaded (#521513)
712 Patch from Joe Marcus Clarke
714 2008-03-14 Alexander Larsson <alexl@redhat.com>
717 (_g_io_modules_ensure_loaded):
720 2008-03-14 Alexander Larsson <alexl@redhat.com>
723 (g_local_file_query_filesystem_info):
724 Use right define name for f_fstypename member check
726 2008-03-14 Alexander Larsson <alexl@redhat.com>
729 * fen/Makefile.am: Added.
730 * fen/fen-data.[ch]: Added.
731 * fen/fen-dump.[ch]: Added.
732 * fen/fen-helper.[ch]: Added.
733 * fen/fen-kernel.[ch]: Added.
734 * fen/fen-missing.[ch]: Added.
735 * fen/fen-node.[ch]: Added.
736 * fen/fen-sub.[ch]: Added.
737 * fen/gfendirectorymonitor.[ch]: Added.
738 * fen/gfenfilemonitor.[ch]: Added.
740 Added Solaris FEN file notification backend.
741 Patch from Lin Ma <Lin.Ma@Sun.COM>
743 2008-03-13 Tor Lillqvist <tml@novell.com>
745 * Makefile.am: Actually use the gio.def file when linking the
746 library on Windows. Produce .lib library for Microsoft's toolchain
747 when possible. Install the .lib and .def file like for the other
750 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
752 * tests/live-g-file.c:
753 Include live-g-file in standard set of tests, making a temporary
754 directory in source structure.
756 Clean target directory before the tests (write mode only)
758 2008-03-12 Tor Lillqvist <tml@novell.com>
760 Bug 517419 - gio win32 directory monitor
761 Implementation by Vlad Grecescu.
764 * win32/gwin32directorymonitor.h
765 * win32/gwin32directorymonitor.c: New files.
767 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
769 * Makefile.am: Add the win32 subdirectory.
771 2008-03-12 Tor Lillqvist <tml@novell.com>
773 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
774 normal struct stat on Unix but struct _stati64 on Windows to have
775 access to 64-bit file size information. Use that instead of struct
776 stat in the functions declared here in this private header.
778 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
779 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
780 warnings about unused functions and variables. Don't set
781 meaningless attributes like inode numbers on Windows.
783 2008-03-12 Benjamin Otte <otte@gnome.org>
786 trim whitespace so gtk-doc groks the function name
788 2008-03-12 Tor Lillqvist <tml@novell.com>
790 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
791 returning FALSE, on Win32.
793 2008-03-11 Alexander Larsson <alexl@redhat.com>
796 * glocalfileinfo.[ch]:
797 Correctly implement can_trash by actually
798 looking for a trash dir, not just assuming
801 2008-03-10 Matthias Clasen <mclasen@redhat.com>
803 * === Released 2.16.1 ===
805 2008-03-11 Alexander Larsson <alexl@redhat.com>
808 Fix crashes in new constructor and properties code
810 2008-03-10 Murray Cumming <murrayc@murrayc.com>
812 * gfile.c: Minor spelling correction in documentation:
813 existance -> existence.
815 2008-03-10 Matthias Clasen <mclasen@redhat.com>
817 * === Released 2.16.0 ===
819 2008-03-10 Matthias Clasen <mclasen@redhat.com>
821 * gio.symbols: Remove g_file_contains_file here, too.
823 2008-03-10 Matthias Clasen <mclasen@redhat.com>
825 * gthemedicon.c: Add properties to make bindings happy. (#517676,
826 Samuel Cormier-Iijima)
828 2008-03-08 Tor Lillqvist <tml@novell.com>
830 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
833 2008-03-07 Alexander Larsson <alexl@redhat.com>
836 (g_local_file_query_filesystem_info):
837 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
838 Patch from Jasper Lievisse Adriaanse
840 2008-03-06 Tor Lillqvist <tml@novell.com>
842 * gfileinfo.h: Correct milliseconds to microseconds in the doc
843 comments for the *_USEC attributes.
845 2008-03-06 Alexander Larsson <alexl@redhat.com>
847 * gfile.c (g_file_query_exists):
848 Add g_return_val_if_fail check (#520700)
850 2008-03-06 Alexander Larsson <alexl@redhat.com>
855 * gunionvolumemonitor.c:
858 * tests/live-g-file.c:
859 * xdgmime/xdgmimecache.c:
860 Fix sparse warnings (#519489)
862 2008-03-05 Alexander Larsson <alexl@redhat.com>
865 Make cancellation threadsafe (i.e.
866 guarantee its only done once, and always
869 * glocaldirectorymonitor.c:
870 Make sure we the monitor lives while the
871 mounts_changed callback is being called (#520484)
873 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
875 * gbufferedinputstream.c: Fix typo in parameter
878 2008-03-04 Alexander Larsson <alexl@redhat.com>
881 Remove deprecated symbols we kept for one release.
883 2008-03-04 Murray Cumming <murrayc@murrayc.com>
886 * goutputstream.c: Tiny documentation corrections.
888 2008-03-03 Alexander Larsson <alexl@redhat.com>
890 * gunionvolumemonitor.c:
892 Fix the adopt_orphan_mount vfunc to take a
893 volume_monitor reference in an ABI compat way.
894 This change is not API compat, but the added
895 arg is not used in the only user of this vfunc, so
896 all we get is a harmless warning in gvfs (#520169)
898 2008-03-01 Benjamin Otte <otte@gnome.org>
901 clarify docs for g_file_delete().
903 2008-02-29 Alexander Larsson <alexl@redhat.com>
907 Make sure empty files get text/plain type (#518720)
909 2008-02-27 Alexander Larsson <alexl@redhat.com>
915 (g_unix_volume_mount):
916 Add missing GMountMountFlags argument
918 2008-02-26 Alexander Larsson <alexl@redhat.com>
921 (g_local_file_delete):
922 Handle filesystems (like ntfs-3g) that return EEXIST instead
923 of ENOTEMPTY (#518816)
925 2008-02-25 Matthias Clasen <mclasen@redhat.com>
927 * === Released 2.15.6 ===
929 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
931 * gfile.c (g_file_find_enclosing_mount):
932 * ginputstream.c (g_input_stream_set_pending):
933 * glocalfile.c (g_local_file_find_enclosing_mount):
934 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
935 * goutputstream.c (g_output_stream_set_pending):
937 Fixup translator comments (#518578).
939 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
941 * gfile.c (g_file_find_enclosing_mount):
943 * glocalfile.c (g_local_file_find_enclosing_mount):
946 Fix a few typos in translator comments and documentation.
948 2008-02-25 Alexander Larsson <alexl@redhat.com>
955 Add translator comments (#518578)
957 2008-02-25 Alexander Larsson <alexl@redhat.com>
960 Reintroduce g_file_contains_file, keep around for one
961 unstable release cycle to avoid crashing to many apps.
962 Make sure to delete after release.
964 2008-02-25 Alexander Larsson <alexl@redhat.com>
967 Remove deprecated g_file_contains_file.
969 2008-02-25 Alexander Larsson <alexl@redhat.com>
972 Emit actual change signals in an idle handler.
973 This avoids reentrance and locking problems in
974 the file notification backends.
976 2008-02-25 Alexander Larsson <alexl@redhat.com>
979 (g_unix_mount_guess_should_display):
980 Remove type guessing, instead just display
981 mounts in /media and in ~/.
983 2008-02-25 Alexander Larsson <alexl@redhat.com>
986 Make new strings reuse old ones.
988 2008-02-25 Alexander Larsson <alexl@redhat.com>
991 Implement trashing and filesystem::readonly for win32 (#517235)
992 Patch from Yevgen Muntyan
994 2008-02-23 Matthias Clasen <mclasen@redhat.com>
996 * gfileinfo.h: Documentation fixes.
998 2008-02-22 Alexander Larsson <alexl@redhat.com>
1000 * gcontenttype.c (g_content_type_get_icon):
1001 Look at old-style gnome mime icon names too, as many
1002 have not moved to the new style.
1004 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1006 * *.c: Correct the @include in for section docs.
1008 2008-02-21 David Zeuthen <davidz@redhat.com>
1010 * glocalfileinfo.c: (_g_local_file_info_get):
1012 (g_content_type_get_icon): Implement this function by
1013 moving bits from glocalfileinfo.c
1014 (g_content_type_get_description): Unalias before getting
1015 description (#517687)
1017 * gfile.c: (g_file_class_init),
1018 (g_file_query_filesystem_info_async),
1019 (g_file_query_filesystem_info_finish),
1020 (query_filesystem_info_data_free),
1021 (query_filesystem_info_async_thread),
1022 (g_file_real_query_filesystem_info_async),
1023 (g_file_real_query_filesystem_info_finish):
1024 * gfile.h: Implement async version of
1025 g_file_query_filesystem_info()
1027 * gfileinfo.h: Add new attributes for filesystem::use-preview
1029 * gio.symbols: Update
1031 * gthemedicon.c: (g_themed_icon_append_name):
1032 * gthemedicon.h: Add new new convenience function.
1034 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1035 (get_mounts), (get_volumes), (get_connected_drives),
1036 (get_volume_for_uuid), (get_mount_for_uuid),
1037 (g_union_volume_monitor_init), (populate_union_monitor),
1038 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1039 (g_volume_monitor_adopt_orphan_mount):
1041 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1042 monitor implementations to call into the main volume monitor. Also
1043 separate object initialization and volume monitor initialization
1044 such that non-native volume monitors can properly adopt their
1047 2008-02-21 Alexander Larsson <alexl@redhat.com>
1052 2008-02-21 Alexander Larsson <alexl@redhat.com>
1055 Add more documentation about how GFiles work (from #517086)
1057 2008-02-21 Alexander Larsson <alexl@redhat.com>
1061 Add new g_file_has_prefix that does the same as g_file_contains_file.
1062 Deprecate g_file_contains_file and add a macro that converts
1063 it to g_file_has_prefix.
1064 The reason for this change is that the contains_file() name seems to
1065 imply that this does more work than what it does, but its really only
1066 a name match (from #517086)
1071 Update to match the above change.
1073 2008-02-20 Benjamin Otte <otte@gnome.org>
1075 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1076 (g_file_eject_mountable):
1077 even more cases of not returning in error path
1079 2008-02-20 Benjamin Otte <otte@gnome.org>
1081 * gfile.c: (g_file_mount_mountable):
1082 return from function in error path.
1084 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1087 Remove trailing coma in GMountMountFlags struct
1089 2008-02-18 Alexander Larsson <alexl@redhat.com>
1093 * glocalfileoutputstream.c:
1094 Use g_unlink/g_rename instead of unlink/rename;
1095 do not pass raw filenames to g_set_error. (#517239)
1096 Patch from Yevgen Muntyan.
1098 2008-02-18 Alexander Larsson <alexl@redhat.com>
1101 * glocalfileoutputstream.c:
1102 Open files with O_BINARY on windows. (#517140)
1104 2008-02-14 Alexander Larsson <alexl@redhat.com>
1106 * glocalfileoutputstream.c:
1107 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1109 2008-02-14 Alexander Larsson <alexl@redhat.com>
1112 Copy permissions with file on copy (#514084)
1113 This is what cp does and makes sure e.g. the
1114 exec permissions are kept.
1115 Its kinda weird in that it keeps the permission bits
1116 the same while the uid and gid are different. However
1117 the new uid is the user so its not a security issue,
1118 and I've heard no complaints about cp on this issue.
1120 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1122 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1124 2008-02-13 Alexander Larsson <alexl@redhat.com>
1126 * inotify/inotify-path.c:
1127 Define IN_ONLYDIR if not in header (#515346)
1129 2008-02-12 Alexander Larsson <alexl@redhat.com>
1131 * tests/live-g-file.c:
1134 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1136 * === Released 2.15.5 ===
1138 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1140 * gio.symbols: Add g_mount_mount_flags_get_type.
1142 2008-02-11 Alexander Larsson <alexl@redhat.com>
1145 (g_file_info_set_attribute_mask):
1146 (g_file_attribute_matcher_matches_id):
1147 Correctly handle NULL GAttributeMatcher meaning
1148 matches nothing. (Fixes #513492)
1150 2008-02-11 Alexander Larsson <alexl@redhat.com>
1155 Added GMountMountFlags enum and added a flags
1156 argument to all mount calls.
1158 This is an API/ABI change for future extensibility,
1159 as I think we will need at least an
1160 inhibit-autorun flag (the panel needs this).
1161 There are no flags defined yet though.
1163 2008-02-11 Alexander Larsson <alexl@redhat.com>
1166 Added new standard::description attribute.
1167 Requested by Vincent, and useful for both
1170 2008-02-11 Alexander Larsson <alexl@redhat.com>
1172 * gdesktopappinfo.c:
1175 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1177 * *.c: Documentation additions
1179 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1181 * gappinfo.h: Formatting cleanup
1182 * gappinfo.c: Fix up docs.
1184 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1186 * gunixmounts.c: Consistently use getmntent_r() and fall
1187 back to getmntent(). (#515492)
1189 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1191 * gbufferedinputstream.c:
1193 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1195 * tests/data-input-stream.c:
1196 * tests/data-output-stream.c: Portability fixes.
1198 2008-02-08 Alexander Larsson <alexl@redhat.com>
1203 Add g_volume_should_automount.
1206 2008-02-07 Tor Lillqvist <tml@novell.com>
1208 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1209 Win32, too Unix-specific.
1211 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1213 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1214 a local plt if the compiler doesn't support what we want. Bug #514702
1216 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1218 reviewed by: <delete if not using a buddy>
1221 * gunixinputstream.c:
1222 * gunixoutputstream.c:
1224 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1226 * tests/Makefile.am:
1227 * tests/live-g-file.c:
1228 * tests/live-g-file.txt:
1229 New GIO testing module working over real data
1231 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1233 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1234 Fallback to rename() if link() is not available
1235 (when no support on target filesystem)
1237 2008-02-06 Michael Natterer <mitch@imendio.com>
1239 * gfileinfo.c (g_file_info_get_icon): replace
1240 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1242 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1244 * gfile.c (g_file_create):
1245 Documentation update of error codes
1247 2008-02-06 Alexander Larsson <alexl@redhat.com>
1249 * gdesktopappinfo.c:
1250 Update to use both mimeapps.list and
1251 defaults.list as discussed on xdg list.
1253 2008-02-06 Benjamin Otte <otte@gnome.org>
1256 * gfilenamecompleter.c:
1257 Fix some typos in the documentation.
1259 2008-02-06 Alexander Larsson <alexl@redhat.com>
1261 * glocalfile.c (g_local_file_trash):
1262 Don't succeed with trash if newly created
1263 trash dir has the wrong owner. (#514696)
1265 2008-02-05 Alexander Larsson <alexl@redhat.com>
1267 * glocalfile.c (g_local_file_move):
1268 Don't spew warnings when destination is not
1271 2008-02-03 Hans Breuer <hans@breuer.org>
1273 * makefile.msc : update
1275 2008-02-01 Michael Natterer <mitch@imendio.com>
1277 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1278 return value of xdg_mime_list_mime_parents() to a variable of the
1281 2008-02-01 Alexander Larsson <alexl@redhat.com>
1283 * gappinfo.c (g_app_info_launch_uris):
1284 Actually call the launch_uris method, not
1287 2008-02-01 Alexander Larsson <alexl@redhat.com>
1289 * gdesktopappinfo.c (g_desktop_app_info_equal):
1290 Ensure appinfos with no id but same pointer value
1293 2008-02-01 Alexander Larsson <alexl@redhat.com>
1295 * gappinfo.c (g_app_info_launch_default_for_uri):
1298 2008-02-01 Alexander Larsson <alexl@redhat.com>
1302 Add g_app_info_launch_default_for_uri utility
1305 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1307 * gdesktopappinfo.c:
1308 Doc fix for g_app_info_get_default_for_uri_scheme ()
1311 2008-01-30 Alexander Larsson <alexl@redhat.com>
1314 Add doc comment about uris vs GFiles to
1317 * gdesktopappinfo.c:
1318 Ensure uris passed to g_app_info_launch_uris()
1319 are not roundtriped through GFile (as that
1320 may be slightly destructive for e.g. mailto: links)
1322 2008-01-30 Alexander Larsson <alexl@redhat.com>
1324 * tests/data-input-stream.c:
1325 * tests/data-output-stream.c:
1326 C89 fixes from Jens Granseuer (#512849)
1328 2008-01-30 Alexander Larsson <alexl@redhat.com>
1331 Fix gamin/fam difference build issue. (#509419)
1333 2008-01-29 Alexander Larsson <alexl@redhat.com>
1336 * gdesktopappinfo.c:
1337 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1339 2008-01-29 Alexander Larsson <alexl@redhat.com>
1341 * gdesktopappinfo.c:
1342 * gdesktopappinfo.h:
1343 giomodule-priv.h include moved to .c file.
1345 2008-01-29 Alexander Larsson <alexl@redhat.com>
1347 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1348 Remove unused prio/name fields.
1350 2008-01-29 Alexander Larsson <alexl@redhat.com>
1352 * gcontenttype.c (looks_like_text):
1353 Don't treat whitespace as control chars.
1355 2008-01-29 Alexander Larsson <alexl@redhat.com>
1357 * gdesktopappinfo.c:
1358 Lazily create the desktop files for appinfos created
1359 by g_app_info_create_from_commandline() when needed
1360 for mime associations. This allows run-time use
1361 of GAppInfo object without creating unnecessary
1364 2008-01-29 Alexander Larsson <alexl@redhat.com>
1367 Added new symbols to gio.symbols
1369 2008-01-29 Alexander Larsson <alexl@redhat.com>
1372 Add g_file_query_default_handler utility to easily look up
1373 the GAppInfo that handles a file.
1375 * gdesktopappinfo.[ch]:
1377 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1380 Remove unused function
1382 2008-01-29 Alexander Larsson <alexl@redhat.com>
1384 * gfileenumerator.c:
1385 Mention need to free returned value in
1386 g_file_enumerator_next_files_finish docs.
1387 Fix leak if g_file_enumerator_next_files_finish()
1390 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 (_g_unix_content_type_get_parents):
1394 Use list_parents, not get_parents from xdgmime, because
1395 the later doesn't use the cache.
1397 * xdgmime/xdgmimecache.c:
1398 (_xdg_mime_cache_list_mime_parents):
1399 Don't list the same type as parent multiple times.
1401 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1403 * === Released 2.15.4 ===
1405 2008-01-28 Alexander Larsson <alexl@redhat.com>
1408 Register local vfs with prio 0.
1411 Remove old name and prio class members
1413 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1415 * tests/g-file.c: Disable some tests that are failing in
1416 the absence of a http backend.
1418 2008-01-28 Alexander Larsson <alexl@redhat.com>
1422 Add registration hooks for extension points.
1423 Register the gio extension points.
1425 * fam/gfamdirectorymonitor.c:
1426 * fam/gfamfilemonitor.c:
1427 * glocaldirectorymonitor.[ch]:
1428 * glocalfilemonitor.[ch]:
1429 * gnativevolumemonitor.h:
1430 * gunionvolumemonitor.c:
1431 * gunixvolumemonitor.c:
1434 * inotify/ginotifydirectorymonitor.c:
1435 * inotify/ginotifyfilemonitor.c:
1436 Use the extension points registration instead
1437 of g_type_children().
1439 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1442 * gvolume.[hc]: Document new API.
1444 * gfile.c (g_file_copy_async): Fix docs
1446 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1448 * gbufferedinputstream.c:
1450 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1453 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1455 * glocalfile.c: Avoid trivial differences in translatable strings.
1457 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1459 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1460 build with gcc 3.4 (#509419)
1462 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1464 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1465 (#509994, Murray Cumming)
1467 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1469 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1470 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1471 this allows big jobs to be executed in chunks, instead of blocking
1472 the main loop for a long time.
1474 * gsimpleasyncresult.c:
1475 * giofile.c: Adapt callers.
1477 2008-01-25 Alexander Larsson <alexl@redhat.com>
1479 * gdesktopappinfo.c:
1480 Implement changes discussed on xdg list.
1481 Now we can add supported mimetypes by just using defaults.list
1482 We can also remove associations in defaults.list.
1484 2008-01-25 Alexander Larsson <alexl@redhat.com>
1486 * gdesktopappinfo.c:
1487 Don't make local copy of desktop file
1488 for mimetype changes if the file already
1489 supports the new mimetype.
1491 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1495 * gbufferedinputstream.c:
1496 * glocalfile.c: String improvements. (#511966,
1497 Theppitak Karoonboonyanan)
1499 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1501 * gioscheduler.h: Expand docs a bit.
1503 2008-01-24 Alexander Larsson <alexl@redhat.com>
1506 Add g_drive_get_identifier and
1507 g_drive_enumerate_identifiers
1510 Add g_volume_get_identifier and
1511 g_volume_enumerate_identifiers
1517 Implement identifiers for unix backend
1519 2008-01-24 Alexander Larsson <alexl@redhat.com>
1524 Add g_file_copy_async() (#511580)
1525 Based on patch from Carlos Garcia Campos
1527 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1529 * gioscheduler.c: Some documentation additions.
1531 2008-01-22 Alexander Larsson <alexl@redhat.com>
1533 * gdesktopappinfo.c:
1534 (g_desktop_app_info_new):
1535 Don't leak basename.
1537 2008-01-22 Alexander Larsson <alexl@redhat.com>
1539 * gdesktopappinfo.c:
1540 (g_desktop_app_info_new_from_filename):
1543 2008-01-22 Alexander Larsson <alexl@redhat.com>
1545 * glocalfileinfo.c (get_thumbnail_attributes):
1548 2008-01-22 Alexander Larsson <alexl@redhat.com>
1551 (canonicalize_filename):
1552 Canonicalize paths that start with more than
1556 (compare_two_files):
1557 (test_g_file_new_for_path):
1560 2008-01-22 Alexander Larsson <alexl@redhat.com>
1563 Allow UTF-8 in file:// parse names.
1565 * tests/Makefile.am:
1566 * tests/data-input-stream.c:
1567 * tests/data-output-stream.c:
1568 * tests/g-file-info.c:
1570 Added a bunch of tests from Tomas Bzatek
1572 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1574 * === Released 2.15.3 ===
1576 2008-01-21 Alexander Larsson <alexl@redhat.com>
1578 * gfileinputstream.[ch]:
1579 * gfileoutputstream.[ch]:
1581 Remove duplicated GSeekable functions. (#509990)
1582 Just use the g_seekable_xxx() calls instead.
1584 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1587 * gvolumemanager.c: Whitespace cleanups.
1589 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1590 Use the right mode when creating the file.
1592 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1594 * gfileenumerator.c:
1595 * gfileinputstream.c:
1597 * goutputstream.c: Documentation: Fixed minor typos
1598 and added more mentions of specific _finish() functions.
1600 2008-01-21 Alexander Larsson <alexl@redhat.com>
1602 * inotify/Makefile.am:
1603 * inotify/inotify-helper.c:
1604 * inotify/inotify-kernel.c:
1605 * inotify/inotify-path.c:
1606 * inotify/local_inotify.h: Removed.
1607 * inotify/local_inotify_syscalls.h: Removed.
1608 Removed the included copies of the inotify
1609 headers. We now only use the <sys/inotify.h>
1610 header which exists on modern systems.
1611 This fixes problems on ARM and SH5 (#510448)
1612 but is also generally much cleaner and future
1613 safe. For instance, if other OSes add support
1614 for inotify it should "just work".
1616 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1618 * inotify/*.c: Coding style fixes.
1619 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1620 for the 1/4 Hz timer.
1622 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1625 * gfilemonitor.[hc]:
1626 * gmemoryinputstream.c:
1627 * gmemoryoutputstream.c:
1628 * gmountoperation.c:
1629 * gthemedicon.c: Documentation updates
1631 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1633 * gfile.c: documentation: Fixed more minor
1636 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1638 * gmount.c: (g_mount_remount): documentation:
1639 Mention g_mount_remount_finish() instead of
1640 g_mount_unmount_finish().
1642 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1646 * gfile.c: Fixed some minor typos in the
1649 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1651 * gio/gvolumemonitor.c:
1652 (g_volume_monitor_get_connected_drives):
1653 (g_volume_monitor_get_volumes):
1654 (g_volume_monitor_get_mounts): Documentation:
1655 Clarify the ownership of the regurn GLists.
1657 2008-01-17 Alexander Larsson <alexl@redhat.com>
1660 Add the async find_enclosing_mount version
1661 to the header file too.
1663 2008-01-17 Alexander Larsson <alexl@redhat.com>
1666 Add async version of find_enclosing_mount
1667 with default implementation.
1669 2008-01-17 Alexander Larsson <alexl@redhat.com>
1674 Allow calls to implementation of copy and write
1675 even if the type of the file implementations is
1676 different. This can be used to implement native
1677 upload and download calls in a vfs.
1680 (g_local_file_move):
1681 Protect against the case where move is called
1682 with one file not being local.
1684 Make sure we call the progress callback once
1685 in the native move operation so that the caller
1686 knows how many bytes were copied.
1688 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1691 * gdatainputstream.c:
1693 * gfileoutputstream.c:
1698 * gunixmounts.c: Corrected some typos in the documentation:
1699 occured -> occurred.
1700 its -> it's (where appropriate).
1702 2008-01-16 Alexander Larsson <alexl@redhat.com>
1706 Add g_file_query_exists (#508771)
1708 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1713 * gvolume.c: For async functions that have no non-async
1714 version, document that the GAsyncReadyCallback may be NULL.
1717 2008-01-15 Alexander Larsson <alexl@redhat.com>
1719 * gmemoryinputstream.c:
1720 * gmemoryoutputstream.c:
1721 Don't do pointer arithmetic on void * (#508602)
1722 Patch from Kazuki IWAMOTO
1724 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1726 * === Released 2.15.2 ===
1728 2008-01-14 Alexander Larsson <alexl@redhat.com>
1730 * gfile.c (g_file_monitor_file):
1731 Don't set error here, since we fallback to polling monitor.
1733 2008-01-14 Alexander Larsson <alexl@redhat.com>
1736 (g_file_monitor_directory):
1737 (g_file_monitor_file):
1738 Add GError to file monitor calls
1740 * glocaldirectorymonitor.c:
1741 * glocaldirectorymonitor.h:
1743 * glocalfilemonitor.c:
1744 * glocalfilemonitor.h:
1746 Update for above change
1748 2008-01-14 Alexander Larsson <alexl@redhat.com>
1752 Handle root correctly in g_file_get_relative_path (#508719)
1754 2008-01-14 Alexander Larsson <alexl@redhat.com>
1757 Clean up docs and example for GAsyncResult (#508074)
1759 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1761 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1762 and correct some spelling mistakes. Bug #508108.
1764 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1766 * glocalfileinfo.c: Add a comment.
1768 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1770 * gfileinfo.c: GFileInfo description: Mention
1771 how to actually set attributes in a GFile and how to discover
1772 which attributes are settable. Bug #508378.
1774 2008-01-10 A. Walton <awalton@svn.gnome.org>
1776 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1777 (g_app_info_get_default_for_type):
1778 Check for NULL content types.
1780 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1782 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1784 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1786 * gfile.c: *_async() functions: Several small corrections
1787 to the documentation, mostly correcting copy/paste errors
1788 and improving some sentences.
1790 2008-01-09 Dan Winship <danw@gnome.org>
1792 * glocalfile.c (get_unique_filename): x86_64 fix
1794 2008-01-09 Alexander Larsson <alexl@redhat.com>
1799 Add g_unix_mount_guess_should_display and use
1800 for unix volume monitor backend.
1801 This means we more or less show what the
1802 gnome-vfs backend did.
1803 Based on patch from Padraig O'Briain
1805 2008-01-09 Alexander Larsson <alexl@redhat.com>
1809 Add g_themed_icon_new_with_default_fallbacks
1812 Use default fallbacks for icons
1814 2008-01-09 Alexander Larsson <alexl@redhat.com>
1817 * gmountoperation.[ch]:
1818 Change the API a bit so that unhandled methods
1819 get reported via the reply, rather than by
1820 the signal emission return value. This is because
1821 some handlers can't know this immediately without
1822 doing I/O, and this is an async operation that
1825 2008-01-09 Alexander Larsson <alexl@redhat.com>
1828 * fam/gfamdirectorymonitor.c:
1829 * fam/gfamfilemonitor.c:
1830 Fix double free crash (#508224)
1831 Patch from Joe Marcus Clarke
1833 008-01-07 Matthias Clasen <mclasen@redhat.com>
1835 * === Released 2.15.1 ===
1837 2008-01-07 Alexander Larsson <alexl@redhat.com>
1839 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1840 Fix warning (#507835)
1842 2008-01-07 Alexander Larsson <alexl@redhat.com>
1845 Pass --internal to glib-genmarshal
1848 * gmountoperation.c:
1850 Use better types for signal arguments (#507822)
1852 2008-01-07 Alexander Larsson <alexl@redhat.com>
1855 Build test subdir after .
1856 Remove gdirectorymonitor.[ch]
1858 * gdirectorymonitor.[ch]:
1862 Remove GDirectoryMonitor and make
1863 GFileMonitor the baseclass for both file and
1864 directory monitors. Lift the more generic
1865 rate limiting code from GDirectoryMonitor
1869 * fam/gfamdirectorymonitor.[ch]:
1870 * inotify/ginotifydirectorymonitor.[ch]:
1871 * inotify/inotify-helper.c:
1872 * glocaldirectorymonitor.[ch]:
1875 Update for the removed GDirectoryMonitor.
1877 * gmemoryoutputstream.c:
1878 Remove ununsed variable
1880 2008-01-07 Alexander Larsson <alexl@redhat.com>
1882 * gmemoryinputstream.c:
1883 Translate error strings
1886 * gmemoryoutputstream.[ch]:
1887 New implementation that avoids using GByteArray
1888 in implementation and API. (#506377)
1890 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1892 * tests/*: Add a test for memory input streams.
1894 * Makefile.am: Add tests to SUBDIRS.
1896 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1898 * glocalfilemonitor.c:
1899 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1902 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1904 * gdesktopappinfo.c: Fix a docs typo.
1906 * gfileattribute.c: Add information about extended attributes
1907 to the documentation. (#505058)
1909 2008-01-04 Alexander Larsson <alexl@redhat.com>
1912 * gmountoperation.c:
1913 Use the right type (uint) for the ask_password signal.
1915 2008-01-04 Alexander Larsson <alexl@redhat.com>
1920 Add g_app_info_supports_files()
1921 Remove desktop arg from g_app_info_should_show().
1923 * gdesktopappinfo.[ch]:
1924 Implement g_app_info_supports_files() and new should_show()
1925 Add g_desktop_app_info_set_desktop_env() to set the desktop
1926 for should_show(). (This will be set by gtk+ later)
1928 2008-01-04 Alexander Larsson <alexl@redhat.com>
1931 * gmemoryinputstream.[ch]:
1932 Improve API so that you can use multiple chunks
1933 of memory and custom destroy functions. (#506374)
1935 2008-01-03 Alexander Larsson <alexl@redhat.com>
1938 Handle NULL attribute matchers safely, as we return this
1939 for empty attribute matcher strings.
1941 2008-01-03 Alexander Larsson <alexl@redhat.com>
1943 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1944 Add /usr/local to list of internal mountpoints
1946 2008-01-03 Alexander Larsson <alexl@redhat.com>
1949 Check for HAVE_LCHOWN (#505887)
1951 2008-01-03 Alexander Larsson <alexl@redhat.com>
1955 Add define for selinux context attribute.
1956 Fix missing : -> :: namespace separator change
1957 Fix missing _ -> - name change for xattr-sys.
1960 2008-01-03 Alexander Larsson <alexl@redhat.com>
1963 Link to libglib and libgobject directly (#504879)
1964 Patch from Sebastien Bacher
1966 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1968 * gfile.c: Expanded the g_file_new_for_commandline_arg
1969 description a bit, based on the code and the docs of the
1970 other g_file_new_for_* functions.
1972 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1974 * gfilemonitor.h: Fixed typo in docs.
1976 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1978 Updates to GIO documentation. (#506395, Mikael Hermansson)
1980 * gcontenttype.c: Describe memory management for return value of
1981 g_content_types_get_registered(). Missing piece from #505815.
1982 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1983 GVolume, GDrive, GMounts, which hopefully gives the user less
1984 confusions when using this API. Following explainations from
1985 Alexander Larsson on gtk-devel-list.
1987 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1989 * gfileinfo.c: Expand the long description.
1991 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1994 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1995 fix builds with --disable-visibility. (#500273, Christian Persch)
1997 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1999 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2000 in the list of returned app infos.
2002 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2004 * gappinfo.c: Fix a cross-reference
2006 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2008 * gfileinputstream.c:
2009 * gfileoutputstream.c:
2013 * gdesktopappinfo.c:
2015 * gfileinfo.c: Documentation updates.
2017 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2019 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2022 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2024 * gcontenttype.c (g_content_types_get_registered): Don't return
2025 freed memory (#505815, Mikael Hermansson)
2027 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2029 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2030 used to detect statbuf->st_blocks. (#505042)
2032 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2034 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2035 environment handling. (#504829, Cosimo Cecchi)
2037 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2039 * gappinfo.c: Doc improvements
2041 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2044 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2046 * === Released 2.15.0 ===
2048 2007-12-20 Hans Breuer <hans@breuer.org>
2050 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2051 with symbols gwin32appinfo.obj, added gmount.obj
2052 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2054 2007-12-20 Alexander Larsson <alexl@redhat.com>
2060 * gfilenamecompleter.c:
2063 * gpollfilemonitor.c:
2064 File attribute renames:
2066 fs:: -> filesystem::
2067 id::fs -> id::filesystem
2069 2007-12-20 Alexander Larsson <alexl@redhat.com>
2078 Add GMountUnmountFlags to all unmount and
2080 Add g_mount_remount() call.
2082 2007-12-20 Alexander Larsson <alexl@redhat.com>
2084 * gvfs.c (get_default_vfs):
2085 Fix unused variable warning
2087 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2089 * pltcheck.sh: Update
2091 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2093 * gunionvolumemonitor.c:
2094 * gunixmount.c: Remove C99 comments
2096 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2098 * gio.symbols: Add some missing symbols
2100 2007-12-19 Alexander Larsson <alexl@redhat.com>
2103 Make g_io_modules_load_all_in_directory not unuse
2104 loaded modules so that users of it can do stuff
2106 Init internal "module" types.
2107 Initialize static prio and name for types so that
2108 we don't have to load modules to get it.
2110 * gnativevolumemonitor.h:
2112 Move is_supported to parent class so that
2113 non-native monitors can avoid being initialized
2114 too. (For instance GDaemonVolumeMonitor if we're
2115 not using GDaemonVfs.)
2117 * glocaldirectorymonitor.[ch]:
2118 * glocalfilemonitor.[ch]:
2119 * gunionvolumemonitor.c:
2120 * gunixvolumemonitor.c:
2122 Find plugins using the static prio+name to
2123 avoid unnecessarily loading the modules.
2125 2007-12-19 Alexander Larsson <alexl@redhat.com>
2130 2007-12-19 Alexander Larsson <alexl@redhat.com>
2132 * gunionvolumemonitor.c:
2133 Store the native type as GType, not class so that
2134 we can unload it. But still avoid unnecessarily
2137 2007-12-19 David Zeuthen <davidz@redhat.com>
2139 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2140 add signals 'disconnected' and 'eject-button' on GDrive. Add
2141 signal 'removed' on GVolume and 'unmounted' on GMount.
2143 * gdrive.c: (g_drive_base_init):
2145 * gfile.c: (g_file_mount_mountable),
2146 (g_file_mount_enclosing_volume):
2149 * gmount.c: (g_mount_base_init):
2151 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2152 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2153 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2157 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2159 * *.c: Fix up includes in the section docs.
2161 2007-12-17 Alexander Larsson <alexl@redhat.com>
2163 * gnativevolumemonitor.h:
2164 * gunionvolumemonitor.c:
2165 * gunixvolumemonitor.c:
2166 Add is_supported() to GNativeVolumeMonitorClass so
2167 that we can avoid having to create an object to see
2168 if the backend is supported at runtime.
2169 Also add name member and an env var to pick a specific
2170 volume monitor backend.
2174 Add cancellable to _g_mount_get_for_mount_path()
2176 * glocaldirectorymonitor.c:
2177 * glocalfilemonitor.c:
2178 Avoid loading and unloading modules while sorting.
2180 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2183 * gunixmounts.[hc]: Namespace waste reduction, move some
2184 g_get_unix_mount functions to the g_unix_mount namespace.
2187 * gunixvolumemonitor.c:
2189 * glocaldirectorymonitor.c: Update all callers.
2191 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2193 2007-12-17 Alexander Larsson <alexl@redhat.com>
2196 Add doc comments about what GFile operations are
2197 guaranteed to not block.
2199 2007-12-17 Alexander Larsson <alexl@redhat.com>
2202 Add missing #ifdef fixing OSX build.
2203 (#503334, patch from Richard Hult)
2205 2007-12-14 David Zeuthen <davidz@redhat.com>
2209 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2210 (g_mount_eject), (g_mount_eject_finish):
2212 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2213 (get_volume_for_uuid), (get_mount_for_uuid),
2214 (g_union_volume_monitor_class_init),
2215 (get_default_native_type_with_exclude), (get_default_native_type),
2216 (get_native_type), (update_native_type),
2217 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2218 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2219 (g_unix_mount_can_eject), (eject_unmount_cb),
2220 (eject_unmount_read_error), (eject_unmount_do),
2221 (g_unix_mount_unmount), (g_unix_mount_eject),
2222 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2223 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2224 (g_unix_mount_point_guess_can_eject):
2226 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2227 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2228 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2229 (g_unix_volume_mount), (g_unix_volume_eject),
2230 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2231 * gunixvolumemonitor.c: (get_volume_for_uuid),
2232 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2234 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2235 (g_volume_eject), (g_volume_eject_finish):
2237 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2238 (g_volume_monitor_get_mount_for_uuid):
2241 Provide eject() on both GMount and GVolume and utility functions
2242 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2243 ejected. Introduce the concept of UUID's and wire it into GVolume
2244 and GMount and provide API on GVolumeMonitor to find such
2245 instances. Also handle the case where an external
2246 GNativeVolumeMonitor fails to initialize. Lock around the
2247 _g_get_mount_for_mount_path() function such that volume monitor
2248 implementations won't have to do locking themselves.
2250 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2252 * gdesktopappinfo.c:
2258 * gvolume.h: Documentation updates
2260 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2263 * gfile.h: Doc updates
2265 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2268 * gdesktopappinfo.c: Use hash table iterators.
2270 2007-12-14 Alexander Larsson <alexl@redhat.com>
2273 * gfileattribute.[ch]:
2274 * gfileattribute-priv.h:
2275 Move GFileAttributeValue to a private header, as
2279 Make set_attribute take a type + a pointer instead
2280 of a GFileAttributeValue.
2283 Fix up for above changes.
2284 Add g_file_info_get_attribute_data to get
2285 all info in one call, g_file_info_get_attribute_status
2286 to get the status and g_file_info_get_attribute_as_string.
2290 * glocalfileinfo.[ch]:
2294 Make _guess_type static.
2296 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2299 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2300 made mkenums and friends use temporary files to avoid leaving
2301 empty generated files on failure (#503470).
2303 2007-12-14 Alexander Larsson <alexl@redhat.com>
2305 * gmountoperation.h:
2308 2007-12-14 Alexander Larsson <alexl@redhat.com>
2312 * gfileattribute.[ch]:
2315 * glocalfileoutputstream.c:
2316 * gmountoperation.[ch]:
2317 * goutputstream.[ch]:
2318 Clean up all flags enums to not have _FLAGS in them
2319 Make the names of some of the enums better.
2324 2007-12-14 Michael Natterer <mitch@imendio.com>
2326 * gio.symbols: fix g_io_scheduler symbol names.
2328 2007-12-14 Alexander Larsson <alexl@redhat.com>
2334 * gbufferedinputstream.h:
2335 * gbufferedoutputstream.h:
2338 * gdatainputstream.h:
2339 * gdataoutputstream.h:
2340 * gdesktopappinfo.h:
2341 * gdirectorymonitor.h:
2345 * gfileenumerator.h:
2348 * gfileinputstream.h:
2350 * gfilenamecompleter.h:
2351 * gfileoutputstream.h:
2352 * gfilterinputstream.h:
2353 * gfilteroutputstream.h:
2361 * gmemoryinputstream.h:
2362 * gmemoryoutputstream.h:
2364 * gmountoperation.h:
2367 * gsimpleasyncresult.h:
2369 * gunixinputstream.h:
2371 * gunixoutputstream.h:
2375 * inotify/Makefile.am:
2376 Only allow including <gio/gio.h> from apps
2378 2007-12-14 Alexander Larsson <alexl@redhat.com>
2380 * gioscheduler.[ch]:
2381 * gsimpleasyncresult.c:
2382 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2383 Split out the send_to_mainloop call into two versions instead
2384 of having the block argument.
2386 2007-12-13 Alexander Larsson <alexl@redhat.com>
2388 * gcancellable.[ch]:
2390 * gbufferedinputstream.c:
2391 * gfileenumerator.c:
2392 * gfileinputstream.c:
2393 * gfileoutputstream.c:
2397 g_push/pop_current_cancellable ->
2398 g_cancellable_push/pop_current
2400 2007-12-13 Alexander Larsson <alexl@redhat.com>
2404 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2406 2007-12-13 Alexander Larsson <alexl@redhat.com>
2408 * gmountoperation.h:
2409 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2411 2007-12-12 Alexander Larsson <alexl@redhat.com>
2414 Fix race condition when freeing proxy in
2415 g_io_job_send_to_mainloop().
2417 2007-12-12 Alexander Larsson <alexl@redhat.com>
2423 Make attribute namespace separator "::" instead of ":".
2424 Use - instead of _ as separator in attribute names.
2426 2007-12-12 Alexander Larsson <alexl@redhat.com>
2428 * gbufferedinputstream.h:
2429 * gbufferedoutputstream.h:
2430 * gdatainputstream.h:
2431 * gdataoutputstream.h:
2432 * gdirectorymonitor.h:
2433 * gfileenumerator.h:
2434 * gfileinputstream.h:
2436 * gfileoutputstream.h:
2437 * gfilterinputstream.h:
2438 * gfilteroutputstream.h:
2440 * glocalfileinputstream.h:
2441 * glocalfileoutputstream.h:
2442 * gmemoryinputstream.h:
2443 * gmemoryoutputstream.h:
2444 * gnativevolumemonitor.h:
2446 * gunixinputstream.h:
2447 * gunixoutputstream.h:
2450 s/parent/parent_instance/ in GObjects
2452 2007-12-12 Alexander Larsson <alexl@redhat.com>
2457 No need for padding for interfaces
2459 2007-12-12 Alexander Larsson <alexl@redhat.com>
2463 * gbufferedinputstream.c:
2464 * gbufferedoutputstream.c:
2467 * gdatainputstream.[ch]:
2468 * gdesktopappinfo.c:
2469 * gdirectorymonitor.c:
2471 * gfileattribute.[ch]:
2474 * gfileinputstream.h:
2475 * gfilemonitor.[ch]:
2476 * gfileoutputstream.[ch]:
2477 * gfilterinputstream.h:
2478 * gfilteroutputstream.h:
2481 * gloadableicon.[ch]:
2482 * gmemoryinputstream.c:
2483 * gmountoperation.c:
2485 Fix up a bunch of details in the docs.
2490 2007-12-11 David Zeuthen <davidz@redhat.com>
2492 Rework how volumes, drives and volume monitoring is
2493 done. Previosly the model was
2495 GDrive <1-1> GVolume
2497 where a GDrive instance represented a mount point and a GVolume
2498 instance represented a mounted file system. This patch changes it
2501 GDrive <1-N> GVolume <1-1> GMount
2503 where GMount now serves the purpose of the old GVolume and the new
2504 GVolume serves the purpose of the old GDrive. In addition the new
2505 GDrive interface is used to represent a collection of GVolume
2506 instances (typically partitions) and also contains utility to query
2507 the state of the physical drive the GDrive object represents (such
2508 as checking for media, polling the drive, ejecting the media etc.).
2510 Also implement mounting and unmounting in the Unix volume monitor
2511 backend. A subquent patch will introduce GDrive support for ejection
2515 * gdrive.c: (g_drive_is_media_check_automatic),
2516 (g_drive_is_media_removable), (g_drive_has_media),
2517 (g_drive_can_poll_for_media), (g_drive_eject),
2518 (g_drive_eject_finish), (g_drive_poll_for_media),
2519 (g_drive_poll_for_media_finish):
2521 * gfile.c: (g_file_find_enclosing_mount):
2524 * glocaldirectorymonitor.c:
2525 (g_local_directory_monitor_constructor), (mounts_changed):
2526 * glocalfile.c: (get_mount_info),
2527 (g_local_file_find_enclosing_mount),
2528 (g_local_file_file_iface_init):
2529 * gnativevolumemonitor.h:
2530 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2531 (get_connected_drives), (g_union_volume_monitor_class_init),
2532 (child_volume_added), (child_volume_removed),
2533 (child_volume_changed), (child_mount_added), (child_mount_removed),
2534 (child_mount_pre_unmount), (child_mount_changed),
2535 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2536 (g_union_volume_monitor_remove_monitor),
2537 (_g_mount_get_for_mount_path):
2538 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2539 (guess_system_internal), (_g_get_unix_mounts),
2540 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2541 (g_unix_mount_free), (g_unix_mount_compare),
2542 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2543 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2544 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2545 (type_to_icon), (g_unix_mount_guess_name),
2546 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2547 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2548 (_resolve_symlink), (_resolve_dev_root):
2550 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2551 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2552 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2553 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2554 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2555 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2556 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2557 (g_unix_volume_volume_iface_init):
2559 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2560 (get_mounts), (get_volumes), (get_connected_drives),
2561 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2562 (mountpoints_changed), (mounts_changed),
2563 (g_unix_volume_monitor_init),
2564 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2565 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2566 * gunixvolumemonitor.h:
2567 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2568 (g_volume_mount), (g_volume_mount_finish):
2570 * gvolumemonitor.c: (g_volume_monitor_class_init),
2571 (g_volume_monitor_get_connected_drives),
2572 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2575 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2577 * gmountoperation.h (GPasswordFlags): Close the gap
2579 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2581 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2583 * gdesktopappinfo.[hc]: Remove _-prefixes
2585 2007-12-10 Tor Lillqvist <tml@novell.com>
2587 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2590 2007-12-10 Alexander Larsson <alexl@redhat.com>
2592 * gfile.c (g_file_set_display_name):
2593 Don't hardcode '/' (#502727)
2595 2007-12-09 Hans Breuer <hans@breuer.org>
2597 * makefile.msc : follow lib naming convention
2598 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2599 for user and group name, tested with ../tests/gio-ls
2601 2007-12-09 A. Walton <awalton@svn.gnome.org>
2603 * gdesktopappinfo.c:
2609 * gfileenumerator.c:
2614 * gmemoryinputstream.c:
2615 * gmemoryoutputstream.c:
2617 * gsimpleasyncresult.c:
2618 More documentation cleanup and filling in missing information, bringing
2619 GIO to 99% symbol coverage.
2621 2007-12-08 Hans Breuer <hans@breuer.org>
2623 [gio compiles and links on win32, not sure how much already works]
2624 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2625 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2626 base on win32 API; prefer g_lstat() over lstat(); instead of
2627 localtime_r() use an all GLib implementation on win32;
2628 get_mount_info() still needs a win32 specifc implementation
2629 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2630 win32_get_file_user_info to get owner/group info without uid/gid
2631 * glocalfileinputstream.c : include <io.h> on win32
2632 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2633 definition, use g_win32_ftruncate() for G_OS_WIN32
2634 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2635 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2636 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2637 * makefile.msc : updated
2639 2007-12-07 Alexander Larsson <alexl@redhat.com>
2641 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2642 Avoid warning spew if error == NULL
2644 2007-12-07 Alexander Larsson <alexl@redhat.com>
2647 Update docs wrt etags
2649 2007-12-06 Alexander Larsson <alexl@redhat.com>
2652 Include sys/types.h for dev_t (#501919)
2654 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2658 Make abicheck and pltcheck pass.
2660 2007-12-05 Alexander Larsson <alexl@redhat.com>
2663 * giomodule-priv.h: Added.
2664 * glocaldirectorymonitor.c:
2665 * glocalfilemonitor.c:
2666 * gunionvolumemonitor.c:
2668 Actually add the declaration of _g_io_modules_ensure_loaded
2670 2007-12-05 Alexander Larsson <alexl@redhat.com>
2672 * gdatainputstream.c:
2677 * glocaldirectorymonitor.c:
2678 * glocalfilemonitor.c:
2679 * gunionvolumemonitor.c:
2681 Make g_io_modules_ensure_loaded a private function and
2682 don't pass in the dirname. This means we can do magic
2683 directory finding in the win32 version.
2684 Export the actual load-modules-in-directory code so that
2685 gvfs can reuse that.
2687 2007-12-05 Alexander Larsson <alexl@redhat.com>
2689 * gbufferedinputstream.c:
2690 * gbufferedoutputstream.c:
2693 * gfileenumerator.[ch]:
2694 * gfileinputstream.c:
2695 * gfileoutputstream.[ch]:
2696 * gfilterinputstream.c:
2697 * gfilteroutputstream.c:
2698 * ginputstream.[ch]:
2700 * glocalfileenumerator.c:
2701 * glocalfileinputstream.c:
2702 * glocalfileoutputstream.c:
2703 * gmemoryinputstream.c:
2704 * gmemoryoutputstream.c:
2705 * goutputstream.[ch]:
2708 * gunixinputstream.c:
2709 * gunixoutputstream.c:
2710 Rename all struct members named:
2711 read, write, close, truncate, or mount
2712 to foo_fn, as these are reserved names
2713 and could be defined as macros in libc.
2716 2007-12-04 Alexander Larsson <alexl@redhat.com>
2719 (g_output_stream_close):
2720 Only call flush if non-null.
2722 2007-11-30 Dan Winship <danw@gnome.org>
2724 * ginputstream.c (g_input_stream_set_pending): Make this take a
2725 GError and return a gboolean, and do the "outstanding operation"
2726 check (and the "stream is already closed" check) itself.
2727 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2729 * goutputstream.c (g_output_stream_set_pending)
2730 (g_output_stream_clear_pending): Likewise
2732 * gbufferedinputstream.c:
2733 * gfileinputstream.c:
2734 * gfileoutputstream.c: Update for that
2736 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2737 Like g_simple_async_report_error_in_idle, but takes a GError
2738 rather than building one.
2740 2007-11-30 Dan Winship <danw@gnome.org>
2742 * goutputstream.c: Don't cheat and unset the "pending" flag around
2743 inner calls. Instead, call the class method directly rather than
2744 the wrapper function that checks "pending"
2746 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2748 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2750 2007-12-03 Hans Breuer <hans@breuer.org>
2752 [start of port to win32/msvc]
2753 * gcancellable.c : HAVE_UNIST_H and _pipe()
2754 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2755 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2756 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2758 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2759 * glocalvfs.c : use HAVE_PWD_H
2760 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2761 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2762 * Makefile.am : added to EXTRA_DIST
2764 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2766 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2769 2007-12-03 Alexander Larsson <alexl@redhat.com>
2772 Handle OSX style xattrs API (#500506)
2774 2007-12-03 Alexander Larsson <alexl@redhat.com>
2778 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2780 2007-12-02 A. Walton <awalton@svn.gnome.org>
2784 Documentation accuracy fixes.
2786 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2788 * gioenumtypes.c.template: Fix typo.
2790 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2792 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2794 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2796 * gdirectorymonitor.c:
2797 * gfilemonitor.c: Add properties
2799 * gbufferedoutputstream.c: Don't mark buffer-size property
2802 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2804 * gbufferedoutputstream.c: Add auto-grow property.
2806 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2808 * *.c: Unify the capitalization of section headings.
2810 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2812 * gmountoperation.c: Add properties
2814 * gdatainputstream.c: Turn byte-order and newline-type into
2817 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2819 * gioenumtypes.[hc].template: Templates for enum registration
2821 * Makefile.am: Generate gioenumtypes.[hc]
2823 * gio.h: Include gioenumtypes.h
2825 * gfile.h: Add some explicit nicks.
2827 * gio.symbols: Add new symbols
2829 * pltcheck.sh: Adjust
2831 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2833 * *.c: Explain etags and link to the explanation
2835 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2837 * *.c: Explain I/O priority.
2839 * *.c: More coding style fixes.
2841 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2843 * gasyncresult.c: Add another paragraph to the intro,
2844 adjust coding style of example.
2846 2007-11-29 A. Walton <awalton@svn.gnome.org>
2849 Fixes unknown meaning in GAppLaunchContext docs.
2851 Clarify asynchronous ops.
2853 Fix entity tag docs.
2856 Provides missing gtk-doc section, fixes API docs slighly.
2857 * gsimpleasyncresult.c:
2858 Fill in missing info in docs.
2859 * gunixinputstream.c:
2860 * gunixoutputstream.c:
2861 Be more expressive in short description.
2863 Remove gtk-doc stubs for non-public API.
2865 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2867 * *.c: Coding style fixups
2869 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2871 * inotify/inotify-helper.c: Don't export the lock from libgio.
2873 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2876 * abicheck.sh: Fix copy-and-paste leftovers
2878 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2880 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2882 2007-11-28 Alexander Larsson <alexl@redhat.com>
2886 Removed unnecessary file
2888 * gdesktopappinfo.[ch]:
2891 * glocaldirectorymonitor.[ch]:
2893 * glocalfileenumerator.[ch]:
2894 * glocalfileinputstream.[ch]:
2895 * glocalfilemonitor.[ch]:
2896 * glocalfileoutputstream.[ch]:
2898 * gnativevolumemonitor.c:
2899 * gpollfilemonitor.[ch]:
2900 * gunionvolumemonitor.[ch]:
2903 * gunixvolumemonitor.[ch]:
2906 * inotify/ginotifydirectorymonitor.[ch]:
2907 * inotify/ginotifyfilemonitor.[ch]:
2908 * inotify/inotify-helper.c:
2909 Append _ to all internal functions
2913 Export symbols needed for modules
2915 2007-11-28 Alexander Larsson <alexl@redhat.com>
2918 * abicheck.sh: Added.
2919 * makegioalias.pl: Added.
2920 * pltcheck.sh: Added.
2921 * gio.symbols: Added.
2924 Initial work on adding symbol handling.
2927 Correct ifdef guard name
2930 * inotify/Makefile.am:
2931 * xdgmime/Makefile.am:
2932 Include toplevel Makefile.decl
2934 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2936 * gcontenttype.c: Move doc comments to the unix section.
2938 * *.[hc]: More trivial doc corrections.
2940 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2942 * gpollfilemonitor.c:
2946 * gdesktopappinfo.c:
2951 * gdatainputstream.c:
2952 * gdatainputstream.h:
2953 * gdataoutputstream.c:
2954 * gdataoutputstream.h:
2955 * gfileinfo.h: Doc cleanups
2957 2007-11-28 Andre Klapper <a9016009@gmx.de>
2959 * gdesktopappinfo.c: Fix a typo.
2961 2007-11-27 Andre Klapper <a9016009@gmx.de>
2963 * glocalfileoutputstream.c: Fix a typo.
2965 2007-11-27 Alexander Larsson <alexl@redhat.com>
2968 Don't include removed headers
2970 2007-11-27 Alexander Larsson <alexl@redhat.com>
2973 * gsocketinputstream.[ch]: Removed.
2974 * gsocketoutputstream.[ch]: Removed.
2975 * gunixinputstream.[ch]: Added.
2976 * gunixoutputstream.[ch]: Added.
2977 Renamed GSocket*Stream to GUnix*Stream and made
2978 it unix-only, since its not really only for sockets
2979 and it only works on unix (but is highly useful there).
2981 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2987 * gbufferedinputstream.c:
2988 * gbufferedinputstream.h:
2989 * gbufferedoutputstream.c:
2990 * gbufferedoutputstream.h:
2994 * gdatainputstream.c:
2995 * gdatainputstream.h:
2996 * gdataoutputstream.c:
2997 * gdataoutputstream.h:
2998 * gdirectorymonitor.c:
2999 * gdirectorymonitor.h:
3006 * gfileenumerator.c:
3007 * gfileenumerator.h:
3012 * gfileinputstream.c:
3013 * gfileinputstream.h:
3016 * gfilenamecompleter.c:
3017 * gfilenamecompleter.h:
3018 * gfileoutputstream.c:
3019 * gfileoutputstream.h:
3020 * gfilterinputstream.c:
3021 * gfilterinputstream.h:
3022 * gfilteroutputstream.c:
3023 * gfilteroutputstream.h:
3036 * glocalfileoutputstream.c:
3037 * gmemoryinputstream.c:
3038 * gmemoryinputstream.h:
3039 * gmemoryoutputstream.c:
3040 * gmemoryoutputstream.h:
3041 * gmountoperation.c:
3042 * gmountoperation.h:
3045 * gpollfilemonitor.c:
3048 * gsimpleasyncresult.c:
3049 * gsimpleasyncresult.h:
3050 * gsocketinputstream.c:
3051 * gsocketinputstream.h:
3052 * gsocketoutputstream.c:
3053 * gsocketoutputstream.h:
3060 * gunixvolumemonitor.c:
3069 Bumps documentation to 93% symbol coverage, touching most
3070 of the public files. Fixes broken function documentation prototypes.
3071 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3072 gtk-doc headers in private files.
3074 2007-11-27 Jürg Billeter <j@bitron.ch>
3076 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3077 (g_buffered_input_stream_read_byte):
3078 * gbufferedinputstream.h:
3079 New functions for efficient access to buffer and simple single byte
3082 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3083 (g_data_input_stream_read_until):
3084 * gdatainputstream.h:
3085 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3086 read_until with multiple stop chars.
3088 2007-11-27 Alexander Larsson <alexl@redhat.com>
3092 * inotify/Makefile.am:
3093 Use the user-specified giomoduledir
3095 2007-11-27 Alexander Larsson <alexl@redhat.com>
3099 Add catch-all gio.h header
3100 Don't install gdummyfile.h
3102 2007-11-26 Alexander Larsson <alexl@redhat.com>
3104 * Makefile.am (gioinclude_HEADERS):
3105 Remove trailing whitespace
3107 2007-11-26 Alexander Larsson <alexl@redhat.com>
3109 Merge gio-standalone into glib
3111 2007-11-25 Christian Kellner <gicmo@gnome.org>
3113 * gio/goutputstream.c:
3114 Fix small mistake in the docs.
3116 2007-11-21 Christian Persch <chpe@gnome.org>
3118 * gio/glocalfile.c: (g_local_file_trash):
3119 Convert filenames to UTF-8 for GError.
3120 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3121 as per xdg base dir spec.
3123 2007-11-21 Christian Persch <chpe@gnome.org>
3125 * gio/gdesktopappinfo.c:
3126 Use that g_key_file_to_data cannot fail.
3128 Use stock defines for the key file group and key names.
3131 2007-11-21 Alexander Larsson <alexl@redhat.com>
3134 (copy_stream_with_progress):
3135 Make sure we do a final progress callback with
3136 the full total size.
3138 2007-11-21 Alexander Larsson <alexl@redhat.com>
3141 Export g_file_copy_attributes
3142 Remove padding as its not needed for interfaces
3144 2007-11-20 Alexander Larsson <alexl@redhat.com>
3149 Add G_IO_ERROR_WOULD_MERGE for
3150 copy/move dir on dir with overwrite.
3152 2007-11-20 Alexander Larsson <alexl@redhat.com>
3155 * gio/glocalfileinfo.c:
3156 Add COPY_NAME (this is an optional
3157 non-modified utf8 version of the name) that
3160 2007-11-20 Alexander Larsson <alexl@redhat.com>
3162 * gio/glocalfileenumerator.c:
3163 Report errors as GIOError, not GFileError
3165 2007-11-16 Alexander Larsson <alexl@redhat.com>
3167 * gio/glocalfileoutputstream.c:
3168 * gio/gwin32appinfo.c:
3169 Fix typos in strings.
3170 Patch from Luca Ferretti <elle.uca@libero.it>
3172 2007-11-15 Alexander Larsson <alexl@redhat.com>
3175 Post release version bump
3177 === gio-standalone 0.1.2 ===
3179 2007-11-15 Alexander Larsson <alexl@redhat.com>
3181 * docs/reference/gio/Makefile.am:
3182 Fix up distcheck by removing weird
3188 2007-11-14 Alexander Larsson <alexl@redhat.com>
3190 * gio/gdesktopappinfo.c:
3191 * gio/glocaldirectorymonitor.c:
3193 * gio/glocalfileinfo.c:
3194 * gio/inotify/inotify-sub.c:
3195 * programs/gio-cat.c:
3196 * programs/gio-copy.c:
3197 * programs/gio-info.c:
3198 * programs/gio-ls.c:
3199 * programs/gio-monitor-dir.c:
3200 * programs/gio-monitor-file.c:
3201 * programs/gio-mount.c:
3202 * programs/gio-move.c:
3203 * programs/gio-rm.c:
3204 * programs/gio-save.c:
3205 * programs/gio-trash.c:
3206 Leak fixes from Kjartan Maraas
3208 2007-11-14 Alexander Larsson <alexl@redhat.com>
3210 * gio/fam/fam-helper.c:
3212 * gio/glocalfileinfo.c:
3216 * gio/inotify/inotify-diag.c:
3217 * gio/inotify/inotify-kernel.c:
3218 Various code cleanups from Kjartan Maraas
3220 2007-11-14 Alexander Larsson <alexl@redhat.com>
3222 * gio/gioscheduler.c:
3224 Set up threadpool so that we cache 2 unused
3225 idle threads for at 15 secs. This means we
3226 will reuse thread-local data (like dbus connections)
3229 2007-11-14 Alexander Larsson <alexl@redhat.com>
3231 * gio/fam/fam-helper.c:
3232 * gio/fam/gfamdirectorymonitor.c:
3233 * gio/fam/gfamfilemonitor.c:
3235 * gio/gcontenttype.c:
3236 * gio/gdatainputstream.c:
3237 * gio/gdataoutputstream.c:
3241 * gio/gfileattribute.h:
3242 * gio/gfileenumerator.c:
3244 * gio/ginputstream.c:
3247 * gio/glocalfileinfo.c:
3248 * gio/goutputstream.c:
3249 * gio/gpollfilemonitor.c:
3250 * gio/gsimpleasyncresult.c:
3251 * gio/gunixmounts.c:
3252 * gio/gunixmounts.h:
3253 * gio/inotify/ginotifydirectorymonitor.c:
3254 * gio/inotify/ginotifyfilemonitor.c:
3255 * gio/inotify/inotify-diag.c:
3256 * gio/inotify/inotify-kernel.c:
3257 * gio/inotify/inotify-path.c:
3259 * gio/test-streams.c:
3260 * programs/gio-info.c:
3261 * programs/gio-monitor-dir.c:
3262 * programs/gio-monitor-file.c:
3263 Various code cleanups from Kjartan Maraas
3265 2007-11-13 Alexander Larsson <alexl@redhat.com>
3268 Handle the uri-scheme calls for dummy files
3270 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3272 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3273 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3274 to avoid clash with the C++ keyword.
3276 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3278 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3279 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3281 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3283 * gio/glocaldirectorymonitor.c:
3284 * gio/glocalfilemonitor.c:
3285 * gio/gunionvolumemonitor.c:
3286 Don't use g_once_init_*() for initializations that could fail and
3287 could leave the initialization variable set to 0 but use GOnce.
3288 This prevents a deadlock on the second call when trying to create
3289 a monitor and no monitor type is available. Thanks to Sven Herzberg
3292 2007-11-11 Sven Herzberg <sven@imendio.com>
3294 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3295 #ifdef (make it work on MacOS X again)
3297 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3299 Fixes Changelog for last two commits (sorry guys).
3301 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3303 * gio/gbufferedinputstream.c:
3304 * gio/gdatainputstream.c:
3306 * gio/gfileoutputstream.c:
3307 * gio/gfilterinputstream.c:
3308 * gio/glocalfileinputstream.c:
3311 More consistency fixes in g*stream.c files.
3312 Significant clean of gfile's documentation, filling in of
3313 asynchronous operations documentation.
3315 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3317 * gio/gasyncresult.c:
3318 * gio/gbufferedinputstream.c:
3319 * gio/gbufferedoutputstream.c:
3320 * gio/gcancellable.c:
3321 * gio/gcontenttype.c:
3322 * gio/gdatainputstream.c:
3323 * gio/gdataoutputstream.c:
3324 * gio/gdesktopappinfo.c:
3327 * gio/gfileattribute.c:
3328 * gio/gio/gfileenumerator.c:
3330 * gio/gfileinputstream.c:
3331 * gio/gfilemonitor.c:
3332 * gio/gfileoutputstream.c:
3333 * gio/ginputstream.c:
3335 * gio/gioscheduler.c:
3336 * gio/gloadableicon.c:
3337 * gio/glocalfileoutputstream.c:
3338 * gio/gmemoryoutputstream.c:
3339 * gio/gmountoperation.c:
3340 * gio/goutputstream.c:
3342 * gio/gsimpleasyncresult.c:
3343 * gio/gunionvolumemonitor.c:
3344 * gio/gunixmounts.c:
3345 * gio/gunixvolume.c:
3349 * gio/gvolumemonitor.c:
3350 Updated documentation stubs, working towards consistency and
3353 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3355 * gio/gmemoryoutputstream.c:
3356 * gio/gmemoryoutputstream.h:
3357 Change g_memory_output_stream_set_free_on_close() to
3358 g_memory_output_stream_set_free_data() as this makes more sense and
3359 is more consistent with GMemoryInputStream.
3361 2007-11-07 Alexander Larsson <alexl@redhat.com>
3368 Change how we find the default vfs so that
3369 we can handle a gvfs failing to init
3371 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gio/gbufferedoutputstream.c:
3374 * gio/gdatainputstream.c:
3375 * gio/gdataoutputstream.c:
3376 * gio/gfileinputstream.c:
3377 * gio/gfileoutputstream.c:
3378 * gio/gfilterinputstream.c:
3379 * gio/gfilteroutputstream.c:
3380 * gio/ginputstream.c:
3381 * gio/gmemoryinputstream.c:
3382 * gio/gmemoryoutputstream.c:
3383 * gio/goutputstream.c:
3384 * gio/gsimpleasyncresult.c:
3385 * gio/gsocketinputstream.c:
3386 * gio/gsocketoutputstream.c:
3387 Add guards to the remaining public functions, add a TODO for
3388 an unimplemented function and remove some useless guards.
3390 2007-11-07 Alexander Larsson <alexl@redhat.com>
3393 Autoconf checks for the various types of
3394 getpwuid_r and getgrgid_r
3396 * gio/glocalfileinfo.c:
3397 Use the autoconf checks from above
3399 2007-11-07 Alexander Larsson <alexl@redhat.com>
3402 (g_local_file_query_filesystem_info):
3403 Some fixes for the statvfs case
3405 2007-11-07 Alexander Larsson <alexl@redhat.com>
3408 (g_local_file_query_filesystem_info):
3409 Pick the "best" of statfs / statvfs for the system
3410 if both are availible.
3412 2007-11-07 Alexander Larsson <alexl@redhat.com>
3414 Solaris fixes from Halton.Huo@Sun.COM:
3421 * gio/glocalfileinfo.c:
3422 Fix for solaris definition of getpwuid_r
3424 * gio/test-streams.c:
3425 Use G_GNUC_PRETTY_FUNCTION
3427 2007-11-07 Alexander Larsson <alexl@redhat.com>
3429 * gio/gdesktopappinfo.c:
3430 (update_default_list):
3431 Remove double semicolon.
3432 Patch from Jens Granseuer
3434 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3436 * docs/reference/gio/gio-sections.txt:
3437 * gio/gbufferedinputstream.c:
3438 * gio/gbufferedinputstream.h:
3439 * gio/gdatainputstream.c:
3440 * gio/gfileenumerator.c:
3441 * gio/gioscheduler.c:
3442 * gio/gunionvolumemonitor.c:
3444 * programs/gio-save.c:
3445 Fix typo: availible -> available. Unfortuntely this breaks API
3446 and ABI as g_buffered_input_stream_get_available() was renamed.
3448 * gio/gunixmounts.c:
3449 * gio/gbufferedinputstream.c:
3450 Add guards for public functions.
3452 2007-11-06 Ross Burton <ross@openedhand.com>
3454 * docs/reference/gio/Makefile.am:
3455 Fix invalid += usage which automake 1.10 doesn't like.
3457 2007-11-06 Alexander Larsson <alexl@redhat.com>
3460 (g_app_launch_context_class_init):
3463 Patch from Ross Burton
3465 2007-11-06 Alexander Larsson <alexl@redhat.com>
3468 Post release version bump
3470 === gio-standalone 0.1.1 ===
3472 2007-11-06 Alexander Larsson <alexl@redhat.com>
3475 Bump version to 0.1.1
3477 * gio/gsimpleasyncresult.c:
3478 (g_simple_async_result_set_from_error):
3479 Remove bogus g_return_if_fail
3481 2007-11-06 Alexander Larsson <alexl@redhat.com>
3484 The name is gio-standalone
3487 Add top src/builddir to includedir
3489 2007-11-06 Alexander Larsson <alexl@redhat.com>
3491 * docs/reference/gio/gio-sections.txt:
3493 * gio/gbufferedinputstream.c:
3494 * gio/gbufferedoutputstream.c:
3495 * gio/gcancellable.c:
3496 * gio/gdatainputstream.h:
3497 * gio/gdataoutputstream.c:
3498 * gio/gdataoutputstream.h:
3499 * gio/gdirectorymonitor.c:
3501 * gio/gfileattribute.c:
3502 * gio/gfileattribute.h:
3503 * gio/gfileenumerator.c:
3504 * gio/gfileenumerator.h:
3507 * gio/gfileinputstream.h:
3508 * gio/gfilemonitor.c:
3509 * gio/gfileoutputstream.h:
3510 * gio/glocalfilemonitor.h:
3511 * gio/glocalfileoutputstream.h:
3512 * gio/gmemoryinputstream.c:
3513 * gio/gmemoryoutputstream.c:
3514 * gio/gmountoperation.c:
3515 * gio/goutputstream.c:
3516 * gio/goutputstream.h:
3518 * gio/gsimpleasyncresult.c:
3519 * gio/gunixmounts.c:
3520 * gio/gunixmounts.h:
3522 * gio/inotify/inotify-helper.c:
3523 Fix gtk-doc warnings
3525 Patch from Ross Burton
3527 2007-11-06 Alexander Larsson <alexl@redhat.com>
3529 * gio/gfilenamecompleter.c:
3530 (g_filename_completer_get_completions):
3533 * gio/gunixvolume.c:
3534 Remove unused function
3536 Patches from Ross Burton
3538 2007-11-06 Alexander Larsson <alexl@redhat.com>
3543 Padding not needed for interfaces
3545 2007-11-06 Alexander Larsson <alexl@redhat.com>
3547 * gio/gfilemonitor.c:
3551 Make giotypes.h an internal file
3554 * gio/gbufferedinputstream.h:
3555 * gio/gbufferedoutputstream.h:
3556 * gio/gcancellable.h:
3557 * gio/gdatainputstream.h:
3558 * gio/gdataoutputstream.h:
3559 * gio/gdirectorymonitor.c:
3560 * gio/gdirectorymonitor.h:
3565 * gio/gfileattribute.h:
3566 * gio/gfileenumerator.h:
3571 * gio/gfilemonitor.c:
3572 * gio/gfilemonitor.h:
3573 * gio/gfilenamecompleter.c:
3574 * gio/gfilenamecompleter.h:
3575 * gio/gfilterinputstream.h:
3576 * gio/gfilteroutputstream.h:
3577 * gio/ginputstream.h:
3578 * gio/gmemoryinputstream.h:
3579 * gio/gmemoryoutputstream.h:
3580 * gio/gmountoperation.c:
3581 * gio/gmountoperation.h:
3582 * gio/gnativevolumemonitor.c:
3583 * gio/goutputstream.h:
3586 * gio/gsimpleasyncresult.c:
3587 * gio/gsimpleasyncresult.h:
3588 * gio/gsocketinputstream.h:
3589 * gio/gsocketoutputstream.h:
3590 * gio/gthemedicon.c:
3591 * gio/gthemedicon.h:
3595 * gio/gvolumemonitor.c:
3596 * gio/gvolumemonitor.h:
3597 Add padding in classes where it seems useful
3598 Don't include giotypes.h from public headers
3599 Move in Class definitions into c file where possible
3604 2007-11-06 Alexander Larsson <alexl@redhat.com>
3606 * docs/reference/gio/gio-docs.xml:
3607 Better structure for API docs
3609 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gio/gloadableicon.c:
3613 * gio/gsimpleasyncresult.c:
3614 * gio/gthemedicon.c:
3615 Add some more guards to public functions. Only files missing are now
3618 2007-11-06 Alexander Larsson <alexl@redhat.com>
3620 * docs/reference/gio/gio-docs.xml:
3621 Remove old files, add missing ones
3623 2007-11-06 Alexander Larsson <alexl@redhat.com>
3625 * docs/reference/gio/gio-sections.txt:
3628 Hide implementation classes
3630 * gio/gdriveprivate.h:
3631 * gio/gvolumeprivate.h:
3632 Remove non-existing function declarations
3634 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3637 Fix compilation warnings and add guards to the new functions.
3639 * gio/gasyncresult.c:
3641 Add guards to the public functions.
3644 Implement get_path().
3646 2007-11-06 Alexander Larsson <alexl@redhat.com>
3648 * gio/gfilenamecompleter.c:
3649 Make g_filename_completer_get_completions
3650 return char ** instead of GList for
3653 * docs/reference/gio/gio-docs.xml:
3654 * docs/reference/gio/gio-sections.txt:
3656 * gio/gasyncresult.c:
3657 * gio/gbufferedinputstream.c:
3658 * gio/gbufferedoutputstream.c:
3659 * gio/gcancellable.c:
3660 * gio/gcontenttype.c:
3661 * gio/gdatainputstream.c:
3662 * gio/gdataoutputstream.c:
3663 * gio/gdesktopappinfo.c:
3664 * gio/gdirectorymonitor.c:
3668 * gio/gfileattribute.c:
3669 * gio/gfileenumerator.c:
3672 * gio/gfileinputstream.c:
3673 * gio/gfilemonitor.c:
3674 * gio/gfilenamecompleter.c:
3675 * gio/gfilenamecompleter.h:
3676 * gio/gfileoutputstream.c:
3677 * gio/gfilterinputstream.c:
3679 * gio/ginputstream.c:
3681 * gio/gioscheduler.c:
3682 * gio/gloadableicon.c:
3683 * gio/glocaldirectorymonitor.c:
3685 * gio/glocalfileinputstream.c:
3686 * gio/glocalfilemonitor.c:
3687 * gio/glocalfileoutputstream.c:
3689 * gio/gmemoryinputstream.c:
3690 * gio/gmemoryoutputstream.c:
3691 * gio/gmountoperation.c:
3692 * gio/goutputstream.c:
3693 * gio/gpollfilemonitor.c:
3695 * gio/gsimpleasyncresult.c:
3696 * gio/gsocketinputstream.c:
3697 * gio/gsocketoutputstream.c:
3698 * gio/gthemedicon.c:
3699 * gio/gunionvolumemonitor.c:
3701 * gio/gunixmounts.c:
3702 * gio/gunixvolume.c:
3703 * gio/gunixvolumemonitor.c:
3707 * gio/gvolumemonitor.c:
3708 * gio/gwin32appinfo.c:
3709 Add (mostly stub) doc strings to public functions.
3710 Patch from Andrew Walton (awalton@gmail.com)
3712 2007-11-06 Alexander Larsson <alexl@redhat.com>
3714 * gio/gappinfo.[ch]:
3715 Added GAppLaunchContext object and pass that to launch.
3716 This allows simple implementation of both
3717 launch-on-screen and startup notification via a gtk+
3718 subclass of GAppLaunchContext
3720 * gio/gdesktopappinfo.c:
3721 Implement GAppLaunchContext API
3723 * gio/gwin32appinfo.c:
3726 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3728 * gio/gmountoperation.c:
3729 Add some guards to GMountOperation's public functions.
3731 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3735 * gio/gcancellable.c:
3736 * gio/gdirectorymonitor.c:
3738 * gio/gfileenumerator.c:
3739 * gio/gfilemonitor.c:,
3740 * gio/gfilenamecompleter.c:
3743 * gio/gioscheduler.c:
3747 * gio/gvolumemonitor.c:
3748 Add even more guards to various public functions.
3750 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3753 Add guards to the public functions of GAppInfo.
3755 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3757 * gio/gcontenttype.c:
3758 Add some more guards for public functions.
3760 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3762 * gio/fam/fam-module.c:
3763 * gio/fam/gfamdirectorymonitor.c:
3764 * gio/fam/gfamdirectorymonitor.h:
3765 * gio/fam/gfamfilemonitor.c:
3766 * gio/fam/gfamfilemonitor.h:
3767 * gio/inotify/ginotifydirectorymonitor.c:
3768 * gio/inotify/ginotifydirectorymonitor.h:
3769 * gio/inotify/ginotifyfilemonitor.c:
3770 * gio/inotify/ginotifyfilemonitor.h:
3771 Add proper copyright information and remove an unused variable
3772 in the GInotifyFileMonitor constructor.
3774 * gio/gcancellable.c:
3775 Add a guard for a public function and an assertion to prevent
3776 an undefined program state.
3778 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3780 * gio/gfileattribute.c:
3781 Don't run into an assertion if the given attribute value is NULL
3782 in g_file_attribute_value_get_*() but instead return a fallback
3783 value that makes sense in most situations. Passing them a attribute
3784 value with the wrong type will still run into an assertion.
3786 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3788 * gio/gfileattribute.c:
3790 Add even more guards to the public functions. Also fix the refcounting
3791 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3792 let g_file_info_list_attributes() filter the attributes by namespace
3793 instead of simply ignoring the namespace parameter.
3795 2007-11-03 Sven Herzberg <sven@imendio.com>
3797 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3798 (This makes gio work on MacOS X again)
3800 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3803 Build the gio subdirectory before the docs. Otherwise the build will
3806 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3807 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3808 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3809 Add guards to the public functions.
3811 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3813 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3814 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3815 to prevent a compiler warning.
3817 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3818 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3819 return something in the non-void function find_topdir_for().
3821 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3828 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3830 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3831 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3832 * gwin32appinfo.c (g_win32_app_info_launch):
3833 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3834 envp_for_startup_id, g_desktop_app_info_launch,
3835 g_desktop_app_info_launch_uris):
3837 Give an opaque 'startup_id' string instead of 'envp'.
3838 Support empty file lists for launching new windows.
3839 Fix infinite recursion bug when launching URIs.
3841 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3844 Add guard to the new g_file_get_uri_scheme() function.
3846 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3849 Convert a g_return_val_if_fail() to setting the GError instead as
3850 otherwise applications have to verify the parameter before otherwise
3851 and the parameter might come directly from the user.
3853 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3855 * gio/inotify/ginotify*.[ch]:
3856 Add missing copyright information.
3858 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3861 Add guards in the beginning of public functions to check for valid
3862 parameters and fix a bug in copy_stream_with_progress() that could've
3863 caused writing less bytes than reading.
3864 * gio/glocalfileinfo.c:
3865 Check for a NULL parameter and set the GError accordingly then.
3866 * gio/goutputstream.c:
3867 Fix the same bug as in gfile.c that could've caused writing less bytes
3868 than reading in g_output_stream_real_splice().
3870 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3873 Use the correct gvolumeprivate.h naming
3875 2007-11-01 Christian Kellner <gicmo@gnome.org>
3878 Remove leftover "$(daemon_sources)" entry.
3880 2007-11-01 Christian Kellner <gicmo@gnome.org>
3885 Add copyright information to source files.
3887 2007-11-01 Alexander Larsson <alexl@redhat.com>
3891 Add g_file_get_uri_scheme
3893 2007-11-01 Alexander Larsson <alexl@redhat.com>
3896 * gio/gdesktopappinfo.c:
3897 * gio/gwin32appinfo.c:
3898 Add g_app_info_get_default_for_uri_scheme.
3900 2007-11-01 Alexander Larsson <alexl@redhat.com>
3903 Correct filename for gdriveprivate.h
3905 2007-10-31 Alexander Larsson <alexl@redhat.com>
3908 Rename id:value to id:file
3911 * gio/glocalfileinfo.c:
3914 2007-10-31 Alexander Larsson <alexl@redhat.com>
3916 * gio/gunixvolume.c:
3918 Remove g_volume_get_platform_id, as thats not
3919 needed with the simpler union volume monitor
3921 2007-10-31 Alexander Larsson <alexl@redhat.com>
3924 * gio/guniondrive.[ch]: Removed.
3925 * gio/gunionvolume.[ch]: Removed.
3926 Remove GUnionDrive/Volume
3928 * gio/gunionvolumemonitor.c:
3929 Simplify union volume monitor, now we
3930 only have one native volume monitor and
3931 we use the actual volumes/drives from the
3932 child monitors instead of wrapping them
3934 * gio/gnativevolumemonitor.[ch]:
3935 Base class for native volume monitors.
3936 Includes priority and get_volume_for_mountpoint
3939 Add g_file_find_enclosing_volume
3942 Remove volume name fs attribute
3943 Add readonly fs attribute
3946 Implement readonly attribute
3947 remove volume name attribute
3948 Implement find_enclosing volume
3950 * gio/gunixmounts.c:
3951 Add a volume for "/".
3953 * gio/gunixvolume.[ch]:
3954 Set better name for /
3956 * gio/gunixvolumemonitor.[ch]:
3957 Derive from GNativeVolumeMonitor
3958 Implement get_volume_for_mountpoint
3961 GVolume typedef moved to gfile.h
3963 * gio/gvolumeprivate.h:
3964 Add g_volume_get_for_mount_path
3966 2007-10-31 Alexander Larsson <alexl@redhat.com>
3968 * gio/gunixmounts.[ch]:
3969 Add cache info to unix mount listers
3970 Make getmntent use threadsafe
3971 Add is_system_internal attribute for GUnixMount
3973 * gio/gunixvolume.c:
3974 (g_unix_volume_new):
3975 Use is_system_internal instead of own code
3977 * gio/glocaldirectorymonitor.c:
3978 * gio/gunixvolumemonitor.c:
3979 Update to new gunixmounts API
3984 2007-10-30 Alexander Larsson <alexl@redhat.com>
3987 Add volume name fsinfo attribute
3990 Read volume name info
3992 * gio/gunionvolumemonitor.c:
3993 Fix infinite loops when finalizing a union volume monitor
3995 2007-10-30 Alexander Larsson <alexl@redhat.com>
3997 * gio/goutputstream.[ch]:
3998 Add splice() with default implementation
4000 * gio/gsocketoutputstream.c:
4001 (g_socket_output_stream_write):
4002 Return error on cancellation correctly.
4004 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4006 * gio/glocalfile.c (g_local_file_trash):
4007 Do not leak a string.
4009 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4011 * gio/gfile.c (g_file_load_contents):
4012 Unref the stream after closing it.
4014 2007-10-25 Alexander Larsson <alexl@redhat.com>
4016 * gio/gioscheduler.h:
4019 2007-10-25 Alexander Larsson <alexl@redhat.com>
4023 Add g_file_has_uri_scheme and implement for local files
4025 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4027 * gio/gdesktopappinfo.c: do not leak a string.
4029 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4032 (g_local_directory_monitor_new):
4033 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4034 (g_local_file_monitor_new):
4035 Only look for the monitor type that should be used the first time
4036 and use g_qsort_with_data() instead of our own bubble sort
4039 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4042 * gio/fam/Makefile.am:
4043 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4044 * gio/fam/fam-helper.h:
4045 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4046 * gio/fam/gfamdirectorymonitor.c:
4047 * gio/fam/gfamdirectorymonitor.h:
4048 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4049 * gio/fam/gfamfilemonitor.h:
4050 * gio/glocaldirectorymonitor.c:
4051 * gio/glocaldirectorymonitor.h:
4052 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4053 * gio/glocalfilemonitor.h:
4054 * gio/inotify/Makefile.am:
4055 * gio/inotify/ginotifydirectorymonitor.c:
4056 * gio/inotify/ginotifydirectorymonitor.h:
4057 * gio/inotify/ginotifyfilemonitor.c:
4058 * gio/inotify/ginotifyfilemonitor.h:
4059 Implement the FAM and Inotify monitors as
4060 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4061 their own GIO module. GLocal(Directory|File)Monitor will use the
4062 monitor with the highest rank that is supported on that machine.
4064 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4067 Change GIO module dir to $(libdir)/gio/modules and change
4068 the log domain from GVFS to GIO. Also only export symbols starting
4069 with g_ in the resulting library.
4070 * gio/test-streams.c: (main):
4071 Set log handler for the GIO log domain.
4073 2007-10-22 Alexander Larsson <alexl@redhat.com>
4075 * gio/gfilenamecompleter.[ch]:
4076 Add g_filename_completer_set_dirs_only
4078 2007-10-22 Alexander Larsson <alexl@redhat.com>
4081 * gio/gurifuncs.[ch]:
4082 Add some simple URI helpers
4084 * gio/gfilenamecompleter.[ch]:
4085 Added object for filename (parse name actually) completion
4088 Handle ~ in parse names
4090 2007-10-17 Alexander Larsson <alexl@redhat.com>
4093 * gio/glocalfileinfo.c:
4094 Add and implement id:value attribute
4096 2007-10-17 Alexander Larsson <alexl@redhat.com>
4099 * gio/guniondrive.c:
4101 Add and implement g_drive_has_volumes
4103 2007-10-17 Alexander Larsson <alexl@redhat.com>
4106 * gio/glocalfileinfo.[ch]:
4107 Add unix:is_mountpoint and implement for local files
4109 2007-10-16 Alexander Larsson <alexl@redhat.com>
4111 * gio/gunionvolumemonitor.c:
4112 (g_union_volume_monitor_init):
4113 Fix up the unix type getting so that it works with gcc
4115 2007-10-12 Alexander Larsson <alexl@redhat.com>
4118 * gio/glocalfileinfo.c:
4119 Add thumbnail:failed to file info
4121 2007-10-12 Richard Hult <richard@imendio.com>
4123 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4124 optimizing away the get_type call (happens with some gcc versions,
4125 like the one shipped with OS X 10.4).
4127 2007-10-12 Alexander Larsson <alexl@redhat.com>
4129 * gio/glocalfileinfo.c:
4130 (_g_local_file_info_set_attribute):
4131 Fix build if not HAVE_XATTR
4132 Patch from Milosz Derezynski <internalerror@gmail.com>
4134 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4136 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4137 around for review, otherwise I would have asked you before
4140 2007-10-11 Alexander Larsson <alexl@redhat.com>
4143 Add thumbnail:path attribute
4145 * gio/glocalfileinfo.c:
4146 Implement thumbnail:path for local files
4148 2007-10-11 Alexander Larsson <alexl@redhat.com>
4150 * gio/glocalfileinfo.c:
4151 (_g_local_file_info_get):
4152 Avoid duplicate icon names
4154 2007-10-11 Alexander Larsson <alexl@redhat.com>
4156 * gio/gthemedicon.[ch]:
4157 Change g_themed_icon_get_names return type to const
4159 2007-10-10 Alexander Larsson <alexl@redhat.com>
4161 * gio/glocalfileinfo.c:
4162 Don't reference freed memory
4164 2007-10-10 Alexander Larsson <alexl@redhat.com>
4166 * gio/gfileattribute.c:
4169 * gio/glocalfileinfo.c:
4172 2007-10-10 Alexander Larsson <alexl@redhat.com>
4175 Check for NULL icons
4177 * gio/gfileattribute.c:
4178 Don't dup when getting objects (same as for string attributes)
4180 * gio/gicon.c (g_icon_equal):
4181 Safely handle NULLs in equal
4183 2007-10-10 Alexander Larsson <alexl@redhat.com>
4186 Fix c++ compilation issues
4187 Patch from Milosz Derezynski <internalerror@gmail.com>
4189 2007-10-10 Alexander Larsson <alexl@redhat.com>
4191 * programs/gio-monitor-dir.c:
4192 Don't crash if dir monitor not supported.
4194 2007-10-09 Alexander Larsson <alexl@redhat.com>
4197 Add missing G_END_DECLS
4199 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4201 * gio/gfile.c: (g_file_set_display_name),
4202 (g_file_query_settable_attributes),
4203 (g_file_query_writable_namespaces):
4204 Return NULL not FALSE on errors as the return type is a pointer.
4206 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4208 * gio/glocalfile.c: (g_local_file_monitor_file):
4209 Don't call monitor_file on the default interface vtable (which
4210 is NULL) but simply return NULL. The caller, GFile, will create a
4211 polling monitor if NULL is returned.
4213 2007-10-09 Alexander Larsson <alexl@redhat.com>
4217 * gio-unix-2.0.pc.in:
4218 Add gio-unix-2.0.pc if OS_UNIX
4221 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4223 2007-10-09 Alexander Larsson <alexl@redhat.com>
4225 * gio/gunixmounts.[ch]:
4226 Make unix mount monitoring API sane.
4227 Now its just a object with mounts_changed
4228 and mountpoints_changed signals.
4230 * gio/glocaldirectorymonitor.c:
4231 * gio/gunixvolumemonitor.c:
4232 Use new mount monitor api
4234 2007-10-09 Alexander Larsson <alexl@redhat.com>
4236 * gio/gunixmounts.[ch]:
4237 Move guess type into one call for mounts and one for mountpoints
4240 * gio/gunixvolume.c:
4243 2007-10-09 Alexander Larsson <alexl@redhat.com>
4245 * gio/gunixmounts.[ch]:
4246 Remove _ prefix in preparation to make this semi-public
4247 Hide implementation of structs
4249 * gio/glocaldirectorymonitor.c:
4251 * gio/gunixvolume.c:
4252 * gio/gunixvolumemonitor.c:
4253 Update for above API changes
4255 2007-10-08 Alexander Larsson <alexl@redhat.com>
4258 Better polling fallback. This also handles the case where we have
4259 a monitor_file implementation, but it fails.
4261 2007-10-08 Alexander Larsson <alexl@redhat.com>
4265 * gio/gunixmounts.c:
4266 * programs/gio-monitor-dir.c:
4267 * programs/gio-monitor-file.c:
4268 Added cancellable to file monitoring calls.
4269 These are really sync calls and need this.
4271 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4273 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4274 (g_local_vfs_class_init):
4275 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4276 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4278 2007-10-05 Alexander Larsson <alexl@redhat.com>
4280 * gio/gdirectorymonitorprivate.h:
4281 * gio/gfilemonitorprivate.h:
4282 * gio/gdirectorymonitor.h:
4283 * gio/gfilemonitor.h:
4284 Remove *private.h and move to the public API, so that
4285 we can do implementations outside gio (such as in gvfs)
4287 * gio/gdirectorymonitor.c:
4288 * gio/gfilemonitor.c:
4289 * gio/glocaldirectorymonitor.c:
4290 * gio/gpollfilemonitor.c:
4291 * gio/inotify/inotify-helper.c:
4292 * gio/fam/fam-helper.c:
4293 Update to the new header names
4295 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4297 * gio/gdirectorymonitor.c:
4298 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4301 2007-10-04 Alexander Larsson <alexl@redhat.com>
4303 * gio/glocalfileinfo.c (get_access_rights):
4304 Set CAN_TRASH when we can move the file.
4305 We should really also check for a parent trash dir.
4307 2007-10-04 Alexander Larsson <alexl@redhat.com>
4309 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4310 Add can_trash access attribute
4312 2007-10-04 Alexander Larsson <alexl@redhat.com>
4315 (g_local_file_trash):
4316 Create info file first. This is per-spec and allows
4317 us to actually trash directories.
4319 2007-10-02 Alexander Larsson <alexl@redhat.com>
4321 * gio/gdesktopappinfo.c:
4322 Implement the new mime support code.
4323 Always set app as handling mimetype when being set as default for it
4325 2007-10-01 Alexander Larsson <alexl@redhat.com>
4327 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4328 Fix up check for xattrs:
4330 2007-10-01 Alexander Larsson <alexl@redhat.com>
4333 (g_app_info_set_as_default_for_extension):
4334 (g_app_info_add_supports_type):
4335 (g_app_info_can_remove_supports_type):
4336 (g_app_info_remove_supports_type):
4337 Make these fail nicely if not implemented
4339 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4341 * gio/glocalfileoutputstream.c:
4342 * gio/glocalfileoutputstream.h:
4347 * programs/gio-save.c:
4348 Add a GFileCreateFlags argument to operations that can create
4351 2007-10-01 Alexander Larsson <alexl@redhat.com>
4353 * gio/gappinfo.[ch]:
4354 * gio/gdesktopappinfo.c:
4355 Add more (stubbed out) mime API needed for nautilus
4357 2007-10-01 Alexander Larsson <alexl@redhat.com>
4360 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4361 Add g_app_info_set_as_default_for_extension.
4363 * gio/gdesktopappinfo.c:
4364 Dummy for g_app_info_set_as_default_for_extension
4365 Support flags in g_app_info_create_from_commandline
4367 * gio/gwin32appinfo.c:
4369 Update for API changes
4371 * gio/gthemedicon.c:
4372 Properly NULL-terminate list of icon names
4374 2007-09-28 Alexander Larsson <alexl@redhat.com>
4376 * gio/gloadableicon.h:
4377 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4379 2007-09-28 Alexander Larsson <alexl@redhat.com>
4382 Install headers in $includedir/gio-standalone/
4384 * gio-2.0.pc.in: Added.
4385 * gio-standalone.pc.in: Removed.
4388 Renamed pkg-config file to match glib (for future move)
4389 Update to the new include dir
4392 Add more TODO comments
4394 2007-09-28 Alexander Larsson <alexl@redhat.com>
4396 * gio/gdesktopappinfo.[ch]:
4397 Expose new_from_filename
4398 Add getter for is_hidden and handle it better
4400 2007-09-28 Alexander Larsson <alexl@redhat.com>
4402 * gio/gfileinfo.[ch]:
4403 Rename g_file_size_format_for_display to
4404 g_format_file_size_for_display.
4405 Now it doesn't have the g_file prefix, so we
4406 can later move it to glib.
4408 2007-09-28 Alexander Larsson <alexl@redhat.com>
4410 * gio/gappinfo.[ch]:
4411 Add g_app_info_get_id and g_app_info_get_executable.
4412 Make all getters non-reffing
4413 Make g_app_info_launch take GFile arguments.
4414 Add must_support_uris argument to g_app_info_get_default_for_type.
4416 * gio/gwin32appinfo.c:
4417 Update to GAppInfo api changes
4419 * gio/gdesktopappinfo.c:
4420 Update to GAppInfo api changes
4421 Implement supports_xdg_startup_notify
4423 * gio/gfileicon.c (g_file_icon_get_file):
4424 Make getter non-reffing.
4429 2007-09-27 Alexander Larsson <alexl@redhat.com>
4431 * gio/gfileinfo.[ch]:
4432 Add g_file_size_format_for_display helper
4434 2007-09-27 Alexander Larsson <alexl@redhat.com>
4436 * gio/glocalfileinfo.c:
4437 Set UNIX_GID from gid, not from uid
4439 2007-09-27 Alexander Larsson <alexl@redhat.com>
4442 Add g_file_set_attributes_async
4444 2007-09-27 Alexander Larsson <alexl@redhat.com>
4446 * gio/glocalfile.c (g_local_file_set_display_name):
4447 Fix set_display_name to actually rename to the right place.
4448 Use lstat to look for existing files so we don't overwrite
4451 2007-09-26 Alexander Larsson <alexl@redhat.com>
4454 Add g_file_set_display_name_async()
4456 2007-09-26 Alexander Larsson <alexl@redhat.com>
4459 Add load_partial_contents async calls
4462 Make internal function static
4464 2007-09-26 Alexander Larsson <alexl@redhat.com>
4466 * gio/glocalfileinfo.c:
4467 Correctly detect broken symlinks
4469 2007-09-26 Alexander Larsson <alexl@redhat.com>
4471 * gio/gcancellable.c (g_cancellable_cancel):
4472 Allow cancel on NULL cancellable
4474 2007-09-25 Alexander Larsson <alexl@redhat.com>
4476 * gio/gsimpleasyncresult.c:
4477 Don't allocate g_error manually.
4478 Fixes g_slice/g_new mixup crash
4480 2007-09-25 Alexander Larsson <alexl@redhat.com>
4482 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4483 Actually set active_backend.
4484 This means the monitor will be cancelled correctly.
4486 2007-09-25 Alexander Larsson <alexl@redhat.com>
4488 * gio/gdirectorymonitor.c:
4489 Set timeout to NULL when destroying
4491 2007-09-25 Alexander Larsson <alexl@redhat.com>
4494 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4495 that is a better description of the error.
4497 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4499 * gio/gvfs.c: (g_vfs_get_local):
4500 Make the local vfs variable static. The same instance should
4503 2007-09-24 Alexander Larsson <alexl@redhat.com>
4505 * gio/glocalfileinfo.c:
4506 Pass in actual length read into sniffer, not the length
4509 2007-09-21 Alexander Larsson <alexl@redhat.com>
4511 * gio/gfileenumerator.c:
4514 * gio/gfileinputstream.c:
4515 * gio/gfileoutputstream.c:
4516 * gio/ginputstream.c:
4517 * gio/goutputstream.c:
4518 Don't crash if async callbacks are NULL
4520 2007-09-20 Alexander Larsson <alexl@redhat.com>
4523 Add async enumerate_children method and default
4526 2007-09-20 Alexander Larsson <alexl@redhat.com>
4529 Add g_file_contains_file & g_file_get_relative_path, since they
4530 were needed for nautilus.
4531 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4536 Implement new methods
4538 2007-09-17 Alexander Larsson <alexl@redhat.com>
4541 * gio/gfileinputstream.[ch]:
4542 * gio/gfileoutputstream.[ch]:
4544 * gio/glocalfileenumerator.[ch]:
4545 * gio/glocalfileinfo.[ch]:
4546 * gio/glocalfileinputstream.c:
4547 * gio/glocalfileoutputstream.c:
4548 * gio/gpollfilemonitor.c:
4549 * programs/gio-copy.c:
4550 * programs/gio-info.c:
4551 * programs/gio-move.c:
4552 Rename get_file_info to query_info() to make it clearer
4553 that these are not simple getters, but do i/o.
4555 2007-09-17 Alexander Larsson <alexl@redhat.com>
4557 * gio/gdatainputstream.[ch]:
4558 * gio/test-streams.c:
4559 Use _read_XXX instead of _get_XXX for the i/o calls
4562 2007-09-17 Alexander Larsson <alexl@redhat.com>
4565 Added needed stuff to TODO comment
4567 2007-09-17 Alexander Larsson <alexl@redhat.com>
4569 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4570 Don't error out removing the backup copy if it doesn't
4573 2007-09-14 Alexander Larsson <alexl@redhat.com>
4575 * programs/Makefile.am:
4576 * programs/gvfs-*.c:
4578 Renamed apps from gvfs-xxx to gio-xxx.
4580 2007-09-14 Alexander Larsson <alexl@redhat.com>
4583 * gio/gfileoutputstream.[ch]:
4584 * gio/glocalfileoutputstream.c:
4585 * programs/gvfs-save.c:
4586 g_file_output_stream_get_etag doesn't do i/o, so remove
4587 cancellation and error.
4589 2007-09-14 Alexander Larsson <alexl@redhat.com>
4592 Add new_etag output to replace_contents functions
4594 2007-09-14 Alexander Larsson <alexl@redhat.com>
4596 * gio/gfileoutputstream.[ch]:
4597 Add async get_file_info and default implementation
4599 2007-09-14 Alexander Larsson <alexl@redhat.com>
4601 * gio/gfileinputstream.c:
4602 Implement fallback wrapper for async get_file_info
4604 2007-09-14 Alexander Larsson <alexl@redhat.com>
4607 Add etag out argument to load_contents
4612 2007-09-14 Alexander Larsson <alexl@redhat.com>
4614 * gio/gcontenttype.c (looks_like_text):
4615 Whitespace like tab, cr and lf do not make the
4618 2007-09-14 Alexander Larsson <alexl@redhat.com>
4620 * gio/gfileinputstream.[ch]:
4621 Add async get_file_info.
4623 2007-09-13 Alexander Larsson <alexl@redhat.com>
4625 * gio/goutputstream.c (g_output_stream_write_all):
4626 Allow NULL for bytes_written
4628 2007-09-13 Alexander Larsson <alexl@redhat.com>
4630 * gio/gmemoryinputstream.[ch]:
4631 Add accessors for data
4633 2007-09-13 Alexander Larsson <alexl@redhat.com>
4635 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4636 Don't crash if length is NULL