1 2008-12-01 Matthias Clasen <mclasen@redhat.com>
3 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
4 behaviour change, and update the docs instead, to avoid breaking
7 2008-12-01 Matthias Clasen <mclasen@redhat.com>
9 * === Released 2.19.1 ===
11 2008-12-01 Alexander Larsson <alexl@redhat.com>
15 * gunionvolumemonitor.c:
17 Add and document g_mount_is_shadowed plus calls
18 to set/unset a mount as shadowed
20 2008-11-28 Matthias Clasen <mclasen@redhat.com>
22 * gio/tests/g-icon.c: Comment out two failing tests
24 2008-11-28 Matthias Clasen <mclasen@redhat.com>
26 Bug 555486 – No way to recover command line from GAppInfo
29 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
30 by Hans Petter Jansson.
32 * gdesktopappinfo.c: And implement it here.
34 2008-11-28 Christian Dywan <christian@imendio.com>
36 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
38 2008-11-28 Matthias Clasen <mclasen@redhat.com>
40 Bug 559633 – gtk_image_new_from_gicon does not always work for
43 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
44 extensions on icon names. Proposed by Axel von Bertoldi.
46 2008-11-28 Matthias Clasen <mclasen@redhat.com>
48 Bug 548163 – Nautilus displays wrong error message for too long file
51 * glocalfile.c (g_local_file_set_display_name): Correctly set
52 error conditions if the new name is e.g. too long. Reported
53 by Leonardo Ferreira Fontenelle.
55 2008-11-28 Matthias Clasen <mclasen@redhat.com>
57 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
60 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
61 documented and include the line end in the returned string.
62 Pointed out by Paul Pogonyshev.
64 * tests/data-input-stream.c: Fix the read_line test to test the
67 2008-11-28 Matthias Clasen <mclasen@redhat.com>
69 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
70 files that have been created by g_app_info_create_from_commandline.
72 2008-11-28 Matthias Clasen <mclasen@redhat.com>
74 Bug 541715 – win32 : patch for warnings and signature problems in
77 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
80 2008-11-28 Matthias Clasen <mclasen@redhat.com>
82 Bug 562393 – g_buffered_input_stream_read_byte broken if data
85 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
86 handling of buffered content. Patch by Philip Withnall
88 * tests/buffered-input-stream.c: Add a testcase for this bug.
89 * tests/Makefile.am: And build it
91 2008-11-28 Matthias Clasen <mclasen@redhat.com>
93 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
96 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
97 '/' away. Spotted by Dan Williams.
99 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
101 Bug 561375 – Leaks mountpoint description
103 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
106 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
108 Bug 561352 – Leak of icon description
110 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
113 2008-11-14 Matthias Clasen <mclasen@redhat.com>
115 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
117 2008-11-12 Tor Lillqvist <tml@novell.com>
119 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
121 * win32/gwinhttpvfs.h: Move the set of function pointers to
122 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
123 pointer to that in the GWinHttpVfsClass.
125 * win32/gwinhttpvfs.c: Move the lookup of functions from
126 winhttp.dll into a function of its own, that stores the pointers
127 in a separate GWinHttpDllFuncs variable. Add two bookeeping
128 booleans lookup_done and funcs_found.
130 Don't call g_io_extension_point_implement() to register the
131 winhttp extension unless winhttp.dll has been successfully loaded
132 and the required functions found in it.
134 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
135 winhttp.dll correspondingly.
137 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
139 reviewed by: Alexander Larsson <alexl@redhat.com>
141 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
142 clearer about the behavior when there's no more content to read.
144 2008-10-27 Federico Mena Quintero <federico@novell.com>
146 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
148 2008-10-27 Tor Lillqvist <tml@novell.com>
150 Bug 557592 - Missing include in gwinhttpfile.c
152 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
155 2008-10-24 Matthias Clasen <mclasen@redhat.com>
157 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
159 * fam/fam-helper.c: Fix a memory leak and formatting issues.
160 Reported by Daniel Marjamäki
162 2008-10-23 Matthias Clasen <mclasen@redhat.com>
164 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
166 2008-10-23 Alexander Larsson <alexl@redhat.com>
168 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
171 (_g_local_file_info_get):
172 Don't return the fallback icon (text-x-generic) for all files.
173 This is causing problems with theme icon lookup and custom mime
174 icons, as the generic fallback overrides custom mime icons in
177 This is a slight change as applications might not get an icon wher
178 they previously did. But there is no guarantee to get on neither before
179 or after this change, so it should not break applications. Changes
180 to nautilus and gtk+ will be done to manually use the generic fallback
181 icon if no icon is found, but this is only required for rare cases.
183 2008-10-21 Alexander Larsson <alexl@redhat.com>
186 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
188 2008-10-21 Alexander Larsson <alexl@redhat.com>
190 Bug 555740 - gicon serialization
191 Based on patch from David Zeuthen
195 Add g_icon_to_string() and g_icon_new_for_string().
201 Implement icon serialization for built-in icon types
205 Added GIcon serialization test
207 2008-10-16 Matthias Clasen <mclasen@redhat.com>
209 * === Released 2.19.0 ===
211 2008-10-16 Matthias Clasen <mclasen@redhat.com>
213 Bug 556422 – g_file_enumerator_next_file: unclear whether return
214 value needs to be freed
216 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
217 the return value docs. Pointed out by Armin Burgmeier
219 2008-10-14 Matthias Clasen <mclasen@redhat.com>
221 Bug 556334 – Warning when building without selinux support
223 * glocalfileinfo.c: Avoid compiler warnings when selinux is
224 disabled. Patch by Pascal Terjan
226 2008-10-14 Matthias Clasen <mclasen@redhat.com>
228 Bug 556335 – make check fails in abicheck.sh
230 * gio.symbols: Add g_file_attribute_info_list_get_type.
231 Pointed out by Pascal Terjan.
233 2008-10-13 Alexander Larsson <alexl@redhat.com>
236 When adding an application as handling a mime type (but
237 not as the default), copy the full list of desktop ids handling
238 that type in before adding the new one on the end of the list.
239 This means we're not accidentally changing the default by overriding
240 the info from the later directories in the search path.
242 Also, fixes small leak of removed_entries.
244 2008-10-12 David Zeuthen <davidz@redhat.com>
247 * gunionvolumemonitor.c:
249 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
251 2008-10-10 Alexander Larsson <alexl@redhat.com>
253 * gfileattribute.c (escape_byte_string):
254 Upper half of byte is >> 4, not >> 8.
255 Found by Kjartan Maraas via sparse
257 2008-10-10 Matthias Clasen <mclasen@redhat.com>
259 Bug 555711 – Wrong fallback order of mimetype icons
261 * gcontenttype.c: Don't prefer generic icons over
262 default mimetype icons.
264 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
265 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
267 Patch by Krysztof Kosiński
269 2008-10-10 Matthias Clasen <mclasen@redhat.com>
271 Bug 555121 – Improved build-time handling of gio module-dir
273 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
274 * Makefile.am: Create the module dir.
276 2008-10-10 Matthias Clasen <mclasen@redhat.com>
278 * gio/glocalfileinfo.c:
279 * gio/tests/live-g-file.c:
280 * gio/gsimpleasyncresult.c: Fix gcc warnings.
282 2008-10-09 Alexander Larsson <alexl@redhat.com>
284 * gunixinputstream.c (g_unix_input_stream_read):
285 Actually return -1 in case of cancelled, not old res value.
287 2008-10-06 Colin Walters <walters@verbum.org>
289 Bug 554745 - GFileAttributeInfoList should be boxed
291 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
292 for convenience of bindings.
293 * gio/gfileattribute.h: Prototype it.
295 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
297 Bug 554970 – segfault when update-desktop-database is not available
300 * gdesktopappinfo.c (run_update_command): Have the error set before
303 2008-10-01 David Zeuthen <davidz@redhat.com>
305 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
306 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
307 instead of the gio URI (such as sftp://foo/file.avi) when using
308 g_app_info_launch() and friends. With a sufficiently recent gvfs,
309 apps using gio+gvfs will map the FUSE file:// URI back to the gio
310 URI (and thus bypass the fuse daemon) thanks the patch from bug
311 #530654. Since Nautilus is an user of g_app_info_launch() it
312 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
313 when launced via the file manager. Win. Fixes bug #528670.
315 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
316 mapping to the description of GAppInfo.
318 2008-09-30 Tor Lillqvist <tml@novell.com>
320 * tests/Makefile.am: Build desktop-app-info only on Unix.
322 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
323 g_critical(). Pass a large enough result buffer to
324 GetVolumePathNameW(). Just use MAX_PATH.
326 2008-09-29 David Zeuthen <davidz@redhat.com>
328 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
330 2008-09-26 Dan Winship <danw@gnome.org>
332 * tests/data-input-stream.c:
333 * tests/data-output-stream.c:
334 * tests/live-g-file.c:
335 * tests/memory-input-stream.c:
336 * tests/memory-output-stream.c: Use g_assert_error() and
339 2008-09-26 Matthias Clasen <mclasen@redhat.com>
341 Bug 545350 – GAppInfo deletion
342 Bug 545351 – Reset associations for content type
345 * gappinfo.[hc]: New functions g_app_info_can_delete,
346 g_app_info_delete and g_app_info_reset_type_associations.
349 * gwin32appinfo.c: Implementations of these.
352 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
354 2008-09-26 Dan Winship <danw@gnome.org>
356 Bug 505361 – gunixinputstream.c assumes poll() available
357 Bug 509446 – portable blocking gio cancellation
359 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
360 GPollFD for a cancellable (which is slightly more complicated on
363 * gunixinputstream.c (g_unix_input_stream_read):
364 * gunixoutputstream.c (g_unix_output_stream_write): Use
365 g_cancellable_make_pollfd() and g_poll() rather than using poll()
368 * tests/unix-streams.c: test of GUnixInputStream,
369 GUnixOutputStream, and GCancellable.
371 2008-09-26 Dan Winship <danw@gnome.org>
373 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
374 cast to stop a gcc warning
376 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
379 2008-09-25 Dan Winship <danw@gnome.org>
381 Bug 553426 - cancellable clarifications
383 * gcancellable.c (g_cancellable_class_init): Add a note to the
384 "cancelled" signal docs warning about thread-safety issues
385 (g_cancellable_cancel): Note that cancelling an asynchronous
386 operation takes effect asynchronously, not immediately.
388 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
390 * gioenums.h: Add new GFileCopyFlag, to leave target file with
391 default perms, instead of setting the source file perms, in a copy
394 * gfile.c (g_file_copy_attributes)
395 (build_attribute_list_for_copy)
396 (should_copy): Not copy "unix::mode" attribute if we have received
397 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
399 2008-09-20 Matthias Clasen <mclasen@redhat.com>
401 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
403 2008-09-17 Matthias Clasen <mclasen@redhat.com>
405 * === Released 2.18.1 ===
407 2008-09-16 Michael Natterer <mitch@imendio.com>
409 * gcontenttype.c (g_content_type_guess): can't assign the return
410 value of g_strdupv() to an array. Fill the array manually with
411 const strings instead (it is never freed anyway). Fixes the
412 build. Also fixed indentation.
414 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
416 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
417 Fix trivial typo to unbreak the build (there was a colon
418 instead of a semicolon at the end of a statement).
420 2008-09-15 Matthias Clasen <mclasen@redhat.com>
422 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
425 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
428 2008-09-15 Matthias Clasen <mclasen@redhat.com>
430 Bug 551681 – g_content_type_guess() too naive with filenames
432 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
433 at the end of the filename, and declare it a directory.
434 Patch by Bastien Nocera
436 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
438 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
441 * gdesktopappinfo.c: add a note in the docs clarifying what the
442 "filename" parameter really is.
444 2008-09-12 Tor Lillqvist <tml@novell.com>
446 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
447 FormatMessage() etc here. Call g_win32_error_message() instead
448 which already does all that. Besides, the code was broken as it
449 called the default "A" version of FormatMessage() but still
450 thought it produced a wide string.
452 2008-09-12 Michael Natterer <mitch@imendio.com>
454 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
455 in the documentation.
457 2008-09-08 Christian Neumair <cneumair@gnome.org>
459 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
460 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
461 Use non-blocking pipe for mount helper I/O. Fixes #550647.
463 2008-09-06 Matthias Clasen <mclasen@redhat.com>
465 Bug 551149 – xdgmime mem leak
467 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
468 a memory leak. Patch by Christian Persch
470 2008-09-04 Tor Lillqvist <tml@novell.com>
472 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
475 2008-09-02 Matthias Clasen <mclasen@redhat.com>
477 * === Released 2.18.0 ===
479 2008-09-02 Michael Natterer <mitch@imendio.com>
481 * *.h: big header formatting cleanup: indentation, vtable
482 formatting, consistent spacing in (* vfunc), trailing whitespace
483 removal. Formatting should be pretty consistent in all GIO headers
486 2008-09-02 Matthias Clasen <mclasen@redhat.com>
488 * gmount.h: Document guess_content_type sync vfunc.
490 2008-09-02 Michael Natterer <mitch@imendio.com>
492 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
493 fix parent_class member to be GFilterOutputStreamClass (not
494 GOutputStreamClass). Drop three pointers of padding, which is
495 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
496 so the class struct size stays the same.
498 2008-09-02 Matthias Clasen <mclasen@redhat.com>
500 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
502 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
503 nonexisting return values. Pointed out by Cosimo Cecchi.
505 2008-08-23 Tor Lillqvist <tml@novell.com>
507 Bug 548988 - g_file_replace fails on Windows when the target file
510 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
511 Windows, close the file before potentially renaming it (in case we
512 have been writing to a file with a temporary name).
514 (g_local_file_output_stream_close, handle_overwrite_open): Use
515 GLocalFileStat instead of plain struct stat, for passing to
516 _g_local_file_info_create_etag(). Thus also use _fstati64()
517 instead of plain fstat() on Windows.
519 2008-08-18 Matthias Clasen <mclasen@redhat.com>
521 * === Released 2.17.7 ===
523 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
525 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
528 2008-08-13 Tor Lillqvist <tml@novell.com>
530 * win32/gwinhttpvfs.c
531 * win32/gwinhttpvfs.h
532 * win32/gwinhttpfile.c
533 * win32/gwinhttpfileinputstream.c
534 * win32/gwinhttpfileoutputstream.c: Refactor some common code
535 snippets into helper functions. Check HTTP response status
536 codes. Implement g_winhttp_file_query_info(), looking at
537 Content-Length, Content-Type and Last-Modified.
539 * win32/winhttp.h: Add some symbolic constants that are not
540 publicly documented. Just a handful, so it should be OK to use
541 information from the Windows SDK's headers.
543 2008-08-13 Tor Lillqvist <tml@novell.com>
545 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
548 * win32/gwin32directorymonitor.c
549 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
551 2008-08-13 Matthias Clasen <mclasen@redhat.com>
554 * goutputstream.c: Add intro docs.
556 2008-08-13 Tor Lillqvist <tml@novell.com>
558 * win32/gwinhttpfileoutputstream.c
559 (g_winhttp_file_output_stream_write): Don't write the
560 Content-Length header ourselves, WinHttpSendRequest() takes care
561 of that when the dwTotalLength parameter is non-zero. Increment
562 offset by the number of actual bytes sent, although I wonder if
563 such a scenario is possible where less than requested would be
564 sent and accepted by the server without errors.
566 2008-08-13 Tor Lillqvist <tml@novell.com>
568 * win32/gwinhttpvfs.c
569 * win32/gwinhttpvfs.h
570 * win32/gwinhttpfile.c
571 * win32/gwinhttpfile.h
572 * win32/gwinhttpfileinputstream.c
573 * win32/gwinhttpfileinputstream.h
574 * win32/gwinhttpfileoutputstream.c
575 * win32/gwinhttpfileoutputstream.h: New files implementing
576 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
577 Windows. The implementation uses the WinHttp API. Both reading and
578 writing are supported, i.e. GET and PUT requests. When writing,
579 each write call is done using a separate PUT request with a
580 Content-Range header. Requests for file URIs and plain pathnames
581 are forwarded to GLocalVfs.
583 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
584 WINE. Used as there is no <winhttp.h> bundled with mingw, and
585 requiring people to download the Windows SDK just for this one
586 header is not reasonable.
588 * win32/Makefile.am: Add above files.
590 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
591 the plumbing for the above.
593 2008-08-11 Sven Neumann <sven@gimp.org>
595 * gfilenamecompleter.c
596 * glocaldirectorymonitor.c
598 * gunionvolumemonitor.c
602 * gunixvolumemonitor.c
605 * gwin32volumemonitor.c: use canonical signal names.
607 2008-08-11 Tor Lillqvist <tml@novell.com>
609 * Makefile.am: Put a list of the platform-dependent .la files in
610 the subdirectories in the platform_deps Make variable, and make
611 libgio-2.0.la depend on that, so that it gets relinked if one of
612 the dependent libraries has changed.
614 2008-08-11 Tor Lillqvist <tml@novell.com>
616 * Makefile.am (platform_libadd): Remove -lwininet which had been
617 added by mistake. We will probably eventually be using WinHTTP,
618 not the older WinInet anyway. (Actually I am working on it.)
620 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
622 Bug 547080 – g_file_copy leaks expected errors
624 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
625 before trying the next fallback routine.
627 2008-08-09 Loïc Minier <lool@dooz.org>
629 Bug 535124 – umask 002 not being applied for new directories, new
630 files get the correct umask
632 * gfile.c (g_file_make_directory)
633 (g_file_make_directory_with_parents): Document ownership and
634 permissions of newly created directories as being the default
637 2008-08-08 Loïc Minier <lool@dooz.org>
639 Bug 535124 – umask 002 not being applied for new directories, new
640 files get the correct umask
642 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
645 2008-08-08 Tor Lillqvist <tml@novell.com>
647 * gwin32mount.c: Remove unused code. Whitespace cleanup.
649 * gwin32volumemonitor.c (get_connected_drives): Put questionable
650 code that didn't actually do anything inside #if 0, and add a
651 comment wondering what the code was supposed to do. This also gets
652 rid of a leftover debugging printout.
654 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
656 * gfileicon.c (g_file_icon_get_property)
657 (g_file_icon_set_property): New functions.
658 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
660 (g_file_icon_new): Use the property (bug #546132).
662 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
664 * gthemedicon.c (g_themed_icon_get_property): Also handle
665 `PROP_USE_DEFAULT_FALLBACKS'.
666 (g_themed_icon_class_init): Make
667 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
669 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
671 Bug 546371 – Improve docs re g_file_monitor
673 * gfilemonitor.c: Mention g_file_monitor() in the docs.
675 2008-08-04 Matthias Clasen <mclasen@redhat.com>
677 * === Released 2.17.6 ===
679 2008-08-04 Matthias Clasen <mclasen@redhat.com>
681 * === Released 2.17.5 ===
683 2008-08-04 Matthias Clasen <mclasen@redhat.com>
685 Bug 546017 – Don't copy attributes when copying a symlink
687 * gfile.c (g_file_copy_attributes): Specify
688 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
689 g_file_set_attributes_from_info. Patch by Christian Kellner
691 2008-08-04 Matthias Clasen <mclasen@redhat.com>
693 * gemblemedicon.[hc]:
695 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
696 a bit more extensible. Work by Clemens Buss.
698 * gioenums.h: Add GEmblemOrigin.
701 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
703 Bug 546079 – leak in xdgmime
705 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
707 2008-08-03 Tor Lillqvist <tml@novell.com>
709 * win32/gwin32directorymonitor.h
710 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
713 2008-08-03 Tor Lillqvist <tml@novell.com>
715 * win32/gwin32directorymonitor.c
716 (g_win32_directory_monitor_callback): Make prototype match
717 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
718 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
721 (g_win32_directory_monitor_constructor):
722 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
723 names in the GLib API on Windows, so convert to UTF-16 and open
726 2008-08-03 Tor Lillqvist <tml@novell.com>
728 Bug 541036 - Gnumeric crashes when trying to open Desktop or
729 user's folder under Windows
731 * win32/gwin32directorymonitor.c
732 (g_win32_directory_monitor_constructor): Ignore error from
733 CreateFile() when opening directory. Instead of asserting, just
734 store INVALID_HANDLE_VALUE then in
735 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
736 ReadDirectoryChangesW().
737 (g_win32_directory_monitor_cancel): Don't attempt to close
738 directory handle if it is INVALID_HANDLE_VALUE.
740 2008-08-01 Matthias Clasen <mclasen@redhat.com>
742 * gdesktopappinfo.c: Remove debug spew
744 2008-08-01 Hans Breuer <hans@breuer.org>
746 * makefile.msc : add gemblembedicon
748 2008-07-30 Matthias Clasen <mclasen@redhat.com>
750 Bug 545457 – gdmsetup crashed with SIGSEGV in
751 g_unix_mount_guess_should_display()
753 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
754 crash if no mount is found.
756 2008-07-28 Matthias Clasen <mclasen@redhat.com>
758 Bug 545203 – gfile.c: argument is different type.
760 * gfile.c (open_read_async_thread): Pass a GError **
761 to g_file_set_error_literal.
762 Reported by Kazuki Iwamoto
764 2008-07-28 Matthias Clasen <mclasen@redhat.com>
766 Bug 545157 – wrong/no list of "open with" applications for .cc and
769 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
770 Collect all ancestors, not just direct parents. Pointed
771 out by Bastien Nocera
773 2008-07-28 Matthias Clasen <mclasen@redhat.com>
775 * Makefile.am: Install gemblemedicon.h
777 2008-07-28 Matthias Clasen <mclasen@redhat.com>
779 * gemblemedicon.[hc]: Add a GIcon implementation that can
780 add an emblem to another icon.
787 * gfileicon.c: Small documentation additions.
789 2008-07-28 Tor Lillqvist <tml@novell.com>
791 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
794 2008-07-27 Tor Lillqvist <tml@novell.com>
796 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
798 2008-07-24 David Zeuthen <davidz@redhat.com>
802 Also export a g_mount_guess_content_type_sync() function.
804 2008-07-23 Matthias Clasen <mclasen@redhat.com>
806 529694 – SELinux context setting support
808 * gfileinfo.c: Support setting selinux attributes.
809 Patch by Tomas Bzatek
811 2008-07-22 Priit Laes <plaes@plaes.org>
813 Bug 544140 - fam-helper 64-bit issue?
815 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
817 2008-07-21 Matthias Clasen <mclasen@redhat.com>
819 * === Released 2.17.4 ===
821 2008-07-20 Matthias Clasen <mclasen@redhat.com>
823 * gvolumemonitor.[hc]:
828 * gmount.c: Documentation fixes
830 2008-07-19 Matthias Clasen <mclasen@redhat.com>
832 543504 – crash in Epiphany Web Browser: Opening local file
843 * gvolume.c: Register types thread-safely.
844 Patch by Christian Persch
846 2008-07-18 Matthias Clasen <mclasen@redhat.com>
848 * gcontenttype.c: Remove debug spew
850 2008-07-18 Matthias Clasen <mclasen@redhat.com>
852 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
855 * fen/fen-kernel.c: Remove a warning that was causing
856 crashes. Reported by Lin Ma.
858 2008-07-18 Matthias Clasen <mclasen@redhat.com>
860 Bug 543040 – async reading on dummy file will crash on
863 * gfile.c (open_read_async_thread): Cope with read_fn being
864 NULL. Reported by Lin Ma.
866 2008-07-18 Matthias Clasen <mclasen@redhat.com>
869 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
871 2008-07-16 Matthias Clasen <mclasen@redhat.com>
875 * giomodule.c: Rename a chapter id to avoid filename conflict.
877 2008-07-16 Matthias Clasen <mclasen@redhat.com>
879 Bug 540616 – mem leak in filechooser button
881 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
882 the mount entry. Reported by Chrisitan Persch
884 2008-07-16 Matthias Clasen <mclasen@redhat.com>
886 * gfile.c: Small documentation fixes.
888 2008-07-15 Matthias Clasen <mclasen@redhat.com>
890 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
892 2008-07-08 Matthias Clasen <mclasen@redhat.com>
897 * gmount.c: Documentation improvements.
899 2008-07-08 Matthias Clasen <mclasen@redhat.com>
902 * gmount.[hc]: Add g_mount_guess_content_type().
904 2008-07-06 David Zeuthen <davidz@redhat.com>
907 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
908 is needed for easily handling adoption of foreign volumes by
909 out-of-process volume monitors (#541793)
911 2008-07-06 David Zeuthen <davidz@redhat.com>
913 * gvolumemonitor.[ch]:
914 * gunionvolumemonitor.c: Export the eject-button signal on the
915 volume monitor class (#541794).
917 2008-07-06 Matthias Clasen <mclasen@redhat.com>
919 * gappinfo.c: More doc tweaks
921 2008-07-05 Matthias Clasen <mclasen@redhat.com>
923 * gappinfo.c: Clarify some docs
925 2008-07-03 Matthias Clasen <mclasen@redhat.com>
927 * gdesktopappinfo.c: Fix a stupid mistake.
929 2008-07-02 Matthias Clasen <mclasen@redhat.com>
931 * === Released 2.17.3 ===
933 2008-07-02 Matthias Clasen <mclasen@redhat.com>
935 * gfilemonitor.c: Fix the build.
937 2008-07-02 Matthias Clasen <mclasen@redhat.com>
939 Bug 536160 – Add g_file_monitor()
942 * gfile.[hc]: Add g_file_monitor which can return either
943 a file or a directory monitor. Proposed by Behdad Esfahbod
945 2008-07-02 Matthias Clasen <mclasen@redhat.com>
947 536733 – gio build failure on Irix
949 * glocalfile.c: Use a configure check for structfs.f_bavail.
951 2008-07-02 Matthias Clasen <mclasen@redhat.com>
953 Bug 534639 – add g_desktop_app_info_new_from_keyfile
956 * gdesktopappinfo.[hc]: Add a function to create a
957 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
959 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
961 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
963 2008-07-01 Matthias Clasen <mclasen@redhat.com>
965 * gunixmounts.c: Fix a doc typo.
967 2008-07-01 Cody Russell <bratsche@gnome.org>
969 * gio/gcontenttype.c:
970 * gio/gwin32appinfo.c:
971 * gio/gwin32volumemonitor.c:
972 * gio/gwin32mount.c: Fixed some include problems.
974 2008-07-01 Cody Russell <bratsche@gnome.org>
978 Moved all relevant typedefs into these files.
981 Updated wrt added files.
983 Split types into separate file for easier maintainership. (#538564)
985 2008-06-30 Matthias Clasen <mclasen@redhat.com>
987 Bug 540331 – g_file_append_to () documentation: can return NULL
989 * gfile.c (g_file_append_to): Clarify docs.
992 2008-06-30 Matthias Clasen <mclasen@redhat.com>
994 Bug 539090 – g_content_type_from_mime_type() should unalias
996 * gcontentype.c (g_content_type_from_mime_type): Unalias.
997 Patch by Markus Bergman
999 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1001 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1002 g_atomic_pointer_get
1004 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1005 on ppc and alpha. Reported by Mart Raudsepp
1007 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1009 * tests/Makefile.am:
1010 * tests/memory-output-stream.c: Add some tests for
1011 GMemoryOutputStream.
1013 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1015 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1018 * gmemoryoutputstream.c (array_resize): Handle truncation to
1019 zero correctly. Reported by Akira Tagoh
1021 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1023 * gmemoryoutputstream.c: Trivial doc fixes
1025 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1027 Bug 540802 – g_list_prepend doesn't concat lists
1029 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1030 one list to another. Pointed out by Jan Arne Petersen
1032 2008-06-28 Michael Natterer <mitch@imendio.com>
1034 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1036 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1038 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1039 to avoid problems with partial icon themes.
1041 2008-06-17 Hans Breuer <hans@breuer.org>
1043 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1044 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1045 access again on win32, see bug #538127
1046 * giomodule.c : ensure GWin32VolumeMonitor is registered
1047 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1048 * Makefile.am makefile.msc : updated
1050 2008-06-16 Hans Breuer <hans@breuer.org>
1052 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1053 and initialization in one step avoids c99ism
1055 2008-06-16 Christian Persch <chpe@gnome.org>
1058 * gio/gbufferedinputstream.c
1059 * gio/gcancellable.c
1060 * gio/gdatainputstream.c
1061 * gio/gdesktopappinfo.c
1063 * gio/gfileenumerator.c
1064 * gio/gfileinputstream.c
1065 * gio/gfileoutputstream.c
1066 * gio/ginputstream.c
1067 * gio/glocaldirectorymonitor.c
1069 * gio/glocalfileenumerator.c
1070 * gio/glocalfileinfo.c
1071 * gio/glocalfilemonitor.c
1072 * gio/glocalfileoutputstream.c
1073 * gio/gmemoryinputstream.c
1074 * gio/gmemoryoutputstream.c
1075 * gio/goutputstream.c
1076 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1079 2008-06-16 Tor Lillqvist <tml@novell.com>
1081 Bug 538362 - Get Win32 icons back in the file chooser
1083 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1084 corresponding to a file extension in the Registry. Patch by Hans
1086 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1088 2008-06-16 Tor Lillqvist <tml@novell.com>
1090 Patches by Hans Breuer:
1092 * glocalfile.c (is_xp_or_later): Handle compiling against older
1093 SDK headers with missing VerifyVersionInfo(). Conditioned on
1094 _MSC_VER, but should probably use some better test.
1095 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1096 uninitialised statfs_result variable on Win32.
1098 2008-06-16 Michael Natterer <mitch@imendio.com>
1100 * *.c: chain up unconditionally in finalize() and dispose(). Also
1101 don't dereference these function pointers when calling them since
1102 that has no meaning at all.
1104 2008-06-16 Ross Burton <ross@burtonini.com>
1106 * gfileenumerator.c:
1107 Remove check for dispose implementation as it annoys Emmanuele.
1109 2008-06-16 Ross Burton <ross@burtonini.com>
1111 Bug 536252 – GFileEnumerator should allow access to the containing
1114 * gfileenumerator.c:
1115 * gfileenumerator.h:
1117 Add g_file_enumerator_get_container() and a container writeable
1118 construct-only property. Also shuffle around typedefs to make it
1121 * glocalfileenumerator.c:
1122 * glocalfileenumerator.h:
1124 Instead of a string filename take a GFile in the constructor and
1125 use it to set the container property.
1128 Update with new API.
1130 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1132 * gfile.c: Make includes more uniform
1134 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1136 * tests/live-g-file.c (sample_struct):
1137 Use less fancy unicode filenames, so the test doesn't fail
1138 on Mac OS X (#531476).
1140 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1142 * === Released 2.17.2 ===
1144 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1146 * === Released 2.17.1 ===
1148 2008-06-11 A. Walton <awalton@gnome.org>
1150 * tests/g-file.c (test_g_file_new_null):
1151 Fix broken test case.
1153 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1155 * pltcheck.sh: We use g_clear_error now.
1157 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1159 * glocalfile.c (g_local_file_enumerate_children): Revert
1160 an unintended change.
1162 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1164 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1166 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1168 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1171 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1172 as icon for the desktop directory, also make user-home and
1173 user-desktop the preferred icons.
1175 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1178 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1179 to add a name to the front of the list.
1181 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1183 Bug 537392 – Additional colon in xattr name
1185 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1186 too. Reported by Alessandro Morandi
1188 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1190 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1193 * glocalfile.c (get_fs_type): Add afs and autofs.
1194 Patch by Danny Baumann.
1196 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1198 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1200 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1201 is no parent. (Owen Taylor, patch by Christian Neumair)
1203 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1205 * gfile.c (g_file_replace_contents): do not leak the output stream.
1207 2008-06-10 Michael Natterer <mitch@imendio.com>
1209 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1210 uninitialized memory as array index.
1212 2008-06-10 Tor Lillqvist <tml@novell.com>
1214 * gcontenttype.c (g_content_type_can_be_executable)
1215 (g_content_type_get_icon) [Win32]: Add TODO comments.
1217 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1219 * xdgmime/Makefile.am: Fix the build
1221 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1223 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1224 in the shared mime database, if available.
1226 * xdgmime/*: Sync with upstream. This brings support for
1227 glob weights, generic icons, and changes the cache format to
1230 2008-05-28 Michael Natterer <mitch@imendio.com>
1232 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1233 the global CPPFLAGS now.
1235 * tests/data-input-stream.c
1236 * tests/data-output-stream.c
1237 * tests/g-file-info.c
1239 * tests/live-g-file.c
1240 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1242 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1244 * === Released 2.17.0 ===
1246 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1247 doesn't complain about leftover files.
1249 2008-05-27 simon.zheng <simon.zheng@sun.com>
1251 * glocalfile.c: (g_local_file_query_filesystem_info):
1252 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1254 2008-05-26 Michael Natterer <mitch@imendio.com>
1256 * gmemoryoutputstream.h: declare
1257 g_memory_output_stream_get_data_size().
1259 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1261 * tests/*: Make tests work
1263 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1265 * gio.symbols: Add g_memory_output_stream_get_data_size.
1267 2008-05-25 Ross Burton <ross@burtonini.com>
1270 Fix typo in error message (#534764).
1272 2008-05-25 Ross Burton <ross@burtonini.com>
1275 Fix circular dependency loop for gioenumtypes.h (#534759).
1277 2008-05-19 Hans Breuer <hans@breuer.org>
1279 * Makefile.am : EXTRA_DIST += makefile.msc
1281 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1284 * gcontenttype.c: (g_content_type_from_mime_type):
1285 New function to create a content type from a mime type. (#527175,
1288 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1290 Bug 532965 – Should not return filesystem::free for certain file systems
1292 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1293 free space for ncpfs.
1295 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1297 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1299 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1300 st_dev might be zero.
1302 2008-05-16 Tor Lillqvist <tml@novell.com>
1304 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1305 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1307 2008-05-13 Bastien Nocera <hadess@hadess.net>
1309 * gfile.c (has_valid_scheme): A URI scheme must start with a
1310 letter, even if later more characters are allowed (#532852)
1312 2008-05-05 Michael Natterer <mitch@imendio.com>
1314 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1315 code from being checked in that breaks the build of applications
1316 which use G_DISABLE_SINGLE_INCLUDES.
1318 * makegioalias.pl: make the alias file include "glib.h" instead of
1321 * gio.symbols: whitespace change to force regeneration of the
1322 alias file after above script change.
1324 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1326 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1328 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1330 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1332 2008-04-28 David Zeuthen <davidz@redhat.com>
1334 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1335 displaying mounts in a subdirectory not accessible to the
1338 2008-04-22 Michael Natterer <mitch@imendio.com>
1340 * Makefile.am: fix library versioning (it was 0.0.0).
1342 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1344 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1345 Default disable all loggings.
1346 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1347 (port_fetch_event_cb): Fixed two macro nits.
1349 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1351 * xdgmime/xdgmime.c: Rework the timestamp checking code
1352 to protect against duplicate directories in XDG_DATA_DIRS.
1353 Fixes fd.o bug 12513, reported by Joe Shaw.
1355 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1357 Partically revert the last commit after realizing that
1358 xdg_mime_media_type_equal doesn't have to init at all.
1360 * xdgmime/xdgmime.h:
1361 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1363 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1365 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1367 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1368 reported by Joe Shaw and Federico Mena Quintero.
1370 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1371 (xdg_mime_media_type_equal): Turn into a wrapper around the
1374 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1375 functions throughout.
1377 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1379 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1380 tolerate an empty TryExec= line without failing; nautilus used
1381 to create launchers with these in previous versions. Fixes #528433
1383 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1385 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1386 after name. Fixes #527132.
1388 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1390 * gfile.c: (g_file_replace):
1393 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1395 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1397 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1398 by Christian Kellner.
1400 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1402 * gunixmounts.c: (g_unix_mount_guess_should_display):
1403 Don't list the user directory as a mount, fix potential issue
1404 when other users have a similar naming and don't special case the
1405 gvfs mounts there since that's not required (#525866)
1407 2008-03-31 Alexander Larsson <alexl@redhat.com>
1409 * glocalfile.c (get_parent):
1412 2008-03-31 A. Walton <awalton@svn.gnome.org>
1414 * gfile.c (g_file_query_file_type):
1415 Always return a GFileType enum value (#520715).
1417 2008-03-31 Alexander Larsson <alexl@redhat.com>
1419 * glocalfileenumerator.c:
1420 Read readdir() info in chunks (of 1000) and sort
1421 the chunks by inode before stat:ing.
1422 This is a 20% performance increase in testing
1423 gvfs-ls on /usr/bin with cold cache.
1425 2008-03-31 Alexander Larsson <alexl@redhat.com>
1427 * gmemoryoutputstream.c:
1428 Clarify docs for g_memory_output_stream_get_size.
1429 Add g_memory_output_stream_get_data_size.
1431 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1435 * gfile.h: Add g_file_query_file_type convenience function
1436 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1438 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1440 * gfileenumerator.c:
1441 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1443 2008-03-28 A. Walton <awalton@svn.gnome.org>
1445 * giomodule.c (_g_io_modules_ensure_loaded):
1446 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1449 2008-03-28 Alexander Larsson <alexl@redhat.com>
1452 (copy_stream_with_progress):
1455 2008-03-28 Alexander Larsson <alexl@redhat.com>
1458 (copy_stream_with_progress):
1459 (file_copy_fallback):
1460 Fallback to g_file_query_info for source size
1461 if g_file_input_stream_query_info fails. (#524579)
1463 2008-03-28 Alexander Larsson <alexl@redhat.com>
1465 * glocalfile.c (g_local_file_move):
1466 Reuse old string instead of adding new one.
1468 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1470 * fen/*.[hc]: still copyright issue. I hate copyright.
1472 2008-03-27 Alexander Larsson <alexl@redhat.com>
1474 * glocalfile.c (g_local_file_move):
1475 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1476 file over directory. This is according to the docs and what the move via
1477 copy+remove fallback does.
1479 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1481 * fen/*.[hc]: Updated copyright.
1483 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1485 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1487 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1489 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1490 not emit attribute changed events when optimizing changed events.
1491 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1494 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1496 * gmountoperation.[hc]: Small documentation additions
1498 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1500 * gunixmounts.c: (guess_mount_type):
1501 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1503 2008-03-19 Alexander Larsson <alexl@redhat.com>
1506 (copy_stream_with_progress):
1507 Bump block side for copy to 64k to minimize
1508 overhead for low latency links. (#523015)
1510 2008-03-16 Tor Lillqvist <tml@novell.com>
1512 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1513 depend on gio.def on Windows.
1515 2008-03-12 David Zeuthen <davidz@redhat.com>
1519 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1521 2008-03-14 Alexander Larsson <alexl@redhat.com>
1525 Avoid redudant tests (#521851)
1526 Patch from Josselin Mouette
1528 2008-03-14 Alexander Larsson <alexl@redhat.com>
1531 (g_file_monitor_is_cancelled):
1532 Fix C89 issue (#521672)
1533 Patch from Jens Granseuer
1535 2008-03-14 Alexander Larsson <alexl@redhat.com>
1537 * fam/fam-helper.[ch]:
1539 Shut down fam (including removing fam GSource) when
1540 module is unloaded (#521513)
1541 Patch from Joe Marcus Clarke
1543 2008-03-14 Alexander Larsson <alexl@redhat.com>
1546 (_g_io_modules_ensure_loaded):
1549 2008-03-14 Alexander Larsson <alexl@redhat.com>
1552 (g_local_file_query_filesystem_info):
1553 Use right define name for f_fstypename member check
1555 2008-03-14 Alexander Larsson <alexl@redhat.com>
1558 * fen/Makefile.am: Added.
1559 * fen/fen-data.[ch]: Added.
1560 * fen/fen-dump.[ch]: Added.
1561 * fen/fen-helper.[ch]: Added.
1562 * fen/fen-kernel.[ch]: Added.
1563 * fen/fen-missing.[ch]: Added.
1564 * fen/fen-node.[ch]: Added.
1565 * fen/fen-sub.[ch]: Added.
1566 * fen/gfendirectorymonitor.[ch]: Added.
1567 * fen/gfenfilemonitor.[ch]: Added.
1569 Added Solaris FEN file notification backend.
1570 Patch from Lin Ma <Lin.Ma@Sun.COM>
1572 2008-03-13 Tor Lillqvist <tml@novell.com>
1574 * Makefile.am: Actually use the gio.def file when linking the
1575 library on Windows. Produce .lib library for Microsoft's toolchain
1576 when possible. Install the .lib and .def file like for the other
1579 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1581 * tests/live-g-file.c:
1582 Include live-g-file in standard set of tests, making a temporary
1583 directory in source structure.
1585 Clean target directory before the tests (write mode only)
1587 2008-03-12 Tor Lillqvist <tml@novell.com>
1589 Bug 517419 - gio win32 directory monitor
1590 Implementation by Vlad Grecescu.
1593 * win32/gwin32directorymonitor.h
1594 * win32/gwin32directorymonitor.c: New files.
1596 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1598 * Makefile.am: Add the win32 subdirectory.
1600 2008-03-12 Tor Lillqvist <tml@novell.com>
1602 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1603 normal struct stat on Unix but struct _stati64 on Windows to have
1604 access to 64-bit file size information. Use that instead of struct
1605 stat in the functions declared here in this private header.
1607 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1608 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1609 warnings about unused functions and variables. Don't set
1610 meaningless attributes like inode numbers on Windows.
1612 2008-03-12 Benjamin Otte <otte@gnome.org>
1615 trim whitespace so gtk-doc groks the function name
1617 2008-03-12 Tor Lillqvist <tml@novell.com>
1619 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1620 returning FALSE, on Win32.
1622 2008-03-11 Alexander Larsson <alexl@redhat.com>
1625 * glocalfileinfo.[ch]:
1626 Correctly implement can_trash by actually
1627 looking for a trash dir, not just assuming
1630 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1632 * === Released 2.16.1 ===
1634 2008-03-11 Alexander Larsson <alexl@redhat.com>
1637 Fix crashes in new constructor and properties code
1639 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1641 * gfile.c: Minor spelling correction in documentation:
1642 existance -> existence.
1644 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1646 * === Released 2.16.0 ===
1648 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1650 * gio.symbols: Remove g_file_contains_file here, too.
1652 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1654 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1655 Samuel Cormier-Iijima)
1657 2008-03-08 Tor Lillqvist <tml@novell.com>
1659 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1662 2008-03-07 Alexander Larsson <alexl@redhat.com>
1665 (g_local_file_query_filesystem_info):
1666 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1667 Patch from Jasper Lievisse Adriaanse
1669 2008-03-06 Tor Lillqvist <tml@novell.com>
1671 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1672 comments for the *_USEC attributes.
1674 2008-03-06 Alexander Larsson <alexl@redhat.com>
1676 * gfile.c (g_file_query_exists):
1677 Add g_return_val_if_fail check (#520700)
1679 2008-03-06 Alexander Larsson <alexl@redhat.com>
1681 * gdesktopappinfo.c:
1684 * gunionvolumemonitor.c:
1687 * tests/live-g-file.c:
1688 * xdgmime/xdgmimecache.c:
1689 Fix sparse warnings (#519489)
1691 2008-03-05 Alexander Larsson <alexl@redhat.com>
1694 Make cancellation threadsafe (i.e.
1695 guarantee its only done once, and always
1698 * glocaldirectorymonitor.c:
1699 Make sure we the monitor lives while the
1700 mounts_changed callback is being called (#520484)
1702 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1704 * gbufferedinputstream.c: Fix typo in parameter
1707 2008-03-04 Alexander Larsson <alexl@redhat.com>
1710 Remove deprecated symbols we kept for one release.
1712 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1715 * goutputstream.c: Tiny documentation corrections.
1717 2008-03-03 Alexander Larsson <alexl@redhat.com>
1719 * gunionvolumemonitor.c:
1721 Fix the adopt_orphan_mount vfunc to take a
1722 volume_monitor reference in an ABI compat way.
1723 This change is not API compat, but the added
1724 arg is not used in the only user of this vfunc, so
1725 all we get is a harmless warning in gvfs (#520169)
1727 2008-03-01 Benjamin Otte <otte@gnome.org>
1730 clarify docs for g_file_delete().
1732 2008-02-29 Alexander Larsson <alexl@redhat.com>
1736 Make sure empty files get text/plain type (#518720)
1738 2008-02-27 Alexander Larsson <alexl@redhat.com>
1744 (g_unix_volume_mount):
1745 Add missing GMountMountFlags argument
1747 2008-02-26 Alexander Larsson <alexl@redhat.com>
1750 (g_local_file_delete):
1751 Handle filesystems (like ntfs-3g) that return EEXIST instead
1752 of ENOTEMPTY (#518816)
1754 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1756 * === Released 2.15.6 ===
1758 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1760 * gfile.c (g_file_find_enclosing_mount):
1761 * ginputstream.c (g_input_stream_set_pending):
1762 * glocalfile.c (g_local_file_find_enclosing_mount):
1763 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1764 * goutputstream.c (g_output_stream_set_pending):
1766 Fixup translator comments (#518578).
1768 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1770 * gfile.c (g_file_find_enclosing_mount):
1772 * glocalfile.c (g_local_file_find_enclosing_mount):
1775 Fix a few typos in translator comments and documentation.
1777 2008-02-25 Alexander Larsson <alexl@redhat.com>
1784 Add translator comments (#518578)
1786 2008-02-25 Alexander Larsson <alexl@redhat.com>
1789 Reintroduce g_file_contains_file, keep around for one
1790 unstable release cycle to avoid crashing to many apps.
1791 Make sure to delete after release.
1793 2008-02-25 Alexander Larsson <alexl@redhat.com>
1796 Remove deprecated g_file_contains_file.
1798 2008-02-25 Alexander Larsson <alexl@redhat.com>
1801 Emit actual change signals in an idle handler.
1802 This avoids reentrance and locking problems in
1803 the file notification backends.
1805 2008-02-25 Alexander Larsson <alexl@redhat.com>
1808 (g_unix_mount_guess_should_display):
1809 Remove type guessing, instead just display
1810 mounts in /media and in ~/.
1812 2008-02-25 Alexander Larsson <alexl@redhat.com>
1815 Make new strings reuse old ones.
1817 2008-02-25 Alexander Larsson <alexl@redhat.com>
1820 Implement trashing and filesystem::readonly for win32 (#517235)
1821 Patch from Yevgen Muntyan
1823 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1825 * gfileinfo.h: Documentation fixes.
1827 2008-02-22 Alexander Larsson <alexl@redhat.com>
1829 * gcontenttype.c (g_content_type_get_icon):
1830 Look at old-style gnome mime icon names too, as many
1831 have not moved to the new style.
1833 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1835 * *.c: Correct the @include in for section docs.
1837 2008-02-21 David Zeuthen <davidz@redhat.com>
1839 * glocalfileinfo.c: (_g_local_file_info_get):
1841 (g_content_type_get_icon): Implement this function by
1842 moving bits from glocalfileinfo.c
1843 (g_content_type_get_description): Unalias before getting
1844 description (#517687)
1846 * gfile.c: (g_file_class_init),
1847 (g_file_query_filesystem_info_async),
1848 (g_file_query_filesystem_info_finish),
1849 (query_filesystem_info_data_free),
1850 (query_filesystem_info_async_thread),
1851 (g_file_real_query_filesystem_info_async),
1852 (g_file_real_query_filesystem_info_finish):
1853 * gfile.h: Implement async version of
1854 g_file_query_filesystem_info()
1856 * gfileinfo.h: Add new attributes for filesystem::use-preview
1858 * gio.symbols: Update
1860 * gthemedicon.c: (g_themed_icon_append_name):
1861 * gthemedicon.h: Add new new convenience function.
1863 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1864 (get_mounts), (get_volumes), (get_connected_drives),
1865 (get_volume_for_uuid), (get_mount_for_uuid),
1866 (g_union_volume_monitor_init), (populate_union_monitor),
1867 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1868 (g_volume_monitor_adopt_orphan_mount):
1870 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1871 monitor implementations to call into the main volume monitor. Also
1872 separate object initialization and volume monitor initialization
1873 such that non-native volume monitors can properly adopt their
1876 2008-02-21 Alexander Larsson <alexl@redhat.com>
1881 2008-02-21 Alexander Larsson <alexl@redhat.com>
1884 Add more documentation about how GFiles work (from #517086)
1886 2008-02-21 Alexander Larsson <alexl@redhat.com>
1890 Add new g_file_has_prefix that does the same as g_file_contains_file.
1891 Deprecate g_file_contains_file and add a macro that converts
1892 it to g_file_has_prefix.
1893 The reason for this change is that the contains_file() name seems to
1894 imply that this does more work than what it does, but its really only
1895 a name match (from #517086)
1900 Update to match the above change.
1902 2008-02-20 Benjamin Otte <otte@gnome.org>
1904 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1905 (g_file_eject_mountable):
1906 even more cases of not returning in error path
1908 2008-02-20 Benjamin Otte <otte@gnome.org>
1910 * gfile.c: (g_file_mount_mountable):
1911 return from function in error path.
1913 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1916 Remove trailing coma in GMountMountFlags struct
1918 2008-02-18 Alexander Larsson <alexl@redhat.com>
1922 * glocalfileoutputstream.c:
1923 Use g_unlink/g_rename instead of unlink/rename;
1924 do not pass raw filenames to g_set_error. (#517239)
1925 Patch from Yevgen Muntyan.
1927 2008-02-18 Alexander Larsson <alexl@redhat.com>
1930 * glocalfileoutputstream.c:
1931 Open files with O_BINARY on windows. (#517140)
1933 2008-02-14 Alexander Larsson <alexl@redhat.com>
1935 * glocalfileoutputstream.c:
1936 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1938 2008-02-14 Alexander Larsson <alexl@redhat.com>
1941 Copy permissions with file on copy (#514084)
1942 This is what cp does and makes sure e.g. the
1943 exec permissions are kept.
1944 Its kinda weird in that it keeps the permission bits
1945 the same while the uid and gid are different. However
1946 the new uid is the user so its not a security issue,
1947 and I've heard no complaints about cp on this issue.
1949 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1951 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1953 2008-02-13 Alexander Larsson <alexl@redhat.com>
1955 * inotify/inotify-path.c:
1956 Define IN_ONLYDIR if not in header (#515346)
1958 2008-02-12 Alexander Larsson <alexl@redhat.com>
1960 * tests/live-g-file.c:
1963 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1965 * === Released 2.15.5 ===
1967 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1969 * gio.symbols: Add g_mount_mount_flags_get_type.
1971 2008-02-11 Alexander Larsson <alexl@redhat.com>
1974 (g_file_info_set_attribute_mask):
1975 (g_file_attribute_matcher_matches_id):
1976 Correctly handle NULL GAttributeMatcher meaning
1977 matches nothing. (Fixes #513492)
1979 2008-02-11 Alexander Larsson <alexl@redhat.com>
1984 Added GMountMountFlags enum and added a flags
1985 argument to all mount calls.
1987 This is an API/ABI change for future extensibility,
1988 as I think we will need at least an
1989 inhibit-autorun flag (the panel needs this).
1990 There are no flags defined yet though.
1992 2008-02-11 Alexander Larsson <alexl@redhat.com>
1995 Added new standard::description attribute.
1996 Requested by Vincent, and useful for both
1999 2008-02-11 Alexander Larsson <alexl@redhat.com>
2001 * gdesktopappinfo.c:
2004 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2006 * *.c: Documentation additions
2008 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2010 * gappinfo.h: Formatting cleanup
2011 * gappinfo.c: Fix up docs.
2013 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2015 * gunixmounts.c: Consistently use getmntent_r() and fall
2016 back to getmntent(). (#515492)
2018 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2020 * gbufferedinputstream.c:
2022 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2024 * tests/data-input-stream.c:
2025 * tests/data-output-stream.c: Portability fixes.
2027 2008-02-08 Alexander Larsson <alexl@redhat.com>
2032 Add g_volume_should_automount.
2035 2008-02-07 Tor Lillqvist <tml@novell.com>
2037 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2038 Win32, too Unix-specific.
2040 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2042 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2043 a local plt if the compiler doesn't support what we want. Bug #514702
2045 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2047 reviewed by: <delete if not using a buddy>
2050 * gunixinputstream.c:
2051 * gunixoutputstream.c:
2053 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2055 * tests/Makefile.am:
2056 * tests/live-g-file.c:
2057 * tests/live-g-file.txt:
2058 New GIO testing module working over real data
2060 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2062 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2063 Fallback to rename() if link() is not available
2064 (when no support on target filesystem)
2066 2008-02-06 Michael Natterer <mitch@imendio.com>
2068 * gfileinfo.c (g_file_info_get_icon): replace
2069 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2071 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2073 * gfile.c (g_file_create):
2074 Documentation update of error codes
2076 2008-02-06 Alexander Larsson <alexl@redhat.com>
2078 * gdesktopappinfo.c:
2079 Update to use both mimeapps.list and
2080 defaults.list as discussed on xdg list.
2082 2008-02-06 Benjamin Otte <otte@gnome.org>
2085 * gfilenamecompleter.c:
2086 Fix some typos in the documentation.
2088 2008-02-06 Alexander Larsson <alexl@redhat.com>
2090 * glocalfile.c (g_local_file_trash):
2091 Don't succeed with trash if newly created
2092 trash dir has the wrong owner. (#514696)
2094 2008-02-05 Alexander Larsson <alexl@redhat.com>
2096 * glocalfile.c (g_local_file_move):
2097 Don't spew warnings when destination is not
2100 2008-02-03 Hans Breuer <hans@breuer.org>
2102 * makefile.msc : update
2104 2008-02-01 Michael Natterer <mitch@imendio.com>
2106 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2107 return value of xdg_mime_list_mime_parents() to a variable of the
2110 2008-02-01 Alexander Larsson <alexl@redhat.com>
2112 * gappinfo.c (g_app_info_launch_uris):
2113 Actually call the launch_uris method, not
2116 2008-02-01 Alexander Larsson <alexl@redhat.com>
2118 * gdesktopappinfo.c (g_desktop_app_info_equal):
2119 Ensure appinfos with no id but same pointer value
2122 2008-02-01 Alexander Larsson <alexl@redhat.com>
2124 * gappinfo.c (g_app_info_launch_default_for_uri):
2127 2008-02-01 Alexander Larsson <alexl@redhat.com>
2131 Add g_app_info_launch_default_for_uri utility
2134 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2136 * gdesktopappinfo.c:
2137 Doc fix for g_app_info_get_default_for_uri_scheme ()
2140 2008-01-30 Alexander Larsson <alexl@redhat.com>
2143 Add doc comment about uris vs GFiles to
2146 * gdesktopappinfo.c:
2147 Ensure uris passed to g_app_info_launch_uris()
2148 are not roundtriped through GFile (as that
2149 may be slightly destructive for e.g. mailto: links)
2151 2008-01-30 Alexander Larsson <alexl@redhat.com>
2153 * tests/data-input-stream.c:
2154 * tests/data-output-stream.c:
2155 C89 fixes from Jens Granseuer (#512849)
2157 2008-01-30 Alexander Larsson <alexl@redhat.com>
2160 Fix gamin/fam difference build issue. (#509419)
2162 2008-01-29 Alexander Larsson <alexl@redhat.com>
2165 * gdesktopappinfo.c:
2166 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2168 2008-01-29 Alexander Larsson <alexl@redhat.com>
2170 * gdesktopappinfo.c:
2171 * gdesktopappinfo.h:
2172 giomodule-priv.h include moved to .c file.
2174 2008-01-29 Alexander Larsson <alexl@redhat.com>
2176 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2177 Remove unused prio/name fields.
2179 2008-01-29 Alexander Larsson <alexl@redhat.com>
2181 * gcontenttype.c (looks_like_text):
2182 Don't treat whitespace as control chars.
2184 2008-01-29 Alexander Larsson <alexl@redhat.com>
2186 * gdesktopappinfo.c:
2187 Lazily create the desktop files for appinfos created
2188 by g_app_info_create_from_commandline() when needed
2189 for mime associations. This allows run-time use
2190 of GAppInfo object without creating unnecessary
2193 2008-01-29 Alexander Larsson <alexl@redhat.com>
2196 Added new symbols to gio.symbols
2198 2008-01-29 Alexander Larsson <alexl@redhat.com>
2201 Add g_file_query_default_handler utility to easily look up
2202 the GAppInfo that handles a file.
2204 * gdesktopappinfo.[ch]:
2206 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2209 Remove unused function
2211 2008-01-29 Alexander Larsson <alexl@redhat.com>
2213 * gfileenumerator.c:
2214 Mention need to free returned value in
2215 g_file_enumerator_next_files_finish docs.
2216 Fix leak if g_file_enumerator_next_files_finish()
2219 2008-01-29 Alexander Larsson <alexl@redhat.com>
2222 (_g_unix_content_type_get_parents):
2223 Use list_parents, not get_parents from xdgmime, because
2224 the later doesn't use the cache.
2226 * xdgmime/xdgmimecache.c:
2227 (_xdg_mime_cache_list_mime_parents):
2228 Don't list the same type as parent multiple times.
2230 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2232 * === Released 2.15.4 ===
2234 2008-01-28 Alexander Larsson <alexl@redhat.com>
2237 Register local vfs with prio 0.
2240 Remove old name and prio class members
2242 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2244 * tests/g-file.c: Disable some tests that are failing in
2245 the absence of a http backend.
2247 2008-01-28 Alexander Larsson <alexl@redhat.com>
2251 Add registration hooks for extension points.
2252 Register the gio extension points.
2254 * fam/gfamdirectorymonitor.c:
2255 * fam/gfamfilemonitor.c:
2256 * glocaldirectorymonitor.[ch]:
2257 * glocalfilemonitor.[ch]:
2258 * gnativevolumemonitor.h:
2259 * gunionvolumemonitor.c:
2260 * gunixvolumemonitor.c:
2263 * inotify/ginotifydirectorymonitor.c:
2264 * inotify/ginotifyfilemonitor.c:
2265 Use the extension points registration instead
2266 of g_type_children().
2268 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2271 * gvolume.[hc]: Document new API.
2273 * gfile.c (g_file_copy_async): Fix docs
2275 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2277 * gbufferedinputstream.c:
2279 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2282 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2284 * glocalfile.c: Avoid trivial differences in translatable strings.
2286 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2288 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2289 build with gcc 3.4 (#509419)
2291 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2293 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2294 (#509994, Murray Cumming)
2296 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2298 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2299 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2300 this allows big jobs to be executed in chunks, instead of blocking
2301 the main loop for a long time.
2303 * gsimpleasyncresult.c:
2304 * giofile.c: Adapt callers.
2306 2008-01-25 Alexander Larsson <alexl@redhat.com>
2308 * gdesktopappinfo.c:
2309 Implement changes discussed on xdg list.
2310 Now we can add supported mimetypes by just using defaults.list
2311 We can also remove associations in defaults.list.
2313 2008-01-25 Alexander Larsson <alexl@redhat.com>
2315 * gdesktopappinfo.c:
2316 Don't make local copy of desktop file
2317 for mimetype changes if the file already
2318 supports the new mimetype.
2320 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2324 * gbufferedinputstream.c:
2325 * glocalfile.c: String improvements. (#511966,
2326 Theppitak Karoonboonyanan)
2328 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2330 * gioscheduler.h: Expand docs a bit.
2332 2008-01-24 Alexander Larsson <alexl@redhat.com>
2335 Add g_drive_get_identifier and
2336 g_drive_enumerate_identifiers
2339 Add g_volume_get_identifier and
2340 g_volume_enumerate_identifiers
2346 Implement identifiers for unix backend
2348 2008-01-24 Alexander Larsson <alexl@redhat.com>
2353 Add g_file_copy_async() (#511580)
2354 Based on patch from Carlos Garcia Campos
2356 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2358 * gioscheduler.c: Some documentation additions.
2360 2008-01-22 Alexander Larsson <alexl@redhat.com>
2362 * gdesktopappinfo.c:
2363 (g_desktop_app_info_new):
2364 Don't leak basename.
2366 2008-01-22 Alexander Larsson <alexl@redhat.com>
2368 * gdesktopappinfo.c:
2369 (g_desktop_app_info_new_from_filename):
2372 2008-01-22 Alexander Larsson <alexl@redhat.com>
2374 * glocalfileinfo.c (get_thumbnail_attributes):
2377 2008-01-22 Alexander Larsson <alexl@redhat.com>
2380 (canonicalize_filename):
2381 Canonicalize paths that start with more than
2385 (compare_two_files):
2386 (test_g_file_new_for_path):
2389 2008-01-22 Alexander Larsson <alexl@redhat.com>
2392 Allow UTF-8 in file:// parse names.
2394 * tests/Makefile.am:
2395 * tests/data-input-stream.c:
2396 * tests/data-output-stream.c:
2397 * tests/g-file-info.c:
2399 Added a bunch of tests from Tomas Bzatek
2401 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2403 * === Released 2.15.3 ===
2405 2008-01-21 Alexander Larsson <alexl@redhat.com>
2407 * gfileinputstream.[ch]:
2408 * gfileoutputstream.[ch]:
2410 Remove duplicated GSeekable functions. (#509990)
2411 Just use the g_seekable_xxx() calls instead.
2413 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2416 * gvolumemanager.c: Whitespace cleanups.
2418 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2419 Use the right mode when creating the file.
2421 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2423 * gfileenumerator.c:
2424 * gfileinputstream.c:
2426 * goutputstream.c: Documentation: Fixed minor typos
2427 and added more mentions of specific _finish() functions.
2429 2008-01-21 Alexander Larsson <alexl@redhat.com>
2431 * inotify/Makefile.am:
2432 * inotify/inotify-helper.c:
2433 * inotify/inotify-kernel.c:
2434 * inotify/inotify-path.c:
2435 * inotify/local_inotify.h: Removed.
2436 * inotify/local_inotify_syscalls.h: Removed.
2437 Removed the included copies of the inotify
2438 headers. We now only use the <sys/inotify.h>
2439 header which exists on modern systems.
2440 This fixes problems on ARM and SH5 (#510448)
2441 but is also generally much cleaner and future
2442 safe. For instance, if other OSes add support
2443 for inotify it should "just work".
2445 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2447 * inotify/*.c: Coding style fixes.
2448 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2449 for the 1/4 Hz timer.
2451 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2454 * gfilemonitor.[hc]:
2455 * gmemoryinputstream.c:
2456 * gmemoryoutputstream.c:
2457 * gmountoperation.c:
2458 * gthemedicon.c: Documentation updates
2460 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2462 * gfile.c: documentation: Fixed more minor
2465 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2467 * gmount.c: (g_mount_remount): documentation:
2468 Mention g_mount_remount_finish() instead of
2469 g_mount_unmount_finish().
2471 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2475 * gfile.c: Fixed some minor typos in the
2478 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2480 * gio/gvolumemonitor.c:
2481 (g_volume_monitor_get_connected_drives):
2482 (g_volume_monitor_get_volumes):
2483 (g_volume_monitor_get_mounts): Documentation:
2484 Clarify the ownership of the regurn GLists.
2486 2008-01-17 Alexander Larsson <alexl@redhat.com>
2489 Add the async find_enclosing_mount version
2490 to the header file too.
2492 2008-01-17 Alexander Larsson <alexl@redhat.com>
2495 Add async version of find_enclosing_mount
2496 with default implementation.
2498 2008-01-17 Alexander Larsson <alexl@redhat.com>
2503 Allow calls to implementation of copy and write
2504 even if the type of the file implementations is
2505 different. This can be used to implement native
2506 upload and download calls in a vfs.
2509 (g_local_file_move):
2510 Protect against the case where move is called
2511 with one file not being local.
2513 Make sure we call the progress callback once
2514 in the native move operation so that the caller
2515 knows how many bytes were copied.
2517 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2520 * gdatainputstream.c:
2522 * gfileoutputstream.c:
2527 * gunixmounts.c: Corrected some typos in the documentation:
2528 occured -> occurred.
2529 its -> it's (where appropriate).
2531 2008-01-16 Alexander Larsson <alexl@redhat.com>
2535 Add g_file_query_exists (#508771)
2537 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2542 * gvolume.c: For async functions that have no non-async
2543 version, document that the GAsyncReadyCallback may be NULL.
2546 2008-01-15 Alexander Larsson <alexl@redhat.com>
2548 * gmemoryinputstream.c:
2549 * gmemoryoutputstream.c:
2550 Don't do pointer arithmetic on void * (#508602)
2551 Patch from Kazuki IWAMOTO
2553 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2555 * === Released 2.15.2 ===
2557 2008-01-14 Alexander Larsson <alexl@redhat.com>
2559 * gfile.c (g_file_monitor_file):
2560 Don't set error here, since we fallback to polling monitor.
2562 2008-01-14 Alexander Larsson <alexl@redhat.com>
2565 (g_file_monitor_directory):
2566 (g_file_monitor_file):
2567 Add GError to file monitor calls
2569 * glocaldirectorymonitor.c:
2570 * glocaldirectorymonitor.h:
2572 * glocalfilemonitor.c:
2573 * glocalfilemonitor.h:
2575 Update for above change
2577 2008-01-14 Alexander Larsson <alexl@redhat.com>
2581 Handle root correctly in g_file_get_relative_path (#508719)
2583 2008-01-14 Alexander Larsson <alexl@redhat.com>
2586 Clean up docs and example for GAsyncResult (#508074)
2588 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2590 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2591 and correct some spelling mistakes. Bug #508108.
2593 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2595 * glocalfileinfo.c: Add a comment.
2597 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2599 * gfileinfo.c: GFileInfo description: Mention
2600 how to actually set attributes in a GFile and how to discover
2601 which attributes are settable. Bug #508378.
2603 2008-01-10 A. Walton <awalton@svn.gnome.org>
2605 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2606 (g_app_info_get_default_for_type):
2607 Check for NULL content types.
2609 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2611 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2613 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2615 * gfile.c: *_async() functions: Several small corrections
2616 to the documentation, mostly correcting copy/paste errors
2617 and improving some sentences.
2619 2008-01-09 Dan Winship <danw@gnome.org>
2621 * glocalfile.c (get_unique_filename): x86_64 fix
2623 2008-01-09 Alexander Larsson <alexl@redhat.com>
2628 Add g_unix_mount_guess_should_display and use
2629 for unix volume monitor backend.
2630 This means we more or less show what the
2631 gnome-vfs backend did.
2632 Based on patch from Padraig O'Briain
2634 2008-01-09 Alexander Larsson <alexl@redhat.com>
2638 Add g_themed_icon_new_with_default_fallbacks
2641 Use default fallbacks for icons
2643 2008-01-09 Alexander Larsson <alexl@redhat.com>
2646 * gmountoperation.[ch]:
2647 Change the API a bit so that unhandled methods
2648 get reported via the reply, rather than by
2649 the signal emission return value. This is because
2650 some handlers can't know this immediately without
2651 doing I/O, and this is an async operation that
2654 2008-01-09 Alexander Larsson <alexl@redhat.com>
2657 * fam/gfamdirectorymonitor.c:
2658 * fam/gfamfilemonitor.c:
2659 Fix double free crash (#508224)
2660 Patch from Joe Marcus Clarke
2662 008-01-07 Matthias Clasen <mclasen@redhat.com>
2664 * === Released 2.15.1 ===
2666 2008-01-07 Alexander Larsson <alexl@redhat.com>
2668 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2669 Fix warning (#507835)
2671 2008-01-07 Alexander Larsson <alexl@redhat.com>
2674 Pass --internal to glib-genmarshal
2677 * gmountoperation.c:
2679 Use better types for signal arguments (#507822)
2681 2008-01-07 Alexander Larsson <alexl@redhat.com>
2684 Build test subdir after .
2685 Remove gdirectorymonitor.[ch]
2687 * gdirectorymonitor.[ch]:
2691 Remove GDirectoryMonitor and make
2692 GFileMonitor the baseclass for both file and
2693 directory monitors. Lift the more generic
2694 rate limiting code from GDirectoryMonitor
2698 * fam/gfamdirectorymonitor.[ch]:
2699 * inotify/ginotifydirectorymonitor.[ch]:
2700 * inotify/inotify-helper.c:
2701 * glocaldirectorymonitor.[ch]:
2704 Update for the removed GDirectoryMonitor.
2706 * gmemoryoutputstream.c:
2707 Remove ununsed variable
2709 2008-01-07 Alexander Larsson <alexl@redhat.com>
2711 * gmemoryinputstream.c:
2712 Translate error strings
2715 * gmemoryoutputstream.[ch]:
2716 New implementation that avoids using GByteArray
2717 in implementation and API. (#506377)
2719 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2721 * tests/*: Add a test for memory input streams.
2723 * Makefile.am: Add tests to SUBDIRS.
2725 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2727 * glocalfilemonitor.c:
2728 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2731 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2733 * gdesktopappinfo.c: Fix a docs typo.
2735 * gfileattribute.c: Add information about extended attributes
2736 to the documentation. (#505058)
2738 2008-01-04 Alexander Larsson <alexl@redhat.com>
2741 * gmountoperation.c:
2742 Use the right type (uint) for the ask_password signal.
2744 2008-01-04 Alexander Larsson <alexl@redhat.com>
2749 Add g_app_info_supports_files()
2750 Remove desktop arg from g_app_info_should_show().
2752 * gdesktopappinfo.[ch]:
2753 Implement g_app_info_supports_files() and new should_show()
2754 Add g_desktop_app_info_set_desktop_env() to set the desktop
2755 for should_show(). (This will be set by gtk+ later)
2757 2008-01-04 Alexander Larsson <alexl@redhat.com>
2760 * gmemoryinputstream.[ch]:
2761 Improve API so that you can use multiple chunks
2762 of memory and custom destroy functions. (#506374)
2764 2008-01-03 Alexander Larsson <alexl@redhat.com>
2767 Handle NULL attribute matchers safely, as we return this
2768 for empty attribute matcher strings.
2770 2008-01-03 Alexander Larsson <alexl@redhat.com>
2772 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2773 Add /usr/local to list of internal mountpoints
2775 2008-01-03 Alexander Larsson <alexl@redhat.com>
2778 Check for HAVE_LCHOWN (#505887)
2780 2008-01-03 Alexander Larsson <alexl@redhat.com>
2784 Add define for selinux context attribute.
2785 Fix missing : -> :: namespace separator change
2786 Fix missing _ -> - name change for xattr-sys.
2789 2008-01-03 Alexander Larsson <alexl@redhat.com>
2792 Link to libglib and libgobject directly (#504879)
2793 Patch from Sebastien Bacher
2795 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2797 * gfile.c: Expanded the g_file_new_for_commandline_arg
2798 description a bit, based on the code and the docs of the
2799 other g_file_new_for_* functions.
2801 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2803 * gfilemonitor.h: Fixed typo in docs.
2805 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2807 Updates to GIO documentation. (#506395, Mikael Hermansson)
2809 * gcontenttype.c: Describe memory management for return value of
2810 g_content_types_get_registered(). Missing piece from #505815.
2811 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2812 GVolume, GDrive, GMounts, which hopefully gives the user less
2813 confusions when using this API. Following explainations from
2814 Alexander Larsson on gtk-devel-list.
2816 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2818 * gfileinfo.c: Expand the long description.
2820 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2823 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2824 fix builds with --disable-visibility. (#500273, Christian Persch)
2826 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2828 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2829 in the list of returned app infos.
2831 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2833 * gappinfo.c: Fix a cross-reference
2835 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2837 * gfileinputstream.c:
2838 * gfileoutputstream.c:
2842 * gdesktopappinfo.c:
2844 * gfileinfo.c: Documentation updates.
2846 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2848 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2851 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2853 * gcontenttype.c (g_content_types_get_registered): Don't return
2854 freed memory (#505815, Mikael Hermansson)
2856 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2858 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2859 used to detect statbuf->st_blocks. (#505042)
2861 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2863 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2864 environment handling. (#504829, Cosimo Cecchi)
2866 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2868 * gappinfo.c: Doc improvements
2870 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2873 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2875 * === Released 2.15.0 ===
2877 2007-12-20 Hans Breuer <hans@breuer.org>
2879 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2880 with symbols gwin32appinfo.obj, added gmount.obj
2881 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2883 2007-12-20 Alexander Larsson <alexl@redhat.com>
2889 * gfilenamecompleter.c:
2892 * gpollfilemonitor.c:
2893 File attribute renames:
2895 fs:: -> filesystem::
2896 id::fs -> id::filesystem
2898 2007-12-20 Alexander Larsson <alexl@redhat.com>
2907 Add GMountUnmountFlags to all unmount and
2909 Add g_mount_remount() call.
2911 2007-12-20 Alexander Larsson <alexl@redhat.com>
2913 * gvfs.c (get_default_vfs):
2914 Fix unused variable warning
2916 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2918 * pltcheck.sh: Update
2920 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2922 * gunionvolumemonitor.c:
2923 * gunixmount.c: Remove C99 comments
2925 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2927 * gio.symbols: Add some missing symbols
2929 2007-12-19 Alexander Larsson <alexl@redhat.com>
2932 Make g_io_modules_load_all_in_directory not unuse
2933 loaded modules so that users of it can do stuff
2935 Init internal "module" types.
2936 Initialize static prio and name for types so that
2937 we don't have to load modules to get it.
2939 * gnativevolumemonitor.h:
2941 Move is_supported to parent class so that
2942 non-native monitors can avoid being initialized
2943 too. (For instance GDaemonVolumeMonitor if we're
2944 not using GDaemonVfs.)
2946 * glocaldirectorymonitor.[ch]:
2947 * glocalfilemonitor.[ch]:
2948 * gunionvolumemonitor.c:
2949 * gunixvolumemonitor.c:
2951 Find plugins using the static prio+name to
2952 avoid unnecessarily loading the modules.
2954 2007-12-19 Alexander Larsson <alexl@redhat.com>
2959 2007-12-19 Alexander Larsson <alexl@redhat.com>
2961 * gunionvolumemonitor.c:
2962 Store the native type as GType, not class so that
2963 we can unload it. But still avoid unnecessarily
2966 2007-12-19 David Zeuthen <davidz@redhat.com>
2968 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2969 add signals 'disconnected' and 'eject-button' on GDrive. Add
2970 signal 'removed' on GVolume and 'unmounted' on GMount.
2972 * gdrive.c: (g_drive_base_init):
2974 * gfile.c: (g_file_mount_mountable),
2975 (g_file_mount_enclosing_volume):
2978 * gmount.c: (g_mount_base_init):
2980 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2981 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2982 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2986 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2988 * *.c: Fix up includes in the section docs.
2990 2007-12-17 Alexander Larsson <alexl@redhat.com>
2992 * gnativevolumemonitor.h:
2993 * gunionvolumemonitor.c:
2994 * gunixvolumemonitor.c:
2995 Add is_supported() to GNativeVolumeMonitorClass so
2996 that we can avoid having to create an object to see
2997 if the backend is supported at runtime.
2998 Also add name member and an env var to pick a specific
2999 volume monitor backend.
3003 Add cancellable to _g_mount_get_for_mount_path()
3005 * glocaldirectorymonitor.c:
3006 * glocalfilemonitor.c:
3007 Avoid loading and unloading modules while sorting.
3009 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3012 * gunixmounts.[hc]: Namespace waste reduction, move some
3013 g_get_unix_mount functions to the g_unix_mount namespace.
3016 * gunixvolumemonitor.c:
3018 * glocaldirectorymonitor.c: Update all callers.
3020 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3022 2007-12-17 Alexander Larsson <alexl@redhat.com>
3025 Add doc comments about what GFile operations are
3026 guaranteed to not block.
3028 2007-12-17 Alexander Larsson <alexl@redhat.com>
3031 Add missing #ifdef fixing OSX build.
3032 (#503334, patch from Richard Hult)
3034 2007-12-14 David Zeuthen <davidz@redhat.com>
3038 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3039 (g_mount_eject), (g_mount_eject_finish):
3041 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3042 (get_volume_for_uuid), (get_mount_for_uuid),
3043 (g_union_volume_monitor_class_init),
3044 (get_default_native_type_with_exclude), (get_default_native_type),
3045 (get_native_type), (update_native_type),
3046 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3047 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3048 (g_unix_mount_can_eject), (eject_unmount_cb),
3049 (eject_unmount_read_error), (eject_unmount_do),
3050 (g_unix_mount_unmount), (g_unix_mount_eject),
3051 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3052 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3053 (g_unix_mount_point_guess_can_eject):
3055 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3056 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3057 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3058 (g_unix_volume_mount), (g_unix_volume_eject),
3059 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3060 * gunixvolumemonitor.c: (get_volume_for_uuid),
3061 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3063 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3064 (g_volume_eject), (g_volume_eject_finish):
3066 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3067 (g_volume_monitor_get_mount_for_uuid):
3070 Provide eject() on both GMount and GVolume and utility functions
3071 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3072 ejected. Introduce the concept of UUID's and wire it into GVolume
3073 and GMount and provide API on GVolumeMonitor to find such
3074 instances. Also handle the case where an external
3075 GNativeVolumeMonitor fails to initialize. Lock around the
3076 _g_get_mount_for_mount_path() function such that volume monitor
3077 implementations won't have to do locking themselves.
3079 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3081 * gdesktopappinfo.c:
3087 * gvolume.h: Documentation updates
3089 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3092 * gfile.h: Doc updates
3094 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3097 * gdesktopappinfo.c: Use hash table iterators.
3099 2007-12-14 Alexander Larsson <alexl@redhat.com>
3102 * gfileattribute.[ch]:
3103 * gfileattribute-priv.h:
3104 Move GFileAttributeValue to a private header, as
3108 Make set_attribute take a type + a pointer instead
3109 of a GFileAttributeValue.
3112 Fix up for above changes.
3113 Add g_file_info_get_attribute_data to get
3114 all info in one call, g_file_info_get_attribute_status
3115 to get the status and g_file_info_get_attribute_as_string.
3119 * glocalfileinfo.[ch]:
3123 Make _guess_type static.
3125 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3128 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3129 made mkenums and friends use temporary files to avoid leaving
3130 empty generated files on failure (#503470).
3132 2007-12-14 Alexander Larsson <alexl@redhat.com>
3134 * gmountoperation.h:
3137 2007-12-14 Alexander Larsson <alexl@redhat.com>
3141 * gfileattribute.[ch]:
3144 * glocalfileoutputstream.c:
3145 * gmountoperation.[ch]:
3146 * goutputstream.[ch]:
3147 Clean up all flags enums to not have _FLAGS in them
3148 Make the names of some of the enums better.
3153 2007-12-14 Michael Natterer <mitch@imendio.com>
3155 * gio.symbols: fix g_io_scheduler symbol names.
3157 2007-12-14 Alexander Larsson <alexl@redhat.com>
3163 * gbufferedinputstream.h:
3164 * gbufferedoutputstream.h:
3167 * gdatainputstream.h:
3168 * gdataoutputstream.h:
3169 * gdesktopappinfo.h:
3170 * gdirectorymonitor.h:
3174 * gfileenumerator.h:
3177 * gfileinputstream.h:
3179 * gfilenamecompleter.h:
3180 * gfileoutputstream.h:
3181 * gfilterinputstream.h:
3182 * gfilteroutputstream.h:
3190 * gmemoryinputstream.h:
3191 * gmemoryoutputstream.h:
3193 * gmountoperation.h:
3196 * gsimpleasyncresult.h:
3198 * gunixinputstream.h:
3200 * gunixoutputstream.h:
3204 * inotify/Makefile.am:
3205 Only allow including <gio/gio.h> from apps
3207 2007-12-14 Alexander Larsson <alexl@redhat.com>
3209 * gioscheduler.[ch]:
3210 * gsimpleasyncresult.c:
3211 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3212 Split out the send_to_mainloop call into two versions instead
3213 of having the block argument.
3215 2007-12-13 Alexander Larsson <alexl@redhat.com>
3217 * gcancellable.[ch]:
3219 * gbufferedinputstream.c:
3220 * gfileenumerator.c:
3221 * gfileinputstream.c:
3222 * gfileoutputstream.c:
3226 g_push/pop_current_cancellable ->
3227 g_cancellable_push/pop_current
3229 2007-12-13 Alexander Larsson <alexl@redhat.com>
3233 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3235 2007-12-13 Alexander Larsson <alexl@redhat.com>
3237 * gmountoperation.h:
3238 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3240 2007-12-12 Alexander Larsson <alexl@redhat.com>
3243 Fix race condition when freeing proxy in
3244 g_io_job_send_to_mainloop().
3246 2007-12-12 Alexander Larsson <alexl@redhat.com>
3252 Make attribute namespace separator "::" instead of ":".
3253 Use - instead of _ as separator in attribute names.
3255 2007-12-12 Alexander Larsson <alexl@redhat.com>
3257 * gbufferedinputstream.h:
3258 * gbufferedoutputstream.h:
3259 * gdatainputstream.h:
3260 * gdataoutputstream.h:
3261 * gdirectorymonitor.h:
3262 * gfileenumerator.h:
3263 * gfileinputstream.h:
3265 * gfileoutputstream.h:
3266 * gfilterinputstream.h:
3267 * gfilteroutputstream.h:
3269 * glocalfileinputstream.h:
3270 * glocalfileoutputstream.h:
3271 * gmemoryinputstream.h:
3272 * gmemoryoutputstream.h:
3273 * gnativevolumemonitor.h:
3275 * gunixinputstream.h:
3276 * gunixoutputstream.h:
3279 s/parent/parent_instance/ in GObjects
3281 2007-12-12 Alexander Larsson <alexl@redhat.com>
3286 No need for padding for interfaces
3288 2007-12-12 Alexander Larsson <alexl@redhat.com>
3292 * gbufferedinputstream.c:
3293 * gbufferedoutputstream.c:
3296 * gdatainputstream.[ch]:
3297 * gdesktopappinfo.c:
3298 * gdirectorymonitor.c:
3300 * gfileattribute.[ch]:
3303 * gfileinputstream.h:
3304 * gfilemonitor.[ch]:
3305 * gfileoutputstream.[ch]:
3306 * gfilterinputstream.h:
3307 * gfilteroutputstream.h:
3310 * gloadableicon.[ch]:
3311 * gmemoryinputstream.c:
3312 * gmountoperation.c:
3314 Fix up a bunch of details in the docs.
3319 2007-12-11 David Zeuthen <davidz@redhat.com>
3321 Rework how volumes, drives and volume monitoring is
3322 done. Previosly the model was
3324 GDrive <1-1> GVolume
3326 where a GDrive instance represented a mount point and a GVolume
3327 instance represented a mounted file system. This patch changes it
3330 GDrive <1-N> GVolume <1-1> GMount
3332 where GMount now serves the purpose of the old GVolume and the new
3333 GVolume serves the purpose of the old GDrive. In addition the new
3334 GDrive interface is used to represent a collection of GVolume
3335 instances (typically partitions) and also contains utility to query
3336 the state of the physical drive the GDrive object represents (such
3337 as checking for media, polling the drive, ejecting the media etc.).
3339 Also implement mounting and unmounting in the Unix volume monitor
3340 backend. A subquent patch will introduce GDrive support for ejection
3344 * gdrive.c: (g_drive_is_media_check_automatic),
3345 (g_drive_is_media_removable), (g_drive_has_media),
3346 (g_drive_can_poll_for_media), (g_drive_eject),
3347 (g_drive_eject_finish), (g_drive_poll_for_media),
3348 (g_drive_poll_for_media_finish):
3350 * gfile.c: (g_file_find_enclosing_mount):
3353 * glocaldirectorymonitor.c:
3354 (g_local_directory_monitor_constructor), (mounts_changed):
3355 * glocalfile.c: (get_mount_info),
3356 (g_local_file_find_enclosing_mount),
3357 (g_local_file_file_iface_init):
3358 * gnativevolumemonitor.h:
3359 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3360 (get_connected_drives), (g_union_volume_monitor_class_init),
3361 (child_volume_added), (child_volume_removed),
3362 (child_volume_changed), (child_mount_added), (child_mount_removed),
3363 (child_mount_pre_unmount), (child_mount_changed),
3364 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3365 (g_union_volume_monitor_remove_monitor),
3366 (_g_mount_get_for_mount_path):
3367 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3368 (guess_system_internal), (_g_get_unix_mounts),
3369 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3370 (g_unix_mount_free), (g_unix_mount_compare),
3371 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3372 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3373 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3374 (type_to_icon), (g_unix_mount_guess_name),
3375 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3376 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3377 (_resolve_symlink), (_resolve_dev_root):
3379 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3380 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3381 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3382 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3383 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3384 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3385 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3386 (g_unix_volume_volume_iface_init):
3388 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3389 (get_mounts), (get_volumes), (get_connected_drives),
3390 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3391 (mountpoints_changed), (mounts_changed),
3392 (g_unix_volume_monitor_init),
3393 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3394 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3395 * gunixvolumemonitor.h:
3396 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3397 (g_volume_mount), (g_volume_mount_finish):
3399 * gvolumemonitor.c: (g_volume_monitor_class_init),
3400 (g_volume_monitor_get_connected_drives),
3401 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3404 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3406 * gmountoperation.h (GPasswordFlags): Close the gap
3408 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3410 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3412 * gdesktopappinfo.[hc]: Remove _-prefixes
3414 2007-12-10 Tor Lillqvist <tml@novell.com>
3416 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3419 2007-12-10 Alexander Larsson <alexl@redhat.com>
3421 * gfile.c (g_file_set_display_name):
3422 Don't hardcode '/' (#502727)
3424 2007-12-09 Hans Breuer <hans@breuer.org>
3426 * makefile.msc : follow lib naming convention
3427 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3428 for user and group name, tested with ../tests/gio-ls
3430 2007-12-09 A. Walton <awalton@svn.gnome.org>
3432 * gdesktopappinfo.c:
3438 * gfileenumerator.c:
3443 * gmemoryinputstream.c:
3444 * gmemoryoutputstream.c:
3446 * gsimpleasyncresult.c:
3447 More documentation cleanup and filling in missing information, bringing
3448 GIO to 99% symbol coverage.
3450 2007-12-08 Hans Breuer <hans@breuer.org>
3452 [gio compiles and links on win32, not sure how much already works]
3453 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3454 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3455 base on win32 API; prefer g_lstat() over lstat(); instead of
3456 localtime_r() use an all GLib implementation on win32;
3457 get_mount_info() still needs a win32 specifc implementation
3458 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3459 win32_get_file_user_info to get owner/group info without uid/gid
3460 * glocalfileinputstream.c : include <io.h> on win32
3461 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3462 definition, use g_win32_ftruncate() for G_OS_WIN32
3463 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3464 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3465 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3466 * makefile.msc : updated
3468 2007-12-07 Alexander Larsson <alexl@redhat.com>
3470 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3471 Avoid warning spew if error == NULL
3473 2007-12-07 Alexander Larsson <alexl@redhat.com>
3476 Update docs wrt etags
3478 2007-12-06 Alexander Larsson <alexl@redhat.com>
3481 Include sys/types.h for dev_t (#501919)
3483 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3487 Make abicheck and pltcheck pass.
3489 2007-12-05 Alexander Larsson <alexl@redhat.com>
3492 * giomodule-priv.h: Added.
3493 * glocaldirectorymonitor.c:
3494 * glocalfilemonitor.c:
3495 * gunionvolumemonitor.c:
3497 Actually add the declaration of _g_io_modules_ensure_loaded
3499 2007-12-05 Alexander Larsson <alexl@redhat.com>
3501 * gdatainputstream.c:
3506 * glocaldirectorymonitor.c:
3507 * glocalfilemonitor.c:
3508 * gunionvolumemonitor.c:
3510 Make g_io_modules_ensure_loaded a private function and
3511 don't pass in the dirname. This means we can do magic
3512 directory finding in the win32 version.
3513 Export the actual load-modules-in-directory code so that
3514 gvfs can reuse that.
3516 2007-12-05 Alexander Larsson <alexl@redhat.com>
3518 * gbufferedinputstream.c:
3519 * gbufferedoutputstream.c:
3522 * gfileenumerator.[ch]:
3523 * gfileinputstream.c:
3524 * gfileoutputstream.[ch]:
3525 * gfilterinputstream.c:
3526 * gfilteroutputstream.c:
3527 * ginputstream.[ch]:
3529 * glocalfileenumerator.c:
3530 * glocalfileinputstream.c:
3531 * glocalfileoutputstream.c:
3532 * gmemoryinputstream.c:
3533 * gmemoryoutputstream.c:
3534 * goutputstream.[ch]:
3537 * gunixinputstream.c:
3538 * gunixoutputstream.c:
3539 Rename all struct members named:
3540 read, write, close, truncate, or mount
3541 to foo_fn, as these are reserved names
3542 and could be defined as macros in libc.
3545 2007-12-04 Alexander Larsson <alexl@redhat.com>
3548 (g_output_stream_close):
3549 Only call flush if non-null.
3551 2007-11-30 Dan Winship <danw@gnome.org>
3553 * ginputstream.c (g_input_stream_set_pending): Make this take a
3554 GError and return a gboolean, and do the "outstanding operation"
3555 check (and the "stream is already closed" check) itself.
3556 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3558 * goutputstream.c (g_output_stream_set_pending)
3559 (g_output_stream_clear_pending): Likewise
3561 * gbufferedinputstream.c:
3562 * gfileinputstream.c:
3563 * gfileoutputstream.c: Update for that
3565 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3566 Like g_simple_async_report_error_in_idle, but takes a GError
3567 rather than building one.
3569 2007-11-30 Dan Winship <danw@gnome.org>
3571 * goutputstream.c: Don't cheat and unset the "pending" flag around
3572 inner calls. Instead, call the class method directly rather than
3573 the wrapper function that checks "pending"
3575 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3577 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3579 2007-12-03 Hans Breuer <hans@breuer.org>
3581 [start of port to win32/msvc]
3582 * gcancellable.c : HAVE_UNIST_H and _pipe()
3583 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3584 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3585 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3587 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3588 * glocalvfs.c : use HAVE_PWD_H
3589 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3590 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3591 * Makefile.am : added to EXTRA_DIST
3593 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3595 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3598 2007-12-03 Alexander Larsson <alexl@redhat.com>
3601 Handle OSX style xattrs API (#500506)
3603 2007-12-03 Alexander Larsson <alexl@redhat.com>
3607 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3609 2007-12-02 A. Walton <awalton@svn.gnome.org>
3613 Documentation accuracy fixes.
3615 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3617 * gioenumtypes.c.template: Fix typo.
3619 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3621 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3623 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3625 * gdirectorymonitor.c:
3626 * gfilemonitor.c: Add properties
3628 * gbufferedoutputstream.c: Don't mark buffer-size property
3631 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3633 * gbufferedoutputstream.c: Add auto-grow property.
3635 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3637 * *.c: Unify the capitalization of section headings.
3639 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3641 * gmountoperation.c: Add properties
3643 * gdatainputstream.c: Turn byte-order and newline-type into
3646 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3648 * gioenumtypes.[hc].template: Templates for enum registration
3650 * Makefile.am: Generate gioenumtypes.[hc]
3652 * gio.h: Include gioenumtypes.h
3654 * gfile.h: Add some explicit nicks.
3656 * gio.symbols: Add new symbols
3658 * pltcheck.sh: Adjust
3660 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3662 * *.c: Explain etags and link to the explanation
3664 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3666 * *.c: Explain I/O priority.
3668 * *.c: More coding style fixes.
3670 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3672 * gasyncresult.c: Add another paragraph to the intro,
3673 adjust coding style of example.
3675 2007-11-29 A. Walton <awalton@svn.gnome.org>
3678 Fixes unknown meaning in GAppLaunchContext docs.
3680 Clarify asynchronous ops.
3682 Fix entity tag docs.
3685 Provides missing gtk-doc section, fixes API docs slighly.
3686 * gsimpleasyncresult.c:
3687 Fill in missing info in docs.
3688 * gunixinputstream.c:
3689 * gunixoutputstream.c:
3690 Be more expressive in short description.
3692 Remove gtk-doc stubs for non-public API.
3694 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3696 * *.c: Coding style fixups
3698 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3700 * inotify/inotify-helper.c: Don't export the lock from libgio.
3702 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3705 * abicheck.sh: Fix copy-and-paste leftovers
3707 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3709 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3711 2007-11-28 Alexander Larsson <alexl@redhat.com>
3715 Removed unnecessary file
3717 * gdesktopappinfo.[ch]:
3720 * glocaldirectorymonitor.[ch]:
3722 * glocalfileenumerator.[ch]:
3723 * glocalfileinputstream.[ch]:
3724 * glocalfilemonitor.[ch]:
3725 * glocalfileoutputstream.[ch]:
3727 * gnativevolumemonitor.c:
3728 * gpollfilemonitor.[ch]:
3729 * gunionvolumemonitor.[ch]:
3732 * gunixvolumemonitor.[ch]:
3735 * inotify/ginotifydirectorymonitor.[ch]:
3736 * inotify/ginotifyfilemonitor.[ch]:
3737 * inotify/inotify-helper.c:
3738 Append _ to all internal functions
3742 Export symbols needed for modules
3744 2007-11-28 Alexander Larsson <alexl@redhat.com>
3747 * abicheck.sh: Added.
3748 * makegioalias.pl: Added.
3749 * pltcheck.sh: Added.
3750 * gio.symbols: Added.
3753 Initial work on adding symbol handling.
3756 Correct ifdef guard name
3759 * inotify/Makefile.am:
3760 * xdgmime/Makefile.am:
3761 Include toplevel Makefile.decl
3763 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3765 * gcontenttype.c: Move doc comments to the unix section.
3767 * *.[hc]: More trivial doc corrections.
3769 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3771 * gpollfilemonitor.c:
3775 * gdesktopappinfo.c:
3780 * gdatainputstream.c:
3781 * gdatainputstream.h:
3782 * gdataoutputstream.c:
3783 * gdataoutputstream.h:
3784 * gfileinfo.h: Doc cleanups
3786 2007-11-28 Andre Klapper <a9016009@gmx.de>
3788 * gdesktopappinfo.c: Fix a typo.
3790 2007-11-27 Andre Klapper <a9016009@gmx.de>
3792 * glocalfileoutputstream.c: Fix a typo.
3794 2007-11-27 Alexander Larsson <alexl@redhat.com>
3797 Don't include removed headers
3799 2007-11-27 Alexander Larsson <alexl@redhat.com>
3802 * gsocketinputstream.[ch]: Removed.
3803 * gsocketoutputstream.[ch]: Removed.
3804 * gunixinputstream.[ch]: Added.
3805 * gunixoutputstream.[ch]: Added.
3806 Renamed GSocket*Stream to GUnix*Stream and made
3807 it unix-only, since its not really only for sockets
3808 and it only works on unix (but is highly useful there).
3810 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3816 * gbufferedinputstream.c:
3817 * gbufferedinputstream.h:
3818 * gbufferedoutputstream.c:
3819 * gbufferedoutputstream.h:
3823 * gdatainputstream.c:
3824 * gdatainputstream.h:
3825 * gdataoutputstream.c:
3826 * gdataoutputstream.h:
3827 * gdirectorymonitor.c:
3828 * gdirectorymonitor.h:
3835 * gfileenumerator.c:
3836 * gfileenumerator.h:
3841 * gfileinputstream.c:
3842 * gfileinputstream.h:
3845 * gfilenamecompleter.c:
3846 * gfilenamecompleter.h:
3847 * gfileoutputstream.c:
3848 * gfileoutputstream.h:
3849 * gfilterinputstream.c:
3850 * gfilterinputstream.h:
3851 * gfilteroutputstream.c:
3852 * gfilteroutputstream.h:
3865 * glocalfileoutputstream.c:
3866 * gmemoryinputstream.c:
3867 * gmemoryinputstream.h:
3868 * gmemoryoutputstream.c:
3869 * gmemoryoutputstream.h:
3870 * gmountoperation.c:
3871 * gmountoperation.h:
3874 * gpollfilemonitor.c:
3877 * gsimpleasyncresult.c:
3878 * gsimpleasyncresult.h:
3879 * gsocketinputstream.c:
3880 * gsocketinputstream.h:
3881 * gsocketoutputstream.c:
3882 * gsocketoutputstream.h:
3889 * gunixvolumemonitor.c:
3898 Bumps documentation to 93% symbol coverage, touching most
3899 of the public files. Fixes broken function documentation prototypes.
3900 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3901 gtk-doc headers in private files.
3903 2007-11-27 Jürg Billeter <j@bitron.ch>
3905 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3906 (g_buffered_input_stream_read_byte):
3907 * gbufferedinputstream.h:
3908 New functions for efficient access to buffer and simple single byte
3911 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3912 (g_data_input_stream_read_until):
3913 * gdatainputstream.h:
3914 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3915 read_until with multiple stop chars.
3917 2007-11-27 Alexander Larsson <alexl@redhat.com>
3921 * inotify/Makefile.am:
3922 Use the user-specified giomoduledir
3924 2007-11-27 Alexander Larsson <alexl@redhat.com>
3928 Add catch-all gio.h header
3929 Don't install gdummyfile.h
3931 2007-11-26 Alexander Larsson <alexl@redhat.com>
3933 * Makefile.am (gioinclude_HEADERS):
3934 Remove trailing whitespace
3936 2007-11-26 Alexander Larsson <alexl@redhat.com>
3938 Merge gio-standalone into glib
3940 2007-11-25 Christian Kellner <gicmo@gnome.org>
3942 * gio/goutputstream.c:
3943 Fix small mistake in the docs.
3945 2007-11-21 Christian Persch <chpe@gnome.org>
3947 * gio/glocalfile.c: (g_local_file_trash):
3948 Convert filenames to UTF-8 for GError.
3949 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3950 as per xdg base dir spec.
3952 2007-11-21 Christian Persch <chpe@gnome.org>
3954 * gio/gdesktopappinfo.c:
3955 Use that g_key_file_to_data cannot fail.
3957 Use stock defines for the key file group and key names.
3960 2007-11-21 Alexander Larsson <alexl@redhat.com>
3963 (copy_stream_with_progress):
3964 Make sure we do a final progress callback with
3965 the full total size.
3967 2007-11-21 Alexander Larsson <alexl@redhat.com>
3970 Export g_file_copy_attributes
3971 Remove padding as its not needed for interfaces
3973 2007-11-20 Alexander Larsson <alexl@redhat.com>
3978 Add G_IO_ERROR_WOULD_MERGE for
3979 copy/move dir on dir with overwrite.
3981 2007-11-20 Alexander Larsson <alexl@redhat.com>
3984 * gio/glocalfileinfo.c:
3985 Add COPY_NAME (this is an optional
3986 non-modified utf8 version of the name) that
3989 2007-11-20 Alexander Larsson <alexl@redhat.com>
3991 * gio/glocalfileenumerator.c:
3992 Report errors as GIOError, not GFileError
3994 2007-11-16 Alexander Larsson <alexl@redhat.com>
3996 * gio/glocalfileoutputstream.c:
3997 * gio/gwin32appinfo.c:
3998 Fix typos in strings.
3999 Patch from Luca Ferretti <elle.uca@libero.it>
4001 2007-11-15 Alexander Larsson <alexl@redhat.com>
4004 Post release version bump
4006 === gio-standalone 0.1.2 ===
4008 2007-11-15 Alexander Larsson <alexl@redhat.com>
4010 * docs/reference/gio/Makefile.am:
4011 Fix up distcheck by removing weird
4017 2007-11-14 Alexander Larsson <alexl@redhat.com>
4019 * gio/gdesktopappinfo.c:
4020 * gio/glocaldirectorymonitor.c:
4022 * gio/glocalfileinfo.c:
4023 * gio/inotify/inotify-sub.c:
4024 * programs/gio-cat.c:
4025 * programs/gio-copy.c:
4026 * programs/gio-info.c:
4027 * programs/gio-ls.c:
4028 * programs/gio-monitor-dir.c:
4029 * programs/gio-monitor-file.c:
4030 * programs/gio-mount.c:
4031 * programs/gio-move.c:
4032 * programs/gio-rm.c:
4033 * programs/gio-save.c:
4034 * programs/gio-trash.c:
4035 Leak fixes from Kjartan Maraas
4037 2007-11-14 Alexander Larsson <alexl@redhat.com>
4039 * gio/fam/fam-helper.c:
4041 * gio/glocalfileinfo.c:
4045 * gio/inotify/inotify-diag.c:
4046 * gio/inotify/inotify-kernel.c:
4047 Various code cleanups from Kjartan Maraas
4049 2007-11-14 Alexander Larsson <alexl@redhat.com>
4051 * gio/gioscheduler.c:
4053 Set up threadpool so that we cache 2 unused
4054 idle threads for at 15 secs. This means we
4055 will reuse thread-local data (like dbus connections)
4058 2007-11-14 Alexander Larsson <alexl@redhat.com>
4060 * gio/fam/fam-helper.c:
4061 * gio/fam/gfamdirectorymonitor.c:
4062 * gio/fam/gfamfilemonitor.c:
4064 * gio/gcontenttype.c:
4065 * gio/gdatainputstream.c:
4066 * gio/gdataoutputstream.c:
4070 * gio/gfileattribute.h:
4071 * gio/gfileenumerator.c:
4073 * gio/ginputstream.c:
4076 * gio/glocalfileinfo.c:
4077 * gio/goutputstream.c:
4078 * gio/gpollfilemonitor.c:
4079 * gio/gsimpleasyncresult.c:
4080 * gio/gunixmounts.c:
4081 * gio/gunixmounts.h:
4082 * gio/inotify/ginotifydirectorymonitor.c:
4083 * gio/inotify/ginotifyfilemonitor.c:
4084 * gio/inotify/inotify-diag.c:
4085 * gio/inotify/inotify-kernel.c:
4086 * gio/inotify/inotify-path.c:
4088 * gio/test-streams.c:
4089 * programs/gio-info.c:
4090 * programs/gio-monitor-dir.c:
4091 * programs/gio-monitor-file.c:
4092 Various code cleanups from Kjartan Maraas
4094 2007-11-13 Alexander Larsson <alexl@redhat.com>
4097 Handle the uri-scheme calls for dummy files
4099 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4101 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4102 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4103 to avoid clash with the C++ keyword.
4105 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4107 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4108 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4110 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/glocaldirectorymonitor.c:
4113 * gio/glocalfilemonitor.c:
4114 * gio/gunionvolumemonitor.c:
4115 Don't use g_once_init_*() for initializations that could fail and
4116 could leave the initialization variable set to 0 but use GOnce.
4117 This prevents a deadlock on the second call when trying to create
4118 a monitor and no monitor type is available. Thanks to Sven Herzberg
4121 2007-11-11 Sven Herzberg <sven@imendio.com>
4123 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4124 #ifdef (make it work on MacOS X again)
4126 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4128 Fixes Changelog for last two commits (sorry guys).
4130 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4132 * gio/gbufferedinputstream.c:
4133 * gio/gdatainputstream.c:
4135 * gio/gfileoutputstream.c:
4136 * gio/gfilterinputstream.c:
4137 * gio/glocalfileinputstream.c:
4140 More consistency fixes in g*stream.c files.
4141 Significant clean of gfile's documentation, filling in of
4142 asynchronous operations documentation.
4144 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4146 * gio/gasyncresult.c:
4147 * gio/gbufferedinputstream.c:
4148 * gio/gbufferedoutputstream.c:
4149 * gio/gcancellable.c:
4150 * gio/gcontenttype.c:
4151 * gio/gdatainputstream.c:
4152 * gio/gdataoutputstream.c:
4153 * gio/gdesktopappinfo.c:
4156 * gio/gfileattribute.c:
4157 * gio/gio/gfileenumerator.c:
4159 * gio/gfileinputstream.c:
4160 * gio/gfilemonitor.c:
4161 * gio/gfileoutputstream.c:
4162 * gio/ginputstream.c:
4164 * gio/gioscheduler.c:
4165 * gio/gloadableicon.c:
4166 * gio/glocalfileoutputstream.c:
4167 * gio/gmemoryoutputstream.c:
4168 * gio/gmountoperation.c:
4169 * gio/goutputstream.c:
4171 * gio/gsimpleasyncresult.c:
4172 * gio/gunionvolumemonitor.c:
4173 * gio/gunixmounts.c:
4174 * gio/gunixvolume.c:
4178 * gio/gvolumemonitor.c:
4179 Updated documentation stubs, working towards consistency and
4182 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4184 * gio/gmemoryoutputstream.c:
4185 * gio/gmemoryoutputstream.h:
4186 Change g_memory_output_stream_set_free_on_close() to
4187 g_memory_output_stream_set_free_data() as this makes more sense and
4188 is more consistent with GMemoryInputStream.
4190 2007-11-07 Alexander Larsson <alexl@redhat.com>
4197 Change how we find the default vfs so that
4198 we can handle a gvfs failing to init
4200 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4202 * gio/gbufferedoutputstream.c:
4203 * gio/gdatainputstream.c:
4204 * gio/gdataoutputstream.c:
4205 * gio/gfileinputstream.c:
4206 * gio/gfileoutputstream.c:
4207 * gio/gfilterinputstream.c:
4208 * gio/gfilteroutputstream.c:
4209 * gio/ginputstream.c:
4210 * gio/gmemoryinputstream.c:
4211 * gio/gmemoryoutputstream.c:
4212 * gio/goutputstream.c:
4213 * gio/gsimpleasyncresult.c:
4214 * gio/gsocketinputstream.c:
4215 * gio/gsocketoutputstream.c:
4216 Add guards to the remaining public functions, add a TODO for
4217 an unimplemented function and remove some useless guards.
4219 2007-11-07 Alexander Larsson <alexl@redhat.com>
4222 Autoconf checks for the various types of
4223 getpwuid_r and getgrgid_r
4225 * gio/glocalfileinfo.c:
4226 Use the autoconf checks from above
4228 2007-11-07 Alexander Larsson <alexl@redhat.com>
4231 (g_local_file_query_filesystem_info):
4232 Some fixes for the statvfs case
4234 2007-11-07 Alexander Larsson <alexl@redhat.com>
4237 (g_local_file_query_filesystem_info):
4238 Pick the "best" of statfs / statvfs for the system
4239 if both are availible.
4241 2007-11-07 Alexander Larsson <alexl@redhat.com>
4243 Solaris fixes from Halton.Huo@Sun.COM:
4250 * gio/glocalfileinfo.c:
4251 Fix for solaris definition of getpwuid_r
4253 * gio/test-streams.c:
4254 Use G_GNUC_PRETTY_FUNCTION
4256 2007-11-07 Alexander Larsson <alexl@redhat.com>
4258 * gio/gdesktopappinfo.c:
4259 (update_default_list):
4260 Remove double semicolon.
4261 Patch from Jens Granseuer
4263 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4265 * docs/reference/gio/gio-sections.txt:
4266 * gio/gbufferedinputstream.c:
4267 * gio/gbufferedinputstream.h:
4268 * gio/gdatainputstream.c:
4269 * gio/gfileenumerator.c:
4270 * gio/gioscheduler.c:
4271 * gio/gunionvolumemonitor.c:
4273 * programs/gio-save.c:
4274 Fix typo: availible -> available. Unfortuntely this breaks API
4275 and ABI as g_buffered_input_stream_get_available() was renamed.
4277 * gio/gunixmounts.c:
4278 * gio/gbufferedinputstream.c:
4279 Add guards for public functions.
4281 2007-11-06 Ross Burton <ross@openedhand.com>
4283 * docs/reference/gio/Makefile.am:
4284 Fix invalid += usage which automake 1.10 doesn't like.
4286 2007-11-06 Alexander Larsson <alexl@redhat.com>
4289 (g_app_launch_context_class_init):
4292 Patch from Ross Burton
4294 2007-11-06 Alexander Larsson <alexl@redhat.com>
4297 Post release version bump
4299 === gio-standalone 0.1.1 ===
4301 2007-11-06 Alexander Larsson <alexl@redhat.com>
4304 Bump version to 0.1.1
4306 * gio/gsimpleasyncresult.c:
4307 (g_simple_async_result_set_from_error):
4308 Remove bogus g_return_if_fail
4310 2007-11-06 Alexander Larsson <alexl@redhat.com>
4313 The name is gio-standalone
4316 Add top src/builddir to includedir
4318 2007-11-06 Alexander Larsson <alexl@redhat.com>
4320 * docs/reference/gio/gio-sections.txt:
4322 * gio/gbufferedinputstream.c:
4323 * gio/gbufferedoutputstream.c:
4324 * gio/gcancellable.c:
4325 * gio/gdatainputstream.h:
4326 * gio/gdataoutputstream.c:
4327 * gio/gdataoutputstream.h:
4328 * gio/gdirectorymonitor.c:
4330 * gio/gfileattribute.c:
4331 * gio/gfileattribute.h:
4332 * gio/gfileenumerator.c:
4333 * gio/gfileenumerator.h:
4336 * gio/gfileinputstream.h:
4337 * gio/gfilemonitor.c:
4338 * gio/gfileoutputstream.h:
4339 * gio/glocalfilemonitor.h:
4340 * gio/glocalfileoutputstream.h:
4341 * gio/gmemoryinputstream.c:
4342 * gio/gmemoryoutputstream.c:
4343 * gio/gmountoperation.c:
4344 * gio/goutputstream.c:
4345 * gio/goutputstream.h:
4347 * gio/gsimpleasyncresult.c:
4348 * gio/gunixmounts.c:
4349 * gio/gunixmounts.h:
4351 * gio/inotify/inotify-helper.c:
4352 Fix gtk-doc warnings
4354 Patch from Ross Burton
4356 2007-11-06 Alexander Larsson <alexl@redhat.com>
4358 * gio/gfilenamecompleter.c:
4359 (g_filename_completer_get_completions):
4362 * gio/gunixvolume.c:
4363 Remove unused function
4365 Patches from Ross Burton
4367 2007-11-06 Alexander Larsson <alexl@redhat.com>
4372 Padding not needed for interfaces
4374 2007-11-06 Alexander Larsson <alexl@redhat.com>
4376 * gio/gfilemonitor.c:
4380 Make giotypes.h an internal file
4383 * gio/gbufferedinputstream.h:
4384 * gio/gbufferedoutputstream.h:
4385 * gio/gcancellable.h:
4386 * gio/gdatainputstream.h:
4387 * gio/gdataoutputstream.h:
4388 * gio/gdirectorymonitor.c:
4389 * gio/gdirectorymonitor.h:
4394 * gio/gfileattribute.h:
4395 * gio/gfileenumerator.h:
4400 * gio/gfilemonitor.c:
4401 * gio/gfilemonitor.h:
4402 * gio/gfilenamecompleter.c:
4403 * gio/gfilenamecompleter.h:
4404 * gio/gfilterinputstream.h:
4405 * gio/gfilteroutputstream.h:
4406 * gio/ginputstream.h:
4407 * gio/gmemoryinputstream.h:
4408 * gio/gmemoryoutputstream.h:
4409 * gio/gmountoperation.c:
4410 * gio/gmountoperation.h:
4411 * gio/gnativevolumemonitor.c:
4412 * gio/goutputstream.h:
4415 * gio/gsimpleasyncresult.c:
4416 * gio/gsimpleasyncresult.h:
4417 * gio/gsocketinputstream.h:
4418 * gio/gsocketoutputstream.h:
4419 * gio/gthemedicon.c:
4420 * gio/gthemedicon.h:
4424 * gio/gvolumemonitor.c:
4425 * gio/gvolumemonitor.h:
4426 Add padding in classes where it seems useful
4427 Don't include giotypes.h from public headers
4428 Move in Class definitions into c file where possible
4433 2007-11-06 Alexander Larsson <alexl@redhat.com>
4435 * docs/reference/gio/gio-docs.xml:
4436 Better structure for API docs
4438 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4441 * gio/gloadableicon.c:
4442 * gio/gsimpleasyncresult.c:
4443 * gio/gthemedicon.c:
4444 Add some more guards to public functions. Only files missing are now
4447 2007-11-06 Alexander Larsson <alexl@redhat.com>
4449 * docs/reference/gio/gio-docs.xml:
4450 Remove old files, add missing ones
4452 2007-11-06 Alexander Larsson <alexl@redhat.com>
4454 * docs/reference/gio/gio-sections.txt:
4457 Hide implementation classes
4459 * gio/gdriveprivate.h:
4460 * gio/gvolumeprivate.h:
4461 Remove non-existing function declarations
4463 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4466 Fix compilation warnings and add guards to the new functions.
4468 * gio/gasyncresult.c:
4470 Add guards to the public functions.
4473 Implement get_path().
4475 2007-11-06 Alexander Larsson <alexl@redhat.com>
4477 * gio/gfilenamecompleter.c:
4478 Make g_filename_completer_get_completions
4479 return char ** instead of GList for
4482 * docs/reference/gio/gio-docs.xml:
4483 * docs/reference/gio/gio-sections.txt:
4485 * gio/gasyncresult.c:
4486 * gio/gbufferedinputstream.c:
4487 * gio/gbufferedoutputstream.c:
4488 * gio/gcancellable.c:
4489 * gio/gcontenttype.c:
4490 * gio/gdatainputstream.c:
4491 * gio/gdataoutputstream.c:
4492 * gio/gdesktopappinfo.c:
4493 * gio/gdirectorymonitor.c:
4497 * gio/gfileattribute.c:
4498 * gio/gfileenumerator.c:
4501 * gio/gfileinputstream.c:
4502 * gio/gfilemonitor.c:
4503 * gio/gfilenamecompleter.c:
4504 * gio/gfilenamecompleter.h:
4505 * gio/gfileoutputstream.c:
4506 * gio/gfilterinputstream.c:
4508 * gio/ginputstream.c:
4510 * gio/gioscheduler.c:
4511 * gio/gloadableicon.c:
4512 * gio/glocaldirectorymonitor.c:
4514 * gio/glocalfileinputstream.c:
4515 * gio/glocalfilemonitor.c:
4516 * gio/glocalfileoutputstream.c:
4518 * gio/gmemoryinputstream.c:
4519 * gio/gmemoryoutputstream.c:
4520 * gio/gmountoperation.c:
4521 * gio/goutputstream.c:
4522 * gio/gpollfilemonitor.c:
4524 * gio/gsimpleasyncresult.c:
4525 * gio/gsocketinputstream.c:
4526 * gio/gsocketoutputstream.c:
4527 * gio/gthemedicon.c:
4528 * gio/gunionvolumemonitor.c:
4530 * gio/gunixmounts.c:
4531 * gio/gunixvolume.c:
4532 * gio/gunixvolumemonitor.c:
4536 * gio/gvolumemonitor.c:
4537 * gio/gwin32appinfo.c:
4538 Add (mostly stub) doc strings to public functions.
4539 Patch from Andrew Walton (awalton@gmail.com)
4541 2007-11-06 Alexander Larsson <alexl@redhat.com>
4543 * gio/gappinfo.[ch]:
4544 Added GAppLaunchContext object and pass that to launch.
4545 This allows simple implementation of both
4546 launch-on-screen and startup notification via a gtk+
4547 subclass of GAppLaunchContext
4549 * gio/gdesktopappinfo.c:
4550 Implement GAppLaunchContext API
4552 * gio/gwin32appinfo.c:
4555 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4557 * gio/gmountoperation.c:
4558 Add some guards to GMountOperation's public functions.
4560 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4564 * gio/gcancellable.c:
4565 * gio/gdirectorymonitor.c:
4567 * gio/gfileenumerator.c:
4568 * gio/gfilemonitor.c:,
4569 * gio/gfilenamecompleter.c:
4572 * gio/gioscheduler.c:
4576 * gio/gvolumemonitor.c:
4577 Add even more guards to various public functions.
4579 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4582 Add guards to the public functions of GAppInfo.
4584 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4586 * gio/gcontenttype.c:
4587 Add some more guards for public functions.
4589 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4591 * gio/fam/fam-module.c:
4592 * gio/fam/gfamdirectorymonitor.c:
4593 * gio/fam/gfamdirectorymonitor.h:
4594 * gio/fam/gfamfilemonitor.c:
4595 * gio/fam/gfamfilemonitor.h:
4596 * gio/inotify/ginotifydirectorymonitor.c:
4597 * gio/inotify/ginotifydirectorymonitor.h:
4598 * gio/inotify/ginotifyfilemonitor.c:
4599 * gio/inotify/ginotifyfilemonitor.h:
4600 Add proper copyright information and remove an unused variable
4601 in the GInotifyFileMonitor constructor.
4603 * gio/gcancellable.c:
4604 Add a guard for a public function and an assertion to prevent
4605 an undefined program state.
4607 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4609 * gio/gfileattribute.c:
4610 Don't run into an assertion if the given attribute value is NULL
4611 in g_file_attribute_value_get_*() but instead return a fallback
4612 value that makes sense in most situations. Passing them a attribute
4613 value with the wrong type will still run into an assertion.
4615 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4617 * gio/gfileattribute.c:
4619 Add even more guards to the public functions. Also fix the refcounting
4620 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4621 let g_file_info_list_attributes() filter the attributes by namespace
4622 instead of simply ignoring the namespace parameter.
4624 2007-11-03 Sven Herzberg <sven@imendio.com>
4626 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4627 (This makes gio work on MacOS X again)
4629 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4632 Build the gio subdirectory before the docs. Otherwise the build will
4635 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4636 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4637 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4638 Add guards to the public functions.
4640 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4642 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4643 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4644 to prevent a compiler warning.
4646 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4647 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4648 return something in the non-void function find_topdir_for().
4650 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4657 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4659 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4660 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4661 * gwin32appinfo.c (g_win32_app_info_launch):
4662 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4663 envp_for_startup_id, g_desktop_app_info_launch,
4664 g_desktop_app_info_launch_uris):
4666 Give an opaque 'startup_id' string instead of 'envp'.
4667 Support empty file lists for launching new windows.
4668 Fix infinite recursion bug when launching URIs.
4670 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4673 Add guard to the new g_file_get_uri_scheme() function.
4675 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4678 Convert a g_return_val_if_fail() to setting the GError instead as
4679 otherwise applications have to verify the parameter before otherwise
4680 and the parameter might come directly from the user.
4682 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4684 * gio/inotify/ginotify*.[ch]:
4685 Add missing copyright information.
4687 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4690 Add guards in the beginning of public functions to check for valid
4691 parameters and fix a bug in copy_stream_with_progress() that could've
4692 caused writing less bytes than reading.
4693 * gio/glocalfileinfo.c:
4694 Check for a NULL parameter and set the GError accordingly then.
4695 * gio/goutputstream.c:
4696 Fix the same bug as in gfile.c that could've caused writing less bytes
4697 than reading in g_output_stream_real_splice().
4699 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4702 Use the correct gvolumeprivate.h naming
4704 2007-11-01 Christian Kellner <gicmo@gnome.org>
4707 Remove leftover "$(daemon_sources)" entry.
4709 2007-11-01 Christian Kellner <gicmo@gnome.org>
4714 Add copyright information to source files.
4716 2007-11-01 Alexander Larsson <alexl@redhat.com>
4720 Add g_file_get_uri_scheme
4722 2007-11-01 Alexander Larsson <alexl@redhat.com>
4725 * gio/gdesktopappinfo.c:
4726 * gio/gwin32appinfo.c:
4727 Add g_app_info_get_default_for_uri_scheme.
4729 2007-11-01 Alexander Larsson <alexl@redhat.com>
4732 Correct filename for gdriveprivate.h
4734 2007-10-31 Alexander Larsson <alexl@redhat.com>
4737 Rename id:value to id:file
4740 * gio/glocalfileinfo.c:
4743 2007-10-31 Alexander Larsson <alexl@redhat.com>
4745 * gio/gunixvolume.c:
4747 Remove g_volume_get_platform_id, as thats not
4748 needed with the simpler union volume monitor
4750 2007-10-31 Alexander Larsson <alexl@redhat.com>
4753 * gio/guniondrive.[ch]: Removed.
4754 * gio/gunionvolume.[ch]: Removed.
4755 Remove GUnionDrive/Volume
4757 * gio/gunionvolumemonitor.c:
4758 Simplify union volume monitor, now we
4759 only have one native volume monitor and
4760 we use the actual volumes/drives from the
4761 child monitors instead of wrapping them
4763 * gio/gnativevolumemonitor.[ch]:
4764 Base class for native volume monitors.
4765 Includes priority and get_volume_for_mountpoint
4768 Add g_file_find_enclosing_volume
4771 Remove volume name fs attribute
4772 Add readonly fs attribute
4775 Implement readonly attribute
4776 remove volume name attribute
4777 Implement find_enclosing volume
4779 * gio/gunixmounts.c:
4780 Add a volume for "/".
4782 * gio/gunixvolume.[ch]:
4783 Set better name for /
4785 * gio/gunixvolumemonitor.[ch]:
4786 Derive from GNativeVolumeMonitor
4787 Implement get_volume_for_mountpoint
4790 GVolume typedef moved to gfile.h
4792 * gio/gvolumeprivate.h:
4793 Add g_volume_get_for_mount_path
4795 2007-10-31 Alexander Larsson <alexl@redhat.com>
4797 * gio/gunixmounts.[ch]:
4798 Add cache info to unix mount listers
4799 Make getmntent use threadsafe
4800 Add is_system_internal attribute for GUnixMount
4802 * gio/gunixvolume.c:
4803 (g_unix_volume_new):
4804 Use is_system_internal instead of own code
4806 * gio/glocaldirectorymonitor.c:
4807 * gio/gunixvolumemonitor.c:
4808 Update to new gunixmounts API
4813 2007-10-30 Alexander Larsson <alexl@redhat.com>
4816 Add volume name fsinfo attribute
4819 Read volume name info
4821 * gio/gunionvolumemonitor.c:
4822 Fix infinite loops when finalizing a union volume monitor
4824 2007-10-30 Alexander Larsson <alexl@redhat.com>
4826 * gio/goutputstream.[ch]:
4827 Add splice() with default implementation
4829 * gio/gsocketoutputstream.c:
4830 (g_socket_output_stream_write):
4831 Return error on cancellation correctly.
4833 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4835 * gio/glocalfile.c (g_local_file_trash):
4836 Do not leak a string.
4838 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4840 * gio/gfile.c (g_file_load_contents):
4841 Unref the stream after closing it.
4843 2007-10-25 Alexander Larsson <alexl@redhat.com>
4845 * gio/gioscheduler.h:
4848 2007-10-25 Alexander Larsson <alexl@redhat.com>
4852 Add g_file_has_uri_scheme and implement for local files
4854 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4856 * gio/gdesktopappinfo.c: do not leak a string.
4858 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4860 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4861 (g_local_directory_monitor_new):
4862 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4863 (g_local_file_monitor_new):
4864 Only look for the monitor type that should be used the first time
4865 and use g_qsort_with_data() instead of our own bubble sort
4868 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4871 * gio/fam/Makefile.am:
4872 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4873 * gio/fam/fam-helper.h:
4874 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4875 * gio/fam/gfamdirectorymonitor.c:
4876 * gio/fam/gfamdirectorymonitor.h:
4877 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4878 * gio/fam/gfamfilemonitor.h:
4879 * gio/glocaldirectorymonitor.c:
4880 * gio/glocaldirectorymonitor.h:
4881 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4882 * gio/glocalfilemonitor.h:
4883 * gio/inotify/Makefile.am:
4884 * gio/inotify/ginotifydirectorymonitor.c:
4885 * gio/inotify/ginotifydirectorymonitor.h:
4886 * gio/inotify/ginotifyfilemonitor.c:
4887 * gio/inotify/ginotifyfilemonitor.h:
4888 Implement the FAM and Inotify monitors as
4889 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4890 their own GIO module. GLocal(Directory|File)Monitor will use the
4891 monitor with the highest rank that is supported on that machine.
4893 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4896 Change GIO module dir to $(libdir)/gio/modules and change
4897 the log domain from GVFS to GIO. Also only export symbols starting
4898 with g_ in the resulting library.
4899 * gio/test-streams.c: (main):
4900 Set log handler for the GIO log domain.
4902 2007-10-22 Alexander Larsson <alexl@redhat.com>
4904 * gio/gfilenamecompleter.[ch]:
4905 Add g_filename_completer_set_dirs_only
4907 2007-10-22 Alexander Larsson <alexl@redhat.com>
4910 * gio/gurifuncs.[ch]:
4911 Add some simple URI helpers
4913 * gio/gfilenamecompleter.[ch]:
4914 Added object for filename (parse name actually) completion
4917 Handle ~ in parse names
4919 2007-10-17 Alexander Larsson <alexl@redhat.com>
4922 * gio/glocalfileinfo.c:
4923 Add and implement id:value attribute
4925 2007-10-17 Alexander Larsson <alexl@redhat.com>
4928 * gio/guniondrive.c:
4930 Add and implement g_drive_has_volumes
4932 2007-10-17 Alexander Larsson <alexl@redhat.com>
4935 * gio/glocalfileinfo.[ch]:
4936 Add unix:is_mountpoint and implement for local files
4938 2007-10-16 Alexander Larsson <alexl@redhat.com>
4940 * gio/gunionvolumemonitor.c:
4941 (g_union_volume_monitor_init):
4942 Fix up the unix type getting so that it works with gcc
4944 2007-10-12 Alexander Larsson <alexl@redhat.com>
4947 * gio/glocalfileinfo.c:
4948 Add thumbnail:failed to file info
4950 2007-10-12 Richard Hult <richard@imendio.com>
4952 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4953 optimizing away the get_type call (happens with some gcc versions,
4954 like the one shipped with OS X 10.4).
4956 2007-10-12 Alexander Larsson <alexl@redhat.com>
4958 * gio/glocalfileinfo.c:
4959 (_g_local_file_info_set_attribute):
4960 Fix build if not HAVE_XATTR
4961 Patch from Milosz Derezynski <internalerror@gmail.com>
4963 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4965 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4966 around for review, otherwise I would have asked you before
4969 2007-10-11 Alexander Larsson <alexl@redhat.com>
4972 Add thumbnail:path attribute
4974 * gio/glocalfileinfo.c:
4975 Implement thumbnail:path for local files
4977 2007-10-11 Alexander Larsson <alexl@redhat.com>
4979 * gio/glocalfileinfo.c:
4980 (_g_local_file_info_get):
4981 Avoid duplicate icon names
4983 2007-10-11 Alexander Larsson <alexl@redhat.com>
4985 * gio/gthemedicon.[ch]:
4986 Change g_themed_icon_get_names return type to const
4988 2007-10-10 Alexander Larsson <alexl@redhat.com>
4990 * gio/glocalfileinfo.c:
4991 Don't reference freed memory
4993 2007-10-10 Alexander Larsson <alexl@redhat.com>
4995 * gio/gfileattribute.c:
4998 * gio/glocalfileinfo.c:
5001 2007-10-10 Alexander Larsson <alexl@redhat.com>
5004 Check for NULL icons
5006 * gio/gfileattribute.c:
5007 Don't dup when getting objects (same as for string attributes)
5009 * gio/gicon.c (g_icon_equal):
5010 Safely handle NULLs in equal
5012 2007-10-10 Alexander Larsson <alexl@redhat.com>
5015 Fix c++ compilation issues
5016 Patch from Milosz Derezynski <internalerror@gmail.com>
5018 2007-10-10 Alexander Larsson <alexl@redhat.com>
5020 * programs/gio-monitor-dir.c:
5021 Don't crash if dir monitor not supported.
5023 2007-10-09 Alexander Larsson <alexl@redhat.com>
5026 Add missing G_END_DECLS
5028 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5030 * gio/gfile.c: (g_file_set_display_name),
5031 (g_file_query_settable_attributes),
5032 (g_file_query_writable_namespaces):
5033 Return NULL not FALSE on errors as the return type is a pointer.
5035 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5037 * gio/glocalfile.c: (g_local_file_monitor_file):
5038 Don't call monitor_file on the default interface vtable (which
5039 is NULL) but simply return NULL. The caller, GFile, will create a
5040 polling monitor if NULL is returned.
5042 2007-10-09 Alexander Larsson <alexl@redhat.com>
5046 * gio-unix-2.0.pc.in:
5047 Add gio-unix-2.0.pc if OS_UNIX
5050 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5052 2007-10-09 Alexander Larsson <alexl@redhat.com>
5054 * gio/gunixmounts.[ch]:
5055 Make unix mount monitoring API sane.
5056 Now its just a object with mounts_changed
5057 and mountpoints_changed signals.
5059 * gio/glocaldirectorymonitor.c:
5060 * gio/gunixvolumemonitor.c:
5061 Use new mount monitor api
5063 2007-10-09 Alexander Larsson <alexl@redhat.com>
5065 * gio/gunixmounts.[ch]:
5066 Move guess type into one call for mounts and one for mountpoints
5069 * gio/gunixvolume.c:
5072 2007-10-09 Alexander Larsson <alexl@redhat.com>
5074 * gio/gunixmounts.[ch]:
5075 Remove _ prefix in preparation to make this semi-public
5076 Hide implementation of structs
5078 * gio/glocaldirectorymonitor.c:
5080 * gio/gunixvolume.c:
5081 * gio/gunixvolumemonitor.c:
5082 Update for above API changes
5084 2007-10-08 Alexander Larsson <alexl@redhat.com>
5087 Better polling fallback. This also handles the case where we have
5088 a monitor_file implementation, but it fails.
5090 2007-10-08 Alexander Larsson <alexl@redhat.com>
5094 * gio/gunixmounts.c:
5095 * programs/gio-monitor-dir.c:
5096 * programs/gio-monitor-file.c:
5097 Added cancellable to file monitoring calls.
5098 These are really sync calls and need this.
5100 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5102 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5103 (g_local_vfs_class_init):
5104 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5105 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5107 2007-10-05 Alexander Larsson <alexl@redhat.com>
5109 * gio/gdirectorymonitorprivate.h:
5110 * gio/gfilemonitorprivate.h:
5111 * gio/gdirectorymonitor.h:
5112 * gio/gfilemonitor.h:
5113 Remove *private.h and move to the public API, so that
5114 we can do implementations outside gio (such as in gvfs)
5116 * gio/gdirectorymonitor.c:
5117 * gio/gfilemonitor.c:
5118 * gio/glocaldirectorymonitor.c:
5119 * gio/gpollfilemonitor.c:
5120 * gio/inotify/inotify-helper.c:
5121 * gio/fam/fam-helper.c:
5122 Update to the new header names
5124 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5126 * gio/gdirectorymonitor.c:
5127 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5130 2007-10-04 Alexander Larsson <alexl@redhat.com>
5132 * gio/glocalfileinfo.c (get_access_rights):
5133 Set CAN_TRASH when we can move the file.
5134 We should really also check for a parent trash dir.
5136 2007-10-04 Alexander Larsson <alexl@redhat.com>
5138 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5139 Add can_trash access attribute
5141 2007-10-04 Alexander Larsson <alexl@redhat.com>
5144 (g_local_file_trash):
5145 Create info file first. This is per-spec and allows
5146 us to actually trash directories.
5148 2007-10-02 Alexander Larsson <alexl@redhat.com>
5150 * gio/gdesktopappinfo.c:
5151 Implement the new mime support code.
5152 Always set app as handling mimetype when being set as default for it
5154 2007-10-01 Alexander Larsson <alexl@redhat.com>
5156 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5157 Fix up check for xattrs:
5159 2007-10-01 Alexander Larsson <alexl@redhat.com>
5162 (g_app_info_set_as_default_for_extension):
5163 (g_app_info_add_supports_type):
5164 (g_app_info_can_remove_supports_type):
5165 (g_app_info_remove_supports_type):
5166 Make these fail nicely if not implemented
5168 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5170 * gio/glocalfileoutputstream.c:
5171 * gio/glocalfileoutputstream.h:
5176 * programs/gio-save.c:
5177 Add a GFileCreateFlags argument to operations that can create
5180 2007-10-01 Alexander Larsson <alexl@redhat.com>
5182 * gio/gappinfo.[ch]:
5183 * gio/gdesktopappinfo.c:
5184 Add more (stubbed out) mime API needed for nautilus
5186 2007-10-01 Alexander Larsson <alexl@redhat.com>
5189 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5190 Add g_app_info_set_as_default_for_extension.
5192 * gio/gdesktopappinfo.c:
5193 Dummy for g_app_info_set_as_default_for_extension
5194 Support flags in g_app_info_create_from_commandline
5196 * gio/gwin32appinfo.c:
5198 Update for API changes
5200 * gio/gthemedicon.c:
5201 Properly NULL-terminate list of icon names
5203 2007-09-28 Alexander Larsson <alexl@redhat.com>
5205 * gio/gloadableicon.h:
5206 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5208 2007-09-28 Alexander Larsson <alexl@redhat.com>
5211 Install headers in $includedir/gio-standalone/
5213 * gio-2.0.pc.in: Added.
5214 * gio-standalone.pc.in: Removed.
5217 Renamed pkg-config file to match glib (for future move)
5218 Update to the new include dir
5221 Add more TODO comments
5223 2007-09-28 Alexander Larsson <alexl@redhat.com>
5225 * gio/gdesktopappinfo.[ch]:
5226 Expose new_from_filename
5227 Add getter for is_hidden and handle it better
5229 2007-09-28 Alexander Larsson <alexl@redhat.com>
5231 * gio/gfileinfo.[ch]:
5232 Rename g_file_size_format_for_display to
5233 g_format_file_size_for_display.
5234 Now it doesn't have the g_file prefix, so we
5235 can later move it to glib.
5237 2007-09-28 Alexander Larsson <alexl@redhat.com>
5239 * gio/gappinfo.[ch]:
5240 Add g_app_info_get_id and g_app_info_get_executable.
5241 Make all getters non-reffing
5242 Make g_app_info_launch take GFile arguments.
5243 Add must_support_uris argument to g_app_info_get_default_for_type.
5245 * gio/gwin32appinfo.c:
5246 Update to GAppInfo api changes
5248 * gio/gdesktopappinfo.c:
5249 Update to GAppInfo api changes
5250 Implement supports_xdg_startup_notify
5252 * gio/gfileicon.c (g_file_icon_get_file):
5253 Make getter non-reffing.
5258 2007-09-27 Alexander Larsson <alexl@redhat.com>
5260 * gio/gfileinfo.[ch]:
5261 Add g_file_size_format_for_display helper
5263 2007-09-27 Alexander Larsson <alexl@redhat.com>
5265 * gio/glocalfileinfo.c:
5266 Set UNIX_GID from gid, not from uid
5268 2007-09-27 Alexander Larsson <alexl@redhat.com>
5271 Add g_file_set_attributes_async
5273 2007-09-27 Alexander Larsson <alexl@redhat.com>
5275 * gio/glocalfile.c (g_local_file_set_display_name):
5276 Fix set_display_name to actually rename to the right place.
5277 Use lstat to look for existing files so we don't overwrite
5280 2007-09-26 Alexander Larsson <alexl@redhat.com>
5283 Add g_file_set_display_name_async()
5285 2007-09-26 Alexander Larsson <alexl@redhat.com>
5288 Add load_partial_contents async calls
5291 Make internal function static
5293 2007-09-26 Alexander Larsson <alexl@redhat.com>
5295 * gio/glocalfileinfo.c:
5296 Correctly detect broken symlinks
5298 2007-09-26 Alexander Larsson <alexl@redhat.com>
5300 * gio/gcancellable.c (g_cancellable_cancel):
5301 Allow cancel on NULL cancellable
5303 2007-09-25 Alexander Larsson <alexl@redhat.com>
5305 * gio/gsimpleasyncresult.c:
5306 Don't allocate g_error manually.
5307 Fixes g_slice/g_new mixup crash
5309 2007-09-25 Alexander Larsson <alexl@redhat.com>
5311 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5312 Actually set active_backend.
5313 This means the monitor will be cancelled correctly.
5315 2007-09-25 Alexander Larsson <alexl@redhat.com>
5317 * gio/gdirectorymonitor.c:
5318 Set timeout to NULL when destroying
5320 2007-09-25 Alexander Larsson <alexl@redhat.com>
5323 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5324 that is a better description of the error.
5326 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5328 * gio/gvfs.c: (g_vfs_get_local):
5329 Make the local vfs variable static. The same instance should
5332 2007-09-24 Alexander Larsson <alexl@redhat.com>
5334 * gio/glocalfileinfo.c:
5335 Pass in actual length read into sniffer, not the length
5338 2007-09-21 Alexander Larsson <alexl@redhat.com>
5340 * gio/gfileenumerator.c:
5343 * gio/gfileinputstream.c:
5344 * gio/gfileoutputstream.c:
5345 * gio/ginputstream.c:
5346 * gio/goutputstream.c:
5347 Don't crash if async callbacks are NULL
5349 2007-09-20 Alexander Larsson <alexl@redhat.com>
5352 Add async enumerate_children method and default
5355 2007-09-20 Alexander Larsson <alexl@redhat.com>
5358 Add g_file_contains_file & g_file_get_relative_path, since they
5359 were needed for nautilus.
5360 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5365 Implement new methods
5367 2007-09-17 Alexander Larsson <alexl@redhat.com>
5370 * gio/gfileinputstream.[ch]:
5371 * gio/gfileoutputstream.[ch]:
5373 * gio/glocalfileenumerator.[ch]:
5374 * gio/glocalfileinfo.[ch]:
5375 * gio/glocalfileinputstream.c:
5376 * gio/glocalfileoutputstream.c:
5377 * gio/gpollfilemonitor.c:
5378 * programs/gio-copy.c:
5379 * programs/gio-info.c:
5380 * programs/gio-move.c:
5381 Rename get_file_info to query_info() to make it clearer
5382 that these are not simple getters, but do i/o.
5384 2007-09-17 Alexander Larsson <alexl@redhat.com>
5386 * gio/gdatainputstream.[ch]:
5387 * gio/test-streams.c:
5388 Use _read_XXX instead of _get_XXX for the i/o calls
5391 2007-09-17 Alexander Larsson <alexl@redhat.com>
5394 Added needed stuff to TODO comment
5396 2007-09-17 Alexander Larsson <alexl@redhat.com>
5398 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5399 Don't error out removing the backup copy if it doesn't
5402 2007-09-14 Alexander Larsson <alexl@redhat.com>
5404 * programs/Makefile.am:
5405 * programs/gvfs-*.c:
5407 Renamed apps from gvfs-xxx to gio-xxx.
5409 2007-09-14 Alexander Larsson <alexl@redhat.com>
5412 * gio/gfileoutputstream.[ch]:
5413 * gio/glocalfileoutputstream.c:
5414 * programs/gvfs-save.c:
5415 g_file_output_stream_get_etag doesn't do i/o, so remove
5416 cancellation and error.
5418 2007-09-14 Alexander Larsson <alexl@redhat.com>
5421 Add new_etag output to replace_contents functions
5423 2007-09-14 Alexander Larsson <alexl@redhat.com>
5425 * gio/gfileoutputstream.[ch]:
5426 Add async get_file_info and default implementation
5428 2007-09-14 Alexander Larsson <alexl@redhat.com>
5430 * gio/gfileinputstream.c:
5431 Implement fallback wrapper for async get_file_info
5433 2007-09-14 Alexander Larsson <alexl@redhat.com>
5436 Add etag out argument to load_contents
5441 2007-09-14 Alexander Larsson <alexl@redhat.com>
5443 * gio/gcontenttype.c (looks_like_text):
5444 Whitespace like tab, cr and lf do not make the
5447 2007-09-14 Alexander Larsson <alexl@redhat.com>
5449 * gio/gfileinputstream.[ch]:
5450 Add async get_file_info.
5452 2007-09-13 Alexander Larsson <alexl@redhat.com>
5454 * gio/goutputstream.c (g_output_stream_write_all):
5455 Allow NULL for bytes_written
5457 2007-09-13 Alexander Larsson <alexl@redhat.com>
5459 * gio/gmemoryinputstream.[ch]:
5460 Add accessors for data
5462 2007-09-13 Alexander Larsson <alexl@redhat.com>
5464 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5465 Don't crash if length is NULL