1 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
3 Bug 561375 – Leaks mountpoint description
5 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
8 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
10 Bug 561352 – Leak of icon description
12 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
15 2008-11-14 Matthias Clasen <mclasen@redhat.com>
17 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
19 2008-11-12 Tor Lillqvist <tml@novell.com>
21 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
23 * win32/gwinhttpvfs.h: Move the set of function pointers to
24 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
25 pointer to that in the GWinHttpVfsClass.
27 * win32/gwinhttpvfs.c: Move the lookup of functions from
28 winhttp.dll into a function of its own, that stores the pointers
29 in a separate GWinHttpDllFuncs variable. Add two bookeeping
30 booleans lookup_done and funcs_found.
32 Don't call g_io_extension_point_implement() to register the
33 winhttp extension unless winhttp.dll has been successfully loaded
34 and the required functions found in it.
36 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
37 winhttp.dll correspondingly.
39 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
41 reviewed by: Alexander Larsson <alexl@redhat.com>
43 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
44 clearer about the behavior when there's no more content to read.
46 2008-10-27 Federico Mena Quintero <federico@novell.com>
48 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
50 2008-10-27 Tor Lillqvist <tml@novell.com>
52 Bug 557592 - Missing include in gwinhttpfile.c
54 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
57 2008-10-24 Matthias Clasen <mclasen@redhat.com>
59 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
61 * fam/fam-helper.c: Fix a memory leak and formatting issues.
62 Reported by Daniel Marjamäki
64 2008-10-23 Matthias Clasen <mclasen@redhat.com>
66 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
68 2008-10-23 Alexander Larsson <alexl@redhat.com>
70 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
73 (_g_local_file_info_get):
74 Don't return the fallback icon (text-x-generic) for all files.
75 This is causing problems with theme icon lookup and custom mime
76 icons, as the generic fallback overrides custom mime icons in
79 This is a slight change as applications might not get an icon wher
80 they previously did. But there is no guarantee to get on neither before
81 or after this change, so it should not break applications. Changes
82 to nautilus and gtk+ will be done to manually use the generic fallback
83 icon if no icon is found, but this is only required for rare cases.
85 2008-10-21 Alexander Larsson <alexl@redhat.com>
88 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
90 2008-10-21 Alexander Larsson <alexl@redhat.com>
92 Bug 555740 - gicon serialization
93 Based on patch from David Zeuthen
97 Add g_icon_to_string() and g_icon_new_for_string().
103 Implement icon serialization for built-in icon types
107 Added GIcon serialization test
109 2008-10-16 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.19.0 ===
113 2008-10-16 Matthias Clasen <mclasen@redhat.com>
115 Bug 556422 – g_file_enumerator_next_file: unclear whether return
116 value needs to be freed
118 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
119 the return value docs. Pointed out by Armin Burgmeier
121 2008-10-14 Matthias Clasen <mclasen@redhat.com>
123 Bug 556334 – Warning when building without selinux support
125 * glocalfileinfo.c: Avoid compiler warnings when selinux is
126 disabled. Patch by Pascal Terjan
128 2008-10-14 Matthias Clasen <mclasen@redhat.com>
130 Bug 556335 – make check fails in abicheck.sh
132 * gio.symbols: Add g_file_attribute_info_list_get_type.
133 Pointed out by Pascal Terjan.
135 2008-10-13 Alexander Larsson <alexl@redhat.com>
138 When adding an application as handling a mime type (but
139 not as the default), copy the full list of desktop ids handling
140 that type in before adding the new one on the end of the list.
141 This means we're not accidentally changing the default by overriding
142 the info from the later directories in the search path.
144 Also, fixes small leak of removed_entries.
146 2008-10-12 David Zeuthen <davidz@redhat.com>
149 * gunionvolumemonitor.c:
151 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
153 2008-10-10 Alexander Larsson <alexl@redhat.com>
155 * gfileattribute.c (escape_byte_string):
156 Upper half of byte is >> 4, not >> 8.
157 Found by Kjartan Maraas via sparse
159 2008-10-10 Matthias Clasen <mclasen@redhat.com>
161 Bug 555711 – Wrong fallback order of mimetype icons
163 * gcontenttype.c: Don't prefer generic icons over
164 default mimetype icons.
166 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
167 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
169 Patch by Krysztof Kosiński
171 2008-10-10 Matthias Clasen <mclasen@redhat.com>
173 Bug 555121 – Improved build-time handling of gio module-dir
175 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
176 * Makefile.am: Create the module dir.
178 2008-10-10 Matthias Clasen <mclasen@redhat.com>
180 * gio/glocalfileinfo.c:
181 * gio/tests/live-g-file.c:
182 * gio/gsimpleasyncresult.c: Fix gcc warnings.
184 2008-10-09 Alexander Larsson <alexl@redhat.com>
186 * gunixinputstream.c (g_unix_input_stream_read):
187 Actually return -1 in case of cancelled, not old res value.
189 2008-10-06 Colin Walters <walters@verbum.org>
191 Bug 554745 - GFileAttributeInfoList should be boxed
193 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
194 for convenience of bindings.
195 * gio/gfileattribute.h: Prototype it.
197 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
199 Bug 554970 – segfault when update-desktop-database is not available
202 * gdesktopappinfo.c (run_update_command): Have the error set before
205 2008-10-01 David Zeuthen <davidz@redhat.com>
207 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
208 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
209 instead of the gio URI (such as sftp://foo/file.avi) when using
210 g_app_info_launch() and friends. With a sufficiently recent gvfs,
211 apps using gio+gvfs will map the FUSE file:// URI back to the gio
212 URI (and thus bypass the fuse daemon) thanks the patch from bug
213 #530654. Since Nautilus is an user of g_app_info_launch() it
214 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
215 when launced via the file manager. Win. Fixes bug #528670.
217 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
218 mapping to the description of GAppInfo.
220 2008-09-30 Tor Lillqvist <tml@novell.com>
222 * tests/Makefile.am: Build desktop-app-info only on Unix.
224 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
225 g_critical(). Pass a large enough result buffer to
226 GetVolumePathNameW(). Just use MAX_PATH.
228 2008-09-29 David Zeuthen <davidz@redhat.com>
230 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
232 2008-09-26 Dan Winship <danw@gnome.org>
234 * tests/data-input-stream.c:
235 * tests/data-output-stream.c:
236 * tests/live-g-file.c:
237 * tests/memory-input-stream.c:
238 * tests/memory-output-stream.c: Use g_assert_error() and
241 2008-09-26 Matthias Clasen <mclasen@redhat.com>
243 Bug 545350 – GAppInfo deletion
244 Bug 545351 – Reset associations for content type
247 * gappinfo.[hc]: New functions g_app_info_can_delete,
248 g_app_info_delete and g_app_info_reset_type_associations.
251 * gwin32appinfo.c: Implementations of these.
254 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
256 2008-09-26 Dan Winship <danw@gnome.org>
258 Bug 505361 – gunixinputstream.c assumes poll() available
259 Bug 509446 – portable blocking gio cancellation
261 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
262 GPollFD for a cancellable (which is slightly more complicated on
265 * gunixinputstream.c (g_unix_input_stream_read):
266 * gunixoutputstream.c (g_unix_output_stream_write): Use
267 g_cancellable_make_pollfd() and g_poll() rather than using poll()
270 * tests/unix-streams.c: test of GUnixInputStream,
271 GUnixOutputStream, and GCancellable.
273 2008-09-26 Dan Winship <danw@gnome.org>
275 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
276 cast to stop a gcc warning
278 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
281 2008-09-25 Dan Winship <danw@gnome.org>
283 Bug 553426 - cancellable clarifications
285 * gcancellable.c (g_cancellable_class_init): Add a note to the
286 "cancelled" signal docs warning about thread-safety issues
287 (g_cancellable_cancel): Note that cancelling an asynchronous
288 operation takes effect asynchronously, not immediately.
290 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
292 * gioenums.h: Add new GFileCopyFlag, to leave target file with
293 default perms, instead of setting the source file perms, in a copy
296 * gfile.c (g_file_copy_attributes)
297 (build_attribute_list_for_copy)
298 (should_copy): Not copy "unix::mode" attribute if we have received
299 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
301 2008-09-20 Matthias Clasen <mclasen@redhat.com>
303 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
305 2008-09-17 Matthias Clasen <mclasen@redhat.com>
307 * === Released 2.18.1 ===
309 2008-09-16 Michael Natterer <mitch@imendio.com>
311 * gcontenttype.c (g_content_type_guess): can't assign the return
312 value of g_strdupv() to an array. Fill the array manually with
313 const strings instead (it is never freed anyway). Fixes the
314 build. Also fixed indentation.
316 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
318 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
319 Fix trivial typo to unbreak the build (there was a colon
320 instead of a semicolon at the end of a statement).
322 2008-09-15 Matthias Clasen <mclasen@redhat.com>
324 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
327 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
330 2008-09-15 Matthias Clasen <mclasen@redhat.com>
332 Bug 551681 – g_content_type_guess() too naive with filenames
334 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
335 at the end of the filename, and declare it a directory.
336 Patch by Bastien Nocera
338 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
340 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
343 * gdesktopappinfo.c: add a note in the docs clarifying what the
344 "filename" parameter really is.
346 2008-09-12 Tor Lillqvist <tml@novell.com>
348 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
349 FormatMessage() etc here. Call g_win32_error_message() instead
350 which already does all that. Besides, the code was broken as it
351 called the default "A" version of FormatMessage() but still
352 thought it produced a wide string.
354 2008-09-12 Michael Natterer <mitch@imendio.com>
356 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
357 in the documentation.
359 2008-09-08 Christian Neumair <cneumair@gnome.org>
361 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
362 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
363 Use non-blocking pipe for mount helper I/O. Fixes #550647.
365 2008-09-06 Matthias Clasen <mclasen@redhat.com>
367 Bug 551149 – xdgmime mem leak
369 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
370 a memory leak. Patch by Christian Persch
372 2008-09-04 Tor Lillqvist <tml@novell.com>
374 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
377 2008-09-02 Matthias Clasen <mclasen@redhat.com>
379 * === Released 2.18.0 ===
381 2008-09-02 Michael Natterer <mitch@imendio.com>
383 * *.h: big header formatting cleanup: indentation, vtable
384 formatting, consistent spacing in (* vfunc), trailing whitespace
385 removal. Formatting should be pretty consistent in all GIO headers
388 2008-09-02 Matthias Clasen <mclasen@redhat.com>
390 * gmount.h: Document guess_content_type sync vfunc.
392 2008-09-02 Michael Natterer <mitch@imendio.com>
394 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
395 fix parent_class member to be GFilterOutputStreamClass (not
396 GOutputStreamClass). Drop three pointers of padding, which is
397 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
398 so the class struct size stays the same.
400 2008-09-02 Matthias Clasen <mclasen@redhat.com>
402 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
404 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
405 nonexisting return values. Pointed out by Cosimo Cecchi.
407 2008-08-23 Tor Lillqvist <tml@novell.com>
409 Bug 548988 - g_file_replace fails on Windows when the target file
412 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
413 Windows, close the file before potentially renaming it (in case we
414 have been writing to a file with a temporary name).
416 (g_local_file_output_stream_close, handle_overwrite_open): Use
417 GLocalFileStat instead of plain struct stat, for passing to
418 _g_local_file_info_create_etag(). Thus also use _fstati64()
419 instead of plain fstat() on Windows.
421 2008-08-18 Matthias Clasen <mclasen@redhat.com>
423 * === Released 2.17.7 ===
425 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
427 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
430 2008-08-13 Tor Lillqvist <tml@novell.com>
432 * win32/gwinhttpvfs.c
433 * win32/gwinhttpvfs.h
434 * win32/gwinhttpfile.c
435 * win32/gwinhttpfileinputstream.c
436 * win32/gwinhttpfileoutputstream.c: Refactor some common code
437 snippets into helper functions. Check HTTP response status
438 codes. Implement g_winhttp_file_query_info(), looking at
439 Content-Length, Content-Type and Last-Modified.
441 * win32/winhttp.h: Add some symbolic constants that are not
442 publicly documented. Just a handful, so it should be OK to use
443 information from the Windows SDK's headers.
445 2008-08-13 Tor Lillqvist <tml@novell.com>
447 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
450 * win32/gwin32directorymonitor.c
451 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
453 2008-08-13 Matthias Clasen <mclasen@redhat.com>
456 * goutputstream.c: Add intro docs.
458 2008-08-13 Tor Lillqvist <tml@novell.com>
460 * win32/gwinhttpfileoutputstream.c
461 (g_winhttp_file_output_stream_write): Don't write the
462 Content-Length header ourselves, WinHttpSendRequest() takes care
463 of that when the dwTotalLength parameter is non-zero. Increment
464 offset by the number of actual bytes sent, although I wonder if
465 such a scenario is possible where less than requested would be
466 sent and accepted by the server without errors.
468 2008-08-13 Tor Lillqvist <tml@novell.com>
470 * win32/gwinhttpvfs.c
471 * win32/gwinhttpvfs.h
472 * win32/gwinhttpfile.c
473 * win32/gwinhttpfile.h
474 * win32/gwinhttpfileinputstream.c
475 * win32/gwinhttpfileinputstream.h
476 * win32/gwinhttpfileoutputstream.c
477 * win32/gwinhttpfileoutputstream.h: New files implementing
478 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
479 Windows. The implementation uses the WinHttp API. Both reading and
480 writing are supported, i.e. GET and PUT requests. When writing,
481 each write call is done using a separate PUT request with a
482 Content-Range header. Requests for file URIs and plain pathnames
483 are forwarded to GLocalVfs.
485 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
486 WINE. Used as there is no <winhttp.h> bundled with mingw, and
487 requiring people to download the Windows SDK just for this one
488 header is not reasonable.
490 * win32/Makefile.am: Add above files.
492 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
493 the plumbing for the above.
495 2008-08-11 Sven Neumann <sven@gimp.org>
497 * gfilenamecompleter.c
498 * glocaldirectorymonitor.c
500 * gunionvolumemonitor.c
504 * gunixvolumemonitor.c
507 * gwin32volumemonitor.c: use canonical signal names.
509 2008-08-11 Tor Lillqvist <tml@novell.com>
511 * Makefile.am: Put a list of the platform-dependent .la files in
512 the subdirectories in the platform_deps Make variable, and make
513 libgio-2.0.la depend on that, so that it gets relinked if one of
514 the dependent libraries has changed.
516 2008-08-11 Tor Lillqvist <tml@novell.com>
518 * Makefile.am (platform_libadd): Remove -lwininet which had been
519 added by mistake. We will probably eventually be using WinHTTP,
520 not the older WinInet anyway. (Actually I am working on it.)
522 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
524 Bug 547080 – g_file_copy leaks expected errors
526 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
527 before trying the next fallback routine.
529 2008-08-09 Loïc Minier <lool@dooz.org>
531 Bug 535124 – umask 002 not being applied for new directories, new
532 files get the correct umask
534 * gfile.c (g_file_make_directory)
535 (g_file_make_directory_with_parents): Document ownership and
536 permissions of newly created directories as being the default
539 2008-08-08 Loïc Minier <lool@dooz.org>
541 Bug 535124 – umask 002 not being applied for new directories, new
542 files get the correct umask
544 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
547 2008-08-08 Tor Lillqvist <tml@novell.com>
549 * gwin32mount.c: Remove unused code. Whitespace cleanup.
551 * gwin32volumemonitor.c (get_connected_drives): Put questionable
552 code that didn't actually do anything inside #if 0, and add a
553 comment wondering what the code was supposed to do. This also gets
554 rid of a leftover debugging printout.
556 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
558 * gfileicon.c (g_file_icon_get_property)
559 (g_file_icon_set_property): New functions.
560 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
562 (g_file_icon_new): Use the property (bug #546132).
564 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
566 * gthemedicon.c (g_themed_icon_get_property): Also handle
567 `PROP_USE_DEFAULT_FALLBACKS'.
568 (g_themed_icon_class_init): Make
569 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
571 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
573 Bug 546371 – Improve docs re g_file_monitor
575 * gfilemonitor.c: Mention g_file_monitor() in the docs.
577 2008-08-04 Matthias Clasen <mclasen@redhat.com>
579 * === Released 2.17.6 ===
581 2008-08-04 Matthias Clasen <mclasen@redhat.com>
583 * === Released 2.17.5 ===
585 2008-08-04 Matthias Clasen <mclasen@redhat.com>
587 Bug 546017 – Don't copy attributes when copying a symlink
589 * gfile.c (g_file_copy_attributes): Specify
590 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
591 g_file_set_attributes_from_info. Patch by Christian Kellner
593 2008-08-04 Matthias Clasen <mclasen@redhat.com>
595 * gemblemedicon.[hc]:
597 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
598 a bit more extensible. Work by Clemens Buss.
600 * gioenums.h: Add GEmblemOrigin.
603 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
605 Bug 546079 – leak in xdgmime
607 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
609 2008-08-03 Tor Lillqvist <tml@novell.com>
611 * win32/gwin32directorymonitor.h
612 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
615 2008-08-03 Tor Lillqvist <tml@novell.com>
617 * win32/gwin32directorymonitor.c
618 (g_win32_directory_monitor_callback): Make prototype match
619 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
620 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
623 (g_win32_directory_monitor_constructor):
624 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
625 names in the GLib API on Windows, so convert to UTF-16 and open
628 2008-08-03 Tor Lillqvist <tml@novell.com>
630 Bug 541036 - Gnumeric crashes when trying to open Desktop or
631 user's folder under Windows
633 * win32/gwin32directorymonitor.c
634 (g_win32_directory_monitor_constructor): Ignore error from
635 CreateFile() when opening directory. Instead of asserting, just
636 store INVALID_HANDLE_VALUE then in
637 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
638 ReadDirectoryChangesW().
639 (g_win32_directory_monitor_cancel): Don't attempt to close
640 directory handle if it is INVALID_HANDLE_VALUE.
642 2008-08-01 Matthias Clasen <mclasen@redhat.com>
644 * gdesktopappinfo.c: Remove debug spew
646 2008-08-01 Hans Breuer <hans@breuer.org>
648 * makefile.msc : add gemblembedicon
650 2008-07-30 Matthias Clasen <mclasen@redhat.com>
652 Bug 545457 – gdmsetup crashed with SIGSEGV in
653 g_unix_mount_guess_should_display()
655 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
656 crash if no mount is found.
658 2008-07-28 Matthias Clasen <mclasen@redhat.com>
660 Bug 545203 – gfile.c: argument is different type.
662 * gfile.c (open_read_async_thread): Pass a GError **
663 to g_file_set_error_literal.
664 Reported by Kazuki Iwamoto
666 2008-07-28 Matthias Clasen <mclasen@redhat.com>
668 Bug 545157 – wrong/no list of "open with" applications for .cc and
671 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
672 Collect all ancestors, not just direct parents. Pointed
673 out by Bastien Nocera
675 2008-07-28 Matthias Clasen <mclasen@redhat.com>
677 * Makefile.am: Install gemblemedicon.h
679 2008-07-28 Matthias Clasen <mclasen@redhat.com>
681 * gemblemedicon.[hc]: Add a GIcon implementation that can
682 add an emblem to another icon.
689 * gfileicon.c: Small documentation additions.
691 2008-07-28 Tor Lillqvist <tml@novell.com>
693 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
696 2008-07-27 Tor Lillqvist <tml@novell.com>
698 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
700 2008-07-24 David Zeuthen <davidz@redhat.com>
704 Also export a g_mount_guess_content_type_sync() function.
706 2008-07-23 Matthias Clasen <mclasen@redhat.com>
708 529694 – SELinux context setting support
710 * gfileinfo.c: Support setting selinux attributes.
711 Patch by Tomas Bzatek
713 2008-07-22 Priit Laes <plaes@plaes.org>
715 Bug 544140 - fam-helper 64-bit issue?
717 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
719 2008-07-21 Matthias Clasen <mclasen@redhat.com>
721 * === Released 2.17.4 ===
723 2008-07-20 Matthias Clasen <mclasen@redhat.com>
725 * gvolumemonitor.[hc]:
730 * gmount.c: Documentation fixes
732 2008-07-19 Matthias Clasen <mclasen@redhat.com>
734 543504 – crash in Epiphany Web Browser: Opening local file
745 * gvolume.c: Register types thread-safely.
746 Patch by Christian Persch
748 2008-07-18 Matthias Clasen <mclasen@redhat.com>
750 * gcontenttype.c: Remove debug spew
752 2008-07-18 Matthias Clasen <mclasen@redhat.com>
754 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
757 * fen/fen-kernel.c: Remove a warning that was causing
758 crashes. Reported by Lin Ma.
760 2008-07-18 Matthias Clasen <mclasen@redhat.com>
762 Bug 543040 – async reading on dummy file will crash on
765 * gfile.c (open_read_async_thread): Cope with read_fn being
766 NULL. Reported by Lin Ma.
768 2008-07-18 Matthias Clasen <mclasen@redhat.com>
771 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
773 2008-07-16 Matthias Clasen <mclasen@redhat.com>
777 * giomodule.c: Rename a chapter id to avoid filename conflict.
779 2008-07-16 Matthias Clasen <mclasen@redhat.com>
781 Bug 540616 – mem leak in filechooser button
783 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
784 the mount entry. Reported by Chrisitan Persch
786 2008-07-16 Matthias Clasen <mclasen@redhat.com>
788 * gfile.c: Small documentation fixes.
790 2008-07-15 Matthias Clasen <mclasen@redhat.com>
792 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
794 2008-07-08 Matthias Clasen <mclasen@redhat.com>
799 * gmount.c: Documentation improvements.
801 2008-07-08 Matthias Clasen <mclasen@redhat.com>
804 * gmount.[hc]: Add g_mount_guess_content_type().
806 2008-07-06 David Zeuthen <davidz@redhat.com>
809 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
810 is needed for easily handling adoption of foreign volumes by
811 out-of-process volume monitors (#541793)
813 2008-07-06 David Zeuthen <davidz@redhat.com>
815 * gvolumemonitor.[ch]:
816 * gunionvolumemonitor.c: Export the eject-button signal on the
817 volume monitor class (#541794).
819 2008-07-06 Matthias Clasen <mclasen@redhat.com>
821 * gappinfo.c: More doc tweaks
823 2008-07-05 Matthias Clasen <mclasen@redhat.com>
825 * gappinfo.c: Clarify some docs
827 2008-07-03 Matthias Clasen <mclasen@redhat.com>
829 * gdesktopappinfo.c: Fix a stupid mistake.
831 2008-07-02 Matthias Clasen <mclasen@redhat.com>
833 * === Released 2.17.3 ===
835 2008-07-02 Matthias Clasen <mclasen@redhat.com>
837 * gfilemonitor.c: Fix the build.
839 2008-07-02 Matthias Clasen <mclasen@redhat.com>
841 Bug 536160 – Add g_file_monitor()
844 * gfile.[hc]: Add g_file_monitor which can return either
845 a file or a directory monitor. Proposed by Behdad Esfahbod
847 2008-07-02 Matthias Clasen <mclasen@redhat.com>
849 536733 – gio build failure on Irix
851 * glocalfile.c: Use a configure check for structfs.f_bavail.
853 2008-07-02 Matthias Clasen <mclasen@redhat.com>
855 Bug 534639 – add g_desktop_app_info_new_from_keyfile
858 * gdesktopappinfo.[hc]: Add a function to create a
859 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
861 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
863 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
865 2008-07-01 Matthias Clasen <mclasen@redhat.com>
867 * gunixmounts.c: Fix a doc typo.
869 2008-07-01 Cody Russell <bratsche@gnome.org>
871 * gio/gcontenttype.c:
872 * gio/gwin32appinfo.c:
873 * gio/gwin32volumemonitor.c:
874 * gio/gwin32mount.c: Fixed some include problems.
876 2008-07-01 Cody Russell <bratsche@gnome.org>
880 Moved all relevant typedefs into these files.
883 Updated wrt added files.
885 Split types into separate file for easier maintainership. (#538564)
887 2008-06-30 Matthias Clasen <mclasen@redhat.com>
889 Bug 540331 – g_file_append_to () documentation: can return NULL
891 * gfile.c (g_file_append_to): Clarify docs.
894 2008-06-30 Matthias Clasen <mclasen@redhat.com>
896 Bug 539090 – g_content_type_from_mime_type() should unalias
898 * gcontentype.c (g_content_type_from_mime_type): Unalias.
899 Patch by Markus Bergman
901 2008-06-30 Matthias Clasen <mclasen@redhat.com>
903 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
906 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
907 on ppc and alpha. Reported by Mart Raudsepp
909 2008-06-29 Matthias Clasen <mclasen@redhat.com>
912 * tests/memory-output-stream.c: Add some tests for
915 2008-06-29 Matthias Clasen <mclasen@redhat.com>
917 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
920 * gmemoryoutputstream.c (array_resize): Handle truncation to
921 zero correctly. Reported by Akira Tagoh
923 2008-06-29 Matthias Clasen <mclasen@redhat.com>
925 * gmemoryoutputstream.c: Trivial doc fixes
927 2008-06-29 Matthias Clasen <mclasen@redhat.com>
929 Bug 540802 – g_list_prepend doesn't concat lists
931 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
932 one list to another. Pointed out by Jan Arne Petersen
934 2008-06-28 Michael Natterer <mitch@imendio.com>
936 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
938 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
940 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
941 to avoid problems with partial icon themes.
943 2008-06-17 Hans Breuer <hans@breuer.org>
945 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
946 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
947 access again on win32, see bug #538127
948 * giomodule.c : ensure GWin32VolumeMonitor is registered
949 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
950 * Makefile.am makefile.msc : updated
952 2008-06-16 Hans Breuer <hans@breuer.org>
954 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
955 and initialization in one step avoids c99ism
957 2008-06-16 Christian Persch <chpe@gnome.org>
960 * gio/gbufferedinputstream.c
962 * gio/gdatainputstream.c
963 * gio/gdesktopappinfo.c
965 * gio/gfileenumerator.c
966 * gio/gfileinputstream.c
967 * gio/gfileoutputstream.c
969 * gio/glocaldirectorymonitor.c
971 * gio/glocalfileenumerator.c
972 * gio/glocalfileinfo.c
973 * gio/glocalfilemonitor.c
974 * gio/glocalfileoutputstream.c
975 * gio/gmemoryinputstream.c
976 * gio/gmemoryoutputstream.c
977 * gio/goutputstream.c
978 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
981 2008-06-16 Tor Lillqvist <tml@novell.com>
983 Bug 538362 - Get Win32 icons back in the file chooser
985 * gcontenttype.c (g_content_type_get_icon): Look up the icon
986 corresponding to a file extension in the Registry. Patch by Hans
988 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
990 2008-06-16 Tor Lillqvist <tml@novell.com>
992 Patches by Hans Breuer:
994 * glocalfile.c (is_xp_or_later): Handle compiling against older
995 SDK headers with missing VerifyVersionInfo(). Conditioned on
996 _MSC_VER, but should probably use some better test.
997 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
998 uninitialised statfs_result variable on Win32.
1000 2008-06-16 Michael Natterer <mitch@imendio.com>
1002 * *.c: chain up unconditionally in finalize() and dispose(). Also
1003 don't dereference these function pointers when calling them since
1004 that has no meaning at all.
1006 2008-06-16 Ross Burton <ross@burtonini.com>
1008 * gfileenumerator.c:
1009 Remove check for dispose implementation as it annoys Emmanuele.
1011 2008-06-16 Ross Burton <ross@burtonini.com>
1013 Bug 536252 – GFileEnumerator should allow access to the containing
1016 * gfileenumerator.c:
1017 * gfileenumerator.h:
1019 Add g_file_enumerator_get_container() and a container writeable
1020 construct-only property. Also shuffle around typedefs to make it
1023 * glocalfileenumerator.c:
1024 * glocalfileenumerator.h:
1026 Instead of a string filename take a GFile in the constructor and
1027 use it to set the container property.
1030 Update with new API.
1032 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1034 * gfile.c: Make includes more uniform
1036 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1038 * tests/live-g-file.c (sample_struct):
1039 Use less fancy unicode filenames, so the test doesn't fail
1040 on Mac OS X (#531476).
1042 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1044 * === Released 2.17.2 ===
1046 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1048 * === Released 2.17.1 ===
1050 2008-06-11 A. Walton <awalton@gnome.org>
1052 * tests/g-file.c (test_g_file_new_null):
1053 Fix broken test case.
1055 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1057 * pltcheck.sh: We use g_clear_error now.
1059 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1061 * glocalfile.c (g_local_file_enumerate_children): Revert
1062 an unintended change.
1064 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1066 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1068 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1070 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1073 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1074 as icon for the desktop directory, also make user-home and
1075 user-desktop the preferred icons.
1077 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1080 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1081 to add a name to the front of the list.
1083 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1085 Bug 537392 – Additional colon in xattr name
1087 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1088 too. Reported by Alessandro Morandi
1090 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1092 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1095 * glocalfile.c (get_fs_type): Add afs and autofs.
1096 Patch by Danny Baumann.
1098 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1100 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1102 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1103 is no parent. (Owen Taylor, patch by Christian Neumair)
1105 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1107 * gfile.c (g_file_replace_contents): do not leak the output stream.
1109 2008-06-10 Michael Natterer <mitch@imendio.com>
1111 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1112 uninitialized memory as array index.
1114 2008-06-10 Tor Lillqvist <tml@novell.com>
1116 * gcontenttype.c (g_content_type_can_be_executable)
1117 (g_content_type_get_icon) [Win32]: Add TODO comments.
1119 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1121 * xdgmime/Makefile.am: Fix the build
1123 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1125 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1126 in the shared mime database, if available.
1128 * xdgmime/*: Sync with upstream. This brings support for
1129 glob weights, generic icons, and changes the cache format to
1132 2008-05-28 Michael Natterer <mitch@imendio.com>
1134 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1135 the global CPPFLAGS now.
1137 * tests/data-input-stream.c
1138 * tests/data-output-stream.c
1139 * tests/g-file-info.c
1141 * tests/live-g-file.c
1142 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1144 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1146 * === Released 2.17.0 ===
1148 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1149 doesn't complain about leftover files.
1151 2008-05-27 simon.zheng <simon.zheng@sun.com>
1153 * glocalfile.c: (g_local_file_query_filesystem_info):
1154 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1156 2008-05-26 Michael Natterer <mitch@imendio.com>
1158 * gmemoryoutputstream.h: declare
1159 g_memory_output_stream_get_data_size().
1161 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1163 * tests/*: Make tests work
1165 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1167 * gio.symbols: Add g_memory_output_stream_get_data_size.
1169 2008-05-25 Ross Burton <ross@burtonini.com>
1172 Fix typo in error message (#534764).
1174 2008-05-25 Ross Burton <ross@burtonini.com>
1177 Fix circular dependency loop for gioenumtypes.h (#534759).
1179 2008-05-19 Hans Breuer <hans@breuer.org>
1181 * Makefile.am : EXTRA_DIST += makefile.msc
1183 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1186 * gcontenttype.c: (g_content_type_from_mime_type):
1187 New function to create a content type from a mime type. (#527175,
1190 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1192 Bug 532965 – Should not return filesystem::free for certain file systems
1194 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1195 free space for ncpfs.
1197 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1199 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1201 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1202 st_dev might be zero.
1204 2008-05-16 Tor Lillqvist <tml@novell.com>
1206 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1207 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1209 2008-05-13 Bastien Nocera <hadess@hadess.net>
1211 * gfile.c (has_valid_scheme): A URI scheme must start with a
1212 letter, even if later more characters are allowed (#532852)
1214 2008-05-05 Michael Natterer <mitch@imendio.com>
1216 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1217 code from being checked in that breaks the build of applications
1218 which use G_DISABLE_SINGLE_INCLUDES.
1220 * makegioalias.pl: make the alias file include "glib.h" instead of
1223 * gio.symbols: whitespace change to force regeneration of the
1224 alias file after above script change.
1226 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1228 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1230 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1232 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1234 2008-04-28 David Zeuthen <davidz@redhat.com>
1236 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1237 displaying mounts in a subdirectory not accessible to the
1240 2008-04-22 Michael Natterer <mitch@imendio.com>
1242 * Makefile.am: fix library versioning (it was 0.0.0).
1244 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1246 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1247 Default disable all loggings.
1248 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1249 (port_fetch_event_cb): Fixed two macro nits.
1251 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1253 * xdgmime/xdgmime.c: Rework the timestamp checking code
1254 to protect against duplicate directories in XDG_DATA_DIRS.
1255 Fixes fd.o bug 12513, reported by Joe Shaw.
1257 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1259 Partically revert the last commit after realizing that
1260 xdg_mime_media_type_equal doesn't have to init at all.
1262 * xdgmime/xdgmime.h:
1263 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1265 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1267 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1269 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1270 reported by Joe Shaw and Federico Mena Quintero.
1272 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1273 (xdg_mime_media_type_equal): Turn into a wrapper around the
1276 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1277 functions throughout.
1279 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1281 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1282 tolerate an empty TryExec= line without failing; nautilus used
1283 to create launchers with these in previous versions. Fixes #528433
1285 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1287 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1288 after name. Fixes #527132.
1290 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1292 * gfile.c: (g_file_replace):
1295 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1297 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1299 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1300 by Christian Kellner.
1302 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1304 * gunixmounts.c: (g_unix_mount_guess_should_display):
1305 Don't list the user directory as a mount, fix potential issue
1306 when other users have a similar naming and don't special case the
1307 gvfs mounts there since that's not required (#525866)
1309 2008-03-31 Alexander Larsson <alexl@redhat.com>
1311 * glocalfile.c (get_parent):
1314 2008-03-31 A. Walton <awalton@svn.gnome.org>
1316 * gfile.c (g_file_query_file_type):
1317 Always return a GFileType enum value (#520715).
1319 2008-03-31 Alexander Larsson <alexl@redhat.com>
1321 * glocalfileenumerator.c:
1322 Read readdir() info in chunks (of 1000) and sort
1323 the chunks by inode before stat:ing.
1324 This is a 20% performance increase in testing
1325 gvfs-ls on /usr/bin with cold cache.
1327 2008-03-31 Alexander Larsson <alexl@redhat.com>
1329 * gmemoryoutputstream.c:
1330 Clarify docs for g_memory_output_stream_get_size.
1331 Add g_memory_output_stream_get_data_size.
1333 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1337 * gfile.h: Add g_file_query_file_type convenience function
1338 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1340 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1342 * gfileenumerator.c:
1343 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1345 2008-03-28 A. Walton <awalton@svn.gnome.org>
1347 * giomodule.c (_g_io_modules_ensure_loaded):
1348 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1351 2008-03-28 Alexander Larsson <alexl@redhat.com>
1354 (copy_stream_with_progress):
1357 2008-03-28 Alexander Larsson <alexl@redhat.com>
1360 (copy_stream_with_progress):
1361 (file_copy_fallback):
1362 Fallback to g_file_query_info for source size
1363 if g_file_input_stream_query_info fails. (#524579)
1365 2008-03-28 Alexander Larsson <alexl@redhat.com>
1367 * glocalfile.c (g_local_file_move):
1368 Reuse old string instead of adding new one.
1370 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1372 * fen/*.[hc]: still copyright issue. I hate copyright.
1374 2008-03-27 Alexander Larsson <alexl@redhat.com>
1376 * glocalfile.c (g_local_file_move):
1377 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1378 file over directory. This is according to the docs and what the move via
1379 copy+remove fallback does.
1381 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1383 * fen/*.[hc]: Updated copyright.
1385 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1387 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1389 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1391 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1392 not emit attribute changed events when optimizing changed events.
1393 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1396 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1398 * gmountoperation.[hc]: Small documentation additions
1400 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1402 * gunixmounts.c: (guess_mount_type):
1403 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1405 2008-03-19 Alexander Larsson <alexl@redhat.com>
1408 (copy_stream_with_progress):
1409 Bump block side for copy to 64k to minimize
1410 overhead for low latency links. (#523015)
1412 2008-03-16 Tor Lillqvist <tml@novell.com>
1414 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1415 depend on gio.def on Windows.
1417 2008-03-12 David Zeuthen <davidz@redhat.com>
1421 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1423 2008-03-14 Alexander Larsson <alexl@redhat.com>
1427 Avoid redudant tests (#521851)
1428 Patch from Josselin Mouette
1430 2008-03-14 Alexander Larsson <alexl@redhat.com>
1433 (g_file_monitor_is_cancelled):
1434 Fix C89 issue (#521672)
1435 Patch from Jens Granseuer
1437 2008-03-14 Alexander Larsson <alexl@redhat.com>
1439 * fam/fam-helper.[ch]:
1441 Shut down fam (including removing fam GSource) when
1442 module is unloaded (#521513)
1443 Patch from Joe Marcus Clarke
1445 2008-03-14 Alexander Larsson <alexl@redhat.com>
1448 (_g_io_modules_ensure_loaded):
1451 2008-03-14 Alexander Larsson <alexl@redhat.com>
1454 (g_local_file_query_filesystem_info):
1455 Use right define name for f_fstypename member check
1457 2008-03-14 Alexander Larsson <alexl@redhat.com>
1460 * fen/Makefile.am: Added.
1461 * fen/fen-data.[ch]: Added.
1462 * fen/fen-dump.[ch]: Added.
1463 * fen/fen-helper.[ch]: Added.
1464 * fen/fen-kernel.[ch]: Added.
1465 * fen/fen-missing.[ch]: Added.
1466 * fen/fen-node.[ch]: Added.
1467 * fen/fen-sub.[ch]: Added.
1468 * fen/gfendirectorymonitor.[ch]: Added.
1469 * fen/gfenfilemonitor.[ch]: Added.
1471 Added Solaris FEN file notification backend.
1472 Patch from Lin Ma <Lin.Ma@Sun.COM>
1474 2008-03-13 Tor Lillqvist <tml@novell.com>
1476 * Makefile.am: Actually use the gio.def file when linking the
1477 library on Windows. Produce .lib library for Microsoft's toolchain
1478 when possible. Install the .lib and .def file like for the other
1481 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1483 * tests/live-g-file.c:
1484 Include live-g-file in standard set of tests, making a temporary
1485 directory in source structure.
1487 Clean target directory before the tests (write mode only)
1489 2008-03-12 Tor Lillqvist <tml@novell.com>
1491 Bug 517419 - gio win32 directory monitor
1492 Implementation by Vlad Grecescu.
1495 * win32/gwin32directorymonitor.h
1496 * win32/gwin32directorymonitor.c: New files.
1498 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1500 * Makefile.am: Add the win32 subdirectory.
1502 2008-03-12 Tor Lillqvist <tml@novell.com>
1504 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1505 normal struct stat on Unix but struct _stati64 on Windows to have
1506 access to 64-bit file size information. Use that instead of struct
1507 stat in the functions declared here in this private header.
1509 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1510 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1511 warnings about unused functions and variables. Don't set
1512 meaningless attributes like inode numbers on Windows.
1514 2008-03-12 Benjamin Otte <otte@gnome.org>
1517 trim whitespace so gtk-doc groks the function name
1519 2008-03-12 Tor Lillqvist <tml@novell.com>
1521 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1522 returning FALSE, on Win32.
1524 2008-03-11 Alexander Larsson <alexl@redhat.com>
1527 * glocalfileinfo.[ch]:
1528 Correctly implement can_trash by actually
1529 looking for a trash dir, not just assuming
1532 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1534 * === Released 2.16.1 ===
1536 2008-03-11 Alexander Larsson <alexl@redhat.com>
1539 Fix crashes in new constructor and properties code
1541 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1543 * gfile.c: Minor spelling correction in documentation:
1544 existance -> existence.
1546 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1548 * === Released 2.16.0 ===
1550 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1552 * gio.symbols: Remove g_file_contains_file here, too.
1554 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1556 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1557 Samuel Cormier-Iijima)
1559 2008-03-08 Tor Lillqvist <tml@novell.com>
1561 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1564 2008-03-07 Alexander Larsson <alexl@redhat.com>
1567 (g_local_file_query_filesystem_info):
1568 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1569 Patch from Jasper Lievisse Adriaanse
1571 2008-03-06 Tor Lillqvist <tml@novell.com>
1573 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1574 comments for the *_USEC attributes.
1576 2008-03-06 Alexander Larsson <alexl@redhat.com>
1578 * gfile.c (g_file_query_exists):
1579 Add g_return_val_if_fail check (#520700)
1581 2008-03-06 Alexander Larsson <alexl@redhat.com>
1583 * gdesktopappinfo.c:
1586 * gunionvolumemonitor.c:
1589 * tests/live-g-file.c:
1590 * xdgmime/xdgmimecache.c:
1591 Fix sparse warnings (#519489)
1593 2008-03-05 Alexander Larsson <alexl@redhat.com>
1596 Make cancellation threadsafe (i.e.
1597 guarantee its only done once, and always
1600 * glocaldirectorymonitor.c:
1601 Make sure we the monitor lives while the
1602 mounts_changed callback is being called (#520484)
1604 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1606 * gbufferedinputstream.c: Fix typo in parameter
1609 2008-03-04 Alexander Larsson <alexl@redhat.com>
1612 Remove deprecated symbols we kept for one release.
1614 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1617 * goutputstream.c: Tiny documentation corrections.
1619 2008-03-03 Alexander Larsson <alexl@redhat.com>
1621 * gunionvolumemonitor.c:
1623 Fix the adopt_orphan_mount vfunc to take a
1624 volume_monitor reference in an ABI compat way.
1625 This change is not API compat, but the added
1626 arg is not used in the only user of this vfunc, so
1627 all we get is a harmless warning in gvfs (#520169)
1629 2008-03-01 Benjamin Otte <otte@gnome.org>
1632 clarify docs for g_file_delete().
1634 2008-02-29 Alexander Larsson <alexl@redhat.com>
1638 Make sure empty files get text/plain type (#518720)
1640 2008-02-27 Alexander Larsson <alexl@redhat.com>
1646 (g_unix_volume_mount):
1647 Add missing GMountMountFlags argument
1649 2008-02-26 Alexander Larsson <alexl@redhat.com>
1652 (g_local_file_delete):
1653 Handle filesystems (like ntfs-3g) that return EEXIST instead
1654 of ENOTEMPTY (#518816)
1656 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1658 * === Released 2.15.6 ===
1660 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1662 * gfile.c (g_file_find_enclosing_mount):
1663 * ginputstream.c (g_input_stream_set_pending):
1664 * glocalfile.c (g_local_file_find_enclosing_mount):
1665 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1666 * goutputstream.c (g_output_stream_set_pending):
1668 Fixup translator comments (#518578).
1670 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1672 * gfile.c (g_file_find_enclosing_mount):
1674 * glocalfile.c (g_local_file_find_enclosing_mount):
1677 Fix a few typos in translator comments and documentation.
1679 2008-02-25 Alexander Larsson <alexl@redhat.com>
1686 Add translator comments (#518578)
1688 2008-02-25 Alexander Larsson <alexl@redhat.com>
1691 Reintroduce g_file_contains_file, keep around for one
1692 unstable release cycle to avoid crashing to many apps.
1693 Make sure to delete after release.
1695 2008-02-25 Alexander Larsson <alexl@redhat.com>
1698 Remove deprecated g_file_contains_file.
1700 2008-02-25 Alexander Larsson <alexl@redhat.com>
1703 Emit actual change signals in an idle handler.
1704 This avoids reentrance and locking problems in
1705 the file notification backends.
1707 2008-02-25 Alexander Larsson <alexl@redhat.com>
1710 (g_unix_mount_guess_should_display):
1711 Remove type guessing, instead just display
1712 mounts in /media and in ~/.
1714 2008-02-25 Alexander Larsson <alexl@redhat.com>
1717 Make new strings reuse old ones.
1719 2008-02-25 Alexander Larsson <alexl@redhat.com>
1722 Implement trashing and filesystem::readonly for win32 (#517235)
1723 Patch from Yevgen Muntyan
1725 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1727 * gfileinfo.h: Documentation fixes.
1729 2008-02-22 Alexander Larsson <alexl@redhat.com>
1731 * gcontenttype.c (g_content_type_get_icon):
1732 Look at old-style gnome mime icon names too, as many
1733 have not moved to the new style.
1735 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1737 * *.c: Correct the @include in for section docs.
1739 2008-02-21 David Zeuthen <davidz@redhat.com>
1741 * glocalfileinfo.c: (_g_local_file_info_get):
1743 (g_content_type_get_icon): Implement this function by
1744 moving bits from glocalfileinfo.c
1745 (g_content_type_get_description): Unalias before getting
1746 description (#517687)
1748 * gfile.c: (g_file_class_init),
1749 (g_file_query_filesystem_info_async),
1750 (g_file_query_filesystem_info_finish),
1751 (query_filesystem_info_data_free),
1752 (query_filesystem_info_async_thread),
1753 (g_file_real_query_filesystem_info_async),
1754 (g_file_real_query_filesystem_info_finish):
1755 * gfile.h: Implement async version of
1756 g_file_query_filesystem_info()
1758 * gfileinfo.h: Add new attributes for filesystem::use-preview
1760 * gio.symbols: Update
1762 * gthemedicon.c: (g_themed_icon_append_name):
1763 * gthemedicon.h: Add new new convenience function.
1765 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1766 (get_mounts), (get_volumes), (get_connected_drives),
1767 (get_volume_for_uuid), (get_mount_for_uuid),
1768 (g_union_volume_monitor_init), (populate_union_monitor),
1769 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1770 (g_volume_monitor_adopt_orphan_mount):
1772 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1773 monitor implementations to call into the main volume monitor. Also
1774 separate object initialization and volume monitor initialization
1775 such that non-native volume monitors can properly adopt their
1778 2008-02-21 Alexander Larsson <alexl@redhat.com>
1783 2008-02-21 Alexander Larsson <alexl@redhat.com>
1786 Add more documentation about how GFiles work (from #517086)
1788 2008-02-21 Alexander Larsson <alexl@redhat.com>
1792 Add new g_file_has_prefix that does the same as g_file_contains_file.
1793 Deprecate g_file_contains_file and add a macro that converts
1794 it to g_file_has_prefix.
1795 The reason for this change is that the contains_file() name seems to
1796 imply that this does more work than what it does, but its really only
1797 a name match (from #517086)
1802 Update to match the above change.
1804 2008-02-20 Benjamin Otte <otte@gnome.org>
1806 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1807 (g_file_eject_mountable):
1808 even more cases of not returning in error path
1810 2008-02-20 Benjamin Otte <otte@gnome.org>
1812 * gfile.c: (g_file_mount_mountable):
1813 return from function in error path.
1815 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1818 Remove trailing coma in GMountMountFlags struct
1820 2008-02-18 Alexander Larsson <alexl@redhat.com>
1824 * glocalfileoutputstream.c:
1825 Use g_unlink/g_rename instead of unlink/rename;
1826 do not pass raw filenames to g_set_error. (#517239)
1827 Patch from Yevgen Muntyan.
1829 2008-02-18 Alexander Larsson <alexl@redhat.com>
1832 * glocalfileoutputstream.c:
1833 Open files with O_BINARY on windows. (#517140)
1835 2008-02-14 Alexander Larsson <alexl@redhat.com>
1837 * glocalfileoutputstream.c:
1838 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1840 2008-02-14 Alexander Larsson <alexl@redhat.com>
1843 Copy permissions with file on copy (#514084)
1844 This is what cp does and makes sure e.g. the
1845 exec permissions are kept.
1846 Its kinda weird in that it keeps the permission bits
1847 the same while the uid and gid are different. However
1848 the new uid is the user so its not a security issue,
1849 and I've heard no complaints about cp on this issue.
1851 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1853 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1855 2008-02-13 Alexander Larsson <alexl@redhat.com>
1857 * inotify/inotify-path.c:
1858 Define IN_ONLYDIR if not in header (#515346)
1860 2008-02-12 Alexander Larsson <alexl@redhat.com>
1862 * tests/live-g-file.c:
1865 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1867 * === Released 2.15.5 ===
1869 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1871 * gio.symbols: Add g_mount_mount_flags_get_type.
1873 2008-02-11 Alexander Larsson <alexl@redhat.com>
1876 (g_file_info_set_attribute_mask):
1877 (g_file_attribute_matcher_matches_id):
1878 Correctly handle NULL GAttributeMatcher meaning
1879 matches nothing. (Fixes #513492)
1881 2008-02-11 Alexander Larsson <alexl@redhat.com>
1886 Added GMountMountFlags enum and added a flags
1887 argument to all mount calls.
1889 This is an API/ABI change for future extensibility,
1890 as I think we will need at least an
1891 inhibit-autorun flag (the panel needs this).
1892 There are no flags defined yet though.
1894 2008-02-11 Alexander Larsson <alexl@redhat.com>
1897 Added new standard::description attribute.
1898 Requested by Vincent, and useful for both
1901 2008-02-11 Alexander Larsson <alexl@redhat.com>
1903 * gdesktopappinfo.c:
1906 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1908 * *.c: Documentation additions
1910 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1912 * gappinfo.h: Formatting cleanup
1913 * gappinfo.c: Fix up docs.
1915 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1917 * gunixmounts.c: Consistently use getmntent_r() and fall
1918 back to getmntent(). (#515492)
1920 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1922 * gbufferedinputstream.c:
1924 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1926 * tests/data-input-stream.c:
1927 * tests/data-output-stream.c: Portability fixes.
1929 2008-02-08 Alexander Larsson <alexl@redhat.com>
1934 Add g_volume_should_automount.
1937 2008-02-07 Tor Lillqvist <tml@novell.com>
1939 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1940 Win32, too Unix-specific.
1942 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1944 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1945 a local plt if the compiler doesn't support what we want. Bug #514702
1947 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1949 reviewed by: <delete if not using a buddy>
1952 * gunixinputstream.c:
1953 * gunixoutputstream.c:
1955 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1957 * tests/Makefile.am:
1958 * tests/live-g-file.c:
1959 * tests/live-g-file.txt:
1960 New GIO testing module working over real data
1962 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1964 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1965 Fallback to rename() if link() is not available
1966 (when no support on target filesystem)
1968 2008-02-06 Michael Natterer <mitch@imendio.com>
1970 * gfileinfo.c (g_file_info_get_icon): replace
1971 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1973 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1975 * gfile.c (g_file_create):
1976 Documentation update of error codes
1978 2008-02-06 Alexander Larsson <alexl@redhat.com>
1980 * gdesktopappinfo.c:
1981 Update to use both mimeapps.list and
1982 defaults.list as discussed on xdg list.
1984 2008-02-06 Benjamin Otte <otte@gnome.org>
1987 * gfilenamecompleter.c:
1988 Fix some typos in the documentation.
1990 2008-02-06 Alexander Larsson <alexl@redhat.com>
1992 * glocalfile.c (g_local_file_trash):
1993 Don't succeed with trash if newly created
1994 trash dir has the wrong owner. (#514696)
1996 2008-02-05 Alexander Larsson <alexl@redhat.com>
1998 * glocalfile.c (g_local_file_move):
1999 Don't spew warnings when destination is not
2002 2008-02-03 Hans Breuer <hans@breuer.org>
2004 * makefile.msc : update
2006 2008-02-01 Michael Natterer <mitch@imendio.com>
2008 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2009 return value of xdg_mime_list_mime_parents() to a variable of the
2012 2008-02-01 Alexander Larsson <alexl@redhat.com>
2014 * gappinfo.c (g_app_info_launch_uris):
2015 Actually call the launch_uris method, not
2018 2008-02-01 Alexander Larsson <alexl@redhat.com>
2020 * gdesktopappinfo.c (g_desktop_app_info_equal):
2021 Ensure appinfos with no id but same pointer value
2024 2008-02-01 Alexander Larsson <alexl@redhat.com>
2026 * gappinfo.c (g_app_info_launch_default_for_uri):
2029 2008-02-01 Alexander Larsson <alexl@redhat.com>
2033 Add g_app_info_launch_default_for_uri utility
2036 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2038 * gdesktopappinfo.c:
2039 Doc fix for g_app_info_get_default_for_uri_scheme ()
2042 2008-01-30 Alexander Larsson <alexl@redhat.com>
2045 Add doc comment about uris vs GFiles to
2048 * gdesktopappinfo.c:
2049 Ensure uris passed to g_app_info_launch_uris()
2050 are not roundtriped through GFile (as that
2051 may be slightly destructive for e.g. mailto: links)
2053 2008-01-30 Alexander Larsson <alexl@redhat.com>
2055 * tests/data-input-stream.c:
2056 * tests/data-output-stream.c:
2057 C89 fixes from Jens Granseuer (#512849)
2059 2008-01-30 Alexander Larsson <alexl@redhat.com>
2062 Fix gamin/fam difference build issue. (#509419)
2064 2008-01-29 Alexander Larsson <alexl@redhat.com>
2067 * gdesktopappinfo.c:
2068 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2070 2008-01-29 Alexander Larsson <alexl@redhat.com>
2072 * gdesktopappinfo.c:
2073 * gdesktopappinfo.h:
2074 giomodule-priv.h include moved to .c file.
2076 2008-01-29 Alexander Larsson <alexl@redhat.com>
2078 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2079 Remove unused prio/name fields.
2081 2008-01-29 Alexander Larsson <alexl@redhat.com>
2083 * gcontenttype.c (looks_like_text):
2084 Don't treat whitespace as control chars.
2086 2008-01-29 Alexander Larsson <alexl@redhat.com>
2088 * gdesktopappinfo.c:
2089 Lazily create the desktop files for appinfos created
2090 by g_app_info_create_from_commandline() when needed
2091 for mime associations. This allows run-time use
2092 of GAppInfo object without creating unnecessary
2095 2008-01-29 Alexander Larsson <alexl@redhat.com>
2098 Added new symbols to gio.symbols
2100 2008-01-29 Alexander Larsson <alexl@redhat.com>
2103 Add g_file_query_default_handler utility to easily look up
2104 the GAppInfo that handles a file.
2106 * gdesktopappinfo.[ch]:
2108 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2111 Remove unused function
2113 2008-01-29 Alexander Larsson <alexl@redhat.com>
2115 * gfileenumerator.c:
2116 Mention need to free returned value in
2117 g_file_enumerator_next_files_finish docs.
2118 Fix leak if g_file_enumerator_next_files_finish()
2121 2008-01-29 Alexander Larsson <alexl@redhat.com>
2124 (_g_unix_content_type_get_parents):
2125 Use list_parents, not get_parents from xdgmime, because
2126 the later doesn't use the cache.
2128 * xdgmime/xdgmimecache.c:
2129 (_xdg_mime_cache_list_mime_parents):
2130 Don't list the same type as parent multiple times.
2132 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2134 * === Released 2.15.4 ===
2136 2008-01-28 Alexander Larsson <alexl@redhat.com>
2139 Register local vfs with prio 0.
2142 Remove old name and prio class members
2144 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2146 * tests/g-file.c: Disable some tests that are failing in
2147 the absence of a http backend.
2149 2008-01-28 Alexander Larsson <alexl@redhat.com>
2153 Add registration hooks for extension points.
2154 Register the gio extension points.
2156 * fam/gfamdirectorymonitor.c:
2157 * fam/gfamfilemonitor.c:
2158 * glocaldirectorymonitor.[ch]:
2159 * glocalfilemonitor.[ch]:
2160 * gnativevolumemonitor.h:
2161 * gunionvolumemonitor.c:
2162 * gunixvolumemonitor.c:
2165 * inotify/ginotifydirectorymonitor.c:
2166 * inotify/ginotifyfilemonitor.c:
2167 Use the extension points registration instead
2168 of g_type_children().
2170 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2173 * gvolume.[hc]: Document new API.
2175 * gfile.c (g_file_copy_async): Fix docs
2177 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2179 * gbufferedinputstream.c:
2181 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2184 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2186 * glocalfile.c: Avoid trivial differences in translatable strings.
2188 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2190 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2191 build with gcc 3.4 (#509419)
2193 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2195 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2196 (#509994, Murray Cumming)
2198 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2200 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2201 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2202 this allows big jobs to be executed in chunks, instead of blocking
2203 the main loop for a long time.
2205 * gsimpleasyncresult.c:
2206 * giofile.c: Adapt callers.
2208 2008-01-25 Alexander Larsson <alexl@redhat.com>
2210 * gdesktopappinfo.c:
2211 Implement changes discussed on xdg list.
2212 Now we can add supported mimetypes by just using defaults.list
2213 We can also remove associations in defaults.list.
2215 2008-01-25 Alexander Larsson <alexl@redhat.com>
2217 * gdesktopappinfo.c:
2218 Don't make local copy of desktop file
2219 for mimetype changes if the file already
2220 supports the new mimetype.
2222 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2226 * gbufferedinputstream.c:
2227 * glocalfile.c: String improvements. (#511966,
2228 Theppitak Karoonboonyanan)
2230 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2232 * gioscheduler.h: Expand docs a bit.
2234 2008-01-24 Alexander Larsson <alexl@redhat.com>
2237 Add g_drive_get_identifier and
2238 g_drive_enumerate_identifiers
2241 Add g_volume_get_identifier and
2242 g_volume_enumerate_identifiers
2248 Implement identifiers for unix backend
2250 2008-01-24 Alexander Larsson <alexl@redhat.com>
2255 Add g_file_copy_async() (#511580)
2256 Based on patch from Carlos Garcia Campos
2258 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2260 * gioscheduler.c: Some documentation additions.
2262 2008-01-22 Alexander Larsson <alexl@redhat.com>
2264 * gdesktopappinfo.c:
2265 (g_desktop_app_info_new):
2266 Don't leak basename.
2268 2008-01-22 Alexander Larsson <alexl@redhat.com>
2270 * gdesktopappinfo.c:
2271 (g_desktop_app_info_new_from_filename):
2274 2008-01-22 Alexander Larsson <alexl@redhat.com>
2276 * glocalfileinfo.c (get_thumbnail_attributes):
2279 2008-01-22 Alexander Larsson <alexl@redhat.com>
2282 (canonicalize_filename):
2283 Canonicalize paths that start with more than
2287 (compare_two_files):
2288 (test_g_file_new_for_path):
2291 2008-01-22 Alexander Larsson <alexl@redhat.com>
2294 Allow UTF-8 in file:// parse names.
2296 * tests/Makefile.am:
2297 * tests/data-input-stream.c:
2298 * tests/data-output-stream.c:
2299 * tests/g-file-info.c:
2301 Added a bunch of tests from Tomas Bzatek
2303 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2305 * === Released 2.15.3 ===
2307 2008-01-21 Alexander Larsson <alexl@redhat.com>
2309 * gfileinputstream.[ch]:
2310 * gfileoutputstream.[ch]:
2312 Remove duplicated GSeekable functions. (#509990)
2313 Just use the g_seekable_xxx() calls instead.
2315 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2318 * gvolumemanager.c: Whitespace cleanups.
2320 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2321 Use the right mode when creating the file.
2323 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2325 * gfileenumerator.c:
2326 * gfileinputstream.c:
2328 * goutputstream.c: Documentation: Fixed minor typos
2329 and added more mentions of specific _finish() functions.
2331 2008-01-21 Alexander Larsson <alexl@redhat.com>
2333 * inotify/Makefile.am:
2334 * inotify/inotify-helper.c:
2335 * inotify/inotify-kernel.c:
2336 * inotify/inotify-path.c:
2337 * inotify/local_inotify.h: Removed.
2338 * inotify/local_inotify_syscalls.h: Removed.
2339 Removed the included copies of the inotify
2340 headers. We now only use the <sys/inotify.h>
2341 header which exists on modern systems.
2342 This fixes problems on ARM and SH5 (#510448)
2343 but is also generally much cleaner and future
2344 safe. For instance, if other OSes add support
2345 for inotify it should "just work".
2347 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2349 * inotify/*.c: Coding style fixes.
2350 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2351 for the 1/4 Hz timer.
2353 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2356 * gfilemonitor.[hc]:
2357 * gmemoryinputstream.c:
2358 * gmemoryoutputstream.c:
2359 * gmountoperation.c:
2360 * gthemedicon.c: Documentation updates
2362 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2364 * gfile.c: documentation: Fixed more minor
2367 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2369 * gmount.c: (g_mount_remount): documentation:
2370 Mention g_mount_remount_finish() instead of
2371 g_mount_unmount_finish().
2373 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2377 * gfile.c: Fixed some minor typos in the
2380 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2382 * gio/gvolumemonitor.c:
2383 (g_volume_monitor_get_connected_drives):
2384 (g_volume_monitor_get_volumes):
2385 (g_volume_monitor_get_mounts): Documentation:
2386 Clarify the ownership of the regurn GLists.
2388 2008-01-17 Alexander Larsson <alexl@redhat.com>
2391 Add the async find_enclosing_mount version
2392 to the header file too.
2394 2008-01-17 Alexander Larsson <alexl@redhat.com>
2397 Add async version of find_enclosing_mount
2398 with default implementation.
2400 2008-01-17 Alexander Larsson <alexl@redhat.com>
2405 Allow calls to implementation of copy and write
2406 even if the type of the file implementations is
2407 different. This can be used to implement native
2408 upload and download calls in a vfs.
2411 (g_local_file_move):
2412 Protect against the case where move is called
2413 with one file not being local.
2415 Make sure we call the progress callback once
2416 in the native move operation so that the caller
2417 knows how many bytes were copied.
2419 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2422 * gdatainputstream.c:
2424 * gfileoutputstream.c:
2429 * gunixmounts.c: Corrected some typos in the documentation:
2430 occured -> occurred.
2431 its -> it's (where appropriate).
2433 2008-01-16 Alexander Larsson <alexl@redhat.com>
2437 Add g_file_query_exists (#508771)
2439 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2444 * gvolume.c: For async functions that have no non-async
2445 version, document that the GAsyncReadyCallback may be NULL.
2448 2008-01-15 Alexander Larsson <alexl@redhat.com>
2450 * gmemoryinputstream.c:
2451 * gmemoryoutputstream.c:
2452 Don't do pointer arithmetic on void * (#508602)
2453 Patch from Kazuki IWAMOTO
2455 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2457 * === Released 2.15.2 ===
2459 2008-01-14 Alexander Larsson <alexl@redhat.com>
2461 * gfile.c (g_file_monitor_file):
2462 Don't set error here, since we fallback to polling monitor.
2464 2008-01-14 Alexander Larsson <alexl@redhat.com>
2467 (g_file_monitor_directory):
2468 (g_file_monitor_file):
2469 Add GError to file monitor calls
2471 * glocaldirectorymonitor.c:
2472 * glocaldirectorymonitor.h:
2474 * glocalfilemonitor.c:
2475 * glocalfilemonitor.h:
2477 Update for above change
2479 2008-01-14 Alexander Larsson <alexl@redhat.com>
2483 Handle root correctly in g_file_get_relative_path (#508719)
2485 2008-01-14 Alexander Larsson <alexl@redhat.com>
2488 Clean up docs and example for GAsyncResult (#508074)
2490 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2492 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2493 and correct some spelling mistakes. Bug #508108.
2495 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2497 * glocalfileinfo.c: Add a comment.
2499 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2501 * gfileinfo.c: GFileInfo description: Mention
2502 how to actually set attributes in a GFile and how to discover
2503 which attributes are settable. Bug #508378.
2505 2008-01-10 A. Walton <awalton@svn.gnome.org>
2507 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2508 (g_app_info_get_default_for_type):
2509 Check for NULL content types.
2511 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2513 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2515 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2517 * gfile.c: *_async() functions: Several small corrections
2518 to the documentation, mostly correcting copy/paste errors
2519 and improving some sentences.
2521 2008-01-09 Dan Winship <danw@gnome.org>
2523 * glocalfile.c (get_unique_filename): x86_64 fix
2525 2008-01-09 Alexander Larsson <alexl@redhat.com>
2530 Add g_unix_mount_guess_should_display and use
2531 for unix volume monitor backend.
2532 This means we more or less show what the
2533 gnome-vfs backend did.
2534 Based on patch from Padraig O'Briain
2536 2008-01-09 Alexander Larsson <alexl@redhat.com>
2540 Add g_themed_icon_new_with_default_fallbacks
2543 Use default fallbacks for icons
2545 2008-01-09 Alexander Larsson <alexl@redhat.com>
2548 * gmountoperation.[ch]:
2549 Change the API a bit so that unhandled methods
2550 get reported via the reply, rather than by
2551 the signal emission return value. This is because
2552 some handlers can't know this immediately without
2553 doing I/O, and this is an async operation that
2556 2008-01-09 Alexander Larsson <alexl@redhat.com>
2559 * fam/gfamdirectorymonitor.c:
2560 * fam/gfamfilemonitor.c:
2561 Fix double free crash (#508224)
2562 Patch from Joe Marcus Clarke
2564 008-01-07 Matthias Clasen <mclasen@redhat.com>
2566 * === Released 2.15.1 ===
2568 2008-01-07 Alexander Larsson <alexl@redhat.com>
2570 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2571 Fix warning (#507835)
2573 2008-01-07 Alexander Larsson <alexl@redhat.com>
2576 Pass --internal to glib-genmarshal
2579 * gmountoperation.c:
2581 Use better types for signal arguments (#507822)
2583 2008-01-07 Alexander Larsson <alexl@redhat.com>
2586 Build test subdir after .
2587 Remove gdirectorymonitor.[ch]
2589 * gdirectorymonitor.[ch]:
2593 Remove GDirectoryMonitor and make
2594 GFileMonitor the baseclass for both file and
2595 directory monitors. Lift the more generic
2596 rate limiting code from GDirectoryMonitor
2600 * fam/gfamdirectorymonitor.[ch]:
2601 * inotify/ginotifydirectorymonitor.[ch]:
2602 * inotify/inotify-helper.c:
2603 * glocaldirectorymonitor.[ch]:
2606 Update for the removed GDirectoryMonitor.
2608 * gmemoryoutputstream.c:
2609 Remove ununsed variable
2611 2008-01-07 Alexander Larsson <alexl@redhat.com>
2613 * gmemoryinputstream.c:
2614 Translate error strings
2617 * gmemoryoutputstream.[ch]:
2618 New implementation that avoids using GByteArray
2619 in implementation and API. (#506377)
2621 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2623 * tests/*: Add a test for memory input streams.
2625 * Makefile.am: Add tests to SUBDIRS.
2627 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2629 * glocalfilemonitor.c:
2630 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2633 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2635 * gdesktopappinfo.c: Fix a docs typo.
2637 * gfileattribute.c: Add information about extended attributes
2638 to the documentation. (#505058)
2640 2008-01-04 Alexander Larsson <alexl@redhat.com>
2643 * gmountoperation.c:
2644 Use the right type (uint) for the ask_password signal.
2646 2008-01-04 Alexander Larsson <alexl@redhat.com>
2651 Add g_app_info_supports_files()
2652 Remove desktop arg from g_app_info_should_show().
2654 * gdesktopappinfo.[ch]:
2655 Implement g_app_info_supports_files() and new should_show()
2656 Add g_desktop_app_info_set_desktop_env() to set the desktop
2657 for should_show(). (This will be set by gtk+ later)
2659 2008-01-04 Alexander Larsson <alexl@redhat.com>
2662 * gmemoryinputstream.[ch]:
2663 Improve API so that you can use multiple chunks
2664 of memory and custom destroy functions. (#506374)
2666 2008-01-03 Alexander Larsson <alexl@redhat.com>
2669 Handle NULL attribute matchers safely, as we return this
2670 for empty attribute matcher strings.
2672 2008-01-03 Alexander Larsson <alexl@redhat.com>
2674 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2675 Add /usr/local to list of internal mountpoints
2677 2008-01-03 Alexander Larsson <alexl@redhat.com>
2680 Check for HAVE_LCHOWN (#505887)
2682 2008-01-03 Alexander Larsson <alexl@redhat.com>
2686 Add define for selinux context attribute.
2687 Fix missing : -> :: namespace separator change
2688 Fix missing _ -> - name change for xattr-sys.
2691 2008-01-03 Alexander Larsson <alexl@redhat.com>
2694 Link to libglib and libgobject directly (#504879)
2695 Patch from Sebastien Bacher
2697 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2699 * gfile.c: Expanded the g_file_new_for_commandline_arg
2700 description a bit, based on the code and the docs of the
2701 other g_file_new_for_* functions.
2703 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2705 * gfilemonitor.h: Fixed typo in docs.
2707 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2709 Updates to GIO documentation. (#506395, Mikael Hermansson)
2711 * gcontenttype.c: Describe memory management for return value of
2712 g_content_types_get_registered(). Missing piece from #505815.
2713 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2714 GVolume, GDrive, GMounts, which hopefully gives the user less
2715 confusions when using this API. Following explainations from
2716 Alexander Larsson on gtk-devel-list.
2718 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2720 * gfileinfo.c: Expand the long description.
2722 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2725 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2726 fix builds with --disable-visibility. (#500273, Christian Persch)
2728 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2730 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2731 in the list of returned app infos.
2733 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2735 * gappinfo.c: Fix a cross-reference
2737 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2739 * gfileinputstream.c:
2740 * gfileoutputstream.c:
2744 * gdesktopappinfo.c:
2746 * gfileinfo.c: Documentation updates.
2748 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2750 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2753 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2755 * gcontenttype.c (g_content_types_get_registered): Don't return
2756 freed memory (#505815, Mikael Hermansson)
2758 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2760 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2761 used to detect statbuf->st_blocks. (#505042)
2763 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2765 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2766 environment handling. (#504829, Cosimo Cecchi)
2768 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2770 * gappinfo.c: Doc improvements
2772 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2775 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2777 * === Released 2.15.0 ===
2779 2007-12-20 Hans Breuer <hans@breuer.org>
2781 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2782 with symbols gwin32appinfo.obj, added gmount.obj
2783 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2785 2007-12-20 Alexander Larsson <alexl@redhat.com>
2791 * gfilenamecompleter.c:
2794 * gpollfilemonitor.c:
2795 File attribute renames:
2797 fs:: -> filesystem::
2798 id::fs -> id::filesystem
2800 2007-12-20 Alexander Larsson <alexl@redhat.com>
2809 Add GMountUnmountFlags to all unmount and
2811 Add g_mount_remount() call.
2813 2007-12-20 Alexander Larsson <alexl@redhat.com>
2815 * gvfs.c (get_default_vfs):
2816 Fix unused variable warning
2818 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2820 * pltcheck.sh: Update
2822 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2824 * gunionvolumemonitor.c:
2825 * gunixmount.c: Remove C99 comments
2827 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2829 * gio.symbols: Add some missing symbols
2831 2007-12-19 Alexander Larsson <alexl@redhat.com>
2834 Make g_io_modules_load_all_in_directory not unuse
2835 loaded modules so that users of it can do stuff
2837 Init internal "module" types.
2838 Initialize static prio and name for types so that
2839 we don't have to load modules to get it.
2841 * gnativevolumemonitor.h:
2843 Move is_supported to parent class so that
2844 non-native monitors can avoid being initialized
2845 too. (For instance GDaemonVolumeMonitor if we're
2846 not using GDaemonVfs.)
2848 * glocaldirectorymonitor.[ch]:
2849 * glocalfilemonitor.[ch]:
2850 * gunionvolumemonitor.c:
2851 * gunixvolumemonitor.c:
2853 Find plugins using the static prio+name to
2854 avoid unnecessarily loading the modules.
2856 2007-12-19 Alexander Larsson <alexl@redhat.com>
2861 2007-12-19 Alexander Larsson <alexl@redhat.com>
2863 * gunionvolumemonitor.c:
2864 Store the native type as GType, not class so that
2865 we can unload it. But still avoid unnecessarily
2868 2007-12-19 David Zeuthen <davidz@redhat.com>
2870 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2871 add signals 'disconnected' and 'eject-button' on GDrive. Add
2872 signal 'removed' on GVolume and 'unmounted' on GMount.
2874 * gdrive.c: (g_drive_base_init):
2876 * gfile.c: (g_file_mount_mountable),
2877 (g_file_mount_enclosing_volume):
2880 * gmount.c: (g_mount_base_init):
2882 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2883 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2884 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2888 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2890 * *.c: Fix up includes in the section docs.
2892 2007-12-17 Alexander Larsson <alexl@redhat.com>
2894 * gnativevolumemonitor.h:
2895 * gunionvolumemonitor.c:
2896 * gunixvolumemonitor.c:
2897 Add is_supported() to GNativeVolumeMonitorClass so
2898 that we can avoid having to create an object to see
2899 if the backend is supported at runtime.
2900 Also add name member and an env var to pick a specific
2901 volume monitor backend.
2905 Add cancellable to _g_mount_get_for_mount_path()
2907 * glocaldirectorymonitor.c:
2908 * glocalfilemonitor.c:
2909 Avoid loading and unloading modules while sorting.
2911 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2914 * gunixmounts.[hc]: Namespace waste reduction, move some
2915 g_get_unix_mount functions to the g_unix_mount namespace.
2918 * gunixvolumemonitor.c:
2920 * glocaldirectorymonitor.c: Update all callers.
2922 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2924 2007-12-17 Alexander Larsson <alexl@redhat.com>
2927 Add doc comments about what GFile operations are
2928 guaranteed to not block.
2930 2007-12-17 Alexander Larsson <alexl@redhat.com>
2933 Add missing #ifdef fixing OSX build.
2934 (#503334, patch from Richard Hult)
2936 2007-12-14 David Zeuthen <davidz@redhat.com>
2940 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2941 (g_mount_eject), (g_mount_eject_finish):
2943 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2944 (get_volume_for_uuid), (get_mount_for_uuid),
2945 (g_union_volume_monitor_class_init),
2946 (get_default_native_type_with_exclude), (get_default_native_type),
2947 (get_native_type), (update_native_type),
2948 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2949 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2950 (g_unix_mount_can_eject), (eject_unmount_cb),
2951 (eject_unmount_read_error), (eject_unmount_do),
2952 (g_unix_mount_unmount), (g_unix_mount_eject),
2953 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2954 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2955 (g_unix_mount_point_guess_can_eject):
2957 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2958 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2959 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2960 (g_unix_volume_mount), (g_unix_volume_eject),
2961 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2962 * gunixvolumemonitor.c: (get_volume_for_uuid),
2963 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2965 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2966 (g_volume_eject), (g_volume_eject_finish):
2968 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2969 (g_volume_monitor_get_mount_for_uuid):
2972 Provide eject() on both GMount and GVolume and utility functions
2973 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2974 ejected. Introduce the concept of UUID's and wire it into GVolume
2975 and GMount and provide API on GVolumeMonitor to find such
2976 instances. Also handle the case where an external
2977 GNativeVolumeMonitor fails to initialize. Lock around the
2978 _g_get_mount_for_mount_path() function such that volume monitor
2979 implementations won't have to do locking themselves.
2981 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2983 * gdesktopappinfo.c:
2989 * gvolume.h: Documentation updates
2991 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2994 * gfile.h: Doc updates
2996 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2999 * gdesktopappinfo.c: Use hash table iterators.
3001 2007-12-14 Alexander Larsson <alexl@redhat.com>
3004 * gfileattribute.[ch]:
3005 * gfileattribute-priv.h:
3006 Move GFileAttributeValue to a private header, as
3010 Make set_attribute take a type + a pointer instead
3011 of a GFileAttributeValue.
3014 Fix up for above changes.
3015 Add g_file_info_get_attribute_data to get
3016 all info in one call, g_file_info_get_attribute_status
3017 to get the status and g_file_info_get_attribute_as_string.
3021 * glocalfileinfo.[ch]:
3025 Make _guess_type static.
3027 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3030 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3031 made mkenums and friends use temporary files to avoid leaving
3032 empty generated files on failure (#503470).
3034 2007-12-14 Alexander Larsson <alexl@redhat.com>
3036 * gmountoperation.h:
3039 2007-12-14 Alexander Larsson <alexl@redhat.com>
3043 * gfileattribute.[ch]:
3046 * glocalfileoutputstream.c:
3047 * gmountoperation.[ch]:
3048 * goutputstream.[ch]:
3049 Clean up all flags enums to not have _FLAGS in them
3050 Make the names of some of the enums better.
3055 2007-12-14 Michael Natterer <mitch@imendio.com>
3057 * gio.symbols: fix g_io_scheduler symbol names.
3059 2007-12-14 Alexander Larsson <alexl@redhat.com>
3065 * gbufferedinputstream.h:
3066 * gbufferedoutputstream.h:
3069 * gdatainputstream.h:
3070 * gdataoutputstream.h:
3071 * gdesktopappinfo.h:
3072 * gdirectorymonitor.h:
3076 * gfileenumerator.h:
3079 * gfileinputstream.h:
3081 * gfilenamecompleter.h:
3082 * gfileoutputstream.h:
3083 * gfilterinputstream.h:
3084 * gfilteroutputstream.h:
3092 * gmemoryinputstream.h:
3093 * gmemoryoutputstream.h:
3095 * gmountoperation.h:
3098 * gsimpleasyncresult.h:
3100 * gunixinputstream.h:
3102 * gunixoutputstream.h:
3106 * inotify/Makefile.am:
3107 Only allow including <gio/gio.h> from apps
3109 2007-12-14 Alexander Larsson <alexl@redhat.com>
3111 * gioscheduler.[ch]:
3112 * gsimpleasyncresult.c:
3113 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3114 Split out the send_to_mainloop call into two versions instead
3115 of having the block argument.
3117 2007-12-13 Alexander Larsson <alexl@redhat.com>
3119 * gcancellable.[ch]:
3121 * gbufferedinputstream.c:
3122 * gfileenumerator.c:
3123 * gfileinputstream.c:
3124 * gfileoutputstream.c:
3128 g_push/pop_current_cancellable ->
3129 g_cancellable_push/pop_current
3131 2007-12-13 Alexander Larsson <alexl@redhat.com>
3135 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3137 2007-12-13 Alexander Larsson <alexl@redhat.com>
3139 * gmountoperation.h:
3140 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3142 2007-12-12 Alexander Larsson <alexl@redhat.com>
3145 Fix race condition when freeing proxy in
3146 g_io_job_send_to_mainloop().
3148 2007-12-12 Alexander Larsson <alexl@redhat.com>
3154 Make attribute namespace separator "::" instead of ":".
3155 Use - instead of _ as separator in attribute names.
3157 2007-12-12 Alexander Larsson <alexl@redhat.com>
3159 * gbufferedinputstream.h:
3160 * gbufferedoutputstream.h:
3161 * gdatainputstream.h:
3162 * gdataoutputstream.h:
3163 * gdirectorymonitor.h:
3164 * gfileenumerator.h:
3165 * gfileinputstream.h:
3167 * gfileoutputstream.h:
3168 * gfilterinputstream.h:
3169 * gfilteroutputstream.h:
3171 * glocalfileinputstream.h:
3172 * glocalfileoutputstream.h:
3173 * gmemoryinputstream.h:
3174 * gmemoryoutputstream.h:
3175 * gnativevolumemonitor.h:
3177 * gunixinputstream.h:
3178 * gunixoutputstream.h:
3181 s/parent/parent_instance/ in GObjects
3183 2007-12-12 Alexander Larsson <alexl@redhat.com>
3188 No need for padding for interfaces
3190 2007-12-12 Alexander Larsson <alexl@redhat.com>
3194 * gbufferedinputstream.c:
3195 * gbufferedoutputstream.c:
3198 * gdatainputstream.[ch]:
3199 * gdesktopappinfo.c:
3200 * gdirectorymonitor.c:
3202 * gfileattribute.[ch]:
3205 * gfileinputstream.h:
3206 * gfilemonitor.[ch]:
3207 * gfileoutputstream.[ch]:
3208 * gfilterinputstream.h:
3209 * gfilteroutputstream.h:
3212 * gloadableicon.[ch]:
3213 * gmemoryinputstream.c:
3214 * gmountoperation.c:
3216 Fix up a bunch of details in the docs.
3221 2007-12-11 David Zeuthen <davidz@redhat.com>
3223 Rework how volumes, drives and volume monitoring is
3224 done. Previosly the model was
3226 GDrive <1-1> GVolume
3228 where a GDrive instance represented a mount point and a GVolume
3229 instance represented a mounted file system. This patch changes it
3232 GDrive <1-N> GVolume <1-1> GMount
3234 where GMount now serves the purpose of the old GVolume and the new
3235 GVolume serves the purpose of the old GDrive. In addition the new
3236 GDrive interface is used to represent a collection of GVolume
3237 instances (typically partitions) and also contains utility to query
3238 the state of the physical drive the GDrive object represents (such
3239 as checking for media, polling the drive, ejecting the media etc.).
3241 Also implement mounting and unmounting in the Unix volume monitor
3242 backend. A subquent patch will introduce GDrive support for ejection
3246 * gdrive.c: (g_drive_is_media_check_automatic),
3247 (g_drive_is_media_removable), (g_drive_has_media),
3248 (g_drive_can_poll_for_media), (g_drive_eject),
3249 (g_drive_eject_finish), (g_drive_poll_for_media),
3250 (g_drive_poll_for_media_finish):
3252 * gfile.c: (g_file_find_enclosing_mount):
3255 * glocaldirectorymonitor.c:
3256 (g_local_directory_monitor_constructor), (mounts_changed):
3257 * glocalfile.c: (get_mount_info),
3258 (g_local_file_find_enclosing_mount),
3259 (g_local_file_file_iface_init):
3260 * gnativevolumemonitor.h:
3261 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3262 (get_connected_drives), (g_union_volume_monitor_class_init),
3263 (child_volume_added), (child_volume_removed),
3264 (child_volume_changed), (child_mount_added), (child_mount_removed),
3265 (child_mount_pre_unmount), (child_mount_changed),
3266 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3267 (g_union_volume_monitor_remove_monitor),
3268 (_g_mount_get_for_mount_path):
3269 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3270 (guess_system_internal), (_g_get_unix_mounts),
3271 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3272 (g_unix_mount_free), (g_unix_mount_compare),
3273 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3274 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3275 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3276 (type_to_icon), (g_unix_mount_guess_name),
3277 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3278 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3279 (_resolve_symlink), (_resolve_dev_root):
3281 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3282 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3283 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3284 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3285 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3286 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3287 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3288 (g_unix_volume_volume_iface_init):
3290 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3291 (get_mounts), (get_volumes), (get_connected_drives),
3292 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3293 (mountpoints_changed), (mounts_changed),
3294 (g_unix_volume_monitor_init),
3295 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3296 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3297 * gunixvolumemonitor.h:
3298 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3299 (g_volume_mount), (g_volume_mount_finish):
3301 * gvolumemonitor.c: (g_volume_monitor_class_init),
3302 (g_volume_monitor_get_connected_drives),
3303 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3306 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3308 * gmountoperation.h (GPasswordFlags): Close the gap
3310 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3312 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3314 * gdesktopappinfo.[hc]: Remove _-prefixes
3316 2007-12-10 Tor Lillqvist <tml@novell.com>
3318 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3321 2007-12-10 Alexander Larsson <alexl@redhat.com>
3323 * gfile.c (g_file_set_display_name):
3324 Don't hardcode '/' (#502727)
3326 2007-12-09 Hans Breuer <hans@breuer.org>
3328 * makefile.msc : follow lib naming convention
3329 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3330 for user and group name, tested with ../tests/gio-ls
3332 2007-12-09 A. Walton <awalton@svn.gnome.org>
3334 * gdesktopappinfo.c:
3340 * gfileenumerator.c:
3345 * gmemoryinputstream.c:
3346 * gmemoryoutputstream.c:
3348 * gsimpleasyncresult.c:
3349 More documentation cleanup and filling in missing information, bringing
3350 GIO to 99% symbol coverage.
3352 2007-12-08 Hans Breuer <hans@breuer.org>
3354 [gio compiles and links on win32, not sure how much already works]
3355 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3356 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3357 base on win32 API; prefer g_lstat() over lstat(); instead of
3358 localtime_r() use an all GLib implementation on win32;
3359 get_mount_info() still needs a win32 specifc implementation
3360 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3361 win32_get_file_user_info to get owner/group info without uid/gid
3362 * glocalfileinputstream.c : include <io.h> on win32
3363 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3364 definition, use g_win32_ftruncate() for G_OS_WIN32
3365 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3366 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3367 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3368 * makefile.msc : updated
3370 2007-12-07 Alexander Larsson <alexl@redhat.com>
3372 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3373 Avoid warning spew if error == NULL
3375 2007-12-07 Alexander Larsson <alexl@redhat.com>
3378 Update docs wrt etags
3380 2007-12-06 Alexander Larsson <alexl@redhat.com>
3383 Include sys/types.h for dev_t (#501919)
3385 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3389 Make abicheck and pltcheck pass.
3391 2007-12-05 Alexander Larsson <alexl@redhat.com>
3394 * giomodule-priv.h: Added.
3395 * glocaldirectorymonitor.c:
3396 * glocalfilemonitor.c:
3397 * gunionvolumemonitor.c:
3399 Actually add the declaration of _g_io_modules_ensure_loaded
3401 2007-12-05 Alexander Larsson <alexl@redhat.com>
3403 * gdatainputstream.c:
3408 * glocaldirectorymonitor.c:
3409 * glocalfilemonitor.c:
3410 * gunionvolumemonitor.c:
3412 Make g_io_modules_ensure_loaded a private function and
3413 don't pass in the dirname. This means we can do magic
3414 directory finding in the win32 version.
3415 Export the actual load-modules-in-directory code so that
3416 gvfs can reuse that.
3418 2007-12-05 Alexander Larsson <alexl@redhat.com>
3420 * gbufferedinputstream.c:
3421 * gbufferedoutputstream.c:
3424 * gfileenumerator.[ch]:
3425 * gfileinputstream.c:
3426 * gfileoutputstream.[ch]:
3427 * gfilterinputstream.c:
3428 * gfilteroutputstream.c:
3429 * ginputstream.[ch]:
3431 * glocalfileenumerator.c:
3432 * glocalfileinputstream.c:
3433 * glocalfileoutputstream.c:
3434 * gmemoryinputstream.c:
3435 * gmemoryoutputstream.c:
3436 * goutputstream.[ch]:
3439 * gunixinputstream.c:
3440 * gunixoutputstream.c:
3441 Rename all struct members named:
3442 read, write, close, truncate, or mount
3443 to foo_fn, as these are reserved names
3444 and could be defined as macros in libc.
3447 2007-12-04 Alexander Larsson <alexl@redhat.com>
3450 (g_output_stream_close):
3451 Only call flush if non-null.
3453 2007-11-30 Dan Winship <danw@gnome.org>
3455 * ginputstream.c (g_input_stream_set_pending): Make this take a
3456 GError and return a gboolean, and do the "outstanding operation"
3457 check (and the "stream is already closed" check) itself.
3458 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3460 * goutputstream.c (g_output_stream_set_pending)
3461 (g_output_stream_clear_pending): Likewise
3463 * gbufferedinputstream.c:
3464 * gfileinputstream.c:
3465 * gfileoutputstream.c: Update for that
3467 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3468 Like g_simple_async_report_error_in_idle, but takes a GError
3469 rather than building one.
3471 2007-11-30 Dan Winship <danw@gnome.org>
3473 * goutputstream.c: Don't cheat and unset the "pending" flag around
3474 inner calls. Instead, call the class method directly rather than
3475 the wrapper function that checks "pending"
3477 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3479 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3481 2007-12-03 Hans Breuer <hans@breuer.org>
3483 [start of port to win32/msvc]
3484 * gcancellable.c : HAVE_UNIST_H and _pipe()
3485 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3486 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3487 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3489 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3490 * glocalvfs.c : use HAVE_PWD_H
3491 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3492 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3493 * Makefile.am : added to EXTRA_DIST
3495 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3497 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3500 2007-12-03 Alexander Larsson <alexl@redhat.com>
3503 Handle OSX style xattrs API (#500506)
3505 2007-12-03 Alexander Larsson <alexl@redhat.com>
3509 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3511 2007-12-02 A. Walton <awalton@svn.gnome.org>
3515 Documentation accuracy fixes.
3517 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3519 * gioenumtypes.c.template: Fix typo.
3521 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3523 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3525 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3527 * gdirectorymonitor.c:
3528 * gfilemonitor.c: Add properties
3530 * gbufferedoutputstream.c: Don't mark buffer-size property
3533 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3535 * gbufferedoutputstream.c: Add auto-grow property.
3537 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3539 * *.c: Unify the capitalization of section headings.
3541 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3543 * gmountoperation.c: Add properties
3545 * gdatainputstream.c: Turn byte-order and newline-type into
3548 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3550 * gioenumtypes.[hc].template: Templates for enum registration
3552 * Makefile.am: Generate gioenumtypes.[hc]
3554 * gio.h: Include gioenumtypes.h
3556 * gfile.h: Add some explicit nicks.
3558 * gio.symbols: Add new symbols
3560 * pltcheck.sh: Adjust
3562 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3564 * *.c: Explain etags and link to the explanation
3566 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3568 * *.c: Explain I/O priority.
3570 * *.c: More coding style fixes.
3572 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3574 * gasyncresult.c: Add another paragraph to the intro,
3575 adjust coding style of example.
3577 2007-11-29 A. Walton <awalton@svn.gnome.org>
3580 Fixes unknown meaning in GAppLaunchContext docs.
3582 Clarify asynchronous ops.
3584 Fix entity tag docs.
3587 Provides missing gtk-doc section, fixes API docs slighly.
3588 * gsimpleasyncresult.c:
3589 Fill in missing info in docs.
3590 * gunixinputstream.c:
3591 * gunixoutputstream.c:
3592 Be more expressive in short description.
3594 Remove gtk-doc stubs for non-public API.
3596 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3598 * *.c: Coding style fixups
3600 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3602 * inotify/inotify-helper.c: Don't export the lock from libgio.
3604 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3607 * abicheck.sh: Fix copy-and-paste leftovers
3609 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3611 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3613 2007-11-28 Alexander Larsson <alexl@redhat.com>
3617 Removed unnecessary file
3619 * gdesktopappinfo.[ch]:
3622 * glocaldirectorymonitor.[ch]:
3624 * glocalfileenumerator.[ch]:
3625 * glocalfileinputstream.[ch]:
3626 * glocalfilemonitor.[ch]:
3627 * glocalfileoutputstream.[ch]:
3629 * gnativevolumemonitor.c:
3630 * gpollfilemonitor.[ch]:
3631 * gunionvolumemonitor.[ch]:
3634 * gunixvolumemonitor.[ch]:
3637 * inotify/ginotifydirectorymonitor.[ch]:
3638 * inotify/ginotifyfilemonitor.[ch]:
3639 * inotify/inotify-helper.c:
3640 Append _ to all internal functions
3644 Export symbols needed for modules
3646 2007-11-28 Alexander Larsson <alexl@redhat.com>
3649 * abicheck.sh: Added.
3650 * makegioalias.pl: Added.
3651 * pltcheck.sh: Added.
3652 * gio.symbols: Added.
3655 Initial work on adding symbol handling.
3658 Correct ifdef guard name
3661 * inotify/Makefile.am:
3662 * xdgmime/Makefile.am:
3663 Include toplevel Makefile.decl
3665 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3667 * gcontenttype.c: Move doc comments to the unix section.
3669 * *.[hc]: More trivial doc corrections.
3671 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3673 * gpollfilemonitor.c:
3677 * gdesktopappinfo.c:
3682 * gdatainputstream.c:
3683 * gdatainputstream.h:
3684 * gdataoutputstream.c:
3685 * gdataoutputstream.h:
3686 * gfileinfo.h: Doc cleanups
3688 2007-11-28 Andre Klapper <a9016009@gmx.de>
3690 * gdesktopappinfo.c: Fix a typo.
3692 2007-11-27 Andre Klapper <a9016009@gmx.de>
3694 * glocalfileoutputstream.c: Fix a typo.
3696 2007-11-27 Alexander Larsson <alexl@redhat.com>
3699 Don't include removed headers
3701 2007-11-27 Alexander Larsson <alexl@redhat.com>
3704 * gsocketinputstream.[ch]: Removed.
3705 * gsocketoutputstream.[ch]: Removed.
3706 * gunixinputstream.[ch]: Added.
3707 * gunixoutputstream.[ch]: Added.
3708 Renamed GSocket*Stream to GUnix*Stream and made
3709 it unix-only, since its not really only for sockets
3710 and it only works on unix (but is highly useful there).
3712 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3718 * gbufferedinputstream.c:
3719 * gbufferedinputstream.h:
3720 * gbufferedoutputstream.c:
3721 * gbufferedoutputstream.h:
3725 * gdatainputstream.c:
3726 * gdatainputstream.h:
3727 * gdataoutputstream.c:
3728 * gdataoutputstream.h:
3729 * gdirectorymonitor.c:
3730 * gdirectorymonitor.h:
3737 * gfileenumerator.c:
3738 * gfileenumerator.h:
3743 * gfileinputstream.c:
3744 * gfileinputstream.h:
3747 * gfilenamecompleter.c:
3748 * gfilenamecompleter.h:
3749 * gfileoutputstream.c:
3750 * gfileoutputstream.h:
3751 * gfilterinputstream.c:
3752 * gfilterinputstream.h:
3753 * gfilteroutputstream.c:
3754 * gfilteroutputstream.h:
3767 * glocalfileoutputstream.c:
3768 * gmemoryinputstream.c:
3769 * gmemoryinputstream.h:
3770 * gmemoryoutputstream.c:
3771 * gmemoryoutputstream.h:
3772 * gmountoperation.c:
3773 * gmountoperation.h:
3776 * gpollfilemonitor.c:
3779 * gsimpleasyncresult.c:
3780 * gsimpleasyncresult.h:
3781 * gsocketinputstream.c:
3782 * gsocketinputstream.h:
3783 * gsocketoutputstream.c:
3784 * gsocketoutputstream.h:
3791 * gunixvolumemonitor.c:
3800 Bumps documentation to 93% symbol coverage, touching most
3801 of the public files. Fixes broken function documentation prototypes.
3802 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3803 gtk-doc headers in private files.
3805 2007-11-27 Jürg Billeter <j@bitron.ch>
3807 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3808 (g_buffered_input_stream_read_byte):
3809 * gbufferedinputstream.h:
3810 New functions for efficient access to buffer and simple single byte
3813 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3814 (g_data_input_stream_read_until):
3815 * gdatainputstream.h:
3816 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3817 read_until with multiple stop chars.
3819 2007-11-27 Alexander Larsson <alexl@redhat.com>
3823 * inotify/Makefile.am:
3824 Use the user-specified giomoduledir
3826 2007-11-27 Alexander Larsson <alexl@redhat.com>
3830 Add catch-all gio.h header
3831 Don't install gdummyfile.h
3833 2007-11-26 Alexander Larsson <alexl@redhat.com>
3835 * Makefile.am (gioinclude_HEADERS):
3836 Remove trailing whitespace
3838 2007-11-26 Alexander Larsson <alexl@redhat.com>
3840 Merge gio-standalone into glib
3842 2007-11-25 Christian Kellner <gicmo@gnome.org>
3844 * gio/goutputstream.c:
3845 Fix small mistake in the docs.
3847 2007-11-21 Christian Persch <chpe@gnome.org>
3849 * gio/glocalfile.c: (g_local_file_trash):
3850 Convert filenames to UTF-8 for GError.
3851 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3852 as per xdg base dir spec.
3854 2007-11-21 Christian Persch <chpe@gnome.org>
3856 * gio/gdesktopappinfo.c:
3857 Use that g_key_file_to_data cannot fail.
3859 Use stock defines for the key file group and key names.
3862 2007-11-21 Alexander Larsson <alexl@redhat.com>
3865 (copy_stream_with_progress):
3866 Make sure we do a final progress callback with
3867 the full total size.
3869 2007-11-21 Alexander Larsson <alexl@redhat.com>
3872 Export g_file_copy_attributes
3873 Remove padding as its not needed for interfaces
3875 2007-11-20 Alexander Larsson <alexl@redhat.com>
3880 Add G_IO_ERROR_WOULD_MERGE for
3881 copy/move dir on dir with overwrite.
3883 2007-11-20 Alexander Larsson <alexl@redhat.com>
3886 * gio/glocalfileinfo.c:
3887 Add COPY_NAME (this is an optional
3888 non-modified utf8 version of the name) that
3891 2007-11-20 Alexander Larsson <alexl@redhat.com>
3893 * gio/glocalfileenumerator.c:
3894 Report errors as GIOError, not GFileError
3896 2007-11-16 Alexander Larsson <alexl@redhat.com>
3898 * gio/glocalfileoutputstream.c:
3899 * gio/gwin32appinfo.c:
3900 Fix typos in strings.
3901 Patch from Luca Ferretti <elle.uca@libero.it>
3903 2007-11-15 Alexander Larsson <alexl@redhat.com>
3906 Post release version bump
3908 === gio-standalone 0.1.2 ===
3910 2007-11-15 Alexander Larsson <alexl@redhat.com>
3912 * docs/reference/gio/Makefile.am:
3913 Fix up distcheck by removing weird
3919 2007-11-14 Alexander Larsson <alexl@redhat.com>
3921 * gio/gdesktopappinfo.c:
3922 * gio/glocaldirectorymonitor.c:
3924 * gio/glocalfileinfo.c:
3925 * gio/inotify/inotify-sub.c:
3926 * programs/gio-cat.c:
3927 * programs/gio-copy.c:
3928 * programs/gio-info.c:
3929 * programs/gio-ls.c:
3930 * programs/gio-monitor-dir.c:
3931 * programs/gio-monitor-file.c:
3932 * programs/gio-mount.c:
3933 * programs/gio-move.c:
3934 * programs/gio-rm.c:
3935 * programs/gio-save.c:
3936 * programs/gio-trash.c:
3937 Leak fixes from Kjartan Maraas
3939 2007-11-14 Alexander Larsson <alexl@redhat.com>
3941 * gio/fam/fam-helper.c:
3943 * gio/glocalfileinfo.c:
3947 * gio/inotify/inotify-diag.c:
3948 * gio/inotify/inotify-kernel.c:
3949 Various code cleanups from Kjartan Maraas
3951 2007-11-14 Alexander Larsson <alexl@redhat.com>
3953 * gio/gioscheduler.c:
3955 Set up threadpool so that we cache 2 unused
3956 idle threads for at 15 secs. This means we
3957 will reuse thread-local data (like dbus connections)
3960 2007-11-14 Alexander Larsson <alexl@redhat.com>
3962 * gio/fam/fam-helper.c:
3963 * gio/fam/gfamdirectorymonitor.c:
3964 * gio/fam/gfamfilemonitor.c:
3966 * gio/gcontenttype.c:
3967 * gio/gdatainputstream.c:
3968 * gio/gdataoutputstream.c:
3972 * gio/gfileattribute.h:
3973 * gio/gfileenumerator.c:
3975 * gio/ginputstream.c:
3978 * gio/glocalfileinfo.c:
3979 * gio/goutputstream.c:
3980 * gio/gpollfilemonitor.c:
3981 * gio/gsimpleasyncresult.c:
3982 * gio/gunixmounts.c:
3983 * gio/gunixmounts.h:
3984 * gio/inotify/ginotifydirectorymonitor.c:
3985 * gio/inotify/ginotifyfilemonitor.c:
3986 * gio/inotify/inotify-diag.c:
3987 * gio/inotify/inotify-kernel.c:
3988 * gio/inotify/inotify-path.c:
3990 * gio/test-streams.c:
3991 * programs/gio-info.c:
3992 * programs/gio-monitor-dir.c:
3993 * programs/gio-monitor-file.c:
3994 Various code cleanups from Kjartan Maraas
3996 2007-11-13 Alexander Larsson <alexl@redhat.com>
3999 Handle the uri-scheme calls for dummy files
4001 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4003 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4004 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4005 to avoid clash with the C++ keyword.
4007 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4009 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4010 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4012 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4014 * gio/glocaldirectorymonitor.c:
4015 * gio/glocalfilemonitor.c:
4016 * gio/gunionvolumemonitor.c:
4017 Don't use g_once_init_*() for initializations that could fail and
4018 could leave the initialization variable set to 0 but use GOnce.
4019 This prevents a deadlock on the second call when trying to create
4020 a monitor and no monitor type is available. Thanks to Sven Herzberg
4023 2007-11-11 Sven Herzberg <sven@imendio.com>
4025 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4026 #ifdef (make it work on MacOS X again)
4028 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4030 Fixes Changelog for last two commits (sorry guys).
4032 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4034 * gio/gbufferedinputstream.c:
4035 * gio/gdatainputstream.c:
4037 * gio/gfileoutputstream.c:
4038 * gio/gfilterinputstream.c:
4039 * gio/glocalfileinputstream.c:
4042 More consistency fixes in g*stream.c files.
4043 Significant clean of gfile's documentation, filling in of
4044 asynchronous operations documentation.
4046 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4048 * gio/gasyncresult.c:
4049 * gio/gbufferedinputstream.c:
4050 * gio/gbufferedoutputstream.c:
4051 * gio/gcancellable.c:
4052 * gio/gcontenttype.c:
4053 * gio/gdatainputstream.c:
4054 * gio/gdataoutputstream.c:
4055 * gio/gdesktopappinfo.c:
4058 * gio/gfileattribute.c:
4059 * gio/gio/gfileenumerator.c:
4061 * gio/gfileinputstream.c:
4062 * gio/gfilemonitor.c:
4063 * gio/gfileoutputstream.c:
4064 * gio/ginputstream.c:
4066 * gio/gioscheduler.c:
4067 * gio/gloadableicon.c:
4068 * gio/glocalfileoutputstream.c:
4069 * gio/gmemoryoutputstream.c:
4070 * gio/gmountoperation.c:
4071 * gio/goutputstream.c:
4073 * gio/gsimpleasyncresult.c:
4074 * gio/gunionvolumemonitor.c:
4075 * gio/gunixmounts.c:
4076 * gio/gunixvolume.c:
4080 * gio/gvolumemonitor.c:
4081 Updated documentation stubs, working towards consistency and
4084 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4086 * gio/gmemoryoutputstream.c:
4087 * gio/gmemoryoutputstream.h:
4088 Change g_memory_output_stream_set_free_on_close() to
4089 g_memory_output_stream_set_free_data() as this makes more sense and
4090 is more consistent with GMemoryInputStream.
4092 2007-11-07 Alexander Larsson <alexl@redhat.com>
4099 Change how we find the default vfs so that
4100 we can handle a gvfs failing to init
4102 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4104 * gio/gbufferedoutputstream.c:
4105 * gio/gdatainputstream.c:
4106 * gio/gdataoutputstream.c:
4107 * gio/gfileinputstream.c:
4108 * gio/gfileoutputstream.c:
4109 * gio/gfilterinputstream.c:
4110 * gio/gfilteroutputstream.c:
4111 * gio/ginputstream.c:
4112 * gio/gmemoryinputstream.c:
4113 * gio/gmemoryoutputstream.c:
4114 * gio/goutputstream.c:
4115 * gio/gsimpleasyncresult.c:
4116 * gio/gsocketinputstream.c:
4117 * gio/gsocketoutputstream.c:
4118 Add guards to the remaining public functions, add a TODO for
4119 an unimplemented function and remove some useless guards.
4121 2007-11-07 Alexander Larsson <alexl@redhat.com>
4124 Autoconf checks for the various types of
4125 getpwuid_r and getgrgid_r
4127 * gio/glocalfileinfo.c:
4128 Use the autoconf checks from above
4130 2007-11-07 Alexander Larsson <alexl@redhat.com>
4133 (g_local_file_query_filesystem_info):
4134 Some fixes for the statvfs case
4136 2007-11-07 Alexander Larsson <alexl@redhat.com>
4139 (g_local_file_query_filesystem_info):
4140 Pick the "best" of statfs / statvfs for the system
4141 if both are availible.
4143 2007-11-07 Alexander Larsson <alexl@redhat.com>
4145 Solaris fixes from Halton.Huo@Sun.COM:
4152 * gio/glocalfileinfo.c:
4153 Fix for solaris definition of getpwuid_r
4155 * gio/test-streams.c:
4156 Use G_GNUC_PRETTY_FUNCTION
4158 2007-11-07 Alexander Larsson <alexl@redhat.com>
4160 * gio/gdesktopappinfo.c:
4161 (update_default_list):
4162 Remove double semicolon.
4163 Patch from Jens Granseuer
4165 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4167 * docs/reference/gio/gio-sections.txt:
4168 * gio/gbufferedinputstream.c:
4169 * gio/gbufferedinputstream.h:
4170 * gio/gdatainputstream.c:
4171 * gio/gfileenumerator.c:
4172 * gio/gioscheduler.c:
4173 * gio/gunionvolumemonitor.c:
4175 * programs/gio-save.c:
4176 Fix typo: availible -> available. Unfortuntely this breaks API
4177 and ABI as g_buffered_input_stream_get_available() was renamed.
4179 * gio/gunixmounts.c:
4180 * gio/gbufferedinputstream.c:
4181 Add guards for public functions.
4183 2007-11-06 Ross Burton <ross@openedhand.com>
4185 * docs/reference/gio/Makefile.am:
4186 Fix invalid += usage which automake 1.10 doesn't like.
4188 2007-11-06 Alexander Larsson <alexl@redhat.com>
4191 (g_app_launch_context_class_init):
4194 Patch from Ross Burton
4196 2007-11-06 Alexander Larsson <alexl@redhat.com>
4199 Post release version bump
4201 === gio-standalone 0.1.1 ===
4203 2007-11-06 Alexander Larsson <alexl@redhat.com>
4206 Bump version to 0.1.1
4208 * gio/gsimpleasyncresult.c:
4209 (g_simple_async_result_set_from_error):
4210 Remove bogus g_return_if_fail
4212 2007-11-06 Alexander Larsson <alexl@redhat.com>
4215 The name is gio-standalone
4218 Add top src/builddir to includedir
4220 2007-11-06 Alexander Larsson <alexl@redhat.com>
4222 * docs/reference/gio/gio-sections.txt:
4224 * gio/gbufferedinputstream.c:
4225 * gio/gbufferedoutputstream.c:
4226 * gio/gcancellable.c:
4227 * gio/gdatainputstream.h:
4228 * gio/gdataoutputstream.c:
4229 * gio/gdataoutputstream.h:
4230 * gio/gdirectorymonitor.c:
4232 * gio/gfileattribute.c:
4233 * gio/gfileattribute.h:
4234 * gio/gfileenumerator.c:
4235 * gio/gfileenumerator.h:
4238 * gio/gfileinputstream.h:
4239 * gio/gfilemonitor.c:
4240 * gio/gfileoutputstream.h:
4241 * gio/glocalfilemonitor.h:
4242 * gio/glocalfileoutputstream.h:
4243 * gio/gmemoryinputstream.c:
4244 * gio/gmemoryoutputstream.c:
4245 * gio/gmountoperation.c:
4246 * gio/goutputstream.c:
4247 * gio/goutputstream.h:
4249 * gio/gsimpleasyncresult.c:
4250 * gio/gunixmounts.c:
4251 * gio/gunixmounts.h:
4253 * gio/inotify/inotify-helper.c:
4254 Fix gtk-doc warnings
4256 Patch from Ross Burton
4258 2007-11-06 Alexander Larsson <alexl@redhat.com>
4260 * gio/gfilenamecompleter.c:
4261 (g_filename_completer_get_completions):
4264 * gio/gunixvolume.c:
4265 Remove unused function
4267 Patches from Ross Burton
4269 2007-11-06 Alexander Larsson <alexl@redhat.com>
4274 Padding not needed for interfaces
4276 2007-11-06 Alexander Larsson <alexl@redhat.com>
4278 * gio/gfilemonitor.c:
4282 Make giotypes.h an internal file
4285 * gio/gbufferedinputstream.h:
4286 * gio/gbufferedoutputstream.h:
4287 * gio/gcancellable.h:
4288 * gio/gdatainputstream.h:
4289 * gio/gdataoutputstream.h:
4290 * gio/gdirectorymonitor.c:
4291 * gio/gdirectorymonitor.h:
4296 * gio/gfileattribute.h:
4297 * gio/gfileenumerator.h:
4302 * gio/gfilemonitor.c:
4303 * gio/gfilemonitor.h:
4304 * gio/gfilenamecompleter.c:
4305 * gio/gfilenamecompleter.h:
4306 * gio/gfilterinputstream.h:
4307 * gio/gfilteroutputstream.h:
4308 * gio/ginputstream.h:
4309 * gio/gmemoryinputstream.h:
4310 * gio/gmemoryoutputstream.h:
4311 * gio/gmountoperation.c:
4312 * gio/gmountoperation.h:
4313 * gio/gnativevolumemonitor.c:
4314 * gio/goutputstream.h:
4317 * gio/gsimpleasyncresult.c:
4318 * gio/gsimpleasyncresult.h:
4319 * gio/gsocketinputstream.h:
4320 * gio/gsocketoutputstream.h:
4321 * gio/gthemedicon.c:
4322 * gio/gthemedicon.h:
4326 * gio/gvolumemonitor.c:
4327 * gio/gvolumemonitor.h:
4328 Add padding in classes where it seems useful
4329 Don't include giotypes.h from public headers
4330 Move in Class definitions into c file where possible
4335 2007-11-06 Alexander Larsson <alexl@redhat.com>
4337 * docs/reference/gio/gio-docs.xml:
4338 Better structure for API docs
4340 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4343 * gio/gloadableicon.c:
4344 * gio/gsimpleasyncresult.c:
4345 * gio/gthemedicon.c:
4346 Add some more guards to public functions. Only files missing are now
4349 2007-11-06 Alexander Larsson <alexl@redhat.com>
4351 * docs/reference/gio/gio-docs.xml:
4352 Remove old files, add missing ones
4354 2007-11-06 Alexander Larsson <alexl@redhat.com>
4356 * docs/reference/gio/gio-sections.txt:
4359 Hide implementation classes
4361 * gio/gdriveprivate.h:
4362 * gio/gvolumeprivate.h:
4363 Remove non-existing function declarations
4365 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4368 Fix compilation warnings and add guards to the new functions.
4370 * gio/gasyncresult.c:
4372 Add guards to the public functions.
4375 Implement get_path().
4377 2007-11-06 Alexander Larsson <alexl@redhat.com>
4379 * gio/gfilenamecompleter.c:
4380 Make g_filename_completer_get_completions
4381 return char ** instead of GList for
4384 * docs/reference/gio/gio-docs.xml:
4385 * docs/reference/gio/gio-sections.txt:
4387 * gio/gasyncresult.c:
4388 * gio/gbufferedinputstream.c:
4389 * gio/gbufferedoutputstream.c:
4390 * gio/gcancellable.c:
4391 * gio/gcontenttype.c:
4392 * gio/gdatainputstream.c:
4393 * gio/gdataoutputstream.c:
4394 * gio/gdesktopappinfo.c:
4395 * gio/gdirectorymonitor.c:
4399 * gio/gfileattribute.c:
4400 * gio/gfileenumerator.c:
4403 * gio/gfileinputstream.c:
4404 * gio/gfilemonitor.c:
4405 * gio/gfilenamecompleter.c:
4406 * gio/gfilenamecompleter.h:
4407 * gio/gfileoutputstream.c:
4408 * gio/gfilterinputstream.c:
4410 * gio/ginputstream.c:
4412 * gio/gioscheduler.c:
4413 * gio/gloadableicon.c:
4414 * gio/glocaldirectorymonitor.c:
4416 * gio/glocalfileinputstream.c:
4417 * gio/glocalfilemonitor.c:
4418 * gio/glocalfileoutputstream.c:
4420 * gio/gmemoryinputstream.c:
4421 * gio/gmemoryoutputstream.c:
4422 * gio/gmountoperation.c:
4423 * gio/goutputstream.c:
4424 * gio/gpollfilemonitor.c:
4426 * gio/gsimpleasyncresult.c:
4427 * gio/gsocketinputstream.c:
4428 * gio/gsocketoutputstream.c:
4429 * gio/gthemedicon.c:
4430 * gio/gunionvolumemonitor.c:
4432 * gio/gunixmounts.c:
4433 * gio/gunixvolume.c:
4434 * gio/gunixvolumemonitor.c:
4438 * gio/gvolumemonitor.c:
4439 * gio/gwin32appinfo.c:
4440 Add (mostly stub) doc strings to public functions.
4441 Patch from Andrew Walton (awalton@gmail.com)
4443 2007-11-06 Alexander Larsson <alexl@redhat.com>
4445 * gio/gappinfo.[ch]:
4446 Added GAppLaunchContext object and pass that to launch.
4447 This allows simple implementation of both
4448 launch-on-screen and startup notification via a gtk+
4449 subclass of GAppLaunchContext
4451 * gio/gdesktopappinfo.c:
4452 Implement GAppLaunchContext API
4454 * gio/gwin32appinfo.c:
4457 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4459 * gio/gmountoperation.c:
4460 Add some guards to GMountOperation's public functions.
4462 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4466 * gio/gcancellable.c:
4467 * gio/gdirectorymonitor.c:
4469 * gio/gfileenumerator.c:
4470 * gio/gfilemonitor.c:,
4471 * gio/gfilenamecompleter.c:
4474 * gio/gioscheduler.c:
4478 * gio/gvolumemonitor.c:
4479 Add even more guards to various public functions.
4481 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4484 Add guards to the public functions of GAppInfo.
4486 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4488 * gio/gcontenttype.c:
4489 Add some more guards for public functions.
4491 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4493 * gio/fam/fam-module.c:
4494 * gio/fam/gfamdirectorymonitor.c:
4495 * gio/fam/gfamdirectorymonitor.h:
4496 * gio/fam/gfamfilemonitor.c:
4497 * gio/fam/gfamfilemonitor.h:
4498 * gio/inotify/ginotifydirectorymonitor.c:
4499 * gio/inotify/ginotifydirectorymonitor.h:
4500 * gio/inotify/ginotifyfilemonitor.c:
4501 * gio/inotify/ginotifyfilemonitor.h:
4502 Add proper copyright information and remove an unused variable
4503 in the GInotifyFileMonitor constructor.
4505 * gio/gcancellable.c:
4506 Add a guard for a public function and an assertion to prevent
4507 an undefined program state.
4509 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4511 * gio/gfileattribute.c:
4512 Don't run into an assertion if the given attribute value is NULL
4513 in g_file_attribute_value_get_*() but instead return a fallback
4514 value that makes sense in most situations. Passing them a attribute
4515 value with the wrong type will still run into an assertion.
4517 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4519 * gio/gfileattribute.c:
4521 Add even more guards to the public functions. Also fix the refcounting
4522 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4523 let g_file_info_list_attributes() filter the attributes by namespace
4524 instead of simply ignoring the namespace parameter.
4526 2007-11-03 Sven Herzberg <sven@imendio.com>
4528 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4529 (This makes gio work on MacOS X again)
4531 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4534 Build the gio subdirectory before the docs. Otherwise the build will
4537 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4538 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4539 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4540 Add guards to the public functions.
4542 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4544 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4545 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4546 to prevent a compiler warning.
4548 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4549 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4550 return something in the non-void function find_topdir_for().
4552 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4559 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4561 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4562 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4563 * gwin32appinfo.c (g_win32_app_info_launch):
4564 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4565 envp_for_startup_id, g_desktop_app_info_launch,
4566 g_desktop_app_info_launch_uris):
4568 Give an opaque 'startup_id' string instead of 'envp'.
4569 Support empty file lists for launching new windows.
4570 Fix infinite recursion bug when launching URIs.
4572 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4575 Add guard to the new g_file_get_uri_scheme() function.
4577 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4580 Convert a g_return_val_if_fail() to setting the GError instead as
4581 otherwise applications have to verify the parameter before otherwise
4582 and the parameter might come directly from the user.
4584 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4586 * gio/inotify/ginotify*.[ch]:
4587 Add missing copyright information.
4589 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4592 Add guards in the beginning of public functions to check for valid
4593 parameters and fix a bug in copy_stream_with_progress() that could've
4594 caused writing less bytes than reading.
4595 * gio/glocalfileinfo.c:
4596 Check for a NULL parameter and set the GError accordingly then.
4597 * gio/goutputstream.c:
4598 Fix the same bug as in gfile.c that could've caused writing less bytes
4599 than reading in g_output_stream_real_splice().
4601 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4604 Use the correct gvolumeprivate.h naming
4606 2007-11-01 Christian Kellner <gicmo@gnome.org>
4609 Remove leftover "$(daemon_sources)" entry.
4611 2007-11-01 Christian Kellner <gicmo@gnome.org>
4616 Add copyright information to source files.
4618 2007-11-01 Alexander Larsson <alexl@redhat.com>
4622 Add g_file_get_uri_scheme
4624 2007-11-01 Alexander Larsson <alexl@redhat.com>
4627 * gio/gdesktopappinfo.c:
4628 * gio/gwin32appinfo.c:
4629 Add g_app_info_get_default_for_uri_scheme.
4631 2007-11-01 Alexander Larsson <alexl@redhat.com>
4634 Correct filename for gdriveprivate.h
4636 2007-10-31 Alexander Larsson <alexl@redhat.com>
4639 Rename id:value to id:file
4642 * gio/glocalfileinfo.c:
4645 2007-10-31 Alexander Larsson <alexl@redhat.com>
4647 * gio/gunixvolume.c:
4649 Remove g_volume_get_platform_id, as thats not
4650 needed with the simpler union volume monitor
4652 2007-10-31 Alexander Larsson <alexl@redhat.com>
4655 * gio/guniondrive.[ch]: Removed.
4656 * gio/gunionvolume.[ch]: Removed.
4657 Remove GUnionDrive/Volume
4659 * gio/gunionvolumemonitor.c:
4660 Simplify union volume monitor, now we
4661 only have one native volume monitor and
4662 we use the actual volumes/drives from the
4663 child monitors instead of wrapping them
4665 * gio/gnativevolumemonitor.[ch]:
4666 Base class for native volume monitors.
4667 Includes priority and get_volume_for_mountpoint
4670 Add g_file_find_enclosing_volume
4673 Remove volume name fs attribute
4674 Add readonly fs attribute
4677 Implement readonly attribute
4678 remove volume name attribute
4679 Implement find_enclosing volume
4681 * gio/gunixmounts.c:
4682 Add a volume for "/".
4684 * gio/gunixvolume.[ch]:
4685 Set better name for /
4687 * gio/gunixvolumemonitor.[ch]:
4688 Derive from GNativeVolumeMonitor
4689 Implement get_volume_for_mountpoint
4692 GVolume typedef moved to gfile.h
4694 * gio/gvolumeprivate.h:
4695 Add g_volume_get_for_mount_path
4697 2007-10-31 Alexander Larsson <alexl@redhat.com>
4699 * gio/gunixmounts.[ch]:
4700 Add cache info to unix mount listers
4701 Make getmntent use threadsafe
4702 Add is_system_internal attribute for GUnixMount
4704 * gio/gunixvolume.c:
4705 (g_unix_volume_new):
4706 Use is_system_internal instead of own code
4708 * gio/glocaldirectorymonitor.c:
4709 * gio/gunixvolumemonitor.c:
4710 Update to new gunixmounts API
4715 2007-10-30 Alexander Larsson <alexl@redhat.com>
4718 Add volume name fsinfo attribute
4721 Read volume name info
4723 * gio/gunionvolumemonitor.c:
4724 Fix infinite loops when finalizing a union volume monitor
4726 2007-10-30 Alexander Larsson <alexl@redhat.com>
4728 * gio/goutputstream.[ch]:
4729 Add splice() with default implementation
4731 * gio/gsocketoutputstream.c:
4732 (g_socket_output_stream_write):
4733 Return error on cancellation correctly.
4735 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4737 * gio/glocalfile.c (g_local_file_trash):
4738 Do not leak a string.
4740 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4742 * gio/gfile.c (g_file_load_contents):
4743 Unref the stream after closing it.
4745 2007-10-25 Alexander Larsson <alexl@redhat.com>
4747 * gio/gioscheduler.h:
4750 2007-10-25 Alexander Larsson <alexl@redhat.com>
4754 Add g_file_has_uri_scheme and implement for local files
4756 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4758 * gio/gdesktopappinfo.c: do not leak a string.
4760 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4762 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4763 (g_local_directory_monitor_new):
4764 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4765 (g_local_file_monitor_new):
4766 Only look for the monitor type that should be used the first time
4767 and use g_qsort_with_data() instead of our own bubble sort
4770 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4773 * gio/fam/Makefile.am:
4774 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4775 * gio/fam/fam-helper.h:
4776 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4777 * gio/fam/gfamdirectorymonitor.c:
4778 * gio/fam/gfamdirectorymonitor.h:
4779 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4780 * gio/fam/gfamfilemonitor.h:
4781 * gio/glocaldirectorymonitor.c:
4782 * gio/glocaldirectorymonitor.h:
4783 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4784 * gio/glocalfilemonitor.h:
4785 * gio/inotify/Makefile.am:
4786 * gio/inotify/ginotifydirectorymonitor.c:
4787 * gio/inotify/ginotifydirectorymonitor.h:
4788 * gio/inotify/ginotifyfilemonitor.c:
4789 * gio/inotify/ginotifyfilemonitor.h:
4790 Implement the FAM and Inotify monitors as
4791 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4792 their own GIO module. GLocal(Directory|File)Monitor will use the
4793 monitor with the highest rank that is supported on that machine.
4795 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4798 Change GIO module dir to $(libdir)/gio/modules and change
4799 the log domain from GVFS to GIO. Also only export symbols starting
4800 with g_ in the resulting library.
4801 * gio/test-streams.c: (main):
4802 Set log handler for the GIO log domain.
4804 2007-10-22 Alexander Larsson <alexl@redhat.com>
4806 * gio/gfilenamecompleter.[ch]:
4807 Add g_filename_completer_set_dirs_only
4809 2007-10-22 Alexander Larsson <alexl@redhat.com>
4812 * gio/gurifuncs.[ch]:
4813 Add some simple URI helpers
4815 * gio/gfilenamecompleter.[ch]:
4816 Added object for filename (parse name actually) completion
4819 Handle ~ in parse names
4821 2007-10-17 Alexander Larsson <alexl@redhat.com>
4824 * gio/glocalfileinfo.c:
4825 Add and implement id:value attribute
4827 2007-10-17 Alexander Larsson <alexl@redhat.com>
4830 * gio/guniondrive.c:
4832 Add and implement g_drive_has_volumes
4834 2007-10-17 Alexander Larsson <alexl@redhat.com>
4837 * gio/glocalfileinfo.[ch]:
4838 Add unix:is_mountpoint and implement for local files
4840 2007-10-16 Alexander Larsson <alexl@redhat.com>
4842 * gio/gunionvolumemonitor.c:
4843 (g_union_volume_monitor_init):
4844 Fix up the unix type getting so that it works with gcc
4846 2007-10-12 Alexander Larsson <alexl@redhat.com>
4849 * gio/glocalfileinfo.c:
4850 Add thumbnail:failed to file info
4852 2007-10-12 Richard Hult <richard@imendio.com>
4854 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4855 optimizing away the get_type call (happens with some gcc versions,
4856 like the one shipped with OS X 10.4).
4858 2007-10-12 Alexander Larsson <alexl@redhat.com>
4860 * gio/glocalfileinfo.c:
4861 (_g_local_file_info_set_attribute):
4862 Fix build if not HAVE_XATTR
4863 Patch from Milosz Derezynski <internalerror@gmail.com>
4865 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4867 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4868 around for review, otherwise I would have asked you before
4871 2007-10-11 Alexander Larsson <alexl@redhat.com>
4874 Add thumbnail:path attribute
4876 * gio/glocalfileinfo.c:
4877 Implement thumbnail:path for local files
4879 2007-10-11 Alexander Larsson <alexl@redhat.com>
4881 * gio/glocalfileinfo.c:
4882 (_g_local_file_info_get):
4883 Avoid duplicate icon names
4885 2007-10-11 Alexander Larsson <alexl@redhat.com>
4887 * gio/gthemedicon.[ch]:
4888 Change g_themed_icon_get_names return type to const
4890 2007-10-10 Alexander Larsson <alexl@redhat.com>
4892 * gio/glocalfileinfo.c:
4893 Don't reference freed memory
4895 2007-10-10 Alexander Larsson <alexl@redhat.com>
4897 * gio/gfileattribute.c:
4900 * gio/glocalfileinfo.c:
4903 2007-10-10 Alexander Larsson <alexl@redhat.com>
4906 Check for NULL icons
4908 * gio/gfileattribute.c:
4909 Don't dup when getting objects (same as for string attributes)
4911 * gio/gicon.c (g_icon_equal):
4912 Safely handle NULLs in equal
4914 2007-10-10 Alexander Larsson <alexl@redhat.com>
4917 Fix c++ compilation issues
4918 Patch from Milosz Derezynski <internalerror@gmail.com>
4920 2007-10-10 Alexander Larsson <alexl@redhat.com>
4922 * programs/gio-monitor-dir.c:
4923 Don't crash if dir monitor not supported.
4925 2007-10-09 Alexander Larsson <alexl@redhat.com>
4928 Add missing G_END_DECLS
4930 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4932 * gio/gfile.c: (g_file_set_display_name),
4933 (g_file_query_settable_attributes),
4934 (g_file_query_writable_namespaces):
4935 Return NULL not FALSE on errors as the return type is a pointer.
4937 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4939 * gio/glocalfile.c: (g_local_file_monitor_file):
4940 Don't call monitor_file on the default interface vtable (which
4941 is NULL) but simply return NULL. The caller, GFile, will create a
4942 polling monitor if NULL is returned.
4944 2007-10-09 Alexander Larsson <alexl@redhat.com>
4948 * gio-unix-2.0.pc.in:
4949 Add gio-unix-2.0.pc if OS_UNIX
4952 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4954 2007-10-09 Alexander Larsson <alexl@redhat.com>
4956 * gio/gunixmounts.[ch]:
4957 Make unix mount monitoring API sane.
4958 Now its just a object with mounts_changed
4959 and mountpoints_changed signals.
4961 * gio/glocaldirectorymonitor.c:
4962 * gio/gunixvolumemonitor.c:
4963 Use new mount monitor api
4965 2007-10-09 Alexander Larsson <alexl@redhat.com>
4967 * gio/gunixmounts.[ch]:
4968 Move guess type into one call for mounts and one for mountpoints
4971 * gio/gunixvolume.c:
4974 2007-10-09 Alexander Larsson <alexl@redhat.com>
4976 * gio/gunixmounts.[ch]:
4977 Remove _ prefix in preparation to make this semi-public
4978 Hide implementation of structs
4980 * gio/glocaldirectorymonitor.c:
4982 * gio/gunixvolume.c:
4983 * gio/gunixvolumemonitor.c:
4984 Update for above API changes
4986 2007-10-08 Alexander Larsson <alexl@redhat.com>
4989 Better polling fallback. This also handles the case where we have
4990 a monitor_file implementation, but it fails.
4992 2007-10-08 Alexander Larsson <alexl@redhat.com>
4996 * gio/gunixmounts.c:
4997 * programs/gio-monitor-dir.c:
4998 * programs/gio-monitor-file.c:
4999 Added cancellable to file monitoring calls.
5000 These are really sync calls and need this.
5002 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5004 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5005 (g_local_vfs_class_init):
5006 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5007 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5009 2007-10-05 Alexander Larsson <alexl@redhat.com>
5011 * gio/gdirectorymonitorprivate.h:
5012 * gio/gfilemonitorprivate.h:
5013 * gio/gdirectorymonitor.h:
5014 * gio/gfilemonitor.h:
5015 Remove *private.h and move to the public API, so that
5016 we can do implementations outside gio (such as in gvfs)
5018 * gio/gdirectorymonitor.c:
5019 * gio/gfilemonitor.c:
5020 * gio/glocaldirectorymonitor.c:
5021 * gio/gpollfilemonitor.c:
5022 * gio/inotify/inotify-helper.c:
5023 * gio/fam/fam-helper.c:
5024 Update to the new header names
5026 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5028 * gio/gdirectorymonitor.c:
5029 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5032 2007-10-04 Alexander Larsson <alexl@redhat.com>
5034 * gio/glocalfileinfo.c (get_access_rights):
5035 Set CAN_TRASH when we can move the file.
5036 We should really also check for a parent trash dir.
5038 2007-10-04 Alexander Larsson <alexl@redhat.com>
5040 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5041 Add can_trash access attribute
5043 2007-10-04 Alexander Larsson <alexl@redhat.com>
5046 (g_local_file_trash):
5047 Create info file first. This is per-spec and allows
5048 us to actually trash directories.
5050 2007-10-02 Alexander Larsson <alexl@redhat.com>
5052 * gio/gdesktopappinfo.c:
5053 Implement the new mime support code.
5054 Always set app as handling mimetype when being set as default for it
5056 2007-10-01 Alexander Larsson <alexl@redhat.com>
5058 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5059 Fix up check for xattrs:
5061 2007-10-01 Alexander Larsson <alexl@redhat.com>
5064 (g_app_info_set_as_default_for_extension):
5065 (g_app_info_add_supports_type):
5066 (g_app_info_can_remove_supports_type):
5067 (g_app_info_remove_supports_type):
5068 Make these fail nicely if not implemented
5070 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5072 * gio/glocalfileoutputstream.c:
5073 * gio/glocalfileoutputstream.h:
5078 * programs/gio-save.c:
5079 Add a GFileCreateFlags argument to operations that can create
5082 2007-10-01 Alexander Larsson <alexl@redhat.com>
5084 * gio/gappinfo.[ch]:
5085 * gio/gdesktopappinfo.c:
5086 Add more (stubbed out) mime API needed for nautilus
5088 2007-10-01 Alexander Larsson <alexl@redhat.com>
5091 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5092 Add g_app_info_set_as_default_for_extension.
5094 * gio/gdesktopappinfo.c:
5095 Dummy for g_app_info_set_as_default_for_extension
5096 Support flags in g_app_info_create_from_commandline
5098 * gio/gwin32appinfo.c:
5100 Update for API changes
5102 * gio/gthemedicon.c:
5103 Properly NULL-terminate list of icon names
5105 2007-09-28 Alexander Larsson <alexl@redhat.com>
5107 * gio/gloadableicon.h:
5108 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5110 2007-09-28 Alexander Larsson <alexl@redhat.com>
5113 Install headers in $includedir/gio-standalone/
5115 * gio-2.0.pc.in: Added.
5116 * gio-standalone.pc.in: Removed.
5119 Renamed pkg-config file to match glib (for future move)
5120 Update to the new include dir
5123 Add more TODO comments
5125 2007-09-28 Alexander Larsson <alexl@redhat.com>
5127 * gio/gdesktopappinfo.[ch]:
5128 Expose new_from_filename
5129 Add getter for is_hidden and handle it better
5131 2007-09-28 Alexander Larsson <alexl@redhat.com>
5133 * gio/gfileinfo.[ch]:
5134 Rename g_file_size_format_for_display to
5135 g_format_file_size_for_display.
5136 Now it doesn't have the g_file prefix, so we
5137 can later move it to glib.
5139 2007-09-28 Alexander Larsson <alexl@redhat.com>
5141 * gio/gappinfo.[ch]:
5142 Add g_app_info_get_id and g_app_info_get_executable.
5143 Make all getters non-reffing
5144 Make g_app_info_launch take GFile arguments.
5145 Add must_support_uris argument to g_app_info_get_default_for_type.
5147 * gio/gwin32appinfo.c:
5148 Update to GAppInfo api changes
5150 * gio/gdesktopappinfo.c:
5151 Update to GAppInfo api changes
5152 Implement supports_xdg_startup_notify
5154 * gio/gfileicon.c (g_file_icon_get_file):
5155 Make getter non-reffing.
5160 2007-09-27 Alexander Larsson <alexl@redhat.com>
5162 * gio/gfileinfo.[ch]:
5163 Add g_file_size_format_for_display helper
5165 2007-09-27 Alexander Larsson <alexl@redhat.com>
5167 * gio/glocalfileinfo.c:
5168 Set UNIX_GID from gid, not from uid
5170 2007-09-27 Alexander Larsson <alexl@redhat.com>
5173 Add g_file_set_attributes_async
5175 2007-09-27 Alexander Larsson <alexl@redhat.com>
5177 * gio/glocalfile.c (g_local_file_set_display_name):
5178 Fix set_display_name to actually rename to the right place.
5179 Use lstat to look for existing files so we don't overwrite
5182 2007-09-26 Alexander Larsson <alexl@redhat.com>
5185 Add g_file_set_display_name_async()
5187 2007-09-26 Alexander Larsson <alexl@redhat.com>
5190 Add load_partial_contents async calls
5193 Make internal function static
5195 2007-09-26 Alexander Larsson <alexl@redhat.com>
5197 * gio/glocalfileinfo.c:
5198 Correctly detect broken symlinks
5200 2007-09-26 Alexander Larsson <alexl@redhat.com>
5202 * gio/gcancellable.c (g_cancellable_cancel):
5203 Allow cancel on NULL cancellable
5205 2007-09-25 Alexander Larsson <alexl@redhat.com>
5207 * gio/gsimpleasyncresult.c:
5208 Don't allocate g_error manually.
5209 Fixes g_slice/g_new mixup crash
5211 2007-09-25 Alexander Larsson <alexl@redhat.com>
5213 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5214 Actually set active_backend.
5215 This means the monitor will be cancelled correctly.
5217 2007-09-25 Alexander Larsson <alexl@redhat.com>
5219 * gio/gdirectorymonitor.c:
5220 Set timeout to NULL when destroying
5222 2007-09-25 Alexander Larsson <alexl@redhat.com>
5225 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5226 that is a better description of the error.
5228 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5230 * gio/gvfs.c: (g_vfs_get_local):
5231 Make the local vfs variable static. The same instance should
5234 2007-09-24 Alexander Larsson <alexl@redhat.com>
5236 * gio/glocalfileinfo.c:
5237 Pass in actual length read into sniffer, not the length
5240 2007-09-21 Alexander Larsson <alexl@redhat.com>
5242 * gio/gfileenumerator.c:
5245 * gio/gfileinputstream.c:
5246 * gio/gfileoutputstream.c:
5247 * gio/ginputstream.c:
5248 * gio/goutputstream.c:
5249 Don't crash if async callbacks are NULL
5251 2007-09-20 Alexander Larsson <alexl@redhat.com>
5254 Add async enumerate_children method and default
5257 2007-09-20 Alexander Larsson <alexl@redhat.com>
5260 Add g_file_contains_file & g_file_get_relative_path, since they
5261 were needed for nautilus.
5262 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5267 Implement new methods
5269 2007-09-17 Alexander Larsson <alexl@redhat.com>
5272 * gio/gfileinputstream.[ch]:
5273 * gio/gfileoutputstream.[ch]:
5275 * gio/glocalfileenumerator.[ch]:
5276 * gio/glocalfileinfo.[ch]:
5277 * gio/glocalfileinputstream.c:
5278 * gio/glocalfileoutputstream.c:
5279 * gio/gpollfilemonitor.c:
5280 * programs/gio-copy.c:
5281 * programs/gio-info.c:
5282 * programs/gio-move.c:
5283 Rename get_file_info to query_info() to make it clearer
5284 that these are not simple getters, but do i/o.
5286 2007-09-17 Alexander Larsson <alexl@redhat.com>
5288 * gio/gdatainputstream.[ch]:
5289 * gio/test-streams.c:
5290 Use _read_XXX instead of _get_XXX for the i/o calls
5293 2007-09-17 Alexander Larsson <alexl@redhat.com>
5296 Added needed stuff to TODO comment
5298 2007-09-17 Alexander Larsson <alexl@redhat.com>
5300 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5301 Don't error out removing the backup copy if it doesn't
5304 2007-09-14 Alexander Larsson <alexl@redhat.com>
5306 * programs/Makefile.am:
5307 * programs/gvfs-*.c:
5309 Renamed apps from gvfs-xxx to gio-xxx.
5311 2007-09-14 Alexander Larsson <alexl@redhat.com>
5314 * gio/gfileoutputstream.[ch]:
5315 * gio/glocalfileoutputstream.c:
5316 * programs/gvfs-save.c:
5317 g_file_output_stream_get_etag doesn't do i/o, so remove
5318 cancellation and error.
5320 2007-09-14 Alexander Larsson <alexl@redhat.com>
5323 Add new_etag output to replace_contents functions
5325 2007-09-14 Alexander Larsson <alexl@redhat.com>
5327 * gio/gfileoutputstream.[ch]:
5328 Add async get_file_info and default implementation
5330 2007-09-14 Alexander Larsson <alexl@redhat.com>
5332 * gio/gfileinputstream.c:
5333 Implement fallback wrapper for async get_file_info
5335 2007-09-14 Alexander Larsson <alexl@redhat.com>
5338 Add etag out argument to load_contents
5343 2007-09-14 Alexander Larsson <alexl@redhat.com>
5345 * gio/gcontenttype.c (looks_like_text):
5346 Whitespace like tab, cr and lf do not make the
5349 2007-09-14 Alexander Larsson <alexl@redhat.com>
5351 * gio/gfileinputstream.[ch]:
5352 Add async get_file_info.
5354 2007-09-13 Alexander Larsson <alexl@redhat.com>
5356 * gio/goutputstream.c (g_output_stream_write_all):
5357 Allow NULL for bytes_written
5359 2007-09-13 Alexander Larsson <alexl@redhat.com>
5361 * gio/gmemoryinputstream.[ch]:
5362 Add accessors for data
5364 2007-09-13 Alexander Larsson <alexl@redhat.com>
5366 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5367 Don't crash if length is NULL