1 2008-07-27 Tor Lillqvist <tml@novell.com>
3 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
5 2008-07-24 David Zeuthen <davidz@redhat.com>
9 Also export a g_mount_guess_content_type_sync() function.
11 2008-07-23 Matthias Clasen <mclasen@redhat.com>
13 529694 – SELinux context setting support
15 * gfileinfo.c: Support setting selinux attributes.
18 2008-07-22 Priit Laes <plaes@plaes.org>
20 Bug 544140 - fam-helper 64-bit issue?
22 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
24 2008-07-21 Matthias Clasen <mclasen@redhat.com>
26 * === Released 2.17.4 ===
28 2008-07-20 Matthias Clasen <mclasen@redhat.com>
30 * gvolumemonitor.[hc]:
35 * gmount.c: Documentation fixes
37 2008-07-19 Matthias Clasen <mclasen@redhat.com>
39 543504 – crash in Epiphany Web Browser: Opening local file
50 * gvolume.c: Register types thread-safely.
51 Patch by Christian Persch
53 2008-07-18 Matthias Clasen <mclasen@redhat.com>
55 * gcontenttype.c: Remove debug spew
57 2008-07-18 Matthias Clasen <mclasen@redhat.com>
59 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
62 * fen/fen-kernel.c: Remove a warning that was causing
63 crashes. Reported by Lin Ma.
65 2008-07-18 Matthias Clasen <mclasen@redhat.com>
67 Bug 543040 – async reading on dummy file will crash on
70 * gfile.c (open_read_async_thread): Cope with read_fn being
71 NULL. Reported by Lin Ma.
73 2008-07-18 Matthias Clasen <mclasen@redhat.com>
76 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
78 2008-07-16 Matthias Clasen <mclasen@redhat.com>
82 * giomodule.c: Rename a chapter id to avoid filename conflict.
84 2008-07-16 Matthias Clasen <mclasen@redhat.com>
86 Bug 540616 – mem leak in filechooser button
88 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
89 the mount entry. Reported by Chrisitan Persch
91 2008-07-16 Matthias Clasen <mclasen@redhat.com>
93 * gfile.c: Small documentation fixes.
95 2008-07-15 Matthias Clasen <mclasen@redhat.com>
97 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
99 2008-07-08 Matthias Clasen <mclasen@redhat.com>
104 * gmount.c: Documentation improvements.
106 2008-07-08 Matthias Clasen <mclasen@redhat.com>
109 * gmount.[hc]: Add g_mount_guess_content_type().
111 2008-07-06 David Zeuthen <davidz@redhat.com>
114 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
115 is needed for easily handling adoption of foreign volumes by
116 out-of-process volume monitors (#541793)
118 2008-07-06 David Zeuthen <davidz@redhat.com>
120 * gvolumemonitor.[ch]:
121 * gunionvolumemonitor.c: Export the eject-button signal on the
122 volume monitor class (#541794).
124 2008-07-06 Matthias Clasen <mclasen@redhat.com>
126 * gappinfo.c: More doc tweaks
128 2008-07-05 Matthias Clasen <mclasen@redhat.com>
130 * gappinfo.c: Clarify some docs
132 2008-07-03 Matthias Clasen <mclasen@redhat.com>
134 * gdesktopappinfo.c: Fix a stupid mistake.
136 2008-07-02 Matthias Clasen <mclasen@redhat.com>
138 * === Released 2.17.3 ===
140 2008-07-02 Matthias Clasen <mclasen@redhat.com>
142 * gfilemonitor.c: Fix the build.
144 2008-07-02 Matthias Clasen <mclasen@redhat.com>
146 Bug 536160 – Add g_file_monitor()
149 * gfile.[hc]: Add g_file_monitor which can return either
150 a file or a directory monitor. Proposed by Behdad Esfahbod
152 2008-07-02 Matthias Clasen <mclasen@redhat.com>
154 536733 – gio build failure on Irix
156 * glocalfile.c: Use a configure check for structfs.f_bavail.
158 2008-07-02 Matthias Clasen <mclasen@redhat.com>
160 Bug 534639 – add g_desktop_app_info_new_from_keyfile
163 * gdesktopappinfo.[hc]: Add a function to create a
164 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
166 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
168 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
170 2008-07-01 Matthias Clasen <mclasen@redhat.com>
172 * gunixmounts.c: Fix a doc typo.
174 2008-07-01 Cody Russell <bratsche@gnome.org>
176 * gio/gcontenttype.c:
177 * gio/gwin32appinfo.c:
178 * gio/gwin32volumemonitor.c:
179 * gio/gwin32mount.c: Fixed some include problems.
181 2008-07-01 Cody Russell <bratsche@gnome.org>
185 Moved all relevant typedefs into these files.
188 Updated wrt added files.
190 Split types into separate file for easier maintainership. (#538564)
192 2008-06-30 Matthias Clasen <mclasen@redhat.com>
194 Bug 540331 – g_file_append_to () documentation: can return NULL
196 * gfile.c (g_file_append_to): Clarify docs.
199 2008-06-30 Matthias Clasen <mclasen@redhat.com>
201 Bug 539090 – g_content_type_from_mime_type() should unalias
203 * gcontentype.c (g_content_type_from_mime_type): Unalias.
204 Patch by Markus Bergman
206 2008-06-30 Matthias Clasen <mclasen@redhat.com>
208 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
211 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
212 on ppc and alpha. Reported by Mart Raudsepp
214 2008-06-29 Matthias Clasen <mclasen@redhat.com>
217 * tests/memory-output-stream.c: Add some tests for
220 2008-06-29 Matthias Clasen <mclasen@redhat.com>
222 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
225 * gmemoryoutputstream.c (array_resize): Handle truncation to
226 zero correctly. Reported by Akira Tagoh
228 2008-06-29 Matthias Clasen <mclasen@redhat.com>
230 * gmemoryoutputstream.c: Trivial doc fixes
232 2008-06-29 Matthias Clasen <mclasen@redhat.com>
234 Bug 540802 – g_list_prepend doesn't concat lists
236 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
237 one list to another. Pointed out by Jan Arne Petersen
239 2008-06-28 Michael Natterer <mitch@imendio.com>
241 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
243 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
245 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
246 to avoid problems with partial icon themes.
248 2008-06-17 Hans Breuer <hans@breuer.org>
250 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
251 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
252 access again on win32, see bug #538127
253 * giomodule.c : ensure GWin32VolumeMonitor is registered
254 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
255 * Makefile.am makefile.msc : updated
257 2008-06-16 Hans Breuer <hans@breuer.org>
259 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
260 and initialization in one step avoids c99ism
262 2008-06-16 Christian Persch <chpe@gnome.org>
265 * gio/gbufferedinputstream.c
267 * gio/gdatainputstream.c
268 * gio/gdesktopappinfo.c
270 * gio/gfileenumerator.c
271 * gio/gfileinputstream.c
272 * gio/gfileoutputstream.c
274 * gio/glocaldirectorymonitor.c
276 * gio/glocalfileenumerator.c
277 * gio/glocalfileinfo.c
278 * gio/glocalfilemonitor.c
279 * gio/glocalfileoutputstream.c
280 * gio/gmemoryinputstream.c
281 * gio/gmemoryoutputstream.c
282 * gio/goutputstream.c
283 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
286 2008-06-16 Tor Lillqvist <tml@novell.com>
288 Bug 538362 - Get Win32 icons back in the file chooser
290 * gcontenttype.c (g_content_type_get_icon): Look up the icon
291 corresponding to a file extension in the Registry. Patch by Hans
293 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
295 2008-06-16 Tor Lillqvist <tml@novell.com>
297 Patches by Hans Breuer:
299 * glocalfile.c (is_xp_or_later): Handle compiling against older
300 SDK headers with missing VerifyVersionInfo(). Conditioned on
301 _MSC_VER, but should probably use some better test.
302 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
303 uninitialised statfs_result variable on Win32.
305 2008-06-16 Michael Natterer <mitch@imendio.com>
307 * *.c: chain up unconditionally in finalize() and dispose(). Also
308 don't dereference these function pointers when calling them since
309 that has no meaning at all.
311 2008-06-16 Ross Burton <ross@burtonini.com>
314 Remove check for dispose implementation as it annoys Emmanuele.
316 2008-06-16 Ross Burton <ross@burtonini.com>
318 Bug 536252 – GFileEnumerator should allow access to the containing
324 Add g_file_enumerator_get_container() and a container writeable
325 construct-only property. Also shuffle around typedefs to make it
328 * glocalfileenumerator.c:
329 * glocalfileenumerator.h:
331 Instead of a string filename take a GFile in the constructor and
332 use it to set the container property.
337 2008-06-16 Matthias Clasen <mclasen@redhat.com>
339 * gfile.c: Make includes more uniform
341 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
343 * tests/live-g-file.c (sample_struct):
344 Use less fancy unicode filenames, so the test doesn't fail
345 on Mac OS X (#531476).
347 2008-06-12 Matthias Clasen <mclasen@redhat.com>
349 * === Released 2.17.2 ===
351 2008-06-12 Matthias Clasen <mclasen@redhat.com>
353 * === Released 2.17.1 ===
355 2008-06-11 A. Walton <awalton@gnome.org>
357 * tests/g-file.c (test_g_file_new_null):
358 Fix broken test case.
360 2008-06-11 Matthias Clasen <mclasen@redhat.com>
362 * pltcheck.sh: We use g_clear_error now.
364 2008-06-11 Matthias Clasen <mclasen@redhat.com>
366 * glocalfile.c (g_local_file_enumerate_children): Revert
367 an unintended change.
369 2008-06-11 Matthias Clasen <mclasen@redhat.com>
371 * gfile.c (g_file_replace_contents): Don't unref before the last use.
373 2008-06-10 Matthias Clasen <mclasen@redhat.com>
375 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
378 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
379 as icon for the desktop directory, also make user-home and
380 user-desktop the preferred icons.
382 2008-06-10 Matthias Clasen <mclasen@redhat.com>
385 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
386 to add a name to the front of the list.
388 2008-06-10 Matthias Clasen <mclasen@redhat.com>
390 Bug 537392 – Additional colon in xattr name
392 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
393 too. Reported by Alessandro Morandi
395 2008-06-10 Matthias Clasen <mclasen@redhat.com>
397 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
400 * glocalfile.c (get_fs_type): Add afs and autofs.
401 Patch by Danny Baumann.
403 2008-06-10 Matthias Clasen <mclasen@redhat.com>
405 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
407 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
408 is no parent. (Owen Taylor, patch by Christian Neumair)
410 2008-06-10 Paolo Borelli <pborelli@katamail.com>
412 * gfile.c (g_file_replace_contents): do not leak the output stream.
414 2008-06-10 Michael Natterer <mitch@imendio.com>
416 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
417 uninitialized memory as array index.
419 2008-06-10 Tor Lillqvist <tml@novell.com>
421 * gcontenttype.c (g_content_type_can_be_executable)
422 (g_content_type_get_icon) [Win32]: Add TODO comments.
424 2008-06-09 Matthias Clasen <mclasen@redhat.com>
426 * xdgmime/Makefile.am: Fix the build
428 2008-06-09 Matthias Clasen <mclasen@redhat.com>
430 * gcontenttype.c (g_content_type_get_icon): Use icons specified
431 in the shared mime database, if available.
433 * xdgmime/*: Sync with upstream. This brings support for
434 glob weights, generic icons, and changes the cache format to
437 2008-05-28 Michael Natterer <mitch@imendio.com>
439 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
440 the global CPPFLAGS now.
442 * tests/data-input-stream.c
443 * tests/data-output-stream.c
444 * tests/g-file-info.c
446 * tests/live-g-file.c
447 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
449 2008-05-27 Matthias Clasen <mclasen@redhat.com>
451 * === Released 2.17.0 ===
453 * tests/live-g-file.c: Clean up after the tests, so make distcheck
454 doesn't complain about leftover files.
456 2008-05-27 simon.zheng <simon.zheng@sun.com>
458 * glocalfile.c: (g_local_file_query_filesystem_info):
459 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
461 2008-05-26 Michael Natterer <mitch@imendio.com>
463 * gmemoryoutputstream.h: declare
464 g_memory_output_stream_get_data_size().
466 2008-05-26 Matthias Clasen <mclasen@redhat.com>
468 * tests/*: Make tests work
470 2008-05-26 Matthias Clasen <mclasen@redhat.com>
472 * gio.symbols: Add g_memory_output_stream_get_data_size.
474 2008-05-25 Ross Burton <ross@burtonini.com>
477 Fix typo in error message (#534764).
479 2008-05-25 Ross Burton <ross@burtonini.com>
482 Fix circular dependency loop for gioenumtypes.h (#534759).
484 2008-05-19 Hans Breuer <hans@breuer.org>
486 * Makefile.am : EXTRA_DIST += makefile.msc
488 2008-05-17 Matthias Clasen <mclasen@redhat.com>
491 * gcontenttype.c: (g_content_type_from_mime_type):
492 New function to create a content type from a mime type. (#527175,
495 2008-05-17 Matthias Clasen <mclasen@redhat.com>
497 Bug 532965 – Should not return filesystem::free for certain file systems
499 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
500 free space for ncpfs.
502 2008-05-17 Matthias Clasen <mclasen@redhat.com>
504 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
506 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
507 st_dev might be zero.
509 2008-05-16 Tor Lillqvist <tml@novell.com>
511 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
512 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
514 2008-05-13 Bastien Nocera <hadess@hadess.net>
516 * gfile.c (has_valid_scheme): A URI scheme must start with a
517 letter, even if later more characters are allowed (#532852)
519 2008-05-05 Michael Natterer <mitch@imendio.com>
521 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
522 code from being checked in that breaks the build of applications
523 which use G_DISABLE_SINGLE_INCLUDES.
525 * makegioalias.pl: make the alias file include "glib.h" instead of
528 * gio.symbols: whitespace change to force regeneration of the
529 alias file after above script change.
531 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
533 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
535 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
537 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
539 2008-04-28 David Zeuthen <davidz@redhat.com>
541 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
542 displaying mounts in a subdirectory not accessible to the
545 2008-04-22 Michael Natterer <mitch@imendio.com>
547 * Makefile.am: fix library versioning (it was 0.0.0).
549 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
551 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
552 Default disable all loggings.
553 * fen/fen-kernel.c: (printevent), (port_add_kevent),
554 (port_fetch_event_cb): Fixed two macro nits.
556 2008-04-16 Matthias Clasen <mclasen@redhat.com>
558 * xdgmime/xdgmime.c: Rework the timestamp checking code
559 to protect against duplicate directories in XDG_DATA_DIRS.
560 Fixes fd.o bug 12513, reported by Joe Shaw.
562 2008-04-16 Matthias Clasen <mclasen@redhat.com>
564 Partically revert the last commit after realizing that
565 xdg_mime_media_type_equal doesn't have to init at all.
568 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
570 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
572 2008-04-16 Matthias Clasen <mclasen@redhat.com>
574 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
575 reported by Joe Shaw and Federico Mena Quintero.
577 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
578 (xdg_mime_media_type_equal): Turn into a wrapper around the
581 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
582 functions throughout.
584 2008-04-16 Michael Meeks <michael.meeks@novell.com>
586 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
587 tolerate an empty TryExec= line without failing; nautilus used
588 to create launchers with these in previous versions. Fixes #528433
590 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
592 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
593 after name. Fixes #527132.
595 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
597 * gfile.c: (g_file_replace):
600 2008-04-07 Matthias Clasen <mclasen@redhat.com>
602 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
604 * gfile.c (file_copy_fallback): Fix the argument order. Patch
605 by Christian Kellner.
607 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
609 * gunixmounts.c: (g_unix_mount_guess_should_display):
610 Don't list the user directory as a mount, fix potential issue
611 when other users have a similar naming and don't special case the
612 gvfs mounts there since that's not required (#525866)
614 2008-03-31 Alexander Larsson <alexl@redhat.com>
616 * glocalfile.c (get_parent):
619 2008-03-31 A. Walton <awalton@svn.gnome.org>
621 * gfile.c (g_file_query_file_type):
622 Always return a GFileType enum value (#520715).
624 2008-03-31 Alexander Larsson <alexl@redhat.com>
626 * glocalfileenumerator.c:
627 Read readdir() info in chunks (of 1000) and sort
628 the chunks by inode before stat:ing.
629 This is a 20% performance increase in testing
630 gvfs-ls on /usr/bin with cold cache.
632 2008-03-31 Alexander Larsson <alexl@redhat.com>
634 * gmemoryoutputstream.c:
635 Clarify docs for g_memory_output_stream_get_size.
636 Add g_memory_output_stream_get_data_size.
638 2008-03-30 Matthias Clasen <mclasen@redhat.com>
642 * gfile.h: Add g_file_query_file_type convenience function
643 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
645 2008-03-30 Matthias Clasen <mclasen@redhat.com>
648 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
650 2008-03-28 A. Walton <awalton@svn.gnome.org>
652 * giomodule.c (_g_io_modules_ensure_loaded):
653 Adds GIO_EXTRA_MODULES environment variable support, closing bug
656 2008-03-28 Alexander Larsson <alexl@redhat.com>
659 (copy_stream_with_progress):
662 2008-03-28 Alexander Larsson <alexl@redhat.com>
665 (copy_stream_with_progress):
666 (file_copy_fallback):
667 Fallback to g_file_query_info for source size
668 if g_file_input_stream_query_info fails. (#524579)
670 2008-03-28 Alexander Larsson <alexl@redhat.com>
672 * glocalfile.c (g_local_file_move):
673 Reuse old string instead of adding new one.
675 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
677 * fen/*.[hc]: still copyright issue. I hate copyright.
679 2008-03-27 Alexander Larsson <alexl@redhat.com>
681 * glocalfile.c (g_local_file_move):
682 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
683 file over directory. This is according to the docs and what the move via
684 copy+remove fallback does.
686 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
688 * fen/*.[hc]: Updated copyright.
690 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
692 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
694 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
696 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
697 not emit attribute changed events when optimizing changed events.
698 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
701 2008-03-19 Matthias Clasen <mclasen@redhat.com>
703 * gmountoperation.[hc]: Small documentation additions
705 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
707 * gunixmounts.c: (guess_mount_type):
708 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
710 2008-03-19 Alexander Larsson <alexl@redhat.com>
713 (copy_stream_with_progress):
714 Bump block side for copy to 64k to minimize
715 overhead for low latency links. (#523015)
717 2008-03-16 Tor Lillqvist <tml@novell.com>
719 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
720 depend on gio.def on Windows.
722 2008-03-12 David Zeuthen <davidz@redhat.com>
726 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
728 2008-03-14 Alexander Larsson <alexl@redhat.com>
732 Avoid redudant tests (#521851)
733 Patch from Josselin Mouette
735 2008-03-14 Alexander Larsson <alexl@redhat.com>
738 (g_file_monitor_is_cancelled):
739 Fix C89 issue (#521672)
740 Patch from Jens Granseuer
742 2008-03-14 Alexander Larsson <alexl@redhat.com>
744 * fam/fam-helper.[ch]:
746 Shut down fam (including removing fam GSource) when
747 module is unloaded (#521513)
748 Patch from Joe Marcus Clarke
750 2008-03-14 Alexander Larsson <alexl@redhat.com>
753 (_g_io_modules_ensure_loaded):
756 2008-03-14 Alexander Larsson <alexl@redhat.com>
759 (g_local_file_query_filesystem_info):
760 Use right define name for f_fstypename member check
762 2008-03-14 Alexander Larsson <alexl@redhat.com>
765 * fen/Makefile.am: Added.
766 * fen/fen-data.[ch]: Added.
767 * fen/fen-dump.[ch]: Added.
768 * fen/fen-helper.[ch]: Added.
769 * fen/fen-kernel.[ch]: Added.
770 * fen/fen-missing.[ch]: Added.
771 * fen/fen-node.[ch]: Added.
772 * fen/fen-sub.[ch]: Added.
773 * fen/gfendirectorymonitor.[ch]: Added.
774 * fen/gfenfilemonitor.[ch]: Added.
776 Added Solaris FEN file notification backend.
777 Patch from Lin Ma <Lin.Ma@Sun.COM>
779 2008-03-13 Tor Lillqvist <tml@novell.com>
781 * Makefile.am: Actually use the gio.def file when linking the
782 library on Windows. Produce .lib library for Microsoft's toolchain
783 when possible. Install the .lib and .def file like for the other
786 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
788 * tests/live-g-file.c:
789 Include live-g-file in standard set of tests, making a temporary
790 directory in source structure.
792 Clean target directory before the tests (write mode only)
794 2008-03-12 Tor Lillqvist <tml@novell.com>
796 Bug 517419 - gio win32 directory monitor
797 Implementation by Vlad Grecescu.
800 * win32/gwin32directorymonitor.h
801 * win32/gwin32directorymonitor.c: New files.
803 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
805 * Makefile.am: Add the win32 subdirectory.
807 2008-03-12 Tor Lillqvist <tml@novell.com>
809 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
810 normal struct stat on Unix but struct _stati64 on Windows to have
811 access to 64-bit file size information. Use that instead of struct
812 stat in the functions declared here in this private header.
814 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
815 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
816 warnings about unused functions and variables. Don't set
817 meaningless attributes like inode numbers on Windows.
819 2008-03-12 Benjamin Otte <otte@gnome.org>
822 trim whitespace so gtk-doc groks the function name
824 2008-03-12 Tor Lillqvist <tml@novell.com>
826 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
827 returning FALSE, on Win32.
829 2008-03-11 Alexander Larsson <alexl@redhat.com>
832 * glocalfileinfo.[ch]:
833 Correctly implement can_trash by actually
834 looking for a trash dir, not just assuming
837 2008-03-10 Matthias Clasen <mclasen@redhat.com>
839 * === Released 2.16.1 ===
841 2008-03-11 Alexander Larsson <alexl@redhat.com>
844 Fix crashes in new constructor and properties code
846 2008-03-10 Murray Cumming <murrayc@murrayc.com>
848 * gfile.c: Minor spelling correction in documentation:
849 existance -> existence.
851 2008-03-10 Matthias Clasen <mclasen@redhat.com>
853 * === Released 2.16.0 ===
855 2008-03-10 Matthias Clasen <mclasen@redhat.com>
857 * gio.symbols: Remove g_file_contains_file here, too.
859 2008-03-10 Matthias Clasen <mclasen@redhat.com>
861 * gthemedicon.c: Add properties to make bindings happy. (#517676,
862 Samuel Cormier-Iijima)
864 2008-03-08 Tor Lillqvist <tml@novell.com>
866 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
869 2008-03-07 Alexander Larsson <alexl@redhat.com>
872 (g_local_file_query_filesystem_info):
873 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
874 Patch from Jasper Lievisse Adriaanse
876 2008-03-06 Tor Lillqvist <tml@novell.com>
878 * gfileinfo.h: Correct milliseconds to microseconds in the doc
879 comments for the *_USEC attributes.
881 2008-03-06 Alexander Larsson <alexl@redhat.com>
883 * gfile.c (g_file_query_exists):
884 Add g_return_val_if_fail check (#520700)
886 2008-03-06 Alexander Larsson <alexl@redhat.com>
891 * gunionvolumemonitor.c:
894 * tests/live-g-file.c:
895 * xdgmime/xdgmimecache.c:
896 Fix sparse warnings (#519489)
898 2008-03-05 Alexander Larsson <alexl@redhat.com>
901 Make cancellation threadsafe (i.e.
902 guarantee its only done once, and always
905 * glocaldirectorymonitor.c:
906 Make sure we the monitor lives while the
907 mounts_changed callback is being called (#520484)
909 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
911 * gbufferedinputstream.c: Fix typo in parameter
914 2008-03-04 Alexander Larsson <alexl@redhat.com>
917 Remove deprecated symbols we kept for one release.
919 2008-03-04 Murray Cumming <murrayc@murrayc.com>
922 * goutputstream.c: Tiny documentation corrections.
924 2008-03-03 Alexander Larsson <alexl@redhat.com>
926 * gunionvolumemonitor.c:
928 Fix the adopt_orphan_mount vfunc to take a
929 volume_monitor reference in an ABI compat way.
930 This change is not API compat, but the added
931 arg is not used in the only user of this vfunc, so
932 all we get is a harmless warning in gvfs (#520169)
934 2008-03-01 Benjamin Otte <otte@gnome.org>
937 clarify docs for g_file_delete().
939 2008-02-29 Alexander Larsson <alexl@redhat.com>
943 Make sure empty files get text/plain type (#518720)
945 2008-02-27 Alexander Larsson <alexl@redhat.com>
951 (g_unix_volume_mount):
952 Add missing GMountMountFlags argument
954 2008-02-26 Alexander Larsson <alexl@redhat.com>
957 (g_local_file_delete):
958 Handle filesystems (like ntfs-3g) that return EEXIST instead
959 of ENOTEMPTY (#518816)
961 2008-02-25 Matthias Clasen <mclasen@redhat.com>
963 * === Released 2.15.6 ===
965 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
967 * gfile.c (g_file_find_enclosing_mount):
968 * ginputstream.c (g_input_stream_set_pending):
969 * glocalfile.c (g_local_file_find_enclosing_mount):
970 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
971 * goutputstream.c (g_output_stream_set_pending):
973 Fixup translator comments (#518578).
975 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
977 * gfile.c (g_file_find_enclosing_mount):
979 * glocalfile.c (g_local_file_find_enclosing_mount):
982 Fix a few typos in translator comments and documentation.
984 2008-02-25 Alexander Larsson <alexl@redhat.com>
991 Add translator comments (#518578)
993 2008-02-25 Alexander Larsson <alexl@redhat.com>
996 Reintroduce g_file_contains_file, keep around for one
997 unstable release cycle to avoid crashing to many apps.
998 Make sure to delete after release.
1000 2008-02-25 Alexander Larsson <alexl@redhat.com>
1003 Remove deprecated g_file_contains_file.
1005 2008-02-25 Alexander Larsson <alexl@redhat.com>
1008 Emit actual change signals in an idle handler.
1009 This avoids reentrance and locking problems in
1010 the file notification backends.
1012 2008-02-25 Alexander Larsson <alexl@redhat.com>
1015 (g_unix_mount_guess_should_display):
1016 Remove type guessing, instead just display
1017 mounts in /media and in ~/.
1019 2008-02-25 Alexander Larsson <alexl@redhat.com>
1022 Make new strings reuse old ones.
1024 2008-02-25 Alexander Larsson <alexl@redhat.com>
1027 Implement trashing and filesystem::readonly for win32 (#517235)
1028 Patch from Yevgen Muntyan
1030 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1032 * gfileinfo.h: Documentation fixes.
1034 2008-02-22 Alexander Larsson <alexl@redhat.com>
1036 * gcontenttype.c (g_content_type_get_icon):
1037 Look at old-style gnome mime icon names too, as many
1038 have not moved to the new style.
1040 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1042 * *.c: Correct the @include in for section docs.
1044 2008-02-21 David Zeuthen <davidz@redhat.com>
1046 * glocalfileinfo.c: (_g_local_file_info_get):
1048 (g_content_type_get_icon): Implement this function by
1049 moving bits from glocalfileinfo.c
1050 (g_content_type_get_description): Unalias before getting
1051 description (#517687)
1053 * gfile.c: (g_file_class_init),
1054 (g_file_query_filesystem_info_async),
1055 (g_file_query_filesystem_info_finish),
1056 (query_filesystem_info_data_free),
1057 (query_filesystem_info_async_thread),
1058 (g_file_real_query_filesystem_info_async),
1059 (g_file_real_query_filesystem_info_finish):
1060 * gfile.h: Implement async version of
1061 g_file_query_filesystem_info()
1063 * gfileinfo.h: Add new attributes for filesystem::use-preview
1065 * gio.symbols: Update
1067 * gthemedicon.c: (g_themed_icon_append_name):
1068 * gthemedicon.h: Add new new convenience function.
1070 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1071 (get_mounts), (get_volumes), (get_connected_drives),
1072 (get_volume_for_uuid), (get_mount_for_uuid),
1073 (g_union_volume_monitor_init), (populate_union_monitor),
1074 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1075 (g_volume_monitor_adopt_orphan_mount):
1077 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1078 monitor implementations to call into the main volume monitor. Also
1079 separate object initialization and volume monitor initialization
1080 such that non-native volume monitors can properly adopt their
1083 2008-02-21 Alexander Larsson <alexl@redhat.com>
1088 2008-02-21 Alexander Larsson <alexl@redhat.com>
1091 Add more documentation about how GFiles work (from #517086)
1093 2008-02-21 Alexander Larsson <alexl@redhat.com>
1097 Add new g_file_has_prefix that does the same as g_file_contains_file.
1098 Deprecate g_file_contains_file and add a macro that converts
1099 it to g_file_has_prefix.
1100 The reason for this change is that the contains_file() name seems to
1101 imply that this does more work than what it does, but its really only
1102 a name match (from #517086)
1107 Update to match the above change.
1109 2008-02-20 Benjamin Otte <otte@gnome.org>
1111 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1112 (g_file_eject_mountable):
1113 even more cases of not returning in error path
1115 2008-02-20 Benjamin Otte <otte@gnome.org>
1117 * gfile.c: (g_file_mount_mountable):
1118 return from function in error path.
1120 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1123 Remove trailing coma in GMountMountFlags struct
1125 2008-02-18 Alexander Larsson <alexl@redhat.com>
1129 * glocalfileoutputstream.c:
1130 Use g_unlink/g_rename instead of unlink/rename;
1131 do not pass raw filenames to g_set_error. (#517239)
1132 Patch from Yevgen Muntyan.
1134 2008-02-18 Alexander Larsson <alexl@redhat.com>
1137 * glocalfileoutputstream.c:
1138 Open files with O_BINARY on windows. (#517140)
1140 2008-02-14 Alexander Larsson <alexl@redhat.com>
1142 * glocalfileoutputstream.c:
1143 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1145 2008-02-14 Alexander Larsson <alexl@redhat.com>
1148 Copy permissions with file on copy (#514084)
1149 This is what cp does and makes sure e.g. the
1150 exec permissions are kept.
1151 Its kinda weird in that it keeps the permission bits
1152 the same while the uid and gid are different. However
1153 the new uid is the user so its not a security issue,
1154 and I've heard no complaints about cp on this issue.
1156 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1158 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1160 2008-02-13 Alexander Larsson <alexl@redhat.com>
1162 * inotify/inotify-path.c:
1163 Define IN_ONLYDIR if not in header (#515346)
1165 2008-02-12 Alexander Larsson <alexl@redhat.com>
1167 * tests/live-g-file.c:
1170 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1172 * === Released 2.15.5 ===
1174 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1176 * gio.symbols: Add g_mount_mount_flags_get_type.
1178 2008-02-11 Alexander Larsson <alexl@redhat.com>
1181 (g_file_info_set_attribute_mask):
1182 (g_file_attribute_matcher_matches_id):
1183 Correctly handle NULL GAttributeMatcher meaning
1184 matches nothing. (Fixes #513492)
1186 2008-02-11 Alexander Larsson <alexl@redhat.com>
1191 Added GMountMountFlags enum and added a flags
1192 argument to all mount calls.
1194 This is an API/ABI change for future extensibility,
1195 as I think we will need at least an
1196 inhibit-autorun flag (the panel needs this).
1197 There are no flags defined yet though.
1199 2008-02-11 Alexander Larsson <alexl@redhat.com>
1202 Added new standard::description attribute.
1203 Requested by Vincent, and useful for both
1206 2008-02-11 Alexander Larsson <alexl@redhat.com>
1208 * gdesktopappinfo.c:
1211 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1213 * *.c: Documentation additions
1215 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1217 * gappinfo.h: Formatting cleanup
1218 * gappinfo.c: Fix up docs.
1220 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1222 * gunixmounts.c: Consistently use getmntent_r() and fall
1223 back to getmntent(). (#515492)
1225 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1227 * gbufferedinputstream.c:
1229 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1231 * tests/data-input-stream.c:
1232 * tests/data-output-stream.c: Portability fixes.
1234 2008-02-08 Alexander Larsson <alexl@redhat.com>
1239 Add g_volume_should_automount.
1242 2008-02-07 Tor Lillqvist <tml@novell.com>
1244 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1245 Win32, too Unix-specific.
1247 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1249 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1250 a local plt if the compiler doesn't support what we want. Bug #514702
1252 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1254 reviewed by: <delete if not using a buddy>
1257 * gunixinputstream.c:
1258 * gunixoutputstream.c:
1260 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1262 * tests/Makefile.am:
1263 * tests/live-g-file.c:
1264 * tests/live-g-file.txt:
1265 New GIO testing module working over real data
1267 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1269 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1270 Fallback to rename() if link() is not available
1271 (when no support on target filesystem)
1273 2008-02-06 Michael Natterer <mitch@imendio.com>
1275 * gfileinfo.c (g_file_info_get_icon): replace
1276 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1278 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1280 * gfile.c (g_file_create):
1281 Documentation update of error codes
1283 2008-02-06 Alexander Larsson <alexl@redhat.com>
1285 * gdesktopappinfo.c:
1286 Update to use both mimeapps.list and
1287 defaults.list as discussed on xdg list.
1289 2008-02-06 Benjamin Otte <otte@gnome.org>
1292 * gfilenamecompleter.c:
1293 Fix some typos in the documentation.
1295 2008-02-06 Alexander Larsson <alexl@redhat.com>
1297 * glocalfile.c (g_local_file_trash):
1298 Don't succeed with trash if newly created
1299 trash dir has the wrong owner. (#514696)
1301 2008-02-05 Alexander Larsson <alexl@redhat.com>
1303 * glocalfile.c (g_local_file_move):
1304 Don't spew warnings when destination is not
1307 2008-02-03 Hans Breuer <hans@breuer.org>
1309 * makefile.msc : update
1311 2008-02-01 Michael Natterer <mitch@imendio.com>
1313 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1314 return value of xdg_mime_list_mime_parents() to a variable of the
1317 2008-02-01 Alexander Larsson <alexl@redhat.com>
1319 * gappinfo.c (g_app_info_launch_uris):
1320 Actually call the launch_uris method, not
1323 2008-02-01 Alexander Larsson <alexl@redhat.com>
1325 * gdesktopappinfo.c (g_desktop_app_info_equal):
1326 Ensure appinfos with no id but same pointer value
1329 2008-02-01 Alexander Larsson <alexl@redhat.com>
1331 * gappinfo.c (g_app_info_launch_default_for_uri):
1334 2008-02-01 Alexander Larsson <alexl@redhat.com>
1338 Add g_app_info_launch_default_for_uri utility
1341 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1343 * gdesktopappinfo.c:
1344 Doc fix for g_app_info_get_default_for_uri_scheme ()
1347 2008-01-30 Alexander Larsson <alexl@redhat.com>
1350 Add doc comment about uris vs GFiles to
1353 * gdesktopappinfo.c:
1354 Ensure uris passed to g_app_info_launch_uris()
1355 are not roundtriped through GFile (as that
1356 may be slightly destructive for e.g. mailto: links)
1358 2008-01-30 Alexander Larsson <alexl@redhat.com>
1360 * tests/data-input-stream.c:
1361 * tests/data-output-stream.c:
1362 C89 fixes from Jens Granseuer (#512849)
1364 2008-01-30 Alexander Larsson <alexl@redhat.com>
1367 Fix gamin/fam difference build issue. (#509419)
1369 2008-01-29 Alexander Larsson <alexl@redhat.com>
1372 * gdesktopappinfo.c:
1373 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1375 2008-01-29 Alexander Larsson <alexl@redhat.com>
1377 * gdesktopappinfo.c:
1378 * gdesktopappinfo.h:
1379 giomodule-priv.h include moved to .c file.
1381 2008-01-29 Alexander Larsson <alexl@redhat.com>
1383 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1384 Remove unused prio/name fields.
1386 2008-01-29 Alexander Larsson <alexl@redhat.com>
1388 * gcontenttype.c (looks_like_text):
1389 Don't treat whitespace as control chars.
1391 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 * gdesktopappinfo.c:
1394 Lazily create the desktop files for appinfos created
1395 by g_app_info_create_from_commandline() when needed
1396 for mime associations. This allows run-time use
1397 of GAppInfo object without creating unnecessary
1400 2008-01-29 Alexander Larsson <alexl@redhat.com>
1403 Added new symbols to gio.symbols
1405 2008-01-29 Alexander Larsson <alexl@redhat.com>
1408 Add g_file_query_default_handler utility to easily look up
1409 the GAppInfo that handles a file.
1411 * gdesktopappinfo.[ch]:
1413 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1416 Remove unused function
1418 2008-01-29 Alexander Larsson <alexl@redhat.com>
1420 * gfileenumerator.c:
1421 Mention need to free returned value in
1422 g_file_enumerator_next_files_finish docs.
1423 Fix leak if g_file_enumerator_next_files_finish()
1426 2008-01-29 Alexander Larsson <alexl@redhat.com>
1429 (_g_unix_content_type_get_parents):
1430 Use list_parents, not get_parents from xdgmime, because
1431 the later doesn't use the cache.
1433 * xdgmime/xdgmimecache.c:
1434 (_xdg_mime_cache_list_mime_parents):
1435 Don't list the same type as parent multiple times.
1437 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1439 * === Released 2.15.4 ===
1441 2008-01-28 Alexander Larsson <alexl@redhat.com>
1444 Register local vfs with prio 0.
1447 Remove old name and prio class members
1449 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1451 * tests/g-file.c: Disable some tests that are failing in
1452 the absence of a http backend.
1454 2008-01-28 Alexander Larsson <alexl@redhat.com>
1458 Add registration hooks for extension points.
1459 Register the gio extension points.
1461 * fam/gfamdirectorymonitor.c:
1462 * fam/gfamfilemonitor.c:
1463 * glocaldirectorymonitor.[ch]:
1464 * glocalfilemonitor.[ch]:
1465 * gnativevolumemonitor.h:
1466 * gunionvolumemonitor.c:
1467 * gunixvolumemonitor.c:
1470 * inotify/ginotifydirectorymonitor.c:
1471 * inotify/ginotifyfilemonitor.c:
1472 Use the extension points registration instead
1473 of g_type_children().
1475 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1478 * gvolume.[hc]: Document new API.
1480 * gfile.c (g_file_copy_async): Fix docs
1482 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1484 * gbufferedinputstream.c:
1486 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1489 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1491 * glocalfile.c: Avoid trivial differences in translatable strings.
1493 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1495 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1496 build with gcc 3.4 (#509419)
1498 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1500 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1501 (#509994, Murray Cumming)
1503 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1505 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1506 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1507 this allows big jobs to be executed in chunks, instead of blocking
1508 the main loop for a long time.
1510 * gsimpleasyncresult.c:
1511 * giofile.c: Adapt callers.
1513 2008-01-25 Alexander Larsson <alexl@redhat.com>
1515 * gdesktopappinfo.c:
1516 Implement changes discussed on xdg list.
1517 Now we can add supported mimetypes by just using defaults.list
1518 We can also remove associations in defaults.list.
1520 2008-01-25 Alexander Larsson <alexl@redhat.com>
1522 * gdesktopappinfo.c:
1523 Don't make local copy of desktop file
1524 for mimetype changes if the file already
1525 supports the new mimetype.
1527 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1531 * gbufferedinputstream.c:
1532 * glocalfile.c: String improvements. (#511966,
1533 Theppitak Karoonboonyanan)
1535 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1537 * gioscheduler.h: Expand docs a bit.
1539 2008-01-24 Alexander Larsson <alexl@redhat.com>
1542 Add g_drive_get_identifier and
1543 g_drive_enumerate_identifiers
1546 Add g_volume_get_identifier and
1547 g_volume_enumerate_identifiers
1553 Implement identifiers for unix backend
1555 2008-01-24 Alexander Larsson <alexl@redhat.com>
1560 Add g_file_copy_async() (#511580)
1561 Based on patch from Carlos Garcia Campos
1563 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1565 * gioscheduler.c: Some documentation additions.
1567 2008-01-22 Alexander Larsson <alexl@redhat.com>
1569 * gdesktopappinfo.c:
1570 (g_desktop_app_info_new):
1571 Don't leak basename.
1573 2008-01-22 Alexander Larsson <alexl@redhat.com>
1575 * gdesktopappinfo.c:
1576 (g_desktop_app_info_new_from_filename):
1579 2008-01-22 Alexander Larsson <alexl@redhat.com>
1581 * glocalfileinfo.c (get_thumbnail_attributes):
1584 2008-01-22 Alexander Larsson <alexl@redhat.com>
1587 (canonicalize_filename):
1588 Canonicalize paths that start with more than
1592 (compare_two_files):
1593 (test_g_file_new_for_path):
1596 2008-01-22 Alexander Larsson <alexl@redhat.com>
1599 Allow UTF-8 in file:// parse names.
1601 * tests/Makefile.am:
1602 * tests/data-input-stream.c:
1603 * tests/data-output-stream.c:
1604 * tests/g-file-info.c:
1606 Added a bunch of tests from Tomas Bzatek
1608 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1610 * === Released 2.15.3 ===
1612 2008-01-21 Alexander Larsson <alexl@redhat.com>
1614 * gfileinputstream.[ch]:
1615 * gfileoutputstream.[ch]:
1617 Remove duplicated GSeekable functions. (#509990)
1618 Just use the g_seekable_xxx() calls instead.
1620 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1623 * gvolumemanager.c: Whitespace cleanups.
1625 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1626 Use the right mode when creating the file.
1628 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1630 * gfileenumerator.c:
1631 * gfileinputstream.c:
1633 * goutputstream.c: Documentation: Fixed minor typos
1634 and added more mentions of specific _finish() functions.
1636 2008-01-21 Alexander Larsson <alexl@redhat.com>
1638 * inotify/Makefile.am:
1639 * inotify/inotify-helper.c:
1640 * inotify/inotify-kernel.c:
1641 * inotify/inotify-path.c:
1642 * inotify/local_inotify.h: Removed.
1643 * inotify/local_inotify_syscalls.h: Removed.
1644 Removed the included copies of the inotify
1645 headers. We now only use the <sys/inotify.h>
1646 header which exists on modern systems.
1647 This fixes problems on ARM and SH5 (#510448)
1648 but is also generally much cleaner and future
1649 safe. For instance, if other OSes add support
1650 for inotify it should "just work".
1652 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1654 * inotify/*.c: Coding style fixes.
1655 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1656 for the 1/4 Hz timer.
1658 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1661 * gfilemonitor.[hc]:
1662 * gmemoryinputstream.c:
1663 * gmemoryoutputstream.c:
1664 * gmountoperation.c:
1665 * gthemedicon.c: Documentation updates
1667 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1669 * gfile.c: documentation: Fixed more minor
1672 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1674 * gmount.c: (g_mount_remount): documentation:
1675 Mention g_mount_remount_finish() instead of
1676 g_mount_unmount_finish().
1678 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1682 * gfile.c: Fixed some minor typos in the
1685 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1687 * gio/gvolumemonitor.c:
1688 (g_volume_monitor_get_connected_drives):
1689 (g_volume_monitor_get_volumes):
1690 (g_volume_monitor_get_mounts): Documentation:
1691 Clarify the ownership of the regurn GLists.
1693 2008-01-17 Alexander Larsson <alexl@redhat.com>
1696 Add the async find_enclosing_mount version
1697 to the header file too.
1699 2008-01-17 Alexander Larsson <alexl@redhat.com>
1702 Add async version of find_enclosing_mount
1703 with default implementation.
1705 2008-01-17 Alexander Larsson <alexl@redhat.com>
1710 Allow calls to implementation of copy and write
1711 even if the type of the file implementations is
1712 different. This can be used to implement native
1713 upload and download calls in a vfs.
1716 (g_local_file_move):
1717 Protect against the case where move is called
1718 with one file not being local.
1720 Make sure we call the progress callback once
1721 in the native move operation so that the caller
1722 knows how many bytes were copied.
1724 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1727 * gdatainputstream.c:
1729 * gfileoutputstream.c:
1734 * gunixmounts.c: Corrected some typos in the documentation:
1735 occured -> occurred.
1736 its -> it's (where appropriate).
1738 2008-01-16 Alexander Larsson <alexl@redhat.com>
1742 Add g_file_query_exists (#508771)
1744 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1749 * gvolume.c: For async functions that have no non-async
1750 version, document that the GAsyncReadyCallback may be NULL.
1753 2008-01-15 Alexander Larsson <alexl@redhat.com>
1755 * gmemoryinputstream.c:
1756 * gmemoryoutputstream.c:
1757 Don't do pointer arithmetic on void * (#508602)
1758 Patch from Kazuki IWAMOTO
1760 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1762 * === Released 2.15.2 ===
1764 2008-01-14 Alexander Larsson <alexl@redhat.com>
1766 * gfile.c (g_file_monitor_file):
1767 Don't set error here, since we fallback to polling monitor.
1769 2008-01-14 Alexander Larsson <alexl@redhat.com>
1772 (g_file_monitor_directory):
1773 (g_file_monitor_file):
1774 Add GError to file monitor calls
1776 * glocaldirectorymonitor.c:
1777 * glocaldirectorymonitor.h:
1779 * glocalfilemonitor.c:
1780 * glocalfilemonitor.h:
1782 Update for above change
1784 2008-01-14 Alexander Larsson <alexl@redhat.com>
1788 Handle root correctly in g_file_get_relative_path (#508719)
1790 2008-01-14 Alexander Larsson <alexl@redhat.com>
1793 Clean up docs and example for GAsyncResult (#508074)
1795 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1797 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1798 and correct some spelling mistakes. Bug #508108.
1800 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1802 * glocalfileinfo.c: Add a comment.
1804 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1806 * gfileinfo.c: GFileInfo description: Mention
1807 how to actually set attributes in a GFile and how to discover
1808 which attributes are settable. Bug #508378.
1810 2008-01-10 A. Walton <awalton@svn.gnome.org>
1812 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1813 (g_app_info_get_default_for_type):
1814 Check for NULL content types.
1816 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1818 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1820 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1822 * gfile.c: *_async() functions: Several small corrections
1823 to the documentation, mostly correcting copy/paste errors
1824 and improving some sentences.
1826 2008-01-09 Dan Winship <danw@gnome.org>
1828 * glocalfile.c (get_unique_filename): x86_64 fix
1830 2008-01-09 Alexander Larsson <alexl@redhat.com>
1835 Add g_unix_mount_guess_should_display and use
1836 for unix volume monitor backend.
1837 This means we more or less show what the
1838 gnome-vfs backend did.
1839 Based on patch from Padraig O'Briain
1841 2008-01-09 Alexander Larsson <alexl@redhat.com>
1845 Add g_themed_icon_new_with_default_fallbacks
1848 Use default fallbacks for icons
1850 2008-01-09 Alexander Larsson <alexl@redhat.com>
1853 * gmountoperation.[ch]:
1854 Change the API a bit so that unhandled methods
1855 get reported via the reply, rather than by
1856 the signal emission return value. This is because
1857 some handlers can't know this immediately without
1858 doing I/O, and this is an async operation that
1861 2008-01-09 Alexander Larsson <alexl@redhat.com>
1864 * fam/gfamdirectorymonitor.c:
1865 * fam/gfamfilemonitor.c:
1866 Fix double free crash (#508224)
1867 Patch from Joe Marcus Clarke
1869 008-01-07 Matthias Clasen <mclasen@redhat.com>
1871 * === Released 2.15.1 ===
1873 2008-01-07 Alexander Larsson <alexl@redhat.com>
1875 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1876 Fix warning (#507835)
1878 2008-01-07 Alexander Larsson <alexl@redhat.com>
1881 Pass --internal to glib-genmarshal
1884 * gmountoperation.c:
1886 Use better types for signal arguments (#507822)
1888 2008-01-07 Alexander Larsson <alexl@redhat.com>
1891 Build test subdir after .
1892 Remove gdirectorymonitor.[ch]
1894 * gdirectorymonitor.[ch]:
1898 Remove GDirectoryMonitor and make
1899 GFileMonitor the baseclass for both file and
1900 directory monitors. Lift the more generic
1901 rate limiting code from GDirectoryMonitor
1905 * fam/gfamdirectorymonitor.[ch]:
1906 * inotify/ginotifydirectorymonitor.[ch]:
1907 * inotify/inotify-helper.c:
1908 * glocaldirectorymonitor.[ch]:
1911 Update for the removed GDirectoryMonitor.
1913 * gmemoryoutputstream.c:
1914 Remove ununsed variable
1916 2008-01-07 Alexander Larsson <alexl@redhat.com>
1918 * gmemoryinputstream.c:
1919 Translate error strings
1922 * gmemoryoutputstream.[ch]:
1923 New implementation that avoids using GByteArray
1924 in implementation and API. (#506377)
1926 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1928 * tests/*: Add a test for memory input streams.
1930 * Makefile.am: Add tests to SUBDIRS.
1932 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1934 * glocalfilemonitor.c:
1935 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1938 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1940 * gdesktopappinfo.c: Fix a docs typo.
1942 * gfileattribute.c: Add information about extended attributes
1943 to the documentation. (#505058)
1945 2008-01-04 Alexander Larsson <alexl@redhat.com>
1948 * gmountoperation.c:
1949 Use the right type (uint) for the ask_password signal.
1951 2008-01-04 Alexander Larsson <alexl@redhat.com>
1956 Add g_app_info_supports_files()
1957 Remove desktop arg from g_app_info_should_show().
1959 * gdesktopappinfo.[ch]:
1960 Implement g_app_info_supports_files() and new should_show()
1961 Add g_desktop_app_info_set_desktop_env() to set the desktop
1962 for should_show(). (This will be set by gtk+ later)
1964 2008-01-04 Alexander Larsson <alexl@redhat.com>
1967 * gmemoryinputstream.[ch]:
1968 Improve API so that you can use multiple chunks
1969 of memory and custom destroy functions. (#506374)
1971 2008-01-03 Alexander Larsson <alexl@redhat.com>
1974 Handle NULL attribute matchers safely, as we return this
1975 for empty attribute matcher strings.
1977 2008-01-03 Alexander Larsson <alexl@redhat.com>
1979 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1980 Add /usr/local to list of internal mountpoints
1982 2008-01-03 Alexander Larsson <alexl@redhat.com>
1985 Check for HAVE_LCHOWN (#505887)
1987 2008-01-03 Alexander Larsson <alexl@redhat.com>
1991 Add define for selinux context attribute.
1992 Fix missing : -> :: namespace separator change
1993 Fix missing _ -> - name change for xattr-sys.
1996 2008-01-03 Alexander Larsson <alexl@redhat.com>
1999 Link to libglib and libgobject directly (#504879)
2000 Patch from Sebastien Bacher
2002 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2004 * gfile.c: Expanded the g_file_new_for_commandline_arg
2005 description a bit, based on the code and the docs of the
2006 other g_file_new_for_* functions.
2008 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2010 * gfilemonitor.h: Fixed typo in docs.
2012 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2014 Updates to GIO documentation. (#506395, Mikael Hermansson)
2016 * gcontenttype.c: Describe memory management for return value of
2017 g_content_types_get_registered(). Missing piece from #505815.
2018 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2019 GVolume, GDrive, GMounts, which hopefully gives the user less
2020 confusions when using this API. Following explainations from
2021 Alexander Larsson on gtk-devel-list.
2023 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2025 * gfileinfo.c: Expand the long description.
2027 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2030 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2031 fix builds with --disable-visibility. (#500273, Christian Persch)
2033 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2035 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2036 in the list of returned app infos.
2038 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2040 * gappinfo.c: Fix a cross-reference
2042 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2044 * gfileinputstream.c:
2045 * gfileoutputstream.c:
2049 * gdesktopappinfo.c:
2051 * gfileinfo.c: Documentation updates.
2053 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2055 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2058 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2060 * gcontenttype.c (g_content_types_get_registered): Don't return
2061 freed memory (#505815, Mikael Hermansson)
2063 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2065 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2066 used to detect statbuf->st_blocks. (#505042)
2068 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2070 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2071 environment handling. (#504829, Cosimo Cecchi)
2073 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2075 * gappinfo.c: Doc improvements
2077 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2080 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2082 * === Released 2.15.0 ===
2084 2007-12-20 Hans Breuer <hans@breuer.org>
2086 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2087 with symbols gwin32appinfo.obj, added gmount.obj
2088 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2090 2007-12-20 Alexander Larsson <alexl@redhat.com>
2096 * gfilenamecompleter.c:
2099 * gpollfilemonitor.c:
2100 File attribute renames:
2102 fs:: -> filesystem::
2103 id::fs -> id::filesystem
2105 2007-12-20 Alexander Larsson <alexl@redhat.com>
2114 Add GMountUnmountFlags to all unmount and
2116 Add g_mount_remount() call.
2118 2007-12-20 Alexander Larsson <alexl@redhat.com>
2120 * gvfs.c (get_default_vfs):
2121 Fix unused variable warning
2123 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2125 * pltcheck.sh: Update
2127 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2129 * gunionvolumemonitor.c:
2130 * gunixmount.c: Remove C99 comments
2132 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2134 * gio.symbols: Add some missing symbols
2136 2007-12-19 Alexander Larsson <alexl@redhat.com>
2139 Make g_io_modules_load_all_in_directory not unuse
2140 loaded modules so that users of it can do stuff
2142 Init internal "module" types.
2143 Initialize static prio and name for types so that
2144 we don't have to load modules to get it.
2146 * gnativevolumemonitor.h:
2148 Move is_supported to parent class so that
2149 non-native monitors can avoid being initialized
2150 too. (For instance GDaemonVolumeMonitor if we're
2151 not using GDaemonVfs.)
2153 * glocaldirectorymonitor.[ch]:
2154 * glocalfilemonitor.[ch]:
2155 * gunionvolumemonitor.c:
2156 * gunixvolumemonitor.c:
2158 Find plugins using the static prio+name to
2159 avoid unnecessarily loading the modules.
2161 2007-12-19 Alexander Larsson <alexl@redhat.com>
2166 2007-12-19 Alexander Larsson <alexl@redhat.com>
2168 * gunionvolumemonitor.c:
2169 Store the native type as GType, not class so that
2170 we can unload it. But still avoid unnecessarily
2173 2007-12-19 David Zeuthen <davidz@redhat.com>
2175 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2176 add signals 'disconnected' and 'eject-button' on GDrive. Add
2177 signal 'removed' on GVolume and 'unmounted' on GMount.
2179 * gdrive.c: (g_drive_base_init):
2181 * gfile.c: (g_file_mount_mountable),
2182 (g_file_mount_enclosing_volume):
2185 * gmount.c: (g_mount_base_init):
2187 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2188 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2189 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2193 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2195 * *.c: Fix up includes in the section docs.
2197 2007-12-17 Alexander Larsson <alexl@redhat.com>
2199 * gnativevolumemonitor.h:
2200 * gunionvolumemonitor.c:
2201 * gunixvolumemonitor.c:
2202 Add is_supported() to GNativeVolumeMonitorClass so
2203 that we can avoid having to create an object to see
2204 if the backend is supported at runtime.
2205 Also add name member and an env var to pick a specific
2206 volume monitor backend.
2210 Add cancellable to _g_mount_get_for_mount_path()
2212 * glocaldirectorymonitor.c:
2213 * glocalfilemonitor.c:
2214 Avoid loading and unloading modules while sorting.
2216 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2219 * gunixmounts.[hc]: Namespace waste reduction, move some
2220 g_get_unix_mount functions to the g_unix_mount namespace.
2223 * gunixvolumemonitor.c:
2225 * glocaldirectorymonitor.c: Update all callers.
2227 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2229 2007-12-17 Alexander Larsson <alexl@redhat.com>
2232 Add doc comments about what GFile operations are
2233 guaranteed to not block.
2235 2007-12-17 Alexander Larsson <alexl@redhat.com>
2238 Add missing #ifdef fixing OSX build.
2239 (#503334, patch from Richard Hult)
2241 2007-12-14 David Zeuthen <davidz@redhat.com>
2245 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2246 (g_mount_eject), (g_mount_eject_finish):
2248 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2249 (get_volume_for_uuid), (get_mount_for_uuid),
2250 (g_union_volume_monitor_class_init),
2251 (get_default_native_type_with_exclude), (get_default_native_type),
2252 (get_native_type), (update_native_type),
2253 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2254 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2255 (g_unix_mount_can_eject), (eject_unmount_cb),
2256 (eject_unmount_read_error), (eject_unmount_do),
2257 (g_unix_mount_unmount), (g_unix_mount_eject),
2258 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2259 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2260 (g_unix_mount_point_guess_can_eject):
2262 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2263 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2264 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2265 (g_unix_volume_mount), (g_unix_volume_eject),
2266 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2267 * gunixvolumemonitor.c: (get_volume_for_uuid),
2268 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2270 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2271 (g_volume_eject), (g_volume_eject_finish):
2273 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2274 (g_volume_monitor_get_mount_for_uuid):
2277 Provide eject() on both GMount and GVolume and utility functions
2278 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2279 ejected. Introduce the concept of UUID's and wire it into GVolume
2280 and GMount and provide API on GVolumeMonitor to find such
2281 instances. Also handle the case where an external
2282 GNativeVolumeMonitor fails to initialize. Lock around the
2283 _g_get_mount_for_mount_path() function such that volume monitor
2284 implementations won't have to do locking themselves.
2286 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2288 * gdesktopappinfo.c:
2294 * gvolume.h: Documentation updates
2296 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2299 * gfile.h: Doc updates
2301 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2304 * gdesktopappinfo.c: Use hash table iterators.
2306 2007-12-14 Alexander Larsson <alexl@redhat.com>
2309 * gfileattribute.[ch]:
2310 * gfileattribute-priv.h:
2311 Move GFileAttributeValue to a private header, as
2315 Make set_attribute take a type + a pointer instead
2316 of a GFileAttributeValue.
2319 Fix up for above changes.
2320 Add g_file_info_get_attribute_data to get
2321 all info in one call, g_file_info_get_attribute_status
2322 to get the status and g_file_info_get_attribute_as_string.
2326 * glocalfileinfo.[ch]:
2330 Make _guess_type static.
2332 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2335 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2336 made mkenums and friends use temporary files to avoid leaving
2337 empty generated files on failure (#503470).
2339 2007-12-14 Alexander Larsson <alexl@redhat.com>
2341 * gmountoperation.h:
2344 2007-12-14 Alexander Larsson <alexl@redhat.com>
2348 * gfileattribute.[ch]:
2351 * glocalfileoutputstream.c:
2352 * gmountoperation.[ch]:
2353 * goutputstream.[ch]:
2354 Clean up all flags enums to not have _FLAGS in them
2355 Make the names of some of the enums better.
2360 2007-12-14 Michael Natterer <mitch@imendio.com>
2362 * gio.symbols: fix g_io_scheduler symbol names.
2364 2007-12-14 Alexander Larsson <alexl@redhat.com>
2370 * gbufferedinputstream.h:
2371 * gbufferedoutputstream.h:
2374 * gdatainputstream.h:
2375 * gdataoutputstream.h:
2376 * gdesktopappinfo.h:
2377 * gdirectorymonitor.h:
2381 * gfileenumerator.h:
2384 * gfileinputstream.h:
2386 * gfilenamecompleter.h:
2387 * gfileoutputstream.h:
2388 * gfilterinputstream.h:
2389 * gfilteroutputstream.h:
2397 * gmemoryinputstream.h:
2398 * gmemoryoutputstream.h:
2400 * gmountoperation.h:
2403 * gsimpleasyncresult.h:
2405 * gunixinputstream.h:
2407 * gunixoutputstream.h:
2411 * inotify/Makefile.am:
2412 Only allow including <gio/gio.h> from apps
2414 2007-12-14 Alexander Larsson <alexl@redhat.com>
2416 * gioscheduler.[ch]:
2417 * gsimpleasyncresult.c:
2418 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2419 Split out the send_to_mainloop call into two versions instead
2420 of having the block argument.
2422 2007-12-13 Alexander Larsson <alexl@redhat.com>
2424 * gcancellable.[ch]:
2426 * gbufferedinputstream.c:
2427 * gfileenumerator.c:
2428 * gfileinputstream.c:
2429 * gfileoutputstream.c:
2433 g_push/pop_current_cancellable ->
2434 g_cancellable_push/pop_current
2436 2007-12-13 Alexander Larsson <alexl@redhat.com>
2440 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2442 2007-12-13 Alexander Larsson <alexl@redhat.com>
2444 * gmountoperation.h:
2445 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2447 2007-12-12 Alexander Larsson <alexl@redhat.com>
2450 Fix race condition when freeing proxy in
2451 g_io_job_send_to_mainloop().
2453 2007-12-12 Alexander Larsson <alexl@redhat.com>
2459 Make attribute namespace separator "::" instead of ":".
2460 Use - instead of _ as separator in attribute names.
2462 2007-12-12 Alexander Larsson <alexl@redhat.com>
2464 * gbufferedinputstream.h:
2465 * gbufferedoutputstream.h:
2466 * gdatainputstream.h:
2467 * gdataoutputstream.h:
2468 * gdirectorymonitor.h:
2469 * gfileenumerator.h:
2470 * gfileinputstream.h:
2472 * gfileoutputstream.h:
2473 * gfilterinputstream.h:
2474 * gfilteroutputstream.h:
2476 * glocalfileinputstream.h:
2477 * glocalfileoutputstream.h:
2478 * gmemoryinputstream.h:
2479 * gmemoryoutputstream.h:
2480 * gnativevolumemonitor.h:
2482 * gunixinputstream.h:
2483 * gunixoutputstream.h:
2486 s/parent/parent_instance/ in GObjects
2488 2007-12-12 Alexander Larsson <alexl@redhat.com>
2493 No need for padding for interfaces
2495 2007-12-12 Alexander Larsson <alexl@redhat.com>
2499 * gbufferedinputstream.c:
2500 * gbufferedoutputstream.c:
2503 * gdatainputstream.[ch]:
2504 * gdesktopappinfo.c:
2505 * gdirectorymonitor.c:
2507 * gfileattribute.[ch]:
2510 * gfileinputstream.h:
2511 * gfilemonitor.[ch]:
2512 * gfileoutputstream.[ch]:
2513 * gfilterinputstream.h:
2514 * gfilteroutputstream.h:
2517 * gloadableicon.[ch]:
2518 * gmemoryinputstream.c:
2519 * gmountoperation.c:
2521 Fix up a bunch of details in the docs.
2526 2007-12-11 David Zeuthen <davidz@redhat.com>
2528 Rework how volumes, drives and volume monitoring is
2529 done. Previosly the model was
2531 GDrive <1-1> GVolume
2533 where a GDrive instance represented a mount point and a GVolume
2534 instance represented a mounted file system. This patch changes it
2537 GDrive <1-N> GVolume <1-1> GMount
2539 where GMount now serves the purpose of the old GVolume and the new
2540 GVolume serves the purpose of the old GDrive. In addition the new
2541 GDrive interface is used to represent a collection of GVolume
2542 instances (typically partitions) and also contains utility to query
2543 the state of the physical drive the GDrive object represents (such
2544 as checking for media, polling the drive, ejecting the media etc.).
2546 Also implement mounting and unmounting in the Unix volume monitor
2547 backend. A subquent patch will introduce GDrive support for ejection
2551 * gdrive.c: (g_drive_is_media_check_automatic),
2552 (g_drive_is_media_removable), (g_drive_has_media),
2553 (g_drive_can_poll_for_media), (g_drive_eject),
2554 (g_drive_eject_finish), (g_drive_poll_for_media),
2555 (g_drive_poll_for_media_finish):
2557 * gfile.c: (g_file_find_enclosing_mount):
2560 * glocaldirectorymonitor.c:
2561 (g_local_directory_monitor_constructor), (mounts_changed):
2562 * glocalfile.c: (get_mount_info),
2563 (g_local_file_find_enclosing_mount),
2564 (g_local_file_file_iface_init):
2565 * gnativevolumemonitor.h:
2566 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2567 (get_connected_drives), (g_union_volume_monitor_class_init),
2568 (child_volume_added), (child_volume_removed),
2569 (child_volume_changed), (child_mount_added), (child_mount_removed),
2570 (child_mount_pre_unmount), (child_mount_changed),
2571 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2572 (g_union_volume_monitor_remove_monitor),
2573 (_g_mount_get_for_mount_path):
2574 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2575 (guess_system_internal), (_g_get_unix_mounts),
2576 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2577 (g_unix_mount_free), (g_unix_mount_compare),
2578 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2579 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2580 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2581 (type_to_icon), (g_unix_mount_guess_name),
2582 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2583 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2584 (_resolve_symlink), (_resolve_dev_root):
2586 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2587 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2588 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2589 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2590 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2591 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2592 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2593 (g_unix_volume_volume_iface_init):
2595 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2596 (get_mounts), (get_volumes), (get_connected_drives),
2597 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2598 (mountpoints_changed), (mounts_changed),
2599 (g_unix_volume_monitor_init),
2600 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2601 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2602 * gunixvolumemonitor.h:
2603 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2604 (g_volume_mount), (g_volume_mount_finish):
2606 * gvolumemonitor.c: (g_volume_monitor_class_init),
2607 (g_volume_monitor_get_connected_drives),
2608 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2611 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2613 * gmountoperation.h (GPasswordFlags): Close the gap
2615 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2617 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2619 * gdesktopappinfo.[hc]: Remove _-prefixes
2621 2007-12-10 Tor Lillqvist <tml@novell.com>
2623 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2626 2007-12-10 Alexander Larsson <alexl@redhat.com>
2628 * gfile.c (g_file_set_display_name):
2629 Don't hardcode '/' (#502727)
2631 2007-12-09 Hans Breuer <hans@breuer.org>
2633 * makefile.msc : follow lib naming convention
2634 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2635 for user and group name, tested with ../tests/gio-ls
2637 2007-12-09 A. Walton <awalton@svn.gnome.org>
2639 * gdesktopappinfo.c:
2645 * gfileenumerator.c:
2650 * gmemoryinputstream.c:
2651 * gmemoryoutputstream.c:
2653 * gsimpleasyncresult.c:
2654 More documentation cleanup and filling in missing information, bringing
2655 GIO to 99% symbol coverage.
2657 2007-12-08 Hans Breuer <hans@breuer.org>
2659 [gio compiles and links on win32, not sure how much already works]
2660 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2661 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2662 base on win32 API; prefer g_lstat() over lstat(); instead of
2663 localtime_r() use an all GLib implementation on win32;
2664 get_mount_info() still needs a win32 specifc implementation
2665 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2666 win32_get_file_user_info to get owner/group info without uid/gid
2667 * glocalfileinputstream.c : include <io.h> on win32
2668 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2669 definition, use g_win32_ftruncate() for G_OS_WIN32
2670 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2671 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2672 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2673 * makefile.msc : updated
2675 2007-12-07 Alexander Larsson <alexl@redhat.com>
2677 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2678 Avoid warning spew if error == NULL
2680 2007-12-07 Alexander Larsson <alexl@redhat.com>
2683 Update docs wrt etags
2685 2007-12-06 Alexander Larsson <alexl@redhat.com>
2688 Include sys/types.h for dev_t (#501919)
2690 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2694 Make abicheck and pltcheck pass.
2696 2007-12-05 Alexander Larsson <alexl@redhat.com>
2699 * giomodule-priv.h: Added.
2700 * glocaldirectorymonitor.c:
2701 * glocalfilemonitor.c:
2702 * gunionvolumemonitor.c:
2704 Actually add the declaration of _g_io_modules_ensure_loaded
2706 2007-12-05 Alexander Larsson <alexl@redhat.com>
2708 * gdatainputstream.c:
2713 * glocaldirectorymonitor.c:
2714 * glocalfilemonitor.c:
2715 * gunionvolumemonitor.c:
2717 Make g_io_modules_ensure_loaded a private function and
2718 don't pass in the dirname. This means we can do magic
2719 directory finding in the win32 version.
2720 Export the actual load-modules-in-directory code so that
2721 gvfs can reuse that.
2723 2007-12-05 Alexander Larsson <alexl@redhat.com>
2725 * gbufferedinputstream.c:
2726 * gbufferedoutputstream.c:
2729 * gfileenumerator.[ch]:
2730 * gfileinputstream.c:
2731 * gfileoutputstream.[ch]:
2732 * gfilterinputstream.c:
2733 * gfilteroutputstream.c:
2734 * ginputstream.[ch]:
2736 * glocalfileenumerator.c:
2737 * glocalfileinputstream.c:
2738 * glocalfileoutputstream.c:
2739 * gmemoryinputstream.c:
2740 * gmemoryoutputstream.c:
2741 * goutputstream.[ch]:
2744 * gunixinputstream.c:
2745 * gunixoutputstream.c:
2746 Rename all struct members named:
2747 read, write, close, truncate, or mount
2748 to foo_fn, as these are reserved names
2749 and could be defined as macros in libc.
2752 2007-12-04 Alexander Larsson <alexl@redhat.com>
2755 (g_output_stream_close):
2756 Only call flush if non-null.
2758 2007-11-30 Dan Winship <danw@gnome.org>
2760 * ginputstream.c (g_input_stream_set_pending): Make this take a
2761 GError and return a gboolean, and do the "outstanding operation"
2762 check (and the "stream is already closed" check) itself.
2763 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2765 * goutputstream.c (g_output_stream_set_pending)
2766 (g_output_stream_clear_pending): Likewise
2768 * gbufferedinputstream.c:
2769 * gfileinputstream.c:
2770 * gfileoutputstream.c: Update for that
2772 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2773 Like g_simple_async_report_error_in_idle, but takes a GError
2774 rather than building one.
2776 2007-11-30 Dan Winship <danw@gnome.org>
2778 * goutputstream.c: Don't cheat and unset the "pending" flag around
2779 inner calls. Instead, call the class method directly rather than
2780 the wrapper function that checks "pending"
2782 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2784 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2786 2007-12-03 Hans Breuer <hans@breuer.org>
2788 [start of port to win32/msvc]
2789 * gcancellable.c : HAVE_UNIST_H and _pipe()
2790 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2791 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2792 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2794 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2795 * glocalvfs.c : use HAVE_PWD_H
2796 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2797 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2798 * Makefile.am : added to EXTRA_DIST
2800 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2802 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2805 2007-12-03 Alexander Larsson <alexl@redhat.com>
2808 Handle OSX style xattrs API (#500506)
2810 2007-12-03 Alexander Larsson <alexl@redhat.com>
2814 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2816 2007-12-02 A. Walton <awalton@svn.gnome.org>
2820 Documentation accuracy fixes.
2822 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2824 * gioenumtypes.c.template: Fix typo.
2826 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2828 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2830 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2832 * gdirectorymonitor.c:
2833 * gfilemonitor.c: Add properties
2835 * gbufferedoutputstream.c: Don't mark buffer-size property
2838 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2840 * gbufferedoutputstream.c: Add auto-grow property.
2842 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2844 * *.c: Unify the capitalization of section headings.
2846 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2848 * gmountoperation.c: Add properties
2850 * gdatainputstream.c: Turn byte-order and newline-type into
2853 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2855 * gioenumtypes.[hc].template: Templates for enum registration
2857 * Makefile.am: Generate gioenumtypes.[hc]
2859 * gio.h: Include gioenumtypes.h
2861 * gfile.h: Add some explicit nicks.
2863 * gio.symbols: Add new symbols
2865 * pltcheck.sh: Adjust
2867 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2869 * *.c: Explain etags and link to the explanation
2871 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2873 * *.c: Explain I/O priority.
2875 * *.c: More coding style fixes.
2877 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2879 * gasyncresult.c: Add another paragraph to the intro,
2880 adjust coding style of example.
2882 2007-11-29 A. Walton <awalton@svn.gnome.org>
2885 Fixes unknown meaning in GAppLaunchContext docs.
2887 Clarify asynchronous ops.
2889 Fix entity tag docs.
2892 Provides missing gtk-doc section, fixes API docs slighly.
2893 * gsimpleasyncresult.c:
2894 Fill in missing info in docs.
2895 * gunixinputstream.c:
2896 * gunixoutputstream.c:
2897 Be more expressive in short description.
2899 Remove gtk-doc stubs for non-public API.
2901 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2903 * *.c: Coding style fixups
2905 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2907 * inotify/inotify-helper.c: Don't export the lock from libgio.
2909 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2912 * abicheck.sh: Fix copy-and-paste leftovers
2914 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2916 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2918 2007-11-28 Alexander Larsson <alexl@redhat.com>
2922 Removed unnecessary file
2924 * gdesktopappinfo.[ch]:
2927 * glocaldirectorymonitor.[ch]:
2929 * glocalfileenumerator.[ch]:
2930 * glocalfileinputstream.[ch]:
2931 * glocalfilemonitor.[ch]:
2932 * glocalfileoutputstream.[ch]:
2934 * gnativevolumemonitor.c:
2935 * gpollfilemonitor.[ch]:
2936 * gunionvolumemonitor.[ch]:
2939 * gunixvolumemonitor.[ch]:
2942 * inotify/ginotifydirectorymonitor.[ch]:
2943 * inotify/ginotifyfilemonitor.[ch]:
2944 * inotify/inotify-helper.c:
2945 Append _ to all internal functions
2949 Export symbols needed for modules
2951 2007-11-28 Alexander Larsson <alexl@redhat.com>
2954 * abicheck.sh: Added.
2955 * makegioalias.pl: Added.
2956 * pltcheck.sh: Added.
2957 * gio.symbols: Added.
2960 Initial work on adding symbol handling.
2963 Correct ifdef guard name
2966 * inotify/Makefile.am:
2967 * xdgmime/Makefile.am:
2968 Include toplevel Makefile.decl
2970 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2972 * gcontenttype.c: Move doc comments to the unix section.
2974 * *.[hc]: More trivial doc corrections.
2976 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2978 * gpollfilemonitor.c:
2982 * gdesktopappinfo.c:
2987 * gdatainputstream.c:
2988 * gdatainputstream.h:
2989 * gdataoutputstream.c:
2990 * gdataoutputstream.h:
2991 * gfileinfo.h: Doc cleanups
2993 2007-11-28 Andre Klapper <a9016009@gmx.de>
2995 * gdesktopappinfo.c: Fix a typo.
2997 2007-11-27 Andre Klapper <a9016009@gmx.de>
2999 * glocalfileoutputstream.c: Fix a typo.
3001 2007-11-27 Alexander Larsson <alexl@redhat.com>
3004 Don't include removed headers
3006 2007-11-27 Alexander Larsson <alexl@redhat.com>
3009 * gsocketinputstream.[ch]: Removed.
3010 * gsocketoutputstream.[ch]: Removed.
3011 * gunixinputstream.[ch]: Added.
3012 * gunixoutputstream.[ch]: Added.
3013 Renamed GSocket*Stream to GUnix*Stream and made
3014 it unix-only, since its not really only for sockets
3015 and it only works on unix (but is highly useful there).
3017 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3023 * gbufferedinputstream.c:
3024 * gbufferedinputstream.h:
3025 * gbufferedoutputstream.c:
3026 * gbufferedoutputstream.h:
3030 * gdatainputstream.c:
3031 * gdatainputstream.h:
3032 * gdataoutputstream.c:
3033 * gdataoutputstream.h:
3034 * gdirectorymonitor.c:
3035 * gdirectorymonitor.h:
3042 * gfileenumerator.c:
3043 * gfileenumerator.h:
3048 * gfileinputstream.c:
3049 * gfileinputstream.h:
3052 * gfilenamecompleter.c:
3053 * gfilenamecompleter.h:
3054 * gfileoutputstream.c:
3055 * gfileoutputstream.h:
3056 * gfilterinputstream.c:
3057 * gfilterinputstream.h:
3058 * gfilteroutputstream.c:
3059 * gfilteroutputstream.h:
3072 * glocalfileoutputstream.c:
3073 * gmemoryinputstream.c:
3074 * gmemoryinputstream.h:
3075 * gmemoryoutputstream.c:
3076 * gmemoryoutputstream.h:
3077 * gmountoperation.c:
3078 * gmountoperation.h:
3081 * gpollfilemonitor.c:
3084 * gsimpleasyncresult.c:
3085 * gsimpleasyncresult.h:
3086 * gsocketinputstream.c:
3087 * gsocketinputstream.h:
3088 * gsocketoutputstream.c:
3089 * gsocketoutputstream.h:
3096 * gunixvolumemonitor.c:
3105 Bumps documentation to 93% symbol coverage, touching most
3106 of the public files. Fixes broken function documentation prototypes.
3107 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3108 gtk-doc headers in private files.
3110 2007-11-27 Jürg Billeter <j@bitron.ch>
3112 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3113 (g_buffered_input_stream_read_byte):
3114 * gbufferedinputstream.h:
3115 New functions for efficient access to buffer and simple single byte
3118 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3119 (g_data_input_stream_read_until):
3120 * gdatainputstream.h:
3121 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3122 read_until with multiple stop chars.
3124 2007-11-27 Alexander Larsson <alexl@redhat.com>
3128 * inotify/Makefile.am:
3129 Use the user-specified giomoduledir
3131 2007-11-27 Alexander Larsson <alexl@redhat.com>
3135 Add catch-all gio.h header
3136 Don't install gdummyfile.h
3138 2007-11-26 Alexander Larsson <alexl@redhat.com>
3140 * Makefile.am (gioinclude_HEADERS):
3141 Remove trailing whitespace
3143 2007-11-26 Alexander Larsson <alexl@redhat.com>
3145 Merge gio-standalone into glib
3147 2007-11-25 Christian Kellner <gicmo@gnome.org>
3149 * gio/goutputstream.c:
3150 Fix small mistake in the docs.
3152 2007-11-21 Christian Persch <chpe@gnome.org>
3154 * gio/glocalfile.c: (g_local_file_trash):
3155 Convert filenames to UTF-8 for GError.
3156 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3157 as per xdg base dir spec.
3159 2007-11-21 Christian Persch <chpe@gnome.org>
3161 * gio/gdesktopappinfo.c:
3162 Use that g_key_file_to_data cannot fail.
3164 Use stock defines for the key file group and key names.
3167 2007-11-21 Alexander Larsson <alexl@redhat.com>
3170 (copy_stream_with_progress):
3171 Make sure we do a final progress callback with
3172 the full total size.
3174 2007-11-21 Alexander Larsson <alexl@redhat.com>
3177 Export g_file_copy_attributes
3178 Remove padding as its not needed for interfaces
3180 2007-11-20 Alexander Larsson <alexl@redhat.com>
3185 Add G_IO_ERROR_WOULD_MERGE for
3186 copy/move dir on dir with overwrite.
3188 2007-11-20 Alexander Larsson <alexl@redhat.com>
3191 * gio/glocalfileinfo.c:
3192 Add COPY_NAME (this is an optional
3193 non-modified utf8 version of the name) that
3196 2007-11-20 Alexander Larsson <alexl@redhat.com>
3198 * gio/glocalfileenumerator.c:
3199 Report errors as GIOError, not GFileError
3201 2007-11-16 Alexander Larsson <alexl@redhat.com>
3203 * gio/glocalfileoutputstream.c:
3204 * gio/gwin32appinfo.c:
3205 Fix typos in strings.
3206 Patch from Luca Ferretti <elle.uca@libero.it>
3208 2007-11-15 Alexander Larsson <alexl@redhat.com>
3211 Post release version bump
3213 === gio-standalone 0.1.2 ===
3215 2007-11-15 Alexander Larsson <alexl@redhat.com>
3217 * docs/reference/gio/Makefile.am:
3218 Fix up distcheck by removing weird
3224 2007-11-14 Alexander Larsson <alexl@redhat.com>
3226 * gio/gdesktopappinfo.c:
3227 * gio/glocaldirectorymonitor.c:
3229 * gio/glocalfileinfo.c:
3230 * gio/inotify/inotify-sub.c:
3231 * programs/gio-cat.c:
3232 * programs/gio-copy.c:
3233 * programs/gio-info.c:
3234 * programs/gio-ls.c:
3235 * programs/gio-monitor-dir.c:
3236 * programs/gio-monitor-file.c:
3237 * programs/gio-mount.c:
3238 * programs/gio-move.c:
3239 * programs/gio-rm.c:
3240 * programs/gio-save.c:
3241 * programs/gio-trash.c:
3242 Leak fixes from Kjartan Maraas
3244 2007-11-14 Alexander Larsson <alexl@redhat.com>
3246 * gio/fam/fam-helper.c:
3248 * gio/glocalfileinfo.c:
3252 * gio/inotify/inotify-diag.c:
3253 * gio/inotify/inotify-kernel.c:
3254 Various code cleanups from Kjartan Maraas
3256 2007-11-14 Alexander Larsson <alexl@redhat.com>
3258 * gio/gioscheduler.c:
3260 Set up threadpool so that we cache 2 unused
3261 idle threads for at 15 secs. This means we
3262 will reuse thread-local data (like dbus connections)
3265 2007-11-14 Alexander Larsson <alexl@redhat.com>
3267 * gio/fam/fam-helper.c:
3268 * gio/fam/gfamdirectorymonitor.c:
3269 * gio/fam/gfamfilemonitor.c:
3271 * gio/gcontenttype.c:
3272 * gio/gdatainputstream.c:
3273 * gio/gdataoutputstream.c:
3277 * gio/gfileattribute.h:
3278 * gio/gfileenumerator.c:
3280 * gio/ginputstream.c:
3283 * gio/glocalfileinfo.c:
3284 * gio/goutputstream.c:
3285 * gio/gpollfilemonitor.c:
3286 * gio/gsimpleasyncresult.c:
3287 * gio/gunixmounts.c:
3288 * gio/gunixmounts.h:
3289 * gio/inotify/ginotifydirectorymonitor.c:
3290 * gio/inotify/ginotifyfilemonitor.c:
3291 * gio/inotify/inotify-diag.c:
3292 * gio/inotify/inotify-kernel.c:
3293 * gio/inotify/inotify-path.c:
3295 * gio/test-streams.c:
3296 * programs/gio-info.c:
3297 * programs/gio-monitor-dir.c:
3298 * programs/gio-monitor-file.c:
3299 Various code cleanups from Kjartan Maraas
3301 2007-11-13 Alexander Larsson <alexl@redhat.com>
3304 Handle the uri-scheme calls for dummy files
3306 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3308 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3309 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3310 to avoid clash with the C++ keyword.
3312 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3314 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3315 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3317 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3319 * gio/glocaldirectorymonitor.c:
3320 * gio/glocalfilemonitor.c:
3321 * gio/gunionvolumemonitor.c:
3322 Don't use g_once_init_*() for initializations that could fail and
3323 could leave the initialization variable set to 0 but use GOnce.
3324 This prevents a deadlock on the second call when trying to create
3325 a monitor and no monitor type is available. Thanks to Sven Herzberg
3328 2007-11-11 Sven Herzberg <sven@imendio.com>
3330 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3331 #ifdef (make it work on MacOS X again)
3333 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3335 Fixes Changelog for last two commits (sorry guys).
3337 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3339 * gio/gbufferedinputstream.c:
3340 * gio/gdatainputstream.c:
3342 * gio/gfileoutputstream.c:
3343 * gio/gfilterinputstream.c:
3344 * gio/glocalfileinputstream.c:
3347 More consistency fixes in g*stream.c files.
3348 Significant clean of gfile's documentation, filling in of
3349 asynchronous operations documentation.
3351 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3353 * gio/gasyncresult.c:
3354 * gio/gbufferedinputstream.c:
3355 * gio/gbufferedoutputstream.c:
3356 * gio/gcancellable.c:
3357 * gio/gcontenttype.c:
3358 * gio/gdatainputstream.c:
3359 * gio/gdataoutputstream.c:
3360 * gio/gdesktopappinfo.c:
3363 * gio/gfileattribute.c:
3364 * gio/gio/gfileenumerator.c:
3366 * gio/gfileinputstream.c:
3367 * gio/gfilemonitor.c:
3368 * gio/gfileoutputstream.c:
3369 * gio/ginputstream.c:
3371 * gio/gioscheduler.c:
3372 * gio/gloadableicon.c:
3373 * gio/glocalfileoutputstream.c:
3374 * gio/gmemoryoutputstream.c:
3375 * gio/gmountoperation.c:
3376 * gio/goutputstream.c:
3378 * gio/gsimpleasyncresult.c:
3379 * gio/gunionvolumemonitor.c:
3380 * gio/gunixmounts.c:
3381 * gio/gunixvolume.c:
3385 * gio/gvolumemonitor.c:
3386 Updated documentation stubs, working towards consistency and
3389 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3391 * gio/gmemoryoutputstream.c:
3392 * gio/gmemoryoutputstream.h:
3393 Change g_memory_output_stream_set_free_on_close() to
3394 g_memory_output_stream_set_free_data() as this makes more sense and
3395 is more consistent with GMemoryInputStream.
3397 2007-11-07 Alexander Larsson <alexl@redhat.com>
3404 Change how we find the default vfs so that
3405 we can handle a gvfs failing to init
3407 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3409 * gio/gbufferedoutputstream.c:
3410 * gio/gdatainputstream.c:
3411 * gio/gdataoutputstream.c:
3412 * gio/gfileinputstream.c:
3413 * gio/gfileoutputstream.c:
3414 * gio/gfilterinputstream.c:
3415 * gio/gfilteroutputstream.c:
3416 * gio/ginputstream.c:
3417 * gio/gmemoryinputstream.c:
3418 * gio/gmemoryoutputstream.c:
3419 * gio/goutputstream.c:
3420 * gio/gsimpleasyncresult.c:
3421 * gio/gsocketinputstream.c:
3422 * gio/gsocketoutputstream.c:
3423 Add guards to the remaining public functions, add a TODO for
3424 an unimplemented function and remove some useless guards.
3426 2007-11-07 Alexander Larsson <alexl@redhat.com>
3429 Autoconf checks for the various types of
3430 getpwuid_r and getgrgid_r
3432 * gio/glocalfileinfo.c:
3433 Use the autoconf checks from above
3435 2007-11-07 Alexander Larsson <alexl@redhat.com>
3438 (g_local_file_query_filesystem_info):
3439 Some fixes for the statvfs case
3441 2007-11-07 Alexander Larsson <alexl@redhat.com>
3444 (g_local_file_query_filesystem_info):
3445 Pick the "best" of statfs / statvfs for the system
3446 if both are availible.
3448 2007-11-07 Alexander Larsson <alexl@redhat.com>
3450 Solaris fixes from Halton.Huo@Sun.COM:
3457 * gio/glocalfileinfo.c:
3458 Fix for solaris definition of getpwuid_r
3460 * gio/test-streams.c:
3461 Use G_GNUC_PRETTY_FUNCTION
3463 2007-11-07 Alexander Larsson <alexl@redhat.com>
3465 * gio/gdesktopappinfo.c:
3466 (update_default_list):
3467 Remove double semicolon.
3468 Patch from Jens Granseuer
3470 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3472 * docs/reference/gio/gio-sections.txt:
3473 * gio/gbufferedinputstream.c:
3474 * gio/gbufferedinputstream.h:
3475 * gio/gdatainputstream.c:
3476 * gio/gfileenumerator.c:
3477 * gio/gioscheduler.c:
3478 * gio/gunionvolumemonitor.c:
3480 * programs/gio-save.c:
3481 Fix typo: availible -> available. Unfortuntely this breaks API
3482 and ABI as g_buffered_input_stream_get_available() was renamed.
3484 * gio/gunixmounts.c:
3485 * gio/gbufferedinputstream.c:
3486 Add guards for public functions.
3488 2007-11-06 Ross Burton <ross@openedhand.com>
3490 * docs/reference/gio/Makefile.am:
3491 Fix invalid += usage which automake 1.10 doesn't like.
3493 2007-11-06 Alexander Larsson <alexl@redhat.com>
3496 (g_app_launch_context_class_init):
3499 Patch from Ross Burton
3501 2007-11-06 Alexander Larsson <alexl@redhat.com>
3504 Post release version bump
3506 === gio-standalone 0.1.1 ===
3508 2007-11-06 Alexander Larsson <alexl@redhat.com>
3511 Bump version to 0.1.1
3513 * gio/gsimpleasyncresult.c:
3514 (g_simple_async_result_set_from_error):
3515 Remove bogus g_return_if_fail
3517 2007-11-06 Alexander Larsson <alexl@redhat.com>
3520 The name is gio-standalone
3523 Add top src/builddir to includedir
3525 2007-11-06 Alexander Larsson <alexl@redhat.com>
3527 * docs/reference/gio/gio-sections.txt:
3529 * gio/gbufferedinputstream.c:
3530 * gio/gbufferedoutputstream.c:
3531 * gio/gcancellable.c:
3532 * gio/gdatainputstream.h:
3533 * gio/gdataoutputstream.c:
3534 * gio/gdataoutputstream.h:
3535 * gio/gdirectorymonitor.c:
3537 * gio/gfileattribute.c:
3538 * gio/gfileattribute.h:
3539 * gio/gfileenumerator.c:
3540 * gio/gfileenumerator.h:
3543 * gio/gfileinputstream.h:
3544 * gio/gfilemonitor.c:
3545 * gio/gfileoutputstream.h:
3546 * gio/glocalfilemonitor.h:
3547 * gio/glocalfileoutputstream.h:
3548 * gio/gmemoryinputstream.c:
3549 * gio/gmemoryoutputstream.c:
3550 * gio/gmountoperation.c:
3551 * gio/goutputstream.c:
3552 * gio/goutputstream.h:
3554 * gio/gsimpleasyncresult.c:
3555 * gio/gunixmounts.c:
3556 * gio/gunixmounts.h:
3558 * gio/inotify/inotify-helper.c:
3559 Fix gtk-doc warnings
3561 Patch from Ross Burton
3563 2007-11-06 Alexander Larsson <alexl@redhat.com>
3565 * gio/gfilenamecompleter.c:
3566 (g_filename_completer_get_completions):
3569 * gio/gunixvolume.c:
3570 Remove unused function
3572 Patches from Ross Burton
3574 2007-11-06 Alexander Larsson <alexl@redhat.com>
3579 Padding not needed for interfaces
3581 2007-11-06 Alexander Larsson <alexl@redhat.com>
3583 * gio/gfilemonitor.c:
3587 Make giotypes.h an internal file
3590 * gio/gbufferedinputstream.h:
3591 * gio/gbufferedoutputstream.h:
3592 * gio/gcancellable.h:
3593 * gio/gdatainputstream.h:
3594 * gio/gdataoutputstream.h:
3595 * gio/gdirectorymonitor.c:
3596 * gio/gdirectorymonitor.h:
3601 * gio/gfileattribute.h:
3602 * gio/gfileenumerator.h:
3607 * gio/gfilemonitor.c:
3608 * gio/gfilemonitor.h:
3609 * gio/gfilenamecompleter.c:
3610 * gio/gfilenamecompleter.h:
3611 * gio/gfilterinputstream.h:
3612 * gio/gfilteroutputstream.h:
3613 * gio/ginputstream.h:
3614 * gio/gmemoryinputstream.h:
3615 * gio/gmemoryoutputstream.h:
3616 * gio/gmountoperation.c:
3617 * gio/gmountoperation.h:
3618 * gio/gnativevolumemonitor.c:
3619 * gio/goutputstream.h:
3622 * gio/gsimpleasyncresult.c:
3623 * gio/gsimpleasyncresult.h:
3624 * gio/gsocketinputstream.h:
3625 * gio/gsocketoutputstream.h:
3626 * gio/gthemedicon.c:
3627 * gio/gthemedicon.h:
3631 * gio/gvolumemonitor.c:
3632 * gio/gvolumemonitor.h:
3633 Add padding in classes where it seems useful
3634 Don't include giotypes.h from public headers
3635 Move in Class definitions into c file where possible
3640 2007-11-06 Alexander Larsson <alexl@redhat.com>
3642 * docs/reference/gio/gio-docs.xml:
3643 Better structure for API docs
3645 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3648 * gio/gloadableicon.c:
3649 * gio/gsimpleasyncresult.c:
3650 * gio/gthemedicon.c:
3651 Add some more guards to public functions. Only files missing are now
3654 2007-11-06 Alexander Larsson <alexl@redhat.com>
3656 * docs/reference/gio/gio-docs.xml:
3657 Remove old files, add missing ones
3659 2007-11-06 Alexander Larsson <alexl@redhat.com>
3661 * docs/reference/gio/gio-sections.txt:
3664 Hide implementation classes
3666 * gio/gdriveprivate.h:
3667 * gio/gvolumeprivate.h:
3668 Remove non-existing function declarations
3670 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3673 Fix compilation warnings and add guards to the new functions.
3675 * gio/gasyncresult.c:
3677 Add guards to the public functions.
3680 Implement get_path().
3682 2007-11-06 Alexander Larsson <alexl@redhat.com>
3684 * gio/gfilenamecompleter.c:
3685 Make g_filename_completer_get_completions
3686 return char ** instead of GList for
3689 * docs/reference/gio/gio-docs.xml:
3690 * docs/reference/gio/gio-sections.txt:
3692 * gio/gasyncresult.c:
3693 * gio/gbufferedinputstream.c:
3694 * gio/gbufferedoutputstream.c:
3695 * gio/gcancellable.c:
3696 * gio/gcontenttype.c:
3697 * gio/gdatainputstream.c:
3698 * gio/gdataoutputstream.c:
3699 * gio/gdesktopappinfo.c:
3700 * gio/gdirectorymonitor.c:
3704 * gio/gfileattribute.c:
3705 * gio/gfileenumerator.c:
3708 * gio/gfileinputstream.c:
3709 * gio/gfilemonitor.c:
3710 * gio/gfilenamecompleter.c:
3711 * gio/gfilenamecompleter.h:
3712 * gio/gfileoutputstream.c:
3713 * gio/gfilterinputstream.c:
3715 * gio/ginputstream.c:
3717 * gio/gioscheduler.c:
3718 * gio/gloadableicon.c:
3719 * gio/glocaldirectorymonitor.c:
3721 * gio/glocalfileinputstream.c:
3722 * gio/glocalfilemonitor.c:
3723 * gio/glocalfileoutputstream.c:
3725 * gio/gmemoryinputstream.c:
3726 * gio/gmemoryoutputstream.c:
3727 * gio/gmountoperation.c:
3728 * gio/goutputstream.c:
3729 * gio/gpollfilemonitor.c:
3731 * gio/gsimpleasyncresult.c:
3732 * gio/gsocketinputstream.c:
3733 * gio/gsocketoutputstream.c:
3734 * gio/gthemedicon.c:
3735 * gio/gunionvolumemonitor.c:
3737 * gio/gunixmounts.c:
3738 * gio/gunixvolume.c:
3739 * gio/gunixvolumemonitor.c:
3743 * gio/gvolumemonitor.c:
3744 * gio/gwin32appinfo.c:
3745 Add (mostly stub) doc strings to public functions.
3746 Patch from Andrew Walton (awalton@gmail.com)
3748 2007-11-06 Alexander Larsson <alexl@redhat.com>
3750 * gio/gappinfo.[ch]:
3751 Added GAppLaunchContext object and pass that to launch.
3752 This allows simple implementation of both
3753 launch-on-screen and startup notification via a gtk+
3754 subclass of GAppLaunchContext
3756 * gio/gdesktopappinfo.c:
3757 Implement GAppLaunchContext API
3759 * gio/gwin32appinfo.c:
3762 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3764 * gio/gmountoperation.c:
3765 Add some guards to GMountOperation's public functions.
3767 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3771 * gio/gcancellable.c:
3772 * gio/gdirectorymonitor.c:
3774 * gio/gfileenumerator.c:
3775 * gio/gfilemonitor.c:,
3776 * gio/gfilenamecompleter.c:
3779 * gio/gioscheduler.c:
3783 * gio/gvolumemonitor.c:
3784 Add even more guards to various public functions.
3786 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3789 Add guards to the public functions of GAppInfo.
3791 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/gcontenttype.c:
3794 Add some more guards for public functions.
3796 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3798 * gio/fam/fam-module.c:
3799 * gio/fam/gfamdirectorymonitor.c:
3800 * gio/fam/gfamdirectorymonitor.h:
3801 * gio/fam/gfamfilemonitor.c:
3802 * gio/fam/gfamfilemonitor.h:
3803 * gio/inotify/ginotifydirectorymonitor.c:
3804 * gio/inotify/ginotifydirectorymonitor.h:
3805 * gio/inotify/ginotifyfilemonitor.c:
3806 * gio/inotify/ginotifyfilemonitor.h:
3807 Add proper copyright information and remove an unused variable
3808 in the GInotifyFileMonitor constructor.
3810 * gio/gcancellable.c:
3811 Add a guard for a public function and an assertion to prevent
3812 an undefined program state.
3814 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3816 * gio/gfileattribute.c:
3817 Don't run into an assertion if the given attribute value is NULL
3818 in g_file_attribute_value_get_*() but instead return a fallback
3819 value that makes sense in most situations. Passing them a attribute
3820 value with the wrong type will still run into an assertion.
3822 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3824 * gio/gfileattribute.c:
3826 Add even more guards to the public functions. Also fix the refcounting
3827 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3828 let g_file_info_list_attributes() filter the attributes by namespace
3829 instead of simply ignoring the namespace parameter.
3831 2007-11-03 Sven Herzberg <sven@imendio.com>
3833 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3834 (This makes gio work on MacOS X again)
3836 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3839 Build the gio subdirectory before the docs. Otherwise the build will
3842 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3843 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3844 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3845 Add guards to the public functions.
3847 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3849 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3850 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3851 to prevent a compiler warning.
3853 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3854 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3855 return something in the non-void function find_topdir_for().
3857 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3864 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3866 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3867 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3868 * gwin32appinfo.c (g_win32_app_info_launch):
3869 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3870 envp_for_startup_id, g_desktop_app_info_launch,
3871 g_desktop_app_info_launch_uris):
3873 Give an opaque 'startup_id' string instead of 'envp'.
3874 Support empty file lists for launching new windows.
3875 Fix infinite recursion bug when launching URIs.
3877 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3880 Add guard to the new g_file_get_uri_scheme() function.
3882 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3885 Convert a g_return_val_if_fail() to setting the GError instead as
3886 otherwise applications have to verify the parameter before otherwise
3887 and the parameter might come directly from the user.
3889 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3891 * gio/inotify/ginotify*.[ch]:
3892 Add missing copyright information.
3894 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3897 Add guards in the beginning of public functions to check for valid
3898 parameters and fix a bug in copy_stream_with_progress() that could've
3899 caused writing less bytes than reading.
3900 * gio/glocalfileinfo.c:
3901 Check for a NULL parameter and set the GError accordingly then.
3902 * gio/goutputstream.c:
3903 Fix the same bug as in gfile.c that could've caused writing less bytes
3904 than reading in g_output_stream_real_splice().
3906 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3909 Use the correct gvolumeprivate.h naming
3911 2007-11-01 Christian Kellner <gicmo@gnome.org>
3914 Remove leftover "$(daemon_sources)" entry.
3916 2007-11-01 Christian Kellner <gicmo@gnome.org>
3921 Add copyright information to source files.
3923 2007-11-01 Alexander Larsson <alexl@redhat.com>
3927 Add g_file_get_uri_scheme
3929 2007-11-01 Alexander Larsson <alexl@redhat.com>
3932 * gio/gdesktopappinfo.c:
3933 * gio/gwin32appinfo.c:
3934 Add g_app_info_get_default_for_uri_scheme.
3936 2007-11-01 Alexander Larsson <alexl@redhat.com>
3939 Correct filename for gdriveprivate.h
3941 2007-10-31 Alexander Larsson <alexl@redhat.com>
3944 Rename id:value to id:file
3947 * gio/glocalfileinfo.c:
3950 2007-10-31 Alexander Larsson <alexl@redhat.com>
3952 * gio/gunixvolume.c:
3954 Remove g_volume_get_platform_id, as thats not
3955 needed with the simpler union volume monitor
3957 2007-10-31 Alexander Larsson <alexl@redhat.com>
3960 * gio/guniondrive.[ch]: Removed.
3961 * gio/gunionvolume.[ch]: Removed.
3962 Remove GUnionDrive/Volume
3964 * gio/gunionvolumemonitor.c:
3965 Simplify union volume monitor, now we
3966 only have one native volume monitor and
3967 we use the actual volumes/drives from the
3968 child monitors instead of wrapping them
3970 * gio/gnativevolumemonitor.[ch]:
3971 Base class for native volume monitors.
3972 Includes priority and get_volume_for_mountpoint
3975 Add g_file_find_enclosing_volume
3978 Remove volume name fs attribute
3979 Add readonly fs attribute
3982 Implement readonly attribute
3983 remove volume name attribute
3984 Implement find_enclosing volume
3986 * gio/gunixmounts.c:
3987 Add a volume for "/".
3989 * gio/gunixvolume.[ch]:
3990 Set better name for /
3992 * gio/gunixvolumemonitor.[ch]:
3993 Derive from GNativeVolumeMonitor
3994 Implement get_volume_for_mountpoint
3997 GVolume typedef moved to gfile.h
3999 * gio/gvolumeprivate.h:
4000 Add g_volume_get_for_mount_path
4002 2007-10-31 Alexander Larsson <alexl@redhat.com>
4004 * gio/gunixmounts.[ch]:
4005 Add cache info to unix mount listers
4006 Make getmntent use threadsafe
4007 Add is_system_internal attribute for GUnixMount
4009 * gio/gunixvolume.c:
4010 (g_unix_volume_new):
4011 Use is_system_internal instead of own code
4013 * gio/glocaldirectorymonitor.c:
4014 * gio/gunixvolumemonitor.c:
4015 Update to new gunixmounts API
4020 2007-10-30 Alexander Larsson <alexl@redhat.com>
4023 Add volume name fsinfo attribute
4026 Read volume name info
4028 * gio/gunionvolumemonitor.c:
4029 Fix infinite loops when finalizing a union volume monitor
4031 2007-10-30 Alexander Larsson <alexl@redhat.com>
4033 * gio/goutputstream.[ch]:
4034 Add splice() with default implementation
4036 * gio/gsocketoutputstream.c:
4037 (g_socket_output_stream_write):
4038 Return error on cancellation correctly.
4040 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4042 * gio/glocalfile.c (g_local_file_trash):
4043 Do not leak a string.
4045 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4047 * gio/gfile.c (g_file_load_contents):
4048 Unref the stream after closing it.
4050 2007-10-25 Alexander Larsson <alexl@redhat.com>
4052 * gio/gioscheduler.h:
4055 2007-10-25 Alexander Larsson <alexl@redhat.com>
4059 Add g_file_has_uri_scheme and implement for local files
4061 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4063 * gio/gdesktopappinfo.c: do not leak a string.
4065 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4067 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4068 (g_local_directory_monitor_new):
4069 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4070 (g_local_file_monitor_new):
4071 Only look for the monitor type that should be used the first time
4072 and use g_qsort_with_data() instead of our own bubble sort
4075 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4078 * gio/fam/Makefile.am:
4079 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4080 * gio/fam/fam-helper.h:
4081 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4082 * gio/fam/gfamdirectorymonitor.c:
4083 * gio/fam/gfamdirectorymonitor.h:
4084 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4085 * gio/fam/gfamfilemonitor.h:
4086 * gio/glocaldirectorymonitor.c:
4087 * gio/glocaldirectorymonitor.h:
4088 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4089 * gio/glocalfilemonitor.h:
4090 * gio/inotify/Makefile.am:
4091 * gio/inotify/ginotifydirectorymonitor.c:
4092 * gio/inotify/ginotifydirectorymonitor.h:
4093 * gio/inotify/ginotifyfilemonitor.c:
4094 * gio/inotify/ginotifyfilemonitor.h:
4095 Implement the FAM and Inotify monitors as
4096 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4097 their own GIO module. GLocal(Directory|File)Monitor will use the
4098 monitor with the highest rank that is supported on that machine.
4100 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4103 Change GIO module dir to $(libdir)/gio/modules and change
4104 the log domain from GVFS to GIO. Also only export symbols starting
4105 with g_ in the resulting library.
4106 * gio/test-streams.c: (main):
4107 Set log handler for the GIO log domain.
4109 2007-10-22 Alexander Larsson <alexl@redhat.com>
4111 * gio/gfilenamecompleter.[ch]:
4112 Add g_filename_completer_set_dirs_only
4114 2007-10-22 Alexander Larsson <alexl@redhat.com>
4117 * gio/gurifuncs.[ch]:
4118 Add some simple URI helpers
4120 * gio/gfilenamecompleter.[ch]:
4121 Added object for filename (parse name actually) completion
4124 Handle ~ in parse names
4126 2007-10-17 Alexander Larsson <alexl@redhat.com>
4129 * gio/glocalfileinfo.c:
4130 Add and implement id:value attribute
4132 2007-10-17 Alexander Larsson <alexl@redhat.com>
4135 * gio/guniondrive.c:
4137 Add and implement g_drive_has_volumes
4139 2007-10-17 Alexander Larsson <alexl@redhat.com>
4142 * gio/glocalfileinfo.[ch]:
4143 Add unix:is_mountpoint and implement for local files
4145 2007-10-16 Alexander Larsson <alexl@redhat.com>
4147 * gio/gunionvolumemonitor.c:
4148 (g_union_volume_monitor_init):
4149 Fix up the unix type getting so that it works with gcc
4151 2007-10-12 Alexander Larsson <alexl@redhat.com>
4154 * gio/glocalfileinfo.c:
4155 Add thumbnail:failed to file info
4157 2007-10-12 Richard Hult <richard@imendio.com>
4159 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4160 optimizing away the get_type call (happens with some gcc versions,
4161 like the one shipped with OS X 10.4).
4163 2007-10-12 Alexander Larsson <alexl@redhat.com>
4165 * gio/glocalfileinfo.c:
4166 (_g_local_file_info_set_attribute):
4167 Fix build if not HAVE_XATTR
4168 Patch from Milosz Derezynski <internalerror@gmail.com>
4170 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4172 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4173 around for review, otherwise I would have asked you before
4176 2007-10-11 Alexander Larsson <alexl@redhat.com>
4179 Add thumbnail:path attribute
4181 * gio/glocalfileinfo.c:
4182 Implement thumbnail:path for local files
4184 2007-10-11 Alexander Larsson <alexl@redhat.com>
4186 * gio/glocalfileinfo.c:
4187 (_g_local_file_info_get):
4188 Avoid duplicate icon names
4190 2007-10-11 Alexander Larsson <alexl@redhat.com>
4192 * gio/gthemedicon.[ch]:
4193 Change g_themed_icon_get_names return type to const
4195 2007-10-10 Alexander Larsson <alexl@redhat.com>
4197 * gio/glocalfileinfo.c:
4198 Don't reference freed memory
4200 2007-10-10 Alexander Larsson <alexl@redhat.com>
4202 * gio/gfileattribute.c:
4205 * gio/glocalfileinfo.c:
4208 2007-10-10 Alexander Larsson <alexl@redhat.com>
4211 Check for NULL icons
4213 * gio/gfileattribute.c:
4214 Don't dup when getting objects (same as for string attributes)
4216 * gio/gicon.c (g_icon_equal):
4217 Safely handle NULLs in equal
4219 2007-10-10 Alexander Larsson <alexl@redhat.com>
4222 Fix c++ compilation issues
4223 Patch from Milosz Derezynski <internalerror@gmail.com>
4225 2007-10-10 Alexander Larsson <alexl@redhat.com>
4227 * programs/gio-monitor-dir.c:
4228 Don't crash if dir monitor not supported.
4230 2007-10-09 Alexander Larsson <alexl@redhat.com>
4233 Add missing G_END_DECLS
4235 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4237 * gio/gfile.c: (g_file_set_display_name),
4238 (g_file_query_settable_attributes),
4239 (g_file_query_writable_namespaces):
4240 Return NULL not FALSE on errors as the return type is a pointer.
4242 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4244 * gio/glocalfile.c: (g_local_file_monitor_file):
4245 Don't call monitor_file on the default interface vtable (which
4246 is NULL) but simply return NULL. The caller, GFile, will create a
4247 polling monitor if NULL is returned.
4249 2007-10-09 Alexander Larsson <alexl@redhat.com>
4253 * gio-unix-2.0.pc.in:
4254 Add gio-unix-2.0.pc if OS_UNIX
4257 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4259 2007-10-09 Alexander Larsson <alexl@redhat.com>
4261 * gio/gunixmounts.[ch]:
4262 Make unix mount monitoring API sane.
4263 Now its just a object with mounts_changed
4264 and mountpoints_changed signals.
4266 * gio/glocaldirectorymonitor.c:
4267 * gio/gunixvolumemonitor.c:
4268 Use new mount monitor api
4270 2007-10-09 Alexander Larsson <alexl@redhat.com>
4272 * gio/gunixmounts.[ch]:
4273 Move guess type into one call for mounts and one for mountpoints
4276 * gio/gunixvolume.c:
4279 2007-10-09 Alexander Larsson <alexl@redhat.com>
4281 * gio/gunixmounts.[ch]:
4282 Remove _ prefix in preparation to make this semi-public
4283 Hide implementation of structs
4285 * gio/glocaldirectorymonitor.c:
4287 * gio/gunixvolume.c:
4288 * gio/gunixvolumemonitor.c:
4289 Update for above API changes
4291 2007-10-08 Alexander Larsson <alexl@redhat.com>
4294 Better polling fallback. This also handles the case where we have
4295 a monitor_file implementation, but it fails.
4297 2007-10-08 Alexander Larsson <alexl@redhat.com>
4301 * gio/gunixmounts.c:
4302 * programs/gio-monitor-dir.c:
4303 * programs/gio-monitor-file.c:
4304 Added cancellable to file monitoring calls.
4305 These are really sync calls and need this.
4307 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4309 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4310 (g_local_vfs_class_init):
4311 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4312 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4314 2007-10-05 Alexander Larsson <alexl@redhat.com>
4316 * gio/gdirectorymonitorprivate.h:
4317 * gio/gfilemonitorprivate.h:
4318 * gio/gdirectorymonitor.h:
4319 * gio/gfilemonitor.h:
4320 Remove *private.h and move to the public API, so that
4321 we can do implementations outside gio (such as in gvfs)
4323 * gio/gdirectorymonitor.c:
4324 * gio/gfilemonitor.c:
4325 * gio/glocaldirectorymonitor.c:
4326 * gio/gpollfilemonitor.c:
4327 * gio/inotify/inotify-helper.c:
4328 * gio/fam/fam-helper.c:
4329 Update to the new header names
4331 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4333 * gio/gdirectorymonitor.c:
4334 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4337 2007-10-04 Alexander Larsson <alexl@redhat.com>
4339 * gio/glocalfileinfo.c (get_access_rights):
4340 Set CAN_TRASH when we can move the file.
4341 We should really also check for a parent trash dir.
4343 2007-10-04 Alexander Larsson <alexl@redhat.com>
4345 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4346 Add can_trash access attribute
4348 2007-10-04 Alexander Larsson <alexl@redhat.com>
4351 (g_local_file_trash):
4352 Create info file first. This is per-spec and allows
4353 us to actually trash directories.
4355 2007-10-02 Alexander Larsson <alexl@redhat.com>
4357 * gio/gdesktopappinfo.c:
4358 Implement the new mime support code.
4359 Always set app as handling mimetype when being set as default for it
4361 2007-10-01 Alexander Larsson <alexl@redhat.com>
4363 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4364 Fix up check for xattrs:
4366 2007-10-01 Alexander Larsson <alexl@redhat.com>
4369 (g_app_info_set_as_default_for_extension):
4370 (g_app_info_add_supports_type):
4371 (g_app_info_can_remove_supports_type):
4372 (g_app_info_remove_supports_type):
4373 Make these fail nicely if not implemented
4375 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4377 * gio/glocalfileoutputstream.c:
4378 * gio/glocalfileoutputstream.h:
4383 * programs/gio-save.c:
4384 Add a GFileCreateFlags argument to operations that can create
4387 2007-10-01 Alexander Larsson <alexl@redhat.com>
4389 * gio/gappinfo.[ch]:
4390 * gio/gdesktopappinfo.c:
4391 Add more (stubbed out) mime API needed for nautilus
4393 2007-10-01 Alexander Larsson <alexl@redhat.com>
4396 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4397 Add g_app_info_set_as_default_for_extension.
4399 * gio/gdesktopappinfo.c:
4400 Dummy for g_app_info_set_as_default_for_extension
4401 Support flags in g_app_info_create_from_commandline
4403 * gio/gwin32appinfo.c:
4405 Update for API changes
4407 * gio/gthemedicon.c:
4408 Properly NULL-terminate list of icon names
4410 2007-09-28 Alexander Larsson <alexl@redhat.com>
4412 * gio/gloadableicon.h:
4413 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4415 2007-09-28 Alexander Larsson <alexl@redhat.com>
4418 Install headers in $includedir/gio-standalone/
4420 * gio-2.0.pc.in: Added.
4421 * gio-standalone.pc.in: Removed.
4424 Renamed pkg-config file to match glib (for future move)
4425 Update to the new include dir
4428 Add more TODO comments
4430 2007-09-28 Alexander Larsson <alexl@redhat.com>
4432 * gio/gdesktopappinfo.[ch]:
4433 Expose new_from_filename
4434 Add getter for is_hidden and handle it better
4436 2007-09-28 Alexander Larsson <alexl@redhat.com>
4438 * gio/gfileinfo.[ch]:
4439 Rename g_file_size_format_for_display to
4440 g_format_file_size_for_display.
4441 Now it doesn't have the g_file prefix, so we
4442 can later move it to glib.
4444 2007-09-28 Alexander Larsson <alexl@redhat.com>
4446 * gio/gappinfo.[ch]:
4447 Add g_app_info_get_id and g_app_info_get_executable.
4448 Make all getters non-reffing
4449 Make g_app_info_launch take GFile arguments.
4450 Add must_support_uris argument to g_app_info_get_default_for_type.
4452 * gio/gwin32appinfo.c:
4453 Update to GAppInfo api changes
4455 * gio/gdesktopappinfo.c:
4456 Update to GAppInfo api changes
4457 Implement supports_xdg_startup_notify
4459 * gio/gfileicon.c (g_file_icon_get_file):
4460 Make getter non-reffing.
4465 2007-09-27 Alexander Larsson <alexl@redhat.com>
4467 * gio/gfileinfo.[ch]:
4468 Add g_file_size_format_for_display helper
4470 2007-09-27 Alexander Larsson <alexl@redhat.com>
4472 * gio/glocalfileinfo.c:
4473 Set UNIX_GID from gid, not from uid
4475 2007-09-27 Alexander Larsson <alexl@redhat.com>
4478 Add g_file_set_attributes_async
4480 2007-09-27 Alexander Larsson <alexl@redhat.com>
4482 * gio/glocalfile.c (g_local_file_set_display_name):
4483 Fix set_display_name to actually rename to the right place.
4484 Use lstat to look for existing files so we don't overwrite
4487 2007-09-26 Alexander Larsson <alexl@redhat.com>
4490 Add g_file_set_display_name_async()
4492 2007-09-26 Alexander Larsson <alexl@redhat.com>
4495 Add load_partial_contents async calls
4498 Make internal function static
4500 2007-09-26 Alexander Larsson <alexl@redhat.com>
4502 * gio/glocalfileinfo.c:
4503 Correctly detect broken symlinks
4505 2007-09-26 Alexander Larsson <alexl@redhat.com>
4507 * gio/gcancellable.c (g_cancellable_cancel):
4508 Allow cancel on NULL cancellable
4510 2007-09-25 Alexander Larsson <alexl@redhat.com>
4512 * gio/gsimpleasyncresult.c:
4513 Don't allocate g_error manually.
4514 Fixes g_slice/g_new mixup crash
4516 2007-09-25 Alexander Larsson <alexl@redhat.com>
4518 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4519 Actually set active_backend.
4520 This means the monitor will be cancelled correctly.
4522 2007-09-25 Alexander Larsson <alexl@redhat.com>
4524 * gio/gdirectorymonitor.c:
4525 Set timeout to NULL when destroying
4527 2007-09-25 Alexander Larsson <alexl@redhat.com>
4530 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4531 that is a better description of the error.
4533 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4535 * gio/gvfs.c: (g_vfs_get_local):
4536 Make the local vfs variable static. The same instance should
4539 2007-09-24 Alexander Larsson <alexl@redhat.com>
4541 * gio/glocalfileinfo.c:
4542 Pass in actual length read into sniffer, not the length
4545 2007-09-21 Alexander Larsson <alexl@redhat.com>
4547 * gio/gfileenumerator.c:
4550 * gio/gfileinputstream.c:
4551 * gio/gfileoutputstream.c:
4552 * gio/ginputstream.c:
4553 * gio/goutputstream.c:
4554 Don't crash if async callbacks are NULL
4556 2007-09-20 Alexander Larsson <alexl@redhat.com>
4559 Add async enumerate_children method and default
4562 2007-09-20 Alexander Larsson <alexl@redhat.com>
4565 Add g_file_contains_file & g_file_get_relative_path, since they
4566 were needed for nautilus.
4567 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4572 Implement new methods
4574 2007-09-17 Alexander Larsson <alexl@redhat.com>
4577 * gio/gfileinputstream.[ch]:
4578 * gio/gfileoutputstream.[ch]:
4580 * gio/glocalfileenumerator.[ch]:
4581 * gio/glocalfileinfo.[ch]:
4582 * gio/glocalfileinputstream.c:
4583 * gio/glocalfileoutputstream.c:
4584 * gio/gpollfilemonitor.c:
4585 * programs/gio-copy.c:
4586 * programs/gio-info.c:
4587 * programs/gio-move.c:
4588 Rename get_file_info to query_info() to make it clearer
4589 that these are not simple getters, but do i/o.
4591 2007-09-17 Alexander Larsson <alexl@redhat.com>
4593 * gio/gdatainputstream.[ch]:
4594 * gio/test-streams.c:
4595 Use _read_XXX instead of _get_XXX for the i/o calls
4598 2007-09-17 Alexander Larsson <alexl@redhat.com>
4601 Added needed stuff to TODO comment
4603 2007-09-17 Alexander Larsson <alexl@redhat.com>
4605 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4606 Don't error out removing the backup copy if it doesn't
4609 2007-09-14 Alexander Larsson <alexl@redhat.com>
4611 * programs/Makefile.am:
4612 * programs/gvfs-*.c:
4614 Renamed apps from gvfs-xxx to gio-xxx.
4616 2007-09-14 Alexander Larsson <alexl@redhat.com>
4619 * gio/gfileoutputstream.[ch]:
4620 * gio/glocalfileoutputstream.c:
4621 * programs/gvfs-save.c:
4622 g_file_output_stream_get_etag doesn't do i/o, so remove
4623 cancellation and error.
4625 2007-09-14 Alexander Larsson <alexl@redhat.com>
4628 Add new_etag output to replace_contents functions
4630 2007-09-14 Alexander Larsson <alexl@redhat.com>
4632 * gio/gfileoutputstream.[ch]:
4633 Add async get_file_info and default implementation
4635 2007-09-14 Alexander Larsson <alexl@redhat.com>
4637 * gio/gfileinputstream.c:
4638 Implement fallback wrapper for async get_file_info
4640 2007-09-14 Alexander Larsson <alexl@redhat.com>
4643 Add etag out argument to load_contents
4648 2007-09-14 Alexander Larsson <alexl@redhat.com>
4650 * gio/gcontenttype.c (looks_like_text):
4651 Whitespace like tab, cr and lf do not make the
4654 2007-09-14 Alexander Larsson <alexl@redhat.com>
4656 * gio/gfileinputstream.[ch]:
4657 Add async get_file_info.
4659 2007-09-13 Alexander Larsson <alexl@redhat.com>
4661 * gio/goutputstream.c (g_output_stream_write_all):
4662 Allow NULL for bytes_written
4664 2007-09-13 Alexander Larsson <alexl@redhat.com>
4666 * gio/gmemoryinputstream.[ch]:
4667 Add accessors for data
4669 2007-09-13 Alexander Larsson <alexl@redhat.com>
4671 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4672 Don't crash if length is NULL