1 2009-02-16 Ryan Lortie <desrt@desrt.ca>
3 Bug 571598 – GAsyncResult with NULL gobject
5 * gsimpleasyncresult.c: remove various assertions and add some checks
6 to allow for a NULL source_object in GSimpleAsyncResult.
8 2009-02-11 Matthias Clasen <mclasen@redhat.com>
10 Bug 541225 – Can't compile gio on AIX : duplicate case value in
13 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
14 Reported by Nicolas Joseph
16 2009-02-04 Alexander Larsson <alexl@redhat.com>
18 Bug 566747 - URIs opened with firefox %u load as local files
20 * gdummyfile.c (g_dummy_file_get_path):
21 Dummy files are never used for local paths, so always return NULL
24 2009-02-02 Matthias Clasen <mclasen@redhat.com>
26 * === Released 2.19.6 ===
28 2009-01-31 Paolo Borelli <pborelli@katamail.com>
30 * glocalfileinfo.c: plug a tiny mem leak.
32 2009-01-29 Ryan Lortie <desrt@desrt.ca>
34 * gioerror.c (g_io_error_from_errno): handle all possible cases of
35 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
37 2009-01-28 Ryan Lortie <desrt@desrt.ca>
39 Bug 568575 – _async functions for GDataInputStream
42 * gdatainputstream.c: add _async versions of read_line and read_until.
44 * ../docs/reference/gio/gio-sections.txt: add new functions
45 * tests/sleepy-stream.c: new test case for async read line
46 * tests/Makefile.am: add new test
48 2009-01-22 Ryan Lortie <desrt@desrt.ca>
50 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
52 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
53 g_buffered_input_stream_fill): check for count < -1 instead of count <
54 0 and copy modified check to non-async version for consistency.
55 document the "count = -1" API.
57 2009-01-22 Ryan Lortie <desrt@desrt.ca>
59 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
61 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
62 after we have successfully read data from the base stream
64 2009-01-20 Ryan Lortie <desrt@desrt.ca>
66 Bug 568394 – dropping the last reference to a stream filter closes the
69 * gfilterinputstream.h:
70 * gfilterinputstream.c: add "close-base-stream" property and only
71 close the base stream if it is true. issue async close callbacks from
72 correct source object.
73 * gfilteroutputstream.h:
74 * gfilteroutputstream.c: add a "close-base-stream" property and only
75 close the base stream if it is true. issue async close callbacks from
76 correct source object.
77 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
78 before closing the base stream. fix invalid source tag comparison in
79 close_async (was comparing to flush_async).
80 * ../docs/reference/gio/gio-sections.txt:
82 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
83 * tests/filter-streams.c: new test cases
84 * tests/Makefile.am: add new test
85 * tests/.gitignore: add new test
87 2009-01-19 Matthias Clasen <mclasen@redhat.com>
89 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
91 2009-01-19 Matthias Clasen <mclasen@redhat.com>
93 * === Released 2.19.5 ===
95 2009-01-19 Matthias Clasen <mclasen@redhat.com>
97 * gappinfo.h: Document get_commandline vfunc
99 2009-01-19 Matthias Clasen <mclasen@redhat.com>
101 * gunixmounts.c: Some stylistic fixes.
103 2009-01-08 Matthias Clasen <mclasen@redhat.com>
105 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
106 functions in non-UTF8 locale
108 * xdgmime/xdgmimecache.c:
109 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
111 2009-01-08 Matthias Clasen <mclasen@redhat.com>
113 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
115 2009-01-07 Matthias Clasen <mclasen@redhat.com>
117 Bug 566770 – error code 0 for Too many open files is useless
119 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
120 Requested by Olivier Sessink.
122 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
124 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
125 G_IO_ERROR_TOO_MANY_OPEN_FILES.
127 2009-01-05 Matthias Clasen <mclasen@redhat.com>
129 * === Released 2.19.4 ===
131 2009-01-05 Dan Winship <danw@gnome.org>
133 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
134 "const char **" to avoid a warning.
136 * gemblem.c (g_emblem_from_tokens):
137 * gemblemedicon.c (g_emblemed_icon_from_tokens):
138 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
141 2009-01-05 Matthias Clasen <mclasen@redhat.com>
143 Bug 566064 – Add NOATIME flag to query_info_flags
145 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
146 sniffing for mime types. Based on a patch by A. Walton
148 2009-01-05 Ryan Lortie <desrt@desrt.ca>
150 * tests/.gitignore: improve
151 * tests/Makefile.am: add new simple-async-result test
152 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
154 2009-01-05 Ryan Lortie <desrt@desrt.ca>
157 * ../docs/reference/gio/gio-sections.txt:
158 * gsimpleasyncresult.h:
159 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
160 Implementation by Dan Winship. Closes #566170.
162 2008-12-31 Matthias Clasen <mclasen@redhat.com>
166 * gunixinputstream.c:
167 * gunixoutputstream.c: Add a note about being UNIX-specific.
169 2008-12-15 Matthias Clasen <mclasen@redhat.com>
171 * === Released 2.19.3 ===
173 2008-12-12 Dan Winship <danw@gnome.org>
175 * pltcheck.sh: make this work on x86_64
177 2008-12-12 Ryan Lortie <desrt@desrt.ca>
179 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
182 2008-12-12 Ryan Lortie <desrt@desrt.ca>
184 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
185 multiple mount entries match the requested path
187 2008-12-10 Alexander Larsson <alexl@redhat.com>
189 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
190 g_simple_async_result_run_in_thread
192 * gsimpleasyncresult.c:
193 Make g_simple_async_result_run_in_thread check cancellation before
194 calling out to the user in the callback. This means we guarantee
195 reporting cancels of async operations from the main threads, which
196 is probably more in line with what users expect.
198 Note that there are still no such guarantees for cancelling sync
199 operations or cancelling async operation from outside the main
200 thread. Furthermore, the exact behaviour of async implementations
201 not using run_in_thread may differ.
203 2008-12-09 Alexander Larsson <alexl@redhat.com>
205 Bug 515777 - incorrect date&time on copy
208 (g_local_file_class_init):
209 Copy mtime by default
212 Change docs about G_FILE_COPY_ALL_METADATA to not mention
215 2008-12-08 Matthias Clasen <mclasen@redhat.com>
217 Bug 558298 – Hide ecryptfs mounts
219 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
220 so that the desktop does not show both the mount and the target
221 directory. Patch by Martin Pitt
223 2008-12-08 Matthias Clasen <mclasen@redhat.com>
225 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
229 * gunixinputstream.[hc]:
230 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
231 including getters and setters. Patch by Maciej Piechotka
233 2008-12-07 Matthias Clasen <mclasen@redhat.com>
235 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
237 * tests/live-g-file.c: Support compilers that don't understand
238 ISO C varargs macros. Patch by Eric Lamarque
240 2008-12-07 Matthias Clasen <mclasen@redhat.com>
242 Bug 526320 – should not list mounts that the user doesn't have
245 gunixmounts.c: Use g_access() to check accessibility of local devices.
248 2008-12-01 Matthias Clasen <mclasen@redhat.com>
250 * === Released 2.19.2 ===
252 2008-12-01 Matthias Clasen <mclasen@redhat.com>
254 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
255 behaviour change, and update the docs instead, to avoid breaking
258 2008-12-01 Matthias Clasen <mclasen@redhat.com>
260 * === Released 2.19.1 ===
262 2008-12-01 Alexander Larsson <alexl@redhat.com>
266 * gunionvolumemonitor.c:
268 Add and document g_mount_is_shadowed plus calls
269 to set/unset a mount as shadowed
271 2008-11-28 Matthias Clasen <mclasen@redhat.com>
273 * gio/tests/g-icon.c: Comment out two failing tests
275 2008-11-28 Matthias Clasen <mclasen@redhat.com>
277 Bug 555486 – No way to recover command line from GAppInfo
280 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
281 by Hans Petter Jansson.
283 * gdesktopappinfo.c: And implement it here.
285 2008-11-28 Christian Dywan <christian@imendio.com>
287 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
289 2008-11-28 Matthias Clasen <mclasen@redhat.com>
291 Bug 559633 – gtk_image_new_from_gicon does not always work for
294 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
295 extensions on icon names. Proposed by Axel von Bertoldi.
297 2008-11-28 Matthias Clasen <mclasen@redhat.com>
299 Bug 548163 – Nautilus displays wrong error message for too long file
302 * glocalfile.c (g_local_file_set_display_name): Correctly set
303 error conditions if the new name is e.g. too long. Reported
304 by Leonardo Ferreira Fontenelle.
306 2008-11-28 Matthias Clasen <mclasen@redhat.com>
308 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
311 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
312 documented and include the line end in the returned string.
313 Pointed out by Paul Pogonyshev.
315 * tests/data-input-stream.c: Fix the read_line test to test the
316 documented behaviour.
318 2008-11-28 Matthias Clasen <mclasen@redhat.com>
320 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
321 files that have been created by g_app_info_create_from_commandline.
323 2008-11-28 Matthias Clasen <mclasen@redhat.com>
325 Bug 541715 – win32 : patch for warnings and signature problems in
328 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
331 2008-11-28 Matthias Clasen <mclasen@redhat.com>
333 Bug 562393 – g_buffered_input_stream_read_byte broken if data
336 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
337 handling of buffered content. Patch by Philip Withnall
339 * tests/buffered-input-stream.c: Add a testcase for this bug.
340 * tests/Makefile.am: And build it
342 2008-11-28 Matthias Clasen <mclasen@redhat.com>
344 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
347 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
348 '/' away. Spotted by Dan Williams.
350 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
352 Bug 561375 – Leaks mountpoint description
354 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
357 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
359 Bug 561352 – Leak of icon description
361 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
364 2008-11-14 Matthias Clasen <mclasen@redhat.com>
366 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
368 2008-11-12 Tor Lillqvist <tml@novell.com>
370 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
372 * win32/gwinhttpvfs.h: Move the set of function pointers to
373 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
374 pointer to that in the GWinHttpVfsClass.
376 * win32/gwinhttpvfs.c: Move the lookup of functions from
377 winhttp.dll into a function of its own, that stores the pointers
378 in a separate GWinHttpDllFuncs variable. Add two bookeeping
379 booleans lookup_done and funcs_found.
381 Don't call g_io_extension_point_implement() to register the
382 winhttp extension unless winhttp.dll has been successfully loaded
383 and the required functions found in it.
385 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
386 winhttp.dll correspondingly.
388 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
390 reviewed by: Alexander Larsson <alexl@redhat.com>
392 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
393 clearer about the behavior when there's no more content to read.
395 2008-10-27 Federico Mena Quintero <federico@novell.com>
397 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
399 2008-10-27 Tor Lillqvist <tml@novell.com>
401 Bug 557592 - Missing include in gwinhttpfile.c
403 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
406 2008-10-24 Matthias Clasen <mclasen@redhat.com>
408 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
410 * fam/fam-helper.c: Fix a memory leak and formatting issues.
411 Reported by Daniel Marjamäki
413 2008-10-23 Matthias Clasen <mclasen@redhat.com>
415 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
417 2008-10-23 Alexander Larsson <alexl@redhat.com>
419 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
422 (_g_local_file_info_get):
423 Don't return the fallback icon (text-x-generic) for all files.
424 This is causing problems with theme icon lookup and custom mime
425 icons, as the generic fallback overrides custom mime icons in
428 This is a slight change as applications might not get an icon wher
429 they previously did. But there is no guarantee to get on neither before
430 or after this change, so it should not break applications. Changes
431 to nautilus and gtk+ will be done to manually use the generic fallback
432 icon if no icon is found, but this is only required for rare cases.
434 2008-10-21 Alexander Larsson <alexl@redhat.com>
437 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
439 2008-10-21 Alexander Larsson <alexl@redhat.com>
441 Bug 555740 - gicon serialization
442 Based on patch from David Zeuthen
446 Add g_icon_to_string() and g_icon_new_for_string().
452 Implement icon serialization for built-in icon types
456 Added GIcon serialization test
458 2008-10-16 Matthias Clasen <mclasen@redhat.com>
460 * === Released 2.19.0 ===
462 2008-10-16 Matthias Clasen <mclasen@redhat.com>
464 Bug 556422 – g_file_enumerator_next_file: unclear whether return
465 value needs to be freed
467 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
468 the return value docs. Pointed out by Armin Burgmeier
470 2008-10-14 Matthias Clasen <mclasen@redhat.com>
472 Bug 556334 – Warning when building without selinux support
474 * glocalfileinfo.c: Avoid compiler warnings when selinux is
475 disabled. Patch by Pascal Terjan
477 2008-10-14 Matthias Clasen <mclasen@redhat.com>
479 Bug 556335 – make check fails in abicheck.sh
481 * gio.symbols: Add g_file_attribute_info_list_get_type.
482 Pointed out by Pascal Terjan.
484 2008-10-13 Alexander Larsson <alexl@redhat.com>
487 When adding an application as handling a mime type (but
488 not as the default), copy the full list of desktop ids handling
489 that type in before adding the new one on the end of the list.
490 This means we're not accidentally changing the default by overriding
491 the info from the later directories in the search path.
493 Also, fixes small leak of removed_entries.
495 2008-10-12 David Zeuthen <davidz@redhat.com>
498 * gunionvolumemonitor.c:
500 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
502 2008-10-10 Alexander Larsson <alexl@redhat.com>
504 * gfileattribute.c (escape_byte_string):
505 Upper half of byte is >> 4, not >> 8.
506 Found by Kjartan Maraas via sparse
508 2008-10-10 Matthias Clasen <mclasen@redhat.com>
510 Bug 555711 – Wrong fallback order of mimetype icons
512 * gcontenttype.c: Don't prefer generic icons over
513 default mimetype icons.
515 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
516 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
518 Patch by Krysztof Kosiński
520 2008-10-10 Matthias Clasen <mclasen@redhat.com>
522 Bug 555121 – Improved build-time handling of gio module-dir
524 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
525 * Makefile.am: Create the module dir.
527 2008-10-10 Matthias Clasen <mclasen@redhat.com>
529 * gio/glocalfileinfo.c:
530 * gio/tests/live-g-file.c:
531 * gio/gsimpleasyncresult.c: Fix gcc warnings.
533 2008-10-09 Alexander Larsson <alexl@redhat.com>
535 * gunixinputstream.c (g_unix_input_stream_read):
536 Actually return -1 in case of cancelled, not old res value.
538 2008-10-06 Colin Walters <walters@verbum.org>
540 Bug 554745 - GFileAttributeInfoList should be boxed
542 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
543 for convenience of bindings.
544 * gio/gfileattribute.h: Prototype it.
546 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
548 Bug 554970 – segfault when update-desktop-database is not available
551 * gdesktopappinfo.c (run_update_command): Have the error set before
554 2008-10-01 David Zeuthen <davidz@redhat.com>
556 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
557 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
558 instead of the gio URI (such as sftp://foo/file.avi) when using
559 g_app_info_launch() and friends. With a sufficiently recent gvfs,
560 apps using gio+gvfs will map the FUSE file:// URI back to the gio
561 URI (and thus bypass the fuse daemon) thanks the patch from bug
562 #530654. Since Nautilus is an user of g_app_info_launch() it
563 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
564 when launced via the file manager. Win. Fixes bug #528670.
566 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
567 mapping to the description of GAppInfo.
569 2008-09-30 Tor Lillqvist <tml@novell.com>
571 * tests/Makefile.am: Build desktop-app-info only on Unix.
573 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
574 g_critical(). Pass a large enough result buffer to
575 GetVolumePathNameW(). Just use MAX_PATH.
577 2008-09-29 David Zeuthen <davidz@redhat.com>
579 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
581 2008-09-26 Dan Winship <danw@gnome.org>
583 * tests/data-input-stream.c:
584 * tests/data-output-stream.c:
585 * tests/live-g-file.c:
586 * tests/memory-input-stream.c:
587 * tests/memory-output-stream.c: Use g_assert_error() and
590 2008-09-26 Matthias Clasen <mclasen@redhat.com>
592 Bug 545350 – GAppInfo deletion
593 Bug 545351 – Reset associations for content type
596 * gappinfo.[hc]: New functions g_app_info_can_delete,
597 g_app_info_delete and g_app_info_reset_type_associations.
600 * gwin32appinfo.c: Implementations of these.
603 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
605 2008-09-26 Dan Winship <danw@gnome.org>
607 Bug 505361 – gunixinputstream.c assumes poll() available
608 Bug 509446 – portable blocking gio cancellation
610 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
611 GPollFD for a cancellable (which is slightly more complicated on
614 * gunixinputstream.c (g_unix_input_stream_read):
615 * gunixoutputstream.c (g_unix_output_stream_write): Use
616 g_cancellable_make_pollfd() and g_poll() rather than using poll()
619 * tests/unix-streams.c: test of GUnixInputStream,
620 GUnixOutputStream, and GCancellable.
622 2008-09-26 Dan Winship <danw@gnome.org>
624 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
625 cast to stop a gcc warning
627 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
630 2008-09-25 Dan Winship <danw@gnome.org>
632 Bug 553426 - cancellable clarifications
634 * gcancellable.c (g_cancellable_class_init): Add a note to the
635 "cancelled" signal docs warning about thread-safety issues
636 (g_cancellable_cancel): Note that cancelling an asynchronous
637 operation takes effect asynchronously, not immediately.
639 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
641 * gioenums.h: Add new GFileCopyFlag, to leave target file with
642 default perms, instead of setting the source file perms, in a copy
645 * gfile.c (g_file_copy_attributes)
646 (build_attribute_list_for_copy)
647 (should_copy): Not copy "unix::mode" attribute if we have received
648 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
650 2008-09-20 Matthias Clasen <mclasen@redhat.com>
652 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
654 2008-09-17 Matthias Clasen <mclasen@redhat.com>
656 * === Released 2.18.1 ===
658 2008-09-16 Michael Natterer <mitch@imendio.com>
660 * gcontenttype.c (g_content_type_guess): can't assign the return
661 value of g_strdupv() to an array. Fill the array manually with
662 const strings instead (it is never freed anyway). Fixes the
663 build. Also fixed indentation.
665 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
667 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
668 Fix trivial typo to unbreak the build (there was a colon
669 instead of a semicolon at the end of a statement).
671 2008-09-15 Matthias Clasen <mclasen@redhat.com>
673 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
676 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
679 2008-09-15 Matthias Clasen <mclasen@redhat.com>
681 Bug 551681 – g_content_type_guess() too naive with filenames
683 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
684 at the end of the filename, and declare it a directory.
685 Patch by Bastien Nocera
687 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
689 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
692 * gdesktopappinfo.c: add a note in the docs clarifying what the
693 "filename" parameter really is.
695 2008-09-12 Tor Lillqvist <tml@novell.com>
697 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
698 FormatMessage() etc here. Call g_win32_error_message() instead
699 which already does all that. Besides, the code was broken as it
700 called the default "A" version of FormatMessage() but still
701 thought it produced a wide string.
703 2008-09-12 Michael Natterer <mitch@imendio.com>
705 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
706 in the documentation.
708 2008-09-08 Christian Neumair <cneumair@gnome.org>
710 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
711 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
712 Use non-blocking pipe for mount helper I/O. Fixes #550647.
714 2008-09-06 Matthias Clasen <mclasen@redhat.com>
716 Bug 551149 – xdgmime mem leak
718 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
719 a memory leak. Patch by Christian Persch
721 2008-09-04 Tor Lillqvist <tml@novell.com>
723 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
726 2008-09-02 Matthias Clasen <mclasen@redhat.com>
728 * === Released 2.18.0 ===
730 2008-09-02 Michael Natterer <mitch@imendio.com>
732 * *.h: big header formatting cleanup: indentation, vtable
733 formatting, consistent spacing in (* vfunc), trailing whitespace
734 removal. Formatting should be pretty consistent in all GIO headers
737 2008-09-02 Matthias Clasen <mclasen@redhat.com>
739 * gmount.h: Document guess_content_type sync vfunc.
741 2008-09-02 Michael Natterer <mitch@imendio.com>
743 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
744 fix parent_class member to be GFilterOutputStreamClass (not
745 GOutputStreamClass). Drop three pointers of padding, which is
746 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
747 so the class struct size stays the same.
749 2008-09-02 Matthias Clasen <mclasen@redhat.com>
751 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
753 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
754 nonexisting return values. Pointed out by Cosimo Cecchi.
756 2008-08-23 Tor Lillqvist <tml@novell.com>
758 Bug 548988 - g_file_replace fails on Windows when the target file
761 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
762 Windows, close the file before potentially renaming it (in case we
763 have been writing to a file with a temporary name).
765 (g_local_file_output_stream_close, handle_overwrite_open): Use
766 GLocalFileStat instead of plain struct stat, for passing to
767 _g_local_file_info_create_etag(). Thus also use _fstati64()
768 instead of plain fstat() on Windows.
770 2008-08-18 Matthias Clasen <mclasen@redhat.com>
772 * === Released 2.17.7 ===
774 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
776 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
779 2008-08-13 Tor Lillqvist <tml@novell.com>
781 * win32/gwinhttpvfs.c
782 * win32/gwinhttpvfs.h
783 * win32/gwinhttpfile.c
784 * win32/gwinhttpfileinputstream.c
785 * win32/gwinhttpfileoutputstream.c: Refactor some common code
786 snippets into helper functions. Check HTTP response status
787 codes. Implement g_winhttp_file_query_info(), looking at
788 Content-Length, Content-Type and Last-Modified.
790 * win32/winhttp.h: Add some symbolic constants that are not
791 publicly documented. Just a handful, so it should be OK to use
792 information from the Windows SDK's headers.
794 2008-08-13 Tor Lillqvist <tml@novell.com>
796 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
799 * win32/gwin32directorymonitor.c
800 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
802 2008-08-13 Matthias Clasen <mclasen@redhat.com>
805 * goutputstream.c: Add intro docs.
807 2008-08-13 Tor Lillqvist <tml@novell.com>
809 * win32/gwinhttpfileoutputstream.c
810 (g_winhttp_file_output_stream_write): Don't write the
811 Content-Length header ourselves, WinHttpSendRequest() takes care
812 of that when the dwTotalLength parameter is non-zero. Increment
813 offset by the number of actual bytes sent, although I wonder if
814 such a scenario is possible where less than requested would be
815 sent and accepted by the server without errors.
817 2008-08-13 Tor Lillqvist <tml@novell.com>
819 * win32/gwinhttpvfs.c
820 * win32/gwinhttpvfs.h
821 * win32/gwinhttpfile.c
822 * win32/gwinhttpfile.h
823 * win32/gwinhttpfileinputstream.c
824 * win32/gwinhttpfileinputstream.h
825 * win32/gwinhttpfileoutputstream.c
826 * win32/gwinhttpfileoutputstream.h: New files implementing
827 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
828 Windows. The implementation uses the WinHttp API. Both reading and
829 writing are supported, i.e. GET and PUT requests. When writing,
830 each write call is done using a separate PUT request with a
831 Content-Range header. Requests for file URIs and plain pathnames
832 are forwarded to GLocalVfs.
834 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
835 WINE. Used as there is no <winhttp.h> bundled with mingw, and
836 requiring people to download the Windows SDK just for this one
837 header is not reasonable.
839 * win32/Makefile.am: Add above files.
841 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
842 the plumbing for the above.
844 2008-08-11 Sven Neumann <sven@gimp.org>
846 * gfilenamecompleter.c
847 * glocaldirectorymonitor.c
849 * gunionvolumemonitor.c
853 * gunixvolumemonitor.c
856 * gwin32volumemonitor.c: use canonical signal names.
858 2008-08-11 Tor Lillqvist <tml@novell.com>
860 * Makefile.am: Put a list of the platform-dependent .la files in
861 the subdirectories in the platform_deps Make variable, and make
862 libgio-2.0.la depend on that, so that it gets relinked if one of
863 the dependent libraries has changed.
865 2008-08-11 Tor Lillqvist <tml@novell.com>
867 * Makefile.am (platform_libadd): Remove -lwininet which had been
868 added by mistake. We will probably eventually be using WinHTTP,
869 not the older WinInet anyway. (Actually I am working on it.)
871 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
873 Bug 547080 – g_file_copy leaks expected errors
875 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
876 before trying the next fallback routine.
878 2008-08-09 Loïc Minier <lool@dooz.org>
880 Bug 535124 – umask 002 not being applied for new directories, new
881 files get the correct umask
883 * gfile.c (g_file_make_directory)
884 (g_file_make_directory_with_parents): Document ownership and
885 permissions of newly created directories as being the default
888 2008-08-08 Loïc Minier <lool@dooz.org>
890 Bug 535124 – umask 002 not being applied for new directories, new
891 files get the correct umask
893 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
896 2008-08-08 Tor Lillqvist <tml@novell.com>
898 * gwin32mount.c: Remove unused code. Whitespace cleanup.
900 * gwin32volumemonitor.c (get_connected_drives): Put questionable
901 code that didn't actually do anything inside #if 0, and add a
902 comment wondering what the code was supposed to do. This also gets
903 rid of a leftover debugging printout.
905 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
907 * gfileicon.c (g_file_icon_get_property)
908 (g_file_icon_set_property): New functions.
909 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
911 (g_file_icon_new): Use the property (bug #546132).
913 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
915 * gthemedicon.c (g_themed_icon_get_property): Also handle
916 `PROP_USE_DEFAULT_FALLBACKS'.
917 (g_themed_icon_class_init): Make
918 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
920 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
922 Bug 546371 – Improve docs re g_file_monitor
924 * gfilemonitor.c: Mention g_file_monitor() in the docs.
926 2008-08-04 Matthias Clasen <mclasen@redhat.com>
928 * === Released 2.17.6 ===
930 2008-08-04 Matthias Clasen <mclasen@redhat.com>
932 * === Released 2.17.5 ===
934 2008-08-04 Matthias Clasen <mclasen@redhat.com>
936 Bug 546017 – Don't copy attributes when copying a symlink
938 * gfile.c (g_file_copy_attributes): Specify
939 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
940 g_file_set_attributes_from_info. Patch by Christian Kellner
942 2008-08-04 Matthias Clasen <mclasen@redhat.com>
944 * gemblemedicon.[hc]:
946 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
947 a bit more extensible. Work by Clemens Buss.
949 * gioenums.h: Add GEmblemOrigin.
952 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
954 Bug 546079 – leak in xdgmime
956 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
958 2008-08-03 Tor Lillqvist <tml@novell.com>
960 * win32/gwin32directorymonitor.h
961 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
964 2008-08-03 Tor Lillqvist <tml@novell.com>
966 * win32/gwin32directorymonitor.c
967 (g_win32_directory_monitor_callback): Make prototype match
968 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
969 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
972 (g_win32_directory_monitor_constructor):
973 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
974 names in the GLib API on Windows, so convert to UTF-16 and open
977 2008-08-03 Tor Lillqvist <tml@novell.com>
979 Bug 541036 - Gnumeric crashes when trying to open Desktop or
980 user's folder under Windows
982 * win32/gwin32directorymonitor.c
983 (g_win32_directory_monitor_constructor): Ignore error from
984 CreateFile() when opening directory. Instead of asserting, just
985 store INVALID_HANDLE_VALUE then in
986 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
987 ReadDirectoryChangesW().
988 (g_win32_directory_monitor_cancel): Don't attempt to close
989 directory handle if it is INVALID_HANDLE_VALUE.
991 2008-08-01 Matthias Clasen <mclasen@redhat.com>
993 * gdesktopappinfo.c: Remove debug spew
995 2008-08-01 Hans Breuer <hans@breuer.org>
997 * makefile.msc : add gemblembedicon
999 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1001 Bug 545457 – gdmsetup crashed with SIGSEGV in
1002 g_unix_mount_guess_should_display()
1004 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1005 crash if no mount is found.
1007 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1009 Bug 545203 – gfile.c: argument is different type.
1011 * gfile.c (open_read_async_thread): Pass a GError **
1012 to g_file_set_error_literal.
1013 Reported by Kazuki Iwamoto
1015 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1017 Bug 545157 – wrong/no list of "open with" applications for .cc and
1020 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1021 Collect all ancestors, not just direct parents. Pointed
1022 out by Bastien Nocera
1024 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1026 * Makefile.am: Install gemblemedicon.h
1028 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1030 * gemblemedicon.[hc]: Add a GIcon implementation that can
1031 add an emblem to another icon.
1038 * gfileicon.c: Small documentation additions.
1040 2008-07-28 Tor Lillqvist <tml@novell.com>
1042 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1045 2008-07-27 Tor Lillqvist <tml@novell.com>
1047 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1049 2008-07-24 David Zeuthen <davidz@redhat.com>
1053 Also export a g_mount_guess_content_type_sync() function.
1055 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1057 529694 – SELinux context setting support
1059 * gfileinfo.c: Support setting selinux attributes.
1060 Patch by Tomas Bzatek
1062 2008-07-22 Priit Laes <plaes@plaes.org>
1064 Bug 544140 - fam-helper 64-bit issue?
1066 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1068 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1070 * === Released 2.17.4 ===
1072 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1074 * gvolumemonitor.[hc]:
1075 * gmountoperation.c:
1079 * gmount.c: Documentation fixes
1081 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1083 543504 – crash in Epiphany Web Browser: Opening local file
1087 * gdesktopappinfo.c:
1094 * gvolume.c: Register types thread-safely.
1095 Patch by Christian Persch
1097 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1099 * gcontenttype.c: Remove debug spew
1101 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1103 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1106 * fen/fen-kernel.c: Remove a warning that was causing
1107 crashes. Reported by Lin Ma.
1109 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1111 Bug 543040 – async reading on dummy file will crash on
1114 * gfile.c (open_read_async_thread): Cope with read_fn being
1115 NULL. Reported by Lin Ma.
1117 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1120 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1122 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1125 * gdesktopappinfo.h:
1126 * giomodule.c: Rename a chapter id to avoid filename conflict.
1128 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1130 Bug 540616 – mem leak in filechooser button
1132 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1133 the mount entry. Reported by Chrisitan Persch
1135 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1137 * gfile.c: Small documentation fixes.
1139 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1141 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1143 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1148 * gmount.c: Documentation improvements.
1150 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1153 * gmount.[hc]: Add g_mount_guess_content_type().
1155 2008-07-06 David Zeuthen <davidz@redhat.com>
1158 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1159 is needed for easily handling adoption of foreign volumes by
1160 out-of-process volume monitors (#541793)
1162 2008-07-06 David Zeuthen <davidz@redhat.com>
1164 * gvolumemonitor.[ch]:
1165 * gunionvolumemonitor.c: Export the eject-button signal on the
1166 volume monitor class (#541794).
1168 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1170 * gappinfo.c: More doc tweaks
1172 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1174 * gappinfo.c: Clarify some docs
1176 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1178 * gdesktopappinfo.c: Fix a stupid mistake.
1180 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1182 * === Released 2.17.3 ===
1184 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1186 * gfilemonitor.c: Fix the build.
1188 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1190 Bug 536160 – Add g_file_monitor()
1193 * gfile.[hc]: Add g_file_monitor which can return either
1194 a file or a directory monitor. Proposed by Behdad Esfahbod
1196 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1198 536733 – gio build failure on Irix
1200 * glocalfile.c: Use a configure check for structfs.f_bavail.
1202 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1204 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1207 * gdesktopappinfo.[hc]: Add a function to create a
1208 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1210 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1212 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1214 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1216 * gunixmounts.c: Fix a doc typo.
1218 2008-07-01 Cody Russell <bratsche@gnome.org>
1220 * gio/gcontenttype.c:
1221 * gio/gwin32appinfo.c:
1222 * gio/gwin32volumemonitor.c:
1223 * gio/gwin32mount.c: Fixed some include problems.
1225 2008-07-01 Cody Russell <bratsche@gnome.org>
1229 Moved all relevant typedefs into these files.
1232 Updated wrt added files.
1234 Split types into separate file for easier maintainership. (#538564)
1236 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1238 Bug 540331 – g_file_append_to () documentation: can return NULL
1240 * gfile.c (g_file_append_to): Clarify docs.
1241 Patch by Jared Moore
1243 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1245 Bug 539090 – g_content_type_from_mime_type() should unalias
1247 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1248 Patch by Markus Bergman
1250 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1252 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1253 g_atomic_pointer_get
1255 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1256 on ppc and alpha. Reported by Mart Raudsepp
1258 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1260 * tests/Makefile.am:
1261 * tests/memory-output-stream.c: Add some tests for
1262 GMemoryOutputStream.
1264 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1266 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1269 * gmemoryoutputstream.c (array_resize): Handle truncation to
1270 zero correctly. Reported by Akira Tagoh
1272 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1274 * gmemoryoutputstream.c: Trivial doc fixes
1276 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1278 Bug 540802 – g_list_prepend doesn't concat lists
1280 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1281 one list to another. Pointed out by Jan Arne Petersen
1283 2008-06-28 Michael Natterer <mitch@imendio.com>
1285 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1287 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1289 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1290 to avoid problems with partial icon themes.
1292 2008-06-17 Hans Breuer <hans@breuer.org>
1294 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1295 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1296 access again on win32, see bug #538127
1297 * giomodule.c : ensure GWin32VolumeMonitor is registered
1298 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1299 * Makefile.am makefile.msc : updated
1301 2008-06-16 Hans Breuer <hans@breuer.org>
1303 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1304 and initialization in one step avoids c99ism
1306 2008-06-16 Christian Persch <chpe@gnome.org>
1309 * gio/gbufferedinputstream.c
1310 * gio/gcancellable.c
1311 * gio/gdatainputstream.c
1312 * gio/gdesktopappinfo.c
1314 * gio/gfileenumerator.c
1315 * gio/gfileinputstream.c
1316 * gio/gfileoutputstream.c
1317 * gio/ginputstream.c
1318 * gio/glocaldirectorymonitor.c
1320 * gio/glocalfileenumerator.c
1321 * gio/glocalfileinfo.c
1322 * gio/glocalfilemonitor.c
1323 * gio/glocalfileoutputstream.c
1324 * gio/gmemoryinputstream.c
1325 * gio/gmemoryoutputstream.c
1326 * gio/goutputstream.c
1327 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1330 2008-06-16 Tor Lillqvist <tml@novell.com>
1332 Bug 538362 - Get Win32 icons back in the file chooser
1334 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1335 corresponding to a file extension in the Registry. Patch by Hans
1337 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1339 2008-06-16 Tor Lillqvist <tml@novell.com>
1341 Patches by Hans Breuer:
1343 * glocalfile.c (is_xp_or_later): Handle compiling against older
1344 SDK headers with missing VerifyVersionInfo(). Conditioned on
1345 _MSC_VER, but should probably use some better test.
1346 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1347 uninitialised statfs_result variable on Win32.
1349 2008-06-16 Michael Natterer <mitch@imendio.com>
1351 * *.c: chain up unconditionally in finalize() and dispose(). Also
1352 don't dereference these function pointers when calling them since
1353 that has no meaning at all.
1355 2008-06-16 Ross Burton <ross@burtonini.com>
1357 * gfileenumerator.c:
1358 Remove check for dispose implementation as it annoys Emmanuele.
1360 2008-06-16 Ross Burton <ross@burtonini.com>
1362 Bug 536252 – GFileEnumerator should allow access to the containing
1365 * gfileenumerator.c:
1366 * gfileenumerator.h:
1368 Add g_file_enumerator_get_container() and a container writeable
1369 construct-only property. Also shuffle around typedefs to make it
1372 * glocalfileenumerator.c:
1373 * glocalfileenumerator.h:
1375 Instead of a string filename take a GFile in the constructor and
1376 use it to set the container property.
1379 Update with new API.
1381 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1383 * gfile.c: Make includes more uniform
1385 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1387 * tests/live-g-file.c (sample_struct):
1388 Use less fancy unicode filenames, so the test doesn't fail
1389 on Mac OS X (#531476).
1391 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1393 * === Released 2.17.2 ===
1395 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1397 * === Released 2.17.1 ===
1399 2008-06-11 A. Walton <awalton@gnome.org>
1401 * tests/g-file.c (test_g_file_new_null):
1402 Fix broken test case.
1404 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1406 * pltcheck.sh: We use g_clear_error now.
1408 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1410 * glocalfile.c (g_local_file_enumerate_children): Revert
1411 an unintended change.
1413 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1415 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1417 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1419 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1422 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1423 as icon for the desktop directory, also make user-home and
1424 user-desktop the preferred icons.
1426 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1429 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1430 to add a name to the front of the list.
1432 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1434 Bug 537392 – Additional colon in xattr name
1436 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1437 too. Reported by Alessandro Morandi
1439 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1441 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1444 * glocalfile.c (get_fs_type): Add afs and autofs.
1445 Patch by Danny Baumann.
1447 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1449 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1451 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1452 is no parent. (Owen Taylor, patch by Christian Neumair)
1454 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1456 * gfile.c (g_file_replace_contents): do not leak the output stream.
1458 2008-06-10 Michael Natterer <mitch@imendio.com>
1460 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1461 uninitialized memory as array index.
1463 2008-06-10 Tor Lillqvist <tml@novell.com>
1465 * gcontenttype.c (g_content_type_can_be_executable)
1466 (g_content_type_get_icon) [Win32]: Add TODO comments.
1468 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1470 * xdgmime/Makefile.am: Fix the build
1472 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1474 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1475 in the shared mime database, if available.
1477 * xdgmime/*: Sync with upstream. This brings support for
1478 glob weights, generic icons, and changes the cache format to
1481 2008-05-28 Michael Natterer <mitch@imendio.com>
1483 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1484 the global CPPFLAGS now.
1486 * tests/data-input-stream.c
1487 * tests/data-output-stream.c
1488 * tests/g-file-info.c
1490 * tests/live-g-file.c
1491 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1493 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1495 * === Released 2.17.0 ===
1497 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1498 doesn't complain about leftover files.
1500 2008-05-27 simon.zheng <simon.zheng@sun.com>
1502 * glocalfile.c: (g_local_file_query_filesystem_info):
1503 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1505 2008-05-26 Michael Natterer <mitch@imendio.com>
1507 * gmemoryoutputstream.h: declare
1508 g_memory_output_stream_get_data_size().
1510 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1512 * tests/*: Make tests work
1514 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1516 * gio.symbols: Add g_memory_output_stream_get_data_size.
1518 2008-05-25 Ross Burton <ross@burtonini.com>
1521 Fix typo in error message (#534764).
1523 2008-05-25 Ross Burton <ross@burtonini.com>
1526 Fix circular dependency loop for gioenumtypes.h (#534759).
1528 2008-05-19 Hans Breuer <hans@breuer.org>
1530 * Makefile.am : EXTRA_DIST += makefile.msc
1532 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1535 * gcontenttype.c: (g_content_type_from_mime_type):
1536 New function to create a content type from a mime type. (#527175,
1539 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1541 Bug 532965 – Should not return filesystem::free for certain file systems
1543 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1544 free space for ncpfs.
1546 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1548 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1550 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1551 st_dev might be zero.
1553 2008-05-16 Tor Lillqvist <tml@novell.com>
1555 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1556 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1558 2008-05-13 Bastien Nocera <hadess@hadess.net>
1560 * gfile.c (has_valid_scheme): A URI scheme must start with a
1561 letter, even if later more characters are allowed (#532852)
1563 2008-05-05 Michael Natterer <mitch@imendio.com>
1565 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1566 code from being checked in that breaks the build of applications
1567 which use G_DISABLE_SINGLE_INCLUDES.
1569 * makegioalias.pl: make the alias file include "glib.h" instead of
1572 * gio.symbols: whitespace change to force regeneration of the
1573 alias file after above script change.
1575 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1577 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1579 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1581 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1583 2008-04-28 David Zeuthen <davidz@redhat.com>
1585 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1586 displaying mounts in a subdirectory not accessible to the
1589 2008-04-22 Michael Natterer <mitch@imendio.com>
1591 * Makefile.am: fix library versioning (it was 0.0.0).
1593 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1595 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1596 Default disable all loggings.
1597 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1598 (port_fetch_event_cb): Fixed two macro nits.
1600 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1602 * xdgmime/xdgmime.c: Rework the timestamp checking code
1603 to protect against duplicate directories in XDG_DATA_DIRS.
1604 Fixes fd.o bug 12513, reported by Joe Shaw.
1606 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1608 Partically revert the last commit after realizing that
1609 xdg_mime_media_type_equal doesn't have to init at all.
1611 * xdgmime/xdgmime.h:
1612 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1614 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1616 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1618 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1619 reported by Joe Shaw and Federico Mena Quintero.
1621 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1622 (xdg_mime_media_type_equal): Turn into a wrapper around the
1625 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1626 functions throughout.
1628 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1630 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1631 tolerate an empty TryExec= line without failing; nautilus used
1632 to create launchers with these in previous versions. Fixes #528433
1634 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1636 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1637 after name. Fixes #527132.
1639 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1641 * gfile.c: (g_file_replace):
1644 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1646 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1648 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1649 by Christian Kellner.
1651 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1653 * gunixmounts.c: (g_unix_mount_guess_should_display):
1654 Don't list the user directory as a mount, fix potential issue
1655 when other users have a similar naming and don't special case the
1656 gvfs mounts there since that's not required (#525866)
1658 2008-03-31 Alexander Larsson <alexl@redhat.com>
1660 * glocalfile.c (get_parent):
1663 2008-03-31 A. Walton <awalton@svn.gnome.org>
1665 * gfile.c (g_file_query_file_type):
1666 Always return a GFileType enum value (#520715).
1668 2008-03-31 Alexander Larsson <alexl@redhat.com>
1670 * glocalfileenumerator.c:
1671 Read readdir() info in chunks (of 1000) and sort
1672 the chunks by inode before stat:ing.
1673 This is a 20% performance increase in testing
1674 gvfs-ls on /usr/bin with cold cache.
1676 2008-03-31 Alexander Larsson <alexl@redhat.com>
1678 * gmemoryoutputstream.c:
1679 Clarify docs for g_memory_output_stream_get_size.
1680 Add g_memory_output_stream_get_data_size.
1682 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1686 * gfile.h: Add g_file_query_file_type convenience function
1687 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1689 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1691 * gfileenumerator.c:
1692 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1694 2008-03-28 A. Walton <awalton@svn.gnome.org>
1696 * giomodule.c (_g_io_modules_ensure_loaded):
1697 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1700 2008-03-28 Alexander Larsson <alexl@redhat.com>
1703 (copy_stream_with_progress):
1706 2008-03-28 Alexander Larsson <alexl@redhat.com>
1709 (copy_stream_with_progress):
1710 (file_copy_fallback):
1711 Fallback to g_file_query_info for source size
1712 if g_file_input_stream_query_info fails. (#524579)
1714 2008-03-28 Alexander Larsson <alexl@redhat.com>
1716 * glocalfile.c (g_local_file_move):
1717 Reuse old string instead of adding new one.
1719 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1721 * fen/*.[hc]: still copyright issue. I hate copyright.
1723 2008-03-27 Alexander Larsson <alexl@redhat.com>
1725 * glocalfile.c (g_local_file_move):
1726 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1727 file over directory. This is according to the docs and what the move via
1728 copy+remove fallback does.
1730 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1732 * fen/*.[hc]: Updated copyright.
1734 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1736 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1738 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1740 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1741 not emit attribute changed events when optimizing changed events.
1742 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1745 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1747 * gmountoperation.[hc]: Small documentation additions
1749 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1751 * gunixmounts.c: (guess_mount_type):
1752 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1754 2008-03-19 Alexander Larsson <alexl@redhat.com>
1757 (copy_stream_with_progress):
1758 Bump block side for copy to 64k to minimize
1759 overhead for low latency links. (#523015)
1761 2008-03-16 Tor Lillqvist <tml@novell.com>
1763 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1764 depend on gio.def on Windows.
1766 2008-03-12 David Zeuthen <davidz@redhat.com>
1770 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1772 2008-03-14 Alexander Larsson <alexl@redhat.com>
1776 Avoid redudant tests (#521851)
1777 Patch from Josselin Mouette
1779 2008-03-14 Alexander Larsson <alexl@redhat.com>
1782 (g_file_monitor_is_cancelled):
1783 Fix C89 issue (#521672)
1784 Patch from Jens Granseuer
1786 2008-03-14 Alexander Larsson <alexl@redhat.com>
1788 * fam/fam-helper.[ch]:
1790 Shut down fam (including removing fam GSource) when
1791 module is unloaded (#521513)
1792 Patch from Joe Marcus Clarke
1794 2008-03-14 Alexander Larsson <alexl@redhat.com>
1797 (_g_io_modules_ensure_loaded):
1800 2008-03-14 Alexander Larsson <alexl@redhat.com>
1803 (g_local_file_query_filesystem_info):
1804 Use right define name for f_fstypename member check
1806 2008-03-14 Alexander Larsson <alexl@redhat.com>
1809 * fen/Makefile.am: Added.
1810 * fen/fen-data.[ch]: Added.
1811 * fen/fen-dump.[ch]: Added.
1812 * fen/fen-helper.[ch]: Added.
1813 * fen/fen-kernel.[ch]: Added.
1814 * fen/fen-missing.[ch]: Added.
1815 * fen/fen-node.[ch]: Added.
1816 * fen/fen-sub.[ch]: Added.
1817 * fen/gfendirectorymonitor.[ch]: Added.
1818 * fen/gfenfilemonitor.[ch]: Added.
1820 Added Solaris FEN file notification backend.
1821 Patch from Lin Ma <Lin.Ma@Sun.COM>
1823 2008-03-13 Tor Lillqvist <tml@novell.com>
1825 * Makefile.am: Actually use the gio.def file when linking the
1826 library on Windows. Produce .lib library for Microsoft's toolchain
1827 when possible. Install the .lib and .def file like for the other
1830 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1832 * tests/live-g-file.c:
1833 Include live-g-file in standard set of tests, making a temporary
1834 directory in source structure.
1836 Clean target directory before the tests (write mode only)
1838 2008-03-12 Tor Lillqvist <tml@novell.com>
1840 Bug 517419 - gio win32 directory monitor
1841 Implementation by Vlad Grecescu.
1844 * win32/gwin32directorymonitor.h
1845 * win32/gwin32directorymonitor.c: New files.
1847 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1849 * Makefile.am: Add the win32 subdirectory.
1851 2008-03-12 Tor Lillqvist <tml@novell.com>
1853 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1854 normal struct stat on Unix but struct _stati64 on Windows to have
1855 access to 64-bit file size information. Use that instead of struct
1856 stat in the functions declared here in this private header.
1858 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1859 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1860 warnings about unused functions and variables. Don't set
1861 meaningless attributes like inode numbers on Windows.
1863 2008-03-12 Benjamin Otte <otte@gnome.org>
1866 trim whitespace so gtk-doc groks the function name
1868 2008-03-12 Tor Lillqvist <tml@novell.com>
1870 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1871 returning FALSE, on Win32.
1873 2008-03-11 Alexander Larsson <alexl@redhat.com>
1876 * glocalfileinfo.[ch]:
1877 Correctly implement can_trash by actually
1878 looking for a trash dir, not just assuming
1881 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1883 * === Released 2.16.1 ===
1885 2008-03-11 Alexander Larsson <alexl@redhat.com>
1888 Fix crashes in new constructor and properties code
1890 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1892 * gfile.c: Minor spelling correction in documentation:
1893 existance -> existence.
1895 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1897 * === Released 2.16.0 ===
1899 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1901 * gio.symbols: Remove g_file_contains_file here, too.
1903 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1905 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1906 Samuel Cormier-Iijima)
1908 2008-03-08 Tor Lillqvist <tml@novell.com>
1910 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1913 2008-03-07 Alexander Larsson <alexl@redhat.com>
1916 (g_local_file_query_filesystem_info):
1917 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1918 Patch from Jasper Lievisse Adriaanse
1920 2008-03-06 Tor Lillqvist <tml@novell.com>
1922 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1923 comments for the *_USEC attributes.
1925 2008-03-06 Alexander Larsson <alexl@redhat.com>
1927 * gfile.c (g_file_query_exists):
1928 Add g_return_val_if_fail check (#520700)
1930 2008-03-06 Alexander Larsson <alexl@redhat.com>
1932 * gdesktopappinfo.c:
1935 * gunionvolumemonitor.c:
1938 * tests/live-g-file.c:
1939 * xdgmime/xdgmimecache.c:
1940 Fix sparse warnings (#519489)
1942 2008-03-05 Alexander Larsson <alexl@redhat.com>
1945 Make cancellation threadsafe (i.e.
1946 guarantee its only done once, and always
1949 * glocaldirectorymonitor.c:
1950 Make sure we the monitor lives while the
1951 mounts_changed callback is being called (#520484)
1953 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1955 * gbufferedinputstream.c: Fix typo in parameter
1958 2008-03-04 Alexander Larsson <alexl@redhat.com>
1961 Remove deprecated symbols we kept for one release.
1963 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1966 * goutputstream.c: Tiny documentation corrections.
1968 2008-03-03 Alexander Larsson <alexl@redhat.com>
1970 * gunionvolumemonitor.c:
1972 Fix the adopt_orphan_mount vfunc to take a
1973 volume_monitor reference in an ABI compat way.
1974 This change is not API compat, but the added
1975 arg is not used in the only user of this vfunc, so
1976 all we get is a harmless warning in gvfs (#520169)
1978 2008-03-01 Benjamin Otte <otte@gnome.org>
1981 clarify docs for g_file_delete().
1983 2008-02-29 Alexander Larsson <alexl@redhat.com>
1987 Make sure empty files get text/plain type (#518720)
1989 2008-02-27 Alexander Larsson <alexl@redhat.com>
1995 (g_unix_volume_mount):
1996 Add missing GMountMountFlags argument
1998 2008-02-26 Alexander Larsson <alexl@redhat.com>
2001 (g_local_file_delete):
2002 Handle filesystems (like ntfs-3g) that return EEXIST instead
2003 of ENOTEMPTY (#518816)
2005 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2007 * === Released 2.15.6 ===
2009 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2011 * gfile.c (g_file_find_enclosing_mount):
2012 * ginputstream.c (g_input_stream_set_pending):
2013 * glocalfile.c (g_local_file_find_enclosing_mount):
2014 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2015 * goutputstream.c (g_output_stream_set_pending):
2017 Fixup translator comments (#518578).
2019 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2021 * gfile.c (g_file_find_enclosing_mount):
2023 * glocalfile.c (g_local_file_find_enclosing_mount):
2026 Fix a few typos in translator comments and documentation.
2028 2008-02-25 Alexander Larsson <alexl@redhat.com>
2035 Add translator comments (#518578)
2037 2008-02-25 Alexander Larsson <alexl@redhat.com>
2040 Reintroduce g_file_contains_file, keep around for one
2041 unstable release cycle to avoid crashing to many apps.
2042 Make sure to delete after release.
2044 2008-02-25 Alexander Larsson <alexl@redhat.com>
2047 Remove deprecated g_file_contains_file.
2049 2008-02-25 Alexander Larsson <alexl@redhat.com>
2052 Emit actual change signals in an idle handler.
2053 This avoids reentrance and locking problems in
2054 the file notification backends.
2056 2008-02-25 Alexander Larsson <alexl@redhat.com>
2059 (g_unix_mount_guess_should_display):
2060 Remove type guessing, instead just display
2061 mounts in /media and in ~/.
2063 2008-02-25 Alexander Larsson <alexl@redhat.com>
2066 Make new strings reuse old ones.
2068 2008-02-25 Alexander Larsson <alexl@redhat.com>
2071 Implement trashing and filesystem::readonly for win32 (#517235)
2072 Patch from Yevgen Muntyan
2074 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2076 * gfileinfo.h: Documentation fixes.
2078 2008-02-22 Alexander Larsson <alexl@redhat.com>
2080 * gcontenttype.c (g_content_type_get_icon):
2081 Look at old-style gnome mime icon names too, as many
2082 have not moved to the new style.
2084 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2086 * *.c: Correct the @include in for section docs.
2088 2008-02-21 David Zeuthen <davidz@redhat.com>
2090 * glocalfileinfo.c: (_g_local_file_info_get):
2092 (g_content_type_get_icon): Implement this function by
2093 moving bits from glocalfileinfo.c
2094 (g_content_type_get_description): Unalias before getting
2095 description (#517687)
2097 * gfile.c: (g_file_class_init),
2098 (g_file_query_filesystem_info_async),
2099 (g_file_query_filesystem_info_finish),
2100 (query_filesystem_info_data_free),
2101 (query_filesystem_info_async_thread),
2102 (g_file_real_query_filesystem_info_async),
2103 (g_file_real_query_filesystem_info_finish):
2104 * gfile.h: Implement async version of
2105 g_file_query_filesystem_info()
2107 * gfileinfo.h: Add new attributes for filesystem::use-preview
2109 * gio.symbols: Update
2111 * gthemedicon.c: (g_themed_icon_append_name):
2112 * gthemedicon.h: Add new new convenience function.
2114 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2115 (get_mounts), (get_volumes), (get_connected_drives),
2116 (get_volume_for_uuid), (get_mount_for_uuid),
2117 (g_union_volume_monitor_init), (populate_union_monitor),
2118 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2119 (g_volume_monitor_adopt_orphan_mount):
2121 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2122 monitor implementations to call into the main volume monitor. Also
2123 separate object initialization and volume monitor initialization
2124 such that non-native volume monitors can properly adopt their
2127 2008-02-21 Alexander Larsson <alexl@redhat.com>
2132 2008-02-21 Alexander Larsson <alexl@redhat.com>
2135 Add more documentation about how GFiles work (from #517086)
2137 2008-02-21 Alexander Larsson <alexl@redhat.com>
2141 Add new g_file_has_prefix that does the same as g_file_contains_file.
2142 Deprecate g_file_contains_file and add a macro that converts
2143 it to g_file_has_prefix.
2144 The reason for this change is that the contains_file() name seems to
2145 imply that this does more work than what it does, but its really only
2146 a name match (from #517086)
2151 Update to match the above change.
2153 2008-02-20 Benjamin Otte <otte@gnome.org>
2155 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2156 (g_file_eject_mountable):
2157 even more cases of not returning in error path
2159 2008-02-20 Benjamin Otte <otte@gnome.org>
2161 * gfile.c: (g_file_mount_mountable):
2162 return from function in error path.
2164 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2167 Remove trailing coma in GMountMountFlags struct
2169 2008-02-18 Alexander Larsson <alexl@redhat.com>
2173 * glocalfileoutputstream.c:
2174 Use g_unlink/g_rename instead of unlink/rename;
2175 do not pass raw filenames to g_set_error. (#517239)
2176 Patch from Yevgen Muntyan.
2178 2008-02-18 Alexander Larsson <alexl@redhat.com>
2181 * glocalfileoutputstream.c:
2182 Open files with O_BINARY on windows. (#517140)
2184 2008-02-14 Alexander Larsson <alexl@redhat.com>
2186 * glocalfileoutputstream.c:
2187 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2189 2008-02-14 Alexander Larsson <alexl@redhat.com>
2192 Copy permissions with file on copy (#514084)
2193 This is what cp does and makes sure e.g. the
2194 exec permissions are kept.
2195 Its kinda weird in that it keeps the permission bits
2196 the same while the uid and gid are different. However
2197 the new uid is the user so its not a security issue,
2198 and I've heard no complaints about cp on this issue.
2200 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2202 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2204 2008-02-13 Alexander Larsson <alexl@redhat.com>
2206 * inotify/inotify-path.c:
2207 Define IN_ONLYDIR if not in header (#515346)
2209 2008-02-12 Alexander Larsson <alexl@redhat.com>
2211 * tests/live-g-file.c:
2214 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2216 * === Released 2.15.5 ===
2218 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2220 * gio.symbols: Add g_mount_mount_flags_get_type.
2222 2008-02-11 Alexander Larsson <alexl@redhat.com>
2225 (g_file_info_set_attribute_mask):
2226 (g_file_attribute_matcher_matches_id):
2227 Correctly handle NULL GAttributeMatcher meaning
2228 matches nothing. (Fixes #513492)
2230 2008-02-11 Alexander Larsson <alexl@redhat.com>
2235 Added GMountMountFlags enum and added a flags
2236 argument to all mount calls.
2238 This is an API/ABI change for future extensibility,
2239 as I think we will need at least an
2240 inhibit-autorun flag (the panel needs this).
2241 There are no flags defined yet though.
2243 2008-02-11 Alexander Larsson <alexl@redhat.com>
2246 Added new standard::description attribute.
2247 Requested by Vincent, and useful for both
2250 2008-02-11 Alexander Larsson <alexl@redhat.com>
2252 * gdesktopappinfo.c:
2255 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2257 * *.c: Documentation additions
2259 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2261 * gappinfo.h: Formatting cleanup
2262 * gappinfo.c: Fix up docs.
2264 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2266 * gunixmounts.c: Consistently use getmntent_r() and fall
2267 back to getmntent(). (#515492)
2269 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2271 * gbufferedinputstream.c:
2273 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2275 * tests/data-input-stream.c:
2276 * tests/data-output-stream.c: Portability fixes.
2278 2008-02-08 Alexander Larsson <alexl@redhat.com>
2283 Add g_volume_should_automount.
2286 2008-02-07 Tor Lillqvist <tml@novell.com>
2288 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2289 Win32, too Unix-specific.
2291 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2293 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2294 a local plt if the compiler doesn't support what we want. Bug #514702
2296 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2298 reviewed by: <delete if not using a buddy>
2301 * gunixinputstream.c:
2302 * gunixoutputstream.c:
2304 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2306 * tests/Makefile.am:
2307 * tests/live-g-file.c:
2308 * tests/live-g-file.txt:
2309 New GIO testing module working over real data
2311 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2313 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2314 Fallback to rename() if link() is not available
2315 (when no support on target filesystem)
2317 2008-02-06 Michael Natterer <mitch@imendio.com>
2319 * gfileinfo.c (g_file_info_get_icon): replace
2320 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2322 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2324 * gfile.c (g_file_create):
2325 Documentation update of error codes
2327 2008-02-06 Alexander Larsson <alexl@redhat.com>
2329 * gdesktopappinfo.c:
2330 Update to use both mimeapps.list and
2331 defaults.list as discussed on xdg list.
2333 2008-02-06 Benjamin Otte <otte@gnome.org>
2336 * gfilenamecompleter.c:
2337 Fix some typos in the documentation.
2339 2008-02-06 Alexander Larsson <alexl@redhat.com>
2341 * glocalfile.c (g_local_file_trash):
2342 Don't succeed with trash if newly created
2343 trash dir has the wrong owner. (#514696)
2345 2008-02-05 Alexander Larsson <alexl@redhat.com>
2347 * glocalfile.c (g_local_file_move):
2348 Don't spew warnings when destination is not
2351 2008-02-03 Hans Breuer <hans@breuer.org>
2353 * makefile.msc : update
2355 2008-02-01 Michael Natterer <mitch@imendio.com>
2357 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2358 return value of xdg_mime_list_mime_parents() to a variable of the
2361 2008-02-01 Alexander Larsson <alexl@redhat.com>
2363 * gappinfo.c (g_app_info_launch_uris):
2364 Actually call the launch_uris method, not
2367 2008-02-01 Alexander Larsson <alexl@redhat.com>
2369 * gdesktopappinfo.c (g_desktop_app_info_equal):
2370 Ensure appinfos with no id but same pointer value
2373 2008-02-01 Alexander Larsson <alexl@redhat.com>
2375 * gappinfo.c (g_app_info_launch_default_for_uri):
2378 2008-02-01 Alexander Larsson <alexl@redhat.com>
2382 Add g_app_info_launch_default_for_uri utility
2385 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2387 * gdesktopappinfo.c:
2388 Doc fix for g_app_info_get_default_for_uri_scheme ()
2391 2008-01-30 Alexander Larsson <alexl@redhat.com>
2394 Add doc comment about uris vs GFiles to
2397 * gdesktopappinfo.c:
2398 Ensure uris passed to g_app_info_launch_uris()
2399 are not roundtriped through GFile (as that
2400 may be slightly destructive for e.g. mailto: links)
2402 2008-01-30 Alexander Larsson <alexl@redhat.com>
2404 * tests/data-input-stream.c:
2405 * tests/data-output-stream.c:
2406 C89 fixes from Jens Granseuer (#512849)
2408 2008-01-30 Alexander Larsson <alexl@redhat.com>
2411 Fix gamin/fam difference build issue. (#509419)
2413 2008-01-29 Alexander Larsson <alexl@redhat.com>
2416 * gdesktopappinfo.c:
2417 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2419 2008-01-29 Alexander Larsson <alexl@redhat.com>
2421 * gdesktopappinfo.c:
2422 * gdesktopappinfo.h:
2423 giomodule-priv.h include moved to .c file.
2425 2008-01-29 Alexander Larsson <alexl@redhat.com>
2427 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2428 Remove unused prio/name fields.
2430 2008-01-29 Alexander Larsson <alexl@redhat.com>
2432 * gcontenttype.c (looks_like_text):
2433 Don't treat whitespace as control chars.
2435 2008-01-29 Alexander Larsson <alexl@redhat.com>
2437 * gdesktopappinfo.c:
2438 Lazily create the desktop files for appinfos created
2439 by g_app_info_create_from_commandline() when needed
2440 for mime associations. This allows run-time use
2441 of GAppInfo object without creating unnecessary
2444 2008-01-29 Alexander Larsson <alexl@redhat.com>
2447 Added new symbols to gio.symbols
2449 2008-01-29 Alexander Larsson <alexl@redhat.com>
2452 Add g_file_query_default_handler utility to easily look up
2453 the GAppInfo that handles a file.
2455 * gdesktopappinfo.[ch]:
2457 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2460 Remove unused function
2462 2008-01-29 Alexander Larsson <alexl@redhat.com>
2464 * gfileenumerator.c:
2465 Mention need to free returned value in
2466 g_file_enumerator_next_files_finish docs.
2467 Fix leak if g_file_enumerator_next_files_finish()
2470 2008-01-29 Alexander Larsson <alexl@redhat.com>
2473 (_g_unix_content_type_get_parents):
2474 Use list_parents, not get_parents from xdgmime, because
2475 the later doesn't use the cache.
2477 * xdgmime/xdgmimecache.c:
2478 (_xdg_mime_cache_list_mime_parents):
2479 Don't list the same type as parent multiple times.
2481 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2483 * === Released 2.15.4 ===
2485 2008-01-28 Alexander Larsson <alexl@redhat.com>
2488 Register local vfs with prio 0.
2491 Remove old name and prio class members
2493 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2495 * tests/g-file.c: Disable some tests that are failing in
2496 the absence of a http backend.
2498 2008-01-28 Alexander Larsson <alexl@redhat.com>
2502 Add registration hooks for extension points.
2503 Register the gio extension points.
2505 * fam/gfamdirectorymonitor.c:
2506 * fam/gfamfilemonitor.c:
2507 * glocaldirectorymonitor.[ch]:
2508 * glocalfilemonitor.[ch]:
2509 * gnativevolumemonitor.h:
2510 * gunionvolumemonitor.c:
2511 * gunixvolumemonitor.c:
2514 * inotify/ginotifydirectorymonitor.c:
2515 * inotify/ginotifyfilemonitor.c:
2516 Use the extension points registration instead
2517 of g_type_children().
2519 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2522 * gvolume.[hc]: Document new API.
2524 * gfile.c (g_file_copy_async): Fix docs
2526 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2528 * gbufferedinputstream.c:
2530 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2533 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2535 * glocalfile.c: Avoid trivial differences in translatable strings.
2537 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2539 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2540 build with gcc 3.4 (#509419)
2542 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2544 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2545 (#509994, Murray Cumming)
2547 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2549 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2550 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2551 this allows big jobs to be executed in chunks, instead of blocking
2552 the main loop for a long time.
2554 * gsimpleasyncresult.c:
2555 * giofile.c: Adapt callers.
2557 2008-01-25 Alexander Larsson <alexl@redhat.com>
2559 * gdesktopappinfo.c:
2560 Implement changes discussed on xdg list.
2561 Now we can add supported mimetypes by just using defaults.list
2562 We can also remove associations in defaults.list.
2564 2008-01-25 Alexander Larsson <alexl@redhat.com>
2566 * gdesktopappinfo.c:
2567 Don't make local copy of desktop file
2568 for mimetype changes if the file already
2569 supports the new mimetype.
2571 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2575 * gbufferedinputstream.c:
2576 * glocalfile.c: String improvements. (#511966,
2577 Theppitak Karoonboonyanan)
2579 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2581 * gioscheduler.h: Expand docs a bit.
2583 2008-01-24 Alexander Larsson <alexl@redhat.com>
2586 Add g_drive_get_identifier and
2587 g_drive_enumerate_identifiers
2590 Add g_volume_get_identifier and
2591 g_volume_enumerate_identifiers
2597 Implement identifiers for unix backend
2599 2008-01-24 Alexander Larsson <alexl@redhat.com>
2604 Add g_file_copy_async() (#511580)
2605 Based on patch from Carlos Garcia Campos
2607 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2609 * gioscheduler.c: Some documentation additions.
2611 2008-01-22 Alexander Larsson <alexl@redhat.com>
2613 * gdesktopappinfo.c:
2614 (g_desktop_app_info_new):
2615 Don't leak basename.
2617 2008-01-22 Alexander Larsson <alexl@redhat.com>
2619 * gdesktopappinfo.c:
2620 (g_desktop_app_info_new_from_filename):
2623 2008-01-22 Alexander Larsson <alexl@redhat.com>
2625 * glocalfileinfo.c (get_thumbnail_attributes):
2628 2008-01-22 Alexander Larsson <alexl@redhat.com>
2631 (canonicalize_filename):
2632 Canonicalize paths that start with more than
2636 (compare_two_files):
2637 (test_g_file_new_for_path):
2640 2008-01-22 Alexander Larsson <alexl@redhat.com>
2643 Allow UTF-8 in file:// parse names.
2645 * tests/Makefile.am:
2646 * tests/data-input-stream.c:
2647 * tests/data-output-stream.c:
2648 * tests/g-file-info.c:
2650 Added a bunch of tests from Tomas Bzatek
2652 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2654 * === Released 2.15.3 ===
2656 2008-01-21 Alexander Larsson <alexl@redhat.com>
2658 * gfileinputstream.[ch]:
2659 * gfileoutputstream.[ch]:
2661 Remove duplicated GSeekable functions. (#509990)
2662 Just use the g_seekable_xxx() calls instead.
2664 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2667 * gvolumemanager.c: Whitespace cleanups.
2669 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2670 Use the right mode when creating the file.
2672 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2674 * gfileenumerator.c:
2675 * gfileinputstream.c:
2677 * goutputstream.c: Documentation: Fixed minor typos
2678 and added more mentions of specific _finish() functions.
2680 2008-01-21 Alexander Larsson <alexl@redhat.com>
2682 * inotify/Makefile.am:
2683 * inotify/inotify-helper.c:
2684 * inotify/inotify-kernel.c:
2685 * inotify/inotify-path.c:
2686 * inotify/local_inotify.h: Removed.
2687 * inotify/local_inotify_syscalls.h: Removed.
2688 Removed the included copies of the inotify
2689 headers. We now only use the <sys/inotify.h>
2690 header which exists on modern systems.
2691 This fixes problems on ARM and SH5 (#510448)
2692 but is also generally much cleaner and future
2693 safe. For instance, if other OSes add support
2694 for inotify it should "just work".
2696 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2698 * inotify/*.c: Coding style fixes.
2699 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2700 for the 1/4 Hz timer.
2702 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2705 * gfilemonitor.[hc]:
2706 * gmemoryinputstream.c:
2707 * gmemoryoutputstream.c:
2708 * gmountoperation.c:
2709 * gthemedicon.c: Documentation updates
2711 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2713 * gfile.c: documentation: Fixed more minor
2716 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2718 * gmount.c: (g_mount_remount): documentation:
2719 Mention g_mount_remount_finish() instead of
2720 g_mount_unmount_finish().
2722 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2726 * gfile.c: Fixed some minor typos in the
2729 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2731 * gio/gvolumemonitor.c:
2732 (g_volume_monitor_get_connected_drives):
2733 (g_volume_monitor_get_volumes):
2734 (g_volume_monitor_get_mounts): Documentation:
2735 Clarify the ownership of the regurn GLists.
2737 2008-01-17 Alexander Larsson <alexl@redhat.com>
2740 Add the async find_enclosing_mount version
2741 to the header file too.
2743 2008-01-17 Alexander Larsson <alexl@redhat.com>
2746 Add async version of find_enclosing_mount
2747 with default implementation.
2749 2008-01-17 Alexander Larsson <alexl@redhat.com>
2754 Allow calls to implementation of copy and write
2755 even if the type of the file implementations is
2756 different. This can be used to implement native
2757 upload and download calls in a vfs.
2760 (g_local_file_move):
2761 Protect against the case where move is called
2762 with one file not being local.
2764 Make sure we call the progress callback once
2765 in the native move operation so that the caller
2766 knows how many bytes were copied.
2768 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2771 * gdatainputstream.c:
2773 * gfileoutputstream.c:
2778 * gunixmounts.c: Corrected some typos in the documentation:
2779 occured -> occurred.
2780 its -> it's (where appropriate).
2782 2008-01-16 Alexander Larsson <alexl@redhat.com>
2786 Add g_file_query_exists (#508771)
2788 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2793 * gvolume.c: For async functions that have no non-async
2794 version, document that the GAsyncReadyCallback may be NULL.
2797 2008-01-15 Alexander Larsson <alexl@redhat.com>
2799 * gmemoryinputstream.c:
2800 * gmemoryoutputstream.c:
2801 Don't do pointer arithmetic on void * (#508602)
2802 Patch from Kazuki IWAMOTO
2804 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2806 * === Released 2.15.2 ===
2808 2008-01-14 Alexander Larsson <alexl@redhat.com>
2810 * gfile.c (g_file_monitor_file):
2811 Don't set error here, since we fallback to polling monitor.
2813 2008-01-14 Alexander Larsson <alexl@redhat.com>
2816 (g_file_monitor_directory):
2817 (g_file_monitor_file):
2818 Add GError to file monitor calls
2820 * glocaldirectorymonitor.c:
2821 * glocaldirectorymonitor.h:
2823 * glocalfilemonitor.c:
2824 * glocalfilemonitor.h:
2826 Update for above change
2828 2008-01-14 Alexander Larsson <alexl@redhat.com>
2832 Handle root correctly in g_file_get_relative_path (#508719)
2834 2008-01-14 Alexander Larsson <alexl@redhat.com>
2837 Clean up docs and example for GAsyncResult (#508074)
2839 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2841 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2842 and correct some spelling mistakes. Bug #508108.
2844 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2846 * glocalfileinfo.c: Add a comment.
2848 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2850 * gfileinfo.c: GFileInfo description: Mention
2851 how to actually set attributes in a GFile and how to discover
2852 which attributes are settable. Bug #508378.
2854 2008-01-10 A. Walton <awalton@svn.gnome.org>
2856 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2857 (g_app_info_get_default_for_type):
2858 Check for NULL content types.
2860 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2862 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2864 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2866 * gfile.c: *_async() functions: Several small corrections
2867 to the documentation, mostly correcting copy/paste errors
2868 and improving some sentences.
2870 2008-01-09 Dan Winship <danw@gnome.org>
2872 * glocalfile.c (get_unique_filename): x86_64 fix
2874 2008-01-09 Alexander Larsson <alexl@redhat.com>
2879 Add g_unix_mount_guess_should_display and use
2880 for unix volume monitor backend.
2881 This means we more or less show what the
2882 gnome-vfs backend did.
2883 Based on patch from Padraig O'Briain
2885 2008-01-09 Alexander Larsson <alexl@redhat.com>
2889 Add g_themed_icon_new_with_default_fallbacks
2892 Use default fallbacks for icons
2894 2008-01-09 Alexander Larsson <alexl@redhat.com>
2897 * gmountoperation.[ch]:
2898 Change the API a bit so that unhandled methods
2899 get reported via the reply, rather than by
2900 the signal emission return value. This is because
2901 some handlers can't know this immediately without
2902 doing I/O, and this is an async operation that
2905 2008-01-09 Alexander Larsson <alexl@redhat.com>
2908 * fam/gfamdirectorymonitor.c:
2909 * fam/gfamfilemonitor.c:
2910 Fix double free crash (#508224)
2911 Patch from Joe Marcus Clarke
2913 008-01-07 Matthias Clasen <mclasen@redhat.com>
2915 * === Released 2.15.1 ===
2917 2008-01-07 Alexander Larsson <alexl@redhat.com>
2919 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2920 Fix warning (#507835)
2922 2008-01-07 Alexander Larsson <alexl@redhat.com>
2925 Pass --internal to glib-genmarshal
2928 * gmountoperation.c:
2930 Use better types for signal arguments (#507822)
2932 2008-01-07 Alexander Larsson <alexl@redhat.com>
2935 Build test subdir after .
2936 Remove gdirectorymonitor.[ch]
2938 * gdirectorymonitor.[ch]:
2942 Remove GDirectoryMonitor and make
2943 GFileMonitor the baseclass for both file and
2944 directory monitors. Lift the more generic
2945 rate limiting code from GDirectoryMonitor
2949 * fam/gfamdirectorymonitor.[ch]:
2950 * inotify/ginotifydirectorymonitor.[ch]:
2951 * inotify/inotify-helper.c:
2952 * glocaldirectorymonitor.[ch]:
2955 Update for the removed GDirectoryMonitor.
2957 * gmemoryoutputstream.c:
2958 Remove ununsed variable
2960 2008-01-07 Alexander Larsson <alexl@redhat.com>
2962 * gmemoryinputstream.c:
2963 Translate error strings
2966 * gmemoryoutputstream.[ch]:
2967 New implementation that avoids using GByteArray
2968 in implementation and API. (#506377)
2970 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2972 * tests/*: Add a test for memory input streams.
2974 * Makefile.am: Add tests to SUBDIRS.
2976 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2978 * glocalfilemonitor.c:
2979 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2982 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2984 * gdesktopappinfo.c: Fix a docs typo.
2986 * gfileattribute.c: Add information about extended attributes
2987 to the documentation. (#505058)
2989 2008-01-04 Alexander Larsson <alexl@redhat.com>
2992 * gmountoperation.c:
2993 Use the right type (uint) for the ask_password signal.
2995 2008-01-04 Alexander Larsson <alexl@redhat.com>
3000 Add g_app_info_supports_files()
3001 Remove desktop arg from g_app_info_should_show().
3003 * gdesktopappinfo.[ch]:
3004 Implement g_app_info_supports_files() and new should_show()
3005 Add g_desktop_app_info_set_desktop_env() to set the desktop
3006 for should_show(). (This will be set by gtk+ later)
3008 2008-01-04 Alexander Larsson <alexl@redhat.com>
3011 * gmemoryinputstream.[ch]:
3012 Improve API so that you can use multiple chunks
3013 of memory and custom destroy functions. (#506374)
3015 2008-01-03 Alexander Larsson <alexl@redhat.com>
3018 Handle NULL attribute matchers safely, as we return this
3019 for empty attribute matcher strings.
3021 2008-01-03 Alexander Larsson <alexl@redhat.com>
3023 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3024 Add /usr/local to list of internal mountpoints
3026 2008-01-03 Alexander Larsson <alexl@redhat.com>
3029 Check for HAVE_LCHOWN (#505887)
3031 2008-01-03 Alexander Larsson <alexl@redhat.com>
3035 Add define for selinux context attribute.
3036 Fix missing : -> :: namespace separator change
3037 Fix missing _ -> - name change for xattr-sys.
3040 2008-01-03 Alexander Larsson <alexl@redhat.com>
3043 Link to libglib and libgobject directly (#504879)
3044 Patch from Sebastien Bacher
3046 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3048 * gfile.c: Expanded the g_file_new_for_commandline_arg
3049 description a bit, based on the code and the docs of the
3050 other g_file_new_for_* functions.
3052 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3054 * gfilemonitor.h: Fixed typo in docs.
3056 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3058 Updates to GIO documentation. (#506395, Mikael Hermansson)
3060 * gcontenttype.c: Describe memory management for return value of
3061 g_content_types_get_registered(). Missing piece from #505815.
3062 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3063 GVolume, GDrive, GMounts, which hopefully gives the user less
3064 confusions when using this API. Following explainations from
3065 Alexander Larsson on gtk-devel-list.
3067 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3069 * gfileinfo.c: Expand the long description.
3071 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3074 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3075 fix builds with --disable-visibility. (#500273, Christian Persch)
3077 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3079 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3080 in the list of returned app infos.
3082 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3084 * gappinfo.c: Fix a cross-reference
3086 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3088 * gfileinputstream.c:
3089 * gfileoutputstream.c:
3093 * gdesktopappinfo.c:
3095 * gfileinfo.c: Documentation updates.
3097 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3099 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3102 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3104 * gcontenttype.c (g_content_types_get_registered): Don't return
3105 freed memory (#505815, Mikael Hermansson)
3107 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3109 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3110 used to detect statbuf->st_blocks. (#505042)
3112 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3114 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3115 environment handling. (#504829, Cosimo Cecchi)
3117 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3119 * gappinfo.c: Doc improvements
3121 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3124 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3126 * === Released 2.15.0 ===
3128 2007-12-20 Hans Breuer <hans@breuer.org>
3130 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3131 with symbols gwin32appinfo.obj, added gmount.obj
3132 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3134 2007-12-20 Alexander Larsson <alexl@redhat.com>
3140 * gfilenamecompleter.c:
3143 * gpollfilemonitor.c:
3144 File attribute renames:
3146 fs:: -> filesystem::
3147 id::fs -> id::filesystem
3149 2007-12-20 Alexander Larsson <alexl@redhat.com>
3158 Add GMountUnmountFlags to all unmount and
3160 Add g_mount_remount() call.
3162 2007-12-20 Alexander Larsson <alexl@redhat.com>
3164 * gvfs.c (get_default_vfs):
3165 Fix unused variable warning
3167 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3169 * pltcheck.sh: Update
3171 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3173 * gunionvolumemonitor.c:
3174 * gunixmount.c: Remove C99 comments
3176 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3178 * gio.symbols: Add some missing symbols
3180 2007-12-19 Alexander Larsson <alexl@redhat.com>
3183 Make g_io_modules_load_all_in_directory not unuse
3184 loaded modules so that users of it can do stuff
3186 Init internal "module" types.
3187 Initialize static prio and name for types so that
3188 we don't have to load modules to get it.
3190 * gnativevolumemonitor.h:
3192 Move is_supported to parent class so that
3193 non-native monitors can avoid being initialized
3194 too. (For instance GDaemonVolumeMonitor if we're
3195 not using GDaemonVfs.)
3197 * glocaldirectorymonitor.[ch]:
3198 * glocalfilemonitor.[ch]:
3199 * gunionvolumemonitor.c:
3200 * gunixvolumemonitor.c:
3202 Find plugins using the static prio+name to
3203 avoid unnecessarily loading the modules.
3205 2007-12-19 Alexander Larsson <alexl@redhat.com>
3210 2007-12-19 Alexander Larsson <alexl@redhat.com>
3212 * gunionvolumemonitor.c:
3213 Store the native type as GType, not class so that
3214 we can unload it. But still avoid unnecessarily
3217 2007-12-19 David Zeuthen <davidz@redhat.com>
3219 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3220 add signals 'disconnected' and 'eject-button' on GDrive. Add
3221 signal 'removed' on GVolume and 'unmounted' on GMount.
3223 * gdrive.c: (g_drive_base_init):
3225 * gfile.c: (g_file_mount_mountable),
3226 (g_file_mount_enclosing_volume):
3229 * gmount.c: (g_mount_base_init):
3231 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3232 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3233 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3237 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3239 * *.c: Fix up includes in the section docs.
3241 2007-12-17 Alexander Larsson <alexl@redhat.com>
3243 * gnativevolumemonitor.h:
3244 * gunionvolumemonitor.c:
3245 * gunixvolumemonitor.c:
3246 Add is_supported() to GNativeVolumeMonitorClass so
3247 that we can avoid having to create an object to see
3248 if the backend is supported at runtime.
3249 Also add name member and an env var to pick a specific
3250 volume monitor backend.
3254 Add cancellable to _g_mount_get_for_mount_path()
3256 * glocaldirectorymonitor.c:
3257 * glocalfilemonitor.c:
3258 Avoid loading and unloading modules while sorting.
3260 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3263 * gunixmounts.[hc]: Namespace waste reduction, move some
3264 g_get_unix_mount functions to the g_unix_mount namespace.
3267 * gunixvolumemonitor.c:
3269 * glocaldirectorymonitor.c: Update all callers.
3271 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3273 2007-12-17 Alexander Larsson <alexl@redhat.com>
3276 Add doc comments about what GFile operations are
3277 guaranteed to not block.
3279 2007-12-17 Alexander Larsson <alexl@redhat.com>
3282 Add missing #ifdef fixing OSX build.
3283 (#503334, patch from Richard Hult)
3285 2007-12-14 David Zeuthen <davidz@redhat.com>
3289 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3290 (g_mount_eject), (g_mount_eject_finish):
3292 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3293 (get_volume_for_uuid), (get_mount_for_uuid),
3294 (g_union_volume_monitor_class_init),
3295 (get_default_native_type_with_exclude), (get_default_native_type),
3296 (get_native_type), (update_native_type),
3297 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3298 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3299 (g_unix_mount_can_eject), (eject_unmount_cb),
3300 (eject_unmount_read_error), (eject_unmount_do),
3301 (g_unix_mount_unmount), (g_unix_mount_eject),
3302 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3303 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3304 (g_unix_mount_point_guess_can_eject):
3306 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3307 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3308 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3309 (g_unix_volume_mount), (g_unix_volume_eject),
3310 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3311 * gunixvolumemonitor.c: (get_volume_for_uuid),
3312 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3314 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3315 (g_volume_eject), (g_volume_eject_finish):
3317 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3318 (g_volume_monitor_get_mount_for_uuid):
3321 Provide eject() on both GMount and GVolume and utility functions
3322 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3323 ejected. Introduce the concept of UUID's and wire it into GVolume
3324 and GMount and provide API on GVolumeMonitor to find such
3325 instances. Also handle the case where an external
3326 GNativeVolumeMonitor fails to initialize. Lock around the
3327 _g_get_mount_for_mount_path() function such that volume monitor
3328 implementations won't have to do locking themselves.
3330 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3332 * gdesktopappinfo.c:
3338 * gvolume.h: Documentation updates
3340 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3343 * gfile.h: Doc updates
3345 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3348 * gdesktopappinfo.c: Use hash table iterators.
3350 2007-12-14 Alexander Larsson <alexl@redhat.com>
3353 * gfileattribute.[ch]:
3354 * gfileattribute-priv.h:
3355 Move GFileAttributeValue to a private header, as
3359 Make set_attribute take a type + a pointer instead
3360 of a GFileAttributeValue.
3363 Fix up for above changes.
3364 Add g_file_info_get_attribute_data to get
3365 all info in one call, g_file_info_get_attribute_status
3366 to get the status and g_file_info_get_attribute_as_string.
3370 * glocalfileinfo.[ch]:
3374 Make _guess_type static.
3376 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3379 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3380 made mkenums and friends use temporary files to avoid leaving
3381 empty generated files on failure (#503470).
3383 2007-12-14 Alexander Larsson <alexl@redhat.com>
3385 * gmountoperation.h:
3388 2007-12-14 Alexander Larsson <alexl@redhat.com>
3392 * gfileattribute.[ch]:
3395 * glocalfileoutputstream.c:
3396 * gmountoperation.[ch]:
3397 * goutputstream.[ch]:
3398 Clean up all flags enums to not have _FLAGS in them
3399 Make the names of some of the enums better.
3404 2007-12-14 Michael Natterer <mitch@imendio.com>
3406 * gio.symbols: fix g_io_scheduler symbol names.
3408 2007-12-14 Alexander Larsson <alexl@redhat.com>
3414 * gbufferedinputstream.h:
3415 * gbufferedoutputstream.h:
3418 * gdatainputstream.h:
3419 * gdataoutputstream.h:
3420 * gdesktopappinfo.h:
3421 * gdirectorymonitor.h:
3425 * gfileenumerator.h:
3428 * gfileinputstream.h:
3430 * gfilenamecompleter.h:
3431 * gfileoutputstream.h:
3432 * gfilterinputstream.h:
3433 * gfilteroutputstream.h:
3441 * gmemoryinputstream.h:
3442 * gmemoryoutputstream.h:
3444 * gmountoperation.h:
3447 * gsimpleasyncresult.h:
3449 * gunixinputstream.h:
3451 * gunixoutputstream.h:
3455 * inotify/Makefile.am:
3456 Only allow including <gio/gio.h> from apps
3458 2007-12-14 Alexander Larsson <alexl@redhat.com>
3460 * gioscheduler.[ch]:
3461 * gsimpleasyncresult.c:
3462 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3463 Split out the send_to_mainloop call into two versions instead
3464 of having the block argument.
3466 2007-12-13 Alexander Larsson <alexl@redhat.com>
3468 * gcancellable.[ch]:
3470 * gbufferedinputstream.c:
3471 * gfileenumerator.c:
3472 * gfileinputstream.c:
3473 * gfileoutputstream.c:
3477 g_push/pop_current_cancellable ->
3478 g_cancellable_push/pop_current
3480 2007-12-13 Alexander Larsson <alexl@redhat.com>
3484 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3486 2007-12-13 Alexander Larsson <alexl@redhat.com>
3488 * gmountoperation.h:
3489 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3491 2007-12-12 Alexander Larsson <alexl@redhat.com>
3494 Fix race condition when freeing proxy in
3495 g_io_job_send_to_mainloop().
3497 2007-12-12 Alexander Larsson <alexl@redhat.com>
3503 Make attribute namespace separator "::" instead of ":".
3504 Use - instead of _ as separator in attribute names.
3506 2007-12-12 Alexander Larsson <alexl@redhat.com>
3508 * gbufferedinputstream.h:
3509 * gbufferedoutputstream.h:
3510 * gdatainputstream.h:
3511 * gdataoutputstream.h:
3512 * gdirectorymonitor.h:
3513 * gfileenumerator.h:
3514 * gfileinputstream.h:
3516 * gfileoutputstream.h:
3517 * gfilterinputstream.h:
3518 * gfilteroutputstream.h:
3520 * glocalfileinputstream.h:
3521 * glocalfileoutputstream.h:
3522 * gmemoryinputstream.h:
3523 * gmemoryoutputstream.h:
3524 * gnativevolumemonitor.h:
3526 * gunixinputstream.h:
3527 * gunixoutputstream.h:
3530 s/parent/parent_instance/ in GObjects
3532 2007-12-12 Alexander Larsson <alexl@redhat.com>
3537 No need for padding for interfaces
3539 2007-12-12 Alexander Larsson <alexl@redhat.com>
3543 * gbufferedinputstream.c:
3544 * gbufferedoutputstream.c:
3547 * gdatainputstream.[ch]:
3548 * gdesktopappinfo.c:
3549 * gdirectorymonitor.c:
3551 * gfileattribute.[ch]:
3554 * gfileinputstream.h:
3555 * gfilemonitor.[ch]:
3556 * gfileoutputstream.[ch]:
3557 * gfilterinputstream.h:
3558 * gfilteroutputstream.h:
3561 * gloadableicon.[ch]:
3562 * gmemoryinputstream.c:
3563 * gmountoperation.c:
3565 Fix up a bunch of details in the docs.
3570 2007-12-11 David Zeuthen <davidz@redhat.com>
3572 Rework how volumes, drives and volume monitoring is
3573 done. Previosly the model was
3575 GDrive <1-1> GVolume
3577 where a GDrive instance represented a mount point and a GVolume
3578 instance represented a mounted file system. This patch changes it
3581 GDrive <1-N> GVolume <1-1> GMount
3583 where GMount now serves the purpose of the old GVolume and the new
3584 GVolume serves the purpose of the old GDrive. In addition the new
3585 GDrive interface is used to represent a collection of GVolume
3586 instances (typically partitions) and also contains utility to query
3587 the state of the physical drive the GDrive object represents (such
3588 as checking for media, polling the drive, ejecting the media etc.).
3590 Also implement mounting and unmounting in the Unix volume monitor
3591 backend. A subquent patch will introduce GDrive support for ejection
3595 * gdrive.c: (g_drive_is_media_check_automatic),
3596 (g_drive_is_media_removable), (g_drive_has_media),
3597 (g_drive_can_poll_for_media), (g_drive_eject),
3598 (g_drive_eject_finish), (g_drive_poll_for_media),
3599 (g_drive_poll_for_media_finish):
3601 * gfile.c: (g_file_find_enclosing_mount):
3604 * glocaldirectorymonitor.c:
3605 (g_local_directory_monitor_constructor), (mounts_changed):
3606 * glocalfile.c: (get_mount_info),
3607 (g_local_file_find_enclosing_mount),
3608 (g_local_file_file_iface_init):
3609 * gnativevolumemonitor.h:
3610 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3611 (get_connected_drives), (g_union_volume_monitor_class_init),
3612 (child_volume_added), (child_volume_removed),
3613 (child_volume_changed), (child_mount_added), (child_mount_removed),
3614 (child_mount_pre_unmount), (child_mount_changed),
3615 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3616 (g_union_volume_monitor_remove_monitor),
3617 (_g_mount_get_for_mount_path):
3618 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3619 (guess_system_internal), (_g_get_unix_mounts),
3620 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3621 (g_unix_mount_free), (g_unix_mount_compare),
3622 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3623 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3624 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3625 (type_to_icon), (g_unix_mount_guess_name),
3626 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3627 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3628 (_resolve_symlink), (_resolve_dev_root):
3630 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3631 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3632 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3633 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3634 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3635 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3636 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3637 (g_unix_volume_volume_iface_init):
3639 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3640 (get_mounts), (get_volumes), (get_connected_drives),
3641 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3642 (mountpoints_changed), (mounts_changed),
3643 (g_unix_volume_monitor_init),
3644 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3645 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3646 * gunixvolumemonitor.h:
3647 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3648 (g_volume_mount), (g_volume_mount_finish):
3650 * gvolumemonitor.c: (g_volume_monitor_class_init),
3651 (g_volume_monitor_get_connected_drives),
3652 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3655 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3657 * gmountoperation.h (GPasswordFlags): Close the gap
3659 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3661 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3663 * gdesktopappinfo.[hc]: Remove _-prefixes
3665 2007-12-10 Tor Lillqvist <tml@novell.com>
3667 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3670 2007-12-10 Alexander Larsson <alexl@redhat.com>
3672 * gfile.c (g_file_set_display_name):
3673 Don't hardcode '/' (#502727)
3675 2007-12-09 Hans Breuer <hans@breuer.org>
3677 * makefile.msc : follow lib naming convention
3678 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3679 for user and group name, tested with ../tests/gio-ls
3681 2007-12-09 A. Walton <awalton@svn.gnome.org>
3683 * gdesktopappinfo.c:
3689 * gfileenumerator.c:
3694 * gmemoryinputstream.c:
3695 * gmemoryoutputstream.c:
3697 * gsimpleasyncresult.c:
3698 More documentation cleanup and filling in missing information, bringing
3699 GIO to 99% symbol coverage.
3701 2007-12-08 Hans Breuer <hans@breuer.org>
3703 [gio compiles and links on win32, not sure how much already works]
3704 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3705 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3706 base on win32 API; prefer g_lstat() over lstat(); instead of
3707 localtime_r() use an all GLib implementation on win32;
3708 get_mount_info() still needs a win32 specifc implementation
3709 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3710 win32_get_file_user_info to get owner/group info without uid/gid
3711 * glocalfileinputstream.c : include <io.h> on win32
3712 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3713 definition, use g_win32_ftruncate() for G_OS_WIN32
3714 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3715 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3716 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3717 * makefile.msc : updated
3719 2007-12-07 Alexander Larsson <alexl@redhat.com>
3721 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3722 Avoid warning spew if error == NULL
3724 2007-12-07 Alexander Larsson <alexl@redhat.com>
3727 Update docs wrt etags
3729 2007-12-06 Alexander Larsson <alexl@redhat.com>
3732 Include sys/types.h for dev_t (#501919)
3734 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3738 Make abicheck and pltcheck pass.
3740 2007-12-05 Alexander Larsson <alexl@redhat.com>
3743 * giomodule-priv.h: Added.
3744 * glocaldirectorymonitor.c:
3745 * glocalfilemonitor.c:
3746 * gunionvolumemonitor.c:
3748 Actually add the declaration of _g_io_modules_ensure_loaded
3750 2007-12-05 Alexander Larsson <alexl@redhat.com>
3752 * gdatainputstream.c:
3757 * glocaldirectorymonitor.c:
3758 * glocalfilemonitor.c:
3759 * gunionvolumemonitor.c:
3761 Make g_io_modules_ensure_loaded a private function and
3762 don't pass in the dirname. This means we can do magic
3763 directory finding in the win32 version.
3764 Export the actual load-modules-in-directory code so that
3765 gvfs can reuse that.
3767 2007-12-05 Alexander Larsson <alexl@redhat.com>
3769 * gbufferedinputstream.c:
3770 * gbufferedoutputstream.c:
3773 * gfileenumerator.[ch]:
3774 * gfileinputstream.c:
3775 * gfileoutputstream.[ch]:
3776 * gfilterinputstream.c:
3777 * gfilteroutputstream.c:
3778 * ginputstream.[ch]:
3780 * glocalfileenumerator.c:
3781 * glocalfileinputstream.c:
3782 * glocalfileoutputstream.c:
3783 * gmemoryinputstream.c:
3784 * gmemoryoutputstream.c:
3785 * goutputstream.[ch]:
3788 * gunixinputstream.c:
3789 * gunixoutputstream.c:
3790 Rename all struct members named:
3791 read, write, close, truncate, or mount
3792 to foo_fn, as these are reserved names
3793 and could be defined as macros in libc.
3796 2007-12-04 Alexander Larsson <alexl@redhat.com>
3799 (g_output_stream_close):
3800 Only call flush if non-null.
3802 2007-11-30 Dan Winship <danw@gnome.org>
3804 * ginputstream.c (g_input_stream_set_pending): Make this take a
3805 GError and return a gboolean, and do the "outstanding operation"
3806 check (and the "stream is already closed" check) itself.
3807 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3809 * goutputstream.c (g_output_stream_set_pending)
3810 (g_output_stream_clear_pending): Likewise
3812 * gbufferedinputstream.c:
3813 * gfileinputstream.c:
3814 * gfileoutputstream.c: Update for that
3816 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3817 Like g_simple_async_report_error_in_idle, but takes a GError
3818 rather than building one.
3820 2007-11-30 Dan Winship <danw@gnome.org>
3822 * goutputstream.c: Don't cheat and unset the "pending" flag around
3823 inner calls. Instead, call the class method directly rather than
3824 the wrapper function that checks "pending"
3826 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3828 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3830 2007-12-03 Hans Breuer <hans@breuer.org>
3832 [start of port to win32/msvc]
3833 * gcancellable.c : HAVE_UNIST_H and _pipe()
3834 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3835 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3836 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3838 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3839 * glocalvfs.c : use HAVE_PWD_H
3840 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3841 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3842 * Makefile.am : added to EXTRA_DIST
3844 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3846 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3849 2007-12-03 Alexander Larsson <alexl@redhat.com>
3852 Handle OSX style xattrs API (#500506)
3854 2007-12-03 Alexander Larsson <alexl@redhat.com>
3858 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3860 2007-12-02 A. Walton <awalton@svn.gnome.org>
3864 Documentation accuracy fixes.
3866 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3868 * gioenumtypes.c.template: Fix typo.
3870 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3872 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3874 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3876 * gdirectorymonitor.c:
3877 * gfilemonitor.c: Add properties
3879 * gbufferedoutputstream.c: Don't mark buffer-size property
3882 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3884 * gbufferedoutputstream.c: Add auto-grow property.
3886 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3888 * *.c: Unify the capitalization of section headings.
3890 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3892 * gmountoperation.c: Add properties
3894 * gdatainputstream.c: Turn byte-order and newline-type into
3897 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3899 * gioenumtypes.[hc].template: Templates for enum registration
3901 * Makefile.am: Generate gioenumtypes.[hc]
3903 * gio.h: Include gioenumtypes.h
3905 * gfile.h: Add some explicit nicks.
3907 * gio.symbols: Add new symbols
3909 * pltcheck.sh: Adjust
3911 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3913 * *.c: Explain etags and link to the explanation
3915 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3917 * *.c: Explain I/O priority.
3919 * *.c: More coding style fixes.
3921 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3923 * gasyncresult.c: Add another paragraph to the intro,
3924 adjust coding style of example.
3926 2007-11-29 A. Walton <awalton@svn.gnome.org>
3929 Fixes unknown meaning in GAppLaunchContext docs.
3931 Clarify asynchronous ops.
3933 Fix entity tag docs.
3936 Provides missing gtk-doc section, fixes API docs slighly.
3937 * gsimpleasyncresult.c:
3938 Fill in missing info in docs.
3939 * gunixinputstream.c:
3940 * gunixoutputstream.c:
3941 Be more expressive in short description.
3943 Remove gtk-doc stubs for non-public API.
3945 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3947 * *.c: Coding style fixups
3949 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3951 * inotify/inotify-helper.c: Don't export the lock from libgio.
3953 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3956 * abicheck.sh: Fix copy-and-paste leftovers
3958 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3960 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3962 2007-11-28 Alexander Larsson <alexl@redhat.com>
3966 Removed unnecessary file
3968 * gdesktopappinfo.[ch]:
3971 * glocaldirectorymonitor.[ch]:
3973 * glocalfileenumerator.[ch]:
3974 * glocalfileinputstream.[ch]:
3975 * glocalfilemonitor.[ch]:
3976 * glocalfileoutputstream.[ch]:
3978 * gnativevolumemonitor.c:
3979 * gpollfilemonitor.[ch]:
3980 * gunionvolumemonitor.[ch]:
3983 * gunixvolumemonitor.[ch]:
3986 * inotify/ginotifydirectorymonitor.[ch]:
3987 * inotify/ginotifyfilemonitor.[ch]:
3988 * inotify/inotify-helper.c:
3989 Append _ to all internal functions
3993 Export symbols needed for modules
3995 2007-11-28 Alexander Larsson <alexl@redhat.com>
3998 * abicheck.sh: Added.
3999 * makegioalias.pl: Added.
4000 * pltcheck.sh: Added.
4001 * gio.symbols: Added.
4004 Initial work on adding symbol handling.
4007 Correct ifdef guard name
4010 * inotify/Makefile.am:
4011 * xdgmime/Makefile.am:
4012 Include toplevel Makefile.decl
4014 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4016 * gcontenttype.c: Move doc comments to the unix section.
4018 * *.[hc]: More trivial doc corrections.
4020 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4022 * gpollfilemonitor.c:
4026 * gdesktopappinfo.c:
4031 * gdatainputstream.c:
4032 * gdatainputstream.h:
4033 * gdataoutputstream.c:
4034 * gdataoutputstream.h:
4035 * gfileinfo.h: Doc cleanups
4037 2007-11-28 Andre Klapper <a9016009@gmx.de>
4039 * gdesktopappinfo.c: Fix a typo.
4041 2007-11-27 Andre Klapper <a9016009@gmx.de>
4043 * glocalfileoutputstream.c: Fix a typo.
4045 2007-11-27 Alexander Larsson <alexl@redhat.com>
4048 Don't include removed headers
4050 2007-11-27 Alexander Larsson <alexl@redhat.com>
4053 * gsocketinputstream.[ch]: Removed.
4054 * gsocketoutputstream.[ch]: Removed.
4055 * gunixinputstream.[ch]: Added.
4056 * gunixoutputstream.[ch]: Added.
4057 Renamed GSocket*Stream to GUnix*Stream and made
4058 it unix-only, since its not really only for sockets
4059 and it only works on unix (but is highly useful there).
4061 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4067 * gbufferedinputstream.c:
4068 * gbufferedinputstream.h:
4069 * gbufferedoutputstream.c:
4070 * gbufferedoutputstream.h:
4074 * gdatainputstream.c:
4075 * gdatainputstream.h:
4076 * gdataoutputstream.c:
4077 * gdataoutputstream.h:
4078 * gdirectorymonitor.c:
4079 * gdirectorymonitor.h:
4086 * gfileenumerator.c:
4087 * gfileenumerator.h:
4092 * gfileinputstream.c:
4093 * gfileinputstream.h:
4096 * gfilenamecompleter.c:
4097 * gfilenamecompleter.h:
4098 * gfileoutputstream.c:
4099 * gfileoutputstream.h:
4100 * gfilterinputstream.c:
4101 * gfilterinputstream.h:
4102 * gfilteroutputstream.c:
4103 * gfilteroutputstream.h:
4116 * glocalfileoutputstream.c:
4117 * gmemoryinputstream.c:
4118 * gmemoryinputstream.h:
4119 * gmemoryoutputstream.c:
4120 * gmemoryoutputstream.h:
4121 * gmountoperation.c:
4122 * gmountoperation.h:
4125 * gpollfilemonitor.c:
4128 * gsimpleasyncresult.c:
4129 * gsimpleasyncresult.h:
4130 * gsocketinputstream.c:
4131 * gsocketinputstream.h:
4132 * gsocketoutputstream.c:
4133 * gsocketoutputstream.h:
4140 * gunixvolumemonitor.c:
4149 Bumps documentation to 93% symbol coverage, touching most
4150 of the public files. Fixes broken function documentation prototypes.
4151 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4152 gtk-doc headers in private files.
4154 2007-11-27 Jürg Billeter <j@bitron.ch>
4156 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4157 (g_buffered_input_stream_read_byte):
4158 * gbufferedinputstream.h:
4159 New functions for efficient access to buffer and simple single byte
4162 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4163 (g_data_input_stream_read_until):
4164 * gdatainputstream.h:
4165 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4166 read_until with multiple stop chars.
4168 2007-11-27 Alexander Larsson <alexl@redhat.com>
4172 * inotify/Makefile.am:
4173 Use the user-specified giomoduledir
4175 2007-11-27 Alexander Larsson <alexl@redhat.com>
4179 Add catch-all gio.h header
4180 Don't install gdummyfile.h
4182 2007-11-26 Alexander Larsson <alexl@redhat.com>
4184 * Makefile.am (gioinclude_HEADERS):
4185 Remove trailing whitespace
4187 2007-11-26 Alexander Larsson <alexl@redhat.com>
4189 Merge gio-standalone into glib
4191 2007-11-25 Christian Kellner <gicmo@gnome.org>
4193 * gio/goutputstream.c:
4194 Fix small mistake in the docs.
4196 2007-11-21 Christian Persch <chpe@gnome.org>
4198 * gio/glocalfile.c: (g_local_file_trash):
4199 Convert filenames to UTF-8 for GError.
4200 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4201 as per xdg base dir spec.
4203 2007-11-21 Christian Persch <chpe@gnome.org>
4205 * gio/gdesktopappinfo.c:
4206 Use that g_key_file_to_data cannot fail.
4208 Use stock defines for the key file group and key names.
4211 2007-11-21 Alexander Larsson <alexl@redhat.com>
4214 (copy_stream_with_progress):
4215 Make sure we do a final progress callback with
4216 the full total size.
4218 2007-11-21 Alexander Larsson <alexl@redhat.com>
4221 Export g_file_copy_attributes
4222 Remove padding as its not needed for interfaces
4224 2007-11-20 Alexander Larsson <alexl@redhat.com>
4229 Add G_IO_ERROR_WOULD_MERGE for
4230 copy/move dir on dir with overwrite.
4232 2007-11-20 Alexander Larsson <alexl@redhat.com>
4235 * gio/glocalfileinfo.c:
4236 Add COPY_NAME (this is an optional
4237 non-modified utf8 version of the name) that
4240 2007-11-20 Alexander Larsson <alexl@redhat.com>
4242 * gio/glocalfileenumerator.c:
4243 Report errors as GIOError, not GFileError
4245 2007-11-16 Alexander Larsson <alexl@redhat.com>
4247 * gio/glocalfileoutputstream.c:
4248 * gio/gwin32appinfo.c:
4249 Fix typos in strings.
4250 Patch from Luca Ferretti <elle.uca@libero.it>
4252 2007-11-15 Alexander Larsson <alexl@redhat.com>
4255 Post release version bump
4257 === gio-standalone 0.1.2 ===
4259 2007-11-15 Alexander Larsson <alexl@redhat.com>
4261 * docs/reference/gio/Makefile.am:
4262 Fix up distcheck by removing weird
4268 2007-11-14 Alexander Larsson <alexl@redhat.com>
4270 * gio/gdesktopappinfo.c:
4271 * gio/glocaldirectorymonitor.c:
4273 * gio/glocalfileinfo.c:
4274 * gio/inotify/inotify-sub.c:
4275 * programs/gio-cat.c:
4276 * programs/gio-copy.c:
4277 * programs/gio-info.c:
4278 * programs/gio-ls.c:
4279 * programs/gio-monitor-dir.c:
4280 * programs/gio-monitor-file.c:
4281 * programs/gio-mount.c:
4282 * programs/gio-move.c:
4283 * programs/gio-rm.c:
4284 * programs/gio-save.c:
4285 * programs/gio-trash.c:
4286 Leak fixes from Kjartan Maraas
4288 2007-11-14 Alexander Larsson <alexl@redhat.com>
4290 * gio/fam/fam-helper.c:
4292 * gio/glocalfileinfo.c:
4296 * gio/inotify/inotify-diag.c:
4297 * gio/inotify/inotify-kernel.c:
4298 Various code cleanups from Kjartan Maraas
4300 2007-11-14 Alexander Larsson <alexl@redhat.com>
4302 * gio/gioscheduler.c:
4304 Set up threadpool so that we cache 2 unused
4305 idle threads for at 15 secs. This means we
4306 will reuse thread-local data (like dbus connections)
4309 2007-11-14 Alexander Larsson <alexl@redhat.com>
4311 * gio/fam/fam-helper.c:
4312 * gio/fam/gfamdirectorymonitor.c:
4313 * gio/fam/gfamfilemonitor.c:
4315 * gio/gcontenttype.c:
4316 * gio/gdatainputstream.c:
4317 * gio/gdataoutputstream.c:
4321 * gio/gfileattribute.h:
4322 * gio/gfileenumerator.c:
4324 * gio/ginputstream.c:
4327 * gio/glocalfileinfo.c:
4328 * gio/goutputstream.c:
4329 * gio/gpollfilemonitor.c:
4330 * gio/gsimpleasyncresult.c:
4331 * gio/gunixmounts.c:
4332 * gio/gunixmounts.h:
4333 * gio/inotify/ginotifydirectorymonitor.c:
4334 * gio/inotify/ginotifyfilemonitor.c:
4335 * gio/inotify/inotify-diag.c:
4336 * gio/inotify/inotify-kernel.c:
4337 * gio/inotify/inotify-path.c:
4339 * gio/test-streams.c:
4340 * programs/gio-info.c:
4341 * programs/gio-monitor-dir.c:
4342 * programs/gio-monitor-file.c:
4343 Various code cleanups from Kjartan Maraas
4345 2007-11-13 Alexander Larsson <alexl@redhat.com>
4348 Handle the uri-scheme calls for dummy files
4350 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4352 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4353 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4354 to avoid clash with the C++ keyword.
4356 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4358 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4359 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4361 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4363 * gio/glocaldirectorymonitor.c:
4364 * gio/glocalfilemonitor.c:
4365 * gio/gunionvolumemonitor.c:
4366 Don't use g_once_init_*() for initializations that could fail and
4367 could leave the initialization variable set to 0 but use GOnce.
4368 This prevents a deadlock on the second call when trying to create
4369 a monitor and no monitor type is available. Thanks to Sven Herzberg
4372 2007-11-11 Sven Herzberg <sven@imendio.com>
4374 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4375 #ifdef (make it work on MacOS X again)
4377 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4379 Fixes Changelog for last two commits (sorry guys).
4381 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4383 * gio/gbufferedinputstream.c:
4384 * gio/gdatainputstream.c:
4386 * gio/gfileoutputstream.c:
4387 * gio/gfilterinputstream.c:
4388 * gio/glocalfileinputstream.c:
4391 More consistency fixes in g*stream.c files.
4392 Significant clean of gfile's documentation, filling in of
4393 asynchronous operations documentation.
4395 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4397 * gio/gasyncresult.c:
4398 * gio/gbufferedinputstream.c:
4399 * gio/gbufferedoutputstream.c:
4400 * gio/gcancellable.c:
4401 * gio/gcontenttype.c:
4402 * gio/gdatainputstream.c:
4403 * gio/gdataoutputstream.c:
4404 * gio/gdesktopappinfo.c:
4407 * gio/gfileattribute.c:
4408 * gio/gio/gfileenumerator.c:
4410 * gio/gfileinputstream.c:
4411 * gio/gfilemonitor.c:
4412 * gio/gfileoutputstream.c:
4413 * gio/ginputstream.c:
4415 * gio/gioscheduler.c:
4416 * gio/gloadableicon.c:
4417 * gio/glocalfileoutputstream.c:
4418 * gio/gmemoryoutputstream.c:
4419 * gio/gmountoperation.c:
4420 * gio/goutputstream.c:
4422 * gio/gsimpleasyncresult.c:
4423 * gio/gunionvolumemonitor.c:
4424 * gio/gunixmounts.c:
4425 * gio/gunixvolume.c:
4429 * gio/gvolumemonitor.c:
4430 Updated documentation stubs, working towards consistency and
4433 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4435 * gio/gmemoryoutputstream.c:
4436 * gio/gmemoryoutputstream.h:
4437 Change g_memory_output_stream_set_free_on_close() to
4438 g_memory_output_stream_set_free_data() as this makes more sense and
4439 is more consistent with GMemoryInputStream.
4441 2007-11-07 Alexander Larsson <alexl@redhat.com>
4448 Change how we find the default vfs so that
4449 we can handle a gvfs failing to init
4451 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4453 * gio/gbufferedoutputstream.c:
4454 * gio/gdatainputstream.c:
4455 * gio/gdataoutputstream.c:
4456 * gio/gfileinputstream.c:
4457 * gio/gfileoutputstream.c:
4458 * gio/gfilterinputstream.c:
4459 * gio/gfilteroutputstream.c:
4460 * gio/ginputstream.c:
4461 * gio/gmemoryinputstream.c:
4462 * gio/gmemoryoutputstream.c:
4463 * gio/goutputstream.c:
4464 * gio/gsimpleasyncresult.c:
4465 * gio/gsocketinputstream.c:
4466 * gio/gsocketoutputstream.c:
4467 Add guards to the remaining public functions, add a TODO for
4468 an unimplemented function and remove some useless guards.
4470 2007-11-07 Alexander Larsson <alexl@redhat.com>
4473 Autoconf checks for the various types of
4474 getpwuid_r and getgrgid_r
4476 * gio/glocalfileinfo.c:
4477 Use the autoconf checks from above
4479 2007-11-07 Alexander Larsson <alexl@redhat.com>
4482 (g_local_file_query_filesystem_info):
4483 Some fixes for the statvfs case
4485 2007-11-07 Alexander Larsson <alexl@redhat.com>
4488 (g_local_file_query_filesystem_info):
4489 Pick the "best" of statfs / statvfs for the system
4490 if both are availible.
4492 2007-11-07 Alexander Larsson <alexl@redhat.com>
4494 Solaris fixes from Halton.Huo@Sun.COM:
4501 * gio/glocalfileinfo.c:
4502 Fix for solaris definition of getpwuid_r
4504 * gio/test-streams.c:
4505 Use G_GNUC_PRETTY_FUNCTION
4507 2007-11-07 Alexander Larsson <alexl@redhat.com>
4509 * gio/gdesktopappinfo.c:
4510 (update_default_list):
4511 Remove double semicolon.
4512 Patch from Jens Granseuer
4514 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4516 * docs/reference/gio/gio-sections.txt:
4517 * gio/gbufferedinputstream.c:
4518 * gio/gbufferedinputstream.h:
4519 * gio/gdatainputstream.c:
4520 * gio/gfileenumerator.c:
4521 * gio/gioscheduler.c:
4522 * gio/gunionvolumemonitor.c:
4524 * programs/gio-save.c:
4525 Fix typo: availible -> available. Unfortuntely this breaks API
4526 and ABI as g_buffered_input_stream_get_available() was renamed.
4528 * gio/gunixmounts.c:
4529 * gio/gbufferedinputstream.c:
4530 Add guards for public functions.
4532 2007-11-06 Ross Burton <ross@openedhand.com>
4534 * docs/reference/gio/Makefile.am:
4535 Fix invalid += usage which automake 1.10 doesn't like.
4537 2007-11-06 Alexander Larsson <alexl@redhat.com>
4540 (g_app_launch_context_class_init):
4543 Patch from Ross Burton
4545 2007-11-06 Alexander Larsson <alexl@redhat.com>
4548 Post release version bump
4550 === gio-standalone 0.1.1 ===
4552 2007-11-06 Alexander Larsson <alexl@redhat.com>
4555 Bump version to 0.1.1
4557 * gio/gsimpleasyncresult.c:
4558 (g_simple_async_result_set_from_error):
4559 Remove bogus g_return_if_fail
4561 2007-11-06 Alexander Larsson <alexl@redhat.com>
4564 The name is gio-standalone
4567 Add top src/builddir to includedir
4569 2007-11-06 Alexander Larsson <alexl@redhat.com>
4571 * docs/reference/gio/gio-sections.txt:
4573 * gio/gbufferedinputstream.c:
4574 * gio/gbufferedoutputstream.c:
4575 * gio/gcancellable.c:
4576 * gio/gdatainputstream.h:
4577 * gio/gdataoutputstream.c:
4578 * gio/gdataoutputstream.h:
4579 * gio/gdirectorymonitor.c:
4581 * gio/gfileattribute.c:
4582 * gio/gfileattribute.h:
4583 * gio/gfileenumerator.c:
4584 * gio/gfileenumerator.h:
4587 * gio/gfileinputstream.h:
4588 * gio/gfilemonitor.c:
4589 * gio/gfileoutputstream.h:
4590 * gio/glocalfilemonitor.h:
4591 * gio/glocalfileoutputstream.h:
4592 * gio/gmemoryinputstream.c:
4593 * gio/gmemoryoutputstream.c:
4594 * gio/gmountoperation.c:
4595 * gio/goutputstream.c:
4596 * gio/goutputstream.h:
4598 * gio/gsimpleasyncresult.c:
4599 * gio/gunixmounts.c:
4600 * gio/gunixmounts.h:
4602 * gio/inotify/inotify-helper.c:
4603 Fix gtk-doc warnings
4605 Patch from Ross Burton
4607 2007-11-06 Alexander Larsson <alexl@redhat.com>
4609 * gio/gfilenamecompleter.c:
4610 (g_filename_completer_get_completions):
4613 * gio/gunixvolume.c:
4614 Remove unused function
4616 Patches from Ross Burton
4618 2007-11-06 Alexander Larsson <alexl@redhat.com>
4623 Padding not needed for interfaces
4625 2007-11-06 Alexander Larsson <alexl@redhat.com>
4627 * gio/gfilemonitor.c:
4631 Make giotypes.h an internal file
4634 * gio/gbufferedinputstream.h:
4635 * gio/gbufferedoutputstream.h:
4636 * gio/gcancellable.h:
4637 * gio/gdatainputstream.h:
4638 * gio/gdataoutputstream.h:
4639 * gio/gdirectorymonitor.c:
4640 * gio/gdirectorymonitor.h:
4645 * gio/gfileattribute.h:
4646 * gio/gfileenumerator.h:
4651 * gio/gfilemonitor.c:
4652 * gio/gfilemonitor.h:
4653 * gio/gfilenamecompleter.c:
4654 * gio/gfilenamecompleter.h:
4655 * gio/gfilterinputstream.h:
4656 * gio/gfilteroutputstream.h:
4657 * gio/ginputstream.h:
4658 * gio/gmemoryinputstream.h:
4659 * gio/gmemoryoutputstream.h:
4660 * gio/gmountoperation.c:
4661 * gio/gmountoperation.h:
4662 * gio/gnativevolumemonitor.c:
4663 * gio/goutputstream.h:
4666 * gio/gsimpleasyncresult.c:
4667 * gio/gsimpleasyncresult.h:
4668 * gio/gsocketinputstream.h:
4669 * gio/gsocketoutputstream.h:
4670 * gio/gthemedicon.c:
4671 * gio/gthemedicon.h:
4675 * gio/gvolumemonitor.c:
4676 * gio/gvolumemonitor.h:
4677 Add padding in classes where it seems useful
4678 Don't include giotypes.h from public headers
4679 Move in Class definitions into c file where possible
4684 2007-11-06 Alexander Larsson <alexl@redhat.com>
4686 * docs/reference/gio/gio-docs.xml:
4687 Better structure for API docs
4689 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4692 * gio/gloadableicon.c:
4693 * gio/gsimpleasyncresult.c:
4694 * gio/gthemedicon.c:
4695 Add some more guards to public functions. Only files missing are now
4698 2007-11-06 Alexander Larsson <alexl@redhat.com>
4700 * docs/reference/gio/gio-docs.xml:
4701 Remove old files, add missing ones
4703 2007-11-06 Alexander Larsson <alexl@redhat.com>
4705 * docs/reference/gio/gio-sections.txt:
4708 Hide implementation classes
4710 * gio/gdriveprivate.h:
4711 * gio/gvolumeprivate.h:
4712 Remove non-existing function declarations
4714 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4717 Fix compilation warnings and add guards to the new functions.
4719 * gio/gasyncresult.c:
4721 Add guards to the public functions.
4724 Implement get_path().
4726 2007-11-06 Alexander Larsson <alexl@redhat.com>
4728 * gio/gfilenamecompleter.c:
4729 Make g_filename_completer_get_completions
4730 return char ** instead of GList for
4733 * docs/reference/gio/gio-docs.xml:
4734 * docs/reference/gio/gio-sections.txt:
4736 * gio/gasyncresult.c:
4737 * gio/gbufferedinputstream.c:
4738 * gio/gbufferedoutputstream.c:
4739 * gio/gcancellable.c:
4740 * gio/gcontenttype.c:
4741 * gio/gdatainputstream.c:
4742 * gio/gdataoutputstream.c:
4743 * gio/gdesktopappinfo.c:
4744 * gio/gdirectorymonitor.c:
4748 * gio/gfileattribute.c:
4749 * gio/gfileenumerator.c:
4752 * gio/gfileinputstream.c:
4753 * gio/gfilemonitor.c:
4754 * gio/gfilenamecompleter.c:
4755 * gio/gfilenamecompleter.h:
4756 * gio/gfileoutputstream.c:
4757 * gio/gfilterinputstream.c:
4759 * gio/ginputstream.c:
4761 * gio/gioscheduler.c:
4762 * gio/gloadableicon.c:
4763 * gio/glocaldirectorymonitor.c:
4765 * gio/glocalfileinputstream.c:
4766 * gio/glocalfilemonitor.c:
4767 * gio/glocalfileoutputstream.c:
4769 * gio/gmemoryinputstream.c:
4770 * gio/gmemoryoutputstream.c:
4771 * gio/gmountoperation.c:
4772 * gio/goutputstream.c:
4773 * gio/gpollfilemonitor.c:
4775 * gio/gsimpleasyncresult.c:
4776 * gio/gsocketinputstream.c:
4777 * gio/gsocketoutputstream.c:
4778 * gio/gthemedicon.c:
4779 * gio/gunionvolumemonitor.c:
4781 * gio/gunixmounts.c:
4782 * gio/gunixvolume.c:
4783 * gio/gunixvolumemonitor.c:
4787 * gio/gvolumemonitor.c:
4788 * gio/gwin32appinfo.c:
4789 Add (mostly stub) doc strings to public functions.
4790 Patch from Andrew Walton (awalton@gmail.com)
4792 2007-11-06 Alexander Larsson <alexl@redhat.com>
4794 * gio/gappinfo.[ch]:
4795 Added GAppLaunchContext object and pass that to launch.
4796 This allows simple implementation of both
4797 launch-on-screen and startup notification via a gtk+
4798 subclass of GAppLaunchContext
4800 * gio/gdesktopappinfo.c:
4801 Implement GAppLaunchContext API
4803 * gio/gwin32appinfo.c:
4806 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4808 * gio/gmountoperation.c:
4809 Add some guards to GMountOperation's public functions.
4811 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4815 * gio/gcancellable.c:
4816 * gio/gdirectorymonitor.c:
4818 * gio/gfileenumerator.c:
4819 * gio/gfilemonitor.c:,
4820 * gio/gfilenamecompleter.c:
4823 * gio/gioscheduler.c:
4827 * gio/gvolumemonitor.c:
4828 Add even more guards to various public functions.
4830 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4833 Add guards to the public functions of GAppInfo.
4835 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4837 * gio/gcontenttype.c:
4838 Add some more guards for public functions.
4840 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4842 * gio/fam/fam-module.c:
4843 * gio/fam/gfamdirectorymonitor.c:
4844 * gio/fam/gfamdirectorymonitor.h:
4845 * gio/fam/gfamfilemonitor.c:
4846 * gio/fam/gfamfilemonitor.h:
4847 * gio/inotify/ginotifydirectorymonitor.c:
4848 * gio/inotify/ginotifydirectorymonitor.h:
4849 * gio/inotify/ginotifyfilemonitor.c:
4850 * gio/inotify/ginotifyfilemonitor.h:
4851 Add proper copyright information and remove an unused variable
4852 in the GInotifyFileMonitor constructor.
4854 * gio/gcancellable.c:
4855 Add a guard for a public function and an assertion to prevent
4856 an undefined program state.
4858 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4860 * gio/gfileattribute.c:
4861 Don't run into an assertion if the given attribute value is NULL
4862 in g_file_attribute_value_get_*() but instead return a fallback
4863 value that makes sense in most situations. Passing them a attribute
4864 value with the wrong type will still run into an assertion.
4866 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4868 * gio/gfileattribute.c:
4870 Add even more guards to the public functions. Also fix the refcounting
4871 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4872 let g_file_info_list_attributes() filter the attributes by namespace
4873 instead of simply ignoring the namespace parameter.
4875 2007-11-03 Sven Herzberg <sven@imendio.com>
4877 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4878 (This makes gio work on MacOS X again)
4880 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4883 Build the gio subdirectory before the docs. Otherwise the build will
4886 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4887 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4888 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4889 Add guards to the public functions.
4891 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4893 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4894 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4895 to prevent a compiler warning.
4897 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4898 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4899 return something in the non-void function find_topdir_for().
4901 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4908 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4910 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4911 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4912 * gwin32appinfo.c (g_win32_app_info_launch):
4913 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4914 envp_for_startup_id, g_desktop_app_info_launch,
4915 g_desktop_app_info_launch_uris):
4917 Give an opaque 'startup_id' string instead of 'envp'.
4918 Support empty file lists for launching new windows.
4919 Fix infinite recursion bug when launching URIs.
4921 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4924 Add guard to the new g_file_get_uri_scheme() function.
4926 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4929 Convert a g_return_val_if_fail() to setting the GError instead as
4930 otherwise applications have to verify the parameter before otherwise
4931 and the parameter might come directly from the user.
4933 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4935 * gio/inotify/ginotify*.[ch]:
4936 Add missing copyright information.
4938 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4941 Add guards in the beginning of public functions to check for valid
4942 parameters and fix a bug in copy_stream_with_progress() that could've
4943 caused writing less bytes than reading.
4944 * gio/glocalfileinfo.c:
4945 Check for a NULL parameter and set the GError accordingly then.
4946 * gio/goutputstream.c:
4947 Fix the same bug as in gfile.c that could've caused writing less bytes
4948 than reading in g_output_stream_real_splice().
4950 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4953 Use the correct gvolumeprivate.h naming
4955 2007-11-01 Christian Kellner <gicmo@gnome.org>
4958 Remove leftover "$(daemon_sources)" entry.
4960 2007-11-01 Christian Kellner <gicmo@gnome.org>
4965 Add copyright information to source files.
4967 2007-11-01 Alexander Larsson <alexl@redhat.com>
4971 Add g_file_get_uri_scheme
4973 2007-11-01 Alexander Larsson <alexl@redhat.com>
4976 * gio/gdesktopappinfo.c:
4977 * gio/gwin32appinfo.c:
4978 Add g_app_info_get_default_for_uri_scheme.
4980 2007-11-01 Alexander Larsson <alexl@redhat.com>
4983 Correct filename for gdriveprivate.h
4985 2007-10-31 Alexander Larsson <alexl@redhat.com>
4988 Rename id:value to id:file
4991 * gio/glocalfileinfo.c:
4994 2007-10-31 Alexander Larsson <alexl@redhat.com>
4996 * gio/gunixvolume.c:
4998 Remove g_volume_get_platform_id, as thats not
4999 needed with the simpler union volume monitor
5001 2007-10-31 Alexander Larsson <alexl@redhat.com>
5004 * gio/guniondrive.[ch]: Removed.
5005 * gio/gunionvolume.[ch]: Removed.
5006 Remove GUnionDrive/Volume
5008 * gio/gunionvolumemonitor.c:
5009 Simplify union volume monitor, now we
5010 only have one native volume monitor and
5011 we use the actual volumes/drives from the
5012 child monitors instead of wrapping them
5014 * gio/gnativevolumemonitor.[ch]:
5015 Base class for native volume monitors.
5016 Includes priority and get_volume_for_mountpoint
5019 Add g_file_find_enclosing_volume
5022 Remove volume name fs attribute
5023 Add readonly fs attribute
5026 Implement readonly attribute
5027 remove volume name attribute
5028 Implement find_enclosing volume
5030 * gio/gunixmounts.c:
5031 Add a volume for "/".
5033 * gio/gunixvolume.[ch]:
5034 Set better name for /
5036 * gio/gunixvolumemonitor.[ch]:
5037 Derive from GNativeVolumeMonitor
5038 Implement get_volume_for_mountpoint
5041 GVolume typedef moved to gfile.h
5043 * gio/gvolumeprivate.h:
5044 Add g_volume_get_for_mount_path
5046 2007-10-31 Alexander Larsson <alexl@redhat.com>
5048 * gio/gunixmounts.[ch]:
5049 Add cache info to unix mount listers
5050 Make getmntent use threadsafe
5051 Add is_system_internal attribute for GUnixMount
5053 * gio/gunixvolume.c:
5054 (g_unix_volume_new):
5055 Use is_system_internal instead of own code
5057 * gio/glocaldirectorymonitor.c:
5058 * gio/gunixvolumemonitor.c:
5059 Update to new gunixmounts API
5064 2007-10-30 Alexander Larsson <alexl@redhat.com>
5067 Add volume name fsinfo attribute
5070 Read volume name info
5072 * gio/gunionvolumemonitor.c:
5073 Fix infinite loops when finalizing a union volume monitor
5075 2007-10-30 Alexander Larsson <alexl@redhat.com>
5077 * gio/goutputstream.[ch]:
5078 Add splice() with default implementation
5080 * gio/gsocketoutputstream.c:
5081 (g_socket_output_stream_write):
5082 Return error on cancellation correctly.
5084 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5086 * gio/glocalfile.c (g_local_file_trash):
5087 Do not leak a string.
5089 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5091 * gio/gfile.c (g_file_load_contents):
5092 Unref the stream after closing it.
5094 2007-10-25 Alexander Larsson <alexl@redhat.com>
5096 * gio/gioscheduler.h:
5099 2007-10-25 Alexander Larsson <alexl@redhat.com>
5103 Add g_file_has_uri_scheme and implement for local files
5105 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5107 * gio/gdesktopappinfo.c: do not leak a string.
5109 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5111 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5112 (g_local_directory_monitor_new):
5113 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5114 (g_local_file_monitor_new):
5115 Only look for the monitor type that should be used the first time
5116 and use g_qsort_with_data() instead of our own bubble sort
5119 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5122 * gio/fam/Makefile.am:
5123 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5124 * gio/fam/fam-helper.h:
5125 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5126 * gio/fam/gfamdirectorymonitor.c:
5127 * gio/fam/gfamdirectorymonitor.h:
5128 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5129 * gio/fam/gfamfilemonitor.h:
5130 * gio/glocaldirectorymonitor.c:
5131 * gio/glocaldirectorymonitor.h:
5132 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5133 * gio/glocalfilemonitor.h:
5134 * gio/inotify/Makefile.am:
5135 * gio/inotify/ginotifydirectorymonitor.c:
5136 * gio/inotify/ginotifydirectorymonitor.h:
5137 * gio/inotify/ginotifyfilemonitor.c:
5138 * gio/inotify/ginotifyfilemonitor.h:
5139 Implement the FAM and Inotify monitors as
5140 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5141 their own GIO module. GLocal(Directory|File)Monitor will use the
5142 monitor with the highest rank that is supported on that machine.
5144 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5147 Change GIO module dir to $(libdir)/gio/modules and change
5148 the log domain from GVFS to GIO. Also only export symbols starting
5149 with g_ in the resulting library.
5150 * gio/test-streams.c: (main):
5151 Set log handler for the GIO log domain.
5153 2007-10-22 Alexander Larsson <alexl@redhat.com>
5155 * gio/gfilenamecompleter.[ch]:
5156 Add g_filename_completer_set_dirs_only
5158 2007-10-22 Alexander Larsson <alexl@redhat.com>
5161 * gio/gurifuncs.[ch]:
5162 Add some simple URI helpers
5164 * gio/gfilenamecompleter.[ch]:
5165 Added object for filename (parse name actually) completion
5168 Handle ~ in parse names
5170 2007-10-17 Alexander Larsson <alexl@redhat.com>
5173 * gio/glocalfileinfo.c:
5174 Add and implement id:value attribute
5176 2007-10-17 Alexander Larsson <alexl@redhat.com>
5179 * gio/guniondrive.c:
5181 Add and implement g_drive_has_volumes
5183 2007-10-17 Alexander Larsson <alexl@redhat.com>
5186 * gio/glocalfileinfo.[ch]:
5187 Add unix:is_mountpoint and implement for local files
5189 2007-10-16 Alexander Larsson <alexl@redhat.com>
5191 * gio/gunionvolumemonitor.c:
5192 (g_union_volume_monitor_init):
5193 Fix up the unix type getting so that it works with gcc
5195 2007-10-12 Alexander Larsson <alexl@redhat.com>
5198 * gio/glocalfileinfo.c:
5199 Add thumbnail:failed to file info
5201 2007-10-12 Richard Hult <richard@imendio.com>
5203 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5204 optimizing away the get_type call (happens with some gcc versions,
5205 like the one shipped with OS X 10.4).
5207 2007-10-12 Alexander Larsson <alexl@redhat.com>
5209 * gio/glocalfileinfo.c:
5210 (_g_local_file_info_set_attribute):
5211 Fix build if not HAVE_XATTR
5212 Patch from Milosz Derezynski <internalerror@gmail.com>
5214 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5216 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5217 around for review, otherwise I would have asked you before
5220 2007-10-11 Alexander Larsson <alexl@redhat.com>
5223 Add thumbnail:path attribute
5225 * gio/glocalfileinfo.c:
5226 Implement thumbnail:path for local files
5228 2007-10-11 Alexander Larsson <alexl@redhat.com>
5230 * gio/glocalfileinfo.c:
5231 (_g_local_file_info_get):
5232 Avoid duplicate icon names
5234 2007-10-11 Alexander Larsson <alexl@redhat.com>
5236 * gio/gthemedicon.[ch]:
5237 Change g_themed_icon_get_names return type to const
5239 2007-10-10 Alexander Larsson <alexl@redhat.com>
5241 * gio/glocalfileinfo.c:
5242 Don't reference freed memory
5244 2007-10-10 Alexander Larsson <alexl@redhat.com>
5246 * gio/gfileattribute.c:
5249 * gio/glocalfileinfo.c:
5252 2007-10-10 Alexander Larsson <alexl@redhat.com>
5255 Check for NULL icons
5257 * gio/gfileattribute.c:
5258 Don't dup when getting objects (same as for string attributes)
5260 * gio/gicon.c (g_icon_equal):
5261 Safely handle NULLs in equal
5263 2007-10-10 Alexander Larsson <alexl@redhat.com>
5266 Fix c++ compilation issues
5267 Patch from Milosz Derezynski <internalerror@gmail.com>
5269 2007-10-10 Alexander Larsson <alexl@redhat.com>
5271 * programs/gio-monitor-dir.c:
5272 Don't crash if dir monitor not supported.
5274 2007-10-09 Alexander Larsson <alexl@redhat.com>
5277 Add missing G_END_DECLS
5279 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5281 * gio/gfile.c: (g_file_set_display_name),
5282 (g_file_query_settable_attributes),
5283 (g_file_query_writable_namespaces):
5284 Return NULL not FALSE on errors as the return type is a pointer.
5286 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5288 * gio/glocalfile.c: (g_local_file_monitor_file):
5289 Don't call monitor_file on the default interface vtable (which
5290 is NULL) but simply return NULL. The caller, GFile, will create a
5291 polling monitor if NULL is returned.
5293 2007-10-09 Alexander Larsson <alexl@redhat.com>
5297 * gio-unix-2.0.pc.in:
5298 Add gio-unix-2.0.pc if OS_UNIX
5301 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5303 2007-10-09 Alexander Larsson <alexl@redhat.com>
5305 * gio/gunixmounts.[ch]:
5306 Make unix mount monitoring API sane.
5307 Now its just a object with mounts_changed
5308 and mountpoints_changed signals.
5310 * gio/glocaldirectorymonitor.c:
5311 * gio/gunixvolumemonitor.c:
5312 Use new mount monitor api
5314 2007-10-09 Alexander Larsson <alexl@redhat.com>
5316 * gio/gunixmounts.[ch]:
5317 Move guess type into one call for mounts and one for mountpoints
5320 * gio/gunixvolume.c:
5323 2007-10-09 Alexander Larsson <alexl@redhat.com>
5325 * gio/gunixmounts.[ch]:
5326 Remove _ prefix in preparation to make this semi-public
5327 Hide implementation of structs
5329 * gio/glocaldirectorymonitor.c:
5331 * gio/gunixvolume.c:
5332 * gio/gunixvolumemonitor.c:
5333 Update for above API changes
5335 2007-10-08 Alexander Larsson <alexl@redhat.com>
5338 Better polling fallback. This also handles the case where we have
5339 a monitor_file implementation, but it fails.
5341 2007-10-08 Alexander Larsson <alexl@redhat.com>
5345 * gio/gunixmounts.c:
5346 * programs/gio-monitor-dir.c:
5347 * programs/gio-monitor-file.c:
5348 Added cancellable to file monitoring calls.
5349 These are really sync calls and need this.
5351 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5353 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5354 (g_local_vfs_class_init):
5355 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5356 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5358 2007-10-05 Alexander Larsson <alexl@redhat.com>
5360 * gio/gdirectorymonitorprivate.h:
5361 * gio/gfilemonitorprivate.h:
5362 * gio/gdirectorymonitor.h:
5363 * gio/gfilemonitor.h:
5364 Remove *private.h and move to the public API, so that
5365 we can do implementations outside gio (such as in gvfs)
5367 * gio/gdirectorymonitor.c:
5368 * gio/gfilemonitor.c:
5369 * gio/glocaldirectorymonitor.c:
5370 * gio/gpollfilemonitor.c:
5371 * gio/inotify/inotify-helper.c:
5372 * gio/fam/fam-helper.c:
5373 Update to the new header names
5375 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5377 * gio/gdirectorymonitor.c:
5378 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5381 2007-10-04 Alexander Larsson <alexl@redhat.com>
5383 * gio/glocalfileinfo.c (get_access_rights):
5384 Set CAN_TRASH when we can move the file.
5385 We should really also check for a parent trash dir.
5387 2007-10-04 Alexander Larsson <alexl@redhat.com>
5389 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5390 Add can_trash access attribute
5392 2007-10-04 Alexander Larsson <alexl@redhat.com>
5395 (g_local_file_trash):
5396 Create info file first. This is per-spec and allows
5397 us to actually trash directories.
5399 2007-10-02 Alexander Larsson <alexl@redhat.com>
5401 * gio/gdesktopappinfo.c:
5402 Implement the new mime support code.
5403 Always set app as handling mimetype when being set as default for it
5405 2007-10-01 Alexander Larsson <alexl@redhat.com>
5407 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5408 Fix up check for xattrs:
5410 2007-10-01 Alexander Larsson <alexl@redhat.com>
5413 (g_app_info_set_as_default_for_extension):
5414 (g_app_info_add_supports_type):
5415 (g_app_info_can_remove_supports_type):
5416 (g_app_info_remove_supports_type):
5417 Make these fail nicely if not implemented
5419 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5421 * gio/glocalfileoutputstream.c:
5422 * gio/glocalfileoutputstream.h:
5427 * programs/gio-save.c:
5428 Add a GFileCreateFlags argument to operations that can create
5431 2007-10-01 Alexander Larsson <alexl@redhat.com>
5433 * gio/gappinfo.[ch]:
5434 * gio/gdesktopappinfo.c:
5435 Add more (stubbed out) mime API needed for nautilus
5437 2007-10-01 Alexander Larsson <alexl@redhat.com>
5440 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5441 Add g_app_info_set_as_default_for_extension.
5443 * gio/gdesktopappinfo.c:
5444 Dummy for g_app_info_set_as_default_for_extension
5445 Support flags in g_app_info_create_from_commandline
5447 * gio/gwin32appinfo.c:
5449 Update for API changes
5451 * gio/gthemedicon.c:
5452 Properly NULL-terminate list of icon names
5454 2007-09-28 Alexander Larsson <alexl@redhat.com>
5456 * gio/gloadableicon.h:
5457 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5459 2007-09-28 Alexander Larsson <alexl@redhat.com>
5462 Install headers in $includedir/gio-standalone/
5464 * gio-2.0.pc.in: Added.
5465 * gio-standalone.pc.in: Removed.
5468 Renamed pkg-config file to match glib (for future move)
5469 Update to the new include dir
5472 Add more TODO comments
5474 2007-09-28 Alexander Larsson <alexl@redhat.com>
5476 * gio/gdesktopappinfo.[ch]:
5477 Expose new_from_filename
5478 Add getter for is_hidden and handle it better
5480 2007-09-28 Alexander Larsson <alexl@redhat.com>
5482 * gio/gfileinfo.[ch]:
5483 Rename g_file_size_format_for_display to
5484 g_format_file_size_for_display.
5485 Now it doesn't have the g_file prefix, so we
5486 can later move it to glib.
5488 2007-09-28 Alexander Larsson <alexl@redhat.com>
5490 * gio/gappinfo.[ch]:
5491 Add g_app_info_get_id and g_app_info_get_executable.
5492 Make all getters non-reffing
5493 Make g_app_info_launch take GFile arguments.
5494 Add must_support_uris argument to g_app_info_get_default_for_type.
5496 * gio/gwin32appinfo.c:
5497 Update to GAppInfo api changes
5499 * gio/gdesktopappinfo.c:
5500 Update to GAppInfo api changes
5501 Implement supports_xdg_startup_notify
5503 * gio/gfileicon.c (g_file_icon_get_file):
5504 Make getter non-reffing.
5509 2007-09-27 Alexander Larsson <alexl@redhat.com>
5511 * gio/gfileinfo.[ch]:
5512 Add g_file_size_format_for_display helper
5514 2007-09-27 Alexander Larsson <alexl@redhat.com>
5516 * gio/glocalfileinfo.c:
5517 Set UNIX_GID from gid, not from uid
5519 2007-09-27 Alexander Larsson <alexl@redhat.com>
5522 Add g_file_set_attributes_async
5524 2007-09-27 Alexander Larsson <alexl@redhat.com>
5526 * gio/glocalfile.c (g_local_file_set_display_name):
5527 Fix set_display_name to actually rename to the right place.
5528 Use lstat to look for existing files so we don't overwrite
5531 2007-09-26 Alexander Larsson <alexl@redhat.com>
5534 Add g_file_set_display_name_async()
5536 2007-09-26 Alexander Larsson <alexl@redhat.com>
5539 Add load_partial_contents async calls
5542 Make internal function static
5544 2007-09-26 Alexander Larsson <alexl@redhat.com>
5546 * gio/glocalfileinfo.c:
5547 Correctly detect broken symlinks
5549 2007-09-26 Alexander Larsson <alexl@redhat.com>
5551 * gio/gcancellable.c (g_cancellable_cancel):
5552 Allow cancel on NULL cancellable
5554 2007-09-25 Alexander Larsson <alexl@redhat.com>
5556 * gio/gsimpleasyncresult.c:
5557 Don't allocate g_error manually.
5558 Fixes g_slice/g_new mixup crash
5560 2007-09-25 Alexander Larsson <alexl@redhat.com>
5562 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5563 Actually set active_backend.
5564 This means the monitor will be cancelled correctly.
5566 2007-09-25 Alexander Larsson <alexl@redhat.com>
5568 * gio/gdirectorymonitor.c:
5569 Set timeout to NULL when destroying
5571 2007-09-25 Alexander Larsson <alexl@redhat.com>
5574 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5575 that is a better description of the error.
5577 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5579 * gio/gvfs.c: (g_vfs_get_local):
5580 Make the local vfs variable static. The same instance should
5583 2007-09-24 Alexander Larsson <alexl@redhat.com>
5585 * gio/glocalfileinfo.c:
5586 Pass in actual length read into sniffer, not the length
5589 2007-09-21 Alexander Larsson <alexl@redhat.com>
5591 * gio/gfileenumerator.c:
5594 * gio/gfileinputstream.c:
5595 * gio/gfileoutputstream.c:
5596 * gio/ginputstream.c:
5597 * gio/goutputstream.c:
5598 Don't crash if async callbacks are NULL
5600 2007-09-20 Alexander Larsson <alexl@redhat.com>
5603 Add async enumerate_children method and default
5606 2007-09-20 Alexander Larsson <alexl@redhat.com>
5609 Add g_file_contains_file & g_file_get_relative_path, since they
5610 were needed for nautilus.
5611 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5616 Implement new methods
5618 2007-09-17 Alexander Larsson <alexl@redhat.com>
5621 * gio/gfileinputstream.[ch]:
5622 * gio/gfileoutputstream.[ch]:
5624 * gio/glocalfileenumerator.[ch]:
5625 * gio/glocalfileinfo.[ch]:
5626 * gio/glocalfileinputstream.c:
5627 * gio/glocalfileoutputstream.c:
5628 * gio/gpollfilemonitor.c:
5629 * programs/gio-copy.c:
5630 * programs/gio-info.c:
5631 * programs/gio-move.c:
5632 Rename get_file_info to query_info() to make it clearer
5633 that these are not simple getters, but do i/o.
5635 2007-09-17 Alexander Larsson <alexl@redhat.com>
5637 * gio/gdatainputstream.[ch]:
5638 * gio/test-streams.c:
5639 Use _read_XXX instead of _get_XXX for the i/o calls
5642 2007-09-17 Alexander Larsson <alexl@redhat.com>
5645 Added needed stuff to TODO comment
5647 2007-09-17 Alexander Larsson <alexl@redhat.com>
5649 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5650 Don't error out removing the backup copy if it doesn't
5653 2007-09-14 Alexander Larsson <alexl@redhat.com>
5655 * programs/Makefile.am:
5656 * programs/gvfs-*.c:
5658 Renamed apps from gvfs-xxx to gio-xxx.
5660 2007-09-14 Alexander Larsson <alexl@redhat.com>
5663 * gio/gfileoutputstream.[ch]:
5664 * gio/glocalfileoutputstream.c:
5665 * programs/gvfs-save.c:
5666 g_file_output_stream_get_etag doesn't do i/o, so remove
5667 cancellation and error.
5669 2007-09-14 Alexander Larsson <alexl@redhat.com>
5672 Add new_etag output to replace_contents functions
5674 2007-09-14 Alexander Larsson <alexl@redhat.com>
5676 * gio/gfileoutputstream.[ch]:
5677 Add async get_file_info and default implementation
5679 2007-09-14 Alexander Larsson <alexl@redhat.com>
5681 * gio/gfileinputstream.c:
5682 Implement fallback wrapper for async get_file_info
5684 2007-09-14 Alexander Larsson <alexl@redhat.com>
5687 Add etag out argument to load_contents
5692 2007-09-14 Alexander Larsson <alexl@redhat.com>
5694 * gio/gcontenttype.c (looks_like_text):
5695 Whitespace like tab, cr and lf do not make the
5698 2007-09-14 Alexander Larsson <alexl@redhat.com>
5700 * gio/gfileinputstream.[ch]:
5701 Add async get_file_info.
5703 2007-09-13 Alexander Larsson <alexl@redhat.com>
5705 * gio/goutputstream.c (g_output_stream_write_all):
5706 Allow NULL for bytes_written
5708 2007-09-13 Alexander Larsson <alexl@redhat.com>
5710 * gio/gmemoryinputstream.[ch]:
5711 Add accessors for data
5713 2007-09-13 Alexander Larsson <alexl@redhat.com>
5715 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5716 Don't crash if length is NULL