1 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
3 Bug 561352 – Leak of icon description
5 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
8 2008-11-14 Matthias Clasen <mclasen@redhat.com>
10 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
12 2008-11-12 Tor Lillqvist <tml@novell.com>
14 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
16 * win32/gwinhttpvfs.h: Move the set of function pointers to
17 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
18 pointer to that in the GWinHttpVfsClass.
20 * win32/gwinhttpvfs.c: Move the lookup of functions from
21 winhttp.dll into a function of its own, that stores the pointers
22 in a separate GWinHttpDllFuncs variable. Add two bookeeping
23 booleans lookup_done and funcs_found.
25 Don't call g_io_extension_point_implement() to register the
26 winhttp extension unless winhttp.dll has been successfully loaded
27 and the required functions found in it.
29 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
30 winhttp.dll correspondingly.
32 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
34 reviewed by: Alexander Larsson <alexl@redhat.com>
36 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
37 clearer about the behavior when there's no more content to read.
39 2008-10-27 Federico Mena Quintero <federico@novell.com>
41 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
43 2008-10-27 Tor Lillqvist <tml@novell.com>
45 Bug 557592 - Missing include in gwinhttpfile.c
47 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
50 2008-10-24 Matthias Clasen <mclasen@redhat.com>
52 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
54 * fam/fam-helper.c: Fix a memory leak and formatting issues.
55 Reported by Daniel Marjamäki
57 2008-10-23 Matthias Clasen <mclasen@redhat.com>
59 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
61 2008-10-23 Alexander Larsson <alexl@redhat.com>
63 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
66 (_g_local_file_info_get):
67 Don't return the fallback icon (text-x-generic) for all files.
68 This is causing problems with theme icon lookup and custom mime
69 icons, as the generic fallback overrides custom mime icons in
72 This is a slight change as applications might not get an icon wher
73 they previously did. But there is no guarantee to get on neither before
74 or after this change, so it should not break applications. Changes
75 to nautilus and gtk+ will be done to manually use the generic fallback
76 icon if no icon is found, but this is only required for rare cases.
78 2008-10-21 Alexander Larsson <alexl@redhat.com>
81 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
83 2008-10-21 Alexander Larsson <alexl@redhat.com>
85 Bug 555740 - gicon serialization
86 Based on patch from David Zeuthen
90 Add g_icon_to_string() and g_icon_new_for_string().
96 Implement icon serialization for built-in icon types
100 Added GIcon serialization test
102 2008-10-16 Matthias Clasen <mclasen@redhat.com>
104 * === Released 2.19.0 ===
106 2008-10-16 Matthias Clasen <mclasen@redhat.com>
108 Bug 556422 – g_file_enumerator_next_file: unclear whether return
109 value needs to be freed
111 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
112 the return value docs. Pointed out by Armin Burgmeier
114 2008-10-14 Matthias Clasen <mclasen@redhat.com>
116 Bug 556334 – Warning when building without selinux support
118 * glocalfileinfo.c: Avoid compiler warnings when selinux is
119 disabled. Patch by Pascal Terjan
121 2008-10-14 Matthias Clasen <mclasen@redhat.com>
123 Bug 556335 – make check fails in abicheck.sh
125 * gio.symbols: Add g_file_attribute_info_list_get_type.
126 Pointed out by Pascal Terjan.
128 2008-10-13 Alexander Larsson <alexl@redhat.com>
131 When adding an application as handling a mime type (but
132 not as the default), copy the full list of desktop ids handling
133 that type in before adding the new one on the end of the list.
134 This means we're not accidentally changing the default by overriding
135 the info from the later directories in the search path.
137 Also, fixes small leak of removed_entries.
139 2008-10-12 David Zeuthen <davidz@redhat.com>
142 * gunionvolumemonitor.c:
144 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
146 2008-10-10 Alexander Larsson <alexl@redhat.com>
148 * gfileattribute.c (escape_byte_string):
149 Upper half of byte is >> 4, not >> 8.
150 Found by Kjartan Maraas via sparse
152 2008-10-10 Matthias Clasen <mclasen@redhat.com>
154 Bug 555711 – Wrong fallback order of mimetype icons
156 * gcontenttype.c: Don't prefer generic icons over
157 default mimetype icons.
159 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
160 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
162 Patch by Krysztof Kosiński
164 2008-10-10 Matthias Clasen <mclasen@redhat.com>
166 Bug 555121 – Improved build-time handling of gio module-dir
168 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
169 * Makefile.am: Create the module dir.
171 2008-10-10 Matthias Clasen <mclasen@redhat.com>
173 * gio/glocalfileinfo.c:
174 * gio/tests/live-g-file.c:
175 * gio/gsimpleasyncresult.c: Fix gcc warnings.
177 2008-10-09 Alexander Larsson <alexl@redhat.com>
179 * gunixinputstream.c (g_unix_input_stream_read):
180 Actually return -1 in case of cancelled, not old res value.
182 2008-10-06 Colin Walters <walters@verbum.org>
184 Bug 554745 - GFileAttributeInfoList should be boxed
186 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
187 for convenience of bindings.
188 * gio/gfileattribute.h: Prototype it.
190 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
192 Bug 554970 – segfault when update-desktop-database is not available
195 * gdesktopappinfo.c (run_update_command): Have the error set before
198 2008-10-01 David Zeuthen <davidz@redhat.com>
200 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
201 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
202 instead of the gio URI (such as sftp://foo/file.avi) when using
203 g_app_info_launch() and friends. With a sufficiently recent gvfs,
204 apps using gio+gvfs will map the FUSE file:// URI back to the gio
205 URI (and thus bypass the fuse daemon) thanks the patch from bug
206 #530654. Since Nautilus is an user of g_app_info_launch() it
207 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
208 when launced via the file manager. Win. Fixes bug #528670.
210 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
211 mapping to the description of GAppInfo.
213 2008-09-30 Tor Lillqvist <tml@novell.com>
215 * tests/Makefile.am: Build desktop-app-info only on Unix.
217 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
218 g_critical(). Pass a large enough result buffer to
219 GetVolumePathNameW(). Just use MAX_PATH.
221 2008-09-29 David Zeuthen <davidz@redhat.com>
223 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
225 2008-09-26 Dan Winship <danw@gnome.org>
227 * tests/data-input-stream.c:
228 * tests/data-output-stream.c:
229 * tests/live-g-file.c:
230 * tests/memory-input-stream.c:
231 * tests/memory-output-stream.c: Use g_assert_error() and
234 2008-09-26 Matthias Clasen <mclasen@redhat.com>
236 Bug 545350 – GAppInfo deletion
237 Bug 545351 – Reset associations for content type
240 * gappinfo.[hc]: New functions g_app_info_can_delete,
241 g_app_info_delete and g_app_info_reset_type_associations.
244 * gwin32appinfo.c: Implementations of these.
247 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
249 2008-09-26 Dan Winship <danw@gnome.org>
251 Bug 505361 – gunixinputstream.c assumes poll() available
252 Bug 509446 – portable blocking gio cancellation
254 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
255 GPollFD for a cancellable (which is slightly more complicated on
258 * gunixinputstream.c (g_unix_input_stream_read):
259 * gunixoutputstream.c (g_unix_output_stream_write): Use
260 g_cancellable_make_pollfd() and g_poll() rather than using poll()
263 * tests/unix-streams.c: test of GUnixInputStream,
264 GUnixOutputStream, and GCancellable.
266 2008-09-26 Dan Winship <danw@gnome.org>
268 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
269 cast to stop a gcc warning
271 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
274 2008-09-25 Dan Winship <danw@gnome.org>
276 Bug 553426 - cancellable clarifications
278 * gcancellable.c (g_cancellable_class_init): Add a note to the
279 "cancelled" signal docs warning about thread-safety issues
280 (g_cancellable_cancel): Note that cancelling an asynchronous
281 operation takes effect asynchronously, not immediately.
283 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
285 * gioenums.h: Add new GFileCopyFlag, to leave target file with
286 default perms, instead of setting the source file perms, in a copy
289 * gfile.c (g_file_copy_attributes)
290 (build_attribute_list_for_copy)
291 (should_copy): Not copy "unix::mode" attribute if we have received
292 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
294 2008-09-20 Matthias Clasen <mclasen@redhat.com>
296 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
298 2008-09-17 Matthias Clasen <mclasen@redhat.com>
300 * === Released 2.18.1 ===
302 2008-09-16 Michael Natterer <mitch@imendio.com>
304 * gcontenttype.c (g_content_type_guess): can't assign the return
305 value of g_strdupv() to an array. Fill the array manually with
306 const strings instead (it is never freed anyway). Fixes the
307 build. Also fixed indentation.
309 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
311 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
312 Fix trivial typo to unbreak the build (there was a colon
313 instead of a semicolon at the end of a statement).
315 2008-09-15 Matthias Clasen <mclasen@redhat.com>
317 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
320 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
323 2008-09-15 Matthias Clasen <mclasen@redhat.com>
325 Bug 551681 – g_content_type_guess() too naive with filenames
327 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
328 at the end of the filename, and declare it a directory.
329 Patch by Bastien Nocera
331 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
333 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
336 * gdesktopappinfo.c: add a note in the docs clarifying what the
337 "filename" parameter really is.
339 2008-09-12 Tor Lillqvist <tml@novell.com>
341 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
342 FormatMessage() etc here. Call g_win32_error_message() instead
343 which already does all that. Besides, the code was broken as it
344 called the default "A" version of FormatMessage() but still
345 thought it produced a wide string.
347 2008-09-12 Michael Natterer <mitch@imendio.com>
349 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
350 in the documentation.
352 2008-09-08 Christian Neumair <cneumair@gnome.org>
354 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
355 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
356 Use non-blocking pipe for mount helper I/O. Fixes #550647.
358 2008-09-06 Matthias Clasen <mclasen@redhat.com>
360 Bug 551149 – xdgmime mem leak
362 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
363 a memory leak. Patch by Christian Persch
365 2008-09-04 Tor Lillqvist <tml@novell.com>
367 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
370 2008-09-02 Matthias Clasen <mclasen@redhat.com>
372 * === Released 2.18.0 ===
374 2008-09-02 Michael Natterer <mitch@imendio.com>
376 * *.h: big header formatting cleanup: indentation, vtable
377 formatting, consistent spacing in (* vfunc), trailing whitespace
378 removal. Formatting should be pretty consistent in all GIO headers
381 2008-09-02 Matthias Clasen <mclasen@redhat.com>
383 * gmount.h: Document guess_content_type sync vfunc.
385 2008-09-02 Michael Natterer <mitch@imendio.com>
387 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
388 fix parent_class member to be GFilterOutputStreamClass (not
389 GOutputStreamClass). Drop three pointers of padding, which is
390 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
391 so the class struct size stays the same.
393 2008-09-02 Matthias Clasen <mclasen@redhat.com>
395 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
397 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
398 nonexisting return values. Pointed out by Cosimo Cecchi.
400 2008-08-23 Tor Lillqvist <tml@novell.com>
402 Bug 548988 - g_file_replace fails on Windows when the target file
405 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
406 Windows, close the file before potentially renaming it (in case we
407 have been writing to a file with a temporary name).
409 (g_local_file_output_stream_close, handle_overwrite_open): Use
410 GLocalFileStat instead of plain struct stat, for passing to
411 _g_local_file_info_create_etag(). Thus also use _fstati64()
412 instead of plain fstat() on Windows.
414 2008-08-18 Matthias Clasen <mclasen@redhat.com>
416 * === Released 2.17.7 ===
418 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
420 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
423 2008-08-13 Tor Lillqvist <tml@novell.com>
425 * win32/gwinhttpvfs.c
426 * win32/gwinhttpvfs.h
427 * win32/gwinhttpfile.c
428 * win32/gwinhttpfileinputstream.c
429 * win32/gwinhttpfileoutputstream.c: Refactor some common code
430 snippets into helper functions. Check HTTP response status
431 codes. Implement g_winhttp_file_query_info(), looking at
432 Content-Length, Content-Type and Last-Modified.
434 * win32/winhttp.h: Add some symbolic constants that are not
435 publicly documented. Just a handful, so it should be OK to use
436 information from the Windows SDK's headers.
438 2008-08-13 Tor Lillqvist <tml@novell.com>
440 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
443 * win32/gwin32directorymonitor.c
444 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
446 2008-08-13 Matthias Clasen <mclasen@redhat.com>
449 * goutputstream.c: Add intro docs.
451 2008-08-13 Tor Lillqvist <tml@novell.com>
453 * win32/gwinhttpfileoutputstream.c
454 (g_winhttp_file_output_stream_write): Don't write the
455 Content-Length header ourselves, WinHttpSendRequest() takes care
456 of that when the dwTotalLength parameter is non-zero. Increment
457 offset by the number of actual bytes sent, although I wonder if
458 such a scenario is possible where less than requested would be
459 sent and accepted by the server without errors.
461 2008-08-13 Tor Lillqvist <tml@novell.com>
463 * win32/gwinhttpvfs.c
464 * win32/gwinhttpvfs.h
465 * win32/gwinhttpfile.c
466 * win32/gwinhttpfile.h
467 * win32/gwinhttpfileinputstream.c
468 * win32/gwinhttpfileinputstream.h
469 * win32/gwinhttpfileoutputstream.c
470 * win32/gwinhttpfileoutputstream.h: New files implementing
471 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
472 Windows. The implementation uses the WinHttp API. Both reading and
473 writing are supported, i.e. GET and PUT requests. When writing,
474 each write call is done using a separate PUT request with a
475 Content-Range header. Requests for file URIs and plain pathnames
476 are forwarded to GLocalVfs.
478 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
479 WINE. Used as there is no <winhttp.h> bundled with mingw, and
480 requiring people to download the Windows SDK just for this one
481 header is not reasonable.
483 * win32/Makefile.am: Add above files.
485 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
486 the plumbing for the above.
488 2008-08-11 Sven Neumann <sven@gimp.org>
490 * gfilenamecompleter.c
491 * glocaldirectorymonitor.c
493 * gunionvolumemonitor.c
497 * gunixvolumemonitor.c
500 * gwin32volumemonitor.c: use canonical signal names.
502 2008-08-11 Tor Lillqvist <tml@novell.com>
504 * Makefile.am: Put a list of the platform-dependent .la files in
505 the subdirectories in the platform_deps Make variable, and make
506 libgio-2.0.la depend on that, so that it gets relinked if one of
507 the dependent libraries has changed.
509 2008-08-11 Tor Lillqvist <tml@novell.com>
511 * Makefile.am (platform_libadd): Remove -lwininet which had been
512 added by mistake. We will probably eventually be using WinHTTP,
513 not the older WinInet anyway. (Actually I am working on it.)
515 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
517 Bug 547080 – g_file_copy leaks expected errors
519 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
520 before trying the next fallback routine.
522 2008-08-09 Loïc Minier <lool@dooz.org>
524 Bug 535124 – umask 002 not being applied for new directories, new
525 files get the correct umask
527 * gfile.c (g_file_make_directory)
528 (g_file_make_directory_with_parents): Document ownership and
529 permissions of newly created directories as being the default
532 2008-08-08 Loïc Minier <lool@dooz.org>
534 Bug 535124 – umask 002 not being applied for new directories, new
535 files get the correct umask
537 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
540 2008-08-08 Tor Lillqvist <tml@novell.com>
542 * gwin32mount.c: Remove unused code. Whitespace cleanup.
544 * gwin32volumemonitor.c (get_connected_drives): Put questionable
545 code that didn't actually do anything inside #if 0, and add a
546 comment wondering what the code was supposed to do. This also gets
547 rid of a leftover debugging printout.
549 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
551 * gfileicon.c (g_file_icon_get_property)
552 (g_file_icon_set_property): New functions.
553 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
555 (g_file_icon_new): Use the property (bug #546132).
557 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
559 * gthemedicon.c (g_themed_icon_get_property): Also handle
560 `PROP_USE_DEFAULT_FALLBACKS'.
561 (g_themed_icon_class_init): Make
562 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
564 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
566 Bug 546371 – Improve docs re g_file_monitor
568 * gfilemonitor.c: Mention g_file_monitor() in the docs.
570 2008-08-04 Matthias Clasen <mclasen@redhat.com>
572 * === Released 2.17.6 ===
574 2008-08-04 Matthias Clasen <mclasen@redhat.com>
576 * === Released 2.17.5 ===
578 2008-08-04 Matthias Clasen <mclasen@redhat.com>
580 Bug 546017 – Don't copy attributes when copying a symlink
582 * gfile.c (g_file_copy_attributes): Specify
583 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
584 g_file_set_attributes_from_info. Patch by Christian Kellner
586 2008-08-04 Matthias Clasen <mclasen@redhat.com>
588 * gemblemedicon.[hc]:
590 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
591 a bit more extensible. Work by Clemens Buss.
593 * gioenums.h: Add GEmblemOrigin.
596 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
598 Bug 546079 – leak in xdgmime
600 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
602 2008-08-03 Tor Lillqvist <tml@novell.com>
604 * win32/gwin32directorymonitor.h
605 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
608 2008-08-03 Tor Lillqvist <tml@novell.com>
610 * win32/gwin32directorymonitor.c
611 (g_win32_directory_monitor_callback): Make prototype match
612 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
613 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
616 (g_win32_directory_monitor_constructor):
617 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
618 names in the GLib API on Windows, so convert to UTF-16 and open
621 2008-08-03 Tor Lillqvist <tml@novell.com>
623 Bug 541036 - Gnumeric crashes when trying to open Desktop or
624 user's folder under Windows
626 * win32/gwin32directorymonitor.c
627 (g_win32_directory_monitor_constructor): Ignore error from
628 CreateFile() when opening directory. Instead of asserting, just
629 store INVALID_HANDLE_VALUE then in
630 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
631 ReadDirectoryChangesW().
632 (g_win32_directory_monitor_cancel): Don't attempt to close
633 directory handle if it is INVALID_HANDLE_VALUE.
635 2008-08-01 Matthias Clasen <mclasen@redhat.com>
637 * gdesktopappinfo.c: Remove debug spew
639 2008-08-01 Hans Breuer <hans@breuer.org>
641 * makefile.msc : add gemblembedicon
643 2008-07-30 Matthias Clasen <mclasen@redhat.com>
645 Bug 545457 – gdmsetup crashed with SIGSEGV in
646 g_unix_mount_guess_should_display()
648 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
649 crash if no mount is found.
651 2008-07-28 Matthias Clasen <mclasen@redhat.com>
653 Bug 545203 – gfile.c: argument is different type.
655 * gfile.c (open_read_async_thread): Pass a GError **
656 to g_file_set_error_literal.
657 Reported by Kazuki Iwamoto
659 2008-07-28 Matthias Clasen <mclasen@redhat.com>
661 Bug 545157 – wrong/no list of "open with" applications for .cc and
664 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
665 Collect all ancestors, not just direct parents. Pointed
666 out by Bastien Nocera
668 2008-07-28 Matthias Clasen <mclasen@redhat.com>
670 * Makefile.am: Install gemblemedicon.h
672 2008-07-28 Matthias Clasen <mclasen@redhat.com>
674 * gemblemedicon.[hc]: Add a GIcon implementation that can
675 add an emblem to another icon.
682 * gfileicon.c: Small documentation additions.
684 2008-07-28 Tor Lillqvist <tml@novell.com>
686 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
689 2008-07-27 Tor Lillqvist <tml@novell.com>
691 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
693 2008-07-24 David Zeuthen <davidz@redhat.com>
697 Also export a g_mount_guess_content_type_sync() function.
699 2008-07-23 Matthias Clasen <mclasen@redhat.com>
701 529694 – SELinux context setting support
703 * gfileinfo.c: Support setting selinux attributes.
704 Patch by Tomas Bzatek
706 2008-07-22 Priit Laes <plaes@plaes.org>
708 Bug 544140 - fam-helper 64-bit issue?
710 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
712 2008-07-21 Matthias Clasen <mclasen@redhat.com>
714 * === Released 2.17.4 ===
716 2008-07-20 Matthias Clasen <mclasen@redhat.com>
718 * gvolumemonitor.[hc]:
723 * gmount.c: Documentation fixes
725 2008-07-19 Matthias Clasen <mclasen@redhat.com>
727 543504 – crash in Epiphany Web Browser: Opening local file
738 * gvolume.c: Register types thread-safely.
739 Patch by Christian Persch
741 2008-07-18 Matthias Clasen <mclasen@redhat.com>
743 * gcontenttype.c: Remove debug spew
745 2008-07-18 Matthias Clasen <mclasen@redhat.com>
747 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
750 * fen/fen-kernel.c: Remove a warning that was causing
751 crashes. Reported by Lin Ma.
753 2008-07-18 Matthias Clasen <mclasen@redhat.com>
755 Bug 543040 – async reading on dummy file will crash on
758 * gfile.c (open_read_async_thread): Cope with read_fn being
759 NULL. Reported by Lin Ma.
761 2008-07-18 Matthias Clasen <mclasen@redhat.com>
764 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
766 2008-07-16 Matthias Clasen <mclasen@redhat.com>
770 * giomodule.c: Rename a chapter id to avoid filename conflict.
772 2008-07-16 Matthias Clasen <mclasen@redhat.com>
774 Bug 540616 – mem leak in filechooser button
776 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
777 the mount entry. Reported by Chrisitan Persch
779 2008-07-16 Matthias Clasen <mclasen@redhat.com>
781 * gfile.c: Small documentation fixes.
783 2008-07-15 Matthias Clasen <mclasen@redhat.com>
785 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
787 2008-07-08 Matthias Clasen <mclasen@redhat.com>
792 * gmount.c: Documentation improvements.
794 2008-07-08 Matthias Clasen <mclasen@redhat.com>
797 * gmount.[hc]: Add g_mount_guess_content_type().
799 2008-07-06 David Zeuthen <davidz@redhat.com>
802 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
803 is needed for easily handling adoption of foreign volumes by
804 out-of-process volume monitors (#541793)
806 2008-07-06 David Zeuthen <davidz@redhat.com>
808 * gvolumemonitor.[ch]:
809 * gunionvolumemonitor.c: Export the eject-button signal on the
810 volume monitor class (#541794).
812 2008-07-06 Matthias Clasen <mclasen@redhat.com>
814 * gappinfo.c: More doc tweaks
816 2008-07-05 Matthias Clasen <mclasen@redhat.com>
818 * gappinfo.c: Clarify some docs
820 2008-07-03 Matthias Clasen <mclasen@redhat.com>
822 * gdesktopappinfo.c: Fix a stupid mistake.
824 2008-07-02 Matthias Clasen <mclasen@redhat.com>
826 * === Released 2.17.3 ===
828 2008-07-02 Matthias Clasen <mclasen@redhat.com>
830 * gfilemonitor.c: Fix the build.
832 2008-07-02 Matthias Clasen <mclasen@redhat.com>
834 Bug 536160 – Add g_file_monitor()
837 * gfile.[hc]: Add g_file_monitor which can return either
838 a file or a directory monitor. Proposed by Behdad Esfahbod
840 2008-07-02 Matthias Clasen <mclasen@redhat.com>
842 536733 – gio build failure on Irix
844 * glocalfile.c: Use a configure check for structfs.f_bavail.
846 2008-07-02 Matthias Clasen <mclasen@redhat.com>
848 Bug 534639 – add g_desktop_app_info_new_from_keyfile
851 * gdesktopappinfo.[hc]: Add a function to create a
852 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
854 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
856 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
858 2008-07-01 Matthias Clasen <mclasen@redhat.com>
860 * gunixmounts.c: Fix a doc typo.
862 2008-07-01 Cody Russell <bratsche@gnome.org>
864 * gio/gcontenttype.c:
865 * gio/gwin32appinfo.c:
866 * gio/gwin32volumemonitor.c:
867 * gio/gwin32mount.c: Fixed some include problems.
869 2008-07-01 Cody Russell <bratsche@gnome.org>
873 Moved all relevant typedefs into these files.
876 Updated wrt added files.
878 Split types into separate file for easier maintainership. (#538564)
880 2008-06-30 Matthias Clasen <mclasen@redhat.com>
882 Bug 540331 – g_file_append_to () documentation: can return NULL
884 * gfile.c (g_file_append_to): Clarify docs.
887 2008-06-30 Matthias Clasen <mclasen@redhat.com>
889 Bug 539090 – g_content_type_from_mime_type() should unalias
891 * gcontentype.c (g_content_type_from_mime_type): Unalias.
892 Patch by Markus Bergman
894 2008-06-30 Matthias Clasen <mclasen@redhat.com>
896 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
899 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
900 on ppc and alpha. Reported by Mart Raudsepp
902 2008-06-29 Matthias Clasen <mclasen@redhat.com>
905 * tests/memory-output-stream.c: Add some tests for
908 2008-06-29 Matthias Clasen <mclasen@redhat.com>
910 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
913 * gmemoryoutputstream.c (array_resize): Handle truncation to
914 zero correctly. Reported by Akira Tagoh
916 2008-06-29 Matthias Clasen <mclasen@redhat.com>
918 * gmemoryoutputstream.c: Trivial doc fixes
920 2008-06-29 Matthias Clasen <mclasen@redhat.com>
922 Bug 540802 – g_list_prepend doesn't concat lists
924 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
925 one list to another. Pointed out by Jan Arne Petersen
927 2008-06-28 Michael Natterer <mitch@imendio.com>
929 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
931 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
933 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
934 to avoid problems with partial icon themes.
936 2008-06-17 Hans Breuer <hans@breuer.org>
938 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
939 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
940 access again on win32, see bug #538127
941 * giomodule.c : ensure GWin32VolumeMonitor is registered
942 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
943 * Makefile.am makefile.msc : updated
945 2008-06-16 Hans Breuer <hans@breuer.org>
947 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
948 and initialization in one step avoids c99ism
950 2008-06-16 Christian Persch <chpe@gnome.org>
953 * gio/gbufferedinputstream.c
955 * gio/gdatainputstream.c
956 * gio/gdesktopappinfo.c
958 * gio/gfileenumerator.c
959 * gio/gfileinputstream.c
960 * gio/gfileoutputstream.c
962 * gio/glocaldirectorymonitor.c
964 * gio/glocalfileenumerator.c
965 * gio/glocalfileinfo.c
966 * gio/glocalfilemonitor.c
967 * gio/glocalfileoutputstream.c
968 * gio/gmemoryinputstream.c
969 * gio/gmemoryoutputstream.c
970 * gio/goutputstream.c
971 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
974 2008-06-16 Tor Lillqvist <tml@novell.com>
976 Bug 538362 - Get Win32 icons back in the file chooser
978 * gcontenttype.c (g_content_type_get_icon): Look up the icon
979 corresponding to a file extension in the Registry. Patch by Hans
981 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
983 2008-06-16 Tor Lillqvist <tml@novell.com>
985 Patches by Hans Breuer:
987 * glocalfile.c (is_xp_or_later): Handle compiling against older
988 SDK headers with missing VerifyVersionInfo(). Conditioned on
989 _MSC_VER, but should probably use some better test.
990 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
991 uninitialised statfs_result variable on Win32.
993 2008-06-16 Michael Natterer <mitch@imendio.com>
995 * *.c: chain up unconditionally in finalize() and dispose(). Also
996 don't dereference these function pointers when calling them since
997 that has no meaning at all.
999 2008-06-16 Ross Burton <ross@burtonini.com>
1001 * gfileenumerator.c:
1002 Remove check for dispose implementation as it annoys Emmanuele.
1004 2008-06-16 Ross Burton <ross@burtonini.com>
1006 Bug 536252 – GFileEnumerator should allow access to the containing
1009 * gfileenumerator.c:
1010 * gfileenumerator.h:
1012 Add g_file_enumerator_get_container() and a container writeable
1013 construct-only property. Also shuffle around typedefs to make it
1016 * glocalfileenumerator.c:
1017 * glocalfileenumerator.h:
1019 Instead of a string filename take a GFile in the constructor and
1020 use it to set the container property.
1023 Update with new API.
1025 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1027 * gfile.c: Make includes more uniform
1029 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1031 * tests/live-g-file.c (sample_struct):
1032 Use less fancy unicode filenames, so the test doesn't fail
1033 on Mac OS X (#531476).
1035 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1037 * === Released 2.17.2 ===
1039 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1041 * === Released 2.17.1 ===
1043 2008-06-11 A. Walton <awalton@gnome.org>
1045 * tests/g-file.c (test_g_file_new_null):
1046 Fix broken test case.
1048 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1050 * pltcheck.sh: We use g_clear_error now.
1052 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1054 * glocalfile.c (g_local_file_enumerate_children): Revert
1055 an unintended change.
1057 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1059 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1061 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1063 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1066 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1067 as icon for the desktop directory, also make user-home and
1068 user-desktop the preferred icons.
1070 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1073 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1074 to add a name to the front of the list.
1076 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1078 Bug 537392 – Additional colon in xattr name
1080 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1081 too. Reported by Alessandro Morandi
1083 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1085 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1088 * glocalfile.c (get_fs_type): Add afs and autofs.
1089 Patch by Danny Baumann.
1091 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1093 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1095 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1096 is no parent. (Owen Taylor, patch by Christian Neumair)
1098 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1100 * gfile.c (g_file_replace_contents): do not leak the output stream.
1102 2008-06-10 Michael Natterer <mitch@imendio.com>
1104 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1105 uninitialized memory as array index.
1107 2008-06-10 Tor Lillqvist <tml@novell.com>
1109 * gcontenttype.c (g_content_type_can_be_executable)
1110 (g_content_type_get_icon) [Win32]: Add TODO comments.
1112 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1114 * xdgmime/Makefile.am: Fix the build
1116 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1118 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1119 in the shared mime database, if available.
1121 * xdgmime/*: Sync with upstream. This brings support for
1122 glob weights, generic icons, and changes the cache format to
1125 2008-05-28 Michael Natterer <mitch@imendio.com>
1127 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1128 the global CPPFLAGS now.
1130 * tests/data-input-stream.c
1131 * tests/data-output-stream.c
1132 * tests/g-file-info.c
1134 * tests/live-g-file.c
1135 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1137 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1139 * === Released 2.17.0 ===
1141 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1142 doesn't complain about leftover files.
1144 2008-05-27 simon.zheng <simon.zheng@sun.com>
1146 * glocalfile.c: (g_local_file_query_filesystem_info):
1147 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1149 2008-05-26 Michael Natterer <mitch@imendio.com>
1151 * gmemoryoutputstream.h: declare
1152 g_memory_output_stream_get_data_size().
1154 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1156 * tests/*: Make tests work
1158 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1160 * gio.symbols: Add g_memory_output_stream_get_data_size.
1162 2008-05-25 Ross Burton <ross@burtonini.com>
1165 Fix typo in error message (#534764).
1167 2008-05-25 Ross Burton <ross@burtonini.com>
1170 Fix circular dependency loop for gioenumtypes.h (#534759).
1172 2008-05-19 Hans Breuer <hans@breuer.org>
1174 * Makefile.am : EXTRA_DIST += makefile.msc
1176 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1179 * gcontenttype.c: (g_content_type_from_mime_type):
1180 New function to create a content type from a mime type. (#527175,
1183 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1185 Bug 532965 – Should not return filesystem::free for certain file systems
1187 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1188 free space for ncpfs.
1190 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1192 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1194 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1195 st_dev might be zero.
1197 2008-05-16 Tor Lillqvist <tml@novell.com>
1199 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1200 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1202 2008-05-13 Bastien Nocera <hadess@hadess.net>
1204 * gfile.c (has_valid_scheme): A URI scheme must start with a
1205 letter, even if later more characters are allowed (#532852)
1207 2008-05-05 Michael Natterer <mitch@imendio.com>
1209 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1210 code from being checked in that breaks the build of applications
1211 which use G_DISABLE_SINGLE_INCLUDES.
1213 * makegioalias.pl: make the alias file include "glib.h" instead of
1216 * gio.symbols: whitespace change to force regeneration of the
1217 alias file after above script change.
1219 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1221 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1223 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1225 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1227 2008-04-28 David Zeuthen <davidz@redhat.com>
1229 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1230 displaying mounts in a subdirectory not accessible to the
1233 2008-04-22 Michael Natterer <mitch@imendio.com>
1235 * Makefile.am: fix library versioning (it was 0.0.0).
1237 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1239 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1240 Default disable all loggings.
1241 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1242 (port_fetch_event_cb): Fixed two macro nits.
1244 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1246 * xdgmime/xdgmime.c: Rework the timestamp checking code
1247 to protect against duplicate directories in XDG_DATA_DIRS.
1248 Fixes fd.o bug 12513, reported by Joe Shaw.
1250 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1252 Partically revert the last commit after realizing that
1253 xdg_mime_media_type_equal doesn't have to init at all.
1255 * xdgmime/xdgmime.h:
1256 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1258 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1260 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1262 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1263 reported by Joe Shaw and Federico Mena Quintero.
1265 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1266 (xdg_mime_media_type_equal): Turn into a wrapper around the
1269 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1270 functions throughout.
1272 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1274 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1275 tolerate an empty TryExec= line without failing; nautilus used
1276 to create launchers with these in previous versions. Fixes #528433
1278 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1280 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1281 after name. Fixes #527132.
1283 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1285 * gfile.c: (g_file_replace):
1288 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1290 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1292 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1293 by Christian Kellner.
1295 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1297 * gunixmounts.c: (g_unix_mount_guess_should_display):
1298 Don't list the user directory as a mount, fix potential issue
1299 when other users have a similar naming and don't special case the
1300 gvfs mounts there since that's not required (#525866)
1302 2008-03-31 Alexander Larsson <alexl@redhat.com>
1304 * glocalfile.c (get_parent):
1307 2008-03-31 A. Walton <awalton@svn.gnome.org>
1309 * gfile.c (g_file_query_file_type):
1310 Always return a GFileType enum value (#520715).
1312 2008-03-31 Alexander Larsson <alexl@redhat.com>
1314 * glocalfileenumerator.c:
1315 Read readdir() info in chunks (of 1000) and sort
1316 the chunks by inode before stat:ing.
1317 This is a 20% performance increase in testing
1318 gvfs-ls on /usr/bin with cold cache.
1320 2008-03-31 Alexander Larsson <alexl@redhat.com>
1322 * gmemoryoutputstream.c:
1323 Clarify docs for g_memory_output_stream_get_size.
1324 Add g_memory_output_stream_get_data_size.
1326 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1330 * gfile.h: Add g_file_query_file_type convenience function
1331 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1333 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1335 * gfileenumerator.c:
1336 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1338 2008-03-28 A. Walton <awalton@svn.gnome.org>
1340 * giomodule.c (_g_io_modules_ensure_loaded):
1341 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1344 2008-03-28 Alexander Larsson <alexl@redhat.com>
1347 (copy_stream_with_progress):
1350 2008-03-28 Alexander Larsson <alexl@redhat.com>
1353 (copy_stream_with_progress):
1354 (file_copy_fallback):
1355 Fallback to g_file_query_info for source size
1356 if g_file_input_stream_query_info fails. (#524579)
1358 2008-03-28 Alexander Larsson <alexl@redhat.com>
1360 * glocalfile.c (g_local_file_move):
1361 Reuse old string instead of adding new one.
1363 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1365 * fen/*.[hc]: still copyright issue. I hate copyright.
1367 2008-03-27 Alexander Larsson <alexl@redhat.com>
1369 * glocalfile.c (g_local_file_move):
1370 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1371 file over directory. This is according to the docs and what the move via
1372 copy+remove fallback does.
1374 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1376 * fen/*.[hc]: Updated copyright.
1378 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1380 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1382 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1384 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1385 not emit attribute changed events when optimizing changed events.
1386 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1389 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1391 * gmountoperation.[hc]: Small documentation additions
1393 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1395 * gunixmounts.c: (guess_mount_type):
1396 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1398 2008-03-19 Alexander Larsson <alexl@redhat.com>
1401 (copy_stream_with_progress):
1402 Bump block side for copy to 64k to minimize
1403 overhead for low latency links. (#523015)
1405 2008-03-16 Tor Lillqvist <tml@novell.com>
1407 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1408 depend on gio.def on Windows.
1410 2008-03-12 David Zeuthen <davidz@redhat.com>
1414 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1416 2008-03-14 Alexander Larsson <alexl@redhat.com>
1420 Avoid redudant tests (#521851)
1421 Patch from Josselin Mouette
1423 2008-03-14 Alexander Larsson <alexl@redhat.com>
1426 (g_file_monitor_is_cancelled):
1427 Fix C89 issue (#521672)
1428 Patch from Jens Granseuer
1430 2008-03-14 Alexander Larsson <alexl@redhat.com>
1432 * fam/fam-helper.[ch]:
1434 Shut down fam (including removing fam GSource) when
1435 module is unloaded (#521513)
1436 Patch from Joe Marcus Clarke
1438 2008-03-14 Alexander Larsson <alexl@redhat.com>
1441 (_g_io_modules_ensure_loaded):
1444 2008-03-14 Alexander Larsson <alexl@redhat.com>
1447 (g_local_file_query_filesystem_info):
1448 Use right define name for f_fstypename member check
1450 2008-03-14 Alexander Larsson <alexl@redhat.com>
1453 * fen/Makefile.am: Added.
1454 * fen/fen-data.[ch]: Added.
1455 * fen/fen-dump.[ch]: Added.
1456 * fen/fen-helper.[ch]: Added.
1457 * fen/fen-kernel.[ch]: Added.
1458 * fen/fen-missing.[ch]: Added.
1459 * fen/fen-node.[ch]: Added.
1460 * fen/fen-sub.[ch]: Added.
1461 * fen/gfendirectorymonitor.[ch]: Added.
1462 * fen/gfenfilemonitor.[ch]: Added.
1464 Added Solaris FEN file notification backend.
1465 Patch from Lin Ma <Lin.Ma@Sun.COM>
1467 2008-03-13 Tor Lillqvist <tml@novell.com>
1469 * Makefile.am: Actually use the gio.def file when linking the
1470 library on Windows. Produce .lib library for Microsoft's toolchain
1471 when possible. Install the .lib and .def file like for the other
1474 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1476 * tests/live-g-file.c:
1477 Include live-g-file in standard set of tests, making a temporary
1478 directory in source structure.
1480 Clean target directory before the tests (write mode only)
1482 2008-03-12 Tor Lillqvist <tml@novell.com>
1484 Bug 517419 - gio win32 directory monitor
1485 Implementation by Vlad Grecescu.
1488 * win32/gwin32directorymonitor.h
1489 * win32/gwin32directorymonitor.c: New files.
1491 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1493 * Makefile.am: Add the win32 subdirectory.
1495 2008-03-12 Tor Lillqvist <tml@novell.com>
1497 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1498 normal struct stat on Unix but struct _stati64 on Windows to have
1499 access to 64-bit file size information. Use that instead of struct
1500 stat in the functions declared here in this private header.
1502 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1503 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1504 warnings about unused functions and variables. Don't set
1505 meaningless attributes like inode numbers on Windows.
1507 2008-03-12 Benjamin Otte <otte@gnome.org>
1510 trim whitespace so gtk-doc groks the function name
1512 2008-03-12 Tor Lillqvist <tml@novell.com>
1514 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1515 returning FALSE, on Win32.
1517 2008-03-11 Alexander Larsson <alexl@redhat.com>
1520 * glocalfileinfo.[ch]:
1521 Correctly implement can_trash by actually
1522 looking for a trash dir, not just assuming
1525 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1527 * === Released 2.16.1 ===
1529 2008-03-11 Alexander Larsson <alexl@redhat.com>
1532 Fix crashes in new constructor and properties code
1534 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1536 * gfile.c: Minor spelling correction in documentation:
1537 existance -> existence.
1539 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1541 * === Released 2.16.0 ===
1543 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1545 * gio.symbols: Remove g_file_contains_file here, too.
1547 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1549 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1550 Samuel Cormier-Iijima)
1552 2008-03-08 Tor Lillqvist <tml@novell.com>
1554 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1557 2008-03-07 Alexander Larsson <alexl@redhat.com>
1560 (g_local_file_query_filesystem_info):
1561 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1562 Patch from Jasper Lievisse Adriaanse
1564 2008-03-06 Tor Lillqvist <tml@novell.com>
1566 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1567 comments for the *_USEC attributes.
1569 2008-03-06 Alexander Larsson <alexl@redhat.com>
1571 * gfile.c (g_file_query_exists):
1572 Add g_return_val_if_fail check (#520700)
1574 2008-03-06 Alexander Larsson <alexl@redhat.com>
1576 * gdesktopappinfo.c:
1579 * gunionvolumemonitor.c:
1582 * tests/live-g-file.c:
1583 * xdgmime/xdgmimecache.c:
1584 Fix sparse warnings (#519489)
1586 2008-03-05 Alexander Larsson <alexl@redhat.com>
1589 Make cancellation threadsafe (i.e.
1590 guarantee its only done once, and always
1593 * glocaldirectorymonitor.c:
1594 Make sure we the monitor lives while the
1595 mounts_changed callback is being called (#520484)
1597 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1599 * gbufferedinputstream.c: Fix typo in parameter
1602 2008-03-04 Alexander Larsson <alexl@redhat.com>
1605 Remove deprecated symbols we kept for one release.
1607 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1610 * goutputstream.c: Tiny documentation corrections.
1612 2008-03-03 Alexander Larsson <alexl@redhat.com>
1614 * gunionvolumemonitor.c:
1616 Fix the adopt_orphan_mount vfunc to take a
1617 volume_monitor reference in an ABI compat way.
1618 This change is not API compat, but the added
1619 arg is not used in the only user of this vfunc, so
1620 all we get is a harmless warning in gvfs (#520169)
1622 2008-03-01 Benjamin Otte <otte@gnome.org>
1625 clarify docs for g_file_delete().
1627 2008-02-29 Alexander Larsson <alexl@redhat.com>
1631 Make sure empty files get text/plain type (#518720)
1633 2008-02-27 Alexander Larsson <alexl@redhat.com>
1639 (g_unix_volume_mount):
1640 Add missing GMountMountFlags argument
1642 2008-02-26 Alexander Larsson <alexl@redhat.com>
1645 (g_local_file_delete):
1646 Handle filesystems (like ntfs-3g) that return EEXIST instead
1647 of ENOTEMPTY (#518816)
1649 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1651 * === Released 2.15.6 ===
1653 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1655 * gfile.c (g_file_find_enclosing_mount):
1656 * ginputstream.c (g_input_stream_set_pending):
1657 * glocalfile.c (g_local_file_find_enclosing_mount):
1658 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1659 * goutputstream.c (g_output_stream_set_pending):
1661 Fixup translator comments (#518578).
1663 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1665 * gfile.c (g_file_find_enclosing_mount):
1667 * glocalfile.c (g_local_file_find_enclosing_mount):
1670 Fix a few typos in translator comments and documentation.
1672 2008-02-25 Alexander Larsson <alexl@redhat.com>
1679 Add translator comments (#518578)
1681 2008-02-25 Alexander Larsson <alexl@redhat.com>
1684 Reintroduce g_file_contains_file, keep around for one
1685 unstable release cycle to avoid crashing to many apps.
1686 Make sure to delete after release.
1688 2008-02-25 Alexander Larsson <alexl@redhat.com>
1691 Remove deprecated g_file_contains_file.
1693 2008-02-25 Alexander Larsson <alexl@redhat.com>
1696 Emit actual change signals in an idle handler.
1697 This avoids reentrance and locking problems in
1698 the file notification backends.
1700 2008-02-25 Alexander Larsson <alexl@redhat.com>
1703 (g_unix_mount_guess_should_display):
1704 Remove type guessing, instead just display
1705 mounts in /media and in ~/.
1707 2008-02-25 Alexander Larsson <alexl@redhat.com>
1710 Make new strings reuse old ones.
1712 2008-02-25 Alexander Larsson <alexl@redhat.com>
1715 Implement trashing and filesystem::readonly for win32 (#517235)
1716 Patch from Yevgen Muntyan
1718 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1720 * gfileinfo.h: Documentation fixes.
1722 2008-02-22 Alexander Larsson <alexl@redhat.com>
1724 * gcontenttype.c (g_content_type_get_icon):
1725 Look at old-style gnome mime icon names too, as many
1726 have not moved to the new style.
1728 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1730 * *.c: Correct the @include in for section docs.
1732 2008-02-21 David Zeuthen <davidz@redhat.com>
1734 * glocalfileinfo.c: (_g_local_file_info_get):
1736 (g_content_type_get_icon): Implement this function by
1737 moving bits from glocalfileinfo.c
1738 (g_content_type_get_description): Unalias before getting
1739 description (#517687)
1741 * gfile.c: (g_file_class_init),
1742 (g_file_query_filesystem_info_async),
1743 (g_file_query_filesystem_info_finish),
1744 (query_filesystem_info_data_free),
1745 (query_filesystem_info_async_thread),
1746 (g_file_real_query_filesystem_info_async),
1747 (g_file_real_query_filesystem_info_finish):
1748 * gfile.h: Implement async version of
1749 g_file_query_filesystem_info()
1751 * gfileinfo.h: Add new attributes for filesystem::use-preview
1753 * gio.symbols: Update
1755 * gthemedicon.c: (g_themed_icon_append_name):
1756 * gthemedicon.h: Add new new convenience function.
1758 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1759 (get_mounts), (get_volumes), (get_connected_drives),
1760 (get_volume_for_uuid), (get_mount_for_uuid),
1761 (g_union_volume_monitor_init), (populate_union_monitor),
1762 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1763 (g_volume_monitor_adopt_orphan_mount):
1765 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1766 monitor implementations to call into the main volume monitor. Also
1767 separate object initialization and volume monitor initialization
1768 such that non-native volume monitors can properly adopt their
1771 2008-02-21 Alexander Larsson <alexl@redhat.com>
1776 2008-02-21 Alexander Larsson <alexl@redhat.com>
1779 Add more documentation about how GFiles work (from #517086)
1781 2008-02-21 Alexander Larsson <alexl@redhat.com>
1785 Add new g_file_has_prefix that does the same as g_file_contains_file.
1786 Deprecate g_file_contains_file and add a macro that converts
1787 it to g_file_has_prefix.
1788 The reason for this change is that the contains_file() name seems to
1789 imply that this does more work than what it does, but its really only
1790 a name match (from #517086)
1795 Update to match the above change.
1797 2008-02-20 Benjamin Otte <otte@gnome.org>
1799 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1800 (g_file_eject_mountable):
1801 even more cases of not returning in error path
1803 2008-02-20 Benjamin Otte <otte@gnome.org>
1805 * gfile.c: (g_file_mount_mountable):
1806 return from function in error path.
1808 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1811 Remove trailing coma in GMountMountFlags struct
1813 2008-02-18 Alexander Larsson <alexl@redhat.com>
1817 * glocalfileoutputstream.c:
1818 Use g_unlink/g_rename instead of unlink/rename;
1819 do not pass raw filenames to g_set_error. (#517239)
1820 Patch from Yevgen Muntyan.
1822 2008-02-18 Alexander Larsson <alexl@redhat.com>
1825 * glocalfileoutputstream.c:
1826 Open files with O_BINARY on windows. (#517140)
1828 2008-02-14 Alexander Larsson <alexl@redhat.com>
1830 * glocalfileoutputstream.c:
1831 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1833 2008-02-14 Alexander Larsson <alexl@redhat.com>
1836 Copy permissions with file on copy (#514084)
1837 This is what cp does and makes sure e.g. the
1838 exec permissions are kept.
1839 Its kinda weird in that it keeps the permission bits
1840 the same while the uid and gid are different. However
1841 the new uid is the user so its not a security issue,
1842 and I've heard no complaints about cp on this issue.
1844 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1846 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1848 2008-02-13 Alexander Larsson <alexl@redhat.com>
1850 * inotify/inotify-path.c:
1851 Define IN_ONLYDIR if not in header (#515346)
1853 2008-02-12 Alexander Larsson <alexl@redhat.com>
1855 * tests/live-g-file.c:
1858 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1860 * === Released 2.15.5 ===
1862 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1864 * gio.symbols: Add g_mount_mount_flags_get_type.
1866 2008-02-11 Alexander Larsson <alexl@redhat.com>
1869 (g_file_info_set_attribute_mask):
1870 (g_file_attribute_matcher_matches_id):
1871 Correctly handle NULL GAttributeMatcher meaning
1872 matches nothing. (Fixes #513492)
1874 2008-02-11 Alexander Larsson <alexl@redhat.com>
1879 Added GMountMountFlags enum and added a flags
1880 argument to all mount calls.
1882 This is an API/ABI change for future extensibility,
1883 as I think we will need at least an
1884 inhibit-autorun flag (the panel needs this).
1885 There are no flags defined yet though.
1887 2008-02-11 Alexander Larsson <alexl@redhat.com>
1890 Added new standard::description attribute.
1891 Requested by Vincent, and useful for both
1894 2008-02-11 Alexander Larsson <alexl@redhat.com>
1896 * gdesktopappinfo.c:
1899 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1901 * *.c: Documentation additions
1903 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1905 * gappinfo.h: Formatting cleanup
1906 * gappinfo.c: Fix up docs.
1908 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1910 * gunixmounts.c: Consistently use getmntent_r() and fall
1911 back to getmntent(). (#515492)
1913 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1915 * gbufferedinputstream.c:
1917 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1919 * tests/data-input-stream.c:
1920 * tests/data-output-stream.c: Portability fixes.
1922 2008-02-08 Alexander Larsson <alexl@redhat.com>
1927 Add g_volume_should_automount.
1930 2008-02-07 Tor Lillqvist <tml@novell.com>
1932 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1933 Win32, too Unix-specific.
1935 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1937 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1938 a local plt if the compiler doesn't support what we want. Bug #514702
1940 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1942 reviewed by: <delete if not using a buddy>
1945 * gunixinputstream.c:
1946 * gunixoutputstream.c:
1948 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1950 * tests/Makefile.am:
1951 * tests/live-g-file.c:
1952 * tests/live-g-file.txt:
1953 New GIO testing module working over real data
1955 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1957 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1958 Fallback to rename() if link() is not available
1959 (when no support on target filesystem)
1961 2008-02-06 Michael Natterer <mitch@imendio.com>
1963 * gfileinfo.c (g_file_info_get_icon): replace
1964 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1966 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1968 * gfile.c (g_file_create):
1969 Documentation update of error codes
1971 2008-02-06 Alexander Larsson <alexl@redhat.com>
1973 * gdesktopappinfo.c:
1974 Update to use both mimeapps.list and
1975 defaults.list as discussed on xdg list.
1977 2008-02-06 Benjamin Otte <otte@gnome.org>
1980 * gfilenamecompleter.c:
1981 Fix some typos in the documentation.
1983 2008-02-06 Alexander Larsson <alexl@redhat.com>
1985 * glocalfile.c (g_local_file_trash):
1986 Don't succeed with trash if newly created
1987 trash dir has the wrong owner. (#514696)
1989 2008-02-05 Alexander Larsson <alexl@redhat.com>
1991 * glocalfile.c (g_local_file_move):
1992 Don't spew warnings when destination is not
1995 2008-02-03 Hans Breuer <hans@breuer.org>
1997 * makefile.msc : update
1999 2008-02-01 Michael Natterer <mitch@imendio.com>
2001 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2002 return value of xdg_mime_list_mime_parents() to a variable of the
2005 2008-02-01 Alexander Larsson <alexl@redhat.com>
2007 * gappinfo.c (g_app_info_launch_uris):
2008 Actually call the launch_uris method, not
2011 2008-02-01 Alexander Larsson <alexl@redhat.com>
2013 * gdesktopappinfo.c (g_desktop_app_info_equal):
2014 Ensure appinfos with no id but same pointer value
2017 2008-02-01 Alexander Larsson <alexl@redhat.com>
2019 * gappinfo.c (g_app_info_launch_default_for_uri):
2022 2008-02-01 Alexander Larsson <alexl@redhat.com>
2026 Add g_app_info_launch_default_for_uri utility
2029 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2031 * gdesktopappinfo.c:
2032 Doc fix for g_app_info_get_default_for_uri_scheme ()
2035 2008-01-30 Alexander Larsson <alexl@redhat.com>
2038 Add doc comment about uris vs GFiles to
2041 * gdesktopappinfo.c:
2042 Ensure uris passed to g_app_info_launch_uris()
2043 are not roundtriped through GFile (as that
2044 may be slightly destructive for e.g. mailto: links)
2046 2008-01-30 Alexander Larsson <alexl@redhat.com>
2048 * tests/data-input-stream.c:
2049 * tests/data-output-stream.c:
2050 C89 fixes from Jens Granseuer (#512849)
2052 2008-01-30 Alexander Larsson <alexl@redhat.com>
2055 Fix gamin/fam difference build issue. (#509419)
2057 2008-01-29 Alexander Larsson <alexl@redhat.com>
2060 * gdesktopappinfo.c:
2061 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2063 2008-01-29 Alexander Larsson <alexl@redhat.com>
2065 * gdesktopappinfo.c:
2066 * gdesktopappinfo.h:
2067 giomodule-priv.h include moved to .c file.
2069 2008-01-29 Alexander Larsson <alexl@redhat.com>
2071 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2072 Remove unused prio/name fields.
2074 2008-01-29 Alexander Larsson <alexl@redhat.com>
2076 * gcontenttype.c (looks_like_text):
2077 Don't treat whitespace as control chars.
2079 2008-01-29 Alexander Larsson <alexl@redhat.com>
2081 * gdesktopappinfo.c:
2082 Lazily create the desktop files for appinfos created
2083 by g_app_info_create_from_commandline() when needed
2084 for mime associations. This allows run-time use
2085 of GAppInfo object without creating unnecessary
2088 2008-01-29 Alexander Larsson <alexl@redhat.com>
2091 Added new symbols to gio.symbols
2093 2008-01-29 Alexander Larsson <alexl@redhat.com>
2096 Add g_file_query_default_handler utility to easily look up
2097 the GAppInfo that handles a file.
2099 * gdesktopappinfo.[ch]:
2101 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2104 Remove unused function
2106 2008-01-29 Alexander Larsson <alexl@redhat.com>
2108 * gfileenumerator.c:
2109 Mention need to free returned value in
2110 g_file_enumerator_next_files_finish docs.
2111 Fix leak if g_file_enumerator_next_files_finish()
2114 2008-01-29 Alexander Larsson <alexl@redhat.com>
2117 (_g_unix_content_type_get_parents):
2118 Use list_parents, not get_parents from xdgmime, because
2119 the later doesn't use the cache.
2121 * xdgmime/xdgmimecache.c:
2122 (_xdg_mime_cache_list_mime_parents):
2123 Don't list the same type as parent multiple times.
2125 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2127 * === Released 2.15.4 ===
2129 2008-01-28 Alexander Larsson <alexl@redhat.com>
2132 Register local vfs with prio 0.
2135 Remove old name and prio class members
2137 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2139 * tests/g-file.c: Disable some tests that are failing in
2140 the absence of a http backend.
2142 2008-01-28 Alexander Larsson <alexl@redhat.com>
2146 Add registration hooks for extension points.
2147 Register the gio extension points.
2149 * fam/gfamdirectorymonitor.c:
2150 * fam/gfamfilemonitor.c:
2151 * glocaldirectorymonitor.[ch]:
2152 * glocalfilemonitor.[ch]:
2153 * gnativevolumemonitor.h:
2154 * gunionvolumemonitor.c:
2155 * gunixvolumemonitor.c:
2158 * inotify/ginotifydirectorymonitor.c:
2159 * inotify/ginotifyfilemonitor.c:
2160 Use the extension points registration instead
2161 of g_type_children().
2163 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2166 * gvolume.[hc]: Document new API.
2168 * gfile.c (g_file_copy_async): Fix docs
2170 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2172 * gbufferedinputstream.c:
2174 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2177 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2179 * glocalfile.c: Avoid trivial differences in translatable strings.
2181 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2183 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2184 build with gcc 3.4 (#509419)
2186 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2188 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2189 (#509994, Murray Cumming)
2191 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2193 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2194 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2195 this allows big jobs to be executed in chunks, instead of blocking
2196 the main loop for a long time.
2198 * gsimpleasyncresult.c:
2199 * giofile.c: Adapt callers.
2201 2008-01-25 Alexander Larsson <alexl@redhat.com>
2203 * gdesktopappinfo.c:
2204 Implement changes discussed on xdg list.
2205 Now we can add supported mimetypes by just using defaults.list
2206 We can also remove associations in defaults.list.
2208 2008-01-25 Alexander Larsson <alexl@redhat.com>
2210 * gdesktopappinfo.c:
2211 Don't make local copy of desktop file
2212 for mimetype changes if the file already
2213 supports the new mimetype.
2215 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2219 * gbufferedinputstream.c:
2220 * glocalfile.c: String improvements. (#511966,
2221 Theppitak Karoonboonyanan)
2223 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2225 * gioscheduler.h: Expand docs a bit.
2227 2008-01-24 Alexander Larsson <alexl@redhat.com>
2230 Add g_drive_get_identifier and
2231 g_drive_enumerate_identifiers
2234 Add g_volume_get_identifier and
2235 g_volume_enumerate_identifiers
2241 Implement identifiers for unix backend
2243 2008-01-24 Alexander Larsson <alexl@redhat.com>
2248 Add g_file_copy_async() (#511580)
2249 Based on patch from Carlos Garcia Campos
2251 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2253 * gioscheduler.c: Some documentation additions.
2255 2008-01-22 Alexander Larsson <alexl@redhat.com>
2257 * gdesktopappinfo.c:
2258 (g_desktop_app_info_new):
2259 Don't leak basename.
2261 2008-01-22 Alexander Larsson <alexl@redhat.com>
2263 * gdesktopappinfo.c:
2264 (g_desktop_app_info_new_from_filename):
2267 2008-01-22 Alexander Larsson <alexl@redhat.com>
2269 * glocalfileinfo.c (get_thumbnail_attributes):
2272 2008-01-22 Alexander Larsson <alexl@redhat.com>
2275 (canonicalize_filename):
2276 Canonicalize paths that start with more than
2280 (compare_two_files):
2281 (test_g_file_new_for_path):
2284 2008-01-22 Alexander Larsson <alexl@redhat.com>
2287 Allow UTF-8 in file:// parse names.
2289 * tests/Makefile.am:
2290 * tests/data-input-stream.c:
2291 * tests/data-output-stream.c:
2292 * tests/g-file-info.c:
2294 Added a bunch of tests from Tomas Bzatek
2296 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2298 * === Released 2.15.3 ===
2300 2008-01-21 Alexander Larsson <alexl@redhat.com>
2302 * gfileinputstream.[ch]:
2303 * gfileoutputstream.[ch]:
2305 Remove duplicated GSeekable functions. (#509990)
2306 Just use the g_seekable_xxx() calls instead.
2308 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2311 * gvolumemanager.c: Whitespace cleanups.
2313 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2314 Use the right mode when creating the file.
2316 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2318 * gfileenumerator.c:
2319 * gfileinputstream.c:
2321 * goutputstream.c: Documentation: Fixed minor typos
2322 and added more mentions of specific _finish() functions.
2324 2008-01-21 Alexander Larsson <alexl@redhat.com>
2326 * inotify/Makefile.am:
2327 * inotify/inotify-helper.c:
2328 * inotify/inotify-kernel.c:
2329 * inotify/inotify-path.c:
2330 * inotify/local_inotify.h: Removed.
2331 * inotify/local_inotify_syscalls.h: Removed.
2332 Removed the included copies of the inotify
2333 headers. We now only use the <sys/inotify.h>
2334 header which exists on modern systems.
2335 This fixes problems on ARM and SH5 (#510448)
2336 but is also generally much cleaner and future
2337 safe. For instance, if other OSes add support
2338 for inotify it should "just work".
2340 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2342 * inotify/*.c: Coding style fixes.
2343 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2344 for the 1/4 Hz timer.
2346 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2349 * gfilemonitor.[hc]:
2350 * gmemoryinputstream.c:
2351 * gmemoryoutputstream.c:
2352 * gmountoperation.c:
2353 * gthemedicon.c: Documentation updates
2355 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2357 * gfile.c: documentation: Fixed more minor
2360 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2362 * gmount.c: (g_mount_remount): documentation:
2363 Mention g_mount_remount_finish() instead of
2364 g_mount_unmount_finish().
2366 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2370 * gfile.c: Fixed some minor typos in the
2373 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2375 * gio/gvolumemonitor.c:
2376 (g_volume_monitor_get_connected_drives):
2377 (g_volume_monitor_get_volumes):
2378 (g_volume_monitor_get_mounts): Documentation:
2379 Clarify the ownership of the regurn GLists.
2381 2008-01-17 Alexander Larsson <alexl@redhat.com>
2384 Add the async find_enclosing_mount version
2385 to the header file too.
2387 2008-01-17 Alexander Larsson <alexl@redhat.com>
2390 Add async version of find_enclosing_mount
2391 with default implementation.
2393 2008-01-17 Alexander Larsson <alexl@redhat.com>
2398 Allow calls to implementation of copy and write
2399 even if the type of the file implementations is
2400 different. This can be used to implement native
2401 upload and download calls in a vfs.
2404 (g_local_file_move):
2405 Protect against the case where move is called
2406 with one file not being local.
2408 Make sure we call the progress callback once
2409 in the native move operation so that the caller
2410 knows how many bytes were copied.
2412 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2415 * gdatainputstream.c:
2417 * gfileoutputstream.c:
2422 * gunixmounts.c: Corrected some typos in the documentation:
2423 occured -> occurred.
2424 its -> it's (where appropriate).
2426 2008-01-16 Alexander Larsson <alexl@redhat.com>
2430 Add g_file_query_exists (#508771)
2432 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2437 * gvolume.c: For async functions that have no non-async
2438 version, document that the GAsyncReadyCallback may be NULL.
2441 2008-01-15 Alexander Larsson <alexl@redhat.com>
2443 * gmemoryinputstream.c:
2444 * gmemoryoutputstream.c:
2445 Don't do pointer arithmetic on void * (#508602)
2446 Patch from Kazuki IWAMOTO
2448 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2450 * === Released 2.15.2 ===
2452 2008-01-14 Alexander Larsson <alexl@redhat.com>
2454 * gfile.c (g_file_monitor_file):
2455 Don't set error here, since we fallback to polling monitor.
2457 2008-01-14 Alexander Larsson <alexl@redhat.com>
2460 (g_file_monitor_directory):
2461 (g_file_monitor_file):
2462 Add GError to file monitor calls
2464 * glocaldirectorymonitor.c:
2465 * glocaldirectorymonitor.h:
2467 * glocalfilemonitor.c:
2468 * glocalfilemonitor.h:
2470 Update for above change
2472 2008-01-14 Alexander Larsson <alexl@redhat.com>
2476 Handle root correctly in g_file_get_relative_path (#508719)
2478 2008-01-14 Alexander Larsson <alexl@redhat.com>
2481 Clean up docs and example for GAsyncResult (#508074)
2483 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2485 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2486 and correct some spelling mistakes. Bug #508108.
2488 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2490 * glocalfileinfo.c: Add a comment.
2492 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2494 * gfileinfo.c: GFileInfo description: Mention
2495 how to actually set attributes in a GFile and how to discover
2496 which attributes are settable. Bug #508378.
2498 2008-01-10 A. Walton <awalton@svn.gnome.org>
2500 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2501 (g_app_info_get_default_for_type):
2502 Check for NULL content types.
2504 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2506 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2508 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2510 * gfile.c: *_async() functions: Several small corrections
2511 to the documentation, mostly correcting copy/paste errors
2512 and improving some sentences.
2514 2008-01-09 Dan Winship <danw@gnome.org>
2516 * glocalfile.c (get_unique_filename): x86_64 fix
2518 2008-01-09 Alexander Larsson <alexl@redhat.com>
2523 Add g_unix_mount_guess_should_display and use
2524 for unix volume monitor backend.
2525 This means we more or less show what the
2526 gnome-vfs backend did.
2527 Based on patch from Padraig O'Briain
2529 2008-01-09 Alexander Larsson <alexl@redhat.com>
2533 Add g_themed_icon_new_with_default_fallbacks
2536 Use default fallbacks for icons
2538 2008-01-09 Alexander Larsson <alexl@redhat.com>
2541 * gmountoperation.[ch]:
2542 Change the API a bit so that unhandled methods
2543 get reported via the reply, rather than by
2544 the signal emission return value. This is because
2545 some handlers can't know this immediately without
2546 doing I/O, and this is an async operation that
2549 2008-01-09 Alexander Larsson <alexl@redhat.com>
2552 * fam/gfamdirectorymonitor.c:
2553 * fam/gfamfilemonitor.c:
2554 Fix double free crash (#508224)
2555 Patch from Joe Marcus Clarke
2557 008-01-07 Matthias Clasen <mclasen@redhat.com>
2559 * === Released 2.15.1 ===
2561 2008-01-07 Alexander Larsson <alexl@redhat.com>
2563 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2564 Fix warning (#507835)
2566 2008-01-07 Alexander Larsson <alexl@redhat.com>
2569 Pass --internal to glib-genmarshal
2572 * gmountoperation.c:
2574 Use better types for signal arguments (#507822)
2576 2008-01-07 Alexander Larsson <alexl@redhat.com>
2579 Build test subdir after .
2580 Remove gdirectorymonitor.[ch]
2582 * gdirectorymonitor.[ch]:
2586 Remove GDirectoryMonitor and make
2587 GFileMonitor the baseclass for both file and
2588 directory monitors. Lift the more generic
2589 rate limiting code from GDirectoryMonitor
2593 * fam/gfamdirectorymonitor.[ch]:
2594 * inotify/ginotifydirectorymonitor.[ch]:
2595 * inotify/inotify-helper.c:
2596 * glocaldirectorymonitor.[ch]:
2599 Update for the removed GDirectoryMonitor.
2601 * gmemoryoutputstream.c:
2602 Remove ununsed variable
2604 2008-01-07 Alexander Larsson <alexl@redhat.com>
2606 * gmemoryinputstream.c:
2607 Translate error strings
2610 * gmemoryoutputstream.[ch]:
2611 New implementation that avoids using GByteArray
2612 in implementation and API. (#506377)
2614 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2616 * tests/*: Add a test for memory input streams.
2618 * Makefile.am: Add tests to SUBDIRS.
2620 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2622 * glocalfilemonitor.c:
2623 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2626 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2628 * gdesktopappinfo.c: Fix a docs typo.
2630 * gfileattribute.c: Add information about extended attributes
2631 to the documentation. (#505058)
2633 2008-01-04 Alexander Larsson <alexl@redhat.com>
2636 * gmountoperation.c:
2637 Use the right type (uint) for the ask_password signal.
2639 2008-01-04 Alexander Larsson <alexl@redhat.com>
2644 Add g_app_info_supports_files()
2645 Remove desktop arg from g_app_info_should_show().
2647 * gdesktopappinfo.[ch]:
2648 Implement g_app_info_supports_files() and new should_show()
2649 Add g_desktop_app_info_set_desktop_env() to set the desktop
2650 for should_show(). (This will be set by gtk+ later)
2652 2008-01-04 Alexander Larsson <alexl@redhat.com>
2655 * gmemoryinputstream.[ch]:
2656 Improve API so that you can use multiple chunks
2657 of memory and custom destroy functions. (#506374)
2659 2008-01-03 Alexander Larsson <alexl@redhat.com>
2662 Handle NULL attribute matchers safely, as we return this
2663 for empty attribute matcher strings.
2665 2008-01-03 Alexander Larsson <alexl@redhat.com>
2667 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2668 Add /usr/local to list of internal mountpoints
2670 2008-01-03 Alexander Larsson <alexl@redhat.com>
2673 Check for HAVE_LCHOWN (#505887)
2675 2008-01-03 Alexander Larsson <alexl@redhat.com>
2679 Add define for selinux context attribute.
2680 Fix missing : -> :: namespace separator change
2681 Fix missing _ -> - name change for xattr-sys.
2684 2008-01-03 Alexander Larsson <alexl@redhat.com>
2687 Link to libglib and libgobject directly (#504879)
2688 Patch from Sebastien Bacher
2690 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2692 * gfile.c: Expanded the g_file_new_for_commandline_arg
2693 description a bit, based on the code and the docs of the
2694 other g_file_new_for_* functions.
2696 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2698 * gfilemonitor.h: Fixed typo in docs.
2700 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2702 Updates to GIO documentation. (#506395, Mikael Hermansson)
2704 * gcontenttype.c: Describe memory management for return value of
2705 g_content_types_get_registered(). Missing piece from #505815.
2706 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2707 GVolume, GDrive, GMounts, which hopefully gives the user less
2708 confusions when using this API. Following explainations from
2709 Alexander Larsson on gtk-devel-list.
2711 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2713 * gfileinfo.c: Expand the long description.
2715 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2718 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2719 fix builds with --disable-visibility. (#500273, Christian Persch)
2721 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2723 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2724 in the list of returned app infos.
2726 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2728 * gappinfo.c: Fix a cross-reference
2730 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2732 * gfileinputstream.c:
2733 * gfileoutputstream.c:
2737 * gdesktopappinfo.c:
2739 * gfileinfo.c: Documentation updates.
2741 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2743 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2746 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2748 * gcontenttype.c (g_content_types_get_registered): Don't return
2749 freed memory (#505815, Mikael Hermansson)
2751 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2753 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2754 used to detect statbuf->st_blocks. (#505042)
2756 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2758 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2759 environment handling. (#504829, Cosimo Cecchi)
2761 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2763 * gappinfo.c: Doc improvements
2765 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2768 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2770 * === Released 2.15.0 ===
2772 2007-12-20 Hans Breuer <hans@breuer.org>
2774 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2775 with symbols gwin32appinfo.obj, added gmount.obj
2776 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2778 2007-12-20 Alexander Larsson <alexl@redhat.com>
2784 * gfilenamecompleter.c:
2787 * gpollfilemonitor.c:
2788 File attribute renames:
2790 fs:: -> filesystem::
2791 id::fs -> id::filesystem
2793 2007-12-20 Alexander Larsson <alexl@redhat.com>
2802 Add GMountUnmountFlags to all unmount and
2804 Add g_mount_remount() call.
2806 2007-12-20 Alexander Larsson <alexl@redhat.com>
2808 * gvfs.c (get_default_vfs):
2809 Fix unused variable warning
2811 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2813 * pltcheck.sh: Update
2815 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2817 * gunionvolumemonitor.c:
2818 * gunixmount.c: Remove C99 comments
2820 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2822 * gio.symbols: Add some missing symbols
2824 2007-12-19 Alexander Larsson <alexl@redhat.com>
2827 Make g_io_modules_load_all_in_directory not unuse
2828 loaded modules so that users of it can do stuff
2830 Init internal "module" types.
2831 Initialize static prio and name for types so that
2832 we don't have to load modules to get it.
2834 * gnativevolumemonitor.h:
2836 Move is_supported to parent class so that
2837 non-native monitors can avoid being initialized
2838 too. (For instance GDaemonVolumeMonitor if we're
2839 not using GDaemonVfs.)
2841 * glocaldirectorymonitor.[ch]:
2842 * glocalfilemonitor.[ch]:
2843 * gunionvolumemonitor.c:
2844 * gunixvolumemonitor.c:
2846 Find plugins using the static prio+name to
2847 avoid unnecessarily loading the modules.
2849 2007-12-19 Alexander Larsson <alexl@redhat.com>
2854 2007-12-19 Alexander Larsson <alexl@redhat.com>
2856 * gunionvolumemonitor.c:
2857 Store the native type as GType, not class so that
2858 we can unload it. But still avoid unnecessarily
2861 2007-12-19 David Zeuthen <davidz@redhat.com>
2863 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2864 add signals 'disconnected' and 'eject-button' on GDrive. Add
2865 signal 'removed' on GVolume and 'unmounted' on GMount.
2867 * gdrive.c: (g_drive_base_init):
2869 * gfile.c: (g_file_mount_mountable),
2870 (g_file_mount_enclosing_volume):
2873 * gmount.c: (g_mount_base_init):
2875 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2876 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2877 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2881 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2883 * *.c: Fix up includes in the section docs.
2885 2007-12-17 Alexander Larsson <alexl@redhat.com>
2887 * gnativevolumemonitor.h:
2888 * gunionvolumemonitor.c:
2889 * gunixvolumemonitor.c:
2890 Add is_supported() to GNativeVolumeMonitorClass so
2891 that we can avoid having to create an object to see
2892 if the backend is supported at runtime.
2893 Also add name member and an env var to pick a specific
2894 volume monitor backend.
2898 Add cancellable to _g_mount_get_for_mount_path()
2900 * glocaldirectorymonitor.c:
2901 * glocalfilemonitor.c:
2902 Avoid loading and unloading modules while sorting.
2904 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2907 * gunixmounts.[hc]: Namespace waste reduction, move some
2908 g_get_unix_mount functions to the g_unix_mount namespace.
2911 * gunixvolumemonitor.c:
2913 * glocaldirectorymonitor.c: Update all callers.
2915 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2917 2007-12-17 Alexander Larsson <alexl@redhat.com>
2920 Add doc comments about what GFile operations are
2921 guaranteed to not block.
2923 2007-12-17 Alexander Larsson <alexl@redhat.com>
2926 Add missing #ifdef fixing OSX build.
2927 (#503334, patch from Richard Hult)
2929 2007-12-14 David Zeuthen <davidz@redhat.com>
2933 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2934 (g_mount_eject), (g_mount_eject_finish):
2936 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2937 (get_volume_for_uuid), (get_mount_for_uuid),
2938 (g_union_volume_monitor_class_init),
2939 (get_default_native_type_with_exclude), (get_default_native_type),
2940 (get_native_type), (update_native_type),
2941 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2942 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2943 (g_unix_mount_can_eject), (eject_unmount_cb),
2944 (eject_unmount_read_error), (eject_unmount_do),
2945 (g_unix_mount_unmount), (g_unix_mount_eject),
2946 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2947 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2948 (g_unix_mount_point_guess_can_eject):
2950 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2951 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2952 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2953 (g_unix_volume_mount), (g_unix_volume_eject),
2954 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2955 * gunixvolumemonitor.c: (get_volume_for_uuid),
2956 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2958 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2959 (g_volume_eject), (g_volume_eject_finish):
2961 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2962 (g_volume_monitor_get_mount_for_uuid):
2965 Provide eject() on both GMount and GVolume and utility functions
2966 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2967 ejected. Introduce the concept of UUID's and wire it into GVolume
2968 and GMount and provide API on GVolumeMonitor to find such
2969 instances. Also handle the case where an external
2970 GNativeVolumeMonitor fails to initialize. Lock around the
2971 _g_get_mount_for_mount_path() function such that volume monitor
2972 implementations won't have to do locking themselves.
2974 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2976 * gdesktopappinfo.c:
2982 * gvolume.h: Documentation updates
2984 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2987 * gfile.h: Doc updates
2989 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2992 * gdesktopappinfo.c: Use hash table iterators.
2994 2007-12-14 Alexander Larsson <alexl@redhat.com>
2997 * gfileattribute.[ch]:
2998 * gfileattribute-priv.h:
2999 Move GFileAttributeValue to a private header, as
3003 Make set_attribute take a type + a pointer instead
3004 of a GFileAttributeValue.
3007 Fix up for above changes.
3008 Add g_file_info_get_attribute_data to get
3009 all info in one call, g_file_info_get_attribute_status
3010 to get the status and g_file_info_get_attribute_as_string.
3014 * glocalfileinfo.[ch]:
3018 Make _guess_type static.
3020 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3023 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3024 made mkenums and friends use temporary files to avoid leaving
3025 empty generated files on failure (#503470).
3027 2007-12-14 Alexander Larsson <alexl@redhat.com>
3029 * gmountoperation.h:
3032 2007-12-14 Alexander Larsson <alexl@redhat.com>
3036 * gfileattribute.[ch]:
3039 * glocalfileoutputstream.c:
3040 * gmountoperation.[ch]:
3041 * goutputstream.[ch]:
3042 Clean up all flags enums to not have _FLAGS in them
3043 Make the names of some of the enums better.
3048 2007-12-14 Michael Natterer <mitch@imendio.com>
3050 * gio.symbols: fix g_io_scheduler symbol names.
3052 2007-12-14 Alexander Larsson <alexl@redhat.com>
3058 * gbufferedinputstream.h:
3059 * gbufferedoutputstream.h:
3062 * gdatainputstream.h:
3063 * gdataoutputstream.h:
3064 * gdesktopappinfo.h:
3065 * gdirectorymonitor.h:
3069 * gfileenumerator.h:
3072 * gfileinputstream.h:
3074 * gfilenamecompleter.h:
3075 * gfileoutputstream.h:
3076 * gfilterinputstream.h:
3077 * gfilteroutputstream.h:
3085 * gmemoryinputstream.h:
3086 * gmemoryoutputstream.h:
3088 * gmountoperation.h:
3091 * gsimpleasyncresult.h:
3093 * gunixinputstream.h:
3095 * gunixoutputstream.h:
3099 * inotify/Makefile.am:
3100 Only allow including <gio/gio.h> from apps
3102 2007-12-14 Alexander Larsson <alexl@redhat.com>
3104 * gioscheduler.[ch]:
3105 * gsimpleasyncresult.c:
3106 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3107 Split out the send_to_mainloop call into two versions instead
3108 of having the block argument.
3110 2007-12-13 Alexander Larsson <alexl@redhat.com>
3112 * gcancellable.[ch]:
3114 * gbufferedinputstream.c:
3115 * gfileenumerator.c:
3116 * gfileinputstream.c:
3117 * gfileoutputstream.c:
3121 g_push/pop_current_cancellable ->
3122 g_cancellable_push/pop_current
3124 2007-12-13 Alexander Larsson <alexl@redhat.com>
3128 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3130 2007-12-13 Alexander Larsson <alexl@redhat.com>
3132 * gmountoperation.h:
3133 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3135 2007-12-12 Alexander Larsson <alexl@redhat.com>
3138 Fix race condition when freeing proxy in
3139 g_io_job_send_to_mainloop().
3141 2007-12-12 Alexander Larsson <alexl@redhat.com>
3147 Make attribute namespace separator "::" instead of ":".
3148 Use - instead of _ as separator in attribute names.
3150 2007-12-12 Alexander Larsson <alexl@redhat.com>
3152 * gbufferedinputstream.h:
3153 * gbufferedoutputstream.h:
3154 * gdatainputstream.h:
3155 * gdataoutputstream.h:
3156 * gdirectorymonitor.h:
3157 * gfileenumerator.h:
3158 * gfileinputstream.h:
3160 * gfileoutputstream.h:
3161 * gfilterinputstream.h:
3162 * gfilteroutputstream.h:
3164 * glocalfileinputstream.h:
3165 * glocalfileoutputstream.h:
3166 * gmemoryinputstream.h:
3167 * gmemoryoutputstream.h:
3168 * gnativevolumemonitor.h:
3170 * gunixinputstream.h:
3171 * gunixoutputstream.h:
3174 s/parent/parent_instance/ in GObjects
3176 2007-12-12 Alexander Larsson <alexl@redhat.com>
3181 No need for padding for interfaces
3183 2007-12-12 Alexander Larsson <alexl@redhat.com>
3187 * gbufferedinputstream.c:
3188 * gbufferedoutputstream.c:
3191 * gdatainputstream.[ch]:
3192 * gdesktopappinfo.c:
3193 * gdirectorymonitor.c:
3195 * gfileattribute.[ch]:
3198 * gfileinputstream.h:
3199 * gfilemonitor.[ch]:
3200 * gfileoutputstream.[ch]:
3201 * gfilterinputstream.h:
3202 * gfilteroutputstream.h:
3205 * gloadableicon.[ch]:
3206 * gmemoryinputstream.c:
3207 * gmountoperation.c:
3209 Fix up a bunch of details in the docs.
3214 2007-12-11 David Zeuthen <davidz@redhat.com>
3216 Rework how volumes, drives and volume monitoring is
3217 done. Previosly the model was
3219 GDrive <1-1> GVolume
3221 where a GDrive instance represented a mount point and a GVolume
3222 instance represented a mounted file system. This patch changes it
3225 GDrive <1-N> GVolume <1-1> GMount
3227 where GMount now serves the purpose of the old GVolume and the new
3228 GVolume serves the purpose of the old GDrive. In addition the new
3229 GDrive interface is used to represent a collection of GVolume
3230 instances (typically partitions) and also contains utility to query
3231 the state of the physical drive the GDrive object represents (such
3232 as checking for media, polling the drive, ejecting the media etc.).
3234 Also implement mounting and unmounting in the Unix volume monitor
3235 backend. A subquent patch will introduce GDrive support for ejection
3239 * gdrive.c: (g_drive_is_media_check_automatic),
3240 (g_drive_is_media_removable), (g_drive_has_media),
3241 (g_drive_can_poll_for_media), (g_drive_eject),
3242 (g_drive_eject_finish), (g_drive_poll_for_media),
3243 (g_drive_poll_for_media_finish):
3245 * gfile.c: (g_file_find_enclosing_mount):
3248 * glocaldirectorymonitor.c:
3249 (g_local_directory_monitor_constructor), (mounts_changed):
3250 * glocalfile.c: (get_mount_info),
3251 (g_local_file_find_enclosing_mount),
3252 (g_local_file_file_iface_init):
3253 * gnativevolumemonitor.h:
3254 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3255 (get_connected_drives), (g_union_volume_monitor_class_init),
3256 (child_volume_added), (child_volume_removed),
3257 (child_volume_changed), (child_mount_added), (child_mount_removed),
3258 (child_mount_pre_unmount), (child_mount_changed),
3259 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3260 (g_union_volume_monitor_remove_monitor),
3261 (_g_mount_get_for_mount_path):
3262 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3263 (guess_system_internal), (_g_get_unix_mounts),
3264 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3265 (g_unix_mount_free), (g_unix_mount_compare),
3266 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3267 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3268 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3269 (type_to_icon), (g_unix_mount_guess_name),
3270 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3271 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3272 (_resolve_symlink), (_resolve_dev_root):
3274 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3275 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3276 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3277 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3278 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3279 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3280 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3281 (g_unix_volume_volume_iface_init):
3283 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3284 (get_mounts), (get_volumes), (get_connected_drives),
3285 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3286 (mountpoints_changed), (mounts_changed),
3287 (g_unix_volume_monitor_init),
3288 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3289 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3290 * gunixvolumemonitor.h:
3291 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3292 (g_volume_mount), (g_volume_mount_finish):
3294 * gvolumemonitor.c: (g_volume_monitor_class_init),
3295 (g_volume_monitor_get_connected_drives),
3296 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3299 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3301 * gmountoperation.h (GPasswordFlags): Close the gap
3303 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3305 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3307 * gdesktopappinfo.[hc]: Remove _-prefixes
3309 2007-12-10 Tor Lillqvist <tml@novell.com>
3311 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3314 2007-12-10 Alexander Larsson <alexl@redhat.com>
3316 * gfile.c (g_file_set_display_name):
3317 Don't hardcode '/' (#502727)
3319 2007-12-09 Hans Breuer <hans@breuer.org>
3321 * makefile.msc : follow lib naming convention
3322 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3323 for user and group name, tested with ../tests/gio-ls
3325 2007-12-09 A. Walton <awalton@svn.gnome.org>
3327 * gdesktopappinfo.c:
3333 * gfileenumerator.c:
3338 * gmemoryinputstream.c:
3339 * gmemoryoutputstream.c:
3341 * gsimpleasyncresult.c:
3342 More documentation cleanup and filling in missing information, bringing
3343 GIO to 99% symbol coverage.
3345 2007-12-08 Hans Breuer <hans@breuer.org>
3347 [gio compiles and links on win32, not sure how much already works]
3348 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3349 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3350 base on win32 API; prefer g_lstat() over lstat(); instead of
3351 localtime_r() use an all GLib implementation on win32;
3352 get_mount_info() still needs a win32 specifc implementation
3353 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3354 win32_get_file_user_info to get owner/group info without uid/gid
3355 * glocalfileinputstream.c : include <io.h> on win32
3356 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3357 definition, use g_win32_ftruncate() for G_OS_WIN32
3358 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3359 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3360 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3361 * makefile.msc : updated
3363 2007-12-07 Alexander Larsson <alexl@redhat.com>
3365 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3366 Avoid warning spew if error == NULL
3368 2007-12-07 Alexander Larsson <alexl@redhat.com>
3371 Update docs wrt etags
3373 2007-12-06 Alexander Larsson <alexl@redhat.com>
3376 Include sys/types.h for dev_t (#501919)
3378 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3382 Make abicheck and pltcheck pass.
3384 2007-12-05 Alexander Larsson <alexl@redhat.com>
3387 * giomodule-priv.h: Added.
3388 * glocaldirectorymonitor.c:
3389 * glocalfilemonitor.c:
3390 * gunionvolumemonitor.c:
3392 Actually add the declaration of _g_io_modules_ensure_loaded
3394 2007-12-05 Alexander Larsson <alexl@redhat.com>
3396 * gdatainputstream.c:
3401 * glocaldirectorymonitor.c:
3402 * glocalfilemonitor.c:
3403 * gunionvolumemonitor.c:
3405 Make g_io_modules_ensure_loaded a private function and
3406 don't pass in the dirname. This means we can do magic
3407 directory finding in the win32 version.
3408 Export the actual load-modules-in-directory code so that
3409 gvfs can reuse that.
3411 2007-12-05 Alexander Larsson <alexl@redhat.com>
3413 * gbufferedinputstream.c:
3414 * gbufferedoutputstream.c:
3417 * gfileenumerator.[ch]:
3418 * gfileinputstream.c:
3419 * gfileoutputstream.[ch]:
3420 * gfilterinputstream.c:
3421 * gfilteroutputstream.c:
3422 * ginputstream.[ch]:
3424 * glocalfileenumerator.c:
3425 * glocalfileinputstream.c:
3426 * glocalfileoutputstream.c:
3427 * gmemoryinputstream.c:
3428 * gmemoryoutputstream.c:
3429 * goutputstream.[ch]:
3432 * gunixinputstream.c:
3433 * gunixoutputstream.c:
3434 Rename all struct members named:
3435 read, write, close, truncate, or mount
3436 to foo_fn, as these are reserved names
3437 and could be defined as macros in libc.
3440 2007-12-04 Alexander Larsson <alexl@redhat.com>
3443 (g_output_stream_close):
3444 Only call flush if non-null.
3446 2007-11-30 Dan Winship <danw@gnome.org>
3448 * ginputstream.c (g_input_stream_set_pending): Make this take a
3449 GError and return a gboolean, and do the "outstanding operation"
3450 check (and the "stream is already closed" check) itself.
3451 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3453 * goutputstream.c (g_output_stream_set_pending)
3454 (g_output_stream_clear_pending): Likewise
3456 * gbufferedinputstream.c:
3457 * gfileinputstream.c:
3458 * gfileoutputstream.c: Update for that
3460 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3461 Like g_simple_async_report_error_in_idle, but takes a GError
3462 rather than building one.
3464 2007-11-30 Dan Winship <danw@gnome.org>
3466 * goutputstream.c: Don't cheat and unset the "pending" flag around
3467 inner calls. Instead, call the class method directly rather than
3468 the wrapper function that checks "pending"
3470 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3472 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3474 2007-12-03 Hans Breuer <hans@breuer.org>
3476 [start of port to win32/msvc]
3477 * gcancellable.c : HAVE_UNIST_H and _pipe()
3478 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3479 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3480 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3482 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3483 * glocalvfs.c : use HAVE_PWD_H
3484 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3485 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3486 * Makefile.am : added to EXTRA_DIST
3488 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3490 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3493 2007-12-03 Alexander Larsson <alexl@redhat.com>
3496 Handle OSX style xattrs API (#500506)
3498 2007-12-03 Alexander Larsson <alexl@redhat.com>
3502 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3504 2007-12-02 A. Walton <awalton@svn.gnome.org>
3508 Documentation accuracy fixes.
3510 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3512 * gioenumtypes.c.template: Fix typo.
3514 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3516 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3518 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3520 * gdirectorymonitor.c:
3521 * gfilemonitor.c: Add properties
3523 * gbufferedoutputstream.c: Don't mark buffer-size property
3526 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3528 * gbufferedoutputstream.c: Add auto-grow property.
3530 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3532 * *.c: Unify the capitalization of section headings.
3534 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3536 * gmountoperation.c: Add properties
3538 * gdatainputstream.c: Turn byte-order and newline-type into
3541 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3543 * gioenumtypes.[hc].template: Templates for enum registration
3545 * Makefile.am: Generate gioenumtypes.[hc]
3547 * gio.h: Include gioenumtypes.h
3549 * gfile.h: Add some explicit nicks.
3551 * gio.symbols: Add new symbols
3553 * pltcheck.sh: Adjust
3555 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3557 * *.c: Explain etags and link to the explanation
3559 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3561 * *.c: Explain I/O priority.
3563 * *.c: More coding style fixes.
3565 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3567 * gasyncresult.c: Add another paragraph to the intro,
3568 adjust coding style of example.
3570 2007-11-29 A. Walton <awalton@svn.gnome.org>
3573 Fixes unknown meaning in GAppLaunchContext docs.
3575 Clarify asynchronous ops.
3577 Fix entity tag docs.
3580 Provides missing gtk-doc section, fixes API docs slighly.
3581 * gsimpleasyncresult.c:
3582 Fill in missing info in docs.
3583 * gunixinputstream.c:
3584 * gunixoutputstream.c:
3585 Be more expressive in short description.
3587 Remove gtk-doc stubs for non-public API.
3589 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3591 * *.c: Coding style fixups
3593 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3595 * inotify/inotify-helper.c: Don't export the lock from libgio.
3597 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3600 * abicheck.sh: Fix copy-and-paste leftovers
3602 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3604 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3606 2007-11-28 Alexander Larsson <alexl@redhat.com>
3610 Removed unnecessary file
3612 * gdesktopappinfo.[ch]:
3615 * glocaldirectorymonitor.[ch]:
3617 * glocalfileenumerator.[ch]:
3618 * glocalfileinputstream.[ch]:
3619 * glocalfilemonitor.[ch]:
3620 * glocalfileoutputstream.[ch]:
3622 * gnativevolumemonitor.c:
3623 * gpollfilemonitor.[ch]:
3624 * gunionvolumemonitor.[ch]:
3627 * gunixvolumemonitor.[ch]:
3630 * inotify/ginotifydirectorymonitor.[ch]:
3631 * inotify/ginotifyfilemonitor.[ch]:
3632 * inotify/inotify-helper.c:
3633 Append _ to all internal functions
3637 Export symbols needed for modules
3639 2007-11-28 Alexander Larsson <alexl@redhat.com>
3642 * abicheck.sh: Added.
3643 * makegioalias.pl: Added.
3644 * pltcheck.sh: Added.
3645 * gio.symbols: Added.
3648 Initial work on adding symbol handling.
3651 Correct ifdef guard name
3654 * inotify/Makefile.am:
3655 * xdgmime/Makefile.am:
3656 Include toplevel Makefile.decl
3658 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3660 * gcontenttype.c: Move doc comments to the unix section.
3662 * *.[hc]: More trivial doc corrections.
3664 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3666 * gpollfilemonitor.c:
3670 * gdesktopappinfo.c:
3675 * gdatainputstream.c:
3676 * gdatainputstream.h:
3677 * gdataoutputstream.c:
3678 * gdataoutputstream.h:
3679 * gfileinfo.h: Doc cleanups
3681 2007-11-28 Andre Klapper <a9016009@gmx.de>
3683 * gdesktopappinfo.c: Fix a typo.
3685 2007-11-27 Andre Klapper <a9016009@gmx.de>
3687 * glocalfileoutputstream.c: Fix a typo.
3689 2007-11-27 Alexander Larsson <alexl@redhat.com>
3692 Don't include removed headers
3694 2007-11-27 Alexander Larsson <alexl@redhat.com>
3697 * gsocketinputstream.[ch]: Removed.
3698 * gsocketoutputstream.[ch]: Removed.
3699 * gunixinputstream.[ch]: Added.
3700 * gunixoutputstream.[ch]: Added.
3701 Renamed GSocket*Stream to GUnix*Stream and made
3702 it unix-only, since its not really only for sockets
3703 and it only works on unix (but is highly useful there).
3705 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3711 * gbufferedinputstream.c:
3712 * gbufferedinputstream.h:
3713 * gbufferedoutputstream.c:
3714 * gbufferedoutputstream.h:
3718 * gdatainputstream.c:
3719 * gdatainputstream.h:
3720 * gdataoutputstream.c:
3721 * gdataoutputstream.h:
3722 * gdirectorymonitor.c:
3723 * gdirectorymonitor.h:
3730 * gfileenumerator.c:
3731 * gfileenumerator.h:
3736 * gfileinputstream.c:
3737 * gfileinputstream.h:
3740 * gfilenamecompleter.c:
3741 * gfilenamecompleter.h:
3742 * gfileoutputstream.c:
3743 * gfileoutputstream.h:
3744 * gfilterinputstream.c:
3745 * gfilterinputstream.h:
3746 * gfilteroutputstream.c:
3747 * gfilteroutputstream.h:
3760 * glocalfileoutputstream.c:
3761 * gmemoryinputstream.c:
3762 * gmemoryinputstream.h:
3763 * gmemoryoutputstream.c:
3764 * gmemoryoutputstream.h:
3765 * gmountoperation.c:
3766 * gmountoperation.h:
3769 * gpollfilemonitor.c:
3772 * gsimpleasyncresult.c:
3773 * gsimpleasyncresult.h:
3774 * gsocketinputstream.c:
3775 * gsocketinputstream.h:
3776 * gsocketoutputstream.c:
3777 * gsocketoutputstream.h:
3784 * gunixvolumemonitor.c:
3793 Bumps documentation to 93% symbol coverage, touching most
3794 of the public files. Fixes broken function documentation prototypes.
3795 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3796 gtk-doc headers in private files.
3798 2007-11-27 Jürg Billeter <j@bitron.ch>
3800 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3801 (g_buffered_input_stream_read_byte):
3802 * gbufferedinputstream.h:
3803 New functions for efficient access to buffer and simple single byte
3806 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3807 (g_data_input_stream_read_until):
3808 * gdatainputstream.h:
3809 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3810 read_until with multiple stop chars.
3812 2007-11-27 Alexander Larsson <alexl@redhat.com>
3816 * inotify/Makefile.am:
3817 Use the user-specified giomoduledir
3819 2007-11-27 Alexander Larsson <alexl@redhat.com>
3823 Add catch-all gio.h header
3824 Don't install gdummyfile.h
3826 2007-11-26 Alexander Larsson <alexl@redhat.com>
3828 * Makefile.am (gioinclude_HEADERS):
3829 Remove trailing whitespace
3831 2007-11-26 Alexander Larsson <alexl@redhat.com>
3833 Merge gio-standalone into glib
3835 2007-11-25 Christian Kellner <gicmo@gnome.org>
3837 * gio/goutputstream.c:
3838 Fix small mistake in the docs.
3840 2007-11-21 Christian Persch <chpe@gnome.org>
3842 * gio/glocalfile.c: (g_local_file_trash):
3843 Convert filenames to UTF-8 for GError.
3844 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3845 as per xdg base dir spec.
3847 2007-11-21 Christian Persch <chpe@gnome.org>
3849 * gio/gdesktopappinfo.c:
3850 Use that g_key_file_to_data cannot fail.
3852 Use stock defines for the key file group and key names.
3855 2007-11-21 Alexander Larsson <alexl@redhat.com>
3858 (copy_stream_with_progress):
3859 Make sure we do a final progress callback with
3860 the full total size.
3862 2007-11-21 Alexander Larsson <alexl@redhat.com>
3865 Export g_file_copy_attributes
3866 Remove padding as its not needed for interfaces
3868 2007-11-20 Alexander Larsson <alexl@redhat.com>
3873 Add G_IO_ERROR_WOULD_MERGE for
3874 copy/move dir on dir with overwrite.
3876 2007-11-20 Alexander Larsson <alexl@redhat.com>
3879 * gio/glocalfileinfo.c:
3880 Add COPY_NAME (this is an optional
3881 non-modified utf8 version of the name) that
3884 2007-11-20 Alexander Larsson <alexl@redhat.com>
3886 * gio/glocalfileenumerator.c:
3887 Report errors as GIOError, not GFileError
3889 2007-11-16 Alexander Larsson <alexl@redhat.com>
3891 * gio/glocalfileoutputstream.c:
3892 * gio/gwin32appinfo.c:
3893 Fix typos in strings.
3894 Patch from Luca Ferretti <elle.uca@libero.it>
3896 2007-11-15 Alexander Larsson <alexl@redhat.com>
3899 Post release version bump
3901 === gio-standalone 0.1.2 ===
3903 2007-11-15 Alexander Larsson <alexl@redhat.com>
3905 * docs/reference/gio/Makefile.am:
3906 Fix up distcheck by removing weird
3912 2007-11-14 Alexander Larsson <alexl@redhat.com>
3914 * gio/gdesktopappinfo.c:
3915 * gio/glocaldirectorymonitor.c:
3917 * gio/glocalfileinfo.c:
3918 * gio/inotify/inotify-sub.c:
3919 * programs/gio-cat.c:
3920 * programs/gio-copy.c:
3921 * programs/gio-info.c:
3922 * programs/gio-ls.c:
3923 * programs/gio-monitor-dir.c:
3924 * programs/gio-monitor-file.c:
3925 * programs/gio-mount.c:
3926 * programs/gio-move.c:
3927 * programs/gio-rm.c:
3928 * programs/gio-save.c:
3929 * programs/gio-trash.c:
3930 Leak fixes from Kjartan Maraas
3932 2007-11-14 Alexander Larsson <alexl@redhat.com>
3934 * gio/fam/fam-helper.c:
3936 * gio/glocalfileinfo.c:
3940 * gio/inotify/inotify-diag.c:
3941 * gio/inotify/inotify-kernel.c:
3942 Various code cleanups from Kjartan Maraas
3944 2007-11-14 Alexander Larsson <alexl@redhat.com>
3946 * gio/gioscheduler.c:
3948 Set up threadpool so that we cache 2 unused
3949 idle threads for at 15 secs. This means we
3950 will reuse thread-local data (like dbus connections)
3953 2007-11-14 Alexander Larsson <alexl@redhat.com>
3955 * gio/fam/fam-helper.c:
3956 * gio/fam/gfamdirectorymonitor.c:
3957 * gio/fam/gfamfilemonitor.c:
3959 * gio/gcontenttype.c:
3960 * gio/gdatainputstream.c:
3961 * gio/gdataoutputstream.c:
3965 * gio/gfileattribute.h:
3966 * gio/gfileenumerator.c:
3968 * gio/ginputstream.c:
3971 * gio/glocalfileinfo.c:
3972 * gio/goutputstream.c:
3973 * gio/gpollfilemonitor.c:
3974 * gio/gsimpleasyncresult.c:
3975 * gio/gunixmounts.c:
3976 * gio/gunixmounts.h:
3977 * gio/inotify/ginotifydirectorymonitor.c:
3978 * gio/inotify/ginotifyfilemonitor.c:
3979 * gio/inotify/inotify-diag.c:
3980 * gio/inotify/inotify-kernel.c:
3981 * gio/inotify/inotify-path.c:
3983 * gio/test-streams.c:
3984 * programs/gio-info.c:
3985 * programs/gio-monitor-dir.c:
3986 * programs/gio-monitor-file.c:
3987 Various code cleanups from Kjartan Maraas
3989 2007-11-13 Alexander Larsson <alexl@redhat.com>
3992 Handle the uri-scheme calls for dummy files
3994 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3996 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3997 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3998 to avoid clash with the C++ keyword.
4000 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4002 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4003 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4005 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4007 * gio/glocaldirectorymonitor.c:
4008 * gio/glocalfilemonitor.c:
4009 * gio/gunionvolumemonitor.c:
4010 Don't use g_once_init_*() for initializations that could fail and
4011 could leave the initialization variable set to 0 but use GOnce.
4012 This prevents a deadlock on the second call when trying to create
4013 a monitor and no monitor type is available. Thanks to Sven Herzberg
4016 2007-11-11 Sven Herzberg <sven@imendio.com>
4018 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4019 #ifdef (make it work on MacOS X again)
4021 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4023 Fixes Changelog for last two commits (sorry guys).
4025 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4027 * gio/gbufferedinputstream.c:
4028 * gio/gdatainputstream.c:
4030 * gio/gfileoutputstream.c:
4031 * gio/gfilterinputstream.c:
4032 * gio/glocalfileinputstream.c:
4035 More consistency fixes in g*stream.c files.
4036 Significant clean of gfile's documentation, filling in of
4037 asynchronous operations documentation.
4039 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4041 * gio/gasyncresult.c:
4042 * gio/gbufferedinputstream.c:
4043 * gio/gbufferedoutputstream.c:
4044 * gio/gcancellable.c:
4045 * gio/gcontenttype.c:
4046 * gio/gdatainputstream.c:
4047 * gio/gdataoutputstream.c:
4048 * gio/gdesktopappinfo.c:
4051 * gio/gfileattribute.c:
4052 * gio/gio/gfileenumerator.c:
4054 * gio/gfileinputstream.c:
4055 * gio/gfilemonitor.c:
4056 * gio/gfileoutputstream.c:
4057 * gio/ginputstream.c:
4059 * gio/gioscheduler.c:
4060 * gio/gloadableicon.c:
4061 * gio/glocalfileoutputstream.c:
4062 * gio/gmemoryoutputstream.c:
4063 * gio/gmountoperation.c:
4064 * gio/goutputstream.c:
4066 * gio/gsimpleasyncresult.c:
4067 * gio/gunionvolumemonitor.c:
4068 * gio/gunixmounts.c:
4069 * gio/gunixvolume.c:
4073 * gio/gvolumemonitor.c:
4074 Updated documentation stubs, working towards consistency and
4077 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4079 * gio/gmemoryoutputstream.c:
4080 * gio/gmemoryoutputstream.h:
4081 Change g_memory_output_stream_set_free_on_close() to
4082 g_memory_output_stream_set_free_data() as this makes more sense and
4083 is more consistent with GMemoryInputStream.
4085 2007-11-07 Alexander Larsson <alexl@redhat.com>
4092 Change how we find the default vfs so that
4093 we can handle a gvfs failing to init
4095 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4097 * gio/gbufferedoutputstream.c:
4098 * gio/gdatainputstream.c:
4099 * gio/gdataoutputstream.c:
4100 * gio/gfileinputstream.c:
4101 * gio/gfileoutputstream.c:
4102 * gio/gfilterinputstream.c:
4103 * gio/gfilteroutputstream.c:
4104 * gio/ginputstream.c:
4105 * gio/gmemoryinputstream.c:
4106 * gio/gmemoryoutputstream.c:
4107 * gio/goutputstream.c:
4108 * gio/gsimpleasyncresult.c:
4109 * gio/gsocketinputstream.c:
4110 * gio/gsocketoutputstream.c:
4111 Add guards to the remaining public functions, add a TODO for
4112 an unimplemented function and remove some useless guards.
4114 2007-11-07 Alexander Larsson <alexl@redhat.com>
4117 Autoconf checks for the various types of
4118 getpwuid_r and getgrgid_r
4120 * gio/glocalfileinfo.c:
4121 Use the autoconf checks from above
4123 2007-11-07 Alexander Larsson <alexl@redhat.com>
4126 (g_local_file_query_filesystem_info):
4127 Some fixes for the statvfs case
4129 2007-11-07 Alexander Larsson <alexl@redhat.com>
4132 (g_local_file_query_filesystem_info):
4133 Pick the "best" of statfs / statvfs for the system
4134 if both are availible.
4136 2007-11-07 Alexander Larsson <alexl@redhat.com>
4138 Solaris fixes from Halton.Huo@Sun.COM:
4145 * gio/glocalfileinfo.c:
4146 Fix for solaris definition of getpwuid_r
4148 * gio/test-streams.c:
4149 Use G_GNUC_PRETTY_FUNCTION
4151 2007-11-07 Alexander Larsson <alexl@redhat.com>
4153 * gio/gdesktopappinfo.c:
4154 (update_default_list):
4155 Remove double semicolon.
4156 Patch from Jens Granseuer
4158 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4160 * docs/reference/gio/gio-sections.txt:
4161 * gio/gbufferedinputstream.c:
4162 * gio/gbufferedinputstream.h:
4163 * gio/gdatainputstream.c:
4164 * gio/gfileenumerator.c:
4165 * gio/gioscheduler.c:
4166 * gio/gunionvolumemonitor.c:
4168 * programs/gio-save.c:
4169 Fix typo: availible -> available. Unfortuntely this breaks API
4170 and ABI as g_buffered_input_stream_get_available() was renamed.
4172 * gio/gunixmounts.c:
4173 * gio/gbufferedinputstream.c:
4174 Add guards for public functions.
4176 2007-11-06 Ross Burton <ross@openedhand.com>
4178 * docs/reference/gio/Makefile.am:
4179 Fix invalid += usage which automake 1.10 doesn't like.
4181 2007-11-06 Alexander Larsson <alexl@redhat.com>
4184 (g_app_launch_context_class_init):
4187 Patch from Ross Burton
4189 2007-11-06 Alexander Larsson <alexl@redhat.com>
4192 Post release version bump
4194 === gio-standalone 0.1.1 ===
4196 2007-11-06 Alexander Larsson <alexl@redhat.com>
4199 Bump version to 0.1.1
4201 * gio/gsimpleasyncresult.c:
4202 (g_simple_async_result_set_from_error):
4203 Remove bogus g_return_if_fail
4205 2007-11-06 Alexander Larsson <alexl@redhat.com>
4208 The name is gio-standalone
4211 Add top src/builddir to includedir
4213 2007-11-06 Alexander Larsson <alexl@redhat.com>
4215 * docs/reference/gio/gio-sections.txt:
4217 * gio/gbufferedinputstream.c:
4218 * gio/gbufferedoutputstream.c:
4219 * gio/gcancellable.c:
4220 * gio/gdatainputstream.h:
4221 * gio/gdataoutputstream.c:
4222 * gio/gdataoutputstream.h:
4223 * gio/gdirectorymonitor.c:
4225 * gio/gfileattribute.c:
4226 * gio/gfileattribute.h:
4227 * gio/gfileenumerator.c:
4228 * gio/gfileenumerator.h:
4231 * gio/gfileinputstream.h:
4232 * gio/gfilemonitor.c:
4233 * gio/gfileoutputstream.h:
4234 * gio/glocalfilemonitor.h:
4235 * gio/glocalfileoutputstream.h:
4236 * gio/gmemoryinputstream.c:
4237 * gio/gmemoryoutputstream.c:
4238 * gio/gmountoperation.c:
4239 * gio/goutputstream.c:
4240 * gio/goutputstream.h:
4242 * gio/gsimpleasyncresult.c:
4243 * gio/gunixmounts.c:
4244 * gio/gunixmounts.h:
4246 * gio/inotify/inotify-helper.c:
4247 Fix gtk-doc warnings
4249 Patch from Ross Burton
4251 2007-11-06 Alexander Larsson <alexl@redhat.com>
4253 * gio/gfilenamecompleter.c:
4254 (g_filename_completer_get_completions):
4257 * gio/gunixvolume.c:
4258 Remove unused function
4260 Patches from Ross Burton
4262 2007-11-06 Alexander Larsson <alexl@redhat.com>
4267 Padding not needed for interfaces
4269 2007-11-06 Alexander Larsson <alexl@redhat.com>
4271 * gio/gfilemonitor.c:
4275 Make giotypes.h an internal file
4278 * gio/gbufferedinputstream.h:
4279 * gio/gbufferedoutputstream.h:
4280 * gio/gcancellable.h:
4281 * gio/gdatainputstream.h:
4282 * gio/gdataoutputstream.h:
4283 * gio/gdirectorymonitor.c:
4284 * gio/gdirectorymonitor.h:
4289 * gio/gfileattribute.h:
4290 * gio/gfileenumerator.h:
4295 * gio/gfilemonitor.c:
4296 * gio/gfilemonitor.h:
4297 * gio/gfilenamecompleter.c:
4298 * gio/gfilenamecompleter.h:
4299 * gio/gfilterinputstream.h:
4300 * gio/gfilteroutputstream.h:
4301 * gio/ginputstream.h:
4302 * gio/gmemoryinputstream.h:
4303 * gio/gmemoryoutputstream.h:
4304 * gio/gmountoperation.c:
4305 * gio/gmountoperation.h:
4306 * gio/gnativevolumemonitor.c:
4307 * gio/goutputstream.h:
4310 * gio/gsimpleasyncresult.c:
4311 * gio/gsimpleasyncresult.h:
4312 * gio/gsocketinputstream.h:
4313 * gio/gsocketoutputstream.h:
4314 * gio/gthemedicon.c:
4315 * gio/gthemedicon.h:
4319 * gio/gvolumemonitor.c:
4320 * gio/gvolumemonitor.h:
4321 Add padding in classes where it seems useful
4322 Don't include giotypes.h from public headers
4323 Move in Class definitions into c file where possible
4328 2007-11-06 Alexander Larsson <alexl@redhat.com>
4330 * docs/reference/gio/gio-docs.xml:
4331 Better structure for API docs
4333 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4336 * gio/gloadableicon.c:
4337 * gio/gsimpleasyncresult.c:
4338 * gio/gthemedicon.c:
4339 Add some more guards to public functions. Only files missing are now
4342 2007-11-06 Alexander Larsson <alexl@redhat.com>
4344 * docs/reference/gio/gio-docs.xml:
4345 Remove old files, add missing ones
4347 2007-11-06 Alexander Larsson <alexl@redhat.com>
4349 * docs/reference/gio/gio-sections.txt:
4352 Hide implementation classes
4354 * gio/gdriveprivate.h:
4355 * gio/gvolumeprivate.h:
4356 Remove non-existing function declarations
4358 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4361 Fix compilation warnings and add guards to the new functions.
4363 * gio/gasyncresult.c:
4365 Add guards to the public functions.
4368 Implement get_path().
4370 2007-11-06 Alexander Larsson <alexl@redhat.com>
4372 * gio/gfilenamecompleter.c:
4373 Make g_filename_completer_get_completions
4374 return char ** instead of GList for
4377 * docs/reference/gio/gio-docs.xml:
4378 * docs/reference/gio/gio-sections.txt:
4380 * gio/gasyncresult.c:
4381 * gio/gbufferedinputstream.c:
4382 * gio/gbufferedoutputstream.c:
4383 * gio/gcancellable.c:
4384 * gio/gcontenttype.c:
4385 * gio/gdatainputstream.c:
4386 * gio/gdataoutputstream.c:
4387 * gio/gdesktopappinfo.c:
4388 * gio/gdirectorymonitor.c:
4392 * gio/gfileattribute.c:
4393 * gio/gfileenumerator.c:
4396 * gio/gfileinputstream.c:
4397 * gio/gfilemonitor.c:
4398 * gio/gfilenamecompleter.c:
4399 * gio/gfilenamecompleter.h:
4400 * gio/gfileoutputstream.c:
4401 * gio/gfilterinputstream.c:
4403 * gio/ginputstream.c:
4405 * gio/gioscheduler.c:
4406 * gio/gloadableicon.c:
4407 * gio/glocaldirectorymonitor.c:
4409 * gio/glocalfileinputstream.c:
4410 * gio/glocalfilemonitor.c:
4411 * gio/glocalfileoutputstream.c:
4413 * gio/gmemoryinputstream.c:
4414 * gio/gmemoryoutputstream.c:
4415 * gio/gmountoperation.c:
4416 * gio/goutputstream.c:
4417 * gio/gpollfilemonitor.c:
4419 * gio/gsimpleasyncresult.c:
4420 * gio/gsocketinputstream.c:
4421 * gio/gsocketoutputstream.c:
4422 * gio/gthemedicon.c:
4423 * gio/gunionvolumemonitor.c:
4425 * gio/gunixmounts.c:
4426 * gio/gunixvolume.c:
4427 * gio/gunixvolumemonitor.c:
4431 * gio/gvolumemonitor.c:
4432 * gio/gwin32appinfo.c:
4433 Add (mostly stub) doc strings to public functions.
4434 Patch from Andrew Walton (awalton@gmail.com)
4436 2007-11-06 Alexander Larsson <alexl@redhat.com>
4438 * gio/gappinfo.[ch]:
4439 Added GAppLaunchContext object and pass that to launch.
4440 This allows simple implementation of both
4441 launch-on-screen and startup notification via a gtk+
4442 subclass of GAppLaunchContext
4444 * gio/gdesktopappinfo.c:
4445 Implement GAppLaunchContext API
4447 * gio/gwin32appinfo.c:
4450 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/gmountoperation.c:
4453 Add some guards to GMountOperation's public functions.
4455 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4459 * gio/gcancellable.c:
4460 * gio/gdirectorymonitor.c:
4462 * gio/gfileenumerator.c:
4463 * gio/gfilemonitor.c:,
4464 * gio/gfilenamecompleter.c:
4467 * gio/gioscheduler.c:
4471 * gio/gvolumemonitor.c:
4472 Add even more guards to various public functions.
4474 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4477 Add guards to the public functions of GAppInfo.
4479 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4481 * gio/gcontenttype.c:
4482 Add some more guards for public functions.
4484 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4486 * gio/fam/fam-module.c:
4487 * gio/fam/gfamdirectorymonitor.c:
4488 * gio/fam/gfamdirectorymonitor.h:
4489 * gio/fam/gfamfilemonitor.c:
4490 * gio/fam/gfamfilemonitor.h:
4491 * gio/inotify/ginotifydirectorymonitor.c:
4492 * gio/inotify/ginotifydirectorymonitor.h:
4493 * gio/inotify/ginotifyfilemonitor.c:
4494 * gio/inotify/ginotifyfilemonitor.h:
4495 Add proper copyright information and remove an unused variable
4496 in the GInotifyFileMonitor constructor.
4498 * gio/gcancellable.c:
4499 Add a guard for a public function and an assertion to prevent
4500 an undefined program state.
4502 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4504 * gio/gfileattribute.c:
4505 Don't run into an assertion if the given attribute value is NULL
4506 in g_file_attribute_value_get_*() but instead return a fallback
4507 value that makes sense in most situations. Passing them a attribute
4508 value with the wrong type will still run into an assertion.
4510 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gio/gfileattribute.c:
4514 Add even more guards to the public functions. Also fix the refcounting
4515 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4516 let g_file_info_list_attributes() filter the attributes by namespace
4517 instead of simply ignoring the namespace parameter.
4519 2007-11-03 Sven Herzberg <sven@imendio.com>
4521 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4522 (This makes gio work on MacOS X again)
4524 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4527 Build the gio subdirectory before the docs. Otherwise the build will
4530 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4531 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4532 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4533 Add guards to the public functions.
4535 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4537 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4538 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4539 to prevent a compiler warning.
4541 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4542 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4543 return something in the non-void function find_topdir_for().
4545 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4552 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4554 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4555 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4556 * gwin32appinfo.c (g_win32_app_info_launch):
4557 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4558 envp_for_startup_id, g_desktop_app_info_launch,
4559 g_desktop_app_info_launch_uris):
4561 Give an opaque 'startup_id' string instead of 'envp'.
4562 Support empty file lists for launching new windows.
4563 Fix infinite recursion bug when launching URIs.
4565 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4568 Add guard to the new g_file_get_uri_scheme() function.
4570 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4573 Convert a g_return_val_if_fail() to setting the GError instead as
4574 otherwise applications have to verify the parameter before otherwise
4575 and the parameter might come directly from the user.
4577 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4579 * gio/inotify/ginotify*.[ch]:
4580 Add missing copyright information.
4582 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4585 Add guards in the beginning of public functions to check for valid
4586 parameters and fix a bug in copy_stream_with_progress() that could've
4587 caused writing less bytes than reading.
4588 * gio/glocalfileinfo.c:
4589 Check for a NULL parameter and set the GError accordingly then.
4590 * gio/goutputstream.c:
4591 Fix the same bug as in gfile.c that could've caused writing less bytes
4592 than reading in g_output_stream_real_splice().
4594 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4597 Use the correct gvolumeprivate.h naming
4599 2007-11-01 Christian Kellner <gicmo@gnome.org>
4602 Remove leftover "$(daemon_sources)" entry.
4604 2007-11-01 Christian Kellner <gicmo@gnome.org>
4609 Add copyright information to source files.
4611 2007-11-01 Alexander Larsson <alexl@redhat.com>
4615 Add g_file_get_uri_scheme
4617 2007-11-01 Alexander Larsson <alexl@redhat.com>
4620 * gio/gdesktopappinfo.c:
4621 * gio/gwin32appinfo.c:
4622 Add g_app_info_get_default_for_uri_scheme.
4624 2007-11-01 Alexander Larsson <alexl@redhat.com>
4627 Correct filename for gdriveprivate.h
4629 2007-10-31 Alexander Larsson <alexl@redhat.com>
4632 Rename id:value to id:file
4635 * gio/glocalfileinfo.c:
4638 2007-10-31 Alexander Larsson <alexl@redhat.com>
4640 * gio/gunixvolume.c:
4642 Remove g_volume_get_platform_id, as thats not
4643 needed with the simpler union volume monitor
4645 2007-10-31 Alexander Larsson <alexl@redhat.com>
4648 * gio/guniondrive.[ch]: Removed.
4649 * gio/gunionvolume.[ch]: Removed.
4650 Remove GUnionDrive/Volume
4652 * gio/gunionvolumemonitor.c:
4653 Simplify union volume monitor, now we
4654 only have one native volume monitor and
4655 we use the actual volumes/drives from the
4656 child monitors instead of wrapping them
4658 * gio/gnativevolumemonitor.[ch]:
4659 Base class for native volume monitors.
4660 Includes priority and get_volume_for_mountpoint
4663 Add g_file_find_enclosing_volume
4666 Remove volume name fs attribute
4667 Add readonly fs attribute
4670 Implement readonly attribute
4671 remove volume name attribute
4672 Implement find_enclosing volume
4674 * gio/gunixmounts.c:
4675 Add a volume for "/".
4677 * gio/gunixvolume.[ch]:
4678 Set better name for /
4680 * gio/gunixvolumemonitor.[ch]:
4681 Derive from GNativeVolumeMonitor
4682 Implement get_volume_for_mountpoint
4685 GVolume typedef moved to gfile.h
4687 * gio/gvolumeprivate.h:
4688 Add g_volume_get_for_mount_path
4690 2007-10-31 Alexander Larsson <alexl@redhat.com>
4692 * gio/gunixmounts.[ch]:
4693 Add cache info to unix mount listers
4694 Make getmntent use threadsafe
4695 Add is_system_internal attribute for GUnixMount
4697 * gio/gunixvolume.c:
4698 (g_unix_volume_new):
4699 Use is_system_internal instead of own code
4701 * gio/glocaldirectorymonitor.c:
4702 * gio/gunixvolumemonitor.c:
4703 Update to new gunixmounts API
4708 2007-10-30 Alexander Larsson <alexl@redhat.com>
4711 Add volume name fsinfo attribute
4714 Read volume name info
4716 * gio/gunionvolumemonitor.c:
4717 Fix infinite loops when finalizing a union volume monitor
4719 2007-10-30 Alexander Larsson <alexl@redhat.com>
4721 * gio/goutputstream.[ch]:
4722 Add splice() with default implementation
4724 * gio/gsocketoutputstream.c:
4725 (g_socket_output_stream_write):
4726 Return error on cancellation correctly.
4728 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4730 * gio/glocalfile.c (g_local_file_trash):
4731 Do not leak a string.
4733 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4735 * gio/gfile.c (g_file_load_contents):
4736 Unref the stream after closing it.
4738 2007-10-25 Alexander Larsson <alexl@redhat.com>
4740 * gio/gioscheduler.h:
4743 2007-10-25 Alexander Larsson <alexl@redhat.com>
4747 Add g_file_has_uri_scheme and implement for local files
4749 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4751 * gio/gdesktopappinfo.c: do not leak a string.
4753 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4755 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4756 (g_local_directory_monitor_new):
4757 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4758 (g_local_file_monitor_new):
4759 Only look for the monitor type that should be used the first time
4760 and use g_qsort_with_data() instead of our own bubble sort
4763 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4766 * gio/fam/Makefile.am:
4767 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4768 * gio/fam/fam-helper.h:
4769 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4770 * gio/fam/gfamdirectorymonitor.c:
4771 * gio/fam/gfamdirectorymonitor.h:
4772 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4773 * gio/fam/gfamfilemonitor.h:
4774 * gio/glocaldirectorymonitor.c:
4775 * gio/glocaldirectorymonitor.h:
4776 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4777 * gio/glocalfilemonitor.h:
4778 * gio/inotify/Makefile.am:
4779 * gio/inotify/ginotifydirectorymonitor.c:
4780 * gio/inotify/ginotifydirectorymonitor.h:
4781 * gio/inotify/ginotifyfilemonitor.c:
4782 * gio/inotify/ginotifyfilemonitor.h:
4783 Implement the FAM and Inotify monitors as
4784 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4785 their own GIO module. GLocal(Directory|File)Monitor will use the
4786 monitor with the highest rank that is supported on that machine.
4788 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4791 Change GIO module dir to $(libdir)/gio/modules and change
4792 the log domain from GVFS to GIO. Also only export symbols starting
4793 with g_ in the resulting library.
4794 * gio/test-streams.c: (main):
4795 Set log handler for the GIO log domain.
4797 2007-10-22 Alexander Larsson <alexl@redhat.com>
4799 * gio/gfilenamecompleter.[ch]:
4800 Add g_filename_completer_set_dirs_only
4802 2007-10-22 Alexander Larsson <alexl@redhat.com>
4805 * gio/gurifuncs.[ch]:
4806 Add some simple URI helpers
4808 * gio/gfilenamecompleter.[ch]:
4809 Added object for filename (parse name actually) completion
4812 Handle ~ in parse names
4814 2007-10-17 Alexander Larsson <alexl@redhat.com>
4817 * gio/glocalfileinfo.c:
4818 Add and implement id:value attribute
4820 2007-10-17 Alexander Larsson <alexl@redhat.com>
4823 * gio/guniondrive.c:
4825 Add and implement g_drive_has_volumes
4827 2007-10-17 Alexander Larsson <alexl@redhat.com>
4830 * gio/glocalfileinfo.[ch]:
4831 Add unix:is_mountpoint and implement for local files
4833 2007-10-16 Alexander Larsson <alexl@redhat.com>
4835 * gio/gunionvolumemonitor.c:
4836 (g_union_volume_monitor_init):
4837 Fix up the unix type getting so that it works with gcc
4839 2007-10-12 Alexander Larsson <alexl@redhat.com>
4842 * gio/glocalfileinfo.c:
4843 Add thumbnail:failed to file info
4845 2007-10-12 Richard Hult <richard@imendio.com>
4847 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4848 optimizing away the get_type call (happens with some gcc versions,
4849 like the one shipped with OS X 10.4).
4851 2007-10-12 Alexander Larsson <alexl@redhat.com>
4853 * gio/glocalfileinfo.c:
4854 (_g_local_file_info_set_attribute):
4855 Fix build if not HAVE_XATTR
4856 Patch from Milosz Derezynski <internalerror@gmail.com>
4858 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4860 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4861 around for review, otherwise I would have asked you before
4864 2007-10-11 Alexander Larsson <alexl@redhat.com>
4867 Add thumbnail:path attribute
4869 * gio/glocalfileinfo.c:
4870 Implement thumbnail:path for local files
4872 2007-10-11 Alexander Larsson <alexl@redhat.com>
4874 * gio/glocalfileinfo.c:
4875 (_g_local_file_info_get):
4876 Avoid duplicate icon names
4878 2007-10-11 Alexander Larsson <alexl@redhat.com>
4880 * gio/gthemedicon.[ch]:
4881 Change g_themed_icon_get_names return type to const
4883 2007-10-10 Alexander Larsson <alexl@redhat.com>
4885 * gio/glocalfileinfo.c:
4886 Don't reference freed memory
4888 2007-10-10 Alexander Larsson <alexl@redhat.com>
4890 * gio/gfileattribute.c:
4893 * gio/glocalfileinfo.c:
4896 2007-10-10 Alexander Larsson <alexl@redhat.com>
4899 Check for NULL icons
4901 * gio/gfileattribute.c:
4902 Don't dup when getting objects (same as for string attributes)
4904 * gio/gicon.c (g_icon_equal):
4905 Safely handle NULLs in equal
4907 2007-10-10 Alexander Larsson <alexl@redhat.com>
4910 Fix c++ compilation issues
4911 Patch from Milosz Derezynski <internalerror@gmail.com>
4913 2007-10-10 Alexander Larsson <alexl@redhat.com>
4915 * programs/gio-monitor-dir.c:
4916 Don't crash if dir monitor not supported.
4918 2007-10-09 Alexander Larsson <alexl@redhat.com>
4921 Add missing G_END_DECLS
4923 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4925 * gio/gfile.c: (g_file_set_display_name),
4926 (g_file_query_settable_attributes),
4927 (g_file_query_writable_namespaces):
4928 Return NULL not FALSE on errors as the return type is a pointer.
4930 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4932 * gio/glocalfile.c: (g_local_file_monitor_file):
4933 Don't call monitor_file on the default interface vtable (which
4934 is NULL) but simply return NULL. The caller, GFile, will create a
4935 polling monitor if NULL is returned.
4937 2007-10-09 Alexander Larsson <alexl@redhat.com>
4941 * gio-unix-2.0.pc.in:
4942 Add gio-unix-2.0.pc if OS_UNIX
4945 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4947 2007-10-09 Alexander Larsson <alexl@redhat.com>
4949 * gio/gunixmounts.[ch]:
4950 Make unix mount monitoring API sane.
4951 Now its just a object with mounts_changed
4952 and mountpoints_changed signals.
4954 * gio/glocaldirectorymonitor.c:
4955 * gio/gunixvolumemonitor.c:
4956 Use new mount monitor api
4958 2007-10-09 Alexander Larsson <alexl@redhat.com>
4960 * gio/gunixmounts.[ch]:
4961 Move guess type into one call for mounts and one for mountpoints
4964 * gio/gunixvolume.c:
4967 2007-10-09 Alexander Larsson <alexl@redhat.com>
4969 * gio/gunixmounts.[ch]:
4970 Remove _ prefix in preparation to make this semi-public
4971 Hide implementation of structs
4973 * gio/glocaldirectorymonitor.c:
4975 * gio/gunixvolume.c:
4976 * gio/gunixvolumemonitor.c:
4977 Update for above API changes
4979 2007-10-08 Alexander Larsson <alexl@redhat.com>
4982 Better polling fallback. This also handles the case where we have
4983 a monitor_file implementation, but it fails.
4985 2007-10-08 Alexander Larsson <alexl@redhat.com>
4989 * gio/gunixmounts.c:
4990 * programs/gio-monitor-dir.c:
4991 * programs/gio-monitor-file.c:
4992 Added cancellable to file monitoring calls.
4993 These are really sync calls and need this.
4995 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4997 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4998 (g_local_vfs_class_init):
4999 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5000 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5002 2007-10-05 Alexander Larsson <alexl@redhat.com>
5004 * gio/gdirectorymonitorprivate.h:
5005 * gio/gfilemonitorprivate.h:
5006 * gio/gdirectorymonitor.h:
5007 * gio/gfilemonitor.h:
5008 Remove *private.h and move to the public API, so that
5009 we can do implementations outside gio (such as in gvfs)
5011 * gio/gdirectorymonitor.c:
5012 * gio/gfilemonitor.c:
5013 * gio/glocaldirectorymonitor.c:
5014 * gio/gpollfilemonitor.c:
5015 * gio/inotify/inotify-helper.c:
5016 * gio/fam/fam-helper.c:
5017 Update to the new header names
5019 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5021 * gio/gdirectorymonitor.c:
5022 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5025 2007-10-04 Alexander Larsson <alexl@redhat.com>
5027 * gio/glocalfileinfo.c (get_access_rights):
5028 Set CAN_TRASH when we can move the file.
5029 We should really also check for a parent trash dir.
5031 2007-10-04 Alexander Larsson <alexl@redhat.com>
5033 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5034 Add can_trash access attribute
5036 2007-10-04 Alexander Larsson <alexl@redhat.com>
5039 (g_local_file_trash):
5040 Create info file first. This is per-spec and allows
5041 us to actually trash directories.
5043 2007-10-02 Alexander Larsson <alexl@redhat.com>
5045 * gio/gdesktopappinfo.c:
5046 Implement the new mime support code.
5047 Always set app as handling mimetype when being set as default for it
5049 2007-10-01 Alexander Larsson <alexl@redhat.com>
5051 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5052 Fix up check for xattrs:
5054 2007-10-01 Alexander Larsson <alexl@redhat.com>
5057 (g_app_info_set_as_default_for_extension):
5058 (g_app_info_add_supports_type):
5059 (g_app_info_can_remove_supports_type):
5060 (g_app_info_remove_supports_type):
5061 Make these fail nicely if not implemented
5063 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5065 * gio/glocalfileoutputstream.c:
5066 * gio/glocalfileoutputstream.h:
5071 * programs/gio-save.c:
5072 Add a GFileCreateFlags argument to operations that can create
5075 2007-10-01 Alexander Larsson <alexl@redhat.com>
5077 * gio/gappinfo.[ch]:
5078 * gio/gdesktopappinfo.c:
5079 Add more (stubbed out) mime API needed for nautilus
5081 2007-10-01 Alexander Larsson <alexl@redhat.com>
5084 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5085 Add g_app_info_set_as_default_for_extension.
5087 * gio/gdesktopappinfo.c:
5088 Dummy for g_app_info_set_as_default_for_extension
5089 Support flags in g_app_info_create_from_commandline
5091 * gio/gwin32appinfo.c:
5093 Update for API changes
5095 * gio/gthemedicon.c:
5096 Properly NULL-terminate list of icon names
5098 2007-09-28 Alexander Larsson <alexl@redhat.com>
5100 * gio/gloadableicon.h:
5101 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5103 2007-09-28 Alexander Larsson <alexl@redhat.com>
5106 Install headers in $includedir/gio-standalone/
5108 * gio-2.0.pc.in: Added.
5109 * gio-standalone.pc.in: Removed.
5112 Renamed pkg-config file to match glib (for future move)
5113 Update to the new include dir
5116 Add more TODO comments
5118 2007-09-28 Alexander Larsson <alexl@redhat.com>
5120 * gio/gdesktopappinfo.[ch]:
5121 Expose new_from_filename
5122 Add getter for is_hidden and handle it better
5124 2007-09-28 Alexander Larsson <alexl@redhat.com>
5126 * gio/gfileinfo.[ch]:
5127 Rename g_file_size_format_for_display to
5128 g_format_file_size_for_display.
5129 Now it doesn't have the g_file prefix, so we
5130 can later move it to glib.
5132 2007-09-28 Alexander Larsson <alexl@redhat.com>
5134 * gio/gappinfo.[ch]:
5135 Add g_app_info_get_id and g_app_info_get_executable.
5136 Make all getters non-reffing
5137 Make g_app_info_launch take GFile arguments.
5138 Add must_support_uris argument to g_app_info_get_default_for_type.
5140 * gio/gwin32appinfo.c:
5141 Update to GAppInfo api changes
5143 * gio/gdesktopappinfo.c:
5144 Update to GAppInfo api changes
5145 Implement supports_xdg_startup_notify
5147 * gio/gfileicon.c (g_file_icon_get_file):
5148 Make getter non-reffing.
5153 2007-09-27 Alexander Larsson <alexl@redhat.com>
5155 * gio/gfileinfo.[ch]:
5156 Add g_file_size_format_for_display helper
5158 2007-09-27 Alexander Larsson <alexl@redhat.com>
5160 * gio/glocalfileinfo.c:
5161 Set UNIX_GID from gid, not from uid
5163 2007-09-27 Alexander Larsson <alexl@redhat.com>
5166 Add g_file_set_attributes_async
5168 2007-09-27 Alexander Larsson <alexl@redhat.com>
5170 * gio/glocalfile.c (g_local_file_set_display_name):
5171 Fix set_display_name to actually rename to the right place.
5172 Use lstat to look for existing files so we don't overwrite
5175 2007-09-26 Alexander Larsson <alexl@redhat.com>
5178 Add g_file_set_display_name_async()
5180 2007-09-26 Alexander Larsson <alexl@redhat.com>
5183 Add load_partial_contents async calls
5186 Make internal function static
5188 2007-09-26 Alexander Larsson <alexl@redhat.com>
5190 * gio/glocalfileinfo.c:
5191 Correctly detect broken symlinks
5193 2007-09-26 Alexander Larsson <alexl@redhat.com>
5195 * gio/gcancellable.c (g_cancellable_cancel):
5196 Allow cancel on NULL cancellable
5198 2007-09-25 Alexander Larsson <alexl@redhat.com>
5200 * gio/gsimpleasyncresult.c:
5201 Don't allocate g_error manually.
5202 Fixes g_slice/g_new mixup crash
5204 2007-09-25 Alexander Larsson <alexl@redhat.com>
5206 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5207 Actually set active_backend.
5208 This means the monitor will be cancelled correctly.
5210 2007-09-25 Alexander Larsson <alexl@redhat.com>
5212 * gio/gdirectorymonitor.c:
5213 Set timeout to NULL when destroying
5215 2007-09-25 Alexander Larsson <alexl@redhat.com>
5218 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5219 that is a better description of the error.
5221 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5223 * gio/gvfs.c: (g_vfs_get_local):
5224 Make the local vfs variable static. The same instance should
5227 2007-09-24 Alexander Larsson <alexl@redhat.com>
5229 * gio/glocalfileinfo.c:
5230 Pass in actual length read into sniffer, not the length
5233 2007-09-21 Alexander Larsson <alexl@redhat.com>
5235 * gio/gfileenumerator.c:
5238 * gio/gfileinputstream.c:
5239 * gio/gfileoutputstream.c:
5240 * gio/ginputstream.c:
5241 * gio/goutputstream.c:
5242 Don't crash if async callbacks are NULL
5244 2007-09-20 Alexander Larsson <alexl@redhat.com>
5247 Add async enumerate_children method and default
5250 2007-09-20 Alexander Larsson <alexl@redhat.com>
5253 Add g_file_contains_file & g_file_get_relative_path, since they
5254 were needed for nautilus.
5255 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5260 Implement new methods
5262 2007-09-17 Alexander Larsson <alexl@redhat.com>
5265 * gio/gfileinputstream.[ch]:
5266 * gio/gfileoutputstream.[ch]:
5268 * gio/glocalfileenumerator.[ch]:
5269 * gio/glocalfileinfo.[ch]:
5270 * gio/glocalfileinputstream.c:
5271 * gio/glocalfileoutputstream.c:
5272 * gio/gpollfilemonitor.c:
5273 * programs/gio-copy.c:
5274 * programs/gio-info.c:
5275 * programs/gio-move.c:
5276 Rename get_file_info to query_info() to make it clearer
5277 that these are not simple getters, but do i/o.
5279 2007-09-17 Alexander Larsson <alexl@redhat.com>
5281 * gio/gdatainputstream.[ch]:
5282 * gio/test-streams.c:
5283 Use _read_XXX instead of _get_XXX for the i/o calls
5286 2007-09-17 Alexander Larsson <alexl@redhat.com>
5289 Added needed stuff to TODO comment
5291 2007-09-17 Alexander Larsson <alexl@redhat.com>
5293 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5294 Don't error out removing the backup copy if it doesn't
5297 2007-09-14 Alexander Larsson <alexl@redhat.com>
5299 * programs/Makefile.am:
5300 * programs/gvfs-*.c:
5302 Renamed apps from gvfs-xxx to gio-xxx.
5304 2007-09-14 Alexander Larsson <alexl@redhat.com>
5307 * gio/gfileoutputstream.[ch]:
5308 * gio/glocalfileoutputstream.c:
5309 * programs/gvfs-save.c:
5310 g_file_output_stream_get_etag doesn't do i/o, so remove
5311 cancellation and error.
5313 2007-09-14 Alexander Larsson <alexl@redhat.com>
5316 Add new_etag output to replace_contents functions
5318 2007-09-14 Alexander Larsson <alexl@redhat.com>
5320 * gio/gfileoutputstream.[ch]:
5321 Add async get_file_info and default implementation
5323 2007-09-14 Alexander Larsson <alexl@redhat.com>
5325 * gio/gfileinputstream.c:
5326 Implement fallback wrapper for async get_file_info
5328 2007-09-14 Alexander Larsson <alexl@redhat.com>
5331 Add etag out argument to load_contents
5336 2007-09-14 Alexander Larsson <alexl@redhat.com>
5338 * gio/gcontenttype.c (looks_like_text):
5339 Whitespace like tab, cr and lf do not make the
5342 2007-09-14 Alexander Larsson <alexl@redhat.com>
5344 * gio/gfileinputstream.[ch]:
5345 Add async get_file_info.
5347 2007-09-13 Alexander Larsson <alexl@redhat.com>
5349 * gio/goutputstream.c (g_output_stream_write_all):
5350 Allow NULL for bytes_written
5352 2007-09-13 Alexander Larsson <alexl@redhat.com>
5354 * gio/gmemoryinputstream.[ch]:
5355 Add accessors for data
5357 2007-09-13 Alexander Larsson <alexl@redhat.com>
5359 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5360 Don't crash if length is NULL