1 2008-07-20 Matthias Clasen <mclasen@redhat.com>
4 * gmount.c: Documentation fixes
6 2008-07-19 Matthias Clasen <mclasen@redhat.com>
8 543504 – crash in Epiphany Web Browser: Opening local file
19 * gvolume.c: Register types thread-safely.
20 Patch by Christian Persch
22 2008-07-18 Matthias Clasen <mclasen@redhat.com>
24 * gcontenttype.c: Remove debug spew
26 2008-07-18 Matthias Clasen <mclasen@redhat.com>
28 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
31 * fen/fen-kernel.c: Remove a warning that was causing
32 crashes. Reported by Lin Ma.
34 2008-07-18 Matthias Clasen <mclasen@redhat.com>
36 Bug 543040 – async reading on dummy file will crash on
39 * gfile.c (open_read_async_thread): Cope with read_fn being
40 NULL. Reported by Lin Ma.
42 2008-07-18 Matthias Clasen <mclasen@redhat.com>
45 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
47 2008-07-16 Matthias Clasen <mclasen@redhat.com>
51 * giomodule.c: Rename a chapter id to avoid filename conflict.
53 2008-07-16 Matthias Clasen <mclasen@redhat.com>
55 Bug 540616 – mem leak in filechooser button
57 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
58 the mount entry. Reported by Chrisitan Persch
60 2008-07-16 Matthias Clasen <mclasen@redhat.com>
62 * gfile.c: Small documentation fixes.
64 2008-07-15 Matthias Clasen <mclasen@redhat.com>
66 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
68 2008-07-08 Matthias Clasen <mclasen@redhat.com>
73 * gmount.c: Documentation improvements.
75 2008-07-08 Matthias Clasen <mclasen@redhat.com>
78 * gmount.[hc]: Add g_mount_guess_content_type().
80 2008-07-06 David Zeuthen <davidz@redhat.com>
83 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
84 is needed for easily handling adoption of foreign volumes by
85 out-of-process volume monitors (#541793)
87 2008-07-06 David Zeuthen <davidz@redhat.com>
89 * gvolumemonitor.[ch]:
90 * gunionvolumemonitor.c: Export the eject-button signal on the
91 volume monitor class (#541794).
93 2008-07-06 Matthias Clasen <mclasen@redhat.com>
95 * gappinfo.c: More doc tweaks
97 2008-07-05 Matthias Clasen <mclasen@redhat.com>
99 * gappinfo.c: Clarify some docs
101 2008-07-03 Matthias Clasen <mclasen@redhat.com>
103 * gdesktopappinfo.c: Fix a stupid mistake.
105 2008-07-02 Matthias Clasen <mclasen@redhat.com>
107 * === Released 2.17.3 ===
109 2008-07-02 Matthias Clasen <mclasen@redhat.com>
111 * gfilemonitor.c: Fix the build.
113 2008-07-02 Matthias Clasen <mclasen@redhat.com>
115 Bug 536160 – Add g_file_monitor()
118 * gfile.[hc]: Add g_file_monitor which can return either
119 a file or a directory monitor. Proposed by Behdad Esfahbod
121 2008-07-02 Matthias Clasen <mclasen@redhat.com>
123 536733 – gio build failure on Irix
125 * glocalfile.c: Use a configure check for structfs.f_bavail.
127 2008-07-02 Matthias Clasen <mclasen@redhat.com>
129 Bug 534639 – add g_desktop_app_info_new_from_keyfile
132 * gdesktopappinfo.[hc]: Add a function to create a
133 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
135 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
137 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
139 2008-07-01 Matthias Clasen <mclasen@redhat.com>
141 * gunixmounts.c: Fix a doc typo.
143 2008-07-01 Cody Russell <bratsche@gnome.org>
145 * gio/gcontenttype.c:
146 * gio/gwin32appinfo.c:
147 * gio/gwin32volumemonitor.c:
148 * gio/gwin32mount.c: Fixed some include problems.
150 2008-07-01 Cody Russell <bratsche@gnome.org>
154 Moved all relevant typedefs into these files.
157 Updated wrt added files.
159 Split types into separate file for easier maintainership. (#538564)
161 2008-06-30 Matthias Clasen <mclasen@redhat.com>
163 Bug 540331 – g_file_append_to () documentation: can return NULL
165 * gfile.c (g_file_append_to): Clarify docs.
168 2008-06-30 Matthias Clasen <mclasen@redhat.com>
170 Bug 539090 – g_content_type_from_mime_type() should unalias
172 * gcontentype.c (g_content_type_from_mime_type): Unalias.
173 Patch by Markus Bergman
175 2008-06-30 Matthias Clasen <mclasen@redhat.com>
177 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
180 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
181 on ppc and alpha. Reported by Mart Raudsepp
183 2008-06-29 Matthias Clasen <mclasen@redhat.com>
186 * tests/memory-output-stream.c: Add some tests for
189 2008-06-29 Matthias Clasen <mclasen@redhat.com>
191 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
194 * gmemoryoutputstream.c (array_resize): Handle truncation to
195 zero correctly. Reported by Akira Tagoh
197 2008-06-29 Matthias Clasen <mclasen@redhat.com>
199 * gmemoryoutputstream.c: Trivial doc fixes
201 2008-06-29 Matthias Clasen <mclasen@redhat.com>
203 Bug 540802 – g_list_prepend doesn't concat lists
205 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
206 one list to another. Pointed out by Jan Arne Petersen
208 2008-06-28 Michael Natterer <mitch@imendio.com>
210 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
212 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
214 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
215 to avoid problems with partial icon themes.
217 2008-06-17 Hans Breuer <hans@breuer.org>
219 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
220 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
221 access again on win32, see bug #538127
222 * giomodule.c : ensure GWin32VolumeMonitor is registered
223 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
224 * Makefile.am makefile.msc : updated
226 2008-06-16 Hans Breuer <hans@breuer.org>
228 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
229 and initialization in one step avoids c99ism
231 2008-06-16 Christian Persch <chpe@gnome.org>
234 * gio/gbufferedinputstream.c
236 * gio/gdatainputstream.c
237 * gio/gdesktopappinfo.c
239 * gio/gfileenumerator.c
240 * gio/gfileinputstream.c
241 * gio/gfileoutputstream.c
243 * gio/glocaldirectorymonitor.c
245 * gio/glocalfileenumerator.c
246 * gio/glocalfileinfo.c
247 * gio/glocalfilemonitor.c
248 * gio/glocalfileoutputstream.c
249 * gio/gmemoryinputstream.c
250 * gio/gmemoryoutputstream.c
251 * gio/goutputstream.c
252 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
255 2008-06-16 Tor Lillqvist <tml@novell.com>
257 Bug 538362 - Get Win32 icons back in the file chooser
259 * gcontenttype.c (g_content_type_get_icon): Look up the icon
260 corresponding to a file extension in the Registry. Patch by Hans
262 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
264 2008-06-16 Tor Lillqvist <tml@novell.com>
266 Patches by Hans Breuer:
268 * glocalfile.c (is_xp_or_later): Handle compiling against older
269 SDK headers with missing VerifyVersionInfo(). Conditioned on
270 _MSC_VER, but should probably use some better test.
271 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
272 uninitialised statfs_result variable on Win32.
274 2008-06-16 Michael Natterer <mitch@imendio.com>
276 * *.c: chain up unconditionally in finalize() and dispose(). Also
277 don't dereference these function pointers when calling them since
278 that has no meaning at all.
280 2008-06-16 Ross Burton <ross@burtonini.com>
283 Remove check for dispose implementation as it annoys Emmanuele.
285 2008-06-16 Ross Burton <ross@burtonini.com>
287 Bug 536252 – GFileEnumerator should allow access to the containing
293 Add g_file_enumerator_get_container() and a container writeable
294 construct-only property. Also shuffle around typedefs to make it
297 * glocalfileenumerator.c:
298 * glocalfileenumerator.h:
300 Instead of a string filename take a GFile in the constructor and
301 use it to set the container property.
306 2008-06-16 Matthias Clasen <mclasen@redhat.com>
308 * gfile.c: Make includes more uniform
310 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
312 * tests/live-g-file.c (sample_struct):
313 Use less fancy unicode filenames, so the test doesn't fail
314 on Mac OS X (#531476).
316 2008-06-12 Matthias Clasen <mclasen@redhat.com>
318 * === Released 2.17.2 ===
320 2008-06-12 Matthias Clasen <mclasen@redhat.com>
322 * === Released 2.17.1 ===
324 2008-06-11 A. Walton <awalton@gnome.org>
326 * tests/g-file.c (test_g_file_new_null):
327 Fix broken test case.
329 2008-06-11 Matthias Clasen <mclasen@redhat.com>
331 * pltcheck.sh: We use g_clear_error now.
333 2008-06-11 Matthias Clasen <mclasen@redhat.com>
335 * glocalfile.c (g_local_file_enumerate_children): Revert
336 an unintended change.
338 2008-06-11 Matthias Clasen <mclasen@redhat.com>
340 * gfile.c (g_file_replace_contents): Don't unref before the last use.
342 2008-06-10 Matthias Clasen <mclasen@redhat.com>
344 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
347 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
348 as icon for the desktop directory, also make user-home and
349 user-desktop the preferred icons.
351 2008-06-10 Matthias Clasen <mclasen@redhat.com>
354 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
355 to add a name to the front of the list.
357 2008-06-10 Matthias Clasen <mclasen@redhat.com>
359 Bug 537392 – Additional colon in xattr name
361 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
362 too. Reported by Alessandro Morandi
364 2008-06-10 Matthias Clasen <mclasen@redhat.com>
366 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
369 * glocalfile.c (get_fs_type): Add afs and autofs.
370 Patch by Danny Baumann.
372 2008-06-10 Matthias Clasen <mclasen@redhat.com>
374 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
376 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
377 is no parent. (Owen Taylor, patch by Christian Neumair)
379 2008-06-10 Paolo Borelli <pborelli@katamail.com>
381 * gfile.c (g_file_replace_contents): do not leak the output stream.
383 2008-06-10 Michael Natterer <mitch@imendio.com>
385 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
386 uninitialized memory as array index.
388 2008-06-10 Tor Lillqvist <tml@novell.com>
390 * gcontenttype.c (g_content_type_can_be_executable)
391 (g_content_type_get_icon) [Win32]: Add TODO comments.
393 2008-06-09 Matthias Clasen <mclasen@redhat.com>
395 * xdgmime/Makefile.am: Fix the build
397 2008-06-09 Matthias Clasen <mclasen@redhat.com>
399 * gcontenttype.c (g_content_type_get_icon): Use icons specified
400 in the shared mime database, if available.
402 * xdgmime/*: Sync with upstream. This brings support for
403 glob weights, generic icons, and changes the cache format to
406 2008-05-28 Michael Natterer <mitch@imendio.com>
408 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
409 the global CPPFLAGS now.
411 * tests/data-input-stream.c
412 * tests/data-output-stream.c
413 * tests/g-file-info.c
415 * tests/live-g-file.c
416 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
418 2008-05-27 Matthias Clasen <mclasen@redhat.com>
420 * === Released 2.17.0 ===
422 * tests/live-g-file.c: Clean up after the tests, so make distcheck
423 doesn't complain about leftover files.
425 2008-05-27 simon.zheng <simon.zheng@sun.com>
427 * glocalfile.c: (g_local_file_query_filesystem_info):
428 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
430 2008-05-26 Michael Natterer <mitch@imendio.com>
432 * gmemoryoutputstream.h: declare
433 g_memory_output_stream_get_data_size().
435 2008-05-26 Matthias Clasen <mclasen@redhat.com>
437 * tests/*: Make tests work
439 2008-05-26 Matthias Clasen <mclasen@redhat.com>
441 * gio.symbols: Add g_memory_output_stream_get_data_size.
443 2008-05-25 Ross Burton <ross@burtonini.com>
446 Fix typo in error message (#534764).
448 2008-05-25 Ross Burton <ross@burtonini.com>
451 Fix circular dependency loop for gioenumtypes.h (#534759).
453 2008-05-19 Hans Breuer <hans@breuer.org>
455 * Makefile.am : EXTRA_DIST += makefile.msc
457 2008-05-17 Matthias Clasen <mclasen@redhat.com>
460 * gcontenttype.c: (g_content_type_from_mime_type):
461 New function to create a content type from a mime type. (#527175,
464 2008-05-17 Matthias Clasen <mclasen@redhat.com>
466 Bug 532965 – Should not return filesystem::free for certain file systems
468 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
469 free space for ncpfs.
471 2008-05-17 Matthias Clasen <mclasen@redhat.com>
473 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
475 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
476 st_dev might be zero.
478 2008-05-16 Tor Lillqvist <tml@novell.com>
480 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
481 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
483 2008-05-13 Bastien Nocera <hadess@hadess.net>
485 * gfile.c (has_valid_scheme): A URI scheme must start with a
486 letter, even if later more characters are allowed (#532852)
488 2008-05-05 Michael Natterer <mitch@imendio.com>
490 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
491 code from being checked in that breaks the build of applications
492 which use G_DISABLE_SINGLE_INCLUDES.
494 * makegioalias.pl: make the alias file include "glib.h" instead of
497 * gio.symbols: whitespace change to force regeneration of the
498 alias file after above script change.
500 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
502 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
504 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
506 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
508 2008-04-28 David Zeuthen <davidz@redhat.com>
510 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
511 displaying mounts in a subdirectory not accessible to the
514 2008-04-22 Michael Natterer <mitch@imendio.com>
516 * Makefile.am: fix library versioning (it was 0.0.0).
518 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
520 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
521 Default disable all loggings.
522 * fen/fen-kernel.c: (printevent), (port_add_kevent),
523 (port_fetch_event_cb): Fixed two macro nits.
525 2008-04-16 Matthias Clasen <mclasen@redhat.com>
527 * xdgmime/xdgmime.c: Rework the timestamp checking code
528 to protect against duplicate directories in XDG_DATA_DIRS.
529 Fixes fd.o bug 12513, reported by Joe Shaw.
531 2008-04-16 Matthias Clasen <mclasen@redhat.com>
533 Partically revert the last commit after realizing that
534 xdg_mime_media_type_equal doesn't have to init at all.
537 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
539 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
541 2008-04-16 Matthias Clasen <mclasen@redhat.com>
543 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
544 reported by Joe Shaw and Federico Mena Quintero.
546 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
547 (xdg_mime_media_type_equal): Turn into a wrapper around the
550 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
551 functions throughout.
553 2008-04-16 Michael Meeks <michael.meeks@novell.com>
555 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
556 tolerate an empty TryExec= line without failing; nautilus used
557 to create launchers with these in previous versions. Fixes #528433
559 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
561 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
562 after name. Fixes #527132.
564 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
566 * gfile.c: (g_file_replace):
569 2008-04-07 Matthias Clasen <mclasen@redhat.com>
571 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
573 * gfile.c (file_copy_fallback): Fix the argument order. Patch
574 by Christian Kellner.
576 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
578 * gunixmounts.c: (g_unix_mount_guess_should_display):
579 Don't list the user directory as a mount, fix potential issue
580 when other users have a similar naming and don't special case the
581 gvfs mounts there since that's not required (#525866)
583 2008-03-31 Alexander Larsson <alexl@redhat.com>
585 * glocalfile.c (get_parent):
588 2008-03-31 A. Walton <awalton@svn.gnome.org>
590 * gfile.c (g_file_query_file_type):
591 Always return a GFileType enum value (#520715).
593 2008-03-31 Alexander Larsson <alexl@redhat.com>
595 * glocalfileenumerator.c:
596 Read readdir() info in chunks (of 1000) and sort
597 the chunks by inode before stat:ing.
598 This is a 20% performance increase in testing
599 gvfs-ls on /usr/bin with cold cache.
601 2008-03-31 Alexander Larsson <alexl@redhat.com>
603 * gmemoryoutputstream.c:
604 Clarify docs for g_memory_output_stream_get_size.
605 Add g_memory_output_stream_get_data_size.
607 2008-03-30 Matthias Clasen <mclasen@redhat.com>
611 * gfile.h: Add g_file_query_file_type convenience function
612 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
614 2008-03-30 Matthias Clasen <mclasen@redhat.com>
617 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
619 2008-03-28 A. Walton <awalton@svn.gnome.org>
621 * giomodule.c (_g_io_modules_ensure_loaded):
622 Adds GIO_EXTRA_MODULES environment variable support, closing bug
625 2008-03-28 Alexander Larsson <alexl@redhat.com>
628 (copy_stream_with_progress):
631 2008-03-28 Alexander Larsson <alexl@redhat.com>
634 (copy_stream_with_progress):
635 (file_copy_fallback):
636 Fallback to g_file_query_info for source size
637 if g_file_input_stream_query_info fails. (#524579)
639 2008-03-28 Alexander Larsson <alexl@redhat.com>
641 * glocalfile.c (g_local_file_move):
642 Reuse old string instead of adding new one.
644 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
646 * fen/*.[hc]: still copyright issue. I hate copyright.
648 2008-03-27 Alexander Larsson <alexl@redhat.com>
650 * glocalfile.c (g_local_file_move):
651 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
652 file over directory. This is according to the docs and what the move via
653 copy+remove fallback does.
655 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
657 * fen/*.[hc]: Updated copyright.
659 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
661 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
663 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
665 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
666 not emit attribute changed events when optimizing changed events.
667 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
670 2008-03-19 Matthias Clasen <mclasen@redhat.com>
672 * gmountoperation.[hc]: Small documentation additions
674 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
676 * gunixmounts.c: (guess_mount_type):
677 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
679 2008-03-19 Alexander Larsson <alexl@redhat.com>
682 (copy_stream_with_progress):
683 Bump block side for copy to 64k to minimize
684 overhead for low latency links. (#523015)
686 2008-03-16 Tor Lillqvist <tml@novell.com>
688 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
689 depend on gio.def on Windows.
691 2008-03-12 David Zeuthen <davidz@redhat.com>
695 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
697 2008-03-14 Alexander Larsson <alexl@redhat.com>
701 Avoid redudant tests (#521851)
702 Patch from Josselin Mouette
704 2008-03-14 Alexander Larsson <alexl@redhat.com>
707 (g_file_monitor_is_cancelled):
708 Fix C89 issue (#521672)
709 Patch from Jens Granseuer
711 2008-03-14 Alexander Larsson <alexl@redhat.com>
713 * fam/fam-helper.[ch]:
715 Shut down fam (including removing fam GSource) when
716 module is unloaded (#521513)
717 Patch from Joe Marcus Clarke
719 2008-03-14 Alexander Larsson <alexl@redhat.com>
722 (_g_io_modules_ensure_loaded):
725 2008-03-14 Alexander Larsson <alexl@redhat.com>
728 (g_local_file_query_filesystem_info):
729 Use right define name for f_fstypename member check
731 2008-03-14 Alexander Larsson <alexl@redhat.com>
734 * fen/Makefile.am: Added.
735 * fen/fen-data.[ch]: Added.
736 * fen/fen-dump.[ch]: Added.
737 * fen/fen-helper.[ch]: Added.
738 * fen/fen-kernel.[ch]: Added.
739 * fen/fen-missing.[ch]: Added.
740 * fen/fen-node.[ch]: Added.
741 * fen/fen-sub.[ch]: Added.
742 * fen/gfendirectorymonitor.[ch]: Added.
743 * fen/gfenfilemonitor.[ch]: Added.
745 Added Solaris FEN file notification backend.
746 Patch from Lin Ma <Lin.Ma@Sun.COM>
748 2008-03-13 Tor Lillqvist <tml@novell.com>
750 * Makefile.am: Actually use the gio.def file when linking the
751 library on Windows. Produce .lib library for Microsoft's toolchain
752 when possible. Install the .lib and .def file like for the other
755 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
757 * tests/live-g-file.c:
758 Include live-g-file in standard set of tests, making a temporary
759 directory in source structure.
761 Clean target directory before the tests (write mode only)
763 2008-03-12 Tor Lillqvist <tml@novell.com>
765 Bug 517419 - gio win32 directory monitor
766 Implementation by Vlad Grecescu.
769 * win32/gwin32directorymonitor.h
770 * win32/gwin32directorymonitor.c: New files.
772 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
774 * Makefile.am: Add the win32 subdirectory.
776 2008-03-12 Tor Lillqvist <tml@novell.com>
778 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
779 normal struct stat on Unix but struct _stati64 on Windows to have
780 access to 64-bit file size information. Use that instead of struct
781 stat in the functions declared here in this private header.
783 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
784 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
785 warnings about unused functions and variables. Don't set
786 meaningless attributes like inode numbers on Windows.
788 2008-03-12 Benjamin Otte <otte@gnome.org>
791 trim whitespace so gtk-doc groks the function name
793 2008-03-12 Tor Lillqvist <tml@novell.com>
795 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
796 returning FALSE, on Win32.
798 2008-03-11 Alexander Larsson <alexl@redhat.com>
801 * glocalfileinfo.[ch]:
802 Correctly implement can_trash by actually
803 looking for a trash dir, not just assuming
806 2008-03-10 Matthias Clasen <mclasen@redhat.com>
808 * === Released 2.16.1 ===
810 2008-03-11 Alexander Larsson <alexl@redhat.com>
813 Fix crashes in new constructor and properties code
815 2008-03-10 Murray Cumming <murrayc@murrayc.com>
817 * gfile.c: Minor spelling correction in documentation:
818 existance -> existence.
820 2008-03-10 Matthias Clasen <mclasen@redhat.com>
822 * === Released 2.16.0 ===
824 2008-03-10 Matthias Clasen <mclasen@redhat.com>
826 * gio.symbols: Remove g_file_contains_file here, too.
828 2008-03-10 Matthias Clasen <mclasen@redhat.com>
830 * gthemedicon.c: Add properties to make bindings happy. (#517676,
831 Samuel Cormier-Iijima)
833 2008-03-08 Tor Lillqvist <tml@novell.com>
835 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
838 2008-03-07 Alexander Larsson <alexl@redhat.com>
841 (g_local_file_query_filesystem_info):
842 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
843 Patch from Jasper Lievisse Adriaanse
845 2008-03-06 Tor Lillqvist <tml@novell.com>
847 * gfileinfo.h: Correct milliseconds to microseconds in the doc
848 comments for the *_USEC attributes.
850 2008-03-06 Alexander Larsson <alexl@redhat.com>
852 * gfile.c (g_file_query_exists):
853 Add g_return_val_if_fail check (#520700)
855 2008-03-06 Alexander Larsson <alexl@redhat.com>
860 * gunionvolumemonitor.c:
863 * tests/live-g-file.c:
864 * xdgmime/xdgmimecache.c:
865 Fix sparse warnings (#519489)
867 2008-03-05 Alexander Larsson <alexl@redhat.com>
870 Make cancellation threadsafe (i.e.
871 guarantee its only done once, and always
874 * glocaldirectorymonitor.c:
875 Make sure we the monitor lives while the
876 mounts_changed callback is being called (#520484)
878 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
880 * gbufferedinputstream.c: Fix typo in parameter
883 2008-03-04 Alexander Larsson <alexl@redhat.com>
886 Remove deprecated symbols we kept for one release.
888 2008-03-04 Murray Cumming <murrayc@murrayc.com>
891 * goutputstream.c: Tiny documentation corrections.
893 2008-03-03 Alexander Larsson <alexl@redhat.com>
895 * gunionvolumemonitor.c:
897 Fix the adopt_orphan_mount vfunc to take a
898 volume_monitor reference in an ABI compat way.
899 This change is not API compat, but the added
900 arg is not used in the only user of this vfunc, so
901 all we get is a harmless warning in gvfs (#520169)
903 2008-03-01 Benjamin Otte <otte@gnome.org>
906 clarify docs for g_file_delete().
908 2008-02-29 Alexander Larsson <alexl@redhat.com>
912 Make sure empty files get text/plain type (#518720)
914 2008-02-27 Alexander Larsson <alexl@redhat.com>
920 (g_unix_volume_mount):
921 Add missing GMountMountFlags argument
923 2008-02-26 Alexander Larsson <alexl@redhat.com>
926 (g_local_file_delete):
927 Handle filesystems (like ntfs-3g) that return EEXIST instead
928 of ENOTEMPTY (#518816)
930 2008-02-25 Matthias Clasen <mclasen@redhat.com>
932 * === Released 2.15.6 ===
934 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
936 * gfile.c (g_file_find_enclosing_mount):
937 * ginputstream.c (g_input_stream_set_pending):
938 * glocalfile.c (g_local_file_find_enclosing_mount):
939 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
940 * goutputstream.c (g_output_stream_set_pending):
942 Fixup translator comments (#518578).
944 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
946 * gfile.c (g_file_find_enclosing_mount):
948 * glocalfile.c (g_local_file_find_enclosing_mount):
951 Fix a few typos in translator comments and documentation.
953 2008-02-25 Alexander Larsson <alexl@redhat.com>
960 Add translator comments (#518578)
962 2008-02-25 Alexander Larsson <alexl@redhat.com>
965 Reintroduce g_file_contains_file, keep around for one
966 unstable release cycle to avoid crashing to many apps.
967 Make sure to delete after release.
969 2008-02-25 Alexander Larsson <alexl@redhat.com>
972 Remove deprecated g_file_contains_file.
974 2008-02-25 Alexander Larsson <alexl@redhat.com>
977 Emit actual change signals in an idle handler.
978 This avoids reentrance and locking problems in
979 the file notification backends.
981 2008-02-25 Alexander Larsson <alexl@redhat.com>
984 (g_unix_mount_guess_should_display):
985 Remove type guessing, instead just display
986 mounts in /media and in ~/.
988 2008-02-25 Alexander Larsson <alexl@redhat.com>
991 Make new strings reuse old ones.
993 2008-02-25 Alexander Larsson <alexl@redhat.com>
996 Implement trashing and filesystem::readonly for win32 (#517235)
997 Patch from Yevgen Muntyan
999 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1001 * gfileinfo.h: Documentation fixes.
1003 2008-02-22 Alexander Larsson <alexl@redhat.com>
1005 * gcontenttype.c (g_content_type_get_icon):
1006 Look at old-style gnome mime icon names too, as many
1007 have not moved to the new style.
1009 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1011 * *.c: Correct the @include in for section docs.
1013 2008-02-21 David Zeuthen <davidz@redhat.com>
1015 * glocalfileinfo.c: (_g_local_file_info_get):
1017 (g_content_type_get_icon): Implement this function by
1018 moving bits from glocalfileinfo.c
1019 (g_content_type_get_description): Unalias before getting
1020 description (#517687)
1022 * gfile.c: (g_file_class_init),
1023 (g_file_query_filesystem_info_async),
1024 (g_file_query_filesystem_info_finish),
1025 (query_filesystem_info_data_free),
1026 (query_filesystem_info_async_thread),
1027 (g_file_real_query_filesystem_info_async),
1028 (g_file_real_query_filesystem_info_finish):
1029 * gfile.h: Implement async version of
1030 g_file_query_filesystem_info()
1032 * gfileinfo.h: Add new attributes for filesystem::use-preview
1034 * gio.symbols: Update
1036 * gthemedicon.c: (g_themed_icon_append_name):
1037 * gthemedicon.h: Add new new convenience function.
1039 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1040 (get_mounts), (get_volumes), (get_connected_drives),
1041 (get_volume_for_uuid), (get_mount_for_uuid),
1042 (g_union_volume_monitor_init), (populate_union_monitor),
1043 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1044 (g_volume_monitor_adopt_orphan_mount):
1046 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1047 monitor implementations to call into the main volume monitor. Also
1048 separate object initialization and volume monitor initialization
1049 such that non-native volume monitors can properly adopt their
1052 2008-02-21 Alexander Larsson <alexl@redhat.com>
1057 2008-02-21 Alexander Larsson <alexl@redhat.com>
1060 Add more documentation about how GFiles work (from #517086)
1062 2008-02-21 Alexander Larsson <alexl@redhat.com>
1066 Add new g_file_has_prefix that does the same as g_file_contains_file.
1067 Deprecate g_file_contains_file and add a macro that converts
1068 it to g_file_has_prefix.
1069 The reason for this change is that the contains_file() name seems to
1070 imply that this does more work than what it does, but its really only
1071 a name match (from #517086)
1076 Update to match the above change.
1078 2008-02-20 Benjamin Otte <otte@gnome.org>
1080 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1081 (g_file_eject_mountable):
1082 even more cases of not returning in error path
1084 2008-02-20 Benjamin Otte <otte@gnome.org>
1086 * gfile.c: (g_file_mount_mountable):
1087 return from function in error path.
1089 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1092 Remove trailing coma in GMountMountFlags struct
1094 2008-02-18 Alexander Larsson <alexl@redhat.com>
1098 * glocalfileoutputstream.c:
1099 Use g_unlink/g_rename instead of unlink/rename;
1100 do not pass raw filenames to g_set_error. (#517239)
1101 Patch from Yevgen Muntyan.
1103 2008-02-18 Alexander Larsson <alexl@redhat.com>
1106 * glocalfileoutputstream.c:
1107 Open files with O_BINARY on windows. (#517140)
1109 2008-02-14 Alexander Larsson <alexl@redhat.com>
1111 * glocalfileoutputstream.c:
1112 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1114 2008-02-14 Alexander Larsson <alexl@redhat.com>
1117 Copy permissions with file on copy (#514084)
1118 This is what cp does and makes sure e.g. the
1119 exec permissions are kept.
1120 Its kinda weird in that it keeps the permission bits
1121 the same while the uid and gid are different. However
1122 the new uid is the user so its not a security issue,
1123 and I've heard no complaints about cp on this issue.
1125 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1127 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1129 2008-02-13 Alexander Larsson <alexl@redhat.com>
1131 * inotify/inotify-path.c:
1132 Define IN_ONLYDIR if not in header (#515346)
1134 2008-02-12 Alexander Larsson <alexl@redhat.com>
1136 * tests/live-g-file.c:
1139 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1141 * === Released 2.15.5 ===
1143 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1145 * gio.symbols: Add g_mount_mount_flags_get_type.
1147 2008-02-11 Alexander Larsson <alexl@redhat.com>
1150 (g_file_info_set_attribute_mask):
1151 (g_file_attribute_matcher_matches_id):
1152 Correctly handle NULL GAttributeMatcher meaning
1153 matches nothing. (Fixes #513492)
1155 2008-02-11 Alexander Larsson <alexl@redhat.com>
1160 Added GMountMountFlags enum and added a flags
1161 argument to all mount calls.
1163 This is an API/ABI change for future extensibility,
1164 as I think we will need at least an
1165 inhibit-autorun flag (the panel needs this).
1166 There are no flags defined yet though.
1168 2008-02-11 Alexander Larsson <alexl@redhat.com>
1171 Added new standard::description attribute.
1172 Requested by Vincent, and useful for both
1175 2008-02-11 Alexander Larsson <alexl@redhat.com>
1177 * gdesktopappinfo.c:
1180 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1182 * *.c: Documentation additions
1184 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1186 * gappinfo.h: Formatting cleanup
1187 * gappinfo.c: Fix up docs.
1189 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1191 * gunixmounts.c: Consistently use getmntent_r() and fall
1192 back to getmntent(). (#515492)
1194 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1196 * gbufferedinputstream.c:
1198 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1200 * tests/data-input-stream.c:
1201 * tests/data-output-stream.c: Portability fixes.
1203 2008-02-08 Alexander Larsson <alexl@redhat.com>
1208 Add g_volume_should_automount.
1211 2008-02-07 Tor Lillqvist <tml@novell.com>
1213 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1214 Win32, too Unix-specific.
1216 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1218 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1219 a local plt if the compiler doesn't support what we want. Bug #514702
1221 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1223 reviewed by: <delete if not using a buddy>
1226 * gunixinputstream.c:
1227 * gunixoutputstream.c:
1229 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1231 * tests/Makefile.am:
1232 * tests/live-g-file.c:
1233 * tests/live-g-file.txt:
1234 New GIO testing module working over real data
1236 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1238 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1239 Fallback to rename() if link() is not available
1240 (when no support on target filesystem)
1242 2008-02-06 Michael Natterer <mitch@imendio.com>
1244 * gfileinfo.c (g_file_info_get_icon): replace
1245 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1247 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1249 * gfile.c (g_file_create):
1250 Documentation update of error codes
1252 2008-02-06 Alexander Larsson <alexl@redhat.com>
1254 * gdesktopappinfo.c:
1255 Update to use both mimeapps.list and
1256 defaults.list as discussed on xdg list.
1258 2008-02-06 Benjamin Otte <otte@gnome.org>
1261 * gfilenamecompleter.c:
1262 Fix some typos in the documentation.
1264 2008-02-06 Alexander Larsson <alexl@redhat.com>
1266 * glocalfile.c (g_local_file_trash):
1267 Don't succeed with trash if newly created
1268 trash dir has the wrong owner. (#514696)
1270 2008-02-05 Alexander Larsson <alexl@redhat.com>
1272 * glocalfile.c (g_local_file_move):
1273 Don't spew warnings when destination is not
1276 2008-02-03 Hans Breuer <hans@breuer.org>
1278 * makefile.msc : update
1280 2008-02-01 Michael Natterer <mitch@imendio.com>
1282 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1283 return value of xdg_mime_list_mime_parents() to a variable of the
1286 2008-02-01 Alexander Larsson <alexl@redhat.com>
1288 * gappinfo.c (g_app_info_launch_uris):
1289 Actually call the launch_uris method, not
1292 2008-02-01 Alexander Larsson <alexl@redhat.com>
1294 * gdesktopappinfo.c (g_desktop_app_info_equal):
1295 Ensure appinfos with no id but same pointer value
1298 2008-02-01 Alexander Larsson <alexl@redhat.com>
1300 * gappinfo.c (g_app_info_launch_default_for_uri):
1303 2008-02-01 Alexander Larsson <alexl@redhat.com>
1307 Add g_app_info_launch_default_for_uri utility
1310 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1312 * gdesktopappinfo.c:
1313 Doc fix for g_app_info_get_default_for_uri_scheme ()
1316 2008-01-30 Alexander Larsson <alexl@redhat.com>
1319 Add doc comment about uris vs GFiles to
1322 * gdesktopappinfo.c:
1323 Ensure uris passed to g_app_info_launch_uris()
1324 are not roundtriped through GFile (as that
1325 may be slightly destructive for e.g. mailto: links)
1327 2008-01-30 Alexander Larsson <alexl@redhat.com>
1329 * tests/data-input-stream.c:
1330 * tests/data-output-stream.c:
1331 C89 fixes from Jens Granseuer (#512849)
1333 2008-01-30 Alexander Larsson <alexl@redhat.com>
1336 Fix gamin/fam difference build issue. (#509419)
1338 2008-01-29 Alexander Larsson <alexl@redhat.com>
1341 * gdesktopappinfo.c:
1342 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1344 2008-01-29 Alexander Larsson <alexl@redhat.com>
1346 * gdesktopappinfo.c:
1347 * gdesktopappinfo.h:
1348 giomodule-priv.h include moved to .c file.
1350 2008-01-29 Alexander Larsson <alexl@redhat.com>
1352 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1353 Remove unused prio/name fields.
1355 2008-01-29 Alexander Larsson <alexl@redhat.com>
1357 * gcontenttype.c (looks_like_text):
1358 Don't treat whitespace as control chars.
1360 2008-01-29 Alexander Larsson <alexl@redhat.com>
1362 * gdesktopappinfo.c:
1363 Lazily create the desktop files for appinfos created
1364 by g_app_info_create_from_commandline() when needed
1365 for mime associations. This allows run-time use
1366 of GAppInfo object without creating unnecessary
1369 2008-01-29 Alexander Larsson <alexl@redhat.com>
1372 Added new symbols to gio.symbols
1374 2008-01-29 Alexander Larsson <alexl@redhat.com>
1377 Add g_file_query_default_handler utility to easily look up
1378 the GAppInfo that handles a file.
1380 * gdesktopappinfo.[ch]:
1382 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1385 Remove unused function
1387 2008-01-29 Alexander Larsson <alexl@redhat.com>
1389 * gfileenumerator.c:
1390 Mention need to free returned value in
1391 g_file_enumerator_next_files_finish docs.
1392 Fix leak if g_file_enumerator_next_files_finish()
1395 2008-01-29 Alexander Larsson <alexl@redhat.com>
1398 (_g_unix_content_type_get_parents):
1399 Use list_parents, not get_parents from xdgmime, because
1400 the later doesn't use the cache.
1402 * xdgmime/xdgmimecache.c:
1403 (_xdg_mime_cache_list_mime_parents):
1404 Don't list the same type as parent multiple times.
1406 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1408 * === Released 2.15.4 ===
1410 2008-01-28 Alexander Larsson <alexl@redhat.com>
1413 Register local vfs with prio 0.
1416 Remove old name and prio class members
1418 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1420 * tests/g-file.c: Disable some tests that are failing in
1421 the absence of a http backend.
1423 2008-01-28 Alexander Larsson <alexl@redhat.com>
1427 Add registration hooks for extension points.
1428 Register the gio extension points.
1430 * fam/gfamdirectorymonitor.c:
1431 * fam/gfamfilemonitor.c:
1432 * glocaldirectorymonitor.[ch]:
1433 * glocalfilemonitor.[ch]:
1434 * gnativevolumemonitor.h:
1435 * gunionvolumemonitor.c:
1436 * gunixvolumemonitor.c:
1439 * inotify/ginotifydirectorymonitor.c:
1440 * inotify/ginotifyfilemonitor.c:
1441 Use the extension points registration instead
1442 of g_type_children().
1444 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1447 * gvolume.[hc]: Document new API.
1449 * gfile.c (g_file_copy_async): Fix docs
1451 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1453 * gbufferedinputstream.c:
1455 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1458 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1460 * glocalfile.c: Avoid trivial differences in translatable strings.
1462 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1464 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1465 build with gcc 3.4 (#509419)
1467 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1469 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1470 (#509994, Murray Cumming)
1472 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1474 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1475 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1476 this allows big jobs to be executed in chunks, instead of blocking
1477 the main loop for a long time.
1479 * gsimpleasyncresult.c:
1480 * giofile.c: Adapt callers.
1482 2008-01-25 Alexander Larsson <alexl@redhat.com>
1484 * gdesktopappinfo.c:
1485 Implement changes discussed on xdg list.
1486 Now we can add supported mimetypes by just using defaults.list
1487 We can also remove associations in defaults.list.
1489 2008-01-25 Alexander Larsson <alexl@redhat.com>
1491 * gdesktopappinfo.c:
1492 Don't make local copy of desktop file
1493 for mimetype changes if the file already
1494 supports the new mimetype.
1496 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1500 * gbufferedinputstream.c:
1501 * glocalfile.c: String improvements. (#511966,
1502 Theppitak Karoonboonyanan)
1504 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1506 * gioscheduler.h: Expand docs a bit.
1508 2008-01-24 Alexander Larsson <alexl@redhat.com>
1511 Add g_drive_get_identifier and
1512 g_drive_enumerate_identifiers
1515 Add g_volume_get_identifier and
1516 g_volume_enumerate_identifiers
1522 Implement identifiers for unix backend
1524 2008-01-24 Alexander Larsson <alexl@redhat.com>
1529 Add g_file_copy_async() (#511580)
1530 Based on patch from Carlos Garcia Campos
1532 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1534 * gioscheduler.c: Some documentation additions.
1536 2008-01-22 Alexander Larsson <alexl@redhat.com>
1538 * gdesktopappinfo.c:
1539 (g_desktop_app_info_new):
1540 Don't leak basename.
1542 2008-01-22 Alexander Larsson <alexl@redhat.com>
1544 * gdesktopappinfo.c:
1545 (g_desktop_app_info_new_from_filename):
1548 2008-01-22 Alexander Larsson <alexl@redhat.com>
1550 * glocalfileinfo.c (get_thumbnail_attributes):
1553 2008-01-22 Alexander Larsson <alexl@redhat.com>
1556 (canonicalize_filename):
1557 Canonicalize paths that start with more than
1561 (compare_two_files):
1562 (test_g_file_new_for_path):
1565 2008-01-22 Alexander Larsson <alexl@redhat.com>
1568 Allow UTF-8 in file:// parse names.
1570 * tests/Makefile.am:
1571 * tests/data-input-stream.c:
1572 * tests/data-output-stream.c:
1573 * tests/g-file-info.c:
1575 Added a bunch of tests from Tomas Bzatek
1577 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1579 * === Released 2.15.3 ===
1581 2008-01-21 Alexander Larsson <alexl@redhat.com>
1583 * gfileinputstream.[ch]:
1584 * gfileoutputstream.[ch]:
1586 Remove duplicated GSeekable functions. (#509990)
1587 Just use the g_seekable_xxx() calls instead.
1589 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1592 * gvolumemanager.c: Whitespace cleanups.
1594 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1595 Use the right mode when creating the file.
1597 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1599 * gfileenumerator.c:
1600 * gfileinputstream.c:
1602 * goutputstream.c: Documentation: Fixed minor typos
1603 and added more mentions of specific _finish() functions.
1605 2008-01-21 Alexander Larsson <alexl@redhat.com>
1607 * inotify/Makefile.am:
1608 * inotify/inotify-helper.c:
1609 * inotify/inotify-kernel.c:
1610 * inotify/inotify-path.c:
1611 * inotify/local_inotify.h: Removed.
1612 * inotify/local_inotify_syscalls.h: Removed.
1613 Removed the included copies of the inotify
1614 headers. We now only use the <sys/inotify.h>
1615 header which exists on modern systems.
1616 This fixes problems on ARM and SH5 (#510448)
1617 but is also generally much cleaner and future
1618 safe. For instance, if other OSes add support
1619 for inotify it should "just work".
1621 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1623 * inotify/*.c: Coding style fixes.
1624 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1625 for the 1/4 Hz timer.
1627 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1630 * gfilemonitor.[hc]:
1631 * gmemoryinputstream.c:
1632 * gmemoryoutputstream.c:
1633 * gmountoperation.c:
1634 * gthemedicon.c: Documentation updates
1636 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1638 * gfile.c: documentation: Fixed more minor
1641 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1643 * gmount.c: (g_mount_remount): documentation:
1644 Mention g_mount_remount_finish() instead of
1645 g_mount_unmount_finish().
1647 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1651 * gfile.c: Fixed some minor typos in the
1654 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1656 * gio/gvolumemonitor.c:
1657 (g_volume_monitor_get_connected_drives):
1658 (g_volume_monitor_get_volumes):
1659 (g_volume_monitor_get_mounts): Documentation:
1660 Clarify the ownership of the regurn GLists.
1662 2008-01-17 Alexander Larsson <alexl@redhat.com>
1665 Add the async find_enclosing_mount version
1666 to the header file too.
1668 2008-01-17 Alexander Larsson <alexl@redhat.com>
1671 Add async version of find_enclosing_mount
1672 with default implementation.
1674 2008-01-17 Alexander Larsson <alexl@redhat.com>
1679 Allow calls to implementation of copy and write
1680 even if the type of the file implementations is
1681 different. This can be used to implement native
1682 upload and download calls in a vfs.
1685 (g_local_file_move):
1686 Protect against the case where move is called
1687 with one file not being local.
1689 Make sure we call the progress callback once
1690 in the native move operation so that the caller
1691 knows how many bytes were copied.
1693 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1696 * gdatainputstream.c:
1698 * gfileoutputstream.c:
1703 * gunixmounts.c: Corrected some typos in the documentation:
1704 occured -> occurred.
1705 its -> it's (where appropriate).
1707 2008-01-16 Alexander Larsson <alexl@redhat.com>
1711 Add g_file_query_exists (#508771)
1713 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1718 * gvolume.c: For async functions that have no non-async
1719 version, document that the GAsyncReadyCallback may be NULL.
1722 2008-01-15 Alexander Larsson <alexl@redhat.com>
1724 * gmemoryinputstream.c:
1725 * gmemoryoutputstream.c:
1726 Don't do pointer arithmetic on void * (#508602)
1727 Patch from Kazuki IWAMOTO
1729 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1731 * === Released 2.15.2 ===
1733 2008-01-14 Alexander Larsson <alexl@redhat.com>
1735 * gfile.c (g_file_monitor_file):
1736 Don't set error here, since we fallback to polling monitor.
1738 2008-01-14 Alexander Larsson <alexl@redhat.com>
1741 (g_file_monitor_directory):
1742 (g_file_monitor_file):
1743 Add GError to file monitor calls
1745 * glocaldirectorymonitor.c:
1746 * glocaldirectorymonitor.h:
1748 * glocalfilemonitor.c:
1749 * glocalfilemonitor.h:
1751 Update for above change
1753 2008-01-14 Alexander Larsson <alexl@redhat.com>
1757 Handle root correctly in g_file_get_relative_path (#508719)
1759 2008-01-14 Alexander Larsson <alexl@redhat.com>
1762 Clean up docs and example for GAsyncResult (#508074)
1764 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1766 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1767 and correct some spelling mistakes. Bug #508108.
1769 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1771 * glocalfileinfo.c: Add a comment.
1773 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1775 * gfileinfo.c: GFileInfo description: Mention
1776 how to actually set attributes in a GFile and how to discover
1777 which attributes are settable. Bug #508378.
1779 2008-01-10 A. Walton <awalton@svn.gnome.org>
1781 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1782 (g_app_info_get_default_for_type):
1783 Check for NULL content types.
1785 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1787 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1789 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1791 * gfile.c: *_async() functions: Several small corrections
1792 to the documentation, mostly correcting copy/paste errors
1793 and improving some sentences.
1795 2008-01-09 Dan Winship <danw@gnome.org>
1797 * glocalfile.c (get_unique_filename): x86_64 fix
1799 2008-01-09 Alexander Larsson <alexl@redhat.com>
1804 Add g_unix_mount_guess_should_display and use
1805 for unix volume monitor backend.
1806 This means we more or less show what the
1807 gnome-vfs backend did.
1808 Based on patch from Padraig O'Briain
1810 2008-01-09 Alexander Larsson <alexl@redhat.com>
1814 Add g_themed_icon_new_with_default_fallbacks
1817 Use default fallbacks for icons
1819 2008-01-09 Alexander Larsson <alexl@redhat.com>
1822 * gmountoperation.[ch]:
1823 Change the API a bit so that unhandled methods
1824 get reported via the reply, rather than by
1825 the signal emission return value. This is because
1826 some handlers can't know this immediately without
1827 doing I/O, and this is an async operation that
1830 2008-01-09 Alexander Larsson <alexl@redhat.com>
1833 * fam/gfamdirectorymonitor.c:
1834 * fam/gfamfilemonitor.c:
1835 Fix double free crash (#508224)
1836 Patch from Joe Marcus Clarke
1838 008-01-07 Matthias Clasen <mclasen@redhat.com>
1840 * === Released 2.15.1 ===
1842 2008-01-07 Alexander Larsson <alexl@redhat.com>
1844 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1845 Fix warning (#507835)
1847 2008-01-07 Alexander Larsson <alexl@redhat.com>
1850 Pass --internal to glib-genmarshal
1853 * gmountoperation.c:
1855 Use better types for signal arguments (#507822)
1857 2008-01-07 Alexander Larsson <alexl@redhat.com>
1860 Build test subdir after .
1861 Remove gdirectorymonitor.[ch]
1863 * gdirectorymonitor.[ch]:
1867 Remove GDirectoryMonitor and make
1868 GFileMonitor the baseclass for both file and
1869 directory monitors. Lift the more generic
1870 rate limiting code from GDirectoryMonitor
1874 * fam/gfamdirectorymonitor.[ch]:
1875 * inotify/ginotifydirectorymonitor.[ch]:
1876 * inotify/inotify-helper.c:
1877 * glocaldirectorymonitor.[ch]:
1880 Update for the removed GDirectoryMonitor.
1882 * gmemoryoutputstream.c:
1883 Remove ununsed variable
1885 2008-01-07 Alexander Larsson <alexl@redhat.com>
1887 * gmemoryinputstream.c:
1888 Translate error strings
1891 * gmemoryoutputstream.[ch]:
1892 New implementation that avoids using GByteArray
1893 in implementation and API. (#506377)
1895 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1897 * tests/*: Add a test for memory input streams.
1899 * Makefile.am: Add tests to SUBDIRS.
1901 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1903 * glocalfilemonitor.c:
1904 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1907 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1909 * gdesktopappinfo.c: Fix a docs typo.
1911 * gfileattribute.c: Add information about extended attributes
1912 to the documentation. (#505058)
1914 2008-01-04 Alexander Larsson <alexl@redhat.com>
1917 * gmountoperation.c:
1918 Use the right type (uint) for the ask_password signal.
1920 2008-01-04 Alexander Larsson <alexl@redhat.com>
1925 Add g_app_info_supports_files()
1926 Remove desktop arg from g_app_info_should_show().
1928 * gdesktopappinfo.[ch]:
1929 Implement g_app_info_supports_files() and new should_show()
1930 Add g_desktop_app_info_set_desktop_env() to set the desktop
1931 for should_show(). (This will be set by gtk+ later)
1933 2008-01-04 Alexander Larsson <alexl@redhat.com>
1936 * gmemoryinputstream.[ch]:
1937 Improve API so that you can use multiple chunks
1938 of memory and custom destroy functions. (#506374)
1940 2008-01-03 Alexander Larsson <alexl@redhat.com>
1943 Handle NULL attribute matchers safely, as we return this
1944 for empty attribute matcher strings.
1946 2008-01-03 Alexander Larsson <alexl@redhat.com>
1948 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1949 Add /usr/local to list of internal mountpoints
1951 2008-01-03 Alexander Larsson <alexl@redhat.com>
1954 Check for HAVE_LCHOWN (#505887)
1956 2008-01-03 Alexander Larsson <alexl@redhat.com>
1960 Add define for selinux context attribute.
1961 Fix missing : -> :: namespace separator change
1962 Fix missing _ -> - name change for xattr-sys.
1965 2008-01-03 Alexander Larsson <alexl@redhat.com>
1968 Link to libglib and libgobject directly (#504879)
1969 Patch from Sebastien Bacher
1971 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1973 * gfile.c: Expanded the g_file_new_for_commandline_arg
1974 description a bit, based on the code and the docs of the
1975 other g_file_new_for_* functions.
1977 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1979 * gfilemonitor.h: Fixed typo in docs.
1981 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1983 Updates to GIO documentation. (#506395, Mikael Hermansson)
1985 * gcontenttype.c: Describe memory management for return value of
1986 g_content_types_get_registered(). Missing piece from #505815.
1987 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1988 GVolume, GDrive, GMounts, which hopefully gives the user less
1989 confusions when using this API. Following explainations from
1990 Alexander Larsson on gtk-devel-list.
1992 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1994 * gfileinfo.c: Expand the long description.
1996 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1999 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2000 fix builds with --disable-visibility. (#500273, Christian Persch)
2002 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2004 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2005 in the list of returned app infos.
2007 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2009 * gappinfo.c: Fix a cross-reference
2011 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2013 * gfileinputstream.c:
2014 * gfileoutputstream.c:
2018 * gdesktopappinfo.c:
2020 * gfileinfo.c: Documentation updates.
2022 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2024 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2027 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2029 * gcontenttype.c (g_content_types_get_registered): Don't return
2030 freed memory (#505815, Mikael Hermansson)
2032 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2034 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2035 used to detect statbuf->st_blocks. (#505042)
2037 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2039 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2040 environment handling. (#504829, Cosimo Cecchi)
2042 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2044 * gappinfo.c: Doc improvements
2046 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2049 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2051 * === Released 2.15.0 ===
2053 2007-12-20 Hans Breuer <hans@breuer.org>
2055 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2056 with symbols gwin32appinfo.obj, added gmount.obj
2057 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2059 2007-12-20 Alexander Larsson <alexl@redhat.com>
2065 * gfilenamecompleter.c:
2068 * gpollfilemonitor.c:
2069 File attribute renames:
2071 fs:: -> filesystem::
2072 id::fs -> id::filesystem
2074 2007-12-20 Alexander Larsson <alexl@redhat.com>
2083 Add GMountUnmountFlags to all unmount and
2085 Add g_mount_remount() call.
2087 2007-12-20 Alexander Larsson <alexl@redhat.com>
2089 * gvfs.c (get_default_vfs):
2090 Fix unused variable warning
2092 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2094 * pltcheck.sh: Update
2096 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2098 * gunionvolumemonitor.c:
2099 * gunixmount.c: Remove C99 comments
2101 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2103 * gio.symbols: Add some missing symbols
2105 2007-12-19 Alexander Larsson <alexl@redhat.com>
2108 Make g_io_modules_load_all_in_directory not unuse
2109 loaded modules so that users of it can do stuff
2111 Init internal "module" types.
2112 Initialize static prio and name for types so that
2113 we don't have to load modules to get it.
2115 * gnativevolumemonitor.h:
2117 Move is_supported to parent class so that
2118 non-native monitors can avoid being initialized
2119 too. (For instance GDaemonVolumeMonitor if we're
2120 not using GDaemonVfs.)
2122 * glocaldirectorymonitor.[ch]:
2123 * glocalfilemonitor.[ch]:
2124 * gunionvolumemonitor.c:
2125 * gunixvolumemonitor.c:
2127 Find plugins using the static prio+name to
2128 avoid unnecessarily loading the modules.
2130 2007-12-19 Alexander Larsson <alexl@redhat.com>
2135 2007-12-19 Alexander Larsson <alexl@redhat.com>
2137 * gunionvolumemonitor.c:
2138 Store the native type as GType, not class so that
2139 we can unload it. But still avoid unnecessarily
2142 2007-12-19 David Zeuthen <davidz@redhat.com>
2144 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2145 add signals 'disconnected' and 'eject-button' on GDrive. Add
2146 signal 'removed' on GVolume and 'unmounted' on GMount.
2148 * gdrive.c: (g_drive_base_init):
2150 * gfile.c: (g_file_mount_mountable),
2151 (g_file_mount_enclosing_volume):
2154 * gmount.c: (g_mount_base_init):
2156 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2157 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2158 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2162 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2164 * *.c: Fix up includes in the section docs.
2166 2007-12-17 Alexander Larsson <alexl@redhat.com>
2168 * gnativevolumemonitor.h:
2169 * gunionvolumemonitor.c:
2170 * gunixvolumemonitor.c:
2171 Add is_supported() to GNativeVolumeMonitorClass so
2172 that we can avoid having to create an object to see
2173 if the backend is supported at runtime.
2174 Also add name member and an env var to pick a specific
2175 volume monitor backend.
2179 Add cancellable to _g_mount_get_for_mount_path()
2181 * glocaldirectorymonitor.c:
2182 * glocalfilemonitor.c:
2183 Avoid loading and unloading modules while sorting.
2185 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2188 * gunixmounts.[hc]: Namespace waste reduction, move some
2189 g_get_unix_mount functions to the g_unix_mount namespace.
2192 * gunixvolumemonitor.c:
2194 * glocaldirectorymonitor.c: Update all callers.
2196 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2198 2007-12-17 Alexander Larsson <alexl@redhat.com>
2201 Add doc comments about what GFile operations are
2202 guaranteed to not block.
2204 2007-12-17 Alexander Larsson <alexl@redhat.com>
2207 Add missing #ifdef fixing OSX build.
2208 (#503334, patch from Richard Hult)
2210 2007-12-14 David Zeuthen <davidz@redhat.com>
2214 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2215 (g_mount_eject), (g_mount_eject_finish):
2217 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2218 (get_volume_for_uuid), (get_mount_for_uuid),
2219 (g_union_volume_monitor_class_init),
2220 (get_default_native_type_with_exclude), (get_default_native_type),
2221 (get_native_type), (update_native_type),
2222 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2223 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2224 (g_unix_mount_can_eject), (eject_unmount_cb),
2225 (eject_unmount_read_error), (eject_unmount_do),
2226 (g_unix_mount_unmount), (g_unix_mount_eject),
2227 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2228 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2229 (g_unix_mount_point_guess_can_eject):
2231 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2232 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2233 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2234 (g_unix_volume_mount), (g_unix_volume_eject),
2235 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2236 * gunixvolumemonitor.c: (get_volume_for_uuid),
2237 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2239 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2240 (g_volume_eject), (g_volume_eject_finish):
2242 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2243 (g_volume_monitor_get_mount_for_uuid):
2246 Provide eject() on both GMount and GVolume and utility functions
2247 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2248 ejected. Introduce the concept of UUID's and wire it into GVolume
2249 and GMount and provide API on GVolumeMonitor to find such
2250 instances. Also handle the case where an external
2251 GNativeVolumeMonitor fails to initialize. Lock around the
2252 _g_get_mount_for_mount_path() function such that volume monitor
2253 implementations won't have to do locking themselves.
2255 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2257 * gdesktopappinfo.c:
2263 * gvolume.h: Documentation updates
2265 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2268 * gfile.h: Doc updates
2270 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2273 * gdesktopappinfo.c: Use hash table iterators.
2275 2007-12-14 Alexander Larsson <alexl@redhat.com>
2278 * gfileattribute.[ch]:
2279 * gfileattribute-priv.h:
2280 Move GFileAttributeValue to a private header, as
2284 Make set_attribute take a type + a pointer instead
2285 of a GFileAttributeValue.
2288 Fix up for above changes.
2289 Add g_file_info_get_attribute_data to get
2290 all info in one call, g_file_info_get_attribute_status
2291 to get the status and g_file_info_get_attribute_as_string.
2295 * glocalfileinfo.[ch]:
2299 Make _guess_type static.
2301 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2304 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2305 made mkenums and friends use temporary files to avoid leaving
2306 empty generated files on failure (#503470).
2308 2007-12-14 Alexander Larsson <alexl@redhat.com>
2310 * gmountoperation.h:
2313 2007-12-14 Alexander Larsson <alexl@redhat.com>
2317 * gfileattribute.[ch]:
2320 * glocalfileoutputstream.c:
2321 * gmountoperation.[ch]:
2322 * goutputstream.[ch]:
2323 Clean up all flags enums to not have _FLAGS in them
2324 Make the names of some of the enums better.
2329 2007-12-14 Michael Natterer <mitch@imendio.com>
2331 * gio.symbols: fix g_io_scheduler symbol names.
2333 2007-12-14 Alexander Larsson <alexl@redhat.com>
2339 * gbufferedinputstream.h:
2340 * gbufferedoutputstream.h:
2343 * gdatainputstream.h:
2344 * gdataoutputstream.h:
2345 * gdesktopappinfo.h:
2346 * gdirectorymonitor.h:
2350 * gfileenumerator.h:
2353 * gfileinputstream.h:
2355 * gfilenamecompleter.h:
2356 * gfileoutputstream.h:
2357 * gfilterinputstream.h:
2358 * gfilteroutputstream.h:
2366 * gmemoryinputstream.h:
2367 * gmemoryoutputstream.h:
2369 * gmountoperation.h:
2372 * gsimpleasyncresult.h:
2374 * gunixinputstream.h:
2376 * gunixoutputstream.h:
2380 * inotify/Makefile.am:
2381 Only allow including <gio/gio.h> from apps
2383 2007-12-14 Alexander Larsson <alexl@redhat.com>
2385 * gioscheduler.[ch]:
2386 * gsimpleasyncresult.c:
2387 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2388 Split out the send_to_mainloop call into two versions instead
2389 of having the block argument.
2391 2007-12-13 Alexander Larsson <alexl@redhat.com>
2393 * gcancellable.[ch]:
2395 * gbufferedinputstream.c:
2396 * gfileenumerator.c:
2397 * gfileinputstream.c:
2398 * gfileoutputstream.c:
2402 g_push/pop_current_cancellable ->
2403 g_cancellable_push/pop_current
2405 2007-12-13 Alexander Larsson <alexl@redhat.com>
2409 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2411 2007-12-13 Alexander Larsson <alexl@redhat.com>
2413 * gmountoperation.h:
2414 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2416 2007-12-12 Alexander Larsson <alexl@redhat.com>
2419 Fix race condition when freeing proxy in
2420 g_io_job_send_to_mainloop().
2422 2007-12-12 Alexander Larsson <alexl@redhat.com>
2428 Make attribute namespace separator "::" instead of ":".
2429 Use - instead of _ as separator in attribute names.
2431 2007-12-12 Alexander Larsson <alexl@redhat.com>
2433 * gbufferedinputstream.h:
2434 * gbufferedoutputstream.h:
2435 * gdatainputstream.h:
2436 * gdataoutputstream.h:
2437 * gdirectorymonitor.h:
2438 * gfileenumerator.h:
2439 * gfileinputstream.h:
2441 * gfileoutputstream.h:
2442 * gfilterinputstream.h:
2443 * gfilteroutputstream.h:
2445 * glocalfileinputstream.h:
2446 * glocalfileoutputstream.h:
2447 * gmemoryinputstream.h:
2448 * gmemoryoutputstream.h:
2449 * gnativevolumemonitor.h:
2451 * gunixinputstream.h:
2452 * gunixoutputstream.h:
2455 s/parent/parent_instance/ in GObjects
2457 2007-12-12 Alexander Larsson <alexl@redhat.com>
2462 No need for padding for interfaces
2464 2007-12-12 Alexander Larsson <alexl@redhat.com>
2468 * gbufferedinputstream.c:
2469 * gbufferedoutputstream.c:
2472 * gdatainputstream.[ch]:
2473 * gdesktopappinfo.c:
2474 * gdirectorymonitor.c:
2476 * gfileattribute.[ch]:
2479 * gfileinputstream.h:
2480 * gfilemonitor.[ch]:
2481 * gfileoutputstream.[ch]:
2482 * gfilterinputstream.h:
2483 * gfilteroutputstream.h:
2486 * gloadableicon.[ch]:
2487 * gmemoryinputstream.c:
2488 * gmountoperation.c:
2490 Fix up a bunch of details in the docs.
2495 2007-12-11 David Zeuthen <davidz@redhat.com>
2497 Rework how volumes, drives and volume monitoring is
2498 done. Previosly the model was
2500 GDrive <1-1> GVolume
2502 where a GDrive instance represented a mount point and a GVolume
2503 instance represented a mounted file system. This patch changes it
2506 GDrive <1-N> GVolume <1-1> GMount
2508 where GMount now serves the purpose of the old GVolume and the new
2509 GVolume serves the purpose of the old GDrive. In addition the new
2510 GDrive interface is used to represent a collection of GVolume
2511 instances (typically partitions) and also contains utility to query
2512 the state of the physical drive the GDrive object represents (such
2513 as checking for media, polling the drive, ejecting the media etc.).
2515 Also implement mounting and unmounting in the Unix volume monitor
2516 backend. A subquent patch will introduce GDrive support for ejection
2520 * gdrive.c: (g_drive_is_media_check_automatic),
2521 (g_drive_is_media_removable), (g_drive_has_media),
2522 (g_drive_can_poll_for_media), (g_drive_eject),
2523 (g_drive_eject_finish), (g_drive_poll_for_media),
2524 (g_drive_poll_for_media_finish):
2526 * gfile.c: (g_file_find_enclosing_mount):
2529 * glocaldirectorymonitor.c:
2530 (g_local_directory_monitor_constructor), (mounts_changed):
2531 * glocalfile.c: (get_mount_info),
2532 (g_local_file_find_enclosing_mount),
2533 (g_local_file_file_iface_init):
2534 * gnativevolumemonitor.h:
2535 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2536 (get_connected_drives), (g_union_volume_monitor_class_init),
2537 (child_volume_added), (child_volume_removed),
2538 (child_volume_changed), (child_mount_added), (child_mount_removed),
2539 (child_mount_pre_unmount), (child_mount_changed),
2540 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2541 (g_union_volume_monitor_remove_monitor),
2542 (_g_mount_get_for_mount_path):
2543 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2544 (guess_system_internal), (_g_get_unix_mounts),
2545 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2546 (g_unix_mount_free), (g_unix_mount_compare),
2547 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2548 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2549 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2550 (type_to_icon), (g_unix_mount_guess_name),
2551 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2552 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2553 (_resolve_symlink), (_resolve_dev_root):
2555 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2556 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2557 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2558 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2559 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2560 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2561 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2562 (g_unix_volume_volume_iface_init):
2564 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2565 (get_mounts), (get_volumes), (get_connected_drives),
2566 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2567 (mountpoints_changed), (mounts_changed),
2568 (g_unix_volume_monitor_init),
2569 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2570 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2571 * gunixvolumemonitor.h:
2572 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2573 (g_volume_mount), (g_volume_mount_finish):
2575 * gvolumemonitor.c: (g_volume_monitor_class_init),
2576 (g_volume_monitor_get_connected_drives),
2577 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2580 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2582 * gmountoperation.h (GPasswordFlags): Close the gap
2584 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2586 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2588 * gdesktopappinfo.[hc]: Remove _-prefixes
2590 2007-12-10 Tor Lillqvist <tml@novell.com>
2592 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2595 2007-12-10 Alexander Larsson <alexl@redhat.com>
2597 * gfile.c (g_file_set_display_name):
2598 Don't hardcode '/' (#502727)
2600 2007-12-09 Hans Breuer <hans@breuer.org>
2602 * makefile.msc : follow lib naming convention
2603 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2604 for user and group name, tested with ../tests/gio-ls
2606 2007-12-09 A. Walton <awalton@svn.gnome.org>
2608 * gdesktopappinfo.c:
2614 * gfileenumerator.c:
2619 * gmemoryinputstream.c:
2620 * gmemoryoutputstream.c:
2622 * gsimpleasyncresult.c:
2623 More documentation cleanup and filling in missing information, bringing
2624 GIO to 99% symbol coverage.
2626 2007-12-08 Hans Breuer <hans@breuer.org>
2628 [gio compiles and links on win32, not sure how much already works]
2629 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2630 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2631 base on win32 API; prefer g_lstat() over lstat(); instead of
2632 localtime_r() use an all GLib implementation on win32;
2633 get_mount_info() still needs a win32 specifc implementation
2634 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2635 win32_get_file_user_info to get owner/group info without uid/gid
2636 * glocalfileinputstream.c : include <io.h> on win32
2637 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2638 definition, use g_win32_ftruncate() for G_OS_WIN32
2639 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2640 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2641 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2642 * makefile.msc : updated
2644 2007-12-07 Alexander Larsson <alexl@redhat.com>
2646 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2647 Avoid warning spew if error == NULL
2649 2007-12-07 Alexander Larsson <alexl@redhat.com>
2652 Update docs wrt etags
2654 2007-12-06 Alexander Larsson <alexl@redhat.com>
2657 Include sys/types.h for dev_t (#501919)
2659 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2663 Make abicheck and pltcheck pass.
2665 2007-12-05 Alexander Larsson <alexl@redhat.com>
2668 * giomodule-priv.h: Added.
2669 * glocaldirectorymonitor.c:
2670 * glocalfilemonitor.c:
2671 * gunionvolumemonitor.c:
2673 Actually add the declaration of _g_io_modules_ensure_loaded
2675 2007-12-05 Alexander Larsson <alexl@redhat.com>
2677 * gdatainputstream.c:
2682 * glocaldirectorymonitor.c:
2683 * glocalfilemonitor.c:
2684 * gunionvolumemonitor.c:
2686 Make g_io_modules_ensure_loaded a private function and
2687 don't pass in the dirname. This means we can do magic
2688 directory finding in the win32 version.
2689 Export the actual load-modules-in-directory code so that
2690 gvfs can reuse that.
2692 2007-12-05 Alexander Larsson <alexl@redhat.com>
2694 * gbufferedinputstream.c:
2695 * gbufferedoutputstream.c:
2698 * gfileenumerator.[ch]:
2699 * gfileinputstream.c:
2700 * gfileoutputstream.[ch]:
2701 * gfilterinputstream.c:
2702 * gfilteroutputstream.c:
2703 * ginputstream.[ch]:
2705 * glocalfileenumerator.c:
2706 * glocalfileinputstream.c:
2707 * glocalfileoutputstream.c:
2708 * gmemoryinputstream.c:
2709 * gmemoryoutputstream.c:
2710 * goutputstream.[ch]:
2713 * gunixinputstream.c:
2714 * gunixoutputstream.c:
2715 Rename all struct members named:
2716 read, write, close, truncate, or mount
2717 to foo_fn, as these are reserved names
2718 and could be defined as macros in libc.
2721 2007-12-04 Alexander Larsson <alexl@redhat.com>
2724 (g_output_stream_close):
2725 Only call flush if non-null.
2727 2007-11-30 Dan Winship <danw@gnome.org>
2729 * ginputstream.c (g_input_stream_set_pending): Make this take a
2730 GError and return a gboolean, and do the "outstanding operation"
2731 check (and the "stream is already closed" check) itself.
2732 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2734 * goutputstream.c (g_output_stream_set_pending)
2735 (g_output_stream_clear_pending): Likewise
2737 * gbufferedinputstream.c:
2738 * gfileinputstream.c:
2739 * gfileoutputstream.c: Update for that
2741 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2742 Like g_simple_async_report_error_in_idle, but takes a GError
2743 rather than building one.
2745 2007-11-30 Dan Winship <danw@gnome.org>
2747 * goutputstream.c: Don't cheat and unset the "pending" flag around
2748 inner calls. Instead, call the class method directly rather than
2749 the wrapper function that checks "pending"
2751 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2753 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2755 2007-12-03 Hans Breuer <hans@breuer.org>
2757 [start of port to win32/msvc]
2758 * gcancellable.c : HAVE_UNIST_H and _pipe()
2759 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2760 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2761 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2763 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2764 * glocalvfs.c : use HAVE_PWD_H
2765 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2766 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2767 * Makefile.am : added to EXTRA_DIST
2769 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2771 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2774 2007-12-03 Alexander Larsson <alexl@redhat.com>
2777 Handle OSX style xattrs API (#500506)
2779 2007-12-03 Alexander Larsson <alexl@redhat.com>
2783 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2785 2007-12-02 A. Walton <awalton@svn.gnome.org>
2789 Documentation accuracy fixes.
2791 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2793 * gioenumtypes.c.template: Fix typo.
2795 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2797 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2799 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2801 * gdirectorymonitor.c:
2802 * gfilemonitor.c: Add properties
2804 * gbufferedoutputstream.c: Don't mark buffer-size property
2807 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2809 * gbufferedoutputstream.c: Add auto-grow property.
2811 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2813 * *.c: Unify the capitalization of section headings.
2815 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2817 * gmountoperation.c: Add properties
2819 * gdatainputstream.c: Turn byte-order and newline-type into
2822 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2824 * gioenumtypes.[hc].template: Templates for enum registration
2826 * Makefile.am: Generate gioenumtypes.[hc]
2828 * gio.h: Include gioenumtypes.h
2830 * gfile.h: Add some explicit nicks.
2832 * gio.symbols: Add new symbols
2834 * pltcheck.sh: Adjust
2836 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2838 * *.c: Explain etags and link to the explanation
2840 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2842 * *.c: Explain I/O priority.
2844 * *.c: More coding style fixes.
2846 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2848 * gasyncresult.c: Add another paragraph to the intro,
2849 adjust coding style of example.
2851 2007-11-29 A. Walton <awalton@svn.gnome.org>
2854 Fixes unknown meaning in GAppLaunchContext docs.
2856 Clarify asynchronous ops.
2858 Fix entity tag docs.
2861 Provides missing gtk-doc section, fixes API docs slighly.
2862 * gsimpleasyncresult.c:
2863 Fill in missing info in docs.
2864 * gunixinputstream.c:
2865 * gunixoutputstream.c:
2866 Be more expressive in short description.
2868 Remove gtk-doc stubs for non-public API.
2870 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2872 * *.c: Coding style fixups
2874 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2876 * inotify/inotify-helper.c: Don't export the lock from libgio.
2878 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2881 * abicheck.sh: Fix copy-and-paste leftovers
2883 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2885 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2887 2007-11-28 Alexander Larsson <alexl@redhat.com>
2891 Removed unnecessary file
2893 * gdesktopappinfo.[ch]:
2896 * glocaldirectorymonitor.[ch]:
2898 * glocalfileenumerator.[ch]:
2899 * glocalfileinputstream.[ch]:
2900 * glocalfilemonitor.[ch]:
2901 * glocalfileoutputstream.[ch]:
2903 * gnativevolumemonitor.c:
2904 * gpollfilemonitor.[ch]:
2905 * gunionvolumemonitor.[ch]:
2908 * gunixvolumemonitor.[ch]:
2911 * inotify/ginotifydirectorymonitor.[ch]:
2912 * inotify/ginotifyfilemonitor.[ch]:
2913 * inotify/inotify-helper.c:
2914 Append _ to all internal functions
2918 Export symbols needed for modules
2920 2007-11-28 Alexander Larsson <alexl@redhat.com>
2923 * abicheck.sh: Added.
2924 * makegioalias.pl: Added.
2925 * pltcheck.sh: Added.
2926 * gio.symbols: Added.
2929 Initial work on adding symbol handling.
2932 Correct ifdef guard name
2935 * inotify/Makefile.am:
2936 * xdgmime/Makefile.am:
2937 Include toplevel Makefile.decl
2939 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2941 * gcontenttype.c: Move doc comments to the unix section.
2943 * *.[hc]: More trivial doc corrections.
2945 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2947 * gpollfilemonitor.c:
2951 * gdesktopappinfo.c:
2956 * gdatainputstream.c:
2957 * gdatainputstream.h:
2958 * gdataoutputstream.c:
2959 * gdataoutputstream.h:
2960 * gfileinfo.h: Doc cleanups
2962 2007-11-28 Andre Klapper <a9016009@gmx.de>
2964 * gdesktopappinfo.c: Fix a typo.
2966 2007-11-27 Andre Klapper <a9016009@gmx.de>
2968 * glocalfileoutputstream.c: Fix a typo.
2970 2007-11-27 Alexander Larsson <alexl@redhat.com>
2973 Don't include removed headers
2975 2007-11-27 Alexander Larsson <alexl@redhat.com>
2978 * gsocketinputstream.[ch]: Removed.
2979 * gsocketoutputstream.[ch]: Removed.
2980 * gunixinputstream.[ch]: Added.
2981 * gunixoutputstream.[ch]: Added.
2982 Renamed GSocket*Stream to GUnix*Stream and made
2983 it unix-only, since its not really only for sockets
2984 and it only works on unix (but is highly useful there).
2986 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2992 * gbufferedinputstream.c:
2993 * gbufferedinputstream.h:
2994 * gbufferedoutputstream.c:
2995 * gbufferedoutputstream.h:
2999 * gdatainputstream.c:
3000 * gdatainputstream.h:
3001 * gdataoutputstream.c:
3002 * gdataoutputstream.h:
3003 * gdirectorymonitor.c:
3004 * gdirectorymonitor.h:
3011 * gfileenumerator.c:
3012 * gfileenumerator.h:
3017 * gfileinputstream.c:
3018 * gfileinputstream.h:
3021 * gfilenamecompleter.c:
3022 * gfilenamecompleter.h:
3023 * gfileoutputstream.c:
3024 * gfileoutputstream.h:
3025 * gfilterinputstream.c:
3026 * gfilterinputstream.h:
3027 * gfilteroutputstream.c:
3028 * gfilteroutputstream.h:
3041 * glocalfileoutputstream.c:
3042 * gmemoryinputstream.c:
3043 * gmemoryinputstream.h:
3044 * gmemoryoutputstream.c:
3045 * gmemoryoutputstream.h:
3046 * gmountoperation.c:
3047 * gmountoperation.h:
3050 * gpollfilemonitor.c:
3053 * gsimpleasyncresult.c:
3054 * gsimpleasyncresult.h:
3055 * gsocketinputstream.c:
3056 * gsocketinputstream.h:
3057 * gsocketoutputstream.c:
3058 * gsocketoutputstream.h:
3065 * gunixvolumemonitor.c:
3074 Bumps documentation to 93% symbol coverage, touching most
3075 of the public files. Fixes broken function documentation prototypes.
3076 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3077 gtk-doc headers in private files.
3079 2007-11-27 Jürg Billeter <j@bitron.ch>
3081 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3082 (g_buffered_input_stream_read_byte):
3083 * gbufferedinputstream.h:
3084 New functions for efficient access to buffer and simple single byte
3087 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3088 (g_data_input_stream_read_until):
3089 * gdatainputstream.h:
3090 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3091 read_until with multiple stop chars.
3093 2007-11-27 Alexander Larsson <alexl@redhat.com>
3097 * inotify/Makefile.am:
3098 Use the user-specified giomoduledir
3100 2007-11-27 Alexander Larsson <alexl@redhat.com>
3104 Add catch-all gio.h header
3105 Don't install gdummyfile.h
3107 2007-11-26 Alexander Larsson <alexl@redhat.com>
3109 * Makefile.am (gioinclude_HEADERS):
3110 Remove trailing whitespace
3112 2007-11-26 Alexander Larsson <alexl@redhat.com>
3114 Merge gio-standalone into glib
3116 2007-11-25 Christian Kellner <gicmo@gnome.org>
3118 * gio/goutputstream.c:
3119 Fix small mistake in the docs.
3121 2007-11-21 Christian Persch <chpe@gnome.org>
3123 * gio/glocalfile.c: (g_local_file_trash):
3124 Convert filenames to UTF-8 for GError.
3125 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3126 as per xdg base dir spec.
3128 2007-11-21 Christian Persch <chpe@gnome.org>
3130 * gio/gdesktopappinfo.c:
3131 Use that g_key_file_to_data cannot fail.
3133 Use stock defines for the key file group and key names.
3136 2007-11-21 Alexander Larsson <alexl@redhat.com>
3139 (copy_stream_with_progress):
3140 Make sure we do a final progress callback with
3141 the full total size.
3143 2007-11-21 Alexander Larsson <alexl@redhat.com>
3146 Export g_file_copy_attributes
3147 Remove padding as its not needed for interfaces
3149 2007-11-20 Alexander Larsson <alexl@redhat.com>
3154 Add G_IO_ERROR_WOULD_MERGE for
3155 copy/move dir on dir with overwrite.
3157 2007-11-20 Alexander Larsson <alexl@redhat.com>
3160 * gio/glocalfileinfo.c:
3161 Add COPY_NAME (this is an optional
3162 non-modified utf8 version of the name) that
3165 2007-11-20 Alexander Larsson <alexl@redhat.com>
3167 * gio/glocalfileenumerator.c:
3168 Report errors as GIOError, not GFileError
3170 2007-11-16 Alexander Larsson <alexl@redhat.com>
3172 * gio/glocalfileoutputstream.c:
3173 * gio/gwin32appinfo.c:
3174 Fix typos in strings.
3175 Patch from Luca Ferretti <elle.uca@libero.it>
3177 2007-11-15 Alexander Larsson <alexl@redhat.com>
3180 Post release version bump
3182 === gio-standalone 0.1.2 ===
3184 2007-11-15 Alexander Larsson <alexl@redhat.com>
3186 * docs/reference/gio/Makefile.am:
3187 Fix up distcheck by removing weird
3193 2007-11-14 Alexander Larsson <alexl@redhat.com>
3195 * gio/gdesktopappinfo.c:
3196 * gio/glocaldirectorymonitor.c:
3198 * gio/glocalfileinfo.c:
3199 * gio/inotify/inotify-sub.c:
3200 * programs/gio-cat.c:
3201 * programs/gio-copy.c:
3202 * programs/gio-info.c:
3203 * programs/gio-ls.c:
3204 * programs/gio-monitor-dir.c:
3205 * programs/gio-monitor-file.c:
3206 * programs/gio-mount.c:
3207 * programs/gio-move.c:
3208 * programs/gio-rm.c:
3209 * programs/gio-save.c:
3210 * programs/gio-trash.c:
3211 Leak fixes from Kjartan Maraas
3213 2007-11-14 Alexander Larsson <alexl@redhat.com>
3215 * gio/fam/fam-helper.c:
3217 * gio/glocalfileinfo.c:
3221 * gio/inotify/inotify-diag.c:
3222 * gio/inotify/inotify-kernel.c:
3223 Various code cleanups from Kjartan Maraas
3225 2007-11-14 Alexander Larsson <alexl@redhat.com>
3227 * gio/gioscheduler.c:
3229 Set up threadpool so that we cache 2 unused
3230 idle threads for at 15 secs. This means we
3231 will reuse thread-local data (like dbus connections)
3234 2007-11-14 Alexander Larsson <alexl@redhat.com>
3236 * gio/fam/fam-helper.c:
3237 * gio/fam/gfamdirectorymonitor.c:
3238 * gio/fam/gfamfilemonitor.c:
3240 * gio/gcontenttype.c:
3241 * gio/gdatainputstream.c:
3242 * gio/gdataoutputstream.c:
3246 * gio/gfileattribute.h:
3247 * gio/gfileenumerator.c:
3249 * gio/ginputstream.c:
3252 * gio/glocalfileinfo.c:
3253 * gio/goutputstream.c:
3254 * gio/gpollfilemonitor.c:
3255 * gio/gsimpleasyncresult.c:
3256 * gio/gunixmounts.c:
3257 * gio/gunixmounts.h:
3258 * gio/inotify/ginotifydirectorymonitor.c:
3259 * gio/inotify/ginotifyfilemonitor.c:
3260 * gio/inotify/inotify-diag.c:
3261 * gio/inotify/inotify-kernel.c:
3262 * gio/inotify/inotify-path.c:
3264 * gio/test-streams.c:
3265 * programs/gio-info.c:
3266 * programs/gio-monitor-dir.c:
3267 * programs/gio-monitor-file.c:
3268 Various code cleanups from Kjartan Maraas
3270 2007-11-13 Alexander Larsson <alexl@redhat.com>
3273 Handle the uri-scheme calls for dummy files
3275 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3277 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3278 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3279 to avoid clash with the C++ keyword.
3281 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3283 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3284 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3286 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3288 * gio/glocaldirectorymonitor.c:
3289 * gio/glocalfilemonitor.c:
3290 * gio/gunionvolumemonitor.c:
3291 Don't use g_once_init_*() for initializations that could fail and
3292 could leave the initialization variable set to 0 but use GOnce.
3293 This prevents a deadlock on the second call when trying to create
3294 a monitor and no monitor type is available. Thanks to Sven Herzberg
3297 2007-11-11 Sven Herzberg <sven@imendio.com>
3299 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3300 #ifdef (make it work on MacOS X again)
3302 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3304 Fixes Changelog for last two commits (sorry guys).
3306 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3308 * gio/gbufferedinputstream.c:
3309 * gio/gdatainputstream.c:
3311 * gio/gfileoutputstream.c:
3312 * gio/gfilterinputstream.c:
3313 * gio/glocalfileinputstream.c:
3316 More consistency fixes in g*stream.c files.
3317 Significant clean of gfile's documentation, filling in of
3318 asynchronous operations documentation.
3320 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3322 * gio/gasyncresult.c:
3323 * gio/gbufferedinputstream.c:
3324 * gio/gbufferedoutputstream.c:
3325 * gio/gcancellable.c:
3326 * gio/gcontenttype.c:
3327 * gio/gdatainputstream.c:
3328 * gio/gdataoutputstream.c:
3329 * gio/gdesktopappinfo.c:
3332 * gio/gfileattribute.c:
3333 * gio/gio/gfileenumerator.c:
3335 * gio/gfileinputstream.c:
3336 * gio/gfilemonitor.c:
3337 * gio/gfileoutputstream.c:
3338 * gio/ginputstream.c:
3340 * gio/gioscheduler.c:
3341 * gio/gloadableicon.c:
3342 * gio/glocalfileoutputstream.c:
3343 * gio/gmemoryoutputstream.c:
3344 * gio/gmountoperation.c:
3345 * gio/goutputstream.c:
3347 * gio/gsimpleasyncresult.c:
3348 * gio/gunionvolumemonitor.c:
3349 * gio/gunixmounts.c:
3350 * gio/gunixvolume.c:
3354 * gio/gvolumemonitor.c:
3355 Updated documentation stubs, working towards consistency and
3358 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3360 * gio/gmemoryoutputstream.c:
3361 * gio/gmemoryoutputstream.h:
3362 Change g_memory_output_stream_set_free_on_close() to
3363 g_memory_output_stream_set_free_data() as this makes more sense and
3364 is more consistent with GMemoryInputStream.
3366 2007-11-07 Alexander Larsson <alexl@redhat.com>
3373 Change how we find the default vfs so that
3374 we can handle a gvfs failing to init
3376 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3378 * gio/gbufferedoutputstream.c:
3379 * gio/gdatainputstream.c:
3380 * gio/gdataoutputstream.c:
3381 * gio/gfileinputstream.c:
3382 * gio/gfileoutputstream.c:
3383 * gio/gfilterinputstream.c:
3384 * gio/gfilteroutputstream.c:
3385 * gio/ginputstream.c:
3386 * gio/gmemoryinputstream.c:
3387 * gio/gmemoryoutputstream.c:
3388 * gio/goutputstream.c:
3389 * gio/gsimpleasyncresult.c:
3390 * gio/gsocketinputstream.c:
3391 * gio/gsocketoutputstream.c:
3392 Add guards to the remaining public functions, add a TODO for
3393 an unimplemented function and remove some useless guards.
3395 2007-11-07 Alexander Larsson <alexl@redhat.com>
3398 Autoconf checks for the various types of
3399 getpwuid_r and getgrgid_r
3401 * gio/glocalfileinfo.c:
3402 Use the autoconf checks from above
3404 2007-11-07 Alexander Larsson <alexl@redhat.com>
3407 (g_local_file_query_filesystem_info):
3408 Some fixes for the statvfs case
3410 2007-11-07 Alexander Larsson <alexl@redhat.com>
3413 (g_local_file_query_filesystem_info):
3414 Pick the "best" of statfs / statvfs for the system
3415 if both are availible.
3417 2007-11-07 Alexander Larsson <alexl@redhat.com>
3419 Solaris fixes from Halton.Huo@Sun.COM:
3426 * gio/glocalfileinfo.c:
3427 Fix for solaris definition of getpwuid_r
3429 * gio/test-streams.c:
3430 Use G_GNUC_PRETTY_FUNCTION
3432 2007-11-07 Alexander Larsson <alexl@redhat.com>
3434 * gio/gdesktopappinfo.c:
3435 (update_default_list):
3436 Remove double semicolon.
3437 Patch from Jens Granseuer
3439 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3441 * docs/reference/gio/gio-sections.txt:
3442 * gio/gbufferedinputstream.c:
3443 * gio/gbufferedinputstream.h:
3444 * gio/gdatainputstream.c:
3445 * gio/gfileenumerator.c:
3446 * gio/gioscheduler.c:
3447 * gio/gunionvolumemonitor.c:
3449 * programs/gio-save.c:
3450 Fix typo: availible -> available. Unfortuntely this breaks API
3451 and ABI as g_buffered_input_stream_get_available() was renamed.
3453 * gio/gunixmounts.c:
3454 * gio/gbufferedinputstream.c:
3455 Add guards for public functions.
3457 2007-11-06 Ross Burton <ross@openedhand.com>
3459 * docs/reference/gio/Makefile.am:
3460 Fix invalid += usage which automake 1.10 doesn't like.
3462 2007-11-06 Alexander Larsson <alexl@redhat.com>
3465 (g_app_launch_context_class_init):
3468 Patch from Ross Burton
3470 2007-11-06 Alexander Larsson <alexl@redhat.com>
3473 Post release version bump
3475 === gio-standalone 0.1.1 ===
3477 2007-11-06 Alexander Larsson <alexl@redhat.com>
3480 Bump version to 0.1.1
3482 * gio/gsimpleasyncresult.c:
3483 (g_simple_async_result_set_from_error):
3484 Remove bogus g_return_if_fail
3486 2007-11-06 Alexander Larsson <alexl@redhat.com>
3489 The name is gio-standalone
3492 Add top src/builddir to includedir
3494 2007-11-06 Alexander Larsson <alexl@redhat.com>
3496 * docs/reference/gio/gio-sections.txt:
3498 * gio/gbufferedinputstream.c:
3499 * gio/gbufferedoutputstream.c:
3500 * gio/gcancellable.c:
3501 * gio/gdatainputstream.h:
3502 * gio/gdataoutputstream.c:
3503 * gio/gdataoutputstream.h:
3504 * gio/gdirectorymonitor.c:
3506 * gio/gfileattribute.c:
3507 * gio/gfileattribute.h:
3508 * gio/gfileenumerator.c:
3509 * gio/gfileenumerator.h:
3512 * gio/gfileinputstream.h:
3513 * gio/gfilemonitor.c:
3514 * gio/gfileoutputstream.h:
3515 * gio/glocalfilemonitor.h:
3516 * gio/glocalfileoutputstream.h:
3517 * gio/gmemoryinputstream.c:
3518 * gio/gmemoryoutputstream.c:
3519 * gio/gmountoperation.c:
3520 * gio/goutputstream.c:
3521 * gio/goutputstream.h:
3523 * gio/gsimpleasyncresult.c:
3524 * gio/gunixmounts.c:
3525 * gio/gunixmounts.h:
3527 * gio/inotify/inotify-helper.c:
3528 Fix gtk-doc warnings
3530 Patch from Ross Burton
3532 2007-11-06 Alexander Larsson <alexl@redhat.com>
3534 * gio/gfilenamecompleter.c:
3535 (g_filename_completer_get_completions):
3538 * gio/gunixvolume.c:
3539 Remove unused function
3541 Patches from Ross Burton
3543 2007-11-06 Alexander Larsson <alexl@redhat.com>
3548 Padding not needed for interfaces
3550 2007-11-06 Alexander Larsson <alexl@redhat.com>
3552 * gio/gfilemonitor.c:
3556 Make giotypes.h an internal file
3559 * gio/gbufferedinputstream.h:
3560 * gio/gbufferedoutputstream.h:
3561 * gio/gcancellable.h:
3562 * gio/gdatainputstream.h:
3563 * gio/gdataoutputstream.h:
3564 * gio/gdirectorymonitor.c:
3565 * gio/gdirectorymonitor.h:
3570 * gio/gfileattribute.h:
3571 * gio/gfileenumerator.h:
3576 * gio/gfilemonitor.c:
3577 * gio/gfilemonitor.h:
3578 * gio/gfilenamecompleter.c:
3579 * gio/gfilenamecompleter.h:
3580 * gio/gfilterinputstream.h:
3581 * gio/gfilteroutputstream.h:
3582 * gio/ginputstream.h:
3583 * gio/gmemoryinputstream.h:
3584 * gio/gmemoryoutputstream.h:
3585 * gio/gmountoperation.c:
3586 * gio/gmountoperation.h:
3587 * gio/gnativevolumemonitor.c:
3588 * gio/goutputstream.h:
3591 * gio/gsimpleasyncresult.c:
3592 * gio/gsimpleasyncresult.h:
3593 * gio/gsocketinputstream.h:
3594 * gio/gsocketoutputstream.h:
3595 * gio/gthemedicon.c:
3596 * gio/gthemedicon.h:
3600 * gio/gvolumemonitor.c:
3601 * gio/gvolumemonitor.h:
3602 Add padding in classes where it seems useful
3603 Don't include giotypes.h from public headers
3604 Move in Class definitions into c file where possible
3609 2007-11-06 Alexander Larsson <alexl@redhat.com>
3611 * docs/reference/gio/gio-docs.xml:
3612 Better structure for API docs
3614 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3617 * gio/gloadableicon.c:
3618 * gio/gsimpleasyncresult.c:
3619 * gio/gthemedicon.c:
3620 Add some more guards to public functions. Only files missing are now
3623 2007-11-06 Alexander Larsson <alexl@redhat.com>
3625 * docs/reference/gio/gio-docs.xml:
3626 Remove old files, add missing ones
3628 2007-11-06 Alexander Larsson <alexl@redhat.com>
3630 * docs/reference/gio/gio-sections.txt:
3633 Hide implementation classes
3635 * gio/gdriveprivate.h:
3636 * gio/gvolumeprivate.h:
3637 Remove non-existing function declarations
3639 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3642 Fix compilation warnings and add guards to the new functions.
3644 * gio/gasyncresult.c:
3646 Add guards to the public functions.
3649 Implement get_path().
3651 2007-11-06 Alexander Larsson <alexl@redhat.com>
3653 * gio/gfilenamecompleter.c:
3654 Make g_filename_completer_get_completions
3655 return char ** instead of GList for
3658 * docs/reference/gio/gio-docs.xml:
3659 * docs/reference/gio/gio-sections.txt:
3661 * gio/gasyncresult.c:
3662 * gio/gbufferedinputstream.c:
3663 * gio/gbufferedoutputstream.c:
3664 * gio/gcancellable.c:
3665 * gio/gcontenttype.c:
3666 * gio/gdatainputstream.c:
3667 * gio/gdataoutputstream.c:
3668 * gio/gdesktopappinfo.c:
3669 * gio/gdirectorymonitor.c:
3673 * gio/gfileattribute.c:
3674 * gio/gfileenumerator.c:
3677 * gio/gfileinputstream.c:
3678 * gio/gfilemonitor.c:
3679 * gio/gfilenamecompleter.c:
3680 * gio/gfilenamecompleter.h:
3681 * gio/gfileoutputstream.c:
3682 * gio/gfilterinputstream.c:
3684 * gio/ginputstream.c:
3686 * gio/gioscheduler.c:
3687 * gio/gloadableicon.c:
3688 * gio/glocaldirectorymonitor.c:
3690 * gio/glocalfileinputstream.c:
3691 * gio/glocalfilemonitor.c:
3692 * gio/glocalfileoutputstream.c:
3694 * gio/gmemoryinputstream.c:
3695 * gio/gmemoryoutputstream.c:
3696 * gio/gmountoperation.c:
3697 * gio/goutputstream.c:
3698 * gio/gpollfilemonitor.c:
3700 * gio/gsimpleasyncresult.c:
3701 * gio/gsocketinputstream.c:
3702 * gio/gsocketoutputstream.c:
3703 * gio/gthemedicon.c:
3704 * gio/gunionvolumemonitor.c:
3706 * gio/gunixmounts.c:
3707 * gio/gunixvolume.c:
3708 * gio/gunixvolumemonitor.c:
3712 * gio/gvolumemonitor.c:
3713 * gio/gwin32appinfo.c:
3714 Add (mostly stub) doc strings to public functions.
3715 Patch from Andrew Walton (awalton@gmail.com)
3717 2007-11-06 Alexander Larsson <alexl@redhat.com>
3719 * gio/gappinfo.[ch]:
3720 Added GAppLaunchContext object and pass that to launch.
3721 This allows simple implementation of both
3722 launch-on-screen and startup notification via a gtk+
3723 subclass of GAppLaunchContext
3725 * gio/gdesktopappinfo.c:
3726 Implement GAppLaunchContext API
3728 * gio/gwin32appinfo.c:
3731 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gio/gmountoperation.c:
3734 Add some guards to GMountOperation's public functions.
3736 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3740 * gio/gcancellable.c:
3741 * gio/gdirectorymonitor.c:
3743 * gio/gfileenumerator.c:
3744 * gio/gfilemonitor.c:,
3745 * gio/gfilenamecompleter.c:
3748 * gio/gioscheduler.c:
3752 * gio/gvolumemonitor.c:
3753 Add even more guards to various public functions.
3755 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3758 Add guards to the public functions of GAppInfo.
3760 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3762 * gio/gcontenttype.c:
3763 Add some more guards for public functions.
3765 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3767 * gio/fam/fam-module.c:
3768 * gio/fam/gfamdirectorymonitor.c:
3769 * gio/fam/gfamdirectorymonitor.h:
3770 * gio/fam/gfamfilemonitor.c:
3771 * gio/fam/gfamfilemonitor.h:
3772 * gio/inotify/ginotifydirectorymonitor.c:
3773 * gio/inotify/ginotifydirectorymonitor.h:
3774 * gio/inotify/ginotifyfilemonitor.c:
3775 * gio/inotify/ginotifyfilemonitor.h:
3776 Add proper copyright information and remove an unused variable
3777 in the GInotifyFileMonitor constructor.
3779 * gio/gcancellable.c:
3780 Add a guard for a public function and an assertion to prevent
3781 an undefined program state.
3783 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3785 * gio/gfileattribute.c:
3786 Don't run into an assertion if the given attribute value is NULL
3787 in g_file_attribute_value_get_*() but instead return a fallback
3788 value that makes sense in most situations. Passing them a attribute
3789 value with the wrong type will still run into an assertion.
3791 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/gfileattribute.c:
3795 Add even more guards to the public functions. Also fix the refcounting
3796 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3797 let g_file_info_list_attributes() filter the attributes by namespace
3798 instead of simply ignoring the namespace parameter.
3800 2007-11-03 Sven Herzberg <sven@imendio.com>
3802 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3803 (This makes gio work on MacOS X again)
3805 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3808 Build the gio subdirectory before the docs. Otherwise the build will
3811 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3812 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3813 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3814 Add guards to the public functions.
3816 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3818 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3819 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3820 to prevent a compiler warning.
3822 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3823 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3824 return something in the non-void function find_topdir_for().
3826 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3833 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3835 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3836 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3837 * gwin32appinfo.c (g_win32_app_info_launch):
3838 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3839 envp_for_startup_id, g_desktop_app_info_launch,
3840 g_desktop_app_info_launch_uris):
3842 Give an opaque 'startup_id' string instead of 'envp'.
3843 Support empty file lists for launching new windows.
3844 Fix infinite recursion bug when launching URIs.
3846 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3849 Add guard to the new g_file_get_uri_scheme() function.
3851 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3854 Convert a g_return_val_if_fail() to setting the GError instead as
3855 otherwise applications have to verify the parameter before otherwise
3856 and the parameter might come directly from the user.
3858 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3860 * gio/inotify/ginotify*.[ch]:
3861 Add missing copyright information.
3863 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3866 Add guards in the beginning of public functions to check for valid
3867 parameters and fix a bug in copy_stream_with_progress() that could've
3868 caused writing less bytes than reading.
3869 * gio/glocalfileinfo.c:
3870 Check for a NULL parameter and set the GError accordingly then.
3871 * gio/goutputstream.c:
3872 Fix the same bug as in gfile.c that could've caused writing less bytes
3873 than reading in g_output_stream_real_splice().
3875 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3878 Use the correct gvolumeprivate.h naming
3880 2007-11-01 Christian Kellner <gicmo@gnome.org>
3883 Remove leftover "$(daemon_sources)" entry.
3885 2007-11-01 Christian Kellner <gicmo@gnome.org>
3890 Add copyright information to source files.
3892 2007-11-01 Alexander Larsson <alexl@redhat.com>
3896 Add g_file_get_uri_scheme
3898 2007-11-01 Alexander Larsson <alexl@redhat.com>
3901 * gio/gdesktopappinfo.c:
3902 * gio/gwin32appinfo.c:
3903 Add g_app_info_get_default_for_uri_scheme.
3905 2007-11-01 Alexander Larsson <alexl@redhat.com>
3908 Correct filename for gdriveprivate.h
3910 2007-10-31 Alexander Larsson <alexl@redhat.com>
3913 Rename id:value to id:file
3916 * gio/glocalfileinfo.c:
3919 2007-10-31 Alexander Larsson <alexl@redhat.com>
3921 * gio/gunixvolume.c:
3923 Remove g_volume_get_platform_id, as thats not
3924 needed with the simpler union volume monitor
3926 2007-10-31 Alexander Larsson <alexl@redhat.com>
3929 * gio/guniondrive.[ch]: Removed.
3930 * gio/gunionvolume.[ch]: Removed.
3931 Remove GUnionDrive/Volume
3933 * gio/gunionvolumemonitor.c:
3934 Simplify union volume monitor, now we
3935 only have one native volume monitor and
3936 we use the actual volumes/drives from the
3937 child monitors instead of wrapping them
3939 * gio/gnativevolumemonitor.[ch]:
3940 Base class for native volume monitors.
3941 Includes priority and get_volume_for_mountpoint
3944 Add g_file_find_enclosing_volume
3947 Remove volume name fs attribute
3948 Add readonly fs attribute
3951 Implement readonly attribute
3952 remove volume name attribute
3953 Implement find_enclosing volume
3955 * gio/gunixmounts.c:
3956 Add a volume for "/".
3958 * gio/gunixvolume.[ch]:
3959 Set better name for /
3961 * gio/gunixvolumemonitor.[ch]:
3962 Derive from GNativeVolumeMonitor
3963 Implement get_volume_for_mountpoint
3966 GVolume typedef moved to gfile.h
3968 * gio/gvolumeprivate.h:
3969 Add g_volume_get_for_mount_path
3971 2007-10-31 Alexander Larsson <alexl@redhat.com>
3973 * gio/gunixmounts.[ch]:
3974 Add cache info to unix mount listers
3975 Make getmntent use threadsafe
3976 Add is_system_internal attribute for GUnixMount
3978 * gio/gunixvolume.c:
3979 (g_unix_volume_new):
3980 Use is_system_internal instead of own code
3982 * gio/glocaldirectorymonitor.c:
3983 * gio/gunixvolumemonitor.c:
3984 Update to new gunixmounts API
3989 2007-10-30 Alexander Larsson <alexl@redhat.com>
3992 Add volume name fsinfo attribute
3995 Read volume name info
3997 * gio/gunionvolumemonitor.c:
3998 Fix infinite loops when finalizing a union volume monitor
4000 2007-10-30 Alexander Larsson <alexl@redhat.com>
4002 * gio/goutputstream.[ch]:
4003 Add splice() with default implementation
4005 * gio/gsocketoutputstream.c:
4006 (g_socket_output_stream_write):
4007 Return error on cancellation correctly.
4009 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4011 * gio/glocalfile.c (g_local_file_trash):
4012 Do not leak a string.
4014 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4016 * gio/gfile.c (g_file_load_contents):
4017 Unref the stream after closing it.
4019 2007-10-25 Alexander Larsson <alexl@redhat.com>
4021 * gio/gioscheduler.h:
4024 2007-10-25 Alexander Larsson <alexl@redhat.com>
4028 Add g_file_has_uri_scheme and implement for local files
4030 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4032 * gio/gdesktopappinfo.c: do not leak a string.
4034 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4036 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4037 (g_local_directory_monitor_new):
4038 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4039 (g_local_file_monitor_new):
4040 Only look for the monitor type that should be used the first time
4041 and use g_qsort_with_data() instead of our own bubble sort
4044 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4047 * gio/fam/Makefile.am:
4048 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4049 * gio/fam/fam-helper.h:
4050 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4051 * gio/fam/gfamdirectorymonitor.c:
4052 * gio/fam/gfamdirectorymonitor.h:
4053 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4054 * gio/fam/gfamfilemonitor.h:
4055 * gio/glocaldirectorymonitor.c:
4056 * gio/glocaldirectorymonitor.h:
4057 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4058 * gio/glocalfilemonitor.h:
4059 * gio/inotify/Makefile.am:
4060 * gio/inotify/ginotifydirectorymonitor.c:
4061 * gio/inotify/ginotifydirectorymonitor.h:
4062 * gio/inotify/ginotifyfilemonitor.c:
4063 * gio/inotify/ginotifyfilemonitor.h:
4064 Implement the FAM and Inotify monitors as
4065 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4066 their own GIO module. GLocal(Directory|File)Monitor will use the
4067 monitor with the highest rank that is supported on that machine.
4069 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4072 Change GIO module dir to $(libdir)/gio/modules and change
4073 the log domain from GVFS to GIO. Also only export symbols starting
4074 with g_ in the resulting library.
4075 * gio/test-streams.c: (main):
4076 Set log handler for the GIO log domain.
4078 2007-10-22 Alexander Larsson <alexl@redhat.com>
4080 * gio/gfilenamecompleter.[ch]:
4081 Add g_filename_completer_set_dirs_only
4083 2007-10-22 Alexander Larsson <alexl@redhat.com>
4086 * gio/gurifuncs.[ch]:
4087 Add some simple URI helpers
4089 * gio/gfilenamecompleter.[ch]:
4090 Added object for filename (parse name actually) completion
4093 Handle ~ in parse names
4095 2007-10-17 Alexander Larsson <alexl@redhat.com>
4098 * gio/glocalfileinfo.c:
4099 Add and implement id:value attribute
4101 2007-10-17 Alexander Larsson <alexl@redhat.com>
4104 * gio/guniondrive.c:
4106 Add and implement g_drive_has_volumes
4108 2007-10-17 Alexander Larsson <alexl@redhat.com>
4111 * gio/glocalfileinfo.[ch]:
4112 Add unix:is_mountpoint and implement for local files
4114 2007-10-16 Alexander Larsson <alexl@redhat.com>
4116 * gio/gunionvolumemonitor.c:
4117 (g_union_volume_monitor_init):
4118 Fix up the unix type getting so that it works with gcc
4120 2007-10-12 Alexander Larsson <alexl@redhat.com>
4123 * gio/glocalfileinfo.c:
4124 Add thumbnail:failed to file info
4126 2007-10-12 Richard Hult <richard@imendio.com>
4128 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4129 optimizing away the get_type call (happens with some gcc versions,
4130 like the one shipped with OS X 10.4).
4132 2007-10-12 Alexander Larsson <alexl@redhat.com>
4134 * gio/glocalfileinfo.c:
4135 (_g_local_file_info_set_attribute):
4136 Fix build if not HAVE_XATTR
4137 Patch from Milosz Derezynski <internalerror@gmail.com>
4139 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4141 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4142 around for review, otherwise I would have asked you before
4145 2007-10-11 Alexander Larsson <alexl@redhat.com>
4148 Add thumbnail:path attribute
4150 * gio/glocalfileinfo.c:
4151 Implement thumbnail:path for local files
4153 2007-10-11 Alexander Larsson <alexl@redhat.com>
4155 * gio/glocalfileinfo.c:
4156 (_g_local_file_info_get):
4157 Avoid duplicate icon names
4159 2007-10-11 Alexander Larsson <alexl@redhat.com>
4161 * gio/gthemedicon.[ch]:
4162 Change g_themed_icon_get_names return type to const
4164 2007-10-10 Alexander Larsson <alexl@redhat.com>
4166 * gio/glocalfileinfo.c:
4167 Don't reference freed memory
4169 2007-10-10 Alexander Larsson <alexl@redhat.com>
4171 * gio/gfileattribute.c:
4174 * gio/glocalfileinfo.c:
4177 2007-10-10 Alexander Larsson <alexl@redhat.com>
4180 Check for NULL icons
4182 * gio/gfileattribute.c:
4183 Don't dup when getting objects (same as for string attributes)
4185 * gio/gicon.c (g_icon_equal):
4186 Safely handle NULLs in equal
4188 2007-10-10 Alexander Larsson <alexl@redhat.com>
4191 Fix c++ compilation issues
4192 Patch from Milosz Derezynski <internalerror@gmail.com>
4194 2007-10-10 Alexander Larsson <alexl@redhat.com>
4196 * programs/gio-monitor-dir.c:
4197 Don't crash if dir monitor not supported.
4199 2007-10-09 Alexander Larsson <alexl@redhat.com>
4202 Add missing G_END_DECLS
4204 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4206 * gio/gfile.c: (g_file_set_display_name),
4207 (g_file_query_settable_attributes),
4208 (g_file_query_writable_namespaces):
4209 Return NULL not FALSE on errors as the return type is a pointer.
4211 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4213 * gio/glocalfile.c: (g_local_file_monitor_file):
4214 Don't call monitor_file on the default interface vtable (which
4215 is NULL) but simply return NULL. The caller, GFile, will create a
4216 polling monitor if NULL is returned.
4218 2007-10-09 Alexander Larsson <alexl@redhat.com>
4222 * gio-unix-2.0.pc.in:
4223 Add gio-unix-2.0.pc if OS_UNIX
4226 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4228 2007-10-09 Alexander Larsson <alexl@redhat.com>
4230 * gio/gunixmounts.[ch]:
4231 Make unix mount monitoring API sane.
4232 Now its just a object with mounts_changed
4233 and mountpoints_changed signals.
4235 * gio/glocaldirectorymonitor.c:
4236 * gio/gunixvolumemonitor.c:
4237 Use new mount monitor api
4239 2007-10-09 Alexander Larsson <alexl@redhat.com>
4241 * gio/gunixmounts.[ch]:
4242 Move guess type into one call for mounts and one for mountpoints
4245 * gio/gunixvolume.c:
4248 2007-10-09 Alexander Larsson <alexl@redhat.com>
4250 * gio/gunixmounts.[ch]:
4251 Remove _ prefix in preparation to make this semi-public
4252 Hide implementation of structs
4254 * gio/glocaldirectorymonitor.c:
4256 * gio/gunixvolume.c:
4257 * gio/gunixvolumemonitor.c:
4258 Update for above API changes
4260 2007-10-08 Alexander Larsson <alexl@redhat.com>
4263 Better polling fallback. This also handles the case where we have
4264 a monitor_file implementation, but it fails.
4266 2007-10-08 Alexander Larsson <alexl@redhat.com>
4270 * gio/gunixmounts.c:
4271 * programs/gio-monitor-dir.c:
4272 * programs/gio-monitor-file.c:
4273 Added cancellable to file monitoring calls.
4274 These are really sync calls and need this.
4276 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4278 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4279 (g_local_vfs_class_init):
4280 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4281 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4283 2007-10-05 Alexander Larsson <alexl@redhat.com>
4285 * gio/gdirectorymonitorprivate.h:
4286 * gio/gfilemonitorprivate.h:
4287 * gio/gdirectorymonitor.h:
4288 * gio/gfilemonitor.h:
4289 Remove *private.h and move to the public API, so that
4290 we can do implementations outside gio (such as in gvfs)
4292 * gio/gdirectorymonitor.c:
4293 * gio/gfilemonitor.c:
4294 * gio/glocaldirectorymonitor.c:
4295 * gio/gpollfilemonitor.c:
4296 * gio/inotify/inotify-helper.c:
4297 * gio/fam/fam-helper.c:
4298 Update to the new header names
4300 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4302 * gio/gdirectorymonitor.c:
4303 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4306 2007-10-04 Alexander Larsson <alexl@redhat.com>
4308 * gio/glocalfileinfo.c (get_access_rights):
4309 Set CAN_TRASH when we can move the file.
4310 We should really also check for a parent trash dir.
4312 2007-10-04 Alexander Larsson <alexl@redhat.com>
4314 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4315 Add can_trash access attribute
4317 2007-10-04 Alexander Larsson <alexl@redhat.com>
4320 (g_local_file_trash):
4321 Create info file first. This is per-spec and allows
4322 us to actually trash directories.
4324 2007-10-02 Alexander Larsson <alexl@redhat.com>
4326 * gio/gdesktopappinfo.c:
4327 Implement the new mime support code.
4328 Always set app as handling mimetype when being set as default for it
4330 2007-10-01 Alexander Larsson <alexl@redhat.com>
4332 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4333 Fix up check for xattrs:
4335 2007-10-01 Alexander Larsson <alexl@redhat.com>
4338 (g_app_info_set_as_default_for_extension):
4339 (g_app_info_add_supports_type):
4340 (g_app_info_can_remove_supports_type):
4341 (g_app_info_remove_supports_type):
4342 Make these fail nicely if not implemented
4344 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4346 * gio/glocalfileoutputstream.c:
4347 * gio/glocalfileoutputstream.h:
4352 * programs/gio-save.c:
4353 Add a GFileCreateFlags argument to operations that can create
4356 2007-10-01 Alexander Larsson <alexl@redhat.com>
4358 * gio/gappinfo.[ch]:
4359 * gio/gdesktopappinfo.c:
4360 Add more (stubbed out) mime API needed for nautilus
4362 2007-10-01 Alexander Larsson <alexl@redhat.com>
4365 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4366 Add g_app_info_set_as_default_for_extension.
4368 * gio/gdesktopappinfo.c:
4369 Dummy for g_app_info_set_as_default_for_extension
4370 Support flags in g_app_info_create_from_commandline
4372 * gio/gwin32appinfo.c:
4374 Update for API changes
4376 * gio/gthemedicon.c:
4377 Properly NULL-terminate list of icon names
4379 2007-09-28 Alexander Larsson <alexl@redhat.com>
4381 * gio/gloadableicon.h:
4382 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4384 2007-09-28 Alexander Larsson <alexl@redhat.com>
4387 Install headers in $includedir/gio-standalone/
4389 * gio-2.0.pc.in: Added.
4390 * gio-standalone.pc.in: Removed.
4393 Renamed pkg-config file to match glib (for future move)
4394 Update to the new include dir
4397 Add more TODO comments
4399 2007-09-28 Alexander Larsson <alexl@redhat.com>
4401 * gio/gdesktopappinfo.[ch]:
4402 Expose new_from_filename
4403 Add getter for is_hidden and handle it better
4405 2007-09-28 Alexander Larsson <alexl@redhat.com>
4407 * gio/gfileinfo.[ch]:
4408 Rename g_file_size_format_for_display to
4409 g_format_file_size_for_display.
4410 Now it doesn't have the g_file prefix, so we
4411 can later move it to glib.
4413 2007-09-28 Alexander Larsson <alexl@redhat.com>
4415 * gio/gappinfo.[ch]:
4416 Add g_app_info_get_id and g_app_info_get_executable.
4417 Make all getters non-reffing
4418 Make g_app_info_launch take GFile arguments.
4419 Add must_support_uris argument to g_app_info_get_default_for_type.
4421 * gio/gwin32appinfo.c:
4422 Update to GAppInfo api changes
4424 * gio/gdesktopappinfo.c:
4425 Update to GAppInfo api changes
4426 Implement supports_xdg_startup_notify
4428 * gio/gfileicon.c (g_file_icon_get_file):
4429 Make getter non-reffing.
4434 2007-09-27 Alexander Larsson <alexl@redhat.com>
4436 * gio/gfileinfo.[ch]:
4437 Add g_file_size_format_for_display helper
4439 2007-09-27 Alexander Larsson <alexl@redhat.com>
4441 * gio/glocalfileinfo.c:
4442 Set UNIX_GID from gid, not from uid
4444 2007-09-27 Alexander Larsson <alexl@redhat.com>
4447 Add g_file_set_attributes_async
4449 2007-09-27 Alexander Larsson <alexl@redhat.com>
4451 * gio/glocalfile.c (g_local_file_set_display_name):
4452 Fix set_display_name to actually rename to the right place.
4453 Use lstat to look for existing files so we don't overwrite
4456 2007-09-26 Alexander Larsson <alexl@redhat.com>
4459 Add g_file_set_display_name_async()
4461 2007-09-26 Alexander Larsson <alexl@redhat.com>
4464 Add load_partial_contents async calls
4467 Make internal function static
4469 2007-09-26 Alexander Larsson <alexl@redhat.com>
4471 * gio/glocalfileinfo.c:
4472 Correctly detect broken symlinks
4474 2007-09-26 Alexander Larsson <alexl@redhat.com>
4476 * gio/gcancellable.c (g_cancellable_cancel):
4477 Allow cancel on NULL cancellable
4479 2007-09-25 Alexander Larsson <alexl@redhat.com>
4481 * gio/gsimpleasyncresult.c:
4482 Don't allocate g_error manually.
4483 Fixes g_slice/g_new mixup crash
4485 2007-09-25 Alexander Larsson <alexl@redhat.com>
4487 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4488 Actually set active_backend.
4489 This means the monitor will be cancelled correctly.
4491 2007-09-25 Alexander Larsson <alexl@redhat.com>
4493 * gio/gdirectorymonitor.c:
4494 Set timeout to NULL when destroying
4496 2007-09-25 Alexander Larsson <alexl@redhat.com>
4499 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4500 that is a better description of the error.
4502 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4504 * gio/gvfs.c: (g_vfs_get_local):
4505 Make the local vfs variable static. The same instance should
4508 2007-09-24 Alexander Larsson <alexl@redhat.com>
4510 * gio/glocalfileinfo.c:
4511 Pass in actual length read into sniffer, not the length
4514 2007-09-21 Alexander Larsson <alexl@redhat.com>
4516 * gio/gfileenumerator.c:
4519 * gio/gfileinputstream.c:
4520 * gio/gfileoutputstream.c:
4521 * gio/ginputstream.c:
4522 * gio/goutputstream.c:
4523 Don't crash if async callbacks are NULL
4525 2007-09-20 Alexander Larsson <alexl@redhat.com>
4528 Add async enumerate_children method and default
4531 2007-09-20 Alexander Larsson <alexl@redhat.com>
4534 Add g_file_contains_file & g_file_get_relative_path, since they
4535 were needed for nautilus.
4536 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4541 Implement new methods
4543 2007-09-17 Alexander Larsson <alexl@redhat.com>
4546 * gio/gfileinputstream.[ch]:
4547 * gio/gfileoutputstream.[ch]:
4549 * gio/glocalfileenumerator.[ch]:
4550 * gio/glocalfileinfo.[ch]:
4551 * gio/glocalfileinputstream.c:
4552 * gio/glocalfileoutputstream.c:
4553 * gio/gpollfilemonitor.c:
4554 * programs/gio-copy.c:
4555 * programs/gio-info.c:
4556 * programs/gio-move.c:
4557 Rename get_file_info to query_info() to make it clearer
4558 that these are not simple getters, but do i/o.
4560 2007-09-17 Alexander Larsson <alexl@redhat.com>
4562 * gio/gdatainputstream.[ch]:
4563 * gio/test-streams.c:
4564 Use _read_XXX instead of _get_XXX for the i/o calls
4567 2007-09-17 Alexander Larsson <alexl@redhat.com>
4570 Added needed stuff to TODO comment
4572 2007-09-17 Alexander Larsson <alexl@redhat.com>
4574 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4575 Don't error out removing the backup copy if it doesn't
4578 2007-09-14 Alexander Larsson <alexl@redhat.com>
4580 * programs/Makefile.am:
4581 * programs/gvfs-*.c:
4583 Renamed apps from gvfs-xxx to gio-xxx.
4585 2007-09-14 Alexander Larsson <alexl@redhat.com>
4588 * gio/gfileoutputstream.[ch]:
4589 * gio/glocalfileoutputstream.c:
4590 * programs/gvfs-save.c:
4591 g_file_output_stream_get_etag doesn't do i/o, so remove
4592 cancellation and error.
4594 2007-09-14 Alexander Larsson <alexl@redhat.com>
4597 Add new_etag output to replace_contents functions
4599 2007-09-14 Alexander Larsson <alexl@redhat.com>
4601 * gio/gfileoutputstream.[ch]:
4602 Add async get_file_info and default implementation
4604 2007-09-14 Alexander Larsson <alexl@redhat.com>
4606 * gio/gfileinputstream.c:
4607 Implement fallback wrapper for async get_file_info
4609 2007-09-14 Alexander Larsson <alexl@redhat.com>
4612 Add etag out argument to load_contents
4617 2007-09-14 Alexander Larsson <alexl@redhat.com>
4619 * gio/gcontenttype.c (looks_like_text):
4620 Whitespace like tab, cr and lf do not make the
4623 2007-09-14 Alexander Larsson <alexl@redhat.com>
4625 * gio/gfileinputstream.[ch]:
4626 Add async get_file_info.
4628 2007-09-13 Alexander Larsson <alexl@redhat.com>
4630 * gio/goutputstream.c (g_output_stream_write_all):
4631 Allow NULL for bytes_written
4633 2007-09-13 Alexander Larsson <alexl@redhat.com>
4635 * gio/gmemoryinputstream.[ch]:
4636 Add accessors for data
4638 2007-09-13 Alexander Larsson <alexl@redhat.com>
4640 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4641 Don't crash if length is NULL