1 2008-10-21 Alexander Larsson <alexl@redhat.com>
3 Bug 555740 - gicon serialization
4 Based on patch from David Zeuthen
8 Add g_icon_to_string() and g_icon_new_for_string().
14 Implement icon serialization for built-in icon types
18 Added GIcon serialization test
20 2008-10-16 Matthias Clasen <mclasen@redhat.com>
22 * === Released 2.19.0 ===
24 2008-10-16 Matthias Clasen <mclasen@redhat.com>
26 Bug 556422 – g_file_enumerator_next_file: unclear whether return
27 value needs to be freed
29 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
30 the return value docs. Pointed out by Armin Burgmeier
32 2008-10-14 Matthias Clasen <mclasen@redhat.com>
34 Bug 556334 – Warning when building without selinux support
36 * glocalfileinfo.c: Avoid compiler warnings when selinux is
37 disabled. Patch by Pascal Terjan
39 2008-10-14 Matthias Clasen <mclasen@redhat.com>
41 Bug 556335 – make check fails in abicheck.sh
43 * gio.symbols: Add g_file_attribute_info_list_get_type.
44 Pointed out by Pascal Terjan.
46 2008-10-13 Alexander Larsson <alexl@redhat.com>
49 When adding an application as handling a mime type (but
50 not as the default), copy the full list of desktop ids handling
51 that type in before adding the new one on the end of the list.
52 This means we're not accidentally changing the default by overriding
53 the info from the later directories in the search path.
55 Also, fixes small leak of removed_entries.
57 2008-10-12 David Zeuthen <davidz@redhat.com>
60 * gunionvolumemonitor.c:
62 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
64 2008-10-10 Alexander Larsson <alexl@redhat.com>
66 * gfileattribute.c (escape_byte_string):
67 Upper half of byte is >> 4, not >> 8.
68 Found by Kjartan Maraas via sparse
70 2008-10-10 Matthias Clasen <mclasen@redhat.com>
72 Bug 555711 – Wrong fallback order of mimetype icons
74 * gcontenttype.c: Don't prefer generic icons over
75 default mimetype icons.
77 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
78 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
80 Patch by Krysztof Kosiński
82 2008-10-10 Matthias Clasen <mclasen@redhat.com>
84 Bug 555121 – Improved build-time handling of gio module-dir
86 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
87 * Makefile.am: Create the module dir.
89 2008-10-10 Matthias Clasen <mclasen@redhat.com>
91 * gio/glocalfileinfo.c:
92 * gio/tests/live-g-file.c:
93 * gio/gsimpleasyncresult.c: Fix gcc warnings.
95 2008-10-09 Alexander Larsson <alexl@redhat.com>
97 * gunixinputstream.c (g_unix_input_stream_read):
98 Actually return -1 in case of cancelled, not old res value.
100 2008-10-06 Colin Walters <walters@verbum.org>
102 Bug 554745 - GFileAttributeInfoList should be boxed
104 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
105 for convenience of bindings.
106 * gio/gfileattribute.h: Prototype it.
108 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
110 Bug 554970 – segfault when update-desktop-database is not available
113 * gdesktopappinfo.c (run_update_command): Have the error set before
116 2008-10-01 David Zeuthen <davidz@redhat.com>
118 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
119 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
120 instead of the gio URI (such as sftp://foo/file.avi) when using
121 g_app_info_launch() and friends. With a sufficiently recent gvfs,
122 apps using gio+gvfs will map the FUSE file:// URI back to the gio
123 URI (and thus bypass the fuse daemon) thanks the patch from bug
124 #530654. Since Nautilus is an user of g_app_info_launch() it
125 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
126 when launced via the file manager. Win. Fixes bug #528670.
128 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
129 mapping to the description of GAppInfo.
131 2008-09-30 Tor Lillqvist <tml@novell.com>
133 * tests/Makefile.am: Build desktop-app-info only on Unix.
135 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
136 g_critical(). Pass a large enough result buffer to
137 GetVolumePathNameW(). Just use MAX_PATH.
139 2008-09-29 David Zeuthen <davidz@redhat.com>
141 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
143 2008-09-26 Dan Winship <danw@gnome.org>
145 * tests/data-input-stream.c:
146 * tests/data-output-stream.c:
147 * tests/live-g-file.c:
148 * tests/memory-input-stream.c:
149 * tests/memory-output-stream.c: Use g_assert_error() and
152 2008-09-26 Matthias Clasen <mclasen@redhat.com>
154 Bug 545350 – GAppInfo deletion
155 Bug 545351 – Reset associations for content type
158 * gappinfo.[hc]: New functions g_app_info_can_delete,
159 g_app_info_delete and g_app_info_reset_type_associations.
162 * gwin32appinfo.c: Implementations of these.
165 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
167 2008-09-26 Dan Winship <danw@gnome.org>
169 Bug 505361 – gunixinputstream.c assumes poll() available
170 Bug 509446 – portable blocking gio cancellation
172 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
173 GPollFD for a cancellable (which is slightly more complicated on
176 * gunixinputstream.c (g_unix_input_stream_read):
177 * gunixoutputstream.c (g_unix_output_stream_write): Use
178 g_cancellable_make_pollfd() and g_poll() rather than using poll()
181 * tests/unix-streams.c: test of GUnixInputStream,
182 GUnixOutputStream, and GCancellable.
184 2008-09-26 Dan Winship <danw@gnome.org>
186 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
187 cast to stop a gcc warning
189 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
192 2008-09-25 Dan Winship <danw@gnome.org>
194 Bug 553426 - cancellable clarifications
196 * gcancellable.c (g_cancellable_class_init): Add a note to the
197 "cancelled" signal docs warning about thread-safety issues
198 (g_cancellable_cancel): Note that cancelling an asynchronous
199 operation takes effect asynchronously, not immediately.
201 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
203 * gioenums.h: Add new GFileCopyFlag, to leave target file with
204 default perms, instead of setting the source file perms, in a copy
207 * gfile.c (g_file_copy_attributes)
208 (build_attribute_list_for_copy)
209 (should_copy): Not copy "unix::mode" attribute if we have received
210 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
212 2008-09-20 Matthias Clasen <mclasen@redhat.com>
214 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
216 2008-09-17 Matthias Clasen <mclasen@redhat.com>
218 * === Released 2.18.1 ===
220 2008-09-16 Michael Natterer <mitch@imendio.com>
222 * gcontenttype.c (g_content_type_guess): can't assign the return
223 value of g_strdupv() to an array. Fill the array manually with
224 const strings instead (it is never freed anyway). Fixes the
225 build. Also fixed indentation.
227 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
229 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
230 Fix trivial typo to unbreak the build (there was a colon
231 instead of a semicolon at the end of a statement).
233 2008-09-15 Matthias Clasen <mclasen@redhat.com>
235 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
238 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
241 2008-09-15 Matthias Clasen <mclasen@redhat.com>
243 Bug 551681 – g_content_type_guess() too naive with filenames
245 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
246 at the end of the filename, and declare it a directory.
247 Patch by Bastien Nocera
249 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
251 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
254 * gdesktopappinfo.c: add a note in the docs clarifying what the
255 "filename" parameter really is.
257 2008-09-12 Tor Lillqvist <tml@novell.com>
259 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
260 FormatMessage() etc here. Call g_win32_error_message() instead
261 which already does all that. Besides, the code was broken as it
262 called the default "A" version of FormatMessage() but still
263 thought it produced a wide string.
265 2008-09-12 Michael Natterer <mitch@imendio.com>
267 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
268 in the documentation.
270 2008-09-08 Christian Neumair <cneumair@gnome.org>
272 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
273 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
274 Use non-blocking pipe for mount helper I/O. Fixes #550647.
276 2008-09-06 Matthias Clasen <mclasen@redhat.com>
278 Bug 551149 – xdgmime mem leak
280 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
281 a memory leak. Patch by Christian Persch
283 2008-09-04 Tor Lillqvist <tml@novell.com>
285 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
288 2008-09-02 Matthias Clasen <mclasen@redhat.com>
290 * === Released 2.18.0 ===
292 2008-09-02 Michael Natterer <mitch@imendio.com>
294 * *.h: big header formatting cleanup: indentation, vtable
295 formatting, consistent spacing in (* vfunc), trailing whitespace
296 removal. Formatting should be pretty consistent in all GIO headers
299 2008-09-02 Matthias Clasen <mclasen@redhat.com>
301 * gmount.h: Document guess_content_type sync vfunc.
303 2008-09-02 Michael Natterer <mitch@imendio.com>
305 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
306 fix parent_class member to be GFilterOutputStreamClass (not
307 GOutputStreamClass). Drop three pointers of padding, which is
308 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
309 so the class struct size stays the same.
311 2008-09-02 Matthias Clasen <mclasen@redhat.com>
313 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
315 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
316 nonexisting return values. Pointed out by Cosimo Cecchi.
318 2008-08-23 Tor Lillqvist <tml@novell.com>
320 Bug 548988 - g_file_replace fails on Windows when the target file
323 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
324 Windows, close the file before potentially renaming it (in case we
325 have been writing to a file with a temporary name).
327 (g_local_file_output_stream_close, handle_overwrite_open): Use
328 GLocalFileStat instead of plain struct stat, for passing to
329 _g_local_file_info_create_etag(). Thus also use _fstati64()
330 instead of plain fstat() on Windows.
332 2008-08-18 Matthias Clasen <mclasen@redhat.com>
334 * === Released 2.17.7 ===
336 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
338 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
341 2008-08-13 Tor Lillqvist <tml@novell.com>
343 * win32/gwinhttpvfs.c
344 * win32/gwinhttpvfs.h
345 * win32/gwinhttpfile.c
346 * win32/gwinhttpfileinputstream.c
347 * win32/gwinhttpfileoutputstream.c: Refactor some common code
348 snippets into helper functions. Check HTTP response status
349 codes. Implement g_winhttp_file_query_info(), looking at
350 Content-Length, Content-Type and Last-Modified.
352 * win32/winhttp.h: Add some symbolic constants that are not
353 publicly documented. Just a handful, so it should be OK to use
354 information from the Windows SDK's headers.
356 2008-08-13 Tor Lillqvist <tml@novell.com>
358 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
361 * win32/gwin32directorymonitor.c
362 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
364 2008-08-13 Matthias Clasen <mclasen@redhat.com>
367 * goutputstream.c: Add intro docs.
369 2008-08-13 Tor Lillqvist <tml@novell.com>
371 * win32/gwinhttpfileoutputstream.c
372 (g_winhttp_file_output_stream_write): Don't write the
373 Content-Length header ourselves, WinHttpSendRequest() takes care
374 of that when the dwTotalLength parameter is non-zero. Increment
375 offset by the number of actual bytes sent, although I wonder if
376 such a scenario is possible where less than requested would be
377 sent and accepted by the server without errors.
379 2008-08-13 Tor Lillqvist <tml@novell.com>
381 * win32/gwinhttpvfs.c
382 * win32/gwinhttpvfs.h
383 * win32/gwinhttpfile.c
384 * win32/gwinhttpfile.h
385 * win32/gwinhttpfileinputstream.c
386 * win32/gwinhttpfileinputstream.h
387 * win32/gwinhttpfileoutputstream.c
388 * win32/gwinhttpfileoutputstream.h: New files implementing
389 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
390 Windows. The implementation uses the WinHttp API. Both reading and
391 writing are supported, i.e. GET and PUT requests. When writing,
392 each write call is done using a separate PUT request with a
393 Content-Range header. Requests for file URIs and plain pathnames
394 are forwarded to GLocalVfs.
396 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
397 WINE. Used as there is no <winhttp.h> bundled with mingw, and
398 requiring people to download the Windows SDK just for this one
399 header is not reasonable.
401 * win32/Makefile.am: Add above files.
403 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
404 the plumbing for the above.
406 2008-08-11 Sven Neumann <sven@gimp.org>
408 * gfilenamecompleter.c
409 * glocaldirectorymonitor.c
411 * gunionvolumemonitor.c
415 * gunixvolumemonitor.c
418 * gwin32volumemonitor.c: use canonical signal names.
420 2008-08-11 Tor Lillqvist <tml@novell.com>
422 * Makefile.am: Put a list of the platform-dependent .la files in
423 the subdirectories in the platform_deps Make variable, and make
424 libgio-2.0.la depend on that, so that it gets relinked if one of
425 the dependent libraries has changed.
427 2008-08-11 Tor Lillqvist <tml@novell.com>
429 * Makefile.am (platform_libadd): Remove -lwininet which had been
430 added by mistake. We will probably eventually be using WinHTTP,
431 not the older WinInet anyway. (Actually I am working on it.)
433 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
435 Bug 547080 – g_file_copy leaks expected errors
437 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
438 before trying the next fallback routine.
440 2008-08-09 Loïc Minier <lool@dooz.org>
442 Bug 535124 – umask 002 not being applied for new directories, new
443 files get the correct umask
445 * gfile.c (g_file_make_directory)
446 (g_file_make_directory_with_parents): Document ownership and
447 permissions of newly created directories as being the default
450 2008-08-08 Loïc Minier <lool@dooz.org>
452 Bug 535124 – umask 002 not being applied for new directories, new
453 files get the correct umask
455 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
458 2008-08-08 Tor Lillqvist <tml@novell.com>
460 * gwin32mount.c: Remove unused code. Whitespace cleanup.
462 * gwin32volumemonitor.c (get_connected_drives): Put questionable
463 code that didn't actually do anything inside #if 0, and add a
464 comment wondering what the code was supposed to do. This also gets
465 rid of a leftover debugging printout.
467 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
469 * gfileicon.c (g_file_icon_get_property)
470 (g_file_icon_set_property): New functions.
471 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
473 (g_file_icon_new): Use the property (bug #546132).
475 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
477 * gthemedicon.c (g_themed_icon_get_property): Also handle
478 `PROP_USE_DEFAULT_FALLBACKS'.
479 (g_themed_icon_class_init): Make
480 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
482 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
484 Bug 546371 – Improve docs re g_file_monitor
486 * gfilemonitor.c: Mention g_file_monitor() in the docs.
488 2008-08-04 Matthias Clasen <mclasen@redhat.com>
490 * === Released 2.17.6 ===
492 2008-08-04 Matthias Clasen <mclasen@redhat.com>
494 * === Released 2.17.5 ===
496 2008-08-04 Matthias Clasen <mclasen@redhat.com>
498 Bug 546017 – Don't copy attributes when copying a symlink
500 * gfile.c (g_file_copy_attributes): Specify
501 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
502 g_file_set_attributes_from_info. Patch by Christian Kellner
504 2008-08-04 Matthias Clasen <mclasen@redhat.com>
506 * gemblemedicon.[hc]:
508 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
509 a bit more extensible. Work by Clemens Buss.
511 * gioenums.h: Add GEmblemOrigin.
514 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
516 Bug 546079 – leak in xdgmime
518 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
520 2008-08-03 Tor Lillqvist <tml@novell.com>
522 * win32/gwin32directorymonitor.h
523 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
526 2008-08-03 Tor Lillqvist <tml@novell.com>
528 * win32/gwin32directorymonitor.c
529 (g_win32_directory_monitor_callback): Make prototype match
530 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
531 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
534 (g_win32_directory_monitor_constructor):
535 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
536 names in the GLib API on Windows, so convert to UTF-16 and open
539 2008-08-03 Tor Lillqvist <tml@novell.com>
541 Bug 541036 - Gnumeric crashes when trying to open Desktop or
542 user's folder under Windows
544 * win32/gwin32directorymonitor.c
545 (g_win32_directory_monitor_constructor): Ignore error from
546 CreateFile() when opening directory. Instead of asserting, just
547 store INVALID_HANDLE_VALUE then in
548 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
549 ReadDirectoryChangesW().
550 (g_win32_directory_monitor_cancel): Don't attempt to close
551 directory handle if it is INVALID_HANDLE_VALUE.
553 2008-08-01 Matthias Clasen <mclasen@redhat.com>
555 * gdesktopappinfo.c: Remove debug spew
557 2008-08-01 Hans Breuer <hans@breuer.org>
559 * makefile.msc : add gemblembedicon
561 2008-07-30 Matthias Clasen <mclasen@redhat.com>
563 Bug 545457 – gdmsetup crashed with SIGSEGV in
564 g_unix_mount_guess_should_display()
566 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
567 crash if no mount is found.
569 2008-07-28 Matthias Clasen <mclasen@redhat.com>
571 Bug 545203 – gfile.c: argument is different type.
573 * gfile.c (open_read_async_thread): Pass a GError **
574 to g_file_set_error_literal.
575 Reported by Kazuki Iwamoto
577 2008-07-28 Matthias Clasen <mclasen@redhat.com>
579 Bug 545157 – wrong/no list of "open with" applications for .cc and
582 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
583 Collect all ancestors, not just direct parents. Pointed
584 out by Bastien Nocera
586 2008-07-28 Matthias Clasen <mclasen@redhat.com>
588 * Makefile.am: Install gemblemedicon.h
590 2008-07-28 Matthias Clasen <mclasen@redhat.com>
592 * gemblemedicon.[hc]: Add a GIcon implementation that can
593 add an emblem to another icon.
600 * gfileicon.c: Small documentation additions.
602 2008-07-28 Tor Lillqvist <tml@novell.com>
604 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
607 2008-07-27 Tor Lillqvist <tml@novell.com>
609 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
611 2008-07-24 David Zeuthen <davidz@redhat.com>
615 Also export a g_mount_guess_content_type_sync() function.
617 2008-07-23 Matthias Clasen <mclasen@redhat.com>
619 529694 – SELinux context setting support
621 * gfileinfo.c: Support setting selinux attributes.
622 Patch by Tomas Bzatek
624 2008-07-22 Priit Laes <plaes@plaes.org>
626 Bug 544140 - fam-helper 64-bit issue?
628 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
630 2008-07-21 Matthias Clasen <mclasen@redhat.com>
632 * === Released 2.17.4 ===
634 2008-07-20 Matthias Clasen <mclasen@redhat.com>
636 * gvolumemonitor.[hc]:
641 * gmount.c: Documentation fixes
643 2008-07-19 Matthias Clasen <mclasen@redhat.com>
645 543504 – crash in Epiphany Web Browser: Opening local file
656 * gvolume.c: Register types thread-safely.
657 Patch by Christian Persch
659 2008-07-18 Matthias Clasen <mclasen@redhat.com>
661 * gcontenttype.c: Remove debug spew
663 2008-07-18 Matthias Clasen <mclasen@redhat.com>
665 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
668 * fen/fen-kernel.c: Remove a warning that was causing
669 crashes. Reported by Lin Ma.
671 2008-07-18 Matthias Clasen <mclasen@redhat.com>
673 Bug 543040 – async reading on dummy file will crash on
676 * gfile.c (open_read_async_thread): Cope with read_fn being
677 NULL. Reported by Lin Ma.
679 2008-07-18 Matthias Clasen <mclasen@redhat.com>
682 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
684 2008-07-16 Matthias Clasen <mclasen@redhat.com>
688 * giomodule.c: Rename a chapter id to avoid filename conflict.
690 2008-07-16 Matthias Clasen <mclasen@redhat.com>
692 Bug 540616 – mem leak in filechooser button
694 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
695 the mount entry. Reported by Chrisitan Persch
697 2008-07-16 Matthias Clasen <mclasen@redhat.com>
699 * gfile.c: Small documentation fixes.
701 2008-07-15 Matthias Clasen <mclasen@redhat.com>
703 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
705 2008-07-08 Matthias Clasen <mclasen@redhat.com>
710 * gmount.c: Documentation improvements.
712 2008-07-08 Matthias Clasen <mclasen@redhat.com>
715 * gmount.[hc]: Add g_mount_guess_content_type().
717 2008-07-06 David Zeuthen <davidz@redhat.com>
720 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
721 is needed for easily handling adoption of foreign volumes by
722 out-of-process volume monitors (#541793)
724 2008-07-06 David Zeuthen <davidz@redhat.com>
726 * gvolumemonitor.[ch]:
727 * gunionvolumemonitor.c: Export the eject-button signal on the
728 volume monitor class (#541794).
730 2008-07-06 Matthias Clasen <mclasen@redhat.com>
732 * gappinfo.c: More doc tweaks
734 2008-07-05 Matthias Clasen <mclasen@redhat.com>
736 * gappinfo.c: Clarify some docs
738 2008-07-03 Matthias Clasen <mclasen@redhat.com>
740 * gdesktopappinfo.c: Fix a stupid mistake.
742 2008-07-02 Matthias Clasen <mclasen@redhat.com>
744 * === Released 2.17.3 ===
746 2008-07-02 Matthias Clasen <mclasen@redhat.com>
748 * gfilemonitor.c: Fix the build.
750 2008-07-02 Matthias Clasen <mclasen@redhat.com>
752 Bug 536160 – Add g_file_monitor()
755 * gfile.[hc]: Add g_file_monitor which can return either
756 a file or a directory monitor. Proposed by Behdad Esfahbod
758 2008-07-02 Matthias Clasen <mclasen@redhat.com>
760 536733 – gio build failure on Irix
762 * glocalfile.c: Use a configure check for structfs.f_bavail.
764 2008-07-02 Matthias Clasen <mclasen@redhat.com>
766 Bug 534639 – add g_desktop_app_info_new_from_keyfile
769 * gdesktopappinfo.[hc]: Add a function to create a
770 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
772 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
774 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
776 2008-07-01 Matthias Clasen <mclasen@redhat.com>
778 * gunixmounts.c: Fix a doc typo.
780 2008-07-01 Cody Russell <bratsche@gnome.org>
782 * gio/gcontenttype.c:
783 * gio/gwin32appinfo.c:
784 * gio/gwin32volumemonitor.c:
785 * gio/gwin32mount.c: Fixed some include problems.
787 2008-07-01 Cody Russell <bratsche@gnome.org>
791 Moved all relevant typedefs into these files.
794 Updated wrt added files.
796 Split types into separate file for easier maintainership. (#538564)
798 2008-06-30 Matthias Clasen <mclasen@redhat.com>
800 Bug 540331 – g_file_append_to () documentation: can return NULL
802 * gfile.c (g_file_append_to): Clarify docs.
805 2008-06-30 Matthias Clasen <mclasen@redhat.com>
807 Bug 539090 – g_content_type_from_mime_type() should unalias
809 * gcontentype.c (g_content_type_from_mime_type): Unalias.
810 Patch by Markus Bergman
812 2008-06-30 Matthias Clasen <mclasen@redhat.com>
814 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
817 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
818 on ppc and alpha. Reported by Mart Raudsepp
820 2008-06-29 Matthias Clasen <mclasen@redhat.com>
823 * tests/memory-output-stream.c: Add some tests for
826 2008-06-29 Matthias Clasen <mclasen@redhat.com>
828 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
831 * gmemoryoutputstream.c (array_resize): Handle truncation to
832 zero correctly. Reported by Akira Tagoh
834 2008-06-29 Matthias Clasen <mclasen@redhat.com>
836 * gmemoryoutputstream.c: Trivial doc fixes
838 2008-06-29 Matthias Clasen <mclasen@redhat.com>
840 Bug 540802 – g_list_prepend doesn't concat lists
842 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
843 one list to another. Pointed out by Jan Arne Petersen
845 2008-06-28 Michael Natterer <mitch@imendio.com>
847 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
849 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
851 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
852 to avoid problems with partial icon themes.
854 2008-06-17 Hans Breuer <hans@breuer.org>
856 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
857 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
858 access again on win32, see bug #538127
859 * giomodule.c : ensure GWin32VolumeMonitor is registered
860 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
861 * Makefile.am makefile.msc : updated
863 2008-06-16 Hans Breuer <hans@breuer.org>
865 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
866 and initialization in one step avoids c99ism
868 2008-06-16 Christian Persch <chpe@gnome.org>
871 * gio/gbufferedinputstream.c
873 * gio/gdatainputstream.c
874 * gio/gdesktopappinfo.c
876 * gio/gfileenumerator.c
877 * gio/gfileinputstream.c
878 * gio/gfileoutputstream.c
880 * gio/glocaldirectorymonitor.c
882 * gio/glocalfileenumerator.c
883 * gio/glocalfileinfo.c
884 * gio/glocalfilemonitor.c
885 * gio/glocalfileoutputstream.c
886 * gio/gmemoryinputstream.c
887 * gio/gmemoryoutputstream.c
888 * gio/goutputstream.c
889 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
892 2008-06-16 Tor Lillqvist <tml@novell.com>
894 Bug 538362 - Get Win32 icons back in the file chooser
896 * gcontenttype.c (g_content_type_get_icon): Look up the icon
897 corresponding to a file extension in the Registry. Patch by Hans
899 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
901 2008-06-16 Tor Lillqvist <tml@novell.com>
903 Patches by Hans Breuer:
905 * glocalfile.c (is_xp_or_later): Handle compiling against older
906 SDK headers with missing VerifyVersionInfo(). Conditioned on
907 _MSC_VER, but should probably use some better test.
908 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
909 uninitialised statfs_result variable on Win32.
911 2008-06-16 Michael Natterer <mitch@imendio.com>
913 * *.c: chain up unconditionally in finalize() and dispose(). Also
914 don't dereference these function pointers when calling them since
915 that has no meaning at all.
917 2008-06-16 Ross Burton <ross@burtonini.com>
920 Remove check for dispose implementation as it annoys Emmanuele.
922 2008-06-16 Ross Burton <ross@burtonini.com>
924 Bug 536252 – GFileEnumerator should allow access to the containing
930 Add g_file_enumerator_get_container() and a container writeable
931 construct-only property. Also shuffle around typedefs to make it
934 * glocalfileenumerator.c:
935 * glocalfileenumerator.h:
937 Instead of a string filename take a GFile in the constructor and
938 use it to set the container property.
943 2008-06-16 Matthias Clasen <mclasen@redhat.com>
945 * gfile.c: Make includes more uniform
947 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
949 * tests/live-g-file.c (sample_struct):
950 Use less fancy unicode filenames, so the test doesn't fail
951 on Mac OS X (#531476).
953 2008-06-12 Matthias Clasen <mclasen@redhat.com>
955 * === Released 2.17.2 ===
957 2008-06-12 Matthias Clasen <mclasen@redhat.com>
959 * === Released 2.17.1 ===
961 2008-06-11 A. Walton <awalton@gnome.org>
963 * tests/g-file.c (test_g_file_new_null):
964 Fix broken test case.
966 2008-06-11 Matthias Clasen <mclasen@redhat.com>
968 * pltcheck.sh: We use g_clear_error now.
970 2008-06-11 Matthias Clasen <mclasen@redhat.com>
972 * glocalfile.c (g_local_file_enumerate_children): Revert
973 an unintended change.
975 2008-06-11 Matthias Clasen <mclasen@redhat.com>
977 * gfile.c (g_file_replace_contents): Don't unref before the last use.
979 2008-06-10 Matthias Clasen <mclasen@redhat.com>
981 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
984 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
985 as icon for the desktop directory, also make user-home and
986 user-desktop the preferred icons.
988 2008-06-10 Matthias Clasen <mclasen@redhat.com>
991 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
992 to add a name to the front of the list.
994 2008-06-10 Matthias Clasen <mclasen@redhat.com>
996 Bug 537392 – Additional colon in xattr name
998 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
999 too. Reported by Alessandro Morandi
1001 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1003 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1006 * glocalfile.c (get_fs_type): Add afs and autofs.
1007 Patch by Danny Baumann.
1009 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1011 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1013 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1014 is no parent. (Owen Taylor, patch by Christian Neumair)
1016 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1018 * gfile.c (g_file_replace_contents): do not leak the output stream.
1020 2008-06-10 Michael Natterer <mitch@imendio.com>
1022 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1023 uninitialized memory as array index.
1025 2008-06-10 Tor Lillqvist <tml@novell.com>
1027 * gcontenttype.c (g_content_type_can_be_executable)
1028 (g_content_type_get_icon) [Win32]: Add TODO comments.
1030 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1032 * xdgmime/Makefile.am: Fix the build
1034 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1036 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1037 in the shared mime database, if available.
1039 * xdgmime/*: Sync with upstream. This brings support for
1040 glob weights, generic icons, and changes the cache format to
1043 2008-05-28 Michael Natterer <mitch@imendio.com>
1045 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1046 the global CPPFLAGS now.
1048 * tests/data-input-stream.c
1049 * tests/data-output-stream.c
1050 * tests/g-file-info.c
1052 * tests/live-g-file.c
1053 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1055 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1057 * === Released 2.17.0 ===
1059 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1060 doesn't complain about leftover files.
1062 2008-05-27 simon.zheng <simon.zheng@sun.com>
1064 * glocalfile.c: (g_local_file_query_filesystem_info):
1065 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1067 2008-05-26 Michael Natterer <mitch@imendio.com>
1069 * gmemoryoutputstream.h: declare
1070 g_memory_output_stream_get_data_size().
1072 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1074 * tests/*: Make tests work
1076 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1078 * gio.symbols: Add g_memory_output_stream_get_data_size.
1080 2008-05-25 Ross Burton <ross@burtonini.com>
1083 Fix typo in error message (#534764).
1085 2008-05-25 Ross Burton <ross@burtonini.com>
1088 Fix circular dependency loop for gioenumtypes.h (#534759).
1090 2008-05-19 Hans Breuer <hans@breuer.org>
1092 * Makefile.am : EXTRA_DIST += makefile.msc
1094 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1097 * gcontenttype.c: (g_content_type_from_mime_type):
1098 New function to create a content type from a mime type. (#527175,
1101 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1103 Bug 532965 – Should not return filesystem::free for certain file systems
1105 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1106 free space for ncpfs.
1108 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1110 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1112 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1113 st_dev might be zero.
1115 2008-05-16 Tor Lillqvist <tml@novell.com>
1117 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1118 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1120 2008-05-13 Bastien Nocera <hadess@hadess.net>
1122 * gfile.c (has_valid_scheme): A URI scheme must start with a
1123 letter, even if later more characters are allowed (#532852)
1125 2008-05-05 Michael Natterer <mitch@imendio.com>
1127 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1128 code from being checked in that breaks the build of applications
1129 which use G_DISABLE_SINGLE_INCLUDES.
1131 * makegioalias.pl: make the alias file include "glib.h" instead of
1134 * gio.symbols: whitespace change to force regeneration of the
1135 alias file after above script change.
1137 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1139 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1141 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1143 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1145 2008-04-28 David Zeuthen <davidz@redhat.com>
1147 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1148 displaying mounts in a subdirectory not accessible to the
1151 2008-04-22 Michael Natterer <mitch@imendio.com>
1153 * Makefile.am: fix library versioning (it was 0.0.0).
1155 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1157 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1158 Default disable all loggings.
1159 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1160 (port_fetch_event_cb): Fixed two macro nits.
1162 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1164 * xdgmime/xdgmime.c: Rework the timestamp checking code
1165 to protect against duplicate directories in XDG_DATA_DIRS.
1166 Fixes fd.o bug 12513, reported by Joe Shaw.
1168 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1170 Partically revert the last commit after realizing that
1171 xdg_mime_media_type_equal doesn't have to init at all.
1173 * xdgmime/xdgmime.h:
1174 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1176 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1178 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1180 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1181 reported by Joe Shaw and Federico Mena Quintero.
1183 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1184 (xdg_mime_media_type_equal): Turn into a wrapper around the
1187 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1188 functions throughout.
1190 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1192 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1193 tolerate an empty TryExec= line without failing; nautilus used
1194 to create launchers with these in previous versions. Fixes #528433
1196 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1198 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1199 after name. Fixes #527132.
1201 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1203 * gfile.c: (g_file_replace):
1206 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1208 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1210 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1211 by Christian Kellner.
1213 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1215 * gunixmounts.c: (g_unix_mount_guess_should_display):
1216 Don't list the user directory as a mount, fix potential issue
1217 when other users have a similar naming and don't special case the
1218 gvfs mounts there since that's not required (#525866)
1220 2008-03-31 Alexander Larsson <alexl@redhat.com>
1222 * glocalfile.c (get_parent):
1225 2008-03-31 A. Walton <awalton@svn.gnome.org>
1227 * gfile.c (g_file_query_file_type):
1228 Always return a GFileType enum value (#520715).
1230 2008-03-31 Alexander Larsson <alexl@redhat.com>
1232 * glocalfileenumerator.c:
1233 Read readdir() info in chunks (of 1000) and sort
1234 the chunks by inode before stat:ing.
1235 This is a 20% performance increase in testing
1236 gvfs-ls on /usr/bin with cold cache.
1238 2008-03-31 Alexander Larsson <alexl@redhat.com>
1240 * gmemoryoutputstream.c:
1241 Clarify docs for g_memory_output_stream_get_size.
1242 Add g_memory_output_stream_get_data_size.
1244 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1248 * gfile.h: Add g_file_query_file_type convenience function
1249 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1251 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1253 * gfileenumerator.c:
1254 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1256 2008-03-28 A. Walton <awalton@svn.gnome.org>
1258 * giomodule.c (_g_io_modules_ensure_loaded):
1259 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1262 2008-03-28 Alexander Larsson <alexl@redhat.com>
1265 (copy_stream_with_progress):
1268 2008-03-28 Alexander Larsson <alexl@redhat.com>
1271 (copy_stream_with_progress):
1272 (file_copy_fallback):
1273 Fallback to g_file_query_info for source size
1274 if g_file_input_stream_query_info fails. (#524579)
1276 2008-03-28 Alexander Larsson <alexl@redhat.com>
1278 * glocalfile.c (g_local_file_move):
1279 Reuse old string instead of adding new one.
1281 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1283 * fen/*.[hc]: still copyright issue. I hate copyright.
1285 2008-03-27 Alexander Larsson <alexl@redhat.com>
1287 * glocalfile.c (g_local_file_move):
1288 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1289 file over directory. This is according to the docs and what the move via
1290 copy+remove fallback does.
1292 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1294 * fen/*.[hc]: Updated copyright.
1296 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1298 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1300 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1302 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1303 not emit attribute changed events when optimizing changed events.
1304 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1307 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1309 * gmountoperation.[hc]: Small documentation additions
1311 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1313 * gunixmounts.c: (guess_mount_type):
1314 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1316 2008-03-19 Alexander Larsson <alexl@redhat.com>
1319 (copy_stream_with_progress):
1320 Bump block side for copy to 64k to minimize
1321 overhead for low latency links. (#523015)
1323 2008-03-16 Tor Lillqvist <tml@novell.com>
1325 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1326 depend on gio.def on Windows.
1328 2008-03-12 David Zeuthen <davidz@redhat.com>
1332 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1334 2008-03-14 Alexander Larsson <alexl@redhat.com>
1338 Avoid redudant tests (#521851)
1339 Patch from Josselin Mouette
1341 2008-03-14 Alexander Larsson <alexl@redhat.com>
1344 (g_file_monitor_is_cancelled):
1345 Fix C89 issue (#521672)
1346 Patch from Jens Granseuer
1348 2008-03-14 Alexander Larsson <alexl@redhat.com>
1350 * fam/fam-helper.[ch]:
1352 Shut down fam (including removing fam GSource) when
1353 module is unloaded (#521513)
1354 Patch from Joe Marcus Clarke
1356 2008-03-14 Alexander Larsson <alexl@redhat.com>
1359 (_g_io_modules_ensure_loaded):
1362 2008-03-14 Alexander Larsson <alexl@redhat.com>
1365 (g_local_file_query_filesystem_info):
1366 Use right define name for f_fstypename member check
1368 2008-03-14 Alexander Larsson <alexl@redhat.com>
1371 * fen/Makefile.am: Added.
1372 * fen/fen-data.[ch]: Added.
1373 * fen/fen-dump.[ch]: Added.
1374 * fen/fen-helper.[ch]: Added.
1375 * fen/fen-kernel.[ch]: Added.
1376 * fen/fen-missing.[ch]: Added.
1377 * fen/fen-node.[ch]: Added.
1378 * fen/fen-sub.[ch]: Added.
1379 * fen/gfendirectorymonitor.[ch]: Added.
1380 * fen/gfenfilemonitor.[ch]: Added.
1382 Added Solaris FEN file notification backend.
1383 Patch from Lin Ma <Lin.Ma@Sun.COM>
1385 2008-03-13 Tor Lillqvist <tml@novell.com>
1387 * Makefile.am: Actually use the gio.def file when linking the
1388 library on Windows. Produce .lib library for Microsoft's toolchain
1389 when possible. Install the .lib and .def file like for the other
1392 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1394 * tests/live-g-file.c:
1395 Include live-g-file in standard set of tests, making a temporary
1396 directory in source structure.
1398 Clean target directory before the tests (write mode only)
1400 2008-03-12 Tor Lillqvist <tml@novell.com>
1402 Bug 517419 - gio win32 directory monitor
1403 Implementation by Vlad Grecescu.
1406 * win32/gwin32directorymonitor.h
1407 * win32/gwin32directorymonitor.c: New files.
1409 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1411 * Makefile.am: Add the win32 subdirectory.
1413 2008-03-12 Tor Lillqvist <tml@novell.com>
1415 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1416 normal struct stat on Unix but struct _stati64 on Windows to have
1417 access to 64-bit file size information. Use that instead of struct
1418 stat in the functions declared here in this private header.
1420 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1421 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1422 warnings about unused functions and variables. Don't set
1423 meaningless attributes like inode numbers on Windows.
1425 2008-03-12 Benjamin Otte <otte@gnome.org>
1428 trim whitespace so gtk-doc groks the function name
1430 2008-03-12 Tor Lillqvist <tml@novell.com>
1432 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1433 returning FALSE, on Win32.
1435 2008-03-11 Alexander Larsson <alexl@redhat.com>
1438 * glocalfileinfo.[ch]:
1439 Correctly implement can_trash by actually
1440 looking for a trash dir, not just assuming
1443 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1445 * === Released 2.16.1 ===
1447 2008-03-11 Alexander Larsson <alexl@redhat.com>
1450 Fix crashes in new constructor and properties code
1452 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1454 * gfile.c: Minor spelling correction in documentation:
1455 existance -> existence.
1457 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1459 * === Released 2.16.0 ===
1461 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1463 * gio.symbols: Remove g_file_contains_file here, too.
1465 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1467 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1468 Samuel Cormier-Iijima)
1470 2008-03-08 Tor Lillqvist <tml@novell.com>
1472 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1475 2008-03-07 Alexander Larsson <alexl@redhat.com>
1478 (g_local_file_query_filesystem_info):
1479 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1480 Patch from Jasper Lievisse Adriaanse
1482 2008-03-06 Tor Lillqvist <tml@novell.com>
1484 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1485 comments for the *_USEC attributes.
1487 2008-03-06 Alexander Larsson <alexl@redhat.com>
1489 * gfile.c (g_file_query_exists):
1490 Add g_return_val_if_fail check (#520700)
1492 2008-03-06 Alexander Larsson <alexl@redhat.com>
1494 * gdesktopappinfo.c:
1497 * gunionvolumemonitor.c:
1500 * tests/live-g-file.c:
1501 * xdgmime/xdgmimecache.c:
1502 Fix sparse warnings (#519489)
1504 2008-03-05 Alexander Larsson <alexl@redhat.com>
1507 Make cancellation threadsafe (i.e.
1508 guarantee its only done once, and always
1511 * glocaldirectorymonitor.c:
1512 Make sure we the monitor lives while the
1513 mounts_changed callback is being called (#520484)
1515 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1517 * gbufferedinputstream.c: Fix typo in parameter
1520 2008-03-04 Alexander Larsson <alexl@redhat.com>
1523 Remove deprecated symbols we kept for one release.
1525 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1528 * goutputstream.c: Tiny documentation corrections.
1530 2008-03-03 Alexander Larsson <alexl@redhat.com>
1532 * gunionvolumemonitor.c:
1534 Fix the adopt_orphan_mount vfunc to take a
1535 volume_monitor reference in an ABI compat way.
1536 This change is not API compat, but the added
1537 arg is not used in the only user of this vfunc, so
1538 all we get is a harmless warning in gvfs (#520169)
1540 2008-03-01 Benjamin Otte <otte@gnome.org>
1543 clarify docs for g_file_delete().
1545 2008-02-29 Alexander Larsson <alexl@redhat.com>
1549 Make sure empty files get text/plain type (#518720)
1551 2008-02-27 Alexander Larsson <alexl@redhat.com>
1557 (g_unix_volume_mount):
1558 Add missing GMountMountFlags argument
1560 2008-02-26 Alexander Larsson <alexl@redhat.com>
1563 (g_local_file_delete):
1564 Handle filesystems (like ntfs-3g) that return EEXIST instead
1565 of ENOTEMPTY (#518816)
1567 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1569 * === Released 2.15.6 ===
1571 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1573 * gfile.c (g_file_find_enclosing_mount):
1574 * ginputstream.c (g_input_stream_set_pending):
1575 * glocalfile.c (g_local_file_find_enclosing_mount):
1576 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1577 * goutputstream.c (g_output_stream_set_pending):
1579 Fixup translator comments (#518578).
1581 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1583 * gfile.c (g_file_find_enclosing_mount):
1585 * glocalfile.c (g_local_file_find_enclosing_mount):
1588 Fix a few typos in translator comments and documentation.
1590 2008-02-25 Alexander Larsson <alexl@redhat.com>
1597 Add translator comments (#518578)
1599 2008-02-25 Alexander Larsson <alexl@redhat.com>
1602 Reintroduce g_file_contains_file, keep around for one
1603 unstable release cycle to avoid crashing to many apps.
1604 Make sure to delete after release.
1606 2008-02-25 Alexander Larsson <alexl@redhat.com>
1609 Remove deprecated g_file_contains_file.
1611 2008-02-25 Alexander Larsson <alexl@redhat.com>
1614 Emit actual change signals in an idle handler.
1615 This avoids reentrance and locking problems in
1616 the file notification backends.
1618 2008-02-25 Alexander Larsson <alexl@redhat.com>
1621 (g_unix_mount_guess_should_display):
1622 Remove type guessing, instead just display
1623 mounts in /media and in ~/.
1625 2008-02-25 Alexander Larsson <alexl@redhat.com>
1628 Make new strings reuse old ones.
1630 2008-02-25 Alexander Larsson <alexl@redhat.com>
1633 Implement trashing and filesystem::readonly for win32 (#517235)
1634 Patch from Yevgen Muntyan
1636 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1638 * gfileinfo.h: Documentation fixes.
1640 2008-02-22 Alexander Larsson <alexl@redhat.com>
1642 * gcontenttype.c (g_content_type_get_icon):
1643 Look at old-style gnome mime icon names too, as many
1644 have not moved to the new style.
1646 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1648 * *.c: Correct the @include in for section docs.
1650 2008-02-21 David Zeuthen <davidz@redhat.com>
1652 * glocalfileinfo.c: (_g_local_file_info_get):
1654 (g_content_type_get_icon): Implement this function by
1655 moving bits from glocalfileinfo.c
1656 (g_content_type_get_description): Unalias before getting
1657 description (#517687)
1659 * gfile.c: (g_file_class_init),
1660 (g_file_query_filesystem_info_async),
1661 (g_file_query_filesystem_info_finish),
1662 (query_filesystem_info_data_free),
1663 (query_filesystem_info_async_thread),
1664 (g_file_real_query_filesystem_info_async),
1665 (g_file_real_query_filesystem_info_finish):
1666 * gfile.h: Implement async version of
1667 g_file_query_filesystem_info()
1669 * gfileinfo.h: Add new attributes for filesystem::use-preview
1671 * gio.symbols: Update
1673 * gthemedicon.c: (g_themed_icon_append_name):
1674 * gthemedicon.h: Add new new convenience function.
1676 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1677 (get_mounts), (get_volumes), (get_connected_drives),
1678 (get_volume_for_uuid), (get_mount_for_uuid),
1679 (g_union_volume_monitor_init), (populate_union_monitor),
1680 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1681 (g_volume_monitor_adopt_orphan_mount):
1683 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1684 monitor implementations to call into the main volume monitor. Also
1685 separate object initialization and volume monitor initialization
1686 such that non-native volume monitors can properly adopt their
1689 2008-02-21 Alexander Larsson <alexl@redhat.com>
1694 2008-02-21 Alexander Larsson <alexl@redhat.com>
1697 Add more documentation about how GFiles work (from #517086)
1699 2008-02-21 Alexander Larsson <alexl@redhat.com>
1703 Add new g_file_has_prefix that does the same as g_file_contains_file.
1704 Deprecate g_file_contains_file and add a macro that converts
1705 it to g_file_has_prefix.
1706 The reason for this change is that the contains_file() name seems to
1707 imply that this does more work than what it does, but its really only
1708 a name match (from #517086)
1713 Update to match the above change.
1715 2008-02-20 Benjamin Otte <otte@gnome.org>
1717 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1718 (g_file_eject_mountable):
1719 even more cases of not returning in error path
1721 2008-02-20 Benjamin Otte <otte@gnome.org>
1723 * gfile.c: (g_file_mount_mountable):
1724 return from function in error path.
1726 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1729 Remove trailing coma in GMountMountFlags struct
1731 2008-02-18 Alexander Larsson <alexl@redhat.com>
1735 * glocalfileoutputstream.c:
1736 Use g_unlink/g_rename instead of unlink/rename;
1737 do not pass raw filenames to g_set_error. (#517239)
1738 Patch from Yevgen Muntyan.
1740 2008-02-18 Alexander Larsson <alexl@redhat.com>
1743 * glocalfileoutputstream.c:
1744 Open files with O_BINARY on windows. (#517140)
1746 2008-02-14 Alexander Larsson <alexl@redhat.com>
1748 * glocalfileoutputstream.c:
1749 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1751 2008-02-14 Alexander Larsson <alexl@redhat.com>
1754 Copy permissions with file on copy (#514084)
1755 This is what cp does and makes sure e.g. the
1756 exec permissions are kept.
1757 Its kinda weird in that it keeps the permission bits
1758 the same while the uid and gid are different. However
1759 the new uid is the user so its not a security issue,
1760 and I've heard no complaints about cp on this issue.
1762 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1764 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1766 2008-02-13 Alexander Larsson <alexl@redhat.com>
1768 * inotify/inotify-path.c:
1769 Define IN_ONLYDIR if not in header (#515346)
1771 2008-02-12 Alexander Larsson <alexl@redhat.com>
1773 * tests/live-g-file.c:
1776 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1778 * === Released 2.15.5 ===
1780 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1782 * gio.symbols: Add g_mount_mount_flags_get_type.
1784 2008-02-11 Alexander Larsson <alexl@redhat.com>
1787 (g_file_info_set_attribute_mask):
1788 (g_file_attribute_matcher_matches_id):
1789 Correctly handle NULL GAttributeMatcher meaning
1790 matches nothing. (Fixes #513492)
1792 2008-02-11 Alexander Larsson <alexl@redhat.com>
1797 Added GMountMountFlags enum and added a flags
1798 argument to all mount calls.
1800 This is an API/ABI change for future extensibility,
1801 as I think we will need at least an
1802 inhibit-autorun flag (the panel needs this).
1803 There are no flags defined yet though.
1805 2008-02-11 Alexander Larsson <alexl@redhat.com>
1808 Added new standard::description attribute.
1809 Requested by Vincent, and useful for both
1812 2008-02-11 Alexander Larsson <alexl@redhat.com>
1814 * gdesktopappinfo.c:
1817 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1819 * *.c: Documentation additions
1821 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1823 * gappinfo.h: Formatting cleanup
1824 * gappinfo.c: Fix up docs.
1826 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1828 * gunixmounts.c: Consistently use getmntent_r() and fall
1829 back to getmntent(). (#515492)
1831 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1833 * gbufferedinputstream.c:
1835 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1837 * tests/data-input-stream.c:
1838 * tests/data-output-stream.c: Portability fixes.
1840 2008-02-08 Alexander Larsson <alexl@redhat.com>
1845 Add g_volume_should_automount.
1848 2008-02-07 Tor Lillqvist <tml@novell.com>
1850 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1851 Win32, too Unix-specific.
1853 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1855 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1856 a local plt if the compiler doesn't support what we want. Bug #514702
1858 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1860 reviewed by: <delete if not using a buddy>
1863 * gunixinputstream.c:
1864 * gunixoutputstream.c:
1866 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1868 * tests/Makefile.am:
1869 * tests/live-g-file.c:
1870 * tests/live-g-file.txt:
1871 New GIO testing module working over real data
1873 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1875 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1876 Fallback to rename() if link() is not available
1877 (when no support on target filesystem)
1879 2008-02-06 Michael Natterer <mitch@imendio.com>
1881 * gfileinfo.c (g_file_info_get_icon): replace
1882 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1884 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1886 * gfile.c (g_file_create):
1887 Documentation update of error codes
1889 2008-02-06 Alexander Larsson <alexl@redhat.com>
1891 * gdesktopappinfo.c:
1892 Update to use both mimeapps.list and
1893 defaults.list as discussed on xdg list.
1895 2008-02-06 Benjamin Otte <otte@gnome.org>
1898 * gfilenamecompleter.c:
1899 Fix some typos in the documentation.
1901 2008-02-06 Alexander Larsson <alexl@redhat.com>
1903 * glocalfile.c (g_local_file_trash):
1904 Don't succeed with trash if newly created
1905 trash dir has the wrong owner. (#514696)
1907 2008-02-05 Alexander Larsson <alexl@redhat.com>
1909 * glocalfile.c (g_local_file_move):
1910 Don't spew warnings when destination is not
1913 2008-02-03 Hans Breuer <hans@breuer.org>
1915 * makefile.msc : update
1917 2008-02-01 Michael Natterer <mitch@imendio.com>
1919 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1920 return value of xdg_mime_list_mime_parents() to a variable of the
1923 2008-02-01 Alexander Larsson <alexl@redhat.com>
1925 * gappinfo.c (g_app_info_launch_uris):
1926 Actually call the launch_uris method, not
1929 2008-02-01 Alexander Larsson <alexl@redhat.com>
1931 * gdesktopappinfo.c (g_desktop_app_info_equal):
1932 Ensure appinfos with no id but same pointer value
1935 2008-02-01 Alexander Larsson <alexl@redhat.com>
1937 * gappinfo.c (g_app_info_launch_default_for_uri):
1940 2008-02-01 Alexander Larsson <alexl@redhat.com>
1944 Add g_app_info_launch_default_for_uri utility
1947 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1949 * gdesktopappinfo.c:
1950 Doc fix for g_app_info_get_default_for_uri_scheme ()
1953 2008-01-30 Alexander Larsson <alexl@redhat.com>
1956 Add doc comment about uris vs GFiles to
1959 * gdesktopappinfo.c:
1960 Ensure uris passed to g_app_info_launch_uris()
1961 are not roundtriped through GFile (as that
1962 may be slightly destructive for e.g. mailto: links)
1964 2008-01-30 Alexander Larsson <alexl@redhat.com>
1966 * tests/data-input-stream.c:
1967 * tests/data-output-stream.c:
1968 C89 fixes from Jens Granseuer (#512849)
1970 2008-01-30 Alexander Larsson <alexl@redhat.com>
1973 Fix gamin/fam difference build issue. (#509419)
1975 2008-01-29 Alexander Larsson <alexl@redhat.com>
1978 * gdesktopappinfo.c:
1979 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1981 2008-01-29 Alexander Larsson <alexl@redhat.com>
1983 * gdesktopappinfo.c:
1984 * gdesktopappinfo.h:
1985 giomodule-priv.h include moved to .c file.
1987 2008-01-29 Alexander Larsson <alexl@redhat.com>
1989 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1990 Remove unused prio/name fields.
1992 2008-01-29 Alexander Larsson <alexl@redhat.com>
1994 * gcontenttype.c (looks_like_text):
1995 Don't treat whitespace as control chars.
1997 2008-01-29 Alexander Larsson <alexl@redhat.com>
1999 * gdesktopappinfo.c:
2000 Lazily create the desktop files for appinfos created
2001 by g_app_info_create_from_commandline() when needed
2002 for mime associations. This allows run-time use
2003 of GAppInfo object without creating unnecessary
2006 2008-01-29 Alexander Larsson <alexl@redhat.com>
2009 Added new symbols to gio.symbols
2011 2008-01-29 Alexander Larsson <alexl@redhat.com>
2014 Add g_file_query_default_handler utility to easily look up
2015 the GAppInfo that handles a file.
2017 * gdesktopappinfo.[ch]:
2019 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2022 Remove unused function
2024 2008-01-29 Alexander Larsson <alexl@redhat.com>
2026 * gfileenumerator.c:
2027 Mention need to free returned value in
2028 g_file_enumerator_next_files_finish docs.
2029 Fix leak if g_file_enumerator_next_files_finish()
2032 2008-01-29 Alexander Larsson <alexl@redhat.com>
2035 (_g_unix_content_type_get_parents):
2036 Use list_parents, not get_parents from xdgmime, because
2037 the later doesn't use the cache.
2039 * xdgmime/xdgmimecache.c:
2040 (_xdg_mime_cache_list_mime_parents):
2041 Don't list the same type as parent multiple times.
2043 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2045 * === Released 2.15.4 ===
2047 2008-01-28 Alexander Larsson <alexl@redhat.com>
2050 Register local vfs with prio 0.
2053 Remove old name and prio class members
2055 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2057 * tests/g-file.c: Disable some tests that are failing in
2058 the absence of a http backend.
2060 2008-01-28 Alexander Larsson <alexl@redhat.com>
2064 Add registration hooks for extension points.
2065 Register the gio extension points.
2067 * fam/gfamdirectorymonitor.c:
2068 * fam/gfamfilemonitor.c:
2069 * glocaldirectorymonitor.[ch]:
2070 * glocalfilemonitor.[ch]:
2071 * gnativevolumemonitor.h:
2072 * gunionvolumemonitor.c:
2073 * gunixvolumemonitor.c:
2076 * inotify/ginotifydirectorymonitor.c:
2077 * inotify/ginotifyfilemonitor.c:
2078 Use the extension points registration instead
2079 of g_type_children().
2081 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2084 * gvolume.[hc]: Document new API.
2086 * gfile.c (g_file_copy_async): Fix docs
2088 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2090 * gbufferedinputstream.c:
2092 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2095 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2097 * glocalfile.c: Avoid trivial differences in translatable strings.
2099 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2101 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2102 build with gcc 3.4 (#509419)
2104 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2106 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2107 (#509994, Murray Cumming)
2109 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2111 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2112 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2113 this allows big jobs to be executed in chunks, instead of blocking
2114 the main loop for a long time.
2116 * gsimpleasyncresult.c:
2117 * giofile.c: Adapt callers.
2119 2008-01-25 Alexander Larsson <alexl@redhat.com>
2121 * gdesktopappinfo.c:
2122 Implement changes discussed on xdg list.
2123 Now we can add supported mimetypes by just using defaults.list
2124 We can also remove associations in defaults.list.
2126 2008-01-25 Alexander Larsson <alexl@redhat.com>
2128 * gdesktopappinfo.c:
2129 Don't make local copy of desktop file
2130 for mimetype changes if the file already
2131 supports the new mimetype.
2133 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2137 * gbufferedinputstream.c:
2138 * glocalfile.c: String improvements. (#511966,
2139 Theppitak Karoonboonyanan)
2141 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2143 * gioscheduler.h: Expand docs a bit.
2145 2008-01-24 Alexander Larsson <alexl@redhat.com>
2148 Add g_drive_get_identifier and
2149 g_drive_enumerate_identifiers
2152 Add g_volume_get_identifier and
2153 g_volume_enumerate_identifiers
2159 Implement identifiers for unix backend
2161 2008-01-24 Alexander Larsson <alexl@redhat.com>
2166 Add g_file_copy_async() (#511580)
2167 Based on patch from Carlos Garcia Campos
2169 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2171 * gioscheduler.c: Some documentation additions.
2173 2008-01-22 Alexander Larsson <alexl@redhat.com>
2175 * gdesktopappinfo.c:
2176 (g_desktop_app_info_new):
2177 Don't leak basename.
2179 2008-01-22 Alexander Larsson <alexl@redhat.com>
2181 * gdesktopappinfo.c:
2182 (g_desktop_app_info_new_from_filename):
2185 2008-01-22 Alexander Larsson <alexl@redhat.com>
2187 * glocalfileinfo.c (get_thumbnail_attributes):
2190 2008-01-22 Alexander Larsson <alexl@redhat.com>
2193 (canonicalize_filename):
2194 Canonicalize paths that start with more than
2198 (compare_two_files):
2199 (test_g_file_new_for_path):
2202 2008-01-22 Alexander Larsson <alexl@redhat.com>
2205 Allow UTF-8 in file:// parse names.
2207 * tests/Makefile.am:
2208 * tests/data-input-stream.c:
2209 * tests/data-output-stream.c:
2210 * tests/g-file-info.c:
2212 Added a bunch of tests from Tomas Bzatek
2214 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2216 * === Released 2.15.3 ===
2218 2008-01-21 Alexander Larsson <alexl@redhat.com>
2220 * gfileinputstream.[ch]:
2221 * gfileoutputstream.[ch]:
2223 Remove duplicated GSeekable functions. (#509990)
2224 Just use the g_seekable_xxx() calls instead.
2226 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2229 * gvolumemanager.c: Whitespace cleanups.
2231 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2232 Use the right mode when creating the file.
2234 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2236 * gfileenumerator.c:
2237 * gfileinputstream.c:
2239 * goutputstream.c: Documentation: Fixed minor typos
2240 and added more mentions of specific _finish() functions.
2242 2008-01-21 Alexander Larsson <alexl@redhat.com>
2244 * inotify/Makefile.am:
2245 * inotify/inotify-helper.c:
2246 * inotify/inotify-kernel.c:
2247 * inotify/inotify-path.c:
2248 * inotify/local_inotify.h: Removed.
2249 * inotify/local_inotify_syscalls.h: Removed.
2250 Removed the included copies of the inotify
2251 headers. We now only use the <sys/inotify.h>
2252 header which exists on modern systems.
2253 This fixes problems on ARM and SH5 (#510448)
2254 but is also generally much cleaner and future
2255 safe. For instance, if other OSes add support
2256 for inotify it should "just work".
2258 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2260 * inotify/*.c: Coding style fixes.
2261 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2262 for the 1/4 Hz timer.
2264 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2267 * gfilemonitor.[hc]:
2268 * gmemoryinputstream.c:
2269 * gmemoryoutputstream.c:
2270 * gmountoperation.c:
2271 * gthemedicon.c: Documentation updates
2273 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2275 * gfile.c: documentation: Fixed more minor
2278 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2280 * gmount.c: (g_mount_remount): documentation:
2281 Mention g_mount_remount_finish() instead of
2282 g_mount_unmount_finish().
2284 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2288 * gfile.c: Fixed some minor typos in the
2291 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2293 * gio/gvolumemonitor.c:
2294 (g_volume_monitor_get_connected_drives):
2295 (g_volume_monitor_get_volumes):
2296 (g_volume_monitor_get_mounts): Documentation:
2297 Clarify the ownership of the regurn GLists.
2299 2008-01-17 Alexander Larsson <alexl@redhat.com>
2302 Add the async find_enclosing_mount version
2303 to the header file too.
2305 2008-01-17 Alexander Larsson <alexl@redhat.com>
2308 Add async version of find_enclosing_mount
2309 with default implementation.
2311 2008-01-17 Alexander Larsson <alexl@redhat.com>
2316 Allow calls to implementation of copy and write
2317 even if the type of the file implementations is
2318 different. This can be used to implement native
2319 upload and download calls in a vfs.
2322 (g_local_file_move):
2323 Protect against the case where move is called
2324 with one file not being local.
2326 Make sure we call the progress callback once
2327 in the native move operation so that the caller
2328 knows how many bytes were copied.
2330 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2333 * gdatainputstream.c:
2335 * gfileoutputstream.c:
2340 * gunixmounts.c: Corrected some typos in the documentation:
2341 occured -> occurred.
2342 its -> it's (where appropriate).
2344 2008-01-16 Alexander Larsson <alexl@redhat.com>
2348 Add g_file_query_exists (#508771)
2350 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2355 * gvolume.c: For async functions that have no non-async
2356 version, document that the GAsyncReadyCallback may be NULL.
2359 2008-01-15 Alexander Larsson <alexl@redhat.com>
2361 * gmemoryinputstream.c:
2362 * gmemoryoutputstream.c:
2363 Don't do pointer arithmetic on void * (#508602)
2364 Patch from Kazuki IWAMOTO
2366 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2368 * === Released 2.15.2 ===
2370 2008-01-14 Alexander Larsson <alexl@redhat.com>
2372 * gfile.c (g_file_monitor_file):
2373 Don't set error here, since we fallback to polling monitor.
2375 2008-01-14 Alexander Larsson <alexl@redhat.com>
2378 (g_file_monitor_directory):
2379 (g_file_monitor_file):
2380 Add GError to file monitor calls
2382 * glocaldirectorymonitor.c:
2383 * glocaldirectorymonitor.h:
2385 * glocalfilemonitor.c:
2386 * glocalfilemonitor.h:
2388 Update for above change
2390 2008-01-14 Alexander Larsson <alexl@redhat.com>
2394 Handle root correctly in g_file_get_relative_path (#508719)
2396 2008-01-14 Alexander Larsson <alexl@redhat.com>
2399 Clean up docs and example for GAsyncResult (#508074)
2401 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2403 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2404 and correct some spelling mistakes. Bug #508108.
2406 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2408 * glocalfileinfo.c: Add a comment.
2410 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2412 * gfileinfo.c: GFileInfo description: Mention
2413 how to actually set attributes in a GFile and how to discover
2414 which attributes are settable. Bug #508378.
2416 2008-01-10 A. Walton <awalton@svn.gnome.org>
2418 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2419 (g_app_info_get_default_for_type):
2420 Check for NULL content types.
2422 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2424 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2426 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2428 * gfile.c: *_async() functions: Several small corrections
2429 to the documentation, mostly correcting copy/paste errors
2430 and improving some sentences.
2432 2008-01-09 Dan Winship <danw@gnome.org>
2434 * glocalfile.c (get_unique_filename): x86_64 fix
2436 2008-01-09 Alexander Larsson <alexl@redhat.com>
2441 Add g_unix_mount_guess_should_display and use
2442 for unix volume monitor backend.
2443 This means we more or less show what the
2444 gnome-vfs backend did.
2445 Based on patch from Padraig O'Briain
2447 2008-01-09 Alexander Larsson <alexl@redhat.com>
2451 Add g_themed_icon_new_with_default_fallbacks
2454 Use default fallbacks for icons
2456 2008-01-09 Alexander Larsson <alexl@redhat.com>
2459 * gmountoperation.[ch]:
2460 Change the API a bit so that unhandled methods
2461 get reported via the reply, rather than by
2462 the signal emission return value. This is because
2463 some handlers can't know this immediately without
2464 doing I/O, and this is an async operation that
2467 2008-01-09 Alexander Larsson <alexl@redhat.com>
2470 * fam/gfamdirectorymonitor.c:
2471 * fam/gfamfilemonitor.c:
2472 Fix double free crash (#508224)
2473 Patch from Joe Marcus Clarke
2475 008-01-07 Matthias Clasen <mclasen@redhat.com>
2477 * === Released 2.15.1 ===
2479 2008-01-07 Alexander Larsson <alexl@redhat.com>
2481 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2482 Fix warning (#507835)
2484 2008-01-07 Alexander Larsson <alexl@redhat.com>
2487 Pass --internal to glib-genmarshal
2490 * gmountoperation.c:
2492 Use better types for signal arguments (#507822)
2494 2008-01-07 Alexander Larsson <alexl@redhat.com>
2497 Build test subdir after .
2498 Remove gdirectorymonitor.[ch]
2500 * gdirectorymonitor.[ch]:
2504 Remove GDirectoryMonitor and make
2505 GFileMonitor the baseclass for both file and
2506 directory monitors. Lift the more generic
2507 rate limiting code from GDirectoryMonitor
2511 * fam/gfamdirectorymonitor.[ch]:
2512 * inotify/ginotifydirectorymonitor.[ch]:
2513 * inotify/inotify-helper.c:
2514 * glocaldirectorymonitor.[ch]:
2517 Update for the removed GDirectoryMonitor.
2519 * gmemoryoutputstream.c:
2520 Remove ununsed variable
2522 2008-01-07 Alexander Larsson <alexl@redhat.com>
2524 * gmemoryinputstream.c:
2525 Translate error strings
2528 * gmemoryoutputstream.[ch]:
2529 New implementation that avoids using GByteArray
2530 in implementation and API. (#506377)
2532 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2534 * tests/*: Add a test for memory input streams.
2536 * Makefile.am: Add tests to SUBDIRS.
2538 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2540 * glocalfilemonitor.c:
2541 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2544 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2546 * gdesktopappinfo.c: Fix a docs typo.
2548 * gfileattribute.c: Add information about extended attributes
2549 to the documentation. (#505058)
2551 2008-01-04 Alexander Larsson <alexl@redhat.com>
2554 * gmountoperation.c:
2555 Use the right type (uint) for the ask_password signal.
2557 2008-01-04 Alexander Larsson <alexl@redhat.com>
2562 Add g_app_info_supports_files()
2563 Remove desktop arg from g_app_info_should_show().
2565 * gdesktopappinfo.[ch]:
2566 Implement g_app_info_supports_files() and new should_show()
2567 Add g_desktop_app_info_set_desktop_env() to set the desktop
2568 for should_show(). (This will be set by gtk+ later)
2570 2008-01-04 Alexander Larsson <alexl@redhat.com>
2573 * gmemoryinputstream.[ch]:
2574 Improve API so that you can use multiple chunks
2575 of memory and custom destroy functions. (#506374)
2577 2008-01-03 Alexander Larsson <alexl@redhat.com>
2580 Handle NULL attribute matchers safely, as we return this
2581 for empty attribute matcher strings.
2583 2008-01-03 Alexander Larsson <alexl@redhat.com>
2585 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2586 Add /usr/local to list of internal mountpoints
2588 2008-01-03 Alexander Larsson <alexl@redhat.com>
2591 Check for HAVE_LCHOWN (#505887)
2593 2008-01-03 Alexander Larsson <alexl@redhat.com>
2597 Add define for selinux context attribute.
2598 Fix missing : -> :: namespace separator change
2599 Fix missing _ -> - name change for xattr-sys.
2602 2008-01-03 Alexander Larsson <alexl@redhat.com>
2605 Link to libglib and libgobject directly (#504879)
2606 Patch from Sebastien Bacher
2608 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2610 * gfile.c: Expanded the g_file_new_for_commandline_arg
2611 description a bit, based on the code and the docs of the
2612 other g_file_new_for_* functions.
2614 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2616 * gfilemonitor.h: Fixed typo in docs.
2618 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2620 Updates to GIO documentation. (#506395, Mikael Hermansson)
2622 * gcontenttype.c: Describe memory management for return value of
2623 g_content_types_get_registered(). Missing piece from #505815.
2624 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2625 GVolume, GDrive, GMounts, which hopefully gives the user less
2626 confusions when using this API. Following explainations from
2627 Alexander Larsson on gtk-devel-list.
2629 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2631 * gfileinfo.c: Expand the long description.
2633 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2636 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2637 fix builds with --disable-visibility. (#500273, Christian Persch)
2639 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2641 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2642 in the list of returned app infos.
2644 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2646 * gappinfo.c: Fix a cross-reference
2648 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2650 * gfileinputstream.c:
2651 * gfileoutputstream.c:
2655 * gdesktopappinfo.c:
2657 * gfileinfo.c: Documentation updates.
2659 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2661 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2664 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2666 * gcontenttype.c (g_content_types_get_registered): Don't return
2667 freed memory (#505815, Mikael Hermansson)
2669 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2671 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2672 used to detect statbuf->st_blocks. (#505042)
2674 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2676 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2677 environment handling. (#504829, Cosimo Cecchi)
2679 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2681 * gappinfo.c: Doc improvements
2683 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2686 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2688 * === Released 2.15.0 ===
2690 2007-12-20 Hans Breuer <hans@breuer.org>
2692 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2693 with symbols gwin32appinfo.obj, added gmount.obj
2694 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2696 2007-12-20 Alexander Larsson <alexl@redhat.com>
2702 * gfilenamecompleter.c:
2705 * gpollfilemonitor.c:
2706 File attribute renames:
2708 fs:: -> filesystem::
2709 id::fs -> id::filesystem
2711 2007-12-20 Alexander Larsson <alexl@redhat.com>
2720 Add GMountUnmountFlags to all unmount and
2722 Add g_mount_remount() call.
2724 2007-12-20 Alexander Larsson <alexl@redhat.com>
2726 * gvfs.c (get_default_vfs):
2727 Fix unused variable warning
2729 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2731 * pltcheck.sh: Update
2733 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2735 * gunionvolumemonitor.c:
2736 * gunixmount.c: Remove C99 comments
2738 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2740 * gio.symbols: Add some missing symbols
2742 2007-12-19 Alexander Larsson <alexl@redhat.com>
2745 Make g_io_modules_load_all_in_directory not unuse
2746 loaded modules so that users of it can do stuff
2748 Init internal "module" types.
2749 Initialize static prio and name for types so that
2750 we don't have to load modules to get it.
2752 * gnativevolumemonitor.h:
2754 Move is_supported to parent class so that
2755 non-native monitors can avoid being initialized
2756 too. (For instance GDaemonVolumeMonitor if we're
2757 not using GDaemonVfs.)
2759 * glocaldirectorymonitor.[ch]:
2760 * glocalfilemonitor.[ch]:
2761 * gunionvolumemonitor.c:
2762 * gunixvolumemonitor.c:
2764 Find plugins using the static prio+name to
2765 avoid unnecessarily loading the modules.
2767 2007-12-19 Alexander Larsson <alexl@redhat.com>
2772 2007-12-19 Alexander Larsson <alexl@redhat.com>
2774 * gunionvolumemonitor.c:
2775 Store the native type as GType, not class so that
2776 we can unload it. But still avoid unnecessarily
2779 2007-12-19 David Zeuthen <davidz@redhat.com>
2781 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2782 add signals 'disconnected' and 'eject-button' on GDrive. Add
2783 signal 'removed' on GVolume and 'unmounted' on GMount.
2785 * gdrive.c: (g_drive_base_init):
2787 * gfile.c: (g_file_mount_mountable),
2788 (g_file_mount_enclosing_volume):
2791 * gmount.c: (g_mount_base_init):
2793 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2794 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2795 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2799 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2801 * *.c: Fix up includes in the section docs.
2803 2007-12-17 Alexander Larsson <alexl@redhat.com>
2805 * gnativevolumemonitor.h:
2806 * gunionvolumemonitor.c:
2807 * gunixvolumemonitor.c:
2808 Add is_supported() to GNativeVolumeMonitorClass so
2809 that we can avoid having to create an object to see
2810 if the backend is supported at runtime.
2811 Also add name member and an env var to pick a specific
2812 volume monitor backend.
2816 Add cancellable to _g_mount_get_for_mount_path()
2818 * glocaldirectorymonitor.c:
2819 * glocalfilemonitor.c:
2820 Avoid loading and unloading modules while sorting.
2822 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2825 * gunixmounts.[hc]: Namespace waste reduction, move some
2826 g_get_unix_mount functions to the g_unix_mount namespace.
2829 * gunixvolumemonitor.c:
2831 * glocaldirectorymonitor.c: Update all callers.
2833 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2835 2007-12-17 Alexander Larsson <alexl@redhat.com>
2838 Add doc comments about what GFile operations are
2839 guaranteed to not block.
2841 2007-12-17 Alexander Larsson <alexl@redhat.com>
2844 Add missing #ifdef fixing OSX build.
2845 (#503334, patch from Richard Hult)
2847 2007-12-14 David Zeuthen <davidz@redhat.com>
2851 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2852 (g_mount_eject), (g_mount_eject_finish):
2854 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2855 (get_volume_for_uuid), (get_mount_for_uuid),
2856 (g_union_volume_monitor_class_init),
2857 (get_default_native_type_with_exclude), (get_default_native_type),
2858 (get_native_type), (update_native_type),
2859 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2860 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2861 (g_unix_mount_can_eject), (eject_unmount_cb),
2862 (eject_unmount_read_error), (eject_unmount_do),
2863 (g_unix_mount_unmount), (g_unix_mount_eject),
2864 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2865 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2866 (g_unix_mount_point_guess_can_eject):
2868 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2869 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2870 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2871 (g_unix_volume_mount), (g_unix_volume_eject),
2872 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2873 * gunixvolumemonitor.c: (get_volume_for_uuid),
2874 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2876 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2877 (g_volume_eject), (g_volume_eject_finish):
2879 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2880 (g_volume_monitor_get_mount_for_uuid):
2883 Provide eject() on both GMount and GVolume and utility functions
2884 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2885 ejected. Introduce the concept of UUID's and wire it into GVolume
2886 and GMount and provide API on GVolumeMonitor to find such
2887 instances. Also handle the case where an external
2888 GNativeVolumeMonitor fails to initialize. Lock around the
2889 _g_get_mount_for_mount_path() function such that volume monitor
2890 implementations won't have to do locking themselves.
2892 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2894 * gdesktopappinfo.c:
2900 * gvolume.h: Documentation updates
2902 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2905 * gfile.h: Doc updates
2907 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2910 * gdesktopappinfo.c: Use hash table iterators.
2912 2007-12-14 Alexander Larsson <alexl@redhat.com>
2915 * gfileattribute.[ch]:
2916 * gfileattribute-priv.h:
2917 Move GFileAttributeValue to a private header, as
2921 Make set_attribute take a type + a pointer instead
2922 of a GFileAttributeValue.
2925 Fix up for above changes.
2926 Add g_file_info_get_attribute_data to get
2927 all info in one call, g_file_info_get_attribute_status
2928 to get the status and g_file_info_get_attribute_as_string.
2932 * glocalfileinfo.[ch]:
2936 Make _guess_type static.
2938 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2941 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2942 made mkenums and friends use temporary files to avoid leaving
2943 empty generated files on failure (#503470).
2945 2007-12-14 Alexander Larsson <alexl@redhat.com>
2947 * gmountoperation.h:
2950 2007-12-14 Alexander Larsson <alexl@redhat.com>
2954 * gfileattribute.[ch]:
2957 * glocalfileoutputstream.c:
2958 * gmountoperation.[ch]:
2959 * goutputstream.[ch]:
2960 Clean up all flags enums to not have _FLAGS in them
2961 Make the names of some of the enums better.
2966 2007-12-14 Michael Natterer <mitch@imendio.com>
2968 * gio.symbols: fix g_io_scheduler symbol names.
2970 2007-12-14 Alexander Larsson <alexl@redhat.com>
2976 * gbufferedinputstream.h:
2977 * gbufferedoutputstream.h:
2980 * gdatainputstream.h:
2981 * gdataoutputstream.h:
2982 * gdesktopappinfo.h:
2983 * gdirectorymonitor.h:
2987 * gfileenumerator.h:
2990 * gfileinputstream.h:
2992 * gfilenamecompleter.h:
2993 * gfileoutputstream.h:
2994 * gfilterinputstream.h:
2995 * gfilteroutputstream.h:
3003 * gmemoryinputstream.h:
3004 * gmemoryoutputstream.h:
3006 * gmountoperation.h:
3009 * gsimpleasyncresult.h:
3011 * gunixinputstream.h:
3013 * gunixoutputstream.h:
3017 * inotify/Makefile.am:
3018 Only allow including <gio/gio.h> from apps
3020 2007-12-14 Alexander Larsson <alexl@redhat.com>
3022 * gioscheduler.[ch]:
3023 * gsimpleasyncresult.c:
3024 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3025 Split out the send_to_mainloop call into two versions instead
3026 of having the block argument.
3028 2007-12-13 Alexander Larsson <alexl@redhat.com>
3030 * gcancellable.[ch]:
3032 * gbufferedinputstream.c:
3033 * gfileenumerator.c:
3034 * gfileinputstream.c:
3035 * gfileoutputstream.c:
3039 g_push/pop_current_cancellable ->
3040 g_cancellable_push/pop_current
3042 2007-12-13 Alexander Larsson <alexl@redhat.com>
3046 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3048 2007-12-13 Alexander Larsson <alexl@redhat.com>
3050 * gmountoperation.h:
3051 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3053 2007-12-12 Alexander Larsson <alexl@redhat.com>
3056 Fix race condition when freeing proxy in
3057 g_io_job_send_to_mainloop().
3059 2007-12-12 Alexander Larsson <alexl@redhat.com>
3065 Make attribute namespace separator "::" instead of ":".
3066 Use - instead of _ as separator in attribute names.
3068 2007-12-12 Alexander Larsson <alexl@redhat.com>
3070 * gbufferedinputstream.h:
3071 * gbufferedoutputstream.h:
3072 * gdatainputstream.h:
3073 * gdataoutputstream.h:
3074 * gdirectorymonitor.h:
3075 * gfileenumerator.h:
3076 * gfileinputstream.h:
3078 * gfileoutputstream.h:
3079 * gfilterinputstream.h:
3080 * gfilteroutputstream.h:
3082 * glocalfileinputstream.h:
3083 * glocalfileoutputstream.h:
3084 * gmemoryinputstream.h:
3085 * gmemoryoutputstream.h:
3086 * gnativevolumemonitor.h:
3088 * gunixinputstream.h:
3089 * gunixoutputstream.h:
3092 s/parent/parent_instance/ in GObjects
3094 2007-12-12 Alexander Larsson <alexl@redhat.com>
3099 No need for padding for interfaces
3101 2007-12-12 Alexander Larsson <alexl@redhat.com>
3105 * gbufferedinputstream.c:
3106 * gbufferedoutputstream.c:
3109 * gdatainputstream.[ch]:
3110 * gdesktopappinfo.c:
3111 * gdirectorymonitor.c:
3113 * gfileattribute.[ch]:
3116 * gfileinputstream.h:
3117 * gfilemonitor.[ch]:
3118 * gfileoutputstream.[ch]:
3119 * gfilterinputstream.h:
3120 * gfilteroutputstream.h:
3123 * gloadableicon.[ch]:
3124 * gmemoryinputstream.c:
3125 * gmountoperation.c:
3127 Fix up a bunch of details in the docs.
3132 2007-12-11 David Zeuthen <davidz@redhat.com>
3134 Rework how volumes, drives and volume monitoring is
3135 done. Previosly the model was
3137 GDrive <1-1> GVolume
3139 where a GDrive instance represented a mount point and a GVolume
3140 instance represented a mounted file system. This patch changes it
3143 GDrive <1-N> GVolume <1-1> GMount
3145 where GMount now serves the purpose of the old GVolume and the new
3146 GVolume serves the purpose of the old GDrive. In addition the new
3147 GDrive interface is used to represent a collection of GVolume
3148 instances (typically partitions) and also contains utility to query
3149 the state of the physical drive the GDrive object represents (such
3150 as checking for media, polling the drive, ejecting the media etc.).
3152 Also implement mounting and unmounting in the Unix volume monitor
3153 backend. A subquent patch will introduce GDrive support for ejection
3157 * gdrive.c: (g_drive_is_media_check_automatic),
3158 (g_drive_is_media_removable), (g_drive_has_media),
3159 (g_drive_can_poll_for_media), (g_drive_eject),
3160 (g_drive_eject_finish), (g_drive_poll_for_media),
3161 (g_drive_poll_for_media_finish):
3163 * gfile.c: (g_file_find_enclosing_mount):
3166 * glocaldirectorymonitor.c:
3167 (g_local_directory_monitor_constructor), (mounts_changed):
3168 * glocalfile.c: (get_mount_info),
3169 (g_local_file_find_enclosing_mount),
3170 (g_local_file_file_iface_init):
3171 * gnativevolumemonitor.h:
3172 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3173 (get_connected_drives), (g_union_volume_monitor_class_init),
3174 (child_volume_added), (child_volume_removed),
3175 (child_volume_changed), (child_mount_added), (child_mount_removed),
3176 (child_mount_pre_unmount), (child_mount_changed),
3177 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3178 (g_union_volume_monitor_remove_monitor),
3179 (_g_mount_get_for_mount_path):
3180 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3181 (guess_system_internal), (_g_get_unix_mounts),
3182 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3183 (g_unix_mount_free), (g_unix_mount_compare),
3184 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3185 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3186 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3187 (type_to_icon), (g_unix_mount_guess_name),
3188 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3189 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3190 (_resolve_symlink), (_resolve_dev_root):
3192 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3193 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3194 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3195 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3196 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3197 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3198 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3199 (g_unix_volume_volume_iface_init):
3201 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3202 (get_mounts), (get_volumes), (get_connected_drives),
3203 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3204 (mountpoints_changed), (mounts_changed),
3205 (g_unix_volume_monitor_init),
3206 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3207 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3208 * gunixvolumemonitor.h:
3209 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3210 (g_volume_mount), (g_volume_mount_finish):
3212 * gvolumemonitor.c: (g_volume_monitor_class_init),
3213 (g_volume_monitor_get_connected_drives),
3214 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3217 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3219 * gmountoperation.h (GPasswordFlags): Close the gap
3221 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3223 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3225 * gdesktopappinfo.[hc]: Remove _-prefixes
3227 2007-12-10 Tor Lillqvist <tml@novell.com>
3229 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3232 2007-12-10 Alexander Larsson <alexl@redhat.com>
3234 * gfile.c (g_file_set_display_name):
3235 Don't hardcode '/' (#502727)
3237 2007-12-09 Hans Breuer <hans@breuer.org>
3239 * makefile.msc : follow lib naming convention
3240 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3241 for user and group name, tested with ../tests/gio-ls
3243 2007-12-09 A. Walton <awalton@svn.gnome.org>
3245 * gdesktopappinfo.c:
3251 * gfileenumerator.c:
3256 * gmemoryinputstream.c:
3257 * gmemoryoutputstream.c:
3259 * gsimpleasyncresult.c:
3260 More documentation cleanup and filling in missing information, bringing
3261 GIO to 99% symbol coverage.
3263 2007-12-08 Hans Breuer <hans@breuer.org>
3265 [gio compiles and links on win32, not sure how much already works]
3266 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3267 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3268 base on win32 API; prefer g_lstat() over lstat(); instead of
3269 localtime_r() use an all GLib implementation on win32;
3270 get_mount_info() still needs a win32 specifc implementation
3271 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3272 win32_get_file_user_info to get owner/group info without uid/gid
3273 * glocalfileinputstream.c : include <io.h> on win32
3274 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3275 definition, use g_win32_ftruncate() for G_OS_WIN32
3276 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3277 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3278 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3279 * makefile.msc : updated
3281 2007-12-07 Alexander Larsson <alexl@redhat.com>
3283 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3284 Avoid warning spew if error == NULL
3286 2007-12-07 Alexander Larsson <alexl@redhat.com>
3289 Update docs wrt etags
3291 2007-12-06 Alexander Larsson <alexl@redhat.com>
3294 Include sys/types.h for dev_t (#501919)
3296 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3300 Make abicheck and pltcheck pass.
3302 2007-12-05 Alexander Larsson <alexl@redhat.com>
3305 * giomodule-priv.h: Added.
3306 * glocaldirectorymonitor.c:
3307 * glocalfilemonitor.c:
3308 * gunionvolumemonitor.c:
3310 Actually add the declaration of _g_io_modules_ensure_loaded
3312 2007-12-05 Alexander Larsson <alexl@redhat.com>
3314 * gdatainputstream.c:
3319 * glocaldirectorymonitor.c:
3320 * glocalfilemonitor.c:
3321 * gunionvolumemonitor.c:
3323 Make g_io_modules_ensure_loaded a private function and
3324 don't pass in the dirname. This means we can do magic
3325 directory finding in the win32 version.
3326 Export the actual load-modules-in-directory code so that
3327 gvfs can reuse that.
3329 2007-12-05 Alexander Larsson <alexl@redhat.com>
3331 * gbufferedinputstream.c:
3332 * gbufferedoutputstream.c:
3335 * gfileenumerator.[ch]:
3336 * gfileinputstream.c:
3337 * gfileoutputstream.[ch]:
3338 * gfilterinputstream.c:
3339 * gfilteroutputstream.c:
3340 * ginputstream.[ch]:
3342 * glocalfileenumerator.c:
3343 * glocalfileinputstream.c:
3344 * glocalfileoutputstream.c:
3345 * gmemoryinputstream.c:
3346 * gmemoryoutputstream.c:
3347 * goutputstream.[ch]:
3350 * gunixinputstream.c:
3351 * gunixoutputstream.c:
3352 Rename all struct members named:
3353 read, write, close, truncate, or mount
3354 to foo_fn, as these are reserved names
3355 and could be defined as macros in libc.
3358 2007-12-04 Alexander Larsson <alexl@redhat.com>
3361 (g_output_stream_close):
3362 Only call flush if non-null.
3364 2007-11-30 Dan Winship <danw@gnome.org>
3366 * ginputstream.c (g_input_stream_set_pending): Make this take a
3367 GError and return a gboolean, and do the "outstanding operation"
3368 check (and the "stream is already closed" check) itself.
3369 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3371 * goutputstream.c (g_output_stream_set_pending)
3372 (g_output_stream_clear_pending): Likewise
3374 * gbufferedinputstream.c:
3375 * gfileinputstream.c:
3376 * gfileoutputstream.c: Update for that
3378 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3379 Like g_simple_async_report_error_in_idle, but takes a GError
3380 rather than building one.
3382 2007-11-30 Dan Winship <danw@gnome.org>
3384 * goutputstream.c: Don't cheat and unset the "pending" flag around
3385 inner calls. Instead, call the class method directly rather than
3386 the wrapper function that checks "pending"
3388 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3390 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3392 2007-12-03 Hans Breuer <hans@breuer.org>
3394 [start of port to win32/msvc]
3395 * gcancellable.c : HAVE_UNIST_H and _pipe()
3396 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3397 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3398 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3400 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3401 * glocalvfs.c : use HAVE_PWD_H
3402 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3403 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3404 * Makefile.am : added to EXTRA_DIST
3406 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3408 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3411 2007-12-03 Alexander Larsson <alexl@redhat.com>
3414 Handle OSX style xattrs API (#500506)
3416 2007-12-03 Alexander Larsson <alexl@redhat.com>
3420 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3422 2007-12-02 A. Walton <awalton@svn.gnome.org>
3426 Documentation accuracy fixes.
3428 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3430 * gioenumtypes.c.template: Fix typo.
3432 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3434 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3436 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3438 * gdirectorymonitor.c:
3439 * gfilemonitor.c: Add properties
3441 * gbufferedoutputstream.c: Don't mark buffer-size property
3444 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3446 * gbufferedoutputstream.c: Add auto-grow property.
3448 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3450 * *.c: Unify the capitalization of section headings.
3452 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3454 * gmountoperation.c: Add properties
3456 * gdatainputstream.c: Turn byte-order and newline-type into
3459 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3461 * gioenumtypes.[hc].template: Templates for enum registration
3463 * Makefile.am: Generate gioenumtypes.[hc]
3465 * gio.h: Include gioenumtypes.h
3467 * gfile.h: Add some explicit nicks.
3469 * gio.symbols: Add new symbols
3471 * pltcheck.sh: Adjust
3473 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3475 * *.c: Explain etags and link to the explanation
3477 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3479 * *.c: Explain I/O priority.
3481 * *.c: More coding style fixes.
3483 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3485 * gasyncresult.c: Add another paragraph to the intro,
3486 adjust coding style of example.
3488 2007-11-29 A. Walton <awalton@svn.gnome.org>
3491 Fixes unknown meaning in GAppLaunchContext docs.
3493 Clarify asynchronous ops.
3495 Fix entity tag docs.
3498 Provides missing gtk-doc section, fixes API docs slighly.
3499 * gsimpleasyncresult.c:
3500 Fill in missing info in docs.
3501 * gunixinputstream.c:
3502 * gunixoutputstream.c:
3503 Be more expressive in short description.
3505 Remove gtk-doc stubs for non-public API.
3507 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3509 * *.c: Coding style fixups
3511 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3513 * inotify/inotify-helper.c: Don't export the lock from libgio.
3515 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3518 * abicheck.sh: Fix copy-and-paste leftovers
3520 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3522 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3524 2007-11-28 Alexander Larsson <alexl@redhat.com>
3528 Removed unnecessary file
3530 * gdesktopappinfo.[ch]:
3533 * glocaldirectorymonitor.[ch]:
3535 * glocalfileenumerator.[ch]:
3536 * glocalfileinputstream.[ch]:
3537 * glocalfilemonitor.[ch]:
3538 * glocalfileoutputstream.[ch]:
3540 * gnativevolumemonitor.c:
3541 * gpollfilemonitor.[ch]:
3542 * gunionvolumemonitor.[ch]:
3545 * gunixvolumemonitor.[ch]:
3548 * inotify/ginotifydirectorymonitor.[ch]:
3549 * inotify/ginotifyfilemonitor.[ch]:
3550 * inotify/inotify-helper.c:
3551 Append _ to all internal functions
3555 Export symbols needed for modules
3557 2007-11-28 Alexander Larsson <alexl@redhat.com>
3560 * abicheck.sh: Added.
3561 * makegioalias.pl: Added.
3562 * pltcheck.sh: Added.
3563 * gio.symbols: Added.
3566 Initial work on adding symbol handling.
3569 Correct ifdef guard name
3572 * inotify/Makefile.am:
3573 * xdgmime/Makefile.am:
3574 Include toplevel Makefile.decl
3576 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3578 * gcontenttype.c: Move doc comments to the unix section.
3580 * *.[hc]: More trivial doc corrections.
3582 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3584 * gpollfilemonitor.c:
3588 * gdesktopappinfo.c:
3593 * gdatainputstream.c:
3594 * gdatainputstream.h:
3595 * gdataoutputstream.c:
3596 * gdataoutputstream.h:
3597 * gfileinfo.h: Doc cleanups
3599 2007-11-28 Andre Klapper <a9016009@gmx.de>
3601 * gdesktopappinfo.c: Fix a typo.
3603 2007-11-27 Andre Klapper <a9016009@gmx.de>
3605 * glocalfileoutputstream.c: Fix a typo.
3607 2007-11-27 Alexander Larsson <alexl@redhat.com>
3610 Don't include removed headers
3612 2007-11-27 Alexander Larsson <alexl@redhat.com>
3615 * gsocketinputstream.[ch]: Removed.
3616 * gsocketoutputstream.[ch]: Removed.
3617 * gunixinputstream.[ch]: Added.
3618 * gunixoutputstream.[ch]: Added.
3619 Renamed GSocket*Stream to GUnix*Stream and made
3620 it unix-only, since its not really only for sockets
3621 and it only works on unix (but is highly useful there).
3623 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3629 * gbufferedinputstream.c:
3630 * gbufferedinputstream.h:
3631 * gbufferedoutputstream.c:
3632 * gbufferedoutputstream.h:
3636 * gdatainputstream.c:
3637 * gdatainputstream.h:
3638 * gdataoutputstream.c:
3639 * gdataoutputstream.h:
3640 * gdirectorymonitor.c:
3641 * gdirectorymonitor.h:
3648 * gfileenumerator.c:
3649 * gfileenumerator.h:
3654 * gfileinputstream.c:
3655 * gfileinputstream.h:
3658 * gfilenamecompleter.c:
3659 * gfilenamecompleter.h:
3660 * gfileoutputstream.c:
3661 * gfileoutputstream.h:
3662 * gfilterinputstream.c:
3663 * gfilterinputstream.h:
3664 * gfilteroutputstream.c:
3665 * gfilteroutputstream.h:
3678 * glocalfileoutputstream.c:
3679 * gmemoryinputstream.c:
3680 * gmemoryinputstream.h:
3681 * gmemoryoutputstream.c:
3682 * gmemoryoutputstream.h:
3683 * gmountoperation.c:
3684 * gmountoperation.h:
3687 * gpollfilemonitor.c:
3690 * gsimpleasyncresult.c:
3691 * gsimpleasyncresult.h:
3692 * gsocketinputstream.c:
3693 * gsocketinputstream.h:
3694 * gsocketoutputstream.c:
3695 * gsocketoutputstream.h:
3702 * gunixvolumemonitor.c:
3711 Bumps documentation to 93% symbol coverage, touching most
3712 of the public files. Fixes broken function documentation prototypes.
3713 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3714 gtk-doc headers in private files.
3716 2007-11-27 Jürg Billeter <j@bitron.ch>
3718 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3719 (g_buffered_input_stream_read_byte):
3720 * gbufferedinputstream.h:
3721 New functions for efficient access to buffer and simple single byte
3724 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3725 (g_data_input_stream_read_until):
3726 * gdatainputstream.h:
3727 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3728 read_until with multiple stop chars.
3730 2007-11-27 Alexander Larsson <alexl@redhat.com>
3734 * inotify/Makefile.am:
3735 Use the user-specified giomoduledir
3737 2007-11-27 Alexander Larsson <alexl@redhat.com>
3741 Add catch-all gio.h header
3742 Don't install gdummyfile.h
3744 2007-11-26 Alexander Larsson <alexl@redhat.com>
3746 * Makefile.am (gioinclude_HEADERS):
3747 Remove trailing whitespace
3749 2007-11-26 Alexander Larsson <alexl@redhat.com>
3751 Merge gio-standalone into glib
3753 2007-11-25 Christian Kellner <gicmo@gnome.org>
3755 * gio/goutputstream.c:
3756 Fix small mistake in the docs.
3758 2007-11-21 Christian Persch <chpe@gnome.org>
3760 * gio/glocalfile.c: (g_local_file_trash):
3761 Convert filenames to UTF-8 for GError.
3762 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3763 as per xdg base dir spec.
3765 2007-11-21 Christian Persch <chpe@gnome.org>
3767 * gio/gdesktopappinfo.c:
3768 Use that g_key_file_to_data cannot fail.
3770 Use stock defines for the key file group and key names.
3773 2007-11-21 Alexander Larsson <alexl@redhat.com>
3776 (copy_stream_with_progress):
3777 Make sure we do a final progress callback with
3778 the full total size.
3780 2007-11-21 Alexander Larsson <alexl@redhat.com>
3783 Export g_file_copy_attributes
3784 Remove padding as its not needed for interfaces
3786 2007-11-20 Alexander Larsson <alexl@redhat.com>
3791 Add G_IO_ERROR_WOULD_MERGE for
3792 copy/move dir on dir with overwrite.
3794 2007-11-20 Alexander Larsson <alexl@redhat.com>
3797 * gio/glocalfileinfo.c:
3798 Add COPY_NAME (this is an optional
3799 non-modified utf8 version of the name) that
3802 2007-11-20 Alexander Larsson <alexl@redhat.com>
3804 * gio/glocalfileenumerator.c:
3805 Report errors as GIOError, not GFileError
3807 2007-11-16 Alexander Larsson <alexl@redhat.com>
3809 * gio/glocalfileoutputstream.c:
3810 * gio/gwin32appinfo.c:
3811 Fix typos in strings.
3812 Patch from Luca Ferretti <elle.uca@libero.it>
3814 2007-11-15 Alexander Larsson <alexl@redhat.com>
3817 Post release version bump
3819 === gio-standalone 0.1.2 ===
3821 2007-11-15 Alexander Larsson <alexl@redhat.com>
3823 * docs/reference/gio/Makefile.am:
3824 Fix up distcheck by removing weird
3830 2007-11-14 Alexander Larsson <alexl@redhat.com>
3832 * gio/gdesktopappinfo.c:
3833 * gio/glocaldirectorymonitor.c:
3835 * gio/glocalfileinfo.c:
3836 * gio/inotify/inotify-sub.c:
3837 * programs/gio-cat.c:
3838 * programs/gio-copy.c:
3839 * programs/gio-info.c:
3840 * programs/gio-ls.c:
3841 * programs/gio-monitor-dir.c:
3842 * programs/gio-monitor-file.c:
3843 * programs/gio-mount.c:
3844 * programs/gio-move.c:
3845 * programs/gio-rm.c:
3846 * programs/gio-save.c:
3847 * programs/gio-trash.c:
3848 Leak fixes from Kjartan Maraas
3850 2007-11-14 Alexander Larsson <alexl@redhat.com>
3852 * gio/fam/fam-helper.c:
3854 * gio/glocalfileinfo.c:
3858 * gio/inotify/inotify-diag.c:
3859 * gio/inotify/inotify-kernel.c:
3860 Various code cleanups from Kjartan Maraas
3862 2007-11-14 Alexander Larsson <alexl@redhat.com>
3864 * gio/gioscheduler.c:
3866 Set up threadpool so that we cache 2 unused
3867 idle threads for at 15 secs. This means we
3868 will reuse thread-local data (like dbus connections)
3871 2007-11-14 Alexander Larsson <alexl@redhat.com>
3873 * gio/fam/fam-helper.c:
3874 * gio/fam/gfamdirectorymonitor.c:
3875 * gio/fam/gfamfilemonitor.c:
3877 * gio/gcontenttype.c:
3878 * gio/gdatainputstream.c:
3879 * gio/gdataoutputstream.c:
3883 * gio/gfileattribute.h:
3884 * gio/gfileenumerator.c:
3886 * gio/ginputstream.c:
3889 * gio/glocalfileinfo.c:
3890 * gio/goutputstream.c:
3891 * gio/gpollfilemonitor.c:
3892 * gio/gsimpleasyncresult.c:
3893 * gio/gunixmounts.c:
3894 * gio/gunixmounts.h:
3895 * gio/inotify/ginotifydirectorymonitor.c:
3896 * gio/inotify/ginotifyfilemonitor.c:
3897 * gio/inotify/inotify-diag.c:
3898 * gio/inotify/inotify-kernel.c:
3899 * gio/inotify/inotify-path.c:
3901 * gio/test-streams.c:
3902 * programs/gio-info.c:
3903 * programs/gio-monitor-dir.c:
3904 * programs/gio-monitor-file.c:
3905 Various code cleanups from Kjartan Maraas
3907 2007-11-13 Alexander Larsson <alexl@redhat.com>
3910 Handle the uri-scheme calls for dummy files
3912 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3914 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3915 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3916 to avoid clash with the C++ keyword.
3918 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3920 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3921 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3923 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3925 * gio/glocaldirectorymonitor.c:
3926 * gio/glocalfilemonitor.c:
3927 * gio/gunionvolumemonitor.c:
3928 Don't use g_once_init_*() for initializations that could fail and
3929 could leave the initialization variable set to 0 but use GOnce.
3930 This prevents a deadlock on the second call when trying to create
3931 a monitor and no monitor type is available. Thanks to Sven Herzberg
3934 2007-11-11 Sven Herzberg <sven@imendio.com>
3936 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3937 #ifdef (make it work on MacOS X again)
3939 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3941 Fixes Changelog for last two commits (sorry guys).
3943 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3945 * gio/gbufferedinputstream.c:
3946 * gio/gdatainputstream.c:
3948 * gio/gfileoutputstream.c:
3949 * gio/gfilterinputstream.c:
3950 * gio/glocalfileinputstream.c:
3953 More consistency fixes in g*stream.c files.
3954 Significant clean of gfile's documentation, filling in of
3955 asynchronous operations documentation.
3957 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3959 * gio/gasyncresult.c:
3960 * gio/gbufferedinputstream.c:
3961 * gio/gbufferedoutputstream.c:
3962 * gio/gcancellable.c:
3963 * gio/gcontenttype.c:
3964 * gio/gdatainputstream.c:
3965 * gio/gdataoutputstream.c:
3966 * gio/gdesktopappinfo.c:
3969 * gio/gfileattribute.c:
3970 * gio/gio/gfileenumerator.c:
3972 * gio/gfileinputstream.c:
3973 * gio/gfilemonitor.c:
3974 * gio/gfileoutputstream.c:
3975 * gio/ginputstream.c:
3977 * gio/gioscheduler.c:
3978 * gio/gloadableicon.c:
3979 * gio/glocalfileoutputstream.c:
3980 * gio/gmemoryoutputstream.c:
3981 * gio/gmountoperation.c:
3982 * gio/goutputstream.c:
3984 * gio/gsimpleasyncresult.c:
3985 * gio/gunionvolumemonitor.c:
3986 * gio/gunixmounts.c:
3987 * gio/gunixvolume.c:
3991 * gio/gvolumemonitor.c:
3992 Updated documentation stubs, working towards consistency and
3995 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3997 * gio/gmemoryoutputstream.c:
3998 * gio/gmemoryoutputstream.h:
3999 Change g_memory_output_stream_set_free_on_close() to
4000 g_memory_output_stream_set_free_data() as this makes more sense and
4001 is more consistent with GMemoryInputStream.
4003 2007-11-07 Alexander Larsson <alexl@redhat.com>
4010 Change how we find the default vfs so that
4011 we can handle a gvfs failing to init
4013 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4015 * gio/gbufferedoutputstream.c:
4016 * gio/gdatainputstream.c:
4017 * gio/gdataoutputstream.c:
4018 * gio/gfileinputstream.c:
4019 * gio/gfileoutputstream.c:
4020 * gio/gfilterinputstream.c:
4021 * gio/gfilteroutputstream.c:
4022 * gio/ginputstream.c:
4023 * gio/gmemoryinputstream.c:
4024 * gio/gmemoryoutputstream.c:
4025 * gio/goutputstream.c:
4026 * gio/gsimpleasyncresult.c:
4027 * gio/gsocketinputstream.c:
4028 * gio/gsocketoutputstream.c:
4029 Add guards to the remaining public functions, add a TODO for
4030 an unimplemented function and remove some useless guards.
4032 2007-11-07 Alexander Larsson <alexl@redhat.com>
4035 Autoconf checks for the various types of
4036 getpwuid_r and getgrgid_r
4038 * gio/glocalfileinfo.c:
4039 Use the autoconf checks from above
4041 2007-11-07 Alexander Larsson <alexl@redhat.com>
4044 (g_local_file_query_filesystem_info):
4045 Some fixes for the statvfs case
4047 2007-11-07 Alexander Larsson <alexl@redhat.com>
4050 (g_local_file_query_filesystem_info):
4051 Pick the "best" of statfs / statvfs for the system
4052 if both are availible.
4054 2007-11-07 Alexander Larsson <alexl@redhat.com>
4056 Solaris fixes from Halton.Huo@Sun.COM:
4063 * gio/glocalfileinfo.c:
4064 Fix for solaris definition of getpwuid_r
4066 * gio/test-streams.c:
4067 Use G_GNUC_PRETTY_FUNCTION
4069 2007-11-07 Alexander Larsson <alexl@redhat.com>
4071 * gio/gdesktopappinfo.c:
4072 (update_default_list):
4073 Remove double semicolon.
4074 Patch from Jens Granseuer
4076 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4078 * docs/reference/gio/gio-sections.txt:
4079 * gio/gbufferedinputstream.c:
4080 * gio/gbufferedinputstream.h:
4081 * gio/gdatainputstream.c:
4082 * gio/gfileenumerator.c:
4083 * gio/gioscheduler.c:
4084 * gio/gunionvolumemonitor.c:
4086 * programs/gio-save.c:
4087 Fix typo: availible -> available. Unfortuntely this breaks API
4088 and ABI as g_buffered_input_stream_get_available() was renamed.
4090 * gio/gunixmounts.c:
4091 * gio/gbufferedinputstream.c:
4092 Add guards for public functions.
4094 2007-11-06 Ross Burton <ross@openedhand.com>
4096 * docs/reference/gio/Makefile.am:
4097 Fix invalid += usage which automake 1.10 doesn't like.
4099 2007-11-06 Alexander Larsson <alexl@redhat.com>
4102 (g_app_launch_context_class_init):
4105 Patch from Ross Burton
4107 2007-11-06 Alexander Larsson <alexl@redhat.com>
4110 Post release version bump
4112 === gio-standalone 0.1.1 ===
4114 2007-11-06 Alexander Larsson <alexl@redhat.com>
4117 Bump version to 0.1.1
4119 * gio/gsimpleasyncresult.c:
4120 (g_simple_async_result_set_from_error):
4121 Remove bogus g_return_if_fail
4123 2007-11-06 Alexander Larsson <alexl@redhat.com>
4126 The name is gio-standalone
4129 Add top src/builddir to includedir
4131 2007-11-06 Alexander Larsson <alexl@redhat.com>
4133 * docs/reference/gio/gio-sections.txt:
4135 * gio/gbufferedinputstream.c:
4136 * gio/gbufferedoutputstream.c:
4137 * gio/gcancellable.c:
4138 * gio/gdatainputstream.h:
4139 * gio/gdataoutputstream.c:
4140 * gio/gdataoutputstream.h:
4141 * gio/gdirectorymonitor.c:
4143 * gio/gfileattribute.c:
4144 * gio/gfileattribute.h:
4145 * gio/gfileenumerator.c:
4146 * gio/gfileenumerator.h:
4149 * gio/gfileinputstream.h:
4150 * gio/gfilemonitor.c:
4151 * gio/gfileoutputstream.h:
4152 * gio/glocalfilemonitor.h:
4153 * gio/glocalfileoutputstream.h:
4154 * gio/gmemoryinputstream.c:
4155 * gio/gmemoryoutputstream.c:
4156 * gio/gmountoperation.c:
4157 * gio/goutputstream.c:
4158 * gio/goutputstream.h:
4160 * gio/gsimpleasyncresult.c:
4161 * gio/gunixmounts.c:
4162 * gio/gunixmounts.h:
4164 * gio/inotify/inotify-helper.c:
4165 Fix gtk-doc warnings
4167 Patch from Ross Burton
4169 2007-11-06 Alexander Larsson <alexl@redhat.com>
4171 * gio/gfilenamecompleter.c:
4172 (g_filename_completer_get_completions):
4175 * gio/gunixvolume.c:
4176 Remove unused function
4178 Patches from Ross Burton
4180 2007-11-06 Alexander Larsson <alexl@redhat.com>
4185 Padding not needed for interfaces
4187 2007-11-06 Alexander Larsson <alexl@redhat.com>
4189 * gio/gfilemonitor.c:
4193 Make giotypes.h an internal file
4196 * gio/gbufferedinputstream.h:
4197 * gio/gbufferedoutputstream.h:
4198 * gio/gcancellable.h:
4199 * gio/gdatainputstream.h:
4200 * gio/gdataoutputstream.h:
4201 * gio/gdirectorymonitor.c:
4202 * gio/gdirectorymonitor.h:
4207 * gio/gfileattribute.h:
4208 * gio/gfileenumerator.h:
4213 * gio/gfilemonitor.c:
4214 * gio/gfilemonitor.h:
4215 * gio/gfilenamecompleter.c:
4216 * gio/gfilenamecompleter.h:
4217 * gio/gfilterinputstream.h:
4218 * gio/gfilteroutputstream.h:
4219 * gio/ginputstream.h:
4220 * gio/gmemoryinputstream.h:
4221 * gio/gmemoryoutputstream.h:
4222 * gio/gmountoperation.c:
4223 * gio/gmountoperation.h:
4224 * gio/gnativevolumemonitor.c:
4225 * gio/goutputstream.h:
4228 * gio/gsimpleasyncresult.c:
4229 * gio/gsimpleasyncresult.h:
4230 * gio/gsocketinputstream.h:
4231 * gio/gsocketoutputstream.h:
4232 * gio/gthemedicon.c:
4233 * gio/gthemedicon.h:
4237 * gio/gvolumemonitor.c:
4238 * gio/gvolumemonitor.h:
4239 Add padding in classes where it seems useful
4240 Don't include giotypes.h from public headers
4241 Move in Class definitions into c file where possible
4246 2007-11-06 Alexander Larsson <alexl@redhat.com>
4248 * docs/reference/gio/gio-docs.xml:
4249 Better structure for API docs
4251 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4254 * gio/gloadableicon.c:
4255 * gio/gsimpleasyncresult.c:
4256 * gio/gthemedicon.c:
4257 Add some more guards to public functions. Only files missing are now
4260 2007-11-06 Alexander Larsson <alexl@redhat.com>
4262 * docs/reference/gio/gio-docs.xml:
4263 Remove old files, add missing ones
4265 2007-11-06 Alexander Larsson <alexl@redhat.com>
4267 * docs/reference/gio/gio-sections.txt:
4270 Hide implementation classes
4272 * gio/gdriveprivate.h:
4273 * gio/gvolumeprivate.h:
4274 Remove non-existing function declarations
4276 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4279 Fix compilation warnings and add guards to the new functions.
4281 * gio/gasyncresult.c:
4283 Add guards to the public functions.
4286 Implement get_path().
4288 2007-11-06 Alexander Larsson <alexl@redhat.com>
4290 * gio/gfilenamecompleter.c:
4291 Make g_filename_completer_get_completions
4292 return char ** instead of GList for
4295 * docs/reference/gio/gio-docs.xml:
4296 * docs/reference/gio/gio-sections.txt:
4298 * gio/gasyncresult.c:
4299 * gio/gbufferedinputstream.c:
4300 * gio/gbufferedoutputstream.c:
4301 * gio/gcancellable.c:
4302 * gio/gcontenttype.c:
4303 * gio/gdatainputstream.c:
4304 * gio/gdataoutputstream.c:
4305 * gio/gdesktopappinfo.c:
4306 * gio/gdirectorymonitor.c:
4310 * gio/gfileattribute.c:
4311 * gio/gfileenumerator.c:
4314 * gio/gfileinputstream.c:
4315 * gio/gfilemonitor.c:
4316 * gio/gfilenamecompleter.c:
4317 * gio/gfilenamecompleter.h:
4318 * gio/gfileoutputstream.c:
4319 * gio/gfilterinputstream.c:
4321 * gio/ginputstream.c:
4323 * gio/gioscheduler.c:
4324 * gio/gloadableicon.c:
4325 * gio/glocaldirectorymonitor.c:
4327 * gio/glocalfileinputstream.c:
4328 * gio/glocalfilemonitor.c:
4329 * gio/glocalfileoutputstream.c:
4331 * gio/gmemoryinputstream.c:
4332 * gio/gmemoryoutputstream.c:
4333 * gio/gmountoperation.c:
4334 * gio/goutputstream.c:
4335 * gio/gpollfilemonitor.c:
4337 * gio/gsimpleasyncresult.c:
4338 * gio/gsocketinputstream.c:
4339 * gio/gsocketoutputstream.c:
4340 * gio/gthemedicon.c:
4341 * gio/gunionvolumemonitor.c:
4343 * gio/gunixmounts.c:
4344 * gio/gunixvolume.c:
4345 * gio/gunixvolumemonitor.c:
4349 * gio/gvolumemonitor.c:
4350 * gio/gwin32appinfo.c:
4351 Add (mostly stub) doc strings to public functions.
4352 Patch from Andrew Walton (awalton@gmail.com)
4354 2007-11-06 Alexander Larsson <alexl@redhat.com>
4356 * gio/gappinfo.[ch]:
4357 Added GAppLaunchContext object and pass that to launch.
4358 This allows simple implementation of both
4359 launch-on-screen and startup notification via a gtk+
4360 subclass of GAppLaunchContext
4362 * gio/gdesktopappinfo.c:
4363 Implement GAppLaunchContext API
4365 * gio/gwin32appinfo.c:
4368 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4370 * gio/gmountoperation.c:
4371 Add some guards to GMountOperation's public functions.
4373 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4377 * gio/gcancellable.c:
4378 * gio/gdirectorymonitor.c:
4380 * gio/gfileenumerator.c:
4381 * gio/gfilemonitor.c:,
4382 * gio/gfilenamecompleter.c:
4385 * gio/gioscheduler.c:
4389 * gio/gvolumemonitor.c:
4390 Add even more guards to various public functions.
4392 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4395 Add guards to the public functions of GAppInfo.
4397 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gcontenttype.c:
4400 Add some more guards for public functions.
4402 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gio/fam/fam-module.c:
4405 * gio/fam/gfamdirectorymonitor.c:
4406 * gio/fam/gfamdirectorymonitor.h:
4407 * gio/fam/gfamfilemonitor.c:
4408 * gio/fam/gfamfilemonitor.h:
4409 * gio/inotify/ginotifydirectorymonitor.c:
4410 * gio/inotify/ginotifydirectorymonitor.h:
4411 * gio/inotify/ginotifyfilemonitor.c:
4412 * gio/inotify/ginotifyfilemonitor.h:
4413 Add proper copyright information and remove an unused variable
4414 in the GInotifyFileMonitor constructor.
4416 * gio/gcancellable.c:
4417 Add a guard for a public function and an assertion to prevent
4418 an undefined program state.
4420 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4422 * gio/gfileattribute.c:
4423 Don't run into an assertion if the given attribute value is NULL
4424 in g_file_attribute_value_get_*() but instead return a fallback
4425 value that makes sense in most situations. Passing them a attribute
4426 value with the wrong type will still run into an assertion.
4428 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4430 * gio/gfileattribute.c:
4432 Add even more guards to the public functions. Also fix the refcounting
4433 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4434 let g_file_info_list_attributes() filter the attributes by namespace
4435 instead of simply ignoring the namespace parameter.
4437 2007-11-03 Sven Herzberg <sven@imendio.com>
4439 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4440 (This makes gio work on MacOS X again)
4442 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4445 Build the gio subdirectory before the docs. Otherwise the build will
4448 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4449 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4450 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4451 Add guards to the public functions.
4453 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4455 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4456 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4457 to prevent a compiler warning.
4459 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4460 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4461 return something in the non-void function find_topdir_for().
4463 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4470 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4472 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4473 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4474 * gwin32appinfo.c (g_win32_app_info_launch):
4475 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4476 envp_for_startup_id, g_desktop_app_info_launch,
4477 g_desktop_app_info_launch_uris):
4479 Give an opaque 'startup_id' string instead of 'envp'.
4480 Support empty file lists for launching new windows.
4481 Fix infinite recursion bug when launching URIs.
4483 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4486 Add guard to the new g_file_get_uri_scheme() function.
4488 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4491 Convert a g_return_val_if_fail() to setting the GError instead as
4492 otherwise applications have to verify the parameter before otherwise
4493 and the parameter might come directly from the user.
4495 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4497 * gio/inotify/ginotify*.[ch]:
4498 Add missing copyright information.
4500 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4503 Add guards in the beginning of public functions to check for valid
4504 parameters and fix a bug in copy_stream_with_progress() that could've
4505 caused writing less bytes than reading.
4506 * gio/glocalfileinfo.c:
4507 Check for a NULL parameter and set the GError accordingly then.
4508 * gio/goutputstream.c:
4509 Fix the same bug as in gfile.c that could've caused writing less bytes
4510 than reading in g_output_stream_real_splice().
4512 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4515 Use the correct gvolumeprivate.h naming
4517 2007-11-01 Christian Kellner <gicmo@gnome.org>
4520 Remove leftover "$(daemon_sources)" entry.
4522 2007-11-01 Christian Kellner <gicmo@gnome.org>
4527 Add copyright information to source files.
4529 2007-11-01 Alexander Larsson <alexl@redhat.com>
4533 Add g_file_get_uri_scheme
4535 2007-11-01 Alexander Larsson <alexl@redhat.com>
4538 * gio/gdesktopappinfo.c:
4539 * gio/gwin32appinfo.c:
4540 Add g_app_info_get_default_for_uri_scheme.
4542 2007-11-01 Alexander Larsson <alexl@redhat.com>
4545 Correct filename for gdriveprivate.h
4547 2007-10-31 Alexander Larsson <alexl@redhat.com>
4550 Rename id:value to id:file
4553 * gio/glocalfileinfo.c:
4556 2007-10-31 Alexander Larsson <alexl@redhat.com>
4558 * gio/gunixvolume.c:
4560 Remove g_volume_get_platform_id, as thats not
4561 needed with the simpler union volume monitor
4563 2007-10-31 Alexander Larsson <alexl@redhat.com>
4566 * gio/guniondrive.[ch]: Removed.
4567 * gio/gunionvolume.[ch]: Removed.
4568 Remove GUnionDrive/Volume
4570 * gio/gunionvolumemonitor.c:
4571 Simplify union volume monitor, now we
4572 only have one native volume monitor and
4573 we use the actual volumes/drives from the
4574 child monitors instead of wrapping them
4576 * gio/gnativevolumemonitor.[ch]:
4577 Base class for native volume monitors.
4578 Includes priority and get_volume_for_mountpoint
4581 Add g_file_find_enclosing_volume
4584 Remove volume name fs attribute
4585 Add readonly fs attribute
4588 Implement readonly attribute
4589 remove volume name attribute
4590 Implement find_enclosing volume
4592 * gio/gunixmounts.c:
4593 Add a volume for "/".
4595 * gio/gunixvolume.[ch]:
4596 Set better name for /
4598 * gio/gunixvolumemonitor.[ch]:
4599 Derive from GNativeVolumeMonitor
4600 Implement get_volume_for_mountpoint
4603 GVolume typedef moved to gfile.h
4605 * gio/gvolumeprivate.h:
4606 Add g_volume_get_for_mount_path
4608 2007-10-31 Alexander Larsson <alexl@redhat.com>
4610 * gio/gunixmounts.[ch]:
4611 Add cache info to unix mount listers
4612 Make getmntent use threadsafe
4613 Add is_system_internal attribute for GUnixMount
4615 * gio/gunixvolume.c:
4616 (g_unix_volume_new):
4617 Use is_system_internal instead of own code
4619 * gio/glocaldirectorymonitor.c:
4620 * gio/gunixvolumemonitor.c:
4621 Update to new gunixmounts API
4626 2007-10-30 Alexander Larsson <alexl@redhat.com>
4629 Add volume name fsinfo attribute
4632 Read volume name info
4634 * gio/gunionvolumemonitor.c:
4635 Fix infinite loops when finalizing a union volume monitor
4637 2007-10-30 Alexander Larsson <alexl@redhat.com>
4639 * gio/goutputstream.[ch]:
4640 Add splice() with default implementation
4642 * gio/gsocketoutputstream.c:
4643 (g_socket_output_stream_write):
4644 Return error on cancellation correctly.
4646 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4648 * gio/glocalfile.c (g_local_file_trash):
4649 Do not leak a string.
4651 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4653 * gio/gfile.c (g_file_load_contents):
4654 Unref the stream after closing it.
4656 2007-10-25 Alexander Larsson <alexl@redhat.com>
4658 * gio/gioscheduler.h:
4661 2007-10-25 Alexander Larsson <alexl@redhat.com>
4665 Add g_file_has_uri_scheme and implement for local files
4667 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4669 * gio/gdesktopappinfo.c: do not leak a string.
4671 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4673 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4674 (g_local_directory_monitor_new):
4675 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4676 (g_local_file_monitor_new):
4677 Only look for the monitor type that should be used the first time
4678 and use g_qsort_with_data() instead of our own bubble sort
4681 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4684 * gio/fam/Makefile.am:
4685 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4686 * gio/fam/fam-helper.h:
4687 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4688 * gio/fam/gfamdirectorymonitor.c:
4689 * gio/fam/gfamdirectorymonitor.h:
4690 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4691 * gio/fam/gfamfilemonitor.h:
4692 * gio/glocaldirectorymonitor.c:
4693 * gio/glocaldirectorymonitor.h:
4694 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4695 * gio/glocalfilemonitor.h:
4696 * gio/inotify/Makefile.am:
4697 * gio/inotify/ginotifydirectorymonitor.c:
4698 * gio/inotify/ginotifydirectorymonitor.h:
4699 * gio/inotify/ginotifyfilemonitor.c:
4700 * gio/inotify/ginotifyfilemonitor.h:
4701 Implement the FAM and Inotify monitors as
4702 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4703 their own GIO module. GLocal(Directory|File)Monitor will use the
4704 monitor with the highest rank that is supported on that machine.
4706 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4709 Change GIO module dir to $(libdir)/gio/modules and change
4710 the log domain from GVFS to GIO. Also only export symbols starting
4711 with g_ in the resulting library.
4712 * gio/test-streams.c: (main):
4713 Set log handler for the GIO log domain.
4715 2007-10-22 Alexander Larsson <alexl@redhat.com>
4717 * gio/gfilenamecompleter.[ch]:
4718 Add g_filename_completer_set_dirs_only
4720 2007-10-22 Alexander Larsson <alexl@redhat.com>
4723 * gio/gurifuncs.[ch]:
4724 Add some simple URI helpers
4726 * gio/gfilenamecompleter.[ch]:
4727 Added object for filename (parse name actually) completion
4730 Handle ~ in parse names
4732 2007-10-17 Alexander Larsson <alexl@redhat.com>
4735 * gio/glocalfileinfo.c:
4736 Add and implement id:value attribute
4738 2007-10-17 Alexander Larsson <alexl@redhat.com>
4741 * gio/guniondrive.c:
4743 Add and implement g_drive_has_volumes
4745 2007-10-17 Alexander Larsson <alexl@redhat.com>
4748 * gio/glocalfileinfo.[ch]:
4749 Add unix:is_mountpoint and implement for local files
4751 2007-10-16 Alexander Larsson <alexl@redhat.com>
4753 * gio/gunionvolumemonitor.c:
4754 (g_union_volume_monitor_init):
4755 Fix up the unix type getting so that it works with gcc
4757 2007-10-12 Alexander Larsson <alexl@redhat.com>
4760 * gio/glocalfileinfo.c:
4761 Add thumbnail:failed to file info
4763 2007-10-12 Richard Hult <richard@imendio.com>
4765 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4766 optimizing away the get_type call (happens with some gcc versions,
4767 like the one shipped with OS X 10.4).
4769 2007-10-12 Alexander Larsson <alexl@redhat.com>
4771 * gio/glocalfileinfo.c:
4772 (_g_local_file_info_set_attribute):
4773 Fix build if not HAVE_XATTR
4774 Patch from Milosz Derezynski <internalerror@gmail.com>
4776 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4778 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4779 around for review, otherwise I would have asked you before
4782 2007-10-11 Alexander Larsson <alexl@redhat.com>
4785 Add thumbnail:path attribute
4787 * gio/glocalfileinfo.c:
4788 Implement thumbnail:path for local files
4790 2007-10-11 Alexander Larsson <alexl@redhat.com>
4792 * gio/glocalfileinfo.c:
4793 (_g_local_file_info_get):
4794 Avoid duplicate icon names
4796 2007-10-11 Alexander Larsson <alexl@redhat.com>
4798 * gio/gthemedicon.[ch]:
4799 Change g_themed_icon_get_names return type to const
4801 2007-10-10 Alexander Larsson <alexl@redhat.com>
4803 * gio/glocalfileinfo.c:
4804 Don't reference freed memory
4806 2007-10-10 Alexander Larsson <alexl@redhat.com>
4808 * gio/gfileattribute.c:
4811 * gio/glocalfileinfo.c:
4814 2007-10-10 Alexander Larsson <alexl@redhat.com>
4817 Check for NULL icons
4819 * gio/gfileattribute.c:
4820 Don't dup when getting objects (same as for string attributes)
4822 * gio/gicon.c (g_icon_equal):
4823 Safely handle NULLs in equal
4825 2007-10-10 Alexander Larsson <alexl@redhat.com>
4828 Fix c++ compilation issues
4829 Patch from Milosz Derezynski <internalerror@gmail.com>
4831 2007-10-10 Alexander Larsson <alexl@redhat.com>
4833 * programs/gio-monitor-dir.c:
4834 Don't crash if dir monitor not supported.
4836 2007-10-09 Alexander Larsson <alexl@redhat.com>
4839 Add missing G_END_DECLS
4841 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4843 * gio/gfile.c: (g_file_set_display_name),
4844 (g_file_query_settable_attributes),
4845 (g_file_query_writable_namespaces):
4846 Return NULL not FALSE on errors as the return type is a pointer.
4848 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4850 * gio/glocalfile.c: (g_local_file_monitor_file):
4851 Don't call monitor_file on the default interface vtable (which
4852 is NULL) but simply return NULL. The caller, GFile, will create a
4853 polling monitor if NULL is returned.
4855 2007-10-09 Alexander Larsson <alexl@redhat.com>
4859 * gio-unix-2.0.pc.in:
4860 Add gio-unix-2.0.pc if OS_UNIX
4863 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4865 2007-10-09 Alexander Larsson <alexl@redhat.com>
4867 * gio/gunixmounts.[ch]:
4868 Make unix mount monitoring API sane.
4869 Now its just a object with mounts_changed
4870 and mountpoints_changed signals.
4872 * gio/glocaldirectorymonitor.c:
4873 * gio/gunixvolumemonitor.c:
4874 Use new mount monitor api
4876 2007-10-09 Alexander Larsson <alexl@redhat.com>
4878 * gio/gunixmounts.[ch]:
4879 Move guess type into one call for mounts and one for mountpoints
4882 * gio/gunixvolume.c:
4885 2007-10-09 Alexander Larsson <alexl@redhat.com>
4887 * gio/gunixmounts.[ch]:
4888 Remove _ prefix in preparation to make this semi-public
4889 Hide implementation of structs
4891 * gio/glocaldirectorymonitor.c:
4893 * gio/gunixvolume.c:
4894 * gio/gunixvolumemonitor.c:
4895 Update for above API changes
4897 2007-10-08 Alexander Larsson <alexl@redhat.com>
4900 Better polling fallback. This also handles the case where we have
4901 a monitor_file implementation, but it fails.
4903 2007-10-08 Alexander Larsson <alexl@redhat.com>
4907 * gio/gunixmounts.c:
4908 * programs/gio-monitor-dir.c:
4909 * programs/gio-monitor-file.c:
4910 Added cancellable to file monitoring calls.
4911 These are really sync calls and need this.
4913 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4915 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4916 (g_local_vfs_class_init):
4917 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4918 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4920 2007-10-05 Alexander Larsson <alexl@redhat.com>
4922 * gio/gdirectorymonitorprivate.h:
4923 * gio/gfilemonitorprivate.h:
4924 * gio/gdirectorymonitor.h:
4925 * gio/gfilemonitor.h:
4926 Remove *private.h and move to the public API, so that
4927 we can do implementations outside gio (such as in gvfs)
4929 * gio/gdirectorymonitor.c:
4930 * gio/gfilemonitor.c:
4931 * gio/glocaldirectorymonitor.c:
4932 * gio/gpollfilemonitor.c:
4933 * gio/inotify/inotify-helper.c:
4934 * gio/fam/fam-helper.c:
4935 Update to the new header names
4937 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4939 * gio/gdirectorymonitor.c:
4940 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4943 2007-10-04 Alexander Larsson <alexl@redhat.com>
4945 * gio/glocalfileinfo.c (get_access_rights):
4946 Set CAN_TRASH when we can move the file.
4947 We should really also check for a parent trash dir.
4949 2007-10-04 Alexander Larsson <alexl@redhat.com>
4951 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4952 Add can_trash access attribute
4954 2007-10-04 Alexander Larsson <alexl@redhat.com>
4957 (g_local_file_trash):
4958 Create info file first. This is per-spec and allows
4959 us to actually trash directories.
4961 2007-10-02 Alexander Larsson <alexl@redhat.com>
4963 * gio/gdesktopappinfo.c:
4964 Implement the new mime support code.
4965 Always set app as handling mimetype when being set as default for it
4967 2007-10-01 Alexander Larsson <alexl@redhat.com>
4969 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4970 Fix up check for xattrs:
4972 2007-10-01 Alexander Larsson <alexl@redhat.com>
4975 (g_app_info_set_as_default_for_extension):
4976 (g_app_info_add_supports_type):
4977 (g_app_info_can_remove_supports_type):
4978 (g_app_info_remove_supports_type):
4979 Make these fail nicely if not implemented
4981 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4983 * gio/glocalfileoutputstream.c:
4984 * gio/glocalfileoutputstream.h:
4989 * programs/gio-save.c:
4990 Add a GFileCreateFlags argument to operations that can create
4993 2007-10-01 Alexander Larsson <alexl@redhat.com>
4995 * gio/gappinfo.[ch]:
4996 * gio/gdesktopappinfo.c:
4997 Add more (stubbed out) mime API needed for nautilus
4999 2007-10-01 Alexander Larsson <alexl@redhat.com>
5002 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5003 Add g_app_info_set_as_default_for_extension.
5005 * gio/gdesktopappinfo.c:
5006 Dummy for g_app_info_set_as_default_for_extension
5007 Support flags in g_app_info_create_from_commandline
5009 * gio/gwin32appinfo.c:
5011 Update for API changes
5013 * gio/gthemedicon.c:
5014 Properly NULL-terminate list of icon names
5016 2007-09-28 Alexander Larsson <alexl@redhat.com>
5018 * gio/gloadableicon.h:
5019 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5021 2007-09-28 Alexander Larsson <alexl@redhat.com>
5024 Install headers in $includedir/gio-standalone/
5026 * gio-2.0.pc.in: Added.
5027 * gio-standalone.pc.in: Removed.
5030 Renamed pkg-config file to match glib (for future move)
5031 Update to the new include dir
5034 Add more TODO comments
5036 2007-09-28 Alexander Larsson <alexl@redhat.com>
5038 * gio/gdesktopappinfo.[ch]:
5039 Expose new_from_filename
5040 Add getter for is_hidden and handle it better
5042 2007-09-28 Alexander Larsson <alexl@redhat.com>
5044 * gio/gfileinfo.[ch]:
5045 Rename g_file_size_format_for_display to
5046 g_format_file_size_for_display.
5047 Now it doesn't have the g_file prefix, so we
5048 can later move it to glib.
5050 2007-09-28 Alexander Larsson <alexl@redhat.com>
5052 * gio/gappinfo.[ch]:
5053 Add g_app_info_get_id and g_app_info_get_executable.
5054 Make all getters non-reffing
5055 Make g_app_info_launch take GFile arguments.
5056 Add must_support_uris argument to g_app_info_get_default_for_type.
5058 * gio/gwin32appinfo.c:
5059 Update to GAppInfo api changes
5061 * gio/gdesktopappinfo.c:
5062 Update to GAppInfo api changes
5063 Implement supports_xdg_startup_notify
5065 * gio/gfileicon.c (g_file_icon_get_file):
5066 Make getter non-reffing.
5071 2007-09-27 Alexander Larsson <alexl@redhat.com>
5073 * gio/gfileinfo.[ch]:
5074 Add g_file_size_format_for_display helper
5076 2007-09-27 Alexander Larsson <alexl@redhat.com>
5078 * gio/glocalfileinfo.c:
5079 Set UNIX_GID from gid, not from uid
5081 2007-09-27 Alexander Larsson <alexl@redhat.com>
5084 Add g_file_set_attributes_async
5086 2007-09-27 Alexander Larsson <alexl@redhat.com>
5088 * gio/glocalfile.c (g_local_file_set_display_name):
5089 Fix set_display_name to actually rename to the right place.
5090 Use lstat to look for existing files so we don't overwrite
5093 2007-09-26 Alexander Larsson <alexl@redhat.com>
5096 Add g_file_set_display_name_async()
5098 2007-09-26 Alexander Larsson <alexl@redhat.com>
5101 Add load_partial_contents async calls
5104 Make internal function static
5106 2007-09-26 Alexander Larsson <alexl@redhat.com>
5108 * gio/glocalfileinfo.c:
5109 Correctly detect broken symlinks
5111 2007-09-26 Alexander Larsson <alexl@redhat.com>
5113 * gio/gcancellable.c (g_cancellable_cancel):
5114 Allow cancel on NULL cancellable
5116 2007-09-25 Alexander Larsson <alexl@redhat.com>
5118 * gio/gsimpleasyncresult.c:
5119 Don't allocate g_error manually.
5120 Fixes g_slice/g_new mixup crash
5122 2007-09-25 Alexander Larsson <alexl@redhat.com>
5124 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5125 Actually set active_backend.
5126 This means the monitor will be cancelled correctly.
5128 2007-09-25 Alexander Larsson <alexl@redhat.com>
5130 * gio/gdirectorymonitor.c:
5131 Set timeout to NULL when destroying
5133 2007-09-25 Alexander Larsson <alexl@redhat.com>
5136 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5137 that is a better description of the error.
5139 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5141 * gio/gvfs.c: (g_vfs_get_local):
5142 Make the local vfs variable static. The same instance should
5145 2007-09-24 Alexander Larsson <alexl@redhat.com>
5147 * gio/glocalfileinfo.c:
5148 Pass in actual length read into sniffer, not the length
5151 2007-09-21 Alexander Larsson <alexl@redhat.com>
5153 * gio/gfileenumerator.c:
5156 * gio/gfileinputstream.c:
5157 * gio/gfileoutputstream.c:
5158 * gio/ginputstream.c:
5159 * gio/goutputstream.c:
5160 Don't crash if async callbacks are NULL
5162 2007-09-20 Alexander Larsson <alexl@redhat.com>
5165 Add async enumerate_children method and default
5168 2007-09-20 Alexander Larsson <alexl@redhat.com>
5171 Add g_file_contains_file & g_file_get_relative_path, since they
5172 were needed for nautilus.
5173 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5178 Implement new methods
5180 2007-09-17 Alexander Larsson <alexl@redhat.com>
5183 * gio/gfileinputstream.[ch]:
5184 * gio/gfileoutputstream.[ch]:
5186 * gio/glocalfileenumerator.[ch]:
5187 * gio/glocalfileinfo.[ch]:
5188 * gio/glocalfileinputstream.c:
5189 * gio/glocalfileoutputstream.c:
5190 * gio/gpollfilemonitor.c:
5191 * programs/gio-copy.c:
5192 * programs/gio-info.c:
5193 * programs/gio-move.c:
5194 Rename get_file_info to query_info() to make it clearer
5195 that these are not simple getters, but do i/o.
5197 2007-09-17 Alexander Larsson <alexl@redhat.com>
5199 * gio/gdatainputstream.[ch]:
5200 * gio/test-streams.c:
5201 Use _read_XXX instead of _get_XXX for the i/o calls
5204 2007-09-17 Alexander Larsson <alexl@redhat.com>
5207 Added needed stuff to TODO comment
5209 2007-09-17 Alexander Larsson <alexl@redhat.com>
5211 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5212 Don't error out removing the backup copy if it doesn't
5215 2007-09-14 Alexander Larsson <alexl@redhat.com>
5217 * programs/Makefile.am:
5218 * programs/gvfs-*.c:
5220 Renamed apps from gvfs-xxx to gio-xxx.
5222 2007-09-14 Alexander Larsson <alexl@redhat.com>
5225 * gio/gfileoutputstream.[ch]:
5226 * gio/glocalfileoutputstream.c:
5227 * programs/gvfs-save.c:
5228 g_file_output_stream_get_etag doesn't do i/o, so remove
5229 cancellation and error.
5231 2007-09-14 Alexander Larsson <alexl@redhat.com>
5234 Add new_etag output to replace_contents functions
5236 2007-09-14 Alexander Larsson <alexl@redhat.com>
5238 * gio/gfileoutputstream.[ch]:
5239 Add async get_file_info and default implementation
5241 2007-09-14 Alexander Larsson <alexl@redhat.com>
5243 * gio/gfileinputstream.c:
5244 Implement fallback wrapper for async get_file_info
5246 2007-09-14 Alexander Larsson <alexl@redhat.com>
5249 Add etag out argument to load_contents
5254 2007-09-14 Alexander Larsson <alexl@redhat.com>
5256 * gio/gcontenttype.c (looks_like_text):
5257 Whitespace like tab, cr and lf do not make the
5260 2007-09-14 Alexander Larsson <alexl@redhat.com>
5262 * gio/gfileinputstream.[ch]:
5263 Add async get_file_info.
5265 2007-09-13 Alexander Larsson <alexl@redhat.com>
5267 * gio/goutputstream.c (g_output_stream_write_all):
5268 Allow NULL for bytes_written
5270 2007-09-13 Alexander Larsson <alexl@redhat.com>
5272 * gio/gmemoryinputstream.[ch]:
5273 Add accessors for data
5275 2007-09-13 Alexander Larsson <alexl@redhat.com>
5277 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5278 Don't crash if length is NULL