1 2008-11-14 Matthias Clasen <mclasen@redhat.com>
3 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
5 2008-11-12 Tor Lillqvist <tml@novell.com>
7 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
9 * win32/gwinhttpvfs.h: Move the set of function pointers to
10 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
11 pointer to that in the GWinHttpVfsClass.
13 * win32/gwinhttpvfs.c: Move the lookup of functions from
14 winhttp.dll into a function of its own, that stores the pointers
15 in a separate GWinHttpDllFuncs variable. Add two bookeeping
16 booleans lookup_done and funcs_found.
18 Don't call g_io_extension_point_implement() to register the
19 winhttp extension unless winhttp.dll has been successfully loaded
20 and the required functions found in it.
22 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
23 winhttp.dll correspondingly.
25 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
27 reviewed by: Alexander Larsson <alexl@redhat.com>
29 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
30 clearer about the behavior when there's no more content to read.
32 2008-10-27 Federico Mena Quintero <federico@novell.com>
34 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
36 2008-10-27 Tor Lillqvist <tml@novell.com>
38 Bug 557592 - Missing include in gwinhttpfile.c
40 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
43 2008-10-24 Matthias Clasen <mclasen@redhat.com>
45 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
47 * fam/fam-helper.c: Fix a memory leak and formatting issues.
48 Reported by Daniel Marjamäki
50 2008-10-23 Matthias Clasen <mclasen@redhat.com>
52 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
54 2008-10-23 Alexander Larsson <alexl@redhat.com>
56 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
59 (_g_local_file_info_get):
60 Don't return the fallback icon (text-x-generic) for all files.
61 This is causing problems with theme icon lookup and custom mime
62 icons, as the generic fallback overrides custom mime icons in
65 This is a slight change as applications might not get an icon wher
66 they previously did. But there is no guarantee to get on neither before
67 or after this change, so it should not break applications. Changes
68 to nautilus and gtk+ will be done to manually use the generic fallback
69 icon if no icon is found, but this is only required for rare cases.
71 2008-10-21 Alexander Larsson <alexl@redhat.com>
74 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
76 2008-10-21 Alexander Larsson <alexl@redhat.com>
78 Bug 555740 - gicon serialization
79 Based on patch from David Zeuthen
83 Add g_icon_to_string() and g_icon_new_for_string().
89 Implement icon serialization for built-in icon types
93 Added GIcon serialization test
95 2008-10-16 Matthias Clasen <mclasen@redhat.com>
97 * === Released 2.19.0 ===
99 2008-10-16 Matthias Clasen <mclasen@redhat.com>
101 Bug 556422 – g_file_enumerator_next_file: unclear whether return
102 value needs to be freed
104 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
105 the return value docs. Pointed out by Armin Burgmeier
107 2008-10-14 Matthias Clasen <mclasen@redhat.com>
109 Bug 556334 – Warning when building without selinux support
111 * glocalfileinfo.c: Avoid compiler warnings when selinux is
112 disabled. Patch by Pascal Terjan
114 2008-10-14 Matthias Clasen <mclasen@redhat.com>
116 Bug 556335 – make check fails in abicheck.sh
118 * gio.symbols: Add g_file_attribute_info_list_get_type.
119 Pointed out by Pascal Terjan.
121 2008-10-13 Alexander Larsson <alexl@redhat.com>
124 When adding an application as handling a mime type (but
125 not as the default), copy the full list of desktop ids handling
126 that type in before adding the new one on the end of the list.
127 This means we're not accidentally changing the default by overriding
128 the info from the later directories in the search path.
130 Also, fixes small leak of removed_entries.
132 2008-10-12 David Zeuthen <davidz@redhat.com>
135 * gunionvolumemonitor.c:
137 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
139 2008-10-10 Alexander Larsson <alexl@redhat.com>
141 * gfileattribute.c (escape_byte_string):
142 Upper half of byte is >> 4, not >> 8.
143 Found by Kjartan Maraas via sparse
145 2008-10-10 Matthias Clasen <mclasen@redhat.com>
147 Bug 555711 – Wrong fallback order of mimetype icons
149 * gcontenttype.c: Don't prefer generic icons over
150 default mimetype icons.
152 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
153 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
155 Patch by Krysztof Kosiński
157 2008-10-10 Matthias Clasen <mclasen@redhat.com>
159 Bug 555121 – Improved build-time handling of gio module-dir
161 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
162 * Makefile.am: Create the module dir.
164 2008-10-10 Matthias Clasen <mclasen@redhat.com>
166 * gio/glocalfileinfo.c:
167 * gio/tests/live-g-file.c:
168 * gio/gsimpleasyncresult.c: Fix gcc warnings.
170 2008-10-09 Alexander Larsson <alexl@redhat.com>
172 * gunixinputstream.c (g_unix_input_stream_read):
173 Actually return -1 in case of cancelled, not old res value.
175 2008-10-06 Colin Walters <walters@verbum.org>
177 Bug 554745 - GFileAttributeInfoList should be boxed
179 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
180 for convenience of bindings.
181 * gio/gfileattribute.h: Prototype it.
183 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
185 Bug 554970 – segfault when update-desktop-database is not available
188 * gdesktopappinfo.c (run_update_command): Have the error set before
191 2008-10-01 David Zeuthen <davidz@redhat.com>
193 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
194 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
195 instead of the gio URI (such as sftp://foo/file.avi) when using
196 g_app_info_launch() and friends. With a sufficiently recent gvfs,
197 apps using gio+gvfs will map the FUSE file:// URI back to the gio
198 URI (and thus bypass the fuse daemon) thanks the patch from bug
199 #530654. Since Nautilus is an user of g_app_info_launch() it
200 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
201 when launced via the file manager. Win. Fixes bug #528670.
203 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
204 mapping to the description of GAppInfo.
206 2008-09-30 Tor Lillqvist <tml@novell.com>
208 * tests/Makefile.am: Build desktop-app-info only on Unix.
210 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
211 g_critical(). Pass a large enough result buffer to
212 GetVolumePathNameW(). Just use MAX_PATH.
214 2008-09-29 David Zeuthen <davidz@redhat.com>
216 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
218 2008-09-26 Dan Winship <danw@gnome.org>
220 * tests/data-input-stream.c:
221 * tests/data-output-stream.c:
222 * tests/live-g-file.c:
223 * tests/memory-input-stream.c:
224 * tests/memory-output-stream.c: Use g_assert_error() and
227 2008-09-26 Matthias Clasen <mclasen@redhat.com>
229 Bug 545350 – GAppInfo deletion
230 Bug 545351 – Reset associations for content type
233 * gappinfo.[hc]: New functions g_app_info_can_delete,
234 g_app_info_delete and g_app_info_reset_type_associations.
237 * gwin32appinfo.c: Implementations of these.
240 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
242 2008-09-26 Dan Winship <danw@gnome.org>
244 Bug 505361 – gunixinputstream.c assumes poll() available
245 Bug 509446 – portable blocking gio cancellation
247 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
248 GPollFD for a cancellable (which is slightly more complicated on
251 * gunixinputstream.c (g_unix_input_stream_read):
252 * gunixoutputstream.c (g_unix_output_stream_write): Use
253 g_cancellable_make_pollfd() and g_poll() rather than using poll()
256 * tests/unix-streams.c: test of GUnixInputStream,
257 GUnixOutputStream, and GCancellable.
259 2008-09-26 Dan Winship <danw@gnome.org>
261 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
262 cast to stop a gcc warning
264 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
267 2008-09-25 Dan Winship <danw@gnome.org>
269 Bug 553426 - cancellable clarifications
271 * gcancellable.c (g_cancellable_class_init): Add a note to the
272 "cancelled" signal docs warning about thread-safety issues
273 (g_cancellable_cancel): Note that cancelling an asynchronous
274 operation takes effect asynchronously, not immediately.
276 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
278 * gioenums.h: Add new GFileCopyFlag, to leave target file with
279 default perms, instead of setting the source file perms, in a copy
282 * gfile.c (g_file_copy_attributes)
283 (build_attribute_list_for_copy)
284 (should_copy): Not copy "unix::mode" attribute if we have received
285 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
287 2008-09-20 Matthias Clasen <mclasen@redhat.com>
289 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
291 2008-09-17 Matthias Clasen <mclasen@redhat.com>
293 * === Released 2.18.1 ===
295 2008-09-16 Michael Natterer <mitch@imendio.com>
297 * gcontenttype.c (g_content_type_guess): can't assign the return
298 value of g_strdupv() to an array. Fill the array manually with
299 const strings instead (it is never freed anyway). Fixes the
300 build. Also fixed indentation.
302 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
304 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
305 Fix trivial typo to unbreak the build (there was a colon
306 instead of a semicolon at the end of a statement).
308 2008-09-15 Matthias Clasen <mclasen@redhat.com>
310 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
313 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
316 2008-09-15 Matthias Clasen <mclasen@redhat.com>
318 Bug 551681 – g_content_type_guess() too naive with filenames
320 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
321 at the end of the filename, and declare it a directory.
322 Patch by Bastien Nocera
324 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
326 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
329 * gdesktopappinfo.c: add a note in the docs clarifying what the
330 "filename" parameter really is.
332 2008-09-12 Tor Lillqvist <tml@novell.com>
334 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
335 FormatMessage() etc here. Call g_win32_error_message() instead
336 which already does all that. Besides, the code was broken as it
337 called the default "A" version of FormatMessage() but still
338 thought it produced a wide string.
340 2008-09-12 Michael Natterer <mitch@imendio.com>
342 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
343 in the documentation.
345 2008-09-08 Christian Neumair <cneumair@gnome.org>
347 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
348 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
349 Use non-blocking pipe for mount helper I/O. Fixes #550647.
351 2008-09-06 Matthias Clasen <mclasen@redhat.com>
353 Bug 551149 – xdgmime mem leak
355 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
356 a memory leak. Patch by Christian Persch
358 2008-09-04 Tor Lillqvist <tml@novell.com>
360 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
363 2008-09-02 Matthias Clasen <mclasen@redhat.com>
365 * === Released 2.18.0 ===
367 2008-09-02 Michael Natterer <mitch@imendio.com>
369 * *.h: big header formatting cleanup: indentation, vtable
370 formatting, consistent spacing in (* vfunc), trailing whitespace
371 removal. Formatting should be pretty consistent in all GIO headers
374 2008-09-02 Matthias Clasen <mclasen@redhat.com>
376 * gmount.h: Document guess_content_type sync vfunc.
378 2008-09-02 Michael Natterer <mitch@imendio.com>
380 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
381 fix parent_class member to be GFilterOutputStreamClass (not
382 GOutputStreamClass). Drop three pointers of padding, which is
383 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
384 so the class struct size stays the same.
386 2008-09-02 Matthias Clasen <mclasen@redhat.com>
388 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
390 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
391 nonexisting return values. Pointed out by Cosimo Cecchi.
393 2008-08-23 Tor Lillqvist <tml@novell.com>
395 Bug 548988 - g_file_replace fails on Windows when the target file
398 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
399 Windows, close the file before potentially renaming it (in case we
400 have been writing to a file with a temporary name).
402 (g_local_file_output_stream_close, handle_overwrite_open): Use
403 GLocalFileStat instead of plain struct stat, for passing to
404 _g_local_file_info_create_etag(). Thus also use _fstati64()
405 instead of plain fstat() on Windows.
407 2008-08-18 Matthias Clasen <mclasen@redhat.com>
409 * === Released 2.17.7 ===
411 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
413 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
416 2008-08-13 Tor Lillqvist <tml@novell.com>
418 * win32/gwinhttpvfs.c
419 * win32/gwinhttpvfs.h
420 * win32/gwinhttpfile.c
421 * win32/gwinhttpfileinputstream.c
422 * win32/gwinhttpfileoutputstream.c: Refactor some common code
423 snippets into helper functions. Check HTTP response status
424 codes. Implement g_winhttp_file_query_info(), looking at
425 Content-Length, Content-Type and Last-Modified.
427 * win32/winhttp.h: Add some symbolic constants that are not
428 publicly documented. Just a handful, so it should be OK to use
429 information from the Windows SDK's headers.
431 2008-08-13 Tor Lillqvist <tml@novell.com>
433 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
436 * win32/gwin32directorymonitor.c
437 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
439 2008-08-13 Matthias Clasen <mclasen@redhat.com>
442 * goutputstream.c: Add intro docs.
444 2008-08-13 Tor Lillqvist <tml@novell.com>
446 * win32/gwinhttpfileoutputstream.c
447 (g_winhttp_file_output_stream_write): Don't write the
448 Content-Length header ourselves, WinHttpSendRequest() takes care
449 of that when the dwTotalLength parameter is non-zero. Increment
450 offset by the number of actual bytes sent, although I wonder if
451 such a scenario is possible where less than requested would be
452 sent and accepted by the server without errors.
454 2008-08-13 Tor Lillqvist <tml@novell.com>
456 * win32/gwinhttpvfs.c
457 * win32/gwinhttpvfs.h
458 * win32/gwinhttpfile.c
459 * win32/gwinhttpfile.h
460 * win32/gwinhttpfileinputstream.c
461 * win32/gwinhttpfileinputstream.h
462 * win32/gwinhttpfileoutputstream.c
463 * win32/gwinhttpfileoutputstream.h: New files implementing
464 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
465 Windows. The implementation uses the WinHttp API. Both reading and
466 writing are supported, i.e. GET and PUT requests. When writing,
467 each write call is done using a separate PUT request with a
468 Content-Range header. Requests for file URIs and plain pathnames
469 are forwarded to GLocalVfs.
471 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
472 WINE. Used as there is no <winhttp.h> bundled with mingw, and
473 requiring people to download the Windows SDK just for this one
474 header is not reasonable.
476 * win32/Makefile.am: Add above files.
478 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
479 the plumbing for the above.
481 2008-08-11 Sven Neumann <sven@gimp.org>
483 * gfilenamecompleter.c
484 * glocaldirectorymonitor.c
486 * gunionvolumemonitor.c
490 * gunixvolumemonitor.c
493 * gwin32volumemonitor.c: use canonical signal names.
495 2008-08-11 Tor Lillqvist <tml@novell.com>
497 * Makefile.am: Put a list of the platform-dependent .la files in
498 the subdirectories in the platform_deps Make variable, and make
499 libgio-2.0.la depend on that, so that it gets relinked if one of
500 the dependent libraries has changed.
502 2008-08-11 Tor Lillqvist <tml@novell.com>
504 * Makefile.am (platform_libadd): Remove -lwininet which had been
505 added by mistake. We will probably eventually be using WinHTTP,
506 not the older WinInet anyway. (Actually I am working on it.)
508 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
510 Bug 547080 – g_file_copy leaks expected errors
512 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
513 before trying the next fallback routine.
515 2008-08-09 Loïc Minier <lool@dooz.org>
517 Bug 535124 – umask 002 not being applied for new directories, new
518 files get the correct umask
520 * gfile.c (g_file_make_directory)
521 (g_file_make_directory_with_parents): Document ownership and
522 permissions of newly created directories as being the default
525 2008-08-08 Loïc Minier <lool@dooz.org>
527 Bug 535124 – umask 002 not being applied for new directories, new
528 files get the correct umask
530 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
533 2008-08-08 Tor Lillqvist <tml@novell.com>
535 * gwin32mount.c: Remove unused code. Whitespace cleanup.
537 * gwin32volumemonitor.c (get_connected_drives): Put questionable
538 code that didn't actually do anything inside #if 0, and add a
539 comment wondering what the code was supposed to do. This also gets
540 rid of a leftover debugging printout.
542 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
544 * gfileicon.c (g_file_icon_get_property)
545 (g_file_icon_set_property): New functions.
546 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
548 (g_file_icon_new): Use the property (bug #546132).
550 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
552 * gthemedicon.c (g_themed_icon_get_property): Also handle
553 `PROP_USE_DEFAULT_FALLBACKS'.
554 (g_themed_icon_class_init): Make
555 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
557 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
559 Bug 546371 – Improve docs re g_file_monitor
561 * gfilemonitor.c: Mention g_file_monitor() in the docs.
563 2008-08-04 Matthias Clasen <mclasen@redhat.com>
565 * === Released 2.17.6 ===
567 2008-08-04 Matthias Clasen <mclasen@redhat.com>
569 * === Released 2.17.5 ===
571 2008-08-04 Matthias Clasen <mclasen@redhat.com>
573 Bug 546017 – Don't copy attributes when copying a symlink
575 * gfile.c (g_file_copy_attributes): Specify
576 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
577 g_file_set_attributes_from_info. Patch by Christian Kellner
579 2008-08-04 Matthias Clasen <mclasen@redhat.com>
581 * gemblemedicon.[hc]:
583 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
584 a bit more extensible. Work by Clemens Buss.
586 * gioenums.h: Add GEmblemOrigin.
589 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
591 Bug 546079 – leak in xdgmime
593 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
595 2008-08-03 Tor Lillqvist <tml@novell.com>
597 * win32/gwin32directorymonitor.h
598 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
601 2008-08-03 Tor Lillqvist <tml@novell.com>
603 * win32/gwin32directorymonitor.c
604 (g_win32_directory_monitor_callback): Make prototype match
605 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
606 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
609 (g_win32_directory_monitor_constructor):
610 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
611 names in the GLib API on Windows, so convert to UTF-16 and open
614 2008-08-03 Tor Lillqvist <tml@novell.com>
616 Bug 541036 - Gnumeric crashes when trying to open Desktop or
617 user's folder under Windows
619 * win32/gwin32directorymonitor.c
620 (g_win32_directory_monitor_constructor): Ignore error from
621 CreateFile() when opening directory. Instead of asserting, just
622 store INVALID_HANDLE_VALUE then in
623 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
624 ReadDirectoryChangesW().
625 (g_win32_directory_monitor_cancel): Don't attempt to close
626 directory handle if it is INVALID_HANDLE_VALUE.
628 2008-08-01 Matthias Clasen <mclasen@redhat.com>
630 * gdesktopappinfo.c: Remove debug spew
632 2008-08-01 Hans Breuer <hans@breuer.org>
634 * makefile.msc : add gemblembedicon
636 2008-07-30 Matthias Clasen <mclasen@redhat.com>
638 Bug 545457 – gdmsetup crashed with SIGSEGV in
639 g_unix_mount_guess_should_display()
641 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
642 crash if no mount is found.
644 2008-07-28 Matthias Clasen <mclasen@redhat.com>
646 Bug 545203 – gfile.c: argument is different type.
648 * gfile.c (open_read_async_thread): Pass a GError **
649 to g_file_set_error_literal.
650 Reported by Kazuki Iwamoto
652 2008-07-28 Matthias Clasen <mclasen@redhat.com>
654 Bug 545157 – wrong/no list of "open with" applications for .cc and
657 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
658 Collect all ancestors, not just direct parents. Pointed
659 out by Bastien Nocera
661 2008-07-28 Matthias Clasen <mclasen@redhat.com>
663 * Makefile.am: Install gemblemedicon.h
665 2008-07-28 Matthias Clasen <mclasen@redhat.com>
667 * gemblemedicon.[hc]: Add a GIcon implementation that can
668 add an emblem to another icon.
675 * gfileicon.c: Small documentation additions.
677 2008-07-28 Tor Lillqvist <tml@novell.com>
679 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
682 2008-07-27 Tor Lillqvist <tml@novell.com>
684 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
686 2008-07-24 David Zeuthen <davidz@redhat.com>
690 Also export a g_mount_guess_content_type_sync() function.
692 2008-07-23 Matthias Clasen <mclasen@redhat.com>
694 529694 – SELinux context setting support
696 * gfileinfo.c: Support setting selinux attributes.
697 Patch by Tomas Bzatek
699 2008-07-22 Priit Laes <plaes@plaes.org>
701 Bug 544140 - fam-helper 64-bit issue?
703 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
705 2008-07-21 Matthias Clasen <mclasen@redhat.com>
707 * === Released 2.17.4 ===
709 2008-07-20 Matthias Clasen <mclasen@redhat.com>
711 * gvolumemonitor.[hc]:
716 * gmount.c: Documentation fixes
718 2008-07-19 Matthias Clasen <mclasen@redhat.com>
720 543504 – crash in Epiphany Web Browser: Opening local file
731 * gvolume.c: Register types thread-safely.
732 Patch by Christian Persch
734 2008-07-18 Matthias Clasen <mclasen@redhat.com>
736 * gcontenttype.c: Remove debug spew
738 2008-07-18 Matthias Clasen <mclasen@redhat.com>
740 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
743 * fen/fen-kernel.c: Remove a warning that was causing
744 crashes. Reported by Lin Ma.
746 2008-07-18 Matthias Clasen <mclasen@redhat.com>
748 Bug 543040 – async reading on dummy file will crash on
751 * gfile.c (open_read_async_thread): Cope with read_fn being
752 NULL. Reported by Lin Ma.
754 2008-07-18 Matthias Clasen <mclasen@redhat.com>
757 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
759 2008-07-16 Matthias Clasen <mclasen@redhat.com>
763 * giomodule.c: Rename a chapter id to avoid filename conflict.
765 2008-07-16 Matthias Clasen <mclasen@redhat.com>
767 Bug 540616 – mem leak in filechooser button
769 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
770 the mount entry. Reported by Chrisitan Persch
772 2008-07-16 Matthias Clasen <mclasen@redhat.com>
774 * gfile.c: Small documentation fixes.
776 2008-07-15 Matthias Clasen <mclasen@redhat.com>
778 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
780 2008-07-08 Matthias Clasen <mclasen@redhat.com>
785 * gmount.c: Documentation improvements.
787 2008-07-08 Matthias Clasen <mclasen@redhat.com>
790 * gmount.[hc]: Add g_mount_guess_content_type().
792 2008-07-06 David Zeuthen <davidz@redhat.com>
795 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
796 is needed for easily handling adoption of foreign volumes by
797 out-of-process volume monitors (#541793)
799 2008-07-06 David Zeuthen <davidz@redhat.com>
801 * gvolumemonitor.[ch]:
802 * gunionvolumemonitor.c: Export the eject-button signal on the
803 volume monitor class (#541794).
805 2008-07-06 Matthias Clasen <mclasen@redhat.com>
807 * gappinfo.c: More doc tweaks
809 2008-07-05 Matthias Clasen <mclasen@redhat.com>
811 * gappinfo.c: Clarify some docs
813 2008-07-03 Matthias Clasen <mclasen@redhat.com>
815 * gdesktopappinfo.c: Fix a stupid mistake.
817 2008-07-02 Matthias Clasen <mclasen@redhat.com>
819 * === Released 2.17.3 ===
821 2008-07-02 Matthias Clasen <mclasen@redhat.com>
823 * gfilemonitor.c: Fix the build.
825 2008-07-02 Matthias Clasen <mclasen@redhat.com>
827 Bug 536160 – Add g_file_monitor()
830 * gfile.[hc]: Add g_file_monitor which can return either
831 a file or a directory monitor. Proposed by Behdad Esfahbod
833 2008-07-02 Matthias Clasen <mclasen@redhat.com>
835 536733 – gio build failure on Irix
837 * glocalfile.c: Use a configure check for structfs.f_bavail.
839 2008-07-02 Matthias Clasen <mclasen@redhat.com>
841 Bug 534639 – add g_desktop_app_info_new_from_keyfile
844 * gdesktopappinfo.[hc]: Add a function to create a
845 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
847 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
849 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
851 2008-07-01 Matthias Clasen <mclasen@redhat.com>
853 * gunixmounts.c: Fix a doc typo.
855 2008-07-01 Cody Russell <bratsche@gnome.org>
857 * gio/gcontenttype.c:
858 * gio/gwin32appinfo.c:
859 * gio/gwin32volumemonitor.c:
860 * gio/gwin32mount.c: Fixed some include problems.
862 2008-07-01 Cody Russell <bratsche@gnome.org>
866 Moved all relevant typedefs into these files.
869 Updated wrt added files.
871 Split types into separate file for easier maintainership. (#538564)
873 2008-06-30 Matthias Clasen <mclasen@redhat.com>
875 Bug 540331 – g_file_append_to () documentation: can return NULL
877 * gfile.c (g_file_append_to): Clarify docs.
880 2008-06-30 Matthias Clasen <mclasen@redhat.com>
882 Bug 539090 – g_content_type_from_mime_type() should unalias
884 * gcontentype.c (g_content_type_from_mime_type): Unalias.
885 Patch by Markus Bergman
887 2008-06-30 Matthias Clasen <mclasen@redhat.com>
889 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
892 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
893 on ppc and alpha. Reported by Mart Raudsepp
895 2008-06-29 Matthias Clasen <mclasen@redhat.com>
898 * tests/memory-output-stream.c: Add some tests for
901 2008-06-29 Matthias Clasen <mclasen@redhat.com>
903 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
906 * gmemoryoutputstream.c (array_resize): Handle truncation to
907 zero correctly. Reported by Akira Tagoh
909 2008-06-29 Matthias Clasen <mclasen@redhat.com>
911 * gmemoryoutputstream.c: Trivial doc fixes
913 2008-06-29 Matthias Clasen <mclasen@redhat.com>
915 Bug 540802 – g_list_prepend doesn't concat lists
917 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
918 one list to another. Pointed out by Jan Arne Petersen
920 2008-06-28 Michael Natterer <mitch@imendio.com>
922 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
924 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
926 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
927 to avoid problems with partial icon themes.
929 2008-06-17 Hans Breuer <hans@breuer.org>
931 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
932 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
933 access again on win32, see bug #538127
934 * giomodule.c : ensure GWin32VolumeMonitor is registered
935 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
936 * Makefile.am makefile.msc : updated
938 2008-06-16 Hans Breuer <hans@breuer.org>
940 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
941 and initialization in one step avoids c99ism
943 2008-06-16 Christian Persch <chpe@gnome.org>
946 * gio/gbufferedinputstream.c
948 * gio/gdatainputstream.c
949 * gio/gdesktopappinfo.c
951 * gio/gfileenumerator.c
952 * gio/gfileinputstream.c
953 * gio/gfileoutputstream.c
955 * gio/glocaldirectorymonitor.c
957 * gio/glocalfileenumerator.c
958 * gio/glocalfileinfo.c
959 * gio/glocalfilemonitor.c
960 * gio/glocalfileoutputstream.c
961 * gio/gmemoryinputstream.c
962 * gio/gmemoryoutputstream.c
963 * gio/goutputstream.c
964 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
967 2008-06-16 Tor Lillqvist <tml@novell.com>
969 Bug 538362 - Get Win32 icons back in the file chooser
971 * gcontenttype.c (g_content_type_get_icon): Look up the icon
972 corresponding to a file extension in the Registry. Patch by Hans
974 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
976 2008-06-16 Tor Lillqvist <tml@novell.com>
978 Patches by Hans Breuer:
980 * glocalfile.c (is_xp_or_later): Handle compiling against older
981 SDK headers with missing VerifyVersionInfo(). Conditioned on
982 _MSC_VER, but should probably use some better test.
983 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
984 uninitialised statfs_result variable on Win32.
986 2008-06-16 Michael Natterer <mitch@imendio.com>
988 * *.c: chain up unconditionally in finalize() and dispose(). Also
989 don't dereference these function pointers when calling them since
990 that has no meaning at all.
992 2008-06-16 Ross Burton <ross@burtonini.com>
995 Remove check for dispose implementation as it annoys Emmanuele.
997 2008-06-16 Ross Burton <ross@burtonini.com>
999 Bug 536252 – GFileEnumerator should allow access to the containing
1002 * gfileenumerator.c:
1003 * gfileenumerator.h:
1005 Add g_file_enumerator_get_container() and a container writeable
1006 construct-only property. Also shuffle around typedefs to make it
1009 * glocalfileenumerator.c:
1010 * glocalfileenumerator.h:
1012 Instead of a string filename take a GFile in the constructor and
1013 use it to set the container property.
1016 Update with new API.
1018 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1020 * gfile.c: Make includes more uniform
1022 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1024 * tests/live-g-file.c (sample_struct):
1025 Use less fancy unicode filenames, so the test doesn't fail
1026 on Mac OS X (#531476).
1028 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1030 * === Released 2.17.2 ===
1032 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1034 * === Released 2.17.1 ===
1036 2008-06-11 A. Walton <awalton@gnome.org>
1038 * tests/g-file.c (test_g_file_new_null):
1039 Fix broken test case.
1041 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1043 * pltcheck.sh: We use g_clear_error now.
1045 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1047 * glocalfile.c (g_local_file_enumerate_children): Revert
1048 an unintended change.
1050 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1052 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1054 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1056 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1059 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1060 as icon for the desktop directory, also make user-home and
1061 user-desktop the preferred icons.
1063 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1066 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1067 to add a name to the front of the list.
1069 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1071 Bug 537392 – Additional colon in xattr name
1073 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1074 too. Reported by Alessandro Morandi
1076 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1078 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1081 * glocalfile.c (get_fs_type): Add afs and autofs.
1082 Patch by Danny Baumann.
1084 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1086 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1088 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1089 is no parent. (Owen Taylor, patch by Christian Neumair)
1091 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1093 * gfile.c (g_file_replace_contents): do not leak the output stream.
1095 2008-06-10 Michael Natterer <mitch@imendio.com>
1097 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1098 uninitialized memory as array index.
1100 2008-06-10 Tor Lillqvist <tml@novell.com>
1102 * gcontenttype.c (g_content_type_can_be_executable)
1103 (g_content_type_get_icon) [Win32]: Add TODO comments.
1105 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1107 * xdgmime/Makefile.am: Fix the build
1109 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1111 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1112 in the shared mime database, if available.
1114 * xdgmime/*: Sync with upstream. This brings support for
1115 glob weights, generic icons, and changes the cache format to
1118 2008-05-28 Michael Natterer <mitch@imendio.com>
1120 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1121 the global CPPFLAGS now.
1123 * tests/data-input-stream.c
1124 * tests/data-output-stream.c
1125 * tests/g-file-info.c
1127 * tests/live-g-file.c
1128 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1130 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1132 * === Released 2.17.0 ===
1134 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1135 doesn't complain about leftover files.
1137 2008-05-27 simon.zheng <simon.zheng@sun.com>
1139 * glocalfile.c: (g_local_file_query_filesystem_info):
1140 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1142 2008-05-26 Michael Natterer <mitch@imendio.com>
1144 * gmemoryoutputstream.h: declare
1145 g_memory_output_stream_get_data_size().
1147 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1149 * tests/*: Make tests work
1151 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1153 * gio.symbols: Add g_memory_output_stream_get_data_size.
1155 2008-05-25 Ross Burton <ross@burtonini.com>
1158 Fix typo in error message (#534764).
1160 2008-05-25 Ross Burton <ross@burtonini.com>
1163 Fix circular dependency loop for gioenumtypes.h (#534759).
1165 2008-05-19 Hans Breuer <hans@breuer.org>
1167 * Makefile.am : EXTRA_DIST += makefile.msc
1169 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1172 * gcontenttype.c: (g_content_type_from_mime_type):
1173 New function to create a content type from a mime type. (#527175,
1176 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1178 Bug 532965 – Should not return filesystem::free for certain file systems
1180 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1181 free space for ncpfs.
1183 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1185 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1187 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1188 st_dev might be zero.
1190 2008-05-16 Tor Lillqvist <tml@novell.com>
1192 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1193 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1195 2008-05-13 Bastien Nocera <hadess@hadess.net>
1197 * gfile.c (has_valid_scheme): A URI scheme must start with a
1198 letter, even if later more characters are allowed (#532852)
1200 2008-05-05 Michael Natterer <mitch@imendio.com>
1202 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1203 code from being checked in that breaks the build of applications
1204 which use G_DISABLE_SINGLE_INCLUDES.
1206 * makegioalias.pl: make the alias file include "glib.h" instead of
1209 * gio.symbols: whitespace change to force regeneration of the
1210 alias file after above script change.
1212 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1214 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1216 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1218 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1220 2008-04-28 David Zeuthen <davidz@redhat.com>
1222 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1223 displaying mounts in a subdirectory not accessible to the
1226 2008-04-22 Michael Natterer <mitch@imendio.com>
1228 * Makefile.am: fix library versioning (it was 0.0.0).
1230 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1232 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1233 Default disable all loggings.
1234 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1235 (port_fetch_event_cb): Fixed two macro nits.
1237 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1239 * xdgmime/xdgmime.c: Rework the timestamp checking code
1240 to protect against duplicate directories in XDG_DATA_DIRS.
1241 Fixes fd.o bug 12513, reported by Joe Shaw.
1243 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1245 Partically revert the last commit after realizing that
1246 xdg_mime_media_type_equal doesn't have to init at all.
1248 * xdgmime/xdgmime.h:
1249 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1251 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1253 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1255 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1256 reported by Joe Shaw and Federico Mena Quintero.
1258 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1259 (xdg_mime_media_type_equal): Turn into a wrapper around the
1262 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1263 functions throughout.
1265 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1267 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1268 tolerate an empty TryExec= line without failing; nautilus used
1269 to create launchers with these in previous versions. Fixes #528433
1271 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1273 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1274 after name. Fixes #527132.
1276 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1278 * gfile.c: (g_file_replace):
1281 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1283 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1285 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1286 by Christian Kellner.
1288 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1290 * gunixmounts.c: (g_unix_mount_guess_should_display):
1291 Don't list the user directory as a mount, fix potential issue
1292 when other users have a similar naming and don't special case the
1293 gvfs mounts there since that's not required (#525866)
1295 2008-03-31 Alexander Larsson <alexl@redhat.com>
1297 * glocalfile.c (get_parent):
1300 2008-03-31 A. Walton <awalton@svn.gnome.org>
1302 * gfile.c (g_file_query_file_type):
1303 Always return a GFileType enum value (#520715).
1305 2008-03-31 Alexander Larsson <alexl@redhat.com>
1307 * glocalfileenumerator.c:
1308 Read readdir() info in chunks (of 1000) and sort
1309 the chunks by inode before stat:ing.
1310 This is a 20% performance increase in testing
1311 gvfs-ls on /usr/bin with cold cache.
1313 2008-03-31 Alexander Larsson <alexl@redhat.com>
1315 * gmemoryoutputstream.c:
1316 Clarify docs for g_memory_output_stream_get_size.
1317 Add g_memory_output_stream_get_data_size.
1319 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1323 * gfile.h: Add g_file_query_file_type convenience function
1324 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1326 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1328 * gfileenumerator.c:
1329 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1331 2008-03-28 A. Walton <awalton@svn.gnome.org>
1333 * giomodule.c (_g_io_modules_ensure_loaded):
1334 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1337 2008-03-28 Alexander Larsson <alexl@redhat.com>
1340 (copy_stream_with_progress):
1343 2008-03-28 Alexander Larsson <alexl@redhat.com>
1346 (copy_stream_with_progress):
1347 (file_copy_fallback):
1348 Fallback to g_file_query_info for source size
1349 if g_file_input_stream_query_info fails. (#524579)
1351 2008-03-28 Alexander Larsson <alexl@redhat.com>
1353 * glocalfile.c (g_local_file_move):
1354 Reuse old string instead of adding new one.
1356 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1358 * fen/*.[hc]: still copyright issue. I hate copyright.
1360 2008-03-27 Alexander Larsson <alexl@redhat.com>
1362 * glocalfile.c (g_local_file_move):
1363 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1364 file over directory. This is according to the docs and what the move via
1365 copy+remove fallback does.
1367 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1369 * fen/*.[hc]: Updated copyright.
1371 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1373 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1375 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1377 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1378 not emit attribute changed events when optimizing changed events.
1379 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1382 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1384 * gmountoperation.[hc]: Small documentation additions
1386 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1388 * gunixmounts.c: (guess_mount_type):
1389 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1391 2008-03-19 Alexander Larsson <alexl@redhat.com>
1394 (copy_stream_with_progress):
1395 Bump block side for copy to 64k to minimize
1396 overhead for low latency links. (#523015)
1398 2008-03-16 Tor Lillqvist <tml@novell.com>
1400 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1401 depend on gio.def on Windows.
1403 2008-03-12 David Zeuthen <davidz@redhat.com>
1407 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1409 2008-03-14 Alexander Larsson <alexl@redhat.com>
1413 Avoid redudant tests (#521851)
1414 Patch from Josselin Mouette
1416 2008-03-14 Alexander Larsson <alexl@redhat.com>
1419 (g_file_monitor_is_cancelled):
1420 Fix C89 issue (#521672)
1421 Patch from Jens Granseuer
1423 2008-03-14 Alexander Larsson <alexl@redhat.com>
1425 * fam/fam-helper.[ch]:
1427 Shut down fam (including removing fam GSource) when
1428 module is unloaded (#521513)
1429 Patch from Joe Marcus Clarke
1431 2008-03-14 Alexander Larsson <alexl@redhat.com>
1434 (_g_io_modules_ensure_loaded):
1437 2008-03-14 Alexander Larsson <alexl@redhat.com>
1440 (g_local_file_query_filesystem_info):
1441 Use right define name for f_fstypename member check
1443 2008-03-14 Alexander Larsson <alexl@redhat.com>
1446 * fen/Makefile.am: Added.
1447 * fen/fen-data.[ch]: Added.
1448 * fen/fen-dump.[ch]: Added.
1449 * fen/fen-helper.[ch]: Added.
1450 * fen/fen-kernel.[ch]: Added.
1451 * fen/fen-missing.[ch]: Added.
1452 * fen/fen-node.[ch]: Added.
1453 * fen/fen-sub.[ch]: Added.
1454 * fen/gfendirectorymonitor.[ch]: Added.
1455 * fen/gfenfilemonitor.[ch]: Added.
1457 Added Solaris FEN file notification backend.
1458 Patch from Lin Ma <Lin.Ma@Sun.COM>
1460 2008-03-13 Tor Lillqvist <tml@novell.com>
1462 * Makefile.am: Actually use the gio.def file when linking the
1463 library on Windows. Produce .lib library for Microsoft's toolchain
1464 when possible. Install the .lib and .def file like for the other
1467 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1469 * tests/live-g-file.c:
1470 Include live-g-file in standard set of tests, making a temporary
1471 directory in source structure.
1473 Clean target directory before the tests (write mode only)
1475 2008-03-12 Tor Lillqvist <tml@novell.com>
1477 Bug 517419 - gio win32 directory monitor
1478 Implementation by Vlad Grecescu.
1481 * win32/gwin32directorymonitor.h
1482 * win32/gwin32directorymonitor.c: New files.
1484 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1486 * Makefile.am: Add the win32 subdirectory.
1488 2008-03-12 Tor Lillqvist <tml@novell.com>
1490 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1491 normal struct stat on Unix but struct _stati64 on Windows to have
1492 access to 64-bit file size information. Use that instead of struct
1493 stat in the functions declared here in this private header.
1495 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1496 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1497 warnings about unused functions and variables. Don't set
1498 meaningless attributes like inode numbers on Windows.
1500 2008-03-12 Benjamin Otte <otte@gnome.org>
1503 trim whitespace so gtk-doc groks the function name
1505 2008-03-12 Tor Lillqvist <tml@novell.com>
1507 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1508 returning FALSE, on Win32.
1510 2008-03-11 Alexander Larsson <alexl@redhat.com>
1513 * glocalfileinfo.[ch]:
1514 Correctly implement can_trash by actually
1515 looking for a trash dir, not just assuming
1518 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1520 * === Released 2.16.1 ===
1522 2008-03-11 Alexander Larsson <alexl@redhat.com>
1525 Fix crashes in new constructor and properties code
1527 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1529 * gfile.c: Minor spelling correction in documentation:
1530 existance -> existence.
1532 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1534 * === Released 2.16.0 ===
1536 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1538 * gio.symbols: Remove g_file_contains_file here, too.
1540 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1542 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1543 Samuel Cormier-Iijima)
1545 2008-03-08 Tor Lillqvist <tml@novell.com>
1547 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1550 2008-03-07 Alexander Larsson <alexl@redhat.com>
1553 (g_local_file_query_filesystem_info):
1554 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1555 Patch from Jasper Lievisse Adriaanse
1557 2008-03-06 Tor Lillqvist <tml@novell.com>
1559 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1560 comments for the *_USEC attributes.
1562 2008-03-06 Alexander Larsson <alexl@redhat.com>
1564 * gfile.c (g_file_query_exists):
1565 Add g_return_val_if_fail check (#520700)
1567 2008-03-06 Alexander Larsson <alexl@redhat.com>
1569 * gdesktopappinfo.c:
1572 * gunionvolumemonitor.c:
1575 * tests/live-g-file.c:
1576 * xdgmime/xdgmimecache.c:
1577 Fix sparse warnings (#519489)
1579 2008-03-05 Alexander Larsson <alexl@redhat.com>
1582 Make cancellation threadsafe (i.e.
1583 guarantee its only done once, and always
1586 * glocaldirectorymonitor.c:
1587 Make sure we the monitor lives while the
1588 mounts_changed callback is being called (#520484)
1590 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1592 * gbufferedinputstream.c: Fix typo in parameter
1595 2008-03-04 Alexander Larsson <alexl@redhat.com>
1598 Remove deprecated symbols we kept for one release.
1600 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1603 * goutputstream.c: Tiny documentation corrections.
1605 2008-03-03 Alexander Larsson <alexl@redhat.com>
1607 * gunionvolumemonitor.c:
1609 Fix the adopt_orphan_mount vfunc to take a
1610 volume_monitor reference in an ABI compat way.
1611 This change is not API compat, but the added
1612 arg is not used in the only user of this vfunc, so
1613 all we get is a harmless warning in gvfs (#520169)
1615 2008-03-01 Benjamin Otte <otte@gnome.org>
1618 clarify docs for g_file_delete().
1620 2008-02-29 Alexander Larsson <alexl@redhat.com>
1624 Make sure empty files get text/plain type (#518720)
1626 2008-02-27 Alexander Larsson <alexl@redhat.com>
1632 (g_unix_volume_mount):
1633 Add missing GMountMountFlags argument
1635 2008-02-26 Alexander Larsson <alexl@redhat.com>
1638 (g_local_file_delete):
1639 Handle filesystems (like ntfs-3g) that return EEXIST instead
1640 of ENOTEMPTY (#518816)
1642 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1644 * === Released 2.15.6 ===
1646 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1648 * gfile.c (g_file_find_enclosing_mount):
1649 * ginputstream.c (g_input_stream_set_pending):
1650 * glocalfile.c (g_local_file_find_enclosing_mount):
1651 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1652 * goutputstream.c (g_output_stream_set_pending):
1654 Fixup translator comments (#518578).
1656 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1658 * gfile.c (g_file_find_enclosing_mount):
1660 * glocalfile.c (g_local_file_find_enclosing_mount):
1663 Fix a few typos in translator comments and documentation.
1665 2008-02-25 Alexander Larsson <alexl@redhat.com>
1672 Add translator comments (#518578)
1674 2008-02-25 Alexander Larsson <alexl@redhat.com>
1677 Reintroduce g_file_contains_file, keep around for one
1678 unstable release cycle to avoid crashing to many apps.
1679 Make sure to delete after release.
1681 2008-02-25 Alexander Larsson <alexl@redhat.com>
1684 Remove deprecated g_file_contains_file.
1686 2008-02-25 Alexander Larsson <alexl@redhat.com>
1689 Emit actual change signals in an idle handler.
1690 This avoids reentrance and locking problems in
1691 the file notification backends.
1693 2008-02-25 Alexander Larsson <alexl@redhat.com>
1696 (g_unix_mount_guess_should_display):
1697 Remove type guessing, instead just display
1698 mounts in /media and in ~/.
1700 2008-02-25 Alexander Larsson <alexl@redhat.com>
1703 Make new strings reuse old ones.
1705 2008-02-25 Alexander Larsson <alexl@redhat.com>
1708 Implement trashing and filesystem::readonly for win32 (#517235)
1709 Patch from Yevgen Muntyan
1711 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1713 * gfileinfo.h: Documentation fixes.
1715 2008-02-22 Alexander Larsson <alexl@redhat.com>
1717 * gcontenttype.c (g_content_type_get_icon):
1718 Look at old-style gnome mime icon names too, as many
1719 have not moved to the new style.
1721 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1723 * *.c: Correct the @include in for section docs.
1725 2008-02-21 David Zeuthen <davidz@redhat.com>
1727 * glocalfileinfo.c: (_g_local_file_info_get):
1729 (g_content_type_get_icon): Implement this function by
1730 moving bits from glocalfileinfo.c
1731 (g_content_type_get_description): Unalias before getting
1732 description (#517687)
1734 * gfile.c: (g_file_class_init),
1735 (g_file_query_filesystem_info_async),
1736 (g_file_query_filesystem_info_finish),
1737 (query_filesystem_info_data_free),
1738 (query_filesystem_info_async_thread),
1739 (g_file_real_query_filesystem_info_async),
1740 (g_file_real_query_filesystem_info_finish):
1741 * gfile.h: Implement async version of
1742 g_file_query_filesystem_info()
1744 * gfileinfo.h: Add new attributes for filesystem::use-preview
1746 * gio.symbols: Update
1748 * gthemedicon.c: (g_themed_icon_append_name):
1749 * gthemedicon.h: Add new new convenience function.
1751 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1752 (get_mounts), (get_volumes), (get_connected_drives),
1753 (get_volume_for_uuid), (get_mount_for_uuid),
1754 (g_union_volume_monitor_init), (populate_union_monitor),
1755 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1756 (g_volume_monitor_adopt_orphan_mount):
1758 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1759 monitor implementations to call into the main volume monitor. Also
1760 separate object initialization and volume monitor initialization
1761 such that non-native volume monitors can properly adopt their
1764 2008-02-21 Alexander Larsson <alexl@redhat.com>
1769 2008-02-21 Alexander Larsson <alexl@redhat.com>
1772 Add more documentation about how GFiles work (from #517086)
1774 2008-02-21 Alexander Larsson <alexl@redhat.com>
1778 Add new g_file_has_prefix that does the same as g_file_contains_file.
1779 Deprecate g_file_contains_file and add a macro that converts
1780 it to g_file_has_prefix.
1781 The reason for this change is that the contains_file() name seems to
1782 imply that this does more work than what it does, but its really only
1783 a name match (from #517086)
1788 Update to match the above change.
1790 2008-02-20 Benjamin Otte <otte@gnome.org>
1792 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1793 (g_file_eject_mountable):
1794 even more cases of not returning in error path
1796 2008-02-20 Benjamin Otte <otte@gnome.org>
1798 * gfile.c: (g_file_mount_mountable):
1799 return from function in error path.
1801 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1804 Remove trailing coma in GMountMountFlags struct
1806 2008-02-18 Alexander Larsson <alexl@redhat.com>
1810 * glocalfileoutputstream.c:
1811 Use g_unlink/g_rename instead of unlink/rename;
1812 do not pass raw filenames to g_set_error. (#517239)
1813 Patch from Yevgen Muntyan.
1815 2008-02-18 Alexander Larsson <alexl@redhat.com>
1818 * glocalfileoutputstream.c:
1819 Open files with O_BINARY on windows. (#517140)
1821 2008-02-14 Alexander Larsson <alexl@redhat.com>
1823 * glocalfileoutputstream.c:
1824 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1826 2008-02-14 Alexander Larsson <alexl@redhat.com>
1829 Copy permissions with file on copy (#514084)
1830 This is what cp does and makes sure e.g. the
1831 exec permissions are kept.
1832 Its kinda weird in that it keeps the permission bits
1833 the same while the uid and gid are different. However
1834 the new uid is the user so its not a security issue,
1835 and I've heard no complaints about cp on this issue.
1837 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1839 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1841 2008-02-13 Alexander Larsson <alexl@redhat.com>
1843 * inotify/inotify-path.c:
1844 Define IN_ONLYDIR if not in header (#515346)
1846 2008-02-12 Alexander Larsson <alexl@redhat.com>
1848 * tests/live-g-file.c:
1851 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1853 * === Released 2.15.5 ===
1855 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1857 * gio.symbols: Add g_mount_mount_flags_get_type.
1859 2008-02-11 Alexander Larsson <alexl@redhat.com>
1862 (g_file_info_set_attribute_mask):
1863 (g_file_attribute_matcher_matches_id):
1864 Correctly handle NULL GAttributeMatcher meaning
1865 matches nothing. (Fixes #513492)
1867 2008-02-11 Alexander Larsson <alexl@redhat.com>
1872 Added GMountMountFlags enum and added a flags
1873 argument to all mount calls.
1875 This is an API/ABI change for future extensibility,
1876 as I think we will need at least an
1877 inhibit-autorun flag (the panel needs this).
1878 There are no flags defined yet though.
1880 2008-02-11 Alexander Larsson <alexl@redhat.com>
1883 Added new standard::description attribute.
1884 Requested by Vincent, and useful for both
1887 2008-02-11 Alexander Larsson <alexl@redhat.com>
1889 * gdesktopappinfo.c:
1892 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1894 * *.c: Documentation additions
1896 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1898 * gappinfo.h: Formatting cleanup
1899 * gappinfo.c: Fix up docs.
1901 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1903 * gunixmounts.c: Consistently use getmntent_r() and fall
1904 back to getmntent(). (#515492)
1906 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1908 * gbufferedinputstream.c:
1910 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1912 * tests/data-input-stream.c:
1913 * tests/data-output-stream.c: Portability fixes.
1915 2008-02-08 Alexander Larsson <alexl@redhat.com>
1920 Add g_volume_should_automount.
1923 2008-02-07 Tor Lillqvist <tml@novell.com>
1925 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1926 Win32, too Unix-specific.
1928 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1930 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1931 a local plt if the compiler doesn't support what we want. Bug #514702
1933 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1935 reviewed by: <delete if not using a buddy>
1938 * gunixinputstream.c:
1939 * gunixoutputstream.c:
1941 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1943 * tests/Makefile.am:
1944 * tests/live-g-file.c:
1945 * tests/live-g-file.txt:
1946 New GIO testing module working over real data
1948 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1950 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1951 Fallback to rename() if link() is not available
1952 (when no support on target filesystem)
1954 2008-02-06 Michael Natterer <mitch@imendio.com>
1956 * gfileinfo.c (g_file_info_get_icon): replace
1957 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1959 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1961 * gfile.c (g_file_create):
1962 Documentation update of error codes
1964 2008-02-06 Alexander Larsson <alexl@redhat.com>
1966 * gdesktopappinfo.c:
1967 Update to use both mimeapps.list and
1968 defaults.list as discussed on xdg list.
1970 2008-02-06 Benjamin Otte <otte@gnome.org>
1973 * gfilenamecompleter.c:
1974 Fix some typos in the documentation.
1976 2008-02-06 Alexander Larsson <alexl@redhat.com>
1978 * glocalfile.c (g_local_file_trash):
1979 Don't succeed with trash if newly created
1980 trash dir has the wrong owner. (#514696)
1982 2008-02-05 Alexander Larsson <alexl@redhat.com>
1984 * glocalfile.c (g_local_file_move):
1985 Don't spew warnings when destination is not
1988 2008-02-03 Hans Breuer <hans@breuer.org>
1990 * makefile.msc : update
1992 2008-02-01 Michael Natterer <mitch@imendio.com>
1994 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1995 return value of xdg_mime_list_mime_parents() to a variable of the
1998 2008-02-01 Alexander Larsson <alexl@redhat.com>
2000 * gappinfo.c (g_app_info_launch_uris):
2001 Actually call the launch_uris method, not
2004 2008-02-01 Alexander Larsson <alexl@redhat.com>
2006 * gdesktopappinfo.c (g_desktop_app_info_equal):
2007 Ensure appinfos with no id but same pointer value
2010 2008-02-01 Alexander Larsson <alexl@redhat.com>
2012 * gappinfo.c (g_app_info_launch_default_for_uri):
2015 2008-02-01 Alexander Larsson <alexl@redhat.com>
2019 Add g_app_info_launch_default_for_uri utility
2022 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2024 * gdesktopappinfo.c:
2025 Doc fix for g_app_info_get_default_for_uri_scheme ()
2028 2008-01-30 Alexander Larsson <alexl@redhat.com>
2031 Add doc comment about uris vs GFiles to
2034 * gdesktopappinfo.c:
2035 Ensure uris passed to g_app_info_launch_uris()
2036 are not roundtriped through GFile (as that
2037 may be slightly destructive for e.g. mailto: links)
2039 2008-01-30 Alexander Larsson <alexl@redhat.com>
2041 * tests/data-input-stream.c:
2042 * tests/data-output-stream.c:
2043 C89 fixes from Jens Granseuer (#512849)
2045 2008-01-30 Alexander Larsson <alexl@redhat.com>
2048 Fix gamin/fam difference build issue. (#509419)
2050 2008-01-29 Alexander Larsson <alexl@redhat.com>
2053 * gdesktopappinfo.c:
2054 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2056 2008-01-29 Alexander Larsson <alexl@redhat.com>
2058 * gdesktopappinfo.c:
2059 * gdesktopappinfo.h:
2060 giomodule-priv.h include moved to .c file.
2062 2008-01-29 Alexander Larsson <alexl@redhat.com>
2064 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2065 Remove unused prio/name fields.
2067 2008-01-29 Alexander Larsson <alexl@redhat.com>
2069 * gcontenttype.c (looks_like_text):
2070 Don't treat whitespace as control chars.
2072 2008-01-29 Alexander Larsson <alexl@redhat.com>
2074 * gdesktopappinfo.c:
2075 Lazily create the desktop files for appinfos created
2076 by g_app_info_create_from_commandline() when needed
2077 for mime associations. This allows run-time use
2078 of GAppInfo object without creating unnecessary
2081 2008-01-29 Alexander Larsson <alexl@redhat.com>
2084 Added new symbols to gio.symbols
2086 2008-01-29 Alexander Larsson <alexl@redhat.com>
2089 Add g_file_query_default_handler utility to easily look up
2090 the GAppInfo that handles a file.
2092 * gdesktopappinfo.[ch]:
2094 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2097 Remove unused function
2099 2008-01-29 Alexander Larsson <alexl@redhat.com>
2101 * gfileenumerator.c:
2102 Mention need to free returned value in
2103 g_file_enumerator_next_files_finish docs.
2104 Fix leak if g_file_enumerator_next_files_finish()
2107 2008-01-29 Alexander Larsson <alexl@redhat.com>
2110 (_g_unix_content_type_get_parents):
2111 Use list_parents, not get_parents from xdgmime, because
2112 the later doesn't use the cache.
2114 * xdgmime/xdgmimecache.c:
2115 (_xdg_mime_cache_list_mime_parents):
2116 Don't list the same type as parent multiple times.
2118 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2120 * === Released 2.15.4 ===
2122 2008-01-28 Alexander Larsson <alexl@redhat.com>
2125 Register local vfs with prio 0.
2128 Remove old name and prio class members
2130 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2132 * tests/g-file.c: Disable some tests that are failing in
2133 the absence of a http backend.
2135 2008-01-28 Alexander Larsson <alexl@redhat.com>
2139 Add registration hooks for extension points.
2140 Register the gio extension points.
2142 * fam/gfamdirectorymonitor.c:
2143 * fam/gfamfilemonitor.c:
2144 * glocaldirectorymonitor.[ch]:
2145 * glocalfilemonitor.[ch]:
2146 * gnativevolumemonitor.h:
2147 * gunionvolumemonitor.c:
2148 * gunixvolumemonitor.c:
2151 * inotify/ginotifydirectorymonitor.c:
2152 * inotify/ginotifyfilemonitor.c:
2153 Use the extension points registration instead
2154 of g_type_children().
2156 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2159 * gvolume.[hc]: Document new API.
2161 * gfile.c (g_file_copy_async): Fix docs
2163 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2165 * gbufferedinputstream.c:
2167 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2170 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2172 * glocalfile.c: Avoid trivial differences in translatable strings.
2174 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2176 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2177 build with gcc 3.4 (#509419)
2179 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2181 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2182 (#509994, Murray Cumming)
2184 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2186 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2187 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2188 this allows big jobs to be executed in chunks, instead of blocking
2189 the main loop for a long time.
2191 * gsimpleasyncresult.c:
2192 * giofile.c: Adapt callers.
2194 2008-01-25 Alexander Larsson <alexl@redhat.com>
2196 * gdesktopappinfo.c:
2197 Implement changes discussed on xdg list.
2198 Now we can add supported mimetypes by just using defaults.list
2199 We can also remove associations in defaults.list.
2201 2008-01-25 Alexander Larsson <alexl@redhat.com>
2203 * gdesktopappinfo.c:
2204 Don't make local copy of desktop file
2205 for mimetype changes if the file already
2206 supports the new mimetype.
2208 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2212 * gbufferedinputstream.c:
2213 * glocalfile.c: String improvements. (#511966,
2214 Theppitak Karoonboonyanan)
2216 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2218 * gioscheduler.h: Expand docs a bit.
2220 2008-01-24 Alexander Larsson <alexl@redhat.com>
2223 Add g_drive_get_identifier and
2224 g_drive_enumerate_identifiers
2227 Add g_volume_get_identifier and
2228 g_volume_enumerate_identifiers
2234 Implement identifiers for unix backend
2236 2008-01-24 Alexander Larsson <alexl@redhat.com>
2241 Add g_file_copy_async() (#511580)
2242 Based on patch from Carlos Garcia Campos
2244 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2246 * gioscheduler.c: Some documentation additions.
2248 2008-01-22 Alexander Larsson <alexl@redhat.com>
2250 * gdesktopappinfo.c:
2251 (g_desktop_app_info_new):
2252 Don't leak basename.
2254 2008-01-22 Alexander Larsson <alexl@redhat.com>
2256 * gdesktopappinfo.c:
2257 (g_desktop_app_info_new_from_filename):
2260 2008-01-22 Alexander Larsson <alexl@redhat.com>
2262 * glocalfileinfo.c (get_thumbnail_attributes):
2265 2008-01-22 Alexander Larsson <alexl@redhat.com>
2268 (canonicalize_filename):
2269 Canonicalize paths that start with more than
2273 (compare_two_files):
2274 (test_g_file_new_for_path):
2277 2008-01-22 Alexander Larsson <alexl@redhat.com>
2280 Allow UTF-8 in file:// parse names.
2282 * tests/Makefile.am:
2283 * tests/data-input-stream.c:
2284 * tests/data-output-stream.c:
2285 * tests/g-file-info.c:
2287 Added a bunch of tests from Tomas Bzatek
2289 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2291 * === Released 2.15.3 ===
2293 2008-01-21 Alexander Larsson <alexl@redhat.com>
2295 * gfileinputstream.[ch]:
2296 * gfileoutputstream.[ch]:
2298 Remove duplicated GSeekable functions. (#509990)
2299 Just use the g_seekable_xxx() calls instead.
2301 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2304 * gvolumemanager.c: Whitespace cleanups.
2306 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2307 Use the right mode when creating the file.
2309 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2311 * gfileenumerator.c:
2312 * gfileinputstream.c:
2314 * goutputstream.c: Documentation: Fixed minor typos
2315 and added more mentions of specific _finish() functions.
2317 2008-01-21 Alexander Larsson <alexl@redhat.com>
2319 * inotify/Makefile.am:
2320 * inotify/inotify-helper.c:
2321 * inotify/inotify-kernel.c:
2322 * inotify/inotify-path.c:
2323 * inotify/local_inotify.h: Removed.
2324 * inotify/local_inotify_syscalls.h: Removed.
2325 Removed the included copies of the inotify
2326 headers. We now only use the <sys/inotify.h>
2327 header which exists on modern systems.
2328 This fixes problems on ARM and SH5 (#510448)
2329 but is also generally much cleaner and future
2330 safe. For instance, if other OSes add support
2331 for inotify it should "just work".
2333 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2335 * inotify/*.c: Coding style fixes.
2336 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2337 for the 1/4 Hz timer.
2339 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2342 * gfilemonitor.[hc]:
2343 * gmemoryinputstream.c:
2344 * gmemoryoutputstream.c:
2345 * gmountoperation.c:
2346 * gthemedicon.c: Documentation updates
2348 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2350 * gfile.c: documentation: Fixed more minor
2353 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2355 * gmount.c: (g_mount_remount): documentation:
2356 Mention g_mount_remount_finish() instead of
2357 g_mount_unmount_finish().
2359 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2363 * gfile.c: Fixed some minor typos in the
2366 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2368 * gio/gvolumemonitor.c:
2369 (g_volume_monitor_get_connected_drives):
2370 (g_volume_monitor_get_volumes):
2371 (g_volume_monitor_get_mounts): Documentation:
2372 Clarify the ownership of the regurn GLists.
2374 2008-01-17 Alexander Larsson <alexl@redhat.com>
2377 Add the async find_enclosing_mount version
2378 to the header file too.
2380 2008-01-17 Alexander Larsson <alexl@redhat.com>
2383 Add async version of find_enclosing_mount
2384 with default implementation.
2386 2008-01-17 Alexander Larsson <alexl@redhat.com>
2391 Allow calls to implementation of copy and write
2392 even if the type of the file implementations is
2393 different. This can be used to implement native
2394 upload and download calls in a vfs.
2397 (g_local_file_move):
2398 Protect against the case where move is called
2399 with one file not being local.
2401 Make sure we call the progress callback once
2402 in the native move operation so that the caller
2403 knows how many bytes were copied.
2405 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2408 * gdatainputstream.c:
2410 * gfileoutputstream.c:
2415 * gunixmounts.c: Corrected some typos in the documentation:
2416 occured -> occurred.
2417 its -> it's (where appropriate).
2419 2008-01-16 Alexander Larsson <alexl@redhat.com>
2423 Add g_file_query_exists (#508771)
2425 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2430 * gvolume.c: For async functions that have no non-async
2431 version, document that the GAsyncReadyCallback may be NULL.
2434 2008-01-15 Alexander Larsson <alexl@redhat.com>
2436 * gmemoryinputstream.c:
2437 * gmemoryoutputstream.c:
2438 Don't do pointer arithmetic on void * (#508602)
2439 Patch from Kazuki IWAMOTO
2441 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2443 * === Released 2.15.2 ===
2445 2008-01-14 Alexander Larsson <alexl@redhat.com>
2447 * gfile.c (g_file_monitor_file):
2448 Don't set error here, since we fallback to polling monitor.
2450 2008-01-14 Alexander Larsson <alexl@redhat.com>
2453 (g_file_monitor_directory):
2454 (g_file_monitor_file):
2455 Add GError to file monitor calls
2457 * glocaldirectorymonitor.c:
2458 * glocaldirectorymonitor.h:
2460 * glocalfilemonitor.c:
2461 * glocalfilemonitor.h:
2463 Update for above change
2465 2008-01-14 Alexander Larsson <alexl@redhat.com>
2469 Handle root correctly in g_file_get_relative_path (#508719)
2471 2008-01-14 Alexander Larsson <alexl@redhat.com>
2474 Clean up docs and example for GAsyncResult (#508074)
2476 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2478 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2479 and correct some spelling mistakes. Bug #508108.
2481 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2483 * glocalfileinfo.c: Add a comment.
2485 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2487 * gfileinfo.c: GFileInfo description: Mention
2488 how to actually set attributes in a GFile and how to discover
2489 which attributes are settable. Bug #508378.
2491 2008-01-10 A. Walton <awalton@svn.gnome.org>
2493 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2494 (g_app_info_get_default_for_type):
2495 Check for NULL content types.
2497 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2499 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2501 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2503 * gfile.c: *_async() functions: Several small corrections
2504 to the documentation, mostly correcting copy/paste errors
2505 and improving some sentences.
2507 2008-01-09 Dan Winship <danw@gnome.org>
2509 * glocalfile.c (get_unique_filename): x86_64 fix
2511 2008-01-09 Alexander Larsson <alexl@redhat.com>
2516 Add g_unix_mount_guess_should_display and use
2517 for unix volume monitor backend.
2518 This means we more or less show what the
2519 gnome-vfs backend did.
2520 Based on patch from Padraig O'Briain
2522 2008-01-09 Alexander Larsson <alexl@redhat.com>
2526 Add g_themed_icon_new_with_default_fallbacks
2529 Use default fallbacks for icons
2531 2008-01-09 Alexander Larsson <alexl@redhat.com>
2534 * gmountoperation.[ch]:
2535 Change the API a bit so that unhandled methods
2536 get reported via the reply, rather than by
2537 the signal emission return value. This is because
2538 some handlers can't know this immediately without
2539 doing I/O, and this is an async operation that
2542 2008-01-09 Alexander Larsson <alexl@redhat.com>
2545 * fam/gfamdirectorymonitor.c:
2546 * fam/gfamfilemonitor.c:
2547 Fix double free crash (#508224)
2548 Patch from Joe Marcus Clarke
2550 008-01-07 Matthias Clasen <mclasen@redhat.com>
2552 * === Released 2.15.1 ===
2554 2008-01-07 Alexander Larsson <alexl@redhat.com>
2556 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2557 Fix warning (#507835)
2559 2008-01-07 Alexander Larsson <alexl@redhat.com>
2562 Pass --internal to glib-genmarshal
2565 * gmountoperation.c:
2567 Use better types for signal arguments (#507822)
2569 2008-01-07 Alexander Larsson <alexl@redhat.com>
2572 Build test subdir after .
2573 Remove gdirectorymonitor.[ch]
2575 * gdirectorymonitor.[ch]:
2579 Remove GDirectoryMonitor and make
2580 GFileMonitor the baseclass for both file and
2581 directory monitors. Lift the more generic
2582 rate limiting code from GDirectoryMonitor
2586 * fam/gfamdirectorymonitor.[ch]:
2587 * inotify/ginotifydirectorymonitor.[ch]:
2588 * inotify/inotify-helper.c:
2589 * glocaldirectorymonitor.[ch]:
2592 Update for the removed GDirectoryMonitor.
2594 * gmemoryoutputstream.c:
2595 Remove ununsed variable
2597 2008-01-07 Alexander Larsson <alexl@redhat.com>
2599 * gmemoryinputstream.c:
2600 Translate error strings
2603 * gmemoryoutputstream.[ch]:
2604 New implementation that avoids using GByteArray
2605 in implementation and API. (#506377)
2607 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2609 * tests/*: Add a test for memory input streams.
2611 * Makefile.am: Add tests to SUBDIRS.
2613 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2615 * glocalfilemonitor.c:
2616 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2619 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2621 * gdesktopappinfo.c: Fix a docs typo.
2623 * gfileattribute.c: Add information about extended attributes
2624 to the documentation. (#505058)
2626 2008-01-04 Alexander Larsson <alexl@redhat.com>
2629 * gmountoperation.c:
2630 Use the right type (uint) for the ask_password signal.
2632 2008-01-04 Alexander Larsson <alexl@redhat.com>
2637 Add g_app_info_supports_files()
2638 Remove desktop arg from g_app_info_should_show().
2640 * gdesktopappinfo.[ch]:
2641 Implement g_app_info_supports_files() and new should_show()
2642 Add g_desktop_app_info_set_desktop_env() to set the desktop
2643 for should_show(). (This will be set by gtk+ later)
2645 2008-01-04 Alexander Larsson <alexl@redhat.com>
2648 * gmemoryinputstream.[ch]:
2649 Improve API so that you can use multiple chunks
2650 of memory and custom destroy functions. (#506374)
2652 2008-01-03 Alexander Larsson <alexl@redhat.com>
2655 Handle NULL attribute matchers safely, as we return this
2656 for empty attribute matcher strings.
2658 2008-01-03 Alexander Larsson <alexl@redhat.com>
2660 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2661 Add /usr/local to list of internal mountpoints
2663 2008-01-03 Alexander Larsson <alexl@redhat.com>
2666 Check for HAVE_LCHOWN (#505887)
2668 2008-01-03 Alexander Larsson <alexl@redhat.com>
2672 Add define for selinux context attribute.
2673 Fix missing : -> :: namespace separator change
2674 Fix missing _ -> - name change for xattr-sys.
2677 2008-01-03 Alexander Larsson <alexl@redhat.com>
2680 Link to libglib and libgobject directly (#504879)
2681 Patch from Sebastien Bacher
2683 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2685 * gfile.c: Expanded the g_file_new_for_commandline_arg
2686 description a bit, based on the code and the docs of the
2687 other g_file_new_for_* functions.
2689 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2691 * gfilemonitor.h: Fixed typo in docs.
2693 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2695 Updates to GIO documentation. (#506395, Mikael Hermansson)
2697 * gcontenttype.c: Describe memory management for return value of
2698 g_content_types_get_registered(). Missing piece from #505815.
2699 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2700 GVolume, GDrive, GMounts, which hopefully gives the user less
2701 confusions when using this API. Following explainations from
2702 Alexander Larsson on gtk-devel-list.
2704 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2706 * gfileinfo.c: Expand the long description.
2708 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2711 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2712 fix builds with --disable-visibility. (#500273, Christian Persch)
2714 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2716 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2717 in the list of returned app infos.
2719 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2721 * gappinfo.c: Fix a cross-reference
2723 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2725 * gfileinputstream.c:
2726 * gfileoutputstream.c:
2730 * gdesktopappinfo.c:
2732 * gfileinfo.c: Documentation updates.
2734 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2736 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2739 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2741 * gcontenttype.c (g_content_types_get_registered): Don't return
2742 freed memory (#505815, Mikael Hermansson)
2744 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2746 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2747 used to detect statbuf->st_blocks. (#505042)
2749 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2751 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2752 environment handling. (#504829, Cosimo Cecchi)
2754 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2756 * gappinfo.c: Doc improvements
2758 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2761 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2763 * === Released 2.15.0 ===
2765 2007-12-20 Hans Breuer <hans@breuer.org>
2767 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2768 with symbols gwin32appinfo.obj, added gmount.obj
2769 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2771 2007-12-20 Alexander Larsson <alexl@redhat.com>
2777 * gfilenamecompleter.c:
2780 * gpollfilemonitor.c:
2781 File attribute renames:
2783 fs:: -> filesystem::
2784 id::fs -> id::filesystem
2786 2007-12-20 Alexander Larsson <alexl@redhat.com>
2795 Add GMountUnmountFlags to all unmount and
2797 Add g_mount_remount() call.
2799 2007-12-20 Alexander Larsson <alexl@redhat.com>
2801 * gvfs.c (get_default_vfs):
2802 Fix unused variable warning
2804 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2806 * pltcheck.sh: Update
2808 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2810 * gunionvolumemonitor.c:
2811 * gunixmount.c: Remove C99 comments
2813 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2815 * gio.symbols: Add some missing symbols
2817 2007-12-19 Alexander Larsson <alexl@redhat.com>
2820 Make g_io_modules_load_all_in_directory not unuse
2821 loaded modules so that users of it can do stuff
2823 Init internal "module" types.
2824 Initialize static prio and name for types so that
2825 we don't have to load modules to get it.
2827 * gnativevolumemonitor.h:
2829 Move is_supported to parent class so that
2830 non-native monitors can avoid being initialized
2831 too. (For instance GDaemonVolumeMonitor if we're
2832 not using GDaemonVfs.)
2834 * glocaldirectorymonitor.[ch]:
2835 * glocalfilemonitor.[ch]:
2836 * gunionvolumemonitor.c:
2837 * gunixvolumemonitor.c:
2839 Find plugins using the static prio+name to
2840 avoid unnecessarily loading the modules.
2842 2007-12-19 Alexander Larsson <alexl@redhat.com>
2847 2007-12-19 Alexander Larsson <alexl@redhat.com>
2849 * gunionvolumemonitor.c:
2850 Store the native type as GType, not class so that
2851 we can unload it. But still avoid unnecessarily
2854 2007-12-19 David Zeuthen <davidz@redhat.com>
2856 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2857 add signals 'disconnected' and 'eject-button' on GDrive. Add
2858 signal 'removed' on GVolume and 'unmounted' on GMount.
2860 * gdrive.c: (g_drive_base_init):
2862 * gfile.c: (g_file_mount_mountable),
2863 (g_file_mount_enclosing_volume):
2866 * gmount.c: (g_mount_base_init):
2868 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2869 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2870 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2874 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2876 * *.c: Fix up includes in the section docs.
2878 2007-12-17 Alexander Larsson <alexl@redhat.com>
2880 * gnativevolumemonitor.h:
2881 * gunionvolumemonitor.c:
2882 * gunixvolumemonitor.c:
2883 Add is_supported() to GNativeVolumeMonitorClass so
2884 that we can avoid having to create an object to see
2885 if the backend is supported at runtime.
2886 Also add name member and an env var to pick a specific
2887 volume monitor backend.
2891 Add cancellable to _g_mount_get_for_mount_path()
2893 * glocaldirectorymonitor.c:
2894 * glocalfilemonitor.c:
2895 Avoid loading and unloading modules while sorting.
2897 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2900 * gunixmounts.[hc]: Namespace waste reduction, move some
2901 g_get_unix_mount functions to the g_unix_mount namespace.
2904 * gunixvolumemonitor.c:
2906 * glocaldirectorymonitor.c: Update all callers.
2908 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2910 2007-12-17 Alexander Larsson <alexl@redhat.com>
2913 Add doc comments about what GFile operations are
2914 guaranteed to not block.
2916 2007-12-17 Alexander Larsson <alexl@redhat.com>
2919 Add missing #ifdef fixing OSX build.
2920 (#503334, patch from Richard Hult)
2922 2007-12-14 David Zeuthen <davidz@redhat.com>
2926 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2927 (g_mount_eject), (g_mount_eject_finish):
2929 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2930 (get_volume_for_uuid), (get_mount_for_uuid),
2931 (g_union_volume_monitor_class_init),
2932 (get_default_native_type_with_exclude), (get_default_native_type),
2933 (get_native_type), (update_native_type),
2934 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2935 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2936 (g_unix_mount_can_eject), (eject_unmount_cb),
2937 (eject_unmount_read_error), (eject_unmount_do),
2938 (g_unix_mount_unmount), (g_unix_mount_eject),
2939 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2940 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2941 (g_unix_mount_point_guess_can_eject):
2943 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2944 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2945 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2946 (g_unix_volume_mount), (g_unix_volume_eject),
2947 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2948 * gunixvolumemonitor.c: (get_volume_for_uuid),
2949 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2951 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2952 (g_volume_eject), (g_volume_eject_finish):
2954 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2955 (g_volume_monitor_get_mount_for_uuid):
2958 Provide eject() on both GMount and GVolume and utility functions
2959 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2960 ejected. Introduce the concept of UUID's and wire it into GVolume
2961 and GMount and provide API on GVolumeMonitor to find such
2962 instances. Also handle the case where an external
2963 GNativeVolumeMonitor fails to initialize. Lock around the
2964 _g_get_mount_for_mount_path() function such that volume monitor
2965 implementations won't have to do locking themselves.
2967 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2969 * gdesktopappinfo.c:
2975 * gvolume.h: Documentation updates
2977 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2980 * gfile.h: Doc updates
2982 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2985 * gdesktopappinfo.c: Use hash table iterators.
2987 2007-12-14 Alexander Larsson <alexl@redhat.com>
2990 * gfileattribute.[ch]:
2991 * gfileattribute-priv.h:
2992 Move GFileAttributeValue to a private header, as
2996 Make set_attribute take a type + a pointer instead
2997 of a GFileAttributeValue.
3000 Fix up for above changes.
3001 Add g_file_info_get_attribute_data to get
3002 all info in one call, g_file_info_get_attribute_status
3003 to get the status and g_file_info_get_attribute_as_string.
3007 * glocalfileinfo.[ch]:
3011 Make _guess_type static.
3013 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3016 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3017 made mkenums and friends use temporary files to avoid leaving
3018 empty generated files on failure (#503470).
3020 2007-12-14 Alexander Larsson <alexl@redhat.com>
3022 * gmountoperation.h:
3025 2007-12-14 Alexander Larsson <alexl@redhat.com>
3029 * gfileattribute.[ch]:
3032 * glocalfileoutputstream.c:
3033 * gmountoperation.[ch]:
3034 * goutputstream.[ch]:
3035 Clean up all flags enums to not have _FLAGS in them
3036 Make the names of some of the enums better.
3041 2007-12-14 Michael Natterer <mitch@imendio.com>
3043 * gio.symbols: fix g_io_scheduler symbol names.
3045 2007-12-14 Alexander Larsson <alexl@redhat.com>
3051 * gbufferedinputstream.h:
3052 * gbufferedoutputstream.h:
3055 * gdatainputstream.h:
3056 * gdataoutputstream.h:
3057 * gdesktopappinfo.h:
3058 * gdirectorymonitor.h:
3062 * gfileenumerator.h:
3065 * gfileinputstream.h:
3067 * gfilenamecompleter.h:
3068 * gfileoutputstream.h:
3069 * gfilterinputstream.h:
3070 * gfilteroutputstream.h:
3078 * gmemoryinputstream.h:
3079 * gmemoryoutputstream.h:
3081 * gmountoperation.h:
3084 * gsimpleasyncresult.h:
3086 * gunixinputstream.h:
3088 * gunixoutputstream.h:
3092 * inotify/Makefile.am:
3093 Only allow including <gio/gio.h> from apps
3095 2007-12-14 Alexander Larsson <alexl@redhat.com>
3097 * gioscheduler.[ch]:
3098 * gsimpleasyncresult.c:
3099 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3100 Split out the send_to_mainloop call into two versions instead
3101 of having the block argument.
3103 2007-12-13 Alexander Larsson <alexl@redhat.com>
3105 * gcancellable.[ch]:
3107 * gbufferedinputstream.c:
3108 * gfileenumerator.c:
3109 * gfileinputstream.c:
3110 * gfileoutputstream.c:
3114 g_push/pop_current_cancellable ->
3115 g_cancellable_push/pop_current
3117 2007-12-13 Alexander Larsson <alexl@redhat.com>
3121 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3123 2007-12-13 Alexander Larsson <alexl@redhat.com>
3125 * gmountoperation.h:
3126 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3128 2007-12-12 Alexander Larsson <alexl@redhat.com>
3131 Fix race condition when freeing proxy in
3132 g_io_job_send_to_mainloop().
3134 2007-12-12 Alexander Larsson <alexl@redhat.com>
3140 Make attribute namespace separator "::" instead of ":".
3141 Use - instead of _ as separator in attribute names.
3143 2007-12-12 Alexander Larsson <alexl@redhat.com>
3145 * gbufferedinputstream.h:
3146 * gbufferedoutputstream.h:
3147 * gdatainputstream.h:
3148 * gdataoutputstream.h:
3149 * gdirectorymonitor.h:
3150 * gfileenumerator.h:
3151 * gfileinputstream.h:
3153 * gfileoutputstream.h:
3154 * gfilterinputstream.h:
3155 * gfilteroutputstream.h:
3157 * glocalfileinputstream.h:
3158 * glocalfileoutputstream.h:
3159 * gmemoryinputstream.h:
3160 * gmemoryoutputstream.h:
3161 * gnativevolumemonitor.h:
3163 * gunixinputstream.h:
3164 * gunixoutputstream.h:
3167 s/parent/parent_instance/ in GObjects
3169 2007-12-12 Alexander Larsson <alexl@redhat.com>
3174 No need for padding for interfaces
3176 2007-12-12 Alexander Larsson <alexl@redhat.com>
3180 * gbufferedinputstream.c:
3181 * gbufferedoutputstream.c:
3184 * gdatainputstream.[ch]:
3185 * gdesktopappinfo.c:
3186 * gdirectorymonitor.c:
3188 * gfileattribute.[ch]:
3191 * gfileinputstream.h:
3192 * gfilemonitor.[ch]:
3193 * gfileoutputstream.[ch]:
3194 * gfilterinputstream.h:
3195 * gfilteroutputstream.h:
3198 * gloadableicon.[ch]:
3199 * gmemoryinputstream.c:
3200 * gmountoperation.c:
3202 Fix up a bunch of details in the docs.
3207 2007-12-11 David Zeuthen <davidz@redhat.com>
3209 Rework how volumes, drives and volume monitoring is
3210 done. Previosly the model was
3212 GDrive <1-1> GVolume
3214 where a GDrive instance represented a mount point and a GVolume
3215 instance represented a mounted file system. This patch changes it
3218 GDrive <1-N> GVolume <1-1> GMount
3220 where GMount now serves the purpose of the old GVolume and the new
3221 GVolume serves the purpose of the old GDrive. In addition the new
3222 GDrive interface is used to represent a collection of GVolume
3223 instances (typically partitions) and also contains utility to query
3224 the state of the physical drive the GDrive object represents (such
3225 as checking for media, polling the drive, ejecting the media etc.).
3227 Also implement mounting and unmounting in the Unix volume monitor
3228 backend. A subquent patch will introduce GDrive support for ejection
3232 * gdrive.c: (g_drive_is_media_check_automatic),
3233 (g_drive_is_media_removable), (g_drive_has_media),
3234 (g_drive_can_poll_for_media), (g_drive_eject),
3235 (g_drive_eject_finish), (g_drive_poll_for_media),
3236 (g_drive_poll_for_media_finish):
3238 * gfile.c: (g_file_find_enclosing_mount):
3241 * glocaldirectorymonitor.c:
3242 (g_local_directory_monitor_constructor), (mounts_changed):
3243 * glocalfile.c: (get_mount_info),
3244 (g_local_file_find_enclosing_mount),
3245 (g_local_file_file_iface_init):
3246 * gnativevolumemonitor.h:
3247 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3248 (get_connected_drives), (g_union_volume_monitor_class_init),
3249 (child_volume_added), (child_volume_removed),
3250 (child_volume_changed), (child_mount_added), (child_mount_removed),
3251 (child_mount_pre_unmount), (child_mount_changed),
3252 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3253 (g_union_volume_monitor_remove_monitor),
3254 (_g_mount_get_for_mount_path):
3255 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3256 (guess_system_internal), (_g_get_unix_mounts),
3257 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3258 (g_unix_mount_free), (g_unix_mount_compare),
3259 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3260 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3261 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3262 (type_to_icon), (g_unix_mount_guess_name),
3263 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3264 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3265 (_resolve_symlink), (_resolve_dev_root):
3267 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3268 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3269 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3270 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3271 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3272 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3273 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3274 (g_unix_volume_volume_iface_init):
3276 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3277 (get_mounts), (get_volumes), (get_connected_drives),
3278 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3279 (mountpoints_changed), (mounts_changed),
3280 (g_unix_volume_monitor_init),
3281 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3282 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3283 * gunixvolumemonitor.h:
3284 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3285 (g_volume_mount), (g_volume_mount_finish):
3287 * gvolumemonitor.c: (g_volume_monitor_class_init),
3288 (g_volume_monitor_get_connected_drives),
3289 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3292 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3294 * gmountoperation.h (GPasswordFlags): Close the gap
3296 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3298 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3300 * gdesktopappinfo.[hc]: Remove _-prefixes
3302 2007-12-10 Tor Lillqvist <tml@novell.com>
3304 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3307 2007-12-10 Alexander Larsson <alexl@redhat.com>
3309 * gfile.c (g_file_set_display_name):
3310 Don't hardcode '/' (#502727)
3312 2007-12-09 Hans Breuer <hans@breuer.org>
3314 * makefile.msc : follow lib naming convention
3315 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3316 for user and group name, tested with ../tests/gio-ls
3318 2007-12-09 A. Walton <awalton@svn.gnome.org>
3320 * gdesktopappinfo.c:
3326 * gfileenumerator.c:
3331 * gmemoryinputstream.c:
3332 * gmemoryoutputstream.c:
3334 * gsimpleasyncresult.c:
3335 More documentation cleanup and filling in missing information, bringing
3336 GIO to 99% symbol coverage.
3338 2007-12-08 Hans Breuer <hans@breuer.org>
3340 [gio compiles and links on win32, not sure how much already works]
3341 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3342 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3343 base on win32 API; prefer g_lstat() over lstat(); instead of
3344 localtime_r() use an all GLib implementation on win32;
3345 get_mount_info() still needs a win32 specifc implementation
3346 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3347 win32_get_file_user_info to get owner/group info without uid/gid
3348 * glocalfileinputstream.c : include <io.h> on win32
3349 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3350 definition, use g_win32_ftruncate() for G_OS_WIN32
3351 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3352 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3353 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3354 * makefile.msc : updated
3356 2007-12-07 Alexander Larsson <alexl@redhat.com>
3358 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3359 Avoid warning spew if error == NULL
3361 2007-12-07 Alexander Larsson <alexl@redhat.com>
3364 Update docs wrt etags
3366 2007-12-06 Alexander Larsson <alexl@redhat.com>
3369 Include sys/types.h for dev_t (#501919)
3371 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3375 Make abicheck and pltcheck pass.
3377 2007-12-05 Alexander Larsson <alexl@redhat.com>
3380 * giomodule-priv.h: Added.
3381 * glocaldirectorymonitor.c:
3382 * glocalfilemonitor.c:
3383 * gunionvolumemonitor.c:
3385 Actually add the declaration of _g_io_modules_ensure_loaded
3387 2007-12-05 Alexander Larsson <alexl@redhat.com>
3389 * gdatainputstream.c:
3394 * glocaldirectorymonitor.c:
3395 * glocalfilemonitor.c:
3396 * gunionvolumemonitor.c:
3398 Make g_io_modules_ensure_loaded a private function and
3399 don't pass in the dirname. This means we can do magic
3400 directory finding in the win32 version.
3401 Export the actual load-modules-in-directory code so that
3402 gvfs can reuse that.
3404 2007-12-05 Alexander Larsson <alexl@redhat.com>
3406 * gbufferedinputstream.c:
3407 * gbufferedoutputstream.c:
3410 * gfileenumerator.[ch]:
3411 * gfileinputstream.c:
3412 * gfileoutputstream.[ch]:
3413 * gfilterinputstream.c:
3414 * gfilteroutputstream.c:
3415 * ginputstream.[ch]:
3417 * glocalfileenumerator.c:
3418 * glocalfileinputstream.c:
3419 * glocalfileoutputstream.c:
3420 * gmemoryinputstream.c:
3421 * gmemoryoutputstream.c:
3422 * goutputstream.[ch]:
3425 * gunixinputstream.c:
3426 * gunixoutputstream.c:
3427 Rename all struct members named:
3428 read, write, close, truncate, or mount
3429 to foo_fn, as these are reserved names
3430 and could be defined as macros in libc.
3433 2007-12-04 Alexander Larsson <alexl@redhat.com>
3436 (g_output_stream_close):
3437 Only call flush if non-null.
3439 2007-11-30 Dan Winship <danw@gnome.org>
3441 * ginputstream.c (g_input_stream_set_pending): Make this take a
3442 GError and return a gboolean, and do the "outstanding operation"
3443 check (and the "stream is already closed" check) itself.
3444 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3446 * goutputstream.c (g_output_stream_set_pending)
3447 (g_output_stream_clear_pending): Likewise
3449 * gbufferedinputstream.c:
3450 * gfileinputstream.c:
3451 * gfileoutputstream.c: Update for that
3453 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3454 Like g_simple_async_report_error_in_idle, but takes a GError
3455 rather than building one.
3457 2007-11-30 Dan Winship <danw@gnome.org>
3459 * goutputstream.c: Don't cheat and unset the "pending" flag around
3460 inner calls. Instead, call the class method directly rather than
3461 the wrapper function that checks "pending"
3463 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3465 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3467 2007-12-03 Hans Breuer <hans@breuer.org>
3469 [start of port to win32/msvc]
3470 * gcancellable.c : HAVE_UNIST_H and _pipe()
3471 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3472 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3473 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3475 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3476 * glocalvfs.c : use HAVE_PWD_H
3477 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3478 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3479 * Makefile.am : added to EXTRA_DIST
3481 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3483 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3486 2007-12-03 Alexander Larsson <alexl@redhat.com>
3489 Handle OSX style xattrs API (#500506)
3491 2007-12-03 Alexander Larsson <alexl@redhat.com>
3495 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3497 2007-12-02 A. Walton <awalton@svn.gnome.org>
3501 Documentation accuracy fixes.
3503 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3505 * gioenumtypes.c.template: Fix typo.
3507 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3509 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3511 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3513 * gdirectorymonitor.c:
3514 * gfilemonitor.c: Add properties
3516 * gbufferedoutputstream.c: Don't mark buffer-size property
3519 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3521 * gbufferedoutputstream.c: Add auto-grow property.
3523 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3525 * *.c: Unify the capitalization of section headings.
3527 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3529 * gmountoperation.c: Add properties
3531 * gdatainputstream.c: Turn byte-order and newline-type into
3534 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3536 * gioenumtypes.[hc].template: Templates for enum registration
3538 * Makefile.am: Generate gioenumtypes.[hc]
3540 * gio.h: Include gioenumtypes.h
3542 * gfile.h: Add some explicit nicks.
3544 * gio.symbols: Add new symbols
3546 * pltcheck.sh: Adjust
3548 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3550 * *.c: Explain etags and link to the explanation
3552 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3554 * *.c: Explain I/O priority.
3556 * *.c: More coding style fixes.
3558 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3560 * gasyncresult.c: Add another paragraph to the intro,
3561 adjust coding style of example.
3563 2007-11-29 A. Walton <awalton@svn.gnome.org>
3566 Fixes unknown meaning in GAppLaunchContext docs.
3568 Clarify asynchronous ops.
3570 Fix entity tag docs.
3573 Provides missing gtk-doc section, fixes API docs slighly.
3574 * gsimpleasyncresult.c:
3575 Fill in missing info in docs.
3576 * gunixinputstream.c:
3577 * gunixoutputstream.c:
3578 Be more expressive in short description.
3580 Remove gtk-doc stubs for non-public API.
3582 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3584 * *.c: Coding style fixups
3586 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3588 * inotify/inotify-helper.c: Don't export the lock from libgio.
3590 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3593 * abicheck.sh: Fix copy-and-paste leftovers
3595 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3597 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3599 2007-11-28 Alexander Larsson <alexl@redhat.com>
3603 Removed unnecessary file
3605 * gdesktopappinfo.[ch]:
3608 * glocaldirectorymonitor.[ch]:
3610 * glocalfileenumerator.[ch]:
3611 * glocalfileinputstream.[ch]:
3612 * glocalfilemonitor.[ch]:
3613 * glocalfileoutputstream.[ch]:
3615 * gnativevolumemonitor.c:
3616 * gpollfilemonitor.[ch]:
3617 * gunionvolumemonitor.[ch]:
3620 * gunixvolumemonitor.[ch]:
3623 * inotify/ginotifydirectorymonitor.[ch]:
3624 * inotify/ginotifyfilemonitor.[ch]:
3625 * inotify/inotify-helper.c:
3626 Append _ to all internal functions
3630 Export symbols needed for modules
3632 2007-11-28 Alexander Larsson <alexl@redhat.com>
3635 * abicheck.sh: Added.
3636 * makegioalias.pl: Added.
3637 * pltcheck.sh: Added.
3638 * gio.symbols: Added.
3641 Initial work on adding symbol handling.
3644 Correct ifdef guard name
3647 * inotify/Makefile.am:
3648 * xdgmime/Makefile.am:
3649 Include toplevel Makefile.decl
3651 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3653 * gcontenttype.c: Move doc comments to the unix section.
3655 * *.[hc]: More trivial doc corrections.
3657 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3659 * gpollfilemonitor.c:
3663 * gdesktopappinfo.c:
3668 * gdatainputstream.c:
3669 * gdatainputstream.h:
3670 * gdataoutputstream.c:
3671 * gdataoutputstream.h:
3672 * gfileinfo.h: Doc cleanups
3674 2007-11-28 Andre Klapper <a9016009@gmx.de>
3676 * gdesktopappinfo.c: Fix a typo.
3678 2007-11-27 Andre Klapper <a9016009@gmx.de>
3680 * glocalfileoutputstream.c: Fix a typo.
3682 2007-11-27 Alexander Larsson <alexl@redhat.com>
3685 Don't include removed headers
3687 2007-11-27 Alexander Larsson <alexl@redhat.com>
3690 * gsocketinputstream.[ch]: Removed.
3691 * gsocketoutputstream.[ch]: Removed.
3692 * gunixinputstream.[ch]: Added.
3693 * gunixoutputstream.[ch]: Added.
3694 Renamed GSocket*Stream to GUnix*Stream and made
3695 it unix-only, since its not really only for sockets
3696 and it only works on unix (but is highly useful there).
3698 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3704 * gbufferedinputstream.c:
3705 * gbufferedinputstream.h:
3706 * gbufferedoutputstream.c:
3707 * gbufferedoutputstream.h:
3711 * gdatainputstream.c:
3712 * gdatainputstream.h:
3713 * gdataoutputstream.c:
3714 * gdataoutputstream.h:
3715 * gdirectorymonitor.c:
3716 * gdirectorymonitor.h:
3723 * gfileenumerator.c:
3724 * gfileenumerator.h:
3729 * gfileinputstream.c:
3730 * gfileinputstream.h:
3733 * gfilenamecompleter.c:
3734 * gfilenamecompleter.h:
3735 * gfileoutputstream.c:
3736 * gfileoutputstream.h:
3737 * gfilterinputstream.c:
3738 * gfilterinputstream.h:
3739 * gfilteroutputstream.c:
3740 * gfilteroutputstream.h:
3753 * glocalfileoutputstream.c:
3754 * gmemoryinputstream.c:
3755 * gmemoryinputstream.h:
3756 * gmemoryoutputstream.c:
3757 * gmemoryoutputstream.h:
3758 * gmountoperation.c:
3759 * gmountoperation.h:
3762 * gpollfilemonitor.c:
3765 * gsimpleasyncresult.c:
3766 * gsimpleasyncresult.h:
3767 * gsocketinputstream.c:
3768 * gsocketinputstream.h:
3769 * gsocketoutputstream.c:
3770 * gsocketoutputstream.h:
3777 * gunixvolumemonitor.c:
3786 Bumps documentation to 93% symbol coverage, touching most
3787 of the public files. Fixes broken function documentation prototypes.
3788 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3789 gtk-doc headers in private files.
3791 2007-11-27 Jürg Billeter <j@bitron.ch>
3793 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3794 (g_buffered_input_stream_read_byte):
3795 * gbufferedinputstream.h:
3796 New functions for efficient access to buffer and simple single byte
3799 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3800 (g_data_input_stream_read_until):
3801 * gdatainputstream.h:
3802 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3803 read_until with multiple stop chars.
3805 2007-11-27 Alexander Larsson <alexl@redhat.com>
3809 * inotify/Makefile.am:
3810 Use the user-specified giomoduledir
3812 2007-11-27 Alexander Larsson <alexl@redhat.com>
3816 Add catch-all gio.h header
3817 Don't install gdummyfile.h
3819 2007-11-26 Alexander Larsson <alexl@redhat.com>
3821 * Makefile.am (gioinclude_HEADERS):
3822 Remove trailing whitespace
3824 2007-11-26 Alexander Larsson <alexl@redhat.com>
3826 Merge gio-standalone into glib
3828 2007-11-25 Christian Kellner <gicmo@gnome.org>
3830 * gio/goutputstream.c:
3831 Fix small mistake in the docs.
3833 2007-11-21 Christian Persch <chpe@gnome.org>
3835 * gio/glocalfile.c: (g_local_file_trash):
3836 Convert filenames to UTF-8 for GError.
3837 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3838 as per xdg base dir spec.
3840 2007-11-21 Christian Persch <chpe@gnome.org>
3842 * gio/gdesktopappinfo.c:
3843 Use that g_key_file_to_data cannot fail.
3845 Use stock defines for the key file group and key names.
3848 2007-11-21 Alexander Larsson <alexl@redhat.com>
3851 (copy_stream_with_progress):
3852 Make sure we do a final progress callback with
3853 the full total size.
3855 2007-11-21 Alexander Larsson <alexl@redhat.com>
3858 Export g_file_copy_attributes
3859 Remove padding as its not needed for interfaces
3861 2007-11-20 Alexander Larsson <alexl@redhat.com>
3866 Add G_IO_ERROR_WOULD_MERGE for
3867 copy/move dir on dir with overwrite.
3869 2007-11-20 Alexander Larsson <alexl@redhat.com>
3872 * gio/glocalfileinfo.c:
3873 Add COPY_NAME (this is an optional
3874 non-modified utf8 version of the name) that
3877 2007-11-20 Alexander Larsson <alexl@redhat.com>
3879 * gio/glocalfileenumerator.c:
3880 Report errors as GIOError, not GFileError
3882 2007-11-16 Alexander Larsson <alexl@redhat.com>
3884 * gio/glocalfileoutputstream.c:
3885 * gio/gwin32appinfo.c:
3886 Fix typos in strings.
3887 Patch from Luca Ferretti <elle.uca@libero.it>
3889 2007-11-15 Alexander Larsson <alexl@redhat.com>
3892 Post release version bump
3894 === gio-standalone 0.1.2 ===
3896 2007-11-15 Alexander Larsson <alexl@redhat.com>
3898 * docs/reference/gio/Makefile.am:
3899 Fix up distcheck by removing weird
3905 2007-11-14 Alexander Larsson <alexl@redhat.com>
3907 * gio/gdesktopappinfo.c:
3908 * gio/glocaldirectorymonitor.c:
3910 * gio/glocalfileinfo.c:
3911 * gio/inotify/inotify-sub.c:
3912 * programs/gio-cat.c:
3913 * programs/gio-copy.c:
3914 * programs/gio-info.c:
3915 * programs/gio-ls.c:
3916 * programs/gio-monitor-dir.c:
3917 * programs/gio-monitor-file.c:
3918 * programs/gio-mount.c:
3919 * programs/gio-move.c:
3920 * programs/gio-rm.c:
3921 * programs/gio-save.c:
3922 * programs/gio-trash.c:
3923 Leak fixes from Kjartan Maraas
3925 2007-11-14 Alexander Larsson <alexl@redhat.com>
3927 * gio/fam/fam-helper.c:
3929 * gio/glocalfileinfo.c:
3933 * gio/inotify/inotify-diag.c:
3934 * gio/inotify/inotify-kernel.c:
3935 Various code cleanups from Kjartan Maraas
3937 2007-11-14 Alexander Larsson <alexl@redhat.com>
3939 * gio/gioscheduler.c:
3941 Set up threadpool so that we cache 2 unused
3942 idle threads for at 15 secs. This means we
3943 will reuse thread-local data (like dbus connections)
3946 2007-11-14 Alexander Larsson <alexl@redhat.com>
3948 * gio/fam/fam-helper.c:
3949 * gio/fam/gfamdirectorymonitor.c:
3950 * gio/fam/gfamfilemonitor.c:
3952 * gio/gcontenttype.c:
3953 * gio/gdatainputstream.c:
3954 * gio/gdataoutputstream.c:
3958 * gio/gfileattribute.h:
3959 * gio/gfileenumerator.c:
3961 * gio/ginputstream.c:
3964 * gio/glocalfileinfo.c:
3965 * gio/goutputstream.c:
3966 * gio/gpollfilemonitor.c:
3967 * gio/gsimpleasyncresult.c:
3968 * gio/gunixmounts.c:
3969 * gio/gunixmounts.h:
3970 * gio/inotify/ginotifydirectorymonitor.c:
3971 * gio/inotify/ginotifyfilemonitor.c:
3972 * gio/inotify/inotify-diag.c:
3973 * gio/inotify/inotify-kernel.c:
3974 * gio/inotify/inotify-path.c:
3976 * gio/test-streams.c:
3977 * programs/gio-info.c:
3978 * programs/gio-monitor-dir.c:
3979 * programs/gio-monitor-file.c:
3980 Various code cleanups from Kjartan Maraas
3982 2007-11-13 Alexander Larsson <alexl@redhat.com>
3985 Handle the uri-scheme calls for dummy files
3987 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3989 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3990 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3991 to avoid clash with the C++ keyword.
3993 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3995 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3996 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3998 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4000 * gio/glocaldirectorymonitor.c:
4001 * gio/glocalfilemonitor.c:
4002 * gio/gunionvolumemonitor.c:
4003 Don't use g_once_init_*() for initializations that could fail and
4004 could leave the initialization variable set to 0 but use GOnce.
4005 This prevents a deadlock on the second call when trying to create
4006 a monitor and no monitor type is available. Thanks to Sven Herzberg
4009 2007-11-11 Sven Herzberg <sven@imendio.com>
4011 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4012 #ifdef (make it work on MacOS X again)
4014 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4016 Fixes Changelog for last two commits (sorry guys).
4018 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4020 * gio/gbufferedinputstream.c:
4021 * gio/gdatainputstream.c:
4023 * gio/gfileoutputstream.c:
4024 * gio/gfilterinputstream.c:
4025 * gio/glocalfileinputstream.c:
4028 More consistency fixes in g*stream.c files.
4029 Significant clean of gfile's documentation, filling in of
4030 asynchronous operations documentation.
4032 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4034 * gio/gasyncresult.c:
4035 * gio/gbufferedinputstream.c:
4036 * gio/gbufferedoutputstream.c:
4037 * gio/gcancellable.c:
4038 * gio/gcontenttype.c:
4039 * gio/gdatainputstream.c:
4040 * gio/gdataoutputstream.c:
4041 * gio/gdesktopappinfo.c:
4044 * gio/gfileattribute.c:
4045 * gio/gio/gfileenumerator.c:
4047 * gio/gfileinputstream.c:
4048 * gio/gfilemonitor.c:
4049 * gio/gfileoutputstream.c:
4050 * gio/ginputstream.c:
4052 * gio/gioscheduler.c:
4053 * gio/gloadableicon.c:
4054 * gio/glocalfileoutputstream.c:
4055 * gio/gmemoryoutputstream.c:
4056 * gio/gmountoperation.c:
4057 * gio/goutputstream.c:
4059 * gio/gsimpleasyncresult.c:
4060 * gio/gunionvolumemonitor.c:
4061 * gio/gunixmounts.c:
4062 * gio/gunixvolume.c:
4066 * gio/gvolumemonitor.c:
4067 Updated documentation stubs, working towards consistency and
4070 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4072 * gio/gmemoryoutputstream.c:
4073 * gio/gmemoryoutputstream.h:
4074 Change g_memory_output_stream_set_free_on_close() to
4075 g_memory_output_stream_set_free_data() as this makes more sense and
4076 is more consistent with GMemoryInputStream.
4078 2007-11-07 Alexander Larsson <alexl@redhat.com>
4085 Change how we find the default vfs so that
4086 we can handle a gvfs failing to init
4088 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4090 * gio/gbufferedoutputstream.c:
4091 * gio/gdatainputstream.c:
4092 * gio/gdataoutputstream.c:
4093 * gio/gfileinputstream.c:
4094 * gio/gfileoutputstream.c:
4095 * gio/gfilterinputstream.c:
4096 * gio/gfilteroutputstream.c:
4097 * gio/ginputstream.c:
4098 * gio/gmemoryinputstream.c:
4099 * gio/gmemoryoutputstream.c:
4100 * gio/goutputstream.c:
4101 * gio/gsimpleasyncresult.c:
4102 * gio/gsocketinputstream.c:
4103 * gio/gsocketoutputstream.c:
4104 Add guards to the remaining public functions, add a TODO for
4105 an unimplemented function and remove some useless guards.
4107 2007-11-07 Alexander Larsson <alexl@redhat.com>
4110 Autoconf checks for the various types of
4111 getpwuid_r and getgrgid_r
4113 * gio/glocalfileinfo.c:
4114 Use the autoconf checks from above
4116 2007-11-07 Alexander Larsson <alexl@redhat.com>
4119 (g_local_file_query_filesystem_info):
4120 Some fixes for the statvfs case
4122 2007-11-07 Alexander Larsson <alexl@redhat.com>
4125 (g_local_file_query_filesystem_info):
4126 Pick the "best" of statfs / statvfs for the system
4127 if both are availible.
4129 2007-11-07 Alexander Larsson <alexl@redhat.com>
4131 Solaris fixes from Halton.Huo@Sun.COM:
4138 * gio/glocalfileinfo.c:
4139 Fix for solaris definition of getpwuid_r
4141 * gio/test-streams.c:
4142 Use G_GNUC_PRETTY_FUNCTION
4144 2007-11-07 Alexander Larsson <alexl@redhat.com>
4146 * gio/gdesktopappinfo.c:
4147 (update_default_list):
4148 Remove double semicolon.
4149 Patch from Jens Granseuer
4151 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4153 * docs/reference/gio/gio-sections.txt:
4154 * gio/gbufferedinputstream.c:
4155 * gio/gbufferedinputstream.h:
4156 * gio/gdatainputstream.c:
4157 * gio/gfileenumerator.c:
4158 * gio/gioscheduler.c:
4159 * gio/gunionvolumemonitor.c:
4161 * programs/gio-save.c:
4162 Fix typo: availible -> available. Unfortuntely this breaks API
4163 and ABI as g_buffered_input_stream_get_available() was renamed.
4165 * gio/gunixmounts.c:
4166 * gio/gbufferedinputstream.c:
4167 Add guards for public functions.
4169 2007-11-06 Ross Burton <ross@openedhand.com>
4171 * docs/reference/gio/Makefile.am:
4172 Fix invalid += usage which automake 1.10 doesn't like.
4174 2007-11-06 Alexander Larsson <alexl@redhat.com>
4177 (g_app_launch_context_class_init):
4180 Patch from Ross Burton
4182 2007-11-06 Alexander Larsson <alexl@redhat.com>
4185 Post release version bump
4187 === gio-standalone 0.1.1 ===
4189 2007-11-06 Alexander Larsson <alexl@redhat.com>
4192 Bump version to 0.1.1
4194 * gio/gsimpleasyncresult.c:
4195 (g_simple_async_result_set_from_error):
4196 Remove bogus g_return_if_fail
4198 2007-11-06 Alexander Larsson <alexl@redhat.com>
4201 The name is gio-standalone
4204 Add top src/builddir to includedir
4206 2007-11-06 Alexander Larsson <alexl@redhat.com>
4208 * docs/reference/gio/gio-sections.txt:
4210 * gio/gbufferedinputstream.c:
4211 * gio/gbufferedoutputstream.c:
4212 * gio/gcancellable.c:
4213 * gio/gdatainputstream.h:
4214 * gio/gdataoutputstream.c:
4215 * gio/gdataoutputstream.h:
4216 * gio/gdirectorymonitor.c:
4218 * gio/gfileattribute.c:
4219 * gio/gfileattribute.h:
4220 * gio/gfileenumerator.c:
4221 * gio/gfileenumerator.h:
4224 * gio/gfileinputstream.h:
4225 * gio/gfilemonitor.c:
4226 * gio/gfileoutputstream.h:
4227 * gio/glocalfilemonitor.h:
4228 * gio/glocalfileoutputstream.h:
4229 * gio/gmemoryinputstream.c:
4230 * gio/gmemoryoutputstream.c:
4231 * gio/gmountoperation.c:
4232 * gio/goutputstream.c:
4233 * gio/goutputstream.h:
4235 * gio/gsimpleasyncresult.c:
4236 * gio/gunixmounts.c:
4237 * gio/gunixmounts.h:
4239 * gio/inotify/inotify-helper.c:
4240 Fix gtk-doc warnings
4242 Patch from Ross Burton
4244 2007-11-06 Alexander Larsson <alexl@redhat.com>
4246 * gio/gfilenamecompleter.c:
4247 (g_filename_completer_get_completions):
4250 * gio/gunixvolume.c:
4251 Remove unused function
4253 Patches from Ross Burton
4255 2007-11-06 Alexander Larsson <alexl@redhat.com>
4260 Padding not needed for interfaces
4262 2007-11-06 Alexander Larsson <alexl@redhat.com>
4264 * gio/gfilemonitor.c:
4268 Make giotypes.h an internal file
4271 * gio/gbufferedinputstream.h:
4272 * gio/gbufferedoutputstream.h:
4273 * gio/gcancellable.h:
4274 * gio/gdatainputstream.h:
4275 * gio/gdataoutputstream.h:
4276 * gio/gdirectorymonitor.c:
4277 * gio/gdirectorymonitor.h:
4282 * gio/gfileattribute.h:
4283 * gio/gfileenumerator.h:
4288 * gio/gfilemonitor.c:
4289 * gio/gfilemonitor.h:
4290 * gio/gfilenamecompleter.c:
4291 * gio/gfilenamecompleter.h:
4292 * gio/gfilterinputstream.h:
4293 * gio/gfilteroutputstream.h:
4294 * gio/ginputstream.h:
4295 * gio/gmemoryinputstream.h:
4296 * gio/gmemoryoutputstream.h:
4297 * gio/gmountoperation.c:
4298 * gio/gmountoperation.h:
4299 * gio/gnativevolumemonitor.c:
4300 * gio/goutputstream.h:
4303 * gio/gsimpleasyncresult.c:
4304 * gio/gsimpleasyncresult.h:
4305 * gio/gsocketinputstream.h:
4306 * gio/gsocketoutputstream.h:
4307 * gio/gthemedicon.c:
4308 * gio/gthemedicon.h:
4312 * gio/gvolumemonitor.c:
4313 * gio/gvolumemonitor.h:
4314 Add padding in classes where it seems useful
4315 Don't include giotypes.h from public headers
4316 Move in Class definitions into c file where possible
4321 2007-11-06 Alexander Larsson <alexl@redhat.com>
4323 * docs/reference/gio/gio-docs.xml:
4324 Better structure for API docs
4326 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4329 * gio/gloadableicon.c:
4330 * gio/gsimpleasyncresult.c:
4331 * gio/gthemedicon.c:
4332 Add some more guards to public functions. Only files missing are now
4335 2007-11-06 Alexander Larsson <alexl@redhat.com>
4337 * docs/reference/gio/gio-docs.xml:
4338 Remove old files, add missing ones
4340 2007-11-06 Alexander Larsson <alexl@redhat.com>
4342 * docs/reference/gio/gio-sections.txt:
4345 Hide implementation classes
4347 * gio/gdriveprivate.h:
4348 * gio/gvolumeprivate.h:
4349 Remove non-existing function declarations
4351 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4354 Fix compilation warnings and add guards to the new functions.
4356 * gio/gasyncresult.c:
4358 Add guards to the public functions.
4361 Implement get_path().
4363 2007-11-06 Alexander Larsson <alexl@redhat.com>
4365 * gio/gfilenamecompleter.c:
4366 Make g_filename_completer_get_completions
4367 return char ** instead of GList for
4370 * docs/reference/gio/gio-docs.xml:
4371 * docs/reference/gio/gio-sections.txt:
4373 * gio/gasyncresult.c:
4374 * gio/gbufferedinputstream.c:
4375 * gio/gbufferedoutputstream.c:
4376 * gio/gcancellable.c:
4377 * gio/gcontenttype.c:
4378 * gio/gdatainputstream.c:
4379 * gio/gdataoutputstream.c:
4380 * gio/gdesktopappinfo.c:
4381 * gio/gdirectorymonitor.c:
4385 * gio/gfileattribute.c:
4386 * gio/gfileenumerator.c:
4389 * gio/gfileinputstream.c:
4390 * gio/gfilemonitor.c:
4391 * gio/gfilenamecompleter.c:
4392 * gio/gfilenamecompleter.h:
4393 * gio/gfileoutputstream.c:
4394 * gio/gfilterinputstream.c:
4396 * gio/ginputstream.c:
4398 * gio/gioscheduler.c:
4399 * gio/gloadableicon.c:
4400 * gio/glocaldirectorymonitor.c:
4402 * gio/glocalfileinputstream.c:
4403 * gio/glocalfilemonitor.c:
4404 * gio/glocalfileoutputstream.c:
4406 * gio/gmemoryinputstream.c:
4407 * gio/gmemoryoutputstream.c:
4408 * gio/gmountoperation.c:
4409 * gio/goutputstream.c:
4410 * gio/gpollfilemonitor.c:
4412 * gio/gsimpleasyncresult.c:
4413 * gio/gsocketinputstream.c:
4414 * gio/gsocketoutputstream.c:
4415 * gio/gthemedicon.c:
4416 * gio/gunionvolumemonitor.c:
4418 * gio/gunixmounts.c:
4419 * gio/gunixvolume.c:
4420 * gio/gunixvolumemonitor.c:
4424 * gio/gvolumemonitor.c:
4425 * gio/gwin32appinfo.c:
4426 Add (mostly stub) doc strings to public functions.
4427 Patch from Andrew Walton (awalton@gmail.com)
4429 2007-11-06 Alexander Larsson <alexl@redhat.com>
4431 * gio/gappinfo.[ch]:
4432 Added GAppLaunchContext object and pass that to launch.
4433 This allows simple implementation of both
4434 launch-on-screen and startup notification via a gtk+
4435 subclass of GAppLaunchContext
4437 * gio/gdesktopappinfo.c:
4438 Implement GAppLaunchContext API
4440 * gio/gwin32appinfo.c:
4443 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4445 * gio/gmountoperation.c:
4446 Add some guards to GMountOperation's public functions.
4448 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/gcancellable.c:
4453 * gio/gdirectorymonitor.c:
4455 * gio/gfileenumerator.c:
4456 * gio/gfilemonitor.c:,
4457 * gio/gfilenamecompleter.c:
4460 * gio/gioscheduler.c:
4464 * gio/gvolumemonitor.c:
4465 Add even more guards to various public functions.
4467 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4470 Add guards to the public functions of GAppInfo.
4472 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4474 * gio/gcontenttype.c:
4475 Add some more guards for public functions.
4477 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4479 * gio/fam/fam-module.c:
4480 * gio/fam/gfamdirectorymonitor.c:
4481 * gio/fam/gfamdirectorymonitor.h:
4482 * gio/fam/gfamfilemonitor.c:
4483 * gio/fam/gfamfilemonitor.h:
4484 * gio/inotify/ginotifydirectorymonitor.c:
4485 * gio/inotify/ginotifydirectorymonitor.h:
4486 * gio/inotify/ginotifyfilemonitor.c:
4487 * gio/inotify/ginotifyfilemonitor.h:
4488 Add proper copyright information and remove an unused variable
4489 in the GInotifyFileMonitor constructor.
4491 * gio/gcancellable.c:
4492 Add a guard for a public function and an assertion to prevent
4493 an undefined program state.
4495 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4497 * gio/gfileattribute.c:
4498 Don't run into an assertion if the given attribute value is NULL
4499 in g_file_attribute_value_get_*() but instead return a fallback
4500 value that makes sense in most situations. Passing them a attribute
4501 value with the wrong type will still run into an assertion.
4503 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4505 * gio/gfileattribute.c:
4507 Add even more guards to the public functions. Also fix the refcounting
4508 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4509 let g_file_info_list_attributes() filter the attributes by namespace
4510 instead of simply ignoring the namespace parameter.
4512 2007-11-03 Sven Herzberg <sven@imendio.com>
4514 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4515 (This makes gio work on MacOS X again)
4517 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4520 Build the gio subdirectory before the docs. Otherwise the build will
4523 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4524 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4525 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4526 Add guards to the public functions.
4528 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4530 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4531 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4532 to prevent a compiler warning.
4534 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4535 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4536 return something in the non-void function find_topdir_for().
4538 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4545 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4547 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4548 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4549 * gwin32appinfo.c (g_win32_app_info_launch):
4550 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4551 envp_for_startup_id, g_desktop_app_info_launch,
4552 g_desktop_app_info_launch_uris):
4554 Give an opaque 'startup_id' string instead of 'envp'.
4555 Support empty file lists for launching new windows.
4556 Fix infinite recursion bug when launching URIs.
4558 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4561 Add guard to the new g_file_get_uri_scheme() function.
4563 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4566 Convert a g_return_val_if_fail() to setting the GError instead as
4567 otherwise applications have to verify the parameter before otherwise
4568 and the parameter might come directly from the user.
4570 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4572 * gio/inotify/ginotify*.[ch]:
4573 Add missing copyright information.
4575 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4578 Add guards in the beginning of public functions to check for valid
4579 parameters and fix a bug in copy_stream_with_progress() that could've
4580 caused writing less bytes than reading.
4581 * gio/glocalfileinfo.c:
4582 Check for a NULL parameter and set the GError accordingly then.
4583 * gio/goutputstream.c:
4584 Fix the same bug as in gfile.c that could've caused writing less bytes
4585 than reading in g_output_stream_real_splice().
4587 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4590 Use the correct gvolumeprivate.h naming
4592 2007-11-01 Christian Kellner <gicmo@gnome.org>
4595 Remove leftover "$(daemon_sources)" entry.
4597 2007-11-01 Christian Kellner <gicmo@gnome.org>
4602 Add copyright information to source files.
4604 2007-11-01 Alexander Larsson <alexl@redhat.com>
4608 Add g_file_get_uri_scheme
4610 2007-11-01 Alexander Larsson <alexl@redhat.com>
4613 * gio/gdesktopappinfo.c:
4614 * gio/gwin32appinfo.c:
4615 Add g_app_info_get_default_for_uri_scheme.
4617 2007-11-01 Alexander Larsson <alexl@redhat.com>
4620 Correct filename for gdriveprivate.h
4622 2007-10-31 Alexander Larsson <alexl@redhat.com>
4625 Rename id:value to id:file
4628 * gio/glocalfileinfo.c:
4631 2007-10-31 Alexander Larsson <alexl@redhat.com>
4633 * gio/gunixvolume.c:
4635 Remove g_volume_get_platform_id, as thats not
4636 needed with the simpler union volume monitor
4638 2007-10-31 Alexander Larsson <alexl@redhat.com>
4641 * gio/guniondrive.[ch]: Removed.
4642 * gio/gunionvolume.[ch]: Removed.
4643 Remove GUnionDrive/Volume
4645 * gio/gunionvolumemonitor.c:
4646 Simplify union volume monitor, now we
4647 only have one native volume monitor and
4648 we use the actual volumes/drives from the
4649 child monitors instead of wrapping them
4651 * gio/gnativevolumemonitor.[ch]:
4652 Base class for native volume monitors.
4653 Includes priority and get_volume_for_mountpoint
4656 Add g_file_find_enclosing_volume
4659 Remove volume name fs attribute
4660 Add readonly fs attribute
4663 Implement readonly attribute
4664 remove volume name attribute
4665 Implement find_enclosing volume
4667 * gio/gunixmounts.c:
4668 Add a volume for "/".
4670 * gio/gunixvolume.[ch]:
4671 Set better name for /
4673 * gio/gunixvolumemonitor.[ch]:
4674 Derive from GNativeVolumeMonitor
4675 Implement get_volume_for_mountpoint
4678 GVolume typedef moved to gfile.h
4680 * gio/gvolumeprivate.h:
4681 Add g_volume_get_for_mount_path
4683 2007-10-31 Alexander Larsson <alexl@redhat.com>
4685 * gio/gunixmounts.[ch]:
4686 Add cache info to unix mount listers
4687 Make getmntent use threadsafe
4688 Add is_system_internal attribute for GUnixMount
4690 * gio/gunixvolume.c:
4691 (g_unix_volume_new):
4692 Use is_system_internal instead of own code
4694 * gio/glocaldirectorymonitor.c:
4695 * gio/gunixvolumemonitor.c:
4696 Update to new gunixmounts API
4701 2007-10-30 Alexander Larsson <alexl@redhat.com>
4704 Add volume name fsinfo attribute
4707 Read volume name info
4709 * gio/gunionvolumemonitor.c:
4710 Fix infinite loops when finalizing a union volume monitor
4712 2007-10-30 Alexander Larsson <alexl@redhat.com>
4714 * gio/goutputstream.[ch]:
4715 Add splice() with default implementation
4717 * gio/gsocketoutputstream.c:
4718 (g_socket_output_stream_write):
4719 Return error on cancellation correctly.
4721 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4723 * gio/glocalfile.c (g_local_file_trash):
4724 Do not leak a string.
4726 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4728 * gio/gfile.c (g_file_load_contents):
4729 Unref the stream after closing it.
4731 2007-10-25 Alexander Larsson <alexl@redhat.com>
4733 * gio/gioscheduler.h:
4736 2007-10-25 Alexander Larsson <alexl@redhat.com>
4740 Add g_file_has_uri_scheme and implement for local files
4742 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4744 * gio/gdesktopappinfo.c: do not leak a string.
4746 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4748 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4749 (g_local_directory_monitor_new):
4750 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4751 (g_local_file_monitor_new):
4752 Only look for the monitor type that should be used the first time
4753 and use g_qsort_with_data() instead of our own bubble sort
4756 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4759 * gio/fam/Makefile.am:
4760 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4761 * gio/fam/fam-helper.h:
4762 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4763 * gio/fam/gfamdirectorymonitor.c:
4764 * gio/fam/gfamdirectorymonitor.h:
4765 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4766 * gio/fam/gfamfilemonitor.h:
4767 * gio/glocaldirectorymonitor.c:
4768 * gio/glocaldirectorymonitor.h:
4769 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4770 * gio/glocalfilemonitor.h:
4771 * gio/inotify/Makefile.am:
4772 * gio/inotify/ginotifydirectorymonitor.c:
4773 * gio/inotify/ginotifydirectorymonitor.h:
4774 * gio/inotify/ginotifyfilemonitor.c:
4775 * gio/inotify/ginotifyfilemonitor.h:
4776 Implement the FAM and Inotify monitors as
4777 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4778 their own GIO module. GLocal(Directory|File)Monitor will use the
4779 monitor with the highest rank that is supported on that machine.
4781 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4784 Change GIO module dir to $(libdir)/gio/modules and change
4785 the log domain from GVFS to GIO. Also only export symbols starting
4786 with g_ in the resulting library.
4787 * gio/test-streams.c: (main):
4788 Set log handler for the GIO log domain.
4790 2007-10-22 Alexander Larsson <alexl@redhat.com>
4792 * gio/gfilenamecompleter.[ch]:
4793 Add g_filename_completer_set_dirs_only
4795 2007-10-22 Alexander Larsson <alexl@redhat.com>
4798 * gio/gurifuncs.[ch]:
4799 Add some simple URI helpers
4801 * gio/gfilenamecompleter.[ch]:
4802 Added object for filename (parse name actually) completion
4805 Handle ~ in parse names
4807 2007-10-17 Alexander Larsson <alexl@redhat.com>
4810 * gio/glocalfileinfo.c:
4811 Add and implement id:value attribute
4813 2007-10-17 Alexander Larsson <alexl@redhat.com>
4816 * gio/guniondrive.c:
4818 Add and implement g_drive_has_volumes
4820 2007-10-17 Alexander Larsson <alexl@redhat.com>
4823 * gio/glocalfileinfo.[ch]:
4824 Add unix:is_mountpoint and implement for local files
4826 2007-10-16 Alexander Larsson <alexl@redhat.com>
4828 * gio/gunionvolumemonitor.c:
4829 (g_union_volume_monitor_init):
4830 Fix up the unix type getting so that it works with gcc
4832 2007-10-12 Alexander Larsson <alexl@redhat.com>
4835 * gio/glocalfileinfo.c:
4836 Add thumbnail:failed to file info
4838 2007-10-12 Richard Hult <richard@imendio.com>
4840 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4841 optimizing away the get_type call (happens with some gcc versions,
4842 like the one shipped with OS X 10.4).
4844 2007-10-12 Alexander Larsson <alexl@redhat.com>
4846 * gio/glocalfileinfo.c:
4847 (_g_local_file_info_set_attribute):
4848 Fix build if not HAVE_XATTR
4849 Patch from Milosz Derezynski <internalerror@gmail.com>
4851 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4853 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4854 around for review, otherwise I would have asked you before
4857 2007-10-11 Alexander Larsson <alexl@redhat.com>
4860 Add thumbnail:path attribute
4862 * gio/glocalfileinfo.c:
4863 Implement thumbnail:path for local files
4865 2007-10-11 Alexander Larsson <alexl@redhat.com>
4867 * gio/glocalfileinfo.c:
4868 (_g_local_file_info_get):
4869 Avoid duplicate icon names
4871 2007-10-11 Alexander Larsson <alexl@redhat.com>
4873 * gio/gthemedicon.[ch]:
4874 Change g_themed_icon_get_names return type to const
4876 2007-10-10 Alexander Larsson <alexl@redhat.com>
4878 * gio/glocalfileinfo.c:
4879 Don't reference freed memory
4881 2007-10-10 Alexander Larsson <alexl@redhat.com>
4883 * gio/gfileattribute.c:
4886 * gio/glocalfileinfo.c:
4889 2007-10-10 Alexander Larsson <alexl@redhat.com>
4892 Check for NULL icons
4894 * gio/gfileattribute.c:
4895 Don't dup when getting objects (same as for string attributes)
4897 * gio/gicon.c (g_icon_equal):
4898 Safely handle NULLs in equal
4900 2007-10-10 Alexander Larsson <alexl@redhat.com>
4903 Fix c++ compilation issues
4904 Patch from Milosz Derezynski <internalerror@gmail.com>
4906 2007-10-10 Alexander Larsson <alexl@redhat.com>
4908 * programs/gio-monitor-dir.c:
4909 Don't crash if dir monitor not supported.
4911 2007-10-09 Alexander Larsson <alexl@redhat.com>
4914 Add missing G_END_DECLS
4916 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4918 * gio/gfile.c: (g_file_set_display_name),
4919 (g_file_query_settable_attributes),
4920 (g_file_query_writable_namespaces):
4921 Return NULL not FALSE on errors as the return type is a pointer.
4923 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4925 * gio/glocalfile.c: (g_local_file_monitor_file):
4926 Don't call monitor_file on the default interface vtable (which
4927 is NULL) but simply return NULL. The caller, GFile, will create a
4928 polling monitor if NULL is returned.
4930 2007-10-09 Alexander Larsson <alexl@redhat.com>
4934 * gio-unix-2.0.pc.in:
4935 Add gio-unix-2.0.pc if OS_UNIX
4938 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4940 2007-10-09 Alexander Larsson <alexl@redhat.com>
4942 * gio/gunixmounts.[ch]:
4943 Make unix mount monitoring API sane.
4944 Now its just a object with mounts_changed
4945 and mountpoints_changed signals.
4947 * gio/glocaldirectorymonitor.c:
4948 * gio/gunixvolumemonitor.c:
4949 Use new mount monitor api
4951 2007-10-09 Alexander Larsson <alexl@redhat.com>
4953 * gio/gunixmounts.[ch]:
4954 Move guess type into one call for mounts and one for mountpoints
4957 * gio/gunixvolume.c:
4960 2007-10-09 Alexander Larsson <alexl@redhat.com>
4962 * gio/gunixmounts.[ch]:
4963 Remove _ prefix in preparation to make this semi-public
4964 Hide implementation of structs
4966 * gio/glocaldirectorymonitor.c:
4968 * gio/gunixvolume.c:
4969 * gio/gunixvolumemonitor.c:
4970 Update for above API changes
4972 2007-10-08 Alexander Larsson <alexl@redhat.com>
4975 Better polling fallback. This also handles the case where we have
4976 a monitor_file implementation, but it fails.
4978 2007-10-08 Alexander Larsson <alexl@redhat.com>
4982 * gio/gunixmounts.c:
4983 * programs/gio-monitor-dir.c:
4984 * programs/gio-monitor-file.c:
4985 Added cancellable to file monitoring calls.
4986 These are really sync calls and need this.
4988 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4990 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4991 (g_local_vfs_class_init):
4992 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4993 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4995 2007-10-05 Alexander Larsson <alexl@redhat.com>
4997 * gio/gdirectorymonitorprivate.h:
4998 * gio/gfilemonitorprivate.h:
4999 * gio/gdirectorymonitor.h:
5000 * gio/gfilemonitor.h:
5001 Remove *private.h and move to the public API, so that
5002 we can do implementations outside gio (such as in gvfs)
5004 * gio/gdirectorymonitor.c:
5005 * gio/gfilemonitor.c:
5006 * gio/glocaldirectorymonitor.c:
5007 * gio/gpollfilemonitor.c:
5008 * gio/inotify/inotify-helper.c:
5009 * gio/fam/fam-helper.c:
5010 Update to the new header names
5012 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5014 * gio/gdirectorymonitor.c:
5015 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5018 2007-10-04 Alexander Larsson <alexl@redhat.com>
5020 * gio/glocalfileinfo.c (get_access_rights):
5021 Set CAN_TRASH when we can move the file.
5022 We should really also check for a parent trash dir.
5024 2007-10-04 Alexander Larsson <alexl@redhat.com>
5026 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5027 Add can_trash access attribute
5029 2007-10-04 Alexander Larsson <alexl@redhat.com>
5032 (g_local_file_trash):
5033 Create info file first. This is per-spec and allows
5034 us to actually trash directories.
5036 2007-10-02 Alexander Larsson <alexl@redhat.com>
5038 * gio/gdesktopappinfo.c:
5039 Implement the new mime support code.
5040 Always set app as handling mimetype when being set as default for it
5042 2007-10-01 Alexander Larsson <alexl@redhat.com>
5044 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5045 Fix up check for xattrs:
5047 2007-10-01 Alexander Larsson <alexl@redhat.com>
5050 (g_app_info_set_as_default_for_extension):
5051 (g_app_info_add_supports_type):
5052 (g_app_info_can_remove_supports_type):
5053 (g_app_info_remove_supports_type):
5054 Make these fail nicely if not implemented
5056 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5058 * gio/glocalfileoutputstream.c:
5059 * gio/glocalfileoutputstream.h:
5064 * programs/gio-save.c:
5065 Add a GFileCreateFlags argument to operations that can create
5068 2007-10-01 Alexander Larsson <alexl@redhat.com>
5070 * gio/gappinfo.[ch]:
5071 * gio/gdesktopappinfo.c:
5072 Add more (stubbed out) mime API needed for nautilus
5074 2007-10-01 Alexander Larsson <alexl@redhat.com>
5077 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5078 Add g_app_info_set_as_default_for_extension.
5080 * gio/gdesktopappinfo.c:
5081 Dummy for g_app_info_set_as_default_for_extension
5082 Support flags in g_app_info_create_from_commandline
5084 * gio/gwin32appinfo.c:
5086 Update for API changes
5088 * gio/gthemedicon.c:
5089 Properly NULL-terminate list of icon names
5091 2007-09-28 Alexander Larsson <alexl@redhat.com>
5093 * gio/gloadableicon.h:
5094 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5096 2007-09-28 Alexander Larsson <alexl@redhat.com>
5099 Install headers in $includedir/gio-standalone/
5101 * gio-2.0.pc.in: Added.
5102 * gio-standalone.pc.in: Removed.
5105 Renamed pkg-config file to match glib (for future move)
5106 Update to the new include dir
5109 Add more TODO comments
5111 2007-09-28 Alexander Larsson <alexl@redhat.com>
5113 * gio/gdesktopappinfo.[ch]:
5114 Expose new_from_filename
5115 Add getter for is_hidden and handle it better
5117 2007-09-28 Alexander Larsson <alexl@redhat.com>
5119 * gio/gfileinfo.[ch]:
5120 Rename g_file_size_format_for_display to
5121 g_format_file_size_for_display.
5122 Now it doesn't have the g_file prefix, so we
5123 can later move it to glib.
5125 2007-09-28 Alexander Larsson <alexl@redhat.com>
5127 * gio/gappinfo.[ch]:
5128 Add g_app_info_get_id and g_app_info_get_executable.
5129 Make all getters non-reffing
5130 Make g_app_info_launch take GFile arguments.
5131 Add must_support_uris argument to g_app_info_get_default_for_type.
5133 * gio/gwin32appinfo.c:
5134 Update to GAppInfo api changes
5136 * gio/gdesktopappinfo.c:
5137 Update to GAppInfo api changes
5138 Implement supports_xdg_startup_notify
5140 * gio/gfileicon.c (g_file_icon_get_file):
5141 Make getter non-reffing.
5146 2007-09-27 Alexander Larsson <alexl@redhat.com>
5148 * gio/gfileinfo.[ch]:
5149 Add g_file_size_format_for_display helper
5151 2007-09-27 Alexander Larsson <alexl@redhat.com>
5153 * gio/glocalfileinfo.c:
5154 Set UNIX_GID from gid, not from uid
5156 2007-09-27 Alexander Larsson <alexl@redhat.com>
5159 Add g_file_set_attributes_async
5161 2007-09-27 Alexander Larsson <alexl@redhat.com>
5163 * gio/glocalfile.c (g_local_file_set_display_name):
5164 Fix set_display_name to actually rename to the right place.
5165 Use lstat to look for existing files so we don't overwrite
5168 2007-09-26 Alexander Larsson <alexl@redhat.com>
5171 Add g_file_set_display_name_async()
5173 2007-09-26 Alexander Larsson <alexl@redhat.com>
5176 Add load_partial_contents async calls
5179 Make internal function static
5181 2007-09-26 Alexander Larsson <alexl@redhat.com>
5183 * gio/glocalfileinfo.c:
5184 Correctly detect broken symlinks
5186 2007-09-26 Alexander Larsson <alexl@redhat.com>
5188 * gio/gcancellable.c (g_cancellable_cancel):
5189 Allow cancel on NULL cancellable
5191 2007-09-25 Alexander Larsson <alexl@redhat.com>
5193 * gio/gsimpleasyncresult.c:
5194 Don't allocate g_error manually.
5195 Fixes g_slice/g_new mixup crash
5197 2007-09-25 Alexander Larsson <alexl@redhat.com>
5199 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5200 Actually set active_backend.
5201 This means the monitor will be cancelled correctly.
5203 2007-09-25 Alexander Larsson <alexl@redhat.com>
5205 * gio/gdirectorymonitor.c:
5206 Set timeout to NULL when destroying
5208 2007-09-25 Alexander Larsson <alexl@redhat.com>
5211 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5212 that is a better description of the error.
5214 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5216 * gio/gvfs.c: (g_vfs_get_local):
5217 Make the local vfs variable static. The same instance should
5220 2007-09-24 Alexander Larsson <alexl@redhat.com>
5222 * gio/glocalfileinfo.c:
5223 Pass in actual length read into sniffer, not the length
5226 2007-09-21 Alexander Larsson <alexl@redhat.com>
5228 * gio/gfileenumerator.c:
5231 * gio/gfileinputstream.c:
5232 * gio/gfileoutputstream.c:
5233 * gio/ginputstream.c:
5234 * gio/goutputstream.c:
5235 Don't crash if async callbacks are NULL
5237 2007-09-20 Alexander Larsson <alexl@redhat.com>
5240 Add async enumerate_children method and default
5243 2007-09-20 Alexander Larsson <alexl@redhat.com>
5246 Add g_file_contains_file & g_file_get_relative_path, since they
5247 were needed for nautilus.
5248 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5253 Implement new methods
5255 2007-09-17 Alexander Larsson <alexl@redhat.com>
5258 * gio/gfileinputstream.[ch]:
5259 * gio/gfileoutputstream.[ch]:
5261 * gio/glocalfileenumerator.[ch]:
5262 * gio/glocalfileinfo.[ch]:
5263 * gio/glocalfileinputstream.c:
5264 * gio/glocalfileoutputstream.c:
5265 * gio/gpollfilemonitor.c:
5266 * programs/gio-copy.c:
5267 * programs/gio-info.c:
5268 * programs/gio-move.c:
5269 Rename get_file_info to query_info() to make it clearer
5270 that these are not simple getters, but do i/o.
5272 2007-09-17 Alexander Larsson <alexl@redhat.com>
5274 * gio/gdatainputstream.[ch]:
5275 * gio/test-streams.c:
5276 Use _read_XXX instead of _get_XXX for the i/o calls
5279 2007-09-17 Alexander Larsson <alexl@redhat.com>
5282 Added needed stuff to TODO comment
5284 2007-09-17 Alexander Larsson <alexl@redhat.com>
5286 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5287 Don't error out removing the backup copy if it doesn't
5290 2007-09-14 Alexander Larsson <alexl@redhat.com>
5292 * programs/Makefile.am:
5293 * programs/gvfs-*.c:
5295 Renamed apps from gvfs-xxx to gio-xxx.
5297 2007-09-14 Alexander Larsson <alexl@redhat.com>
5300 * gio/gfileoutputstream.[ch]:
5301 * gio/glocalfileoutputstream.c:
5302 * programs/gvfs-save.c:
5303 g_file_output_stream_get_etag doesn't do i/o, so remove
5304 cancellation and error.
5306 2007-09-14 Alexander Larsson <alexl@redhat.com>
5309 Add new_etag output to replace_contents functions
5311 2007-09-14 Alexander Larsson <alexl@redhat.com>
5313 * gio/gfileoutputstream.[ch]:
5314 Add async get_file_info and default implementation
5316 2007-09-14 Alexander Larsson <alexl@redhat.com>
5318 * gio/gfileinputstream.c:
5319 Implement fallback wrapper for async get_file_info
5321 2007-09-14 Alexander Larsson <alexl@redhat.com>
5324 Add etag out argument to load_contents
5329 2007-09-14 Alexander Larsson <alexl@redhat.com>
5331 * gio/gcontenttype.c (looks_like_text):
5332 Whitespace like tab, cr and lf do not make the
5335 2007-09-14 Alexander Larsson <alexl@redhat.com>
5337 * gio/gfileinputstream.[ch]:
5338 Add async get_file_info.
5340 2007-09-13 Alexander Larsson <alexl@redhat.com>
5342 * gio/goutputstream.c (g_output_stream_write_all):
5343 Allow NULL for bytes_written
5345 2007-09-13 Alexander Larsson <alexl@redhat.com>
5347 * gio/gmemoryinputstream.[ch]:
5348 Add accessors for data
5350 2007-09-13 Alexander Larsson <alexl@redhat.com>
5352 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5353 Don't crash if length is NULL