1 2009-01-31 Paolo Borelli <pborelli@katamail.com>
3 * glocalfileinfo.c: plug a tiny mem leak.
5 2009-01-29 Ryan Lortie <desrt@desrt.ca>
7 * gioerror.c (g_io_error_from_errno): handle all possible cases of
8 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
10 2009-01-28 Ryan Lortie <desrt@desrt.ca>
12 Bug 568575 – _async functions for GDataInputStream
15 * gdatainputstream.c: add _async versions of read_line and read_until.
17 * ../docs/reference/gio/gio-sections.txt: add new functions
18 * tests/sleepy-stream.c: new test case for async read line
19 * tests/Makefile.am: add new test
21 2009-01-22 Ryan Lortie <desrt@desrt.ca>
23 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
25 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
26 g_buffered_input_stream_fill): check for count < -1 instead of count <
27 0 and copy modified check to non-async version for consistency.
28 document the "count = -1" API.
30 2009-01-22 Ryan Lortie <desrt@desrt.ca>
32 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
34 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
35 after we have successfully read data from the base stream
37 2009-01-20 Ryan Lortie <desrt@desrt.ca>
39 Bug 568394 – dropping the last reference to a stream filter closes the
42 * gfilterinputstream.h:
43 * gfilterinputstream.c: add "close-base-stream" property and only
44 close the base stream if it is true. issue async close callbacks from
45 correct source object.
46 * gfilteroutputstream.h:
47 * gfilteroutputstream.c: add a "close-base-stream" property and only
48 close the base stream if it is true. issue async close callbacks from
49 correct source object.
50 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
51 before closing the base stream. fix invalid source tag comparison in
52 close_async (was comparing to flush_async).
53 * ../docs/reference/gio/gio-sections.txt:
55 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
56 * tests/filter-streams.c: new test cases
57 * tests/Makefile.am: add new test
58 * tests/.gitignore: add new test
60 2009-01-19 Matthias Clasen <mclasen@redhat.com>
62 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
64 2009-01-19 Matthias Clasen <mclasen@redhat.com>
66 * === Released 2.19.5 ===
68 2009-01-19 Matthias Clasen <mclasen@redhat.com>
70 * gappinfo.h: Document get_commandline vfunc
72 2009-01-19 Matthias Clasen <mclasen@redhat.com>
74 * gunixmounts.c: Some stylistic fixes.
76 2009-01-08 Matthias Clasen <mclasen@redhat.com>
78 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
79 functions in non-UTF8 locale
81 * xdgmime/xdgmimecache.c:
82 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
84 2009-01-08 Matthias Clasen <mclasen@redhat.com>
86 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
88 2009-01-07 Matthias Clasen <mclasen@redhat.com>
90 Bug 566770 – error code 0 for Too many open files is useless
92 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
93 Requested by Olivier Sessink.
95 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
97 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
98 G_IO_ERROR_TOO_MANY_OPEN_FILES.
100 2009-01-05 Matthias Clasen <mclasen@redhat.com>
102 * === Released 2.19.4 ===
104 2009-01-05 Dan Winship <danw@gnome.org>
106 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
107 "const char **" to avoid a warning.
109 * gemblem.c (g_emblem_from_tokens):
110 * gemblemedicon.c (g_emblemed_icon_from_tokens):
111 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
114 2009-01-05 Matthias Clasen <mclasen@redhat.com>
116 Bug 566064 – Add NOATIME flag to query_info_flags
118 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
119 sniffing for mime types. Based on a patch by A. Walton
121 2009-01-05 Ryan Lortie <desrt@desrt.ca>
123 * tests/.gitignore: improve
124 * tests/Makefile.am: add new simple-async-result test
125 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
127 2009-01-05 Ryan Lortie <desrt@desrt.ca>
130 * ../docs/reference/gio/gio-sections.txt:
131 * gsimpleasyncresult.h:
132 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
133 Implementation by Dan Winship. Closes #566170.
135 2008-12-31 Matthias Clasen <mclasen@redhat.com>
139 * gunixinputstream.c:
140 * gunixoutputstream.c: Add a note about being UNIX-specific.
142 2008-12-15 Matthias Clasen <mclasen@redhat.com>
144 * === Released 2.19.3 ===
146 2008-12-12 Dan Winship <danw@gnome.org>
148 * pltcheck.sh: make this work on x86_64
150 2008-12-12 Ryan Lortie <desrt@desrt.ca>
152 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
155 2008-12-12 Ryan Lortie <desrt@desrt.ca>
157 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
158 multiple mount entries match the requested path
160 2008-12-10 Alexander Larsson <alexl@redhat.com>
162 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
163 g_simple_async_result_run_in_thread
165 * gsimpleasyncresult.c:
166 Make g_simple_async_result_run_in_thread check cancellation before
167 calling out to the user in the callback. This means we guarantee
168 reporting cancels of async operations from the main threads, which
169 is probably more in line with what users expect.
171 Note that there are still no such guarantees for cancelling sync
172 operations or cancelling async operation from outside the main
173 thread. Furthermore, the exact behaviour of async implementations
174 not using run_in_thread may differ.
176 2008-12-09 Alexander Larsson <alexl@redhat.com>
178 Bug 515777 - incorrect date&time on copy
181 (g_local_file_class_init):
182 Copy mtime by default
185 Change docs about G_FILE_COPY_ALL_METADATA to not mention
188 2008-12-08 Matthias Clasen <mclasen@redhat.com>
190 Bug 558298 – Hide ecryptfs mounts
192 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
193 so that the desktop does not show both the mount and the target
194 directory. Patch by Martin Pitt
196 2008-12-08 Matthias Clasen <mclasen@redhat.com>
198 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
202 * gunixinputstream.[hc]:
203 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
204 including getters and setters. Patch by Maciej Piechotka
206 2008-12-07 Matthias Clasen <mclasen@redhat.com>
208 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
210 * tests/live-g-file.c: Support compilers that don't understand
211 ISO C varargs macros. Patch by Eric Lamarque
213 2008-12-07 Matthias Clasen <mclasen@redhat.com>
215 Bug 526320 – should not list mounts that the user doesn't have
218 gunixmounts.c: Use g_access() to check accessibility of local devices.
221 2008-12-01 Matthias Clasen <mclasen@redhat.com>
223 * === Released 2.19.2 ===
225 2008-12-01 Matthias Clasen <mclasen@redhat.com>
227 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
228 behaviour change, and update the docs instead, to avoid breaking
231 2008-12-01 Matthias Clasen <mclasen@redhat.com>
233 * === Released 2.19.1 ===
235 2008-12-01 Alexander Larsson <alexl@redhat.com>
239 * gunionvolumemonitor.c:
241 Add and document g_mount_is_shadowed plus calls
242 to set/unset a mount as shadowed
244 2008-11-28 Matthias Clasen <mclasen@redhat.com>
246 * gio/tests/g-icon.c: Comment out two failing tests
248 2008-11-28 Matthias Clasen <mclasen@redhat.com>
250 Bug 555486 – No way to recover command line from GAppInfo
253 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
254 by Hans Petter Jansson.
256 * gdesktopappinfo.c: And implement it here.
258 2008-11-28 Christian Dywan <christian@imendio.com>
260 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
262 2008-11-28 Matthias Clasen <mclasen@redhat.com>
264 Bug 559633 – gtk_image_new_from_gicon does not always work for
267 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
268 extensions on icon names. Proposed by Axel von Bertoldi.
270 2008-11-28 Matthias Clasen <mclasen@redhat.com>
272 Bug 548163 – Nautilus displays wrong error message for too long file
275 * glocalfile.c (g_local_file_set_display_name): Correctly set
276 error conditions if the new name is e.g. too long. Reported
277 by Leonardo Ferreira Fontenelle.
279 2008-11-28 Matthias Clasen <mclasen@redhat.com>
281 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
284 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
285 documented and include the line end in the returned string.
286 Pointed out by Paul Pogonyshev.
288 * tests/data-input-stream.c: Fix the read_line test to test the
289 documented behaviour.
291 2008-11-28 Matthias Clasen <mclasen@redhat.com>
293 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
294 files that have been created by g_app_info_create_from_commandline.
296 2008-11-28 Matthias Clasen <mclasen@redhat.com>
298 Bug 541715 – win32 : patch for warnings and signature problems in
301 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
304 2008-11-28 Matthias Clasen <mclasen@redhat.com>
306 Bug 562393 – g_buffered_input_stream_read_byte broken if data
309 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
310 handling of buffered content. Patch by Philip Withnall
312 * tests/buffered-input-stream.c: Add a testcase for this bug.
313 * tests/Makefile.am: And build it
315 2008-11-28 Matthias Clasen <mclasen@redhat.com>
317 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
320 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
321 '/' away. Spotted by Dan Williams.
323 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
325 Bug 561375 – Leaks mountpoint description
327 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
330 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
332 Bug 561352 – Leak of icon description
334 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
337 2008-11-14 Matthias Clasen <mclasen@redhat.com>
339 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
341 2008-11-12 Tor Lillqvist <tml@novell.com>
343 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
345 * win32/gwinhttpvfs.h: Move the set of function pointers to
346 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
347 pointer to that in the GWinHttpVfsClass.
349 * win32/gwinhttpvfs.c: Move the lookup of functions from
350 winhttp.dll into a function of its own, that stores the pointers
351 in a separate GWinHttpDllFuncs variable. Add two bookeeping
352 booleans lookup_done and funcs_found.
354 Don't call g_io_extension_point_implement() to register the
355 winhttp extension unless winhttp.dll has been successfully loaded
356 and the required functions found in it.
358 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
359 winhttp.dll correspondingly.
361 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
363 reviewed by: Alexander Larsson <alexl@redhat.com>
365 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
366 clearer about the behavior when there's no more content to read.
368 2008-10-27 Federico Mena Quintero <federico@novell.com>
370 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
372 2008-10-27 Tor Lillqvist <tml@novell.com>
374 Bug 557592 - Missing include in gwinhttpfile.c
376 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
379 2008-10-24 Matthias Clasen <mclasen@redhat.com>
381 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
383 * fam/fam-helper.c: Fix a memory leak and formatting issues.
384 Reported by Daniel Marjamäki
386 2008-10-23 Matthias Clasen <mclasen@redhat.com>
388 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
390 2008-10-23 Alexander Larsson <alexl@redhat.com>
392 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
395 (_g_local_file_info_get):
396 Don't return the fallback icon (text-x-generic) for all files.
397 This is causing problems with theme icon lookup and custom mime
398 icons, as the generic fallback overrides custom mime icons in
401 This is a slight change as applications might not get an icon wher
402 they previously did. But there is no guarantee to get on neither before
403 or after this change, so it should not break applications. Changes
404 to nautilus and gtk+ will be done to manually use the generic fallback
405 icon if no icon is found, but this is only required for rare cases.
407 2008-10-21 Alexander Larsson <alexl@redhat.com>
410 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
412 2008-10-21 Alexander Larsson <alexl@redhat.com>
414 Bug 555740 - gicon serialization
415 Based on patch from David Zeuthen
419 Add g_icon_to_string() and g_icon_new_for_string().
425 Implement icon serialization for built-in icon types
429 Added GIcon serialization test
431 2008-10-16 Matthias Clasen <mclasen@redhat.com>
433 * === Released 2.19.0 ===
435 2008-10-16 Matthias Clasen <mclasen@redhat.com>
437 Bug 556422 – g_file_enumerator_next_file: unclear whether return
438 value needs to be freed
440 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
441 the return value docs. Pointed out by Armin Burgmeier
443 2008-10-14 Matthias Clasen <mclasen@redhat.com>
445 Bug 556334 – Warning when building without selinux support
447 * glocalfileinfo.c: Avoid compiler warnings when selinux is
448 disabled. Patch by Pascal Terjan
450 2008-10-14 Matthias Clasen <mclasen@redhat.com>
452 Bug 556335 – make check fails in abicheck.sh
454 * gio.symbols: Add g_file_attribute_info_list_get_type.
455 Pointed out by Pascal Terjan.
457 2008-10-13 Alexander Larsson <alexl@redhat.com>
460 When adding an application as handling a mime type (but
461 not as the default), copy the full list of desktop ids handling
462 that type in before adding the new one on the end of the list.
463 This means we're not accidentally changing the default by overriding
464 the info from the later directories in the search path.
466 Also, fixes small leak of removed_entries.
468 2008-10-12 David Zeuthen <davidz@redhat.com>
471 * gunionvolumemonitor.c:
473 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
475 2008-10-10 Alexander Larsson <alexl@redhat.com>
477 * gfileattribute.c (escape_byte_string):
478 Upper half of byte is >> 4, not >> 8.
479 Found by Kjartan Maraas via sparse
481 2008-10-10 Matthias Clasen <mclasen@redhat.com>
483 Bug 555711 – Wrong fallback order of mimetype icons
485 * gcontenttype.c: Don't prefer generic icons over
486 default mimetype icons.
488 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
489 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
491 Patch by Krysztof Kosiński
493 2008-10-10 Matthias Clasen <mclasen@redhat.com>
495 Bug 555121 – Improved build-time handling of gio module-dir
497 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
498 * Makefile.am: Create the module dir.
500 2008-10-10 Matthias Clasen <mclasen@redhat.com>
502 * gio/glocalfileinfo.c:
503 * gio/tests/live-g-file.c:
504 * gio/gsimpleasyncresult.c: Fix gcc warnings.
506 2008-10-09 Alexander Larsson <alexl@redhat.com>
508 * gunixinputstream.c (g_unix_input_stream_read):
509 Actually return -1 in case of cancelled, not old res value.
511 2008-10-06 Colin Walters <walters@verbum.org>
513 Bug 554745 - GFileAttributeInfoList should be boxed
515 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
516 for convenience of bindings.
517 * gio/gfileattribute.h: Prototype it.
519 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
521 Bug 554970 – segfault when update-desktop-database is not available
524 * gdesktopappinfo.c (run_update_command): Have the error set before
527 2008-10-01 David Zeuthen <davidz@redhat.com>
529 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
530 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
531 instead of the gio URI (such as sftp://foo/file.avi) when using
532 g_app_info_launch() and friends. With a sufficiently recent gvfs,
533 apps using gio+gvfs will map the FUSE file:// URI back to the gio
534 URI (and thus bypass the fuse daemon) thanks the patch from bug
535 #530654. Since Nautilus is an user of g_app_info_launch() it
536 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
537 when launced via the file manager. Win. Fixes bug #528670.
539 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
540 mapping to the description of GAppInfo.
542 2008-09-30 Tor Lillqvist <tml@novell.com>
544 * tests/Makefile.am: Build desktop-app-info only on Unix.
546 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
547 g_critical(). Pass a large enough result buffer to
548 GetVolumePathNameW(). Just use MAX_PATH.
550 2008-09-29 David Zeuthen <davidz@redhat.com>
552 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
554 2008-09-26 Dan Winship <danw@gnome.org>
556 * tests/data-input-stream.c:
557 * tests/data-output-stream.c:
558 * tests/live-g-file.c:
559 * tests/memory-input-stream.c:
560 * tests/memory-output-stream.c: Use g_assert_error() and
563 2008-09-26 Matthias Clasen <mclasen@redhat.com>
565 Bug 545350 – GAppInfo deletion
566 Bug 545351 – Reset associations for content type
569 * gappinfo.[hc]: New functions g_app_info_can_delete,
570 g_app_info_delete and g_app_info_reset_type_associations.
573 * gwin32appinfo.c: Implementations of these.
576 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
578 2008-09-26 Dan Winship <danw@gnome.org>
580 Bug 505361 – gunixinputstream.c assumes poll() available
581 Bug 509446 – portable blocking gio cancellation
583 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
584 GPollFD for a cancellable (which is slightly more complicated on
587 * gunixinputstream.c (g_unix_input_stream_read):
588 * gunixoutputstream.c (g_unix_output_stream_write): Use
589 g_cancellable_make_pollfd() and g_poll() rather than using poll()
592 * tests/unix-streams.c: test of GUnixInputStream,
593 GUnixOutputStream, and GCancellable.
595 2008-09-26 Dan Winship <danw@gnome.org>
597 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
598 cast to stop a gcc warning
600 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
603 2008-09-25 Dan Winship <danw@gnome.org>
605 Bug 553426 - cancellable clarifications
607 * gcancellable.c (g_cancellable_class_init): Add a note to the
608 "cancelled" signal docs warning about thread-safety issues
609 (g_cancellable_cancel): Note that cancelling an asynchronous
610 operation takes effect asynchronously, not immediately.
612 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
614 * gioenums.h: Add new GFileCopyFlag, to leave target file with
615 default perms, instead of setting the source file perms, in a copy
618 * gfile.c (g_file_copy_attributes)
619 (build_attribute_list_for_copy)
620 (should_copy): Not copy "unix::mode" attribute if we have received
621 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
623 2008-09-20 Matthias Clasen <mclasen@redhat.com>
625 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
627 2008-09-17 Matthias Clasen <mclasen@redhat.com>
629 * === Released 2.18.1 ===
631 2008-09-16 Michael Natterer <mitch@imendio.com>
633 * gcontenttype.c (g_content_type_guess): can't assign the return
634 value of g_strdupv() to an array. Fill the array manually with
635 const strings instead (it is never freed anyway). Fixes the
636 build. Also fixed indentation.
638 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
640 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
641 Fix trivial typo to unbreak the build (there was a colon
642 instead of a semicolon at the end of a statement).
644 2008-09-15 Matthias Clasen <mclasen@redhat.com>
646 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
649 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
652 2008-09-15 Matthias Clasen <mclasen@redhat.com>
654 Bug 551681 – g_content_type_guess() too naive with filenames
656 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
657 at the end of the filename, and declare it a directory.
658 Patch by Bastien Nocera
660 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
662 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
665 * gdesktopappinfo.c: add a note in the docs clarifying what the
666 "filename" parameter really is.
668 2008-09-12 Tor Lillqvist <tml@novell.com>
670 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
671 FormatMessage() etc here. Call g_win32_error_message() instead
672 which already does all that. Besides, the code was broken as it
673 called the default "A" version of FormatMessage() but still
674 thought it produced a wide string.
676 2008-09-12 Michael Natterer <mitch@imendio.com>
678 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
679 in the documentation.
681 2008-09-08 Christian Neumair <cneumair@gnome.org>
683 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
684 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
685 Use non-blocking pipe for mount helper I/O. Fixes #550647.
687 2008-09-06 Matthias Clasen <mclasen@redhat.com>
689 Bug 551149 – xdgmime mem leak
691 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
692 a memory leak. Patch by Christian Persch
694 2008-09-04 Tor Lillqvist <tml@novell.com>
696 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
699 2008-09-02 Matthias Clasen <mclasen@redhat.com>
701 * === Released 2.18.0 ===
703 2008-09-02 Michael Natterer <mitch@imendio.com>
705 * *.h: big header formatting cleanup: indentation, vtable
706 formatting, consistent spacing in (* vfunc), trailing whitespace
707 removal. Formatting should be pretty consistent in all GIO headers
710 2008-09-02 Matthias Clasen <mclasen@redhat.com>
712 * gmount.h: Document guess_content_type sync vfunc.
714 2008-09-02 Michael Natterer <mitch@imendio.com>
716 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
717 fix parent_class member to be GFilterOutputStreamClass (not
718 GOutputStreamClass). Drop three pointers of padding, which is
719 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
720 so the class struct size stays the same.
722 2008-09-02 Matthias Clasen <mclasen@redhat.com>
724 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
726 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
727 nonexisting return values. Pointed out by Cosimo Cecchi.
729 2008-08-23 Tor Lillqvist <tml@novell.com>
731 Bug 548988 - g_file_replace fails on Windows when the target file
734 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
735 Windows, close the file before potentially renaming it (in case we
736 have been writing to a file with a temporary name).
738 (g_local_file_output_stream_close, handle_overwrite_open): Use
739 GLocalFileStat instead of plain struct stat, for passing to
740 _g_local_file_info_create_etag(). Thus also use _fstati64()
741 instead of plain fstat() on Windows.
743 2008-08-18 Matthias Clasen <mclasen@redhat.com>
745 * === Released 2.17.7 ===
747 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
749 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
752 2008-08-13 Tor Lillqvist <tml@novell.com>
754 * win32/gwinhttpvfs.c
755 * win32/gwinhttpvfs.h
756 * win32/gwinhttpfile.c
757 * win32/gwinhttpfileinputstream.c
758 * win32/gwinhttpfileoutputstream.c: Refactor some common code
759 snippets into helper functions. Check HTTP response status
760 codes. Implement g_winhttp_file_query_info(), looking at
761 Content-Length, Content-Type and Last-Modified.
763 * win32/winhttp.h: Add some symbolic constants that are not
764 publicly documented. Just a handful, so it should be OK to use
765 information from the Windows SDK's headers.
767 2008-08-13 Tor Lillqvist <tml@novell.com>
769 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
772 * win32/gwin32directorymonitor.c
773 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
775 2008-08-13 Matthias Clasen <mclasen@redhat.com>
778 * goutputstream.c: Add intro docs.
780 2008-08-13 Tor Lillqvist <tml@novell.com>
782 * win32/gwinhttpfileoutputstream.c
783 (g_winhttp_file_output_stream_write): Don't write the
784 Content-Length header ourselves, WinHttpSendRequest() takes care
785 of that when the dwTotalLength parameter is non-zero. Increment
786 offset by the number of actual bytes sent, although I wonder if
787 such a scenario is possible where less than requested would be
788 sent and accepted by the server without errors.
790 2008-08-13 Tor Lillqvist <tml@novell.com>
792 * win32/gwinhttpvfs.c
793 * win32/gwinhttpvfs.h
794 * win32/gwinhttpfile.c
795 * win32/gwinhttpfile.h
796 * win32/gwinhttpfileinputstream.c
797 * win32/gwinhttpfileinputstream.h
798 * win32/gwinhttpfileoutputstream.c
799 * win32/gwinhttpfileoutputstream.h: New files implementing
800 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
801 Windows. The implementation uses the WinHttp API. Both reading and
802 writing are supported, i.e. GET and PUT requests. When writing,
803 each write call is done using a separate PUT request with a
804 Content-Range header. Requests for file URIs and plain pathnames
805 are forwarded to GLocalVfs.
807 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
808 WINE. Used as there is no <winhttp.h> bundled with mingw, and
809 requiring people to download the Windows SDK just for this one
810 header is not reasonable.
812 * win32/Makefile.am: Add above files.
814 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
815 the plumbing for the above.
817 2008-08-11 Sven Neumann <sven@gimp.org>
819 * gfilenamecompleter.c
820 * glocaldirectorymonitor.c
822 * gunionvolumemonitor.c
826 * gunixvolumemonitor.c
829 * gwin32volumemonitor.c: use canonical signal names.
831 2008-08-11 Tor Lillqvist <tml@novell.com>
833 * Makefile.am: Put a list of the platform-dependent .la files in
834 the subdirectories in the platform_deps Make variable, and make
835 libgio-2.0.la depend on that, so that it gets relinked if one of
836 the dependent libraries has changed.
838 2008-08-11 Tor Lillqvist <tml@novell.com>
840 * Makefile.am (platform_libadd): Remove -lwininet which had been
841 added by mistake. We will probably eventually be using WinHTTP,
842 not the older WinInet anyway. (Actually I am working on it.)
844 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
846 Bug 547080 – g_file_copy leaks expected errors
848 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
849 before trying the next fallback routine.
851 2008-08-09 Loïc Minier <lool@dooz.org>
853 Bug 535124 – umask 002 not being applied for new directories, new
854 files get the correct umask
856 * gfile.c (g_file_make_directory)
857 (g_file_make_directory_with_parents): Document ownership and
858 permissions of newly created directories as being the default
861 2008-08-08 Loïc Minier <lool@dooz.org>
863 Bug 535124 – umask 002 not being applied for new directories, new
864 files get the correct umask
866 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
869 2008-08-08 Tor Lillqvist <tml@novell.com>
871 * gwin32mount.c: Remove unused code. Whitespace cleanup.
873 * gwin32volumemonitor.c (get_connected_drives): Put questionable
874 code that didn't actually do anything inside #if 0, and add a
875 comment wondering what the code was supposed to do. This also gets
876 rid of a leftover debugging printout.
878 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
880 * gfileicon.c (g_file_icon_get_property)
881 (g_file_icon_set_property): New functions.
882 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
884 (g_file_icon_new): Use the property (bug #546132).
886 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
888 * gthemedicon.c (g_themed_icon_get_property): Also handle
889 `PROP_USE_DEFAULT_FALLBACKS'.
890 (g_themed_icon_class_init): Make
891 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
893 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
895 Bug 546371 – Improve docs re g_file_monitor
897 * gfilemonitor.c: Mention g_file_monitor() in the docs.
899 2008-08-04 Matthias Clasen <mclasen@redhat.com>
901 * === Released 2.17.6 ===
903 2008-08-04 Matthias Clasen <mclasen@redhat.com>
905 * === Released 2.17.5 ===
907 2008-08-04 Matthias Clasen <mclasen@redhat.com>
909 Bug 546017 – Don't copy attributes when copying a symlink
911 * gfile.c (g_file_copy_attributes): Specify
912 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
913 g_file_set_attributes_from_info. Patch by Christian Kellner
915 2008-08-04 Matthias Clasen <mclasen@redhat.com>
917 * gemblemedicon.[hc]:
919 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
920 a bit more extensible. Work by Clemens Buss.
922 * gioenums.h: Add GEmblemOrigin.
925 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
927 Bug 546079 – leak in xdgmime
929 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
931 2008-08-03 Tor Lillqvist <tml@novell.com>
933 * win32/gwin32directorymonitor.h
934 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
937 2008-08-03 Tor Lillqvist <tml@novell.com>
939 * win32/gwin32directorymonitor.c
940 (g_win32_directory_monitor_callback): Make prototype match
941 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
942 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
945 (g_win32_directory_monitor_constructor):
946 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
947 names in the GLib API on Windows, so convert to UTF-16 and open
950 2008-08-03 Tor Lillqvist <tml@novell.com>
952 Bug 541036 - Gnumeric crashes when trying to open Desktop or
953 user's folder under Windows
955 * win32/gwin32directorymonitor.c
956 (g_win32_directory_monitor_constructor): Ignore error from
957 CreateFile() when opening directory. Instead of asserting, just
958 store INVALID_HANDLE_VALUE then in
959 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
960 ReadDirectoryChangesW().
961 (g_win32_directory_monitor_cancel): Don't attempt to close
962 directory handle if it is INVALID_HANDLE_VALUE.
964 2008-08-01 Matthias Clasen <mclasen@redhat.com>
966 * gdesktopappinfo.c: Remove debug spew
968 2008-08-01 Hans Breuer <hans@breuer.org>
970 * makefile.msc : add gemblembedicon
972 2008-07-30 Matthias Clasen <mclasen@redhat.com>
974 Bug 545457 – gdmsetup crashed with SIGSEGV in
975 g_unix_mount_guess_should_display()
977 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
978 crash if no mount is found.
980 2008-07-28 Matthias Clasen <mclasen@redhat.com>
982 Bug 545203 – gfile.c: argument is different type.
984 * gfile.c (open_read_async_thread): Pass a GError **
985 to g_file_set_error_literal.
986 Reported by Kazuki Iwamoto
988 2008-07-28 Matthias Clasen <mclasen@redhat.com>
990 Bug 545157 – wrong/no list of "open with" applications for .cc and
993 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
994 Collect all ancestors, not just direct parents. Pointed
995 out by Bastien Nocera
997 2008-07-28 Matthias Clasen <mclasen@redhat.com>
999 * Makefile.am: Install gemblemedicon.h
1001 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1003 * gemblemedicon.[hc]: Add a GIcon implementation that can
1004 add an emblem to another icon.
1011 * gfileicon.c: Small documentation additions.
1013 2008-07-28 Tor Lillqvist <tml@novell.com>
1015 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1018 2008-07-27 Tor Lillqvist <tml@novell.com>
1020 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1022 2008-07-24 David Zeuthen <davidz@redhat.com>
1026 Also export a g_mount_guess_content_type_sync() function.
1028 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1030 529694 – SELinux context setting support
1032 * gfileinfo.c: Support setting selinux attributes.
1033 Patch by Tomas Bzatek
1035 2008-07-22 Priit Laes <plaes@plaes.org>
1037 Bug 544140 - fam-helper 64-bit issue?
1039 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1041 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1043 * === Released 2.17.4 ===
1045 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1047 * gvolumemonitor.[hc]:
1048 * gmountoperation.c:
1052 * gmount.c: Documentation fixes
1054 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1056 543504 – crash in Epiphany Web Browser: Opening local file
1060 * gdesktopappinfo.c:
1067 * gvolume.c: Register types thread-safely.
1068 Patch by Christian Persch
1070 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1072 * gcontenttype.c: Remove debug spew
1074 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1076 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1079 * fen/fen-kernel.c: Remove a warning that was causing
1080 crashes. Reported by Lin Ma.
1082 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1084 Bug 543040 – async reading on dummy file will crash on
1087 * gfile.c (open_read_async_thread): Cope with read_fn being
1088 NULL. Reported by Lin Ma.
1090 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1093 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1095 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1098 * gdesktopappinfo.h:
1099 * giomodule.c: Rename a chapter id to avoid filename conflict.
1101 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1103 Bug 540616 – mem leak in filechooser button
1105 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1106 the mount entry. Reported by Chrisitan Persch
1108 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1110 * gfile.c: Small documentation fixes.
1112 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1114 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1116 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1121 * gmount.c: Documentation improvements.
1123 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1126 * gmount.[hc]: Add g_mount_guess_content_type().
1128 2008-07-06 David Zeuthen <davidz@redhat.com>
1131 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1132 is needed for easily handling adoption of foreign volumes by
1133 out-of-process volume monitors (#541793)
1135 2008-07-06 David Zeuthen <davidz@redhat.com>
1137 * gvolumemonitor.[ch]:
1138 * gunionvolumemonitor.c: Export the eject-button signal on the
1139 volume monitor class (#541794).
1141 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1143 * gappinfo.c: More doc tweaks
1145 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1147 * gappinfo.c: Clarify some docs
1149 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1151 * gdesktopappinfo.c: Fix a stupid mistake.
1153 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1155 * === Released 2.17.3 ===
1157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1159 * gfilemonitor.c: Fix the build.
1161 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1163 Bug 536160 – Add g_file_monitor()
1166 * gfile.[hc]: Add g_file_monitor which can return either
1167 a file or a directory monitor. Proposed by Behdad Esfahbod
1169 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1171 536733 – gio build failure on Irix
1173 * glocalfile.c: Use a configure check for structfs.f_bavail.
1175 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1177 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1180 * gdesktopappinfo.[hc]: Add a function to create a
1181 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1183 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1185 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1187 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1189 * gunixmounts.c: Fix a doc typo.
1191 2008-07-01 Cody Russell <bratsche@gnome.org>
1193 * gio/gcontenttype.c:
1194 * gio/gwin32appinfo.c:
1195 * gio/gwin32volumemonitor.c:
1196 * gio/gwin32mount.c: Fixed some include problems.
1198 2008-07-01 Cody Russell <bratsche@gnome.org>
1202 Moved all relevant typedefs into these files.
1205 Updated wrt added files.
1207 Split types into separate file for easier maintainership. (#538564)
1209 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1211 Bug 540331 – g_file_append_to () documentation: can return NULL
1213 * gfile.c (g_file_append_to): Clarify docs.
1214 Patch by Jared Moore
1216 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1218 Bug 539090 – g_content_type_from_mime_type() should unalias
1220 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1221 Patch by Markus Bergman
1223 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1225 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1226 g_atomic_pointer_get
1228 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1229 on ppc and alpha. Reported by Mart Raudsepp
1231 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1233 * tests/Makefile.am:
1234 * tests/memory-output-stream.c: Add some tests for
1235 GMemoryOutputStream.
1237 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1239 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1242 * gmemoryoutputstream.c (array_resize): Handle truncation to
1243 zero correctly. Reported by Akira Tagoh
1245 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1247 * gmemoryoutputstream.c: Trivial doc fixes
1249 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1251 Bug 540802 – g_list_prepend doesn't concat lists
1253 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1254 one list to another. Pointed out by Jan Arne Petersen
1256 2008-06-28 Michael Natterer <mitch@imendio.com>
1258 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1260 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1262 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1263 to avoid problems with partial icon themes.
1265 2008-06-17 Hans Breuer <hans@breuer.org>
1267 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1268 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1269 access again on win32, see bug #538127
1270 * giomodule.c : ensure GWin32VolumeMonitor is registered
1271 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1272 * Makefile.am makefile.msc : updated
1274 2008-06-16 Hans Breuer <hans@breuer.org>
1276 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1277 and initialization in one step avoids c99ism
1279 2008-06-16 Christian Persch <chpe@gnome.org>
1282 * gio/gbufferedinputstream.c
1283 * gio/gcancellable.c
1284 * gio/gdatainputstream.c
1285 * gio/gdesktopappinfo.c
1287 * gio/gfileenumerator.c
1288 * gio/gfileinputstream.c
1289 * gio/gfileoutputstream.c
1290 * gio/ginputstream.c
1291 * gio/glocaldirectorymonitor.c
1293 * gio/glocalfileenumerator.c
1294 * gio/glocalfileinfo.c
1295 * gio/glocalfilemonitor.c
1296 * gio/glocalfileoutputstream.c
1297 * gio/gmemoryinputstream.c
1298 * gio/gmemoryoutputstream.c
1299 * gio/goutputstream.c
1300 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1303 2008-06-16 Tor Lillqvist <tml@novell.com>
1305 Bug 538362 - Get Win32 icons back in the file chooser
1307 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1308 corresponding to a file extension in the Registry. Patch by Hans
1310 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1312 2008-06-16 Tor Lillqvist <tml@novell.com>
1314 Patches by Hans Breuer:
1316 * glocalfile.c (is_xp_or_later): Handle compiling against older
1317 SDK headers with missing VerifyVersionInfo(). Conditioned on
1318 _MSC_VER, but should probably use some better test.
1319 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1320 uninitialised statfs_result variable on Win32.
1322 2008-06-16 Michael Natterer <mitch@imendio.com>
1324 * *.c: chain up unconditionally in finalize() and dispose(). Also
1325 don't dereference these function pointers when calling them since
1326 that has no meaning at all.
1328 2008-06-16 Ross Burton <ross@burtonini.com>
1330 * gfileenumerator.c:
1331 Remove check for dispose implementation as it annoys Emmanuele.
1333 2008-06-16 Ross Burton <ross@burtonini.com>
1335 Bug 536252 – GFileEnumerator should allow access to the containing
1338 * gfileenumerator.c:
1339 * gfileenumerator.h:
1341 Add g_file_enumerator_get_container() and a container writeable
1342 construct-only property. Also shuffle around typedefs to make it
1345 * glocalfileenumerator.c:
1346 * glocalfileenumerator.h:
1348 Instead of a string filename take a GFile in the constructor and
1349 use it to set the container property.
1352 Update with new API.
1354 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1356 * gfile.c: Make includes more uniform
1358 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1360 * tests/live-g-file.c (sample_struct):
1361 Use less fancy unicode filenames, so the test doesn't fail
1362 on Mac OS X (#531476).
1364 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1366 * === Released 2.17.2 ===
1368 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1370 * === Released 2.17.1 ===
1372 2008-06-11 A. Walton <awalton@gnome.org>
1374 * tests/g-file.c (test_g_file_new_null):
1375 Fix broken test case.
1377 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1379 * pltcheck.sh: We use g_clear_error now.
1381 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1383 * glocalfile.c (g_local_file_enumerate_children): Revert
1384 an unintended change.
1386 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1388 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1390 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1392 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1395 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1396 as icon for the desktop directory, also make user-home and
1397 user-desktop the preferred icons.
1399 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1402 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1403 to add a name to the front of the list.
1405 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1407 Bug 537392 – Additional colon in xattr name
1409 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1410 too. Reported by Alessandro Morandi
1412 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1414 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1417 * glocalfile.c (get_fs_type): Add afs and autofs.
1418 Patch by Danny Baumann.
1420 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1422 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1424 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1425 is no parent. (Owen Taylor, patch by Christian Neumair)
1427 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1429 * gfile.c (g_file_replace_contents): do not leak the output stream.
1431 2008-06-10 Michael Natterer <mitch@imendio.com>
1433 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1434 uninitialized memory as array index.
1436 2008-06-10 Tor Lillqvist <tml@novell.com>
1438 * gcontenttype.c (g_content_type_can_be_executable)
1439 (g_content_type_get_icon) [Win32]: Add TODO comments.
1441 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1443 * xdgmime/Makefile.am: Fix the build
1445 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1447 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1448 in the shared mime database, if available.
1450 * xdgmime/*: Sync with upstream. This brings support for
1451 glob weights, generic icons, and changes the cache format to
1454 2008-05-28 Michael Natterer <mitch@imendio.com>
1456 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1457 the global CPPFLAGS now.
1459 * tests/data-input-stream.c
1460 * tests/data-output-stream.c
1461 * tests/g-file-info.c
1463 * tests/live-g-file.c
1464 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1466 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1468 * === Released 2.17.0 ===
1470 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1471 doesn't complain about leftover files.
1473 2008-05-27 simon.zheng <simon.zheng@sun.com>
1475 * glocalfile.c: (g_local_file_query_filesystem_info):
1476 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1478 2008-05-26 Michael Natterer <mitch@imendio.com>
1480 * gmemoryoutputstream.h: declare
1481 g_memory_output_stream_get_data_size().
1483 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1485 * tests/*: Make tests work
1487 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1489 * gio.symbols: Add g_memory_output_stream_get_data_size.
1491 2008-05-25 Ross Burton <ross@burtonini.com>
1494 Fix typo in error message (#534764).
1496 2008-05-25 Ross Burton <ross@burtonini.com>
1499 Fix circular dependency loop for gioenumtypes.h (#534759).
1501 2008-05-19 Hans Breuer <hans@breuer.org>
1503 * Makefile.am : EXTRA_DIST += makefile.msc
1505 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1508 * gcontenttype.c: (g_content_type_from_mime_type):
1509 New function to create a content type from a mime type. (#527175,
1512 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1514 Bug 532965 – Should not return filesystem::free for certain file systems
1516 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1517 free space for ncpfs.
1519 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1521 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1523 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1524 st_dev might be zero.
1526 2008-05-16 Tor Lillqvist <tml@novell.com>
1528 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1529 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1531 2008-05-13 Bastien Nocera <hadess@hadess.net>
1533 * gfile.c (has_valid_scheme): A URI scheme must start with a
1534 letter, even if later more characters are allowed (#532852)
1536 2008-05-05 Michael Natterer <mitch@imendio.com>
1538 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1539 code from being checked in that breaks the build of applications
1540 which use G_DISABLE_SINGLE_INCLUDES.
1542 * makegioalias.pl: make the alias file include "glib.h" instead of
1545 * gio.symbols: whitespace change to force regeneration of the
1546 alias file after above script change.
1548 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1550 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1552 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1554 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1556 2008-04-28 David Zeuthen <davidz@redhat.com>
1558 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1559 displaying mounts in a subdirectory not accessible to the
1562 2008-04-22 Michael Natterer <mitch@imendio.com>
1564 * Makefile.am: fix library versioning (it was 0.0.0).
1566 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1568 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1569 Default disable all loggings.
1570 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1571 (port_fetch_event_cb): Fixed two macro nits.
1573 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1575 * xdgmime/xdgmime.c: Rework the timestamp checking code
1576 to protect against duplicate directories in XDG_DATA_DIRS.
1577 Fixes fd.o bug 12513, reported by Joe Shaw.
1579 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1581 Partically revert the last commit after realizing that
1582 xdg_mime_media_type_equal doesn't have to init at all.
1584 * xdgmime/xdgmime.h:
1585 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1587 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1589 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1591 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1592 reported by Joe Shaw and Federico Mena Quintero.
1594 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1595 (xdg_mime_media_type_equal): Turn into a wrapper around the
1598 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1599 functions throughout.
1601 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1603 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1604 tolerate an empty TryExec= line without failing; nautilus used
1605 to create launchers with these in previous versions. Fixes #528433
1607 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1609 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1610 after name. Fixes #527132.
1612 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1614 * gfile.c: (g_file_replace):
1617 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1619 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1621 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1622 by Christian Kellner.
1624 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1626 * gunixmounts.c: (g_unix_mount_guess_should_display):
1627 Don't list the user directory as a mount, fix potential issue
1628 when other users have a similar naming and don't special case the
1629 gvfs mounts there since that's not required (#525866)
1631 2008-03-31 Alexander Larsson <alexl@redhat.com>
1633 * glocalfile.c (get_parent):
1636 2008-03-31 A. Walton <awalton@svn.gnome.org>
1638 * gfile.c (g_file_query_file_type):
1639 Always return a GFileType enum value (#520715).
1641 2008-03-31 Alexander Larsson <alexl@redhat.com>
1643 * glocalfileenumerator.c:
1644 Read readdir() info in chunks (of 1000) and sort
1645 the chunks by inode before stat:ing.
1646 This is a 20% performance increase in testing
1647 gvfs-ls on /usr/bin with cold cache.
1649 2008-03-31 Alexander Larsson <alexl@redhat.com>
1651 * gmemoryoutputstream.c:
1652 Clarify docs for g_memory_output_stream_get_size.
1653 Add g_memory_output_stream_get_data_size.
1655 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1659 * gfile.h: Add g_file_query_file_type convenience function
1660 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1662 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1664 * gfileenumerator.c:
1665 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1667 2008-03-28 A. Walton <awalton@svn.gnome.org>
1669 * giomodule.c (_g_io_modules_ensure_loaded):
1670 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1673 2008-03-28 Alexander Larsson <alexl@redhat.com>
1676 (copy_stream_with_progress):
1679 2008-03-28 Alexander Larsson <alexl@redhat.com>
1682 (copy_stream_with_progress):
1683 (file_copy_fallback):
1684 Fallback to g_file_query_info for source size
1685 if g_file_input_stream_query_info fails. (#524579)
1687 2008-03-28 Alexander Larsson <alexl@redhat.com>
1689 * glocalfile.c (g_local_file_move):
1690 Reuse old string instead of adding new one.
1692 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1694 * fen/*.[hc]: still copyright issue. I hate copyright.
1696 2008-03-27 Alexander Larsson <alexl@redhat.com>
1698 * glocalfile.c (g_local_file_move):
1699 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1700 file over directory. This is according to the docs and what the move via
1701 copy+remove fallback does.
1703 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1705 * fen/*.[hc]: Updated copyright.
1707 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1709 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1711 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1713 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1714 not emit attribute changed events when optimizing changed events.
1715 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1718 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1720 * gmountoperation.[hc]: Small documentation additions
1722 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1724 * gunixmounts.c: (guess_mount_type):
1725 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1727 2008-03-19 Alexander Larsson <alexl@redhat.com>
1730 (copy_stream_with_progress):
1731 Bump block side for copy to 64k to minimize
1732 overhead for low latency links. (#523015)
1734 2008-03-16 Tor Lillqvist <tml@novell.com>
1736 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1737 depend on gio.def on Windows.
1739 2008-03-12 David Zeuthen <davidz@redhat.com>
1743 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1745 2008-03-14 Alexander Larsson <alexl@redhat.com>
1749 Avoid redudant tests (#521851)
1750 Patch from Josselin Mouette
1752 2008-03-14 Alexander Larsson <alexl@redhat.com>
1755 (g_file_monitor_is_cancelled):
1756 Fix C89 issue (#521672)
1757 Patch from Jens Granseuer
1759 2008-03-14 Alexander Larsson <alexl@redhat.com>
1761 * fam/fam-helper.[ch]:
1763 Shut down fam (including removing fam GSource) when
1764 module is unloaded (#521513)
1765 Patch from Joe Marcus Clarke
1767 2008-03-14 Alexander Larsson <alexl@redhat.com>
1770 (_g_io_modules_ensure_loaded):
1773 2008-03-14 Alexander Larsson <alexl@redhat.com>
1776 (g_local_file_query_filesystem_info):
1777 Use right define name for f_fstypename member check
1779 2008-03-14 Alexander Larsson <alexl@redhat.com>
1782 * fen/Makefile.am: Added.
1783 * fen/fen-data.[ch]: Added.
1784 * fen/fen-dump.[ch]: Added.
1785 * fen/fen-helper.[ch]: Added.
1786 * fen/fen-kernel.[ch]: Added.
1787 * fen/fen-missing.[ch]: Added.
1788 * fen/fen-node.[ch]: Added.
1789 * fen/fen-sub.[ch]: Added.
1790 * fen/gfendirectorymonitor.[ch]: Added.
1791 * fen/gfenfilemonitor.[ch]: Added.
1793 Added Solaris FEN file notification backend.
1794 Patch from Lin Ma <Lin.Ma@Sun.COM>
1796 2008-03-13 Tor Lillqvist <tml@novell.com>
1798 * Makefile.am: Actually use the gio.def file when linking the
1799 library on Windows. Produce .lib library for Microsoft's toolchain
1800 when possible. Install the .lib and .def file like for the other
1803 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1805 * tests/live-g-file.c:
1806 Include live-g-file in standard set of tests, making a temporary
1807 directory in source structure.
1809 Clean target directory before the tests (write mode only)
1811 2008-03-12 Tor Lillqvist <tml@novell.com>
1813 Bug 517419 - gio win32 directory monitor
1814 Implementation by Vlad Grecescu.
1817 * win32/gwin32directorymonitor.h
1818 * win32/gwin32directorymonitor.c: New files.
1820 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1822 * Makefile.am: Add the win32 subdirectory.
1824 2008-03-12 Tor Lillqvist <tml@novell.com>
1826 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1827 normal struct stat on Unix but struct _stati64 on Windows to have
1828 access to 64-bit file size information. Use that instead of struct
1829 stat in the functions declared here in this private header.
1831 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1832 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1833 warnings about unused functions and variables. Don't set
1834 meaningless attributes like inode numbers on Windows.
1836 2008-03-12 Benjamin Otte <otte@gnome.org>
1839 trim whitespace so gtk-doc groks the function name
1841 2008-03-12 Tor Lillqvist <tml@novell.com>
1843 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1844 returning FALSE, on Win32.
1846 2008-03-11 Alexander Larsson <alexl@redhat.com>
1849 * glocalfileinfo.[ch]:
1850 Correctly implement can_trash by actually
1851 looking for a trash dir, not just assuming
1854 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1856 * === Released 2.16.1 ===
1858 2008-03-11 Alexander Larsson <alexl@redhat.com>
1861 Fix crashes in new constructor and properties code
1863 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1865 * gfile.c: Minor spelling correction in documentation:
1866 existance -> existence.
1868 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1870 * === Released 2.16.0 ===
1872 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1874 * gio.symbols: Remove g_file_contains_file here, too.
1876 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1878 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1879 Samuel Cormier-Iijima)
1881 2008-03-08 Tor Lillqvist <tml@novell.com>
1883 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1886 2008-03-07 Alexander Larsson <alexl@redhat.com>
1889 (g_local_file_query_filesystem_info):
1890 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1891 Patch from Jasper Lievisse Adriaanse
1893 2008-03-06 Tor Lillqvist <tml@novell.com>
1895 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1896 comments for the *_USEC attributes.
1898 2008-03-06 Alexander Larsson <alexl@redhat.com>
1900 * gfile.c (g_file_query_exists):
1901 Add g_return_val_if_fail check (#520700)
1903 2008-03-06 Alexander Larsson <alexl@redhat.com>
1905 * gdesktopappinfo.c:
1908 * gunionvolumemonitor.c:
1911 * tests/live-g-file.c:
1912 * xdgmime/xdgmimecache.c:
1913 Fix sparse warnings (#519489)
1915 2008-03-05 Alexander Larsson <alexl@redhat.com>
1918 Make cancellation threadsafe (i.e.
1919 guarantee its only done once, and always
1922 * glocaldirectorymonitor.c:
1923 Make sure we the monitor lives while the
1924 mounts_changed callback is being called (#520484)
1926 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1928 * gbufferedinputstream.c: Fix typo in parameter
1931 2008-03-04 Alexander Larsson <alexl@redhat.com>
1934 Remove deprecated symbols we kept for one release.
1936 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1939 * goutputstream.c: Tiny documentation corrections.
1941 2008-03-03 Alexander Larsson <alexl@redhat.com>
1943 * gunionvolumemonitor.c:
1945 Fix the adopt_orphan_mount vfunc to take a
1946 volume_monitor reference in an ABI compat way.
1947 This change is not API compat, but the added
1948 arg is not used in the only user of this vfunc, so
1949 all we get is a harmless warning in gvfs (#520169)
1951 2008-03-01 Benjamin Otte <otte@gnome.org>
1954 clarify docs for g_file_delete().
1956 2008-02-29 Alexander Larsson <alexl@redhat.com>
1960 Make sure empty files get text/plain type (#518720)
1962 2008-02-27 Alexander Larsson <alexl@redhat.com>
1968 (g_unix_volume_mount):
1969 Add missing GMountMountFlags argument
1971 2008-02-26 Alexander Larsson <alexl@redhat.com>
1974 (g_local_file_delete):
1975 Handle filesystems (like ntfs-3g) that return EEXIST instead
1976 of ENOTEMPTY (#518816)
1978 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1980 * === Released 2.15.6 ===
1982 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1984 * gfile.c (g_file_find_enclosing_mount):
1985 * ginputstream.c (g_input_stream_set_pending):
1986 * glocalfile.c (g_local_file_find_enclosing_mount):
1987 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1988 * goutputstream.c (g_output_stream_set_pending):
1990 Fixup translator comments (#518578).
1992 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1994 * gfile.c (g_file_find_enclosing_mount):
1996 * glocalfile.c (g_local_file_find_enclosing_mount):
1999 Fix a few typos in translator comments and documentation.
2001 2008-02-25 Alexander Larsson <alexl@redhat.com>
2008 Add translator comments (#518578)
2010 2008-02-25 Alexander Larsson <alexl@redhat.com>
2013 Reintroduce g_file_contains_file, keep around for one
2014 unstable release cycle to avoid crashing to many apps.
2015 Make sure to delete after release.
2017 2008-02-25 Alexander Larsson <alexl@redhat.com>
2020 Remove deprecated g_file_contains_file.
2022 2008-02-25 Alexander Larsson <alexl@redhat.com>
2025 Emit actual change signals in an idle handler.
2026 This avoids reentrance and locking problems in
2027 the file notification backends.
2029 2008-02-25 Alexander Larsson <alexl@redhat.com>
2032 (g_unix_mount_guess_should_display):
2033 Remove type guessing, instead just display
2034 mounts in /media and in ~/.
2036 2008-02-25 Alexander Larsson <alexl@redhat.com>
2039 Make new strings reuse old ones.
2041 2008-02-25 Alexander Larsson <alexl@redhat.com>
2044 Implement trashing and filesystem::readonly for win32 (#517235)
2045 Patch from Yevgen Muntyan
2047 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2049 * gfileinfo.h: Documentation fixes.
2051 2008-02-22 Alexander Larsson <alexl@redhat.com>
2053 * gcontenttype.c (g_content_type_get_icon):
2054 Look at old-style gnome mime icon names too, as many
2055 have not moved to the new style.
2057 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2059 * *.c: Correct the @include in for section docs.
2061 2008-02-21 David Zeuthen <davidz@redhat.com>
2063 * glocalfileinfo.c: (_g_local_file_info_get):
2065 (g_content_type_get_icon): Implement this function by
2066 moving bits from glocalfileinfo.c
2067 (g_content_type_get_description): Unalias before getting
2068 description (#517687)
2070 * gfile.c: (g_file_class_init),
2071 (g_file_query_filesystem_info_async),
2072 (g_file_query_filesystem_info_finish),
2073 (query_filesystem_info_data_free),
2074 (query_filesystem_info_async_thread),
2075 (g_file_real_query_filesystem_info_async),
2076 (g_file_real_query_filesystem_info_finish):
2077 * gfile.h: Implement async version of
2078 g_file_query_filesystem_info()
2080 * gfileinfo.h: Add new attributes for filesystem::use-preview
2082 * gio.symbols: Update
2084 * gthemedicon.c: (g_themed_icon_append_name):
2085 * gthemedicon.h: Add new new convenience function.
2087 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2088 (get_mounts), (get_volumes), (get_connected_drives),
2089 (get_volume_for_uuid), (get_mount_for_uuid),
2090 (g_union_volume_monitor_init), (populate_union_monitor),
2091 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2092 (g_volume_monitor_adopt_orphan_mount):
2094 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2095 monitor implementations to call into the main volume monitor. Also
2096 separate object initialization and volume monitor initialization
2097 such that non-native volume monitors can properly adopt their
2100 2008-02-21 Alexander Larsson <alexl@redhat.com>
2105 2008-02-21 Alexander Larsson <alexl@redhat.com>
2108 Add more documentation about how GFiles work (from #517086)
2110 2008-02-21 Alexander Larsson <alexl@redhat.com>
2114 Add new g_file_has_prefix that does the same as g_file_contains_file.
2115 Deprecate g_file_contains_file and add a macro that converts
2116 it to g_file_has_prefix.
2117 The reason for this change is that the contains_file() name seems to
2118 imply that this does more work than what it does, but its really only
2119 a name match (from #517086)
2124 Update to match the above change.
2126 2008-02-20 Benjamin Otte <otte@gnome.org>
2128 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2129 (g_file_eject_mountable):
2130 even more cases of not returning in error path
2132 2008-02-20 Benjamin Otte <otte@gnome.org>
2134 * gfile.c: (g_file_mount_mountable):
2135 return from function in error path.
2137 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2140 Remove trailing coma in GMountMountFlags struct
2142 2008-02-18 Alexander Larsson <alexl@redhat.com>
2146 * glocalfileoutputstream.c:
2147 Use g_unlink/g_rename instead of unlink/rename;
2148 do not pass raw filenames to g_set_error. (#517239)
2149 Patch from Yevgen Muntyan.
2151 2008-02-18 Alexander Larsson <alexl@redhat.com>
2154 * glocalfileoutputstream.c:
2155 Open files with O_BINARY on windows. (#517140)
2157 2008-02-14 Alexander Larsson <alexl@redhat.com>
2159 * glocalfileoutputstream.c:
2160 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2162 2008-02-14 Alexander Larsson <alexl@redhat.com>
2165 Copy permissions with file on copy (#514084)
2166 This is what cp does and makes sure e.g. the
2167 exec permissions are kept.
2168 Its kinda weird in that it keeps the permission bits
2169 the same while the uid and gid are different. However
2170 the new uid is the user so its not a security issue,
2171 and I've heard no complaints about cp on this issue.
2173 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2175 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2177 2008-02-13 Alexander Larsson <alexl@redhat.com>
2179 * inotify/inotify-path.c:
2180 Define IN_ONLYDIR if not in header (#515346)
2182 2008-02-12 Alexander Larsson <alexl@redhat.com>
2184 * tests/live-g-file.c:
2187 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2189 * === Released 2.15.5 ===
2191 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2193 * gio.symbols: Add g_mount_mount_flags_get_type.
2195 2008-02-11 Alexander Larsson <alexl@redhat.com>
2198 (g_file_info_set_attribute_mask):
2199 (g_file_attribute_matcher_matches_id):
2200 Correctly handle NULL GAttributeMatcher meaning
2201 matches nothing. (Fixes #513492)
2203 2008-02-11 Alexander Larsson <alexl@redhat.com>
2208 Added GMountMountFlags enum and added a flags
2209 argument to all mount calls.
2211 This is an API/ABI change for future extensibility,
2212 as I think we will need at least an
2213 inhibit-autorun flag (the panel needs this).
2214 There are no flags defined yet though.
2216 2008-02-11 Alexander Larsson <alexl@redhat.com>
2219 Added new standard::description attribute.
2220 Requested by Vincent, and useful for both
2223 2008-02-11 Alexander Larsson <alexl@redhat.com>
2225 * gdesktopappinfo.c:
2228 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2230 * *.c: Documentation additions
2232 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2234 * gappinfo.h: Formatting cleanup
2235 * gappinfo.c: Fix up docs.
2237 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2239 * gunixmounts.c: Consistently use getmntent_r() and fall
2240 back to getmntent(). (#515492)
2242 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2244 * gbufferedinputstream.c:
2246 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2248 * tests/data-input-stream.c:
2249 * tests/data-output-stream.c: Portability fixes.
2251 2008-02-08 Alexander Larsson <alexl@redhat.com>
2256 Add g_volume_should_automount.
2259 2008-02-07 Tor Lillqvist <tml@novell.com>
2261 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2262 Win32, too Unix-specific.
2264 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2266 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2267 a local plt if the compiler doesn't support what we want. Bug #514702
2269 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2271 reviewed by: <delete if not using a buddy>
2274 * gunixinputstream.c:
2275 * gunixoutputstream.c:
2277 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2279 * tests/Makefile.am:
2280 * tests/live-g-file.c:
2281 * tests/live-g-file.txt:
2282 New GIO testing module working over real data
2284 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2286 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2287 Fallback to rename() if link() is not available
2288 (when no support on target filesystem)
2290 2008-02-06 Michael Natterer <mitch@imendio.com>
2292 * gfileinfo.c (g_file_info_get_icon): replace
2293 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2295 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2297 * gfile.c (g_file_create):
2298 Documentation update of error codes
2300 2008-02-06 Alexander Larsson <alexl@redhat.com>
2302 * gdesktopappinfo.c:
2303 Update to use both mimeapps.list and
2304 defaults.list as discussed on xdg list.
2306 2008-02-06 Benjamin Otte <otte@gnome.org>
2309 * gfilenamecompleter.c:
2310 Fix some typos in the documentation.
2312 2008-02-06 Alexander Larsson <alexl@redhat.com>
2314 * glocalfile.c (g_local_file_trash):
2315 Don't succeed with trash if newly created
2316 trash dir has the wrong owner. (#514696)
2318 2008-02-05 Alexander Larsson <alexl@redhat.com>
2320 * glocalfile.c (g_local_file_move):
2321 Don't spew warnings when destination is not
2324 2008-02-03 Hans Breuer <hans@breuer.org>
2326 * makefile.msc : update
2328 2008-02-01 Michael Natterer <mitch@imendio.com>
2330 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2331 return value of xdg_mime_list_mime_parents() to a variable of the
2334 2008-02-01 Alexander Larsson <alexl@redhat.com>
2336 * gappinfo.c (g_app_info_launch_uris):
2337 Actually call the launch_uris method, not
2340 2008-02-01 Alexander Larsson <alexl@redhat.com>
2342 * gdesktopappinfo.c (g_desktop_app_info_equal):
2343 Ensure appinfos with no id but same pointer value
2346 2008-02-01 Alexander Larsson <alexl@redhat.com>
2348 * gappinfo.c (g_app_info_launch_default_for_uri):
2351 2008-02-01 Alexander Larsson <alexl@redhat.com>
2355 Add g_app_info_launch_default_for_uri utility
2358 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2360 * gdesktopappinfo.c:
2361 Doc fix for g_app_info_get_default_for_uri_scheme ()
2364 2008-01-30 Alexander Larsson <alexl@redhat.com>
2367 Add doc comment about uris vs GFiles to
2370 * gdesktopappinfo.c:
2371 Ensure uris passed to g_app_info_launch_uris()
2372 are not roundtriped through GFile (as that
2373 may be slightly destructive for e.g. mailto: links)
2375 2008-01-30 Alexander Larsson <alexl@redhat.com>
2377 * tests/data-input-stream.c:
2378 * tests/data-output-stream.c:
2379 C89 fixes from Jens Granseuer (#512849)
2381 2008-01-30 Alexander Larsson <alexl@redhat.com>
2384 Fix gamin/fam difference build issue. (#509419)
2386 2008-01-29 Alexander Larsson <alexl@redhat.com>
2389 * gdesktopappinfo.c:
2390 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2392 2008-01-29 Alexander Larsson <alexl@redhat.com>
2394 * gdesktopappinfo.c:
2395 * gdesktopappinfo.h:
2396 giomodule-priv.h include moved to .c file.
2398 2008-01-29 Alexander Larsson <alexl@redhat.com>
2400 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2401 Remove unused prio/name fields.
2403 2008-01-29 Alexander Larsson <alexl@redhat.com>
2405 * gcontenttype.c (looks_like_text):
2406 Don't treat whitespace as control chars.
2408 2008-01-29 Alexander Larsson <alexl@redhat.com>
2410 * gdesktopappinfo.c:
2411 Lazily create the desktop files for appinfos created
2412 by g_app_info_create_from_commandline() when needed
2413 for mime associations. This allows run-time use
2414 of GAppInfo object without creating unnecessary
2417 2008-01-29 Alexander Larsson <alexl@redhat.com>
2420 Added new symbols to gio.symbols
2422 2008-01-29 Alexander Larsson <alexl@redhat.com>
2425 Add g_file_query_default_handler utility to easily look up
2426 the GAppInfo that handles a file.
2428 * gdesktopappinfo.[ch]:
2430 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2433 Remove unused function
2435 2008-01-29 Alexander Larsson <alexl@redhat.com>
2437 * gfileenumerator.c:
2438 Mention need to free returned value in
2439 g_file_enumerator_next_files_finish docs.
2440 Fix leak if g_file_enumerator_next_files_finish()
2443 2008-01-29 Alexander Larsson <alexl@redhat.com>
2446 (_g_unix_content_type_get_parents):
2447 Use list_parents, not get_parents from xdgmime, because
2448 the later doesn't use the cache.
2450 * xdgmime/xdgmimecache.c:
2451 (_xdg_mime_cache_list_mime_parents):
2452 Don't list the same type as parent multiple times.
2454 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2456 * === Released 2.15.4 ===
2458 2008-01-28 Alexander Larsson <alexl@redhat.com>
2461 Register local vfs with prio 0.
2464 Remove old name and prio class members
2466 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2468 * tests/g-file.c: Disable some tests that are failing in
2469 the absence of a http backend.
2471 2008-01-28 Alexander Larsson <alexl@redhat.com>
2475 Add registration hooks for extension points.
2476 Register the gio extension points.
2478 * fam/gfamdirectorymonitor.c:
2479 * fam/gfamfilemonitor.c:
2480 * glocaldirectorymonitor.[ch]:
2481 * glocalfilemonitor.[ch]:
2482 * gnativevolumemonitor.h:
2483 * gunionvolumemonitor.c:
2484 * gunixvolumemonitor.c:
2487 * inotify/ginotifydirectorymonitor.c:
2488 * inotify/ginotifyfilemonitor.c:
2489 Use the extension points registration instead
2490 of g_type_children().
2492 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2495 * gvolume.[hc]: Document new API.
2497 * gfile.c (g_file_copy_async): Fix docs
2499 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2501 * gbufferedinputstream.c:
2503 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2506 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2508 * glocalfile.c: Avoid trivial differences in translatable strings.
2510 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2512 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2513 build with gcc 3.4 (#509419)
2515 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2517 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2518 (#509994, Murray Cumming)
2520 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2522 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2523 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2524 this allows big jobs to be executed in chunks, instead of blocking
2525 the main loop for a long time.
2527 * gsimpleasyncresult.c:
2528 * giofile.c: Adapt callers.
2530 2008-01-25 Alexander Larsson <alexl@redhat.com>
2532 * gdesktopappinfo.c:
2533 Implement changes discussed on xdg list.
2534 Now we can add supported mimetypes by just using defaults.list
2535 We can also remove associations in defaults.list.
2537 2008-01-25 Alexander Larsson <alexl@redhat.com>
2539 * gdesktopappinfo.c:
2540 Don't make local copy of desktop file
2541 for mimetype changes if the file already
2542 supports the new mimetype.
2544 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2548 * gbufferedinputstream.c:
2549 * glocalfile.c: String improvements. (#511966,
2550 Theppitak Karoonboonyanan)
2552 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2554 * gioscheduler.h: Expand docs a bit.
2556 2008-01-24 Alexander Larsson <alexl@redhat.com>
2559 Add g_drive_get_identifier and
2560 g_drive_enumerate_identifiers
2563 Add g_volume_get_identifier and
2564 g_volume_enumerate_identifiers
2570 Implement identifiers for unix backend
2572 2008-01-24 Alexander Larsson <alexl@redhat.com>
2577 Add g_file_copy_async() (#511580)
2578 Based on patch from Carlos Garcia Campos
2580 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2582 * gioscheduler.c: Some documentation additions.
2584 2008-01-22 Alexander Larsson <alexl@redhat.com>
2586 * gdesktopappinfo.c:
2587 (g_desktop_app_info_new):
2588 Don't leak basename.
2590 2008-01-22 Alexander Larsson <alexl@redhat.com>
2592 * gdesktopappinfo.c:
2593 (g_desktop_app_info_new_from_filename):
2596 2008-01-22 Alexander Larsson <alexl@redhat.com>
2598 * glocalfileinfo.c (get_thumbnail_attributes):
2601 2008-01-22 Alexander Larsson <alexl@redhat.com>
2604 (canonicalize_filename):
2605 Canonicalize paths that start with more than
2609 (compare_two_files):
2610 (test_g_file_new_for_path):
2613 2008-01-22 Alexander Larsson <alexl@redhat.com>
2616 Allow UTF-8 in file:// parse names.
2618 * tests/Makefile.am:
2619 * tests/data-input-stream.c:
2620 * tests/data-output-stream.c:
2621 * tests/g-file-info.c:
2623 Added a bunch of tests from Tomas Bzatek
2625 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2627 * === Released 2.15.3 ===
2629 2008-01-21 Alexander Larsson <alexl@redhat.com>
2631 * gfileinputstream.[ch]:
2632 * gfileoutputstream.[ch]:
2634 Remove duplicated GSeekable functions. (#509990)
2635 Just use the g_seekable_xxx() calls instead.
2637 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2640 * gvolumemanager.c: Whitespace cleanups.
2642 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2643 Use the right mode when creating the file.
2645 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2647 * gfileenumerator.c:
2648 * gfileinputstream.c:
2650 * goutputstream.c: Documentation: Fixed minor typos
2651 and added more mentions of specific _finish() functions.
2653 2008-01-21 Alexander Larsson <alexl@redhat.com>
2655 * inotify/Makefile.am:
2656 * inotify/inotify-helper.c:
2657 * inotify/inotify-kernel.c:
2658 * inotify/inotify-path.c:
2659 * inotify/local_inotify.h: Removed.
2660 * inotify/local_inotify_syscalls.h: Removed.
2661 Removed the included copies of the inotify
2662 headers. We now only use the <sys/inotify.h>
2663 header which exists on modern systems.
2664 This fixes problems on ARM and SH5 (#510448)
2665 but is also generally much cleaner and future
2666 safe. For instance, if other OSes add support
2667 for inotify it should "just work".
2669 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2671 * inotify/*.c: Coding style fixes.
2672 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2673 for the 1/4 Hz timer.
2675 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2678 * gfilemonitor.[hc]:
2679 * gmemoryinputstream.c:
2680 * gmemoryoutputstream.c:
2681 * gmountoperation.c:
2682 * gthemedicon.c: Documentation updates
2684 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2686 * gfile.c: documentation: Fixed more minor
2689 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2691 * gmount.c: (g_mount_remount): documentation:
2692 Mention g_mount_remount_finish() instead of
2693 g_mount_unmount_finish().
2695 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2699 * gfile.c: Fixed some minor typos in the
2702 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2704 * gio/gvolumemonitor.c:
2705 (g_volume_monitor_get_connected_drives):
2706 (g_volume_monitor_get_volumes):
2707 (g_volume_monitor_get_mounts): Documentation:
2708 Clarify the ownership of the regurn GLists.
2710 2008-01-17 Alexander Larsson <alexl@redhat.com>
2713 Add the async find_enclosing_mount version
2714 to the header file too.
2716 2008-01-17 Alexander Larsson <alexl@redhat.com>
2719 Add async version of find_enclosing_mount
2720 with default implementation.
2722 2008-01-17 Alexander Larsson <alexl@redhat.com>
2727 Allow calls to implementation of copy and write
2728 even if the type of the file implementations is
2729 different. This can be used to implement native
2730 upload and download calls in a vfs.
2733 (g_local_file_move):
2734 Protect against the case where move is called
2735 with one file not being local.
2737 Make sure we call the progress callback once
2738 in the native move operation so that the caller
2739 knows how many bytes were copied.
2741 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2744 * gdatainputstream.c:
2746 * gfileoutputstream.c:
2751 * gunixmounts.c: Corrected some typos in the documentation:
2752 occured -> occurred.
2753 its -> it's (where appropriate).
2755 2008-01-16 Alexander Larsson <alexl@redhat.com>
2759 Add g_file_query_exists (#508771)
2761 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2766 * gvolume.c: For async functions that have no non-async
2767 version, document that the GAsyncReadyCallback may be NULL.
2770 2008-01-15 Alexander Larsson <alexl@redhat.com>
2772 * gmemoryinputstream.c:
2773 * gmemoryoutputstream.c:
2774 Don't do pointer arithmetic on void * (#508602)
2775 Patch from Kazuki IWAMOTO
2777 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2779 * === Released 2.15.2 ===
2781 2008-01-14 Alexander Larsson <alexl@redhat.com>
2783 * gfile.c (g_file_monitor_file):
2784 Don't set error here, since we fallback to polling monitor.
2786 2008-01-14 Alexander Larsson <alexl@redhat.com>
2789 (g_file_monitor_directory):
2790 (g_file_monitor_file):
2791 Add GError to file monitor calls
2793 * glocaldirectorymonitor.c:
2794 * glocaldirectorymonitor.h:
2796 * glocalfilemonitor.c:
2797 * glocalfilemonitor.h:
2799 Update for above change
2801 2008-01-14 Alexander Larsson <alexl@redhat.com>
2805 Handle root correctly in g_file_get_relative_path (#508719)
2807 2008-01-14 Alexander Larsson <alexl@redhat.com>
2810 Clean up docs and example for GAsyncResult (#508074)
2812 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2814 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2815 and correct some spelling mistakes. Bug #508108.
2817 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2819 * glocalfileinfo.c: Add a comment.
2821 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2823 * gfileinfo.c: GFileInfo description: Mention
2824 how to actually set attributes in a GFile and how to discover
2825 which attributes are settable. Bug #508378.
2827 2008-01-10 A. Walton <awalton@svn.gnome.org>
2829 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2830 (g_app_info_get_default_for_type):
2831 Check for NULL content types.
2833 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2835 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2837 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2839 * gfile.c: *_async() functions: Several small corrections
2840 to the documentation, mostly correcting copy/paste errors
2841 and improving some sentences.
2843 2008-01-09 Dan Winship <danw@gnome.org>
2845 * glocalfile.c (get_unique_filename): x86_64 fix
2847 2008-01-09 Alexander Larsson <alexl@redhat.com>
2852 Add g_unix_mount_guess_should_display and use
2853 for unix volume monitor backend.
2854 This means we more or less show what the
2855 gnome-vfs backend did.
2856 Based on patch from Padraig O'Briain
2858 2008-01-09 Alexander Larsson <alexl@redhat.com>
2862 Add g_themed_icon_new_with_default_fallbacks
2865 Use default fallbacks for icons
2867 2008-01-09 Alexander Larsson <alexl@redhat.com>
2870 * gmountoperation.[ch]:
2871 Change the API a bit so that unhandled methods
2872 get reported via the reply, rather than by
2873 the signal emission return value. This is because
2874 some handlers can't know this immediately without
2875 doing I/O, and this is an async operation that
2878 2008-01-09 Alexander Larsson <alexl@redhat.com>
2881 * fam/gfamdirectorymonitor.c:
2882 * fam/gfamfilemonitor.c:
2883 Fix double free crash (#508224)
2884 Patch from Joe Marcus Clarke
2886 008-01-07 Matthias Clasen <mclasen@redhat.com>
2888 * === Released 2.15.1 ===
2890 2008-01-07 Alexander Larsson <alexl@redhat.com>
2892 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2893 Fix warning (#507835)
2895 2008-01-07 Alexander Larsson <alexl@redhat.com>
2898 Pass --internal to glib-genmarshal
2901 * gmountoperation.c:
2903 Use better types for signal arguments (#507822)
2905 2008-01-07 Alexander Larsson <alexl@redhat.com>
2908 Build test subdir after .
2909 Remove gdirectorymonitor.[ch]
2911 * gdirectorymonitor.[ch]:
2915 Remove GDirectoryMonitor and make
2916 GFileMonitor the baseclass for both file and
2917 directory monitors. Lift the more generic
2918 rate limiting code from GDirectoryMonitor
2922 * fam/gfamdirectorymonitor.[ch]:
2923 * inotify/ginotifydirectorymonitor.[ch]:
2924 * inotify/inotify-helper.c:
2925 * glocaldirectorymonitor.[ch]:
2928 Update for the removed GDirectoryMonitor.
2930 * gmemoryoutputstream.c:
2931 Remove ununsed variable
2933 2008-01-07 Alexander Larsson <alexl@redhat.com>
2935 * gmemoryinputstream.c:
2936 Translate error strings
2939 * gmemoryoutputstream.[ch]:
2940 New implementation that avoids using GByteArray
2941 in implementation and API. (#506377)
2943 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2945 * tests/*: Add a test for memory input streams.
2947 * Makefile.am: Add tests to SUBDIRS.
2949 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2951 * glocalfilemonitor.c:
2952 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2955 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2957 * gdesktopappinfo.c: Fix a docs typo.
2959 * gfileattribute.c: Add information about extended attributes
2960 to the documentation. (#505058)
2962 2008-01-04 Alexander Larsson <alexl@redhat.com>
2965 * gmountoperation.c:
2966 Use the right type (uint) for the ask_password signal.
2968 2008-01-04 Alexander Larsson <alexl@redhat.com>
2973 Add g_app_info_supports_files()
2974 Remove desktop arg from g_app_info_should_show().
2976 * gdesktopappinfo.[ch]:
2977 Implement g_app_info_supports_files() and new should_show()
2978 Add g_desktop_app_info_set_desktop_env() to set the desktop
2979 for should_show(). (This will be set by gtk+ later)
2981 2008-01-04 Alexander Larsson <alexl@redhat.com>
2984 * gmemoryinputstream.[ch]:
2985 Improve API so that you can use multiple chunks
2986 of memory and custom destroy functions. (#506374)
2988 2008-01-03 Alexander Larsson <alexl@redhat.com>
2991 Handle NULL attribute matchers safely, as we return this
2992 for empty attribute matcher strings.
2994 2008-01-03 Alexander Larsson <alexl@redhat.com>
2996 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2997 Add /usr/local to list of internal mountpoints
2999 2008-01-03 Alexander Larsson <alexl@redhat.com>
3002 Check for HAVE_LCHOWN (#505887)
3004 2008-01-03 Alexander Larsson <alexl@redhat.com>
3008 Add define for selinux context attribute.
3009 Fix missing : -> :: namespace separator change
3010 Fix missing _ -> - name change for xattr-sys.
3013 2008-01-03 Alexander Larsson <alexl@redhat.com>
3016 Link to libglib and libgobject directly (#504879)
3017 Patch from Sebastien Bacher
3019 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3021 * gfile.c: Expanded the g_file_new_for_commandline_arg
3022 description a bit, based on the code and the docs of the
3023 other g_file_new_for_* functions.
3025 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3027 * gfilemonitor.h: Fixed typo in docs.
3029 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3031 Updates to GIO documentation. (#506395, Mikael Hermansson)
3033 * gcontenttype.c: Describe memory management for return value of
3034 g_content_types_get_registered(). Missing piece from #505815.
3035 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3036 GVolume, GDrive, GMounts, which hopefully gives the user less
3037 confusions when using this API. Following explainations from
3038 Alexander Larsson on gtk-devel-list.
3040 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3042 * gfileinfo.c: Expand the long description.
3044 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3047 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3048 fix builds with --disable-visibility. (#500273, Christian Persch)
3050 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3052 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3053 in the list of returned app infos.
3055 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3057 * gappinfo.c: Fix a cross-reference
3059 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3061 * gfileinputstream.c:
3062 * gfileoutputstream.c:
3066 * gdesktopappinfo.c:
3068 * gfileinfo.c: Documentation updates.
3070 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3072 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3075 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3077 * gcontenttype.c (g_content_types_get_registered): Don't return
3078 freed memory (#505815, Mikael Hermansson)
3080 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3082 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3083 used to detect statbuf->st_blocks. (#505042)
3085 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3087 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3088 environment handling. (#504829, Cosimo Cecchi)
3090 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3092 * gappinfo.c: Doc improvements
3094 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3097 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3099 * === Released 2.15.0 ===
3101 2007-12-20 Hans Breuer <hans@breuer.org>
3103 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3104 with symbols gwin32appinfo.obj, added gmount.obj
3105 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3107 2007-12-20 Alexander Larsson <alexl@redhat.com>
3113 * gfilenamecompleter.c:
3116 * gpollfilemonitor.c:
3117 File attribute renames:
3119 fs:: -> filesystem::
3120 id::fs -> id::filesystem
3122 2007-12-20 Alexander Larsson <alexl@redhat.com>
3131 Add GMountUnmountFlags to all unmount and
3133 Add g_mount_remount() call.
3135 2007-12-20 Alexander Larsson <alexl@redhat.com>
3137 * gvfs.c (get_default_vfs):
3138 Fix unused variable warning
3140 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3142 * pltcheck.sh: Update
3144 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3146 * gunionvolumemonitor.c:
3147 * gunixmount.c: Remove C99 comments
3149 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3151 * gio.symbols: Add some missing symbols
3153 2007-12-19 Alexander Larsson <alexl@redhat.com>
3156 Make g_io_modules_load_all_in_directory not unuse
3157 loaded modules so that users of it can do stuff
3159 Init internal "module" types.
3160 Initialize static prio and name for types so that
3161 we don't have to load modules to get it.
3163 * gnativevolumemonitor.h:
3165 Move is_supported to parent class so that
3166 non-native monitors can avoid being initialized
3167 too. (For instance GDaemonVolumeMonitor if we're
3168 not using GDaemonVfs.)
3170 * glocaldirectorymonitor.[ch]:
3171 * glocalfilemonitor.[ch]:
3172 * gunionvolumemonitor.c:
3173 * gunixvolumemonitor.c:
3175 Find plugins using the static prio+name to
3176 avoid unnecessarily loading the modules.
3178 2007-12-19 Alexander Larsson <alexl@redhat.com>
3183 2007-12-19 Alexander Larsson <alexl@redhat.com>
3185 * gunionvolumemonitor.c:
3186 Store the native type as GType, not class so that
3187 we can unload it. But still avoid unnecessarily
3190 2007-12-19 David Zeuthen <davidz@redhat.com>
3192 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3193 add signals 'disconnected' and 'eject-button' on GDrive. Add
3194 signal 'removed' on GVolume and 'unmounted' on GMount.
3196 * gdrive.c: (g_drive_base_init):
3198 * gfile.c: (g_file_mount_mountable),
3199 (g_file_mount_enclosing_volume):
3202 * gmount.c: (g_mount_base_init):
3204 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3205 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3206 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3210 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3212 * *.c: Fix up includes in the section docs.
3214 2007-12-17 Alexander Larsson <alexl@redhat.com>
3216 * gnativevolumemonitor.h:
3217 * gunionvolumemonitor.c:
3218 * gunixvolumemonitor.c:
3219 Add is_supported() to GNativeVolumeMonitorClass so
3220 that we can avoid having to create an object to see
3221 if the backend is supported at runtime.
3222 Also add name member and an env var to pick a specific
3223 volume monitor backend.
3227 Add cancellable to _g_mount_get_for_mount_path()
3229 * glocaldirectorymonitor.c:
3230 * glocalfilemonitor.c:
3231 Avoid loading and unloading modules while sorting.
3233 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3236 * gunixmounts.[hc]: Namespace waste reduction, move some
3237 g_get_unix_mount functions to the g_unix_mount namespace.
3240 * gunixvolumemonitor.c:
3242 * glocaldirectorymonitor.c: Update all callers.
3244 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3246 2007-12-17 Alexander Larsson <alexl@redhat.com>
3249 Add doc comments about what GFile operations are
3250 guaranteed to not block.
3252 2007-12-17 Alexander Larsson <alexl@redhat.com>
3255 Add missing #ifdef fixing OSX build.
3256 (#503334, patch from Richard Hult)
3258 2007-12-14 David Zeuthen <davidz@redhat.com>
3262 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3263 (g_mount_eject), (g_mount_eject_finish):
3265 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3266 (get_volume_for_uuid), (get_mount_for_uuid),
3267 (g_union_volume_monitor_class_init),
3268 (get_default_native_type_with_exclude), (get_default_native_type),
3269 (get_native_type), (update_native_type),
3270 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3271 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3272 (g_unix_mount_can_eject), (eject_unmount_cb),
3273 (eject_unmount_read_error), (eject_unmount_do),
3274 (g_unix_mount_unmount), (g_unix_mount_eject),
3275 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3276 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3277 (g_unix_mount_point_guess_can_eject):
3279 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3280 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3281 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3282 (g_unix_volume_mount), (g_unix_volume_eject),
3283 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3284 * gunixvolumemonitor.c: (get_volume_for_uuid),
3285 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3287 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3288 (g_volume_eject), (g_volume_eject_finish):
3290 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3291 (g_volume_monitor_get_mount_for_uuid):
3294 Provide eject() on both GMount and GVolume and utility functions
3295 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3296 ejected. Introduce the concept of UUID's and wire it into GVolume
3297 and GMount and provide API on GVolumeMonitor to find such
3298 instances. Also handle the case where an external
3299 GNativeVolumeMonitor fails to initialize. Lock around the
3300 _g_get_mount_for_mount_path() function such that volume monitor
3301 implementations won't have to do locking themselves.
3303 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3305 * gdesktopappinfo.c:
3311 * gvolume.h: Documentation updates
3313 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3316 * gfile.h: Doc updates
3318 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3321 * gdesktopappinfo.c: Use hash table iterators.
3323 2007-12-14 Alexander Larsson <alexl@redhat.com>
3326 * gfileattribute.[ch]:
3327 * gfileattribute-priv.h:
3328 Move GFileAttributeValue to a private header, as
3332 Make set_attribute take a type + a pointer instead
3333 of a GFileAttributeValue.
3336 Fix up for above changes.
3337 Add g_file_info_get_attribute_data to get
3338 all info in one call, g_file_info_get_attribute_status
3339 to get the status and g_file_info_get_attribute_as_string.
3343 * glocalfileinfo.[ch]:
3347 Make _guess_type static.
3349 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3352 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3353 made mkenums and friends use temporary files to avoid leaving
3354 empty generated files on failure (#503470).
3356 2007-12-14 Alexander Larsson <alexl@redhat.com>
3358 * gmountoperation.h:
3361 2007-12-14 Alexander Larsson <alexl@redhat.com>
3365 * gfileattribute.[ch]:
3368 * glocalfileoutputstream.c:
3369 * gmountoperation.[ch]:
3370 * goutputstream.[ch]:
3371 Clean up all flags enums to not have _FLAGS in them
3372 Make the names of some of the enums better.
3377 2007-12-14 Michael Natterer <mitch@imendio.com>
3379 * gio.symbols: fix g_io_scheduler symbol names.
3381 2007-12-14 Alexander Larsson <alexl@redhat.com>
3387 * gbufferedinputstream.h:
3388 * gbufferedoutputstream.h:
3391 * gdatainputstream.h:
3392 * gdataoutputstream.h:
3393 * gdesktopappinfo.h:
3394 * gdirectorymonitor.h:
3398 * gfileenumerator.h:
3401 * gfileinputstream.h:
3403 * gfilenamecompleter.h:
3404 * gfileoutputstream.h:
3405 * gfilterinputstream.h:
3406 * gfilteroutputstream.h:
3414 * gmemoryinputstream.h:
3415 * gmemoryoutputstream.h:
3417 * gmountoperation.h:
3420 * gsimpleasyncresult.h:
3422 * gunixinputstream.h:
3424 * gunixoutputstream.h:
3428 * inotify/Makefile.am:
3429 Only allow including <gio/gio.h> from apps
3431 2007-12-14 Alexander Larsson <alexl@redhat.com>
3433 * gioscheduler.[ch]:
3434 * gsimpleasyncresult.c:
3435 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3436 Split out the send_to_mainloop call into two versions instead
3437 of having the block argument.
3439 2007-12-13 Alexander Larsson <alexl@redhat.com>
3441 * gcancellable.[ch]:
3443 * gbufferedinputstream.c:
3444 * gfileenumerator.c:
3445 * gfileinputstream.c:
3446 * gfileoutputstream.c:
3450 g_push/pop_current_cancellable ->
3451 g_cancellable_push/pop_current
3453 2007-12-13 Alexander Larsson <alexl@redhat.com>
3457 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3459 2007-12-13 Alexander Larsson <alexl@redhat.com>
3461 * gmountoperation.h:
3462 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3464 2007-12-12 Alexander Larsson <alexl@redhat.com>
3467 Fix race condition when freeing proxy in
3468 g_io_job_send_to_mainloop().
3470 2007-12-12 Alexander Larsson <alexl@redhat.com>
3476 Make attribute namespace separator "::" instead of ":".
3477 Use - instead of _ as separator in attribute names.
3479 2007-12-12 Alexander Larsson <alexl@redhat.com>
3481 * gbufferedinputstream.h:
3482 * gbufferedoutputstream.h:
3483 * gdatainputstream.h:
3484 * gdataoutputstream.h:
3485 * gdirectorymonitor.h:
3486 * gfileenumerator.h:
3487 * gfileinputstream.h:
3489 * gfileoutputstream.h:
3490 * gfilterinputstream.h:
3491 * gfilteroutputstream.h:
3493 * glocalfileinputstream.h:
3494 * glocalfileoutputstream.h:
3495 * gmemoryinputstream.h:
3496 * gmemoryoutputstream.h:
3497 * gnativevolumemonitor.h:
3499 * gunixinputstream.h:
3500 * gunixoutputstream.h:
3503 s/parent/parent_instance/ in GObjects
3505 2007-12-12 Alexander Larsson <alexl@redhat.com>
3510 No need for padding for interfaces
3512 2007-12-12 Alexander Larsson <alexl@redhat.com>
3516 * gbufferedinputstream.c:
3517 * gbufferedoutputstream.c:
3520 * gdatainputstream.[ch]:
3521 * gdesktopappinfo.c:
3522 * gdirectorymonitor.c:
3524 * gfileattribute.[ch]:
3527 * gfileinputstream.h:
3528 * gfilemonitor.[ch]:
3529 * gfileoutputstream.[ch]:
3530 * gfilterinputstream.h:
3531 * gfilteroutputstream.h:
3534 * gloadableicon.[ch]:
3535 * gmemoryinputstream.c:
3536 * gmountoperation.c:
3538 Fix up a bunch of details in the docs.
3543 2007-12-11 David Zeuthen <davidz@redhat.com>
3545 Rework how volumes, drives and volume monitoring is
3546 done. Previosly the model was
3548 GDrive <1-1> GVolume
3550 where a GDrive instance represented a mount point and a GVolume
3551 instance represented a mounted file system. This patch changes it
3554 GDrive <1-N> GVolume <1-1> GMount
3556 where GMount now serves the purpose of the old GVolume and the new
3557 GVolume serves the purpose of the old GDrive. In addition the new
3558 GDrive interface is used to represent a collection of GVolume
3559 instances (typically partitions) and also contains utility to query
3560 the state of the physical drive the GDrive object represents (such
3561 as checking for media, polling the drive, ejecting the media etc.).
3563 Also implement mounting and unmounting in the Unix volume monitor
3564 backend. A subquent patch will introduce GDrive support for ejection
3568 * gdrive.c: (g_drive_is_media_check_automatic),
3569 (g_drive_is_media_removable), (g_drive_has_media),
3570 (g_drive_can_poll_for_media), (g_drive_eject),
3571 (g_drive_eject_finish), (g_drive_poll_for_media),
3572 (g_drive_poll_for_media_finish):
3574 * gfile.c: (g_file_find_enclosing_mount):
3577 * glocaldirectorymonitor.c:
3578 (g_local_directory_monitor_constructor), (mounts_changed):
3579 * glocalfile.c: (get_mount_info),
3580 (g_local_file_find_enclosing_mount),
3581 (g_local_file_file_iface_init):
3582 * gnativevolumemonitor.h:
3583 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3584 (get_connected_drives), (g_union_volume_monitor_class_init),
3585 (child_volume_added), (child_volume_removed),
3586 (child_volume_changed), (child_mount_added), (child_mount_removed),
3587 (child_mount_pre_unmount), (child_mount_changed),
3588 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3589 (g_union_volume_monitor_remove_monitor),
3590 (_g_mount_get_for_mount_path):
3591 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3592 (guess_system_internal), (_g_get_unix_mounts),
3593 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3594 (g_unix_mount_free), (g_unix_mount_compare),
3595 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3596 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3597 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3598 (type_to_icon), (g_unix_mount_guess_name),
3599 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3600 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3601 (_resolve_symlink), (_resolve_dev_root):
3603 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3604 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3605 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3606 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3607 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3608 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3609 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3610 (g_unix_volume_volume_iface_init):
3612 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3613 (get_mounts), (get_volumes), (get_connected_drives),
3614 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3615 (mountpoints_changed), (mounts_changed),
3616 (g_unix_volume_monitor_init),
3617 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3618 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3619 * gunixvolumemonitor.h:
3620 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3621 (g_volume_mount), (g_volume_mount_finish):
3623 * gvolumemonitor.c: (g_volume_monitor_class_init),
3624 (g_volume_monitor_get_connected_drives),
3625 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3628 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3630 * gmountoperation.h (GPasswordFlags): Close the gap
3632 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3634 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3636 * gdesktopappinfo.[hc]: Remove _-prefixes
3638 2007-12-10 Tor Lillqvist <tml@novell.com>
3640 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3643 2007-12-10 Alexander Larsson <alexl@redhat.com>
3645 * gfile.c (g_file_set_display_name):
3646 Don't hardcode '/' (#502727)
3648 2007-12-09 Hans Breuer <hans@breuer.org>
3650 * makefile.msc : follow lib naming convention
3651 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3652 for user and group name, tested with ../tests/gio-ls
3654 2007-12-09 A. Walton <awalton@svn.gnome.org>
3656 * gdesktopappinfo.c:
3662 * gfileenumerator.c:
3667 * gmemoryinputstream.c:
3668 * gmemoryoutputstream.c:
3670 * gsimpleasyncresult.c:
3671 More documentation cleanup and filling in missing information, bringing
3672 GIO to 99% symbol coverage.
3674 2007-12-08 Hans Breuer <hans@breuer.org>
3676 [gio compiles and links on win32, not sure how much already works]
3677 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3678 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3679 base on win32 API; prefer g_lstat() over lstat(); instead of
3680 localtime_r() use an all GLib implementation on win32;
3681 get_mount_info() still needs a win32 specifc implementation
3682 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3683 win32_get_file_user_info to get owner/group info without uid/gid
3684 * glocalfileinputstream.c : include <io.h> on win32
3685 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3686 definition, use g_win32_ftruncate() for G_OS_WIN32
3687 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3688 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3689 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3690 * makefile.msc : updated
3692 2007-12-07 Alexander Larsson <alexl@redhat.com>
3694 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3695 Avoid warning spew if error == NULL
3697 2007-12-07 Alexander Larsson <alexl@redhat.com>
3700 Update docs wrt etags
3702 2007-12-06 Alexander Larsson <alexl@redhat.com>
3705 Include sys/types.h for dev_t (#501919)
3707 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3711 Make abicheck and pltcheck pass.
3713 2007-12-05 Alexander Larsson <alexl@redhat.com>
3716 * giomodule-priv.h: Added.
3717 * glocaldirectorymonitor.c:
3718 * glocalfilemonitor.c:
3719 * gunionvolumemonitor.c:
3721 Actually add the declaration of _g_io_modules_ensure_loaded
3723 2007-12-05 Alexander Larsson <alexl@redhat.com>
3725 * gdatainputstream.c:
3730 * glocaldirectorymonitor.c:
3731 * glocalfilemonitor.c:
3732 * gunionvolumemonitor.c:
3734 Make g_io_modules_ensure_loaded a private function and
3735 don't pass in the dirname. This means we can do magic
3736 directory finding in the win32 version.
3737 Export the actual load-modules-in-directory code so that
3738 gvfs can reuse that.
3740 2007-12-05 Alexander Larsson <alexl@redhat.com>
3742 * gbufferedinputstream.c:
3743 * gbufferedoutputstream.c:
3746 * gfileenumerator.[ch]:
3747 * gfileinputstream.c:
3748 * gfileoutputstream.[ch]:
3749 * gfilterinputstream.c:
3750 * gfilteroutputstream.c:
3751 * ginputstream.[ch]:
3753 * glocalfileenumerator.c:
3754 * glocalfileinputstream.c:
3755 * glocalfileoutputstream.c:
3756 * gmemoryinputstream.c:
3757 * gmemoryoutputstream.c:
3758 * goutputstream.[ch]:
3761 * gunixinputstream.c:
3762 * gunixoutputstream.c:
3763 Rename all struct members named:
3764 read, write, close, truncate, or mount
3765 to foo_fn, as these are reserved names
3766 and could be defined as macros in libc.
3769 2007-12-04 Alexander Larsson <alexl@redhat.com>
3772 (g_output_stream_close):
3773 Only call flush if non-null.
3775 2007-11-30 Dan Winship <danw@gnome.org>
3777 * ginputstream.c (g_input_stream_set_pending): Make this take a
3778 GError and return a gboolean, and do the "outstanding operation"
3779 check (and the "stream is already closed" check) itself.
3780 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3782 * goutputstream.c (g_output_stream_set_pending)
3783 (g_output_stream_clear_pending): Likewise
3785 * gbufferedinputstream.c:
3786 * gfileinputstream.c:
3787 * gfileoutputstream.c: Update for that
3789 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3790 Like g_simple_async_report_error_in_idle, but takes a GError
3791 rather than building one.
3793 2007-11-30 Dan Winship <danw@gnome.org>
3795 * goutputstream.c: Don't cheat and unset the "pending" flag around
3796 inner calls. Instead, call the class method directly rather than
3797 the wrapper function that checks "pending"
3799 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3801 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3803 2007-12-03 Hans Breuer <hans@breuer.org>
3805 [start of port to win32/msvc]
3806 * gcancellable.c : HAVE_UNIST_H and _pipe()
3807 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3808 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3809 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3811 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3812 * glocalvfs.c : use HAVE_PWD_H
3813 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3814 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3815 * Makefile.am : added to EXTRA_DIST
3817 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3819 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3822 2007-12-03 Alexander Larsson <alexl@redhat.com>
3825 Handle OSX style xattrs API (#500506)
3827 2007-12-03 Alexander Larsson <alexl@redhat.com>
3831 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3833 2007-12-02 A. Walton <awalton@svn.gnome.org>
3837 Documentation accuracy fixes.
3839 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3841 * gioenumtypes.c.template: Fix typo.
3843 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3845 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3847 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3849 * gdirectorymonitor.c:
3850 * gfilemonitor.c: Add properties
3852 * gbufferedoutputstream.c: Don't mark buffer-size property
3855 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3857 * gbufferedoutputstream.c: Add auto-grow property.
3859 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3861 * *.c: Unify the capitalization of section headings.
3863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3865 * gmountoperation.c: Add properties
3867 * gdatainputstream.c: Turn byte-order and newline-type into
3870 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3872 * gioenumtypes.[hc].template: Templates for enum registration
3874 * Makefile.am: Generate gioenumtypes.[hc]
3876 * gio.h: Include gioenumtypes.h
3878 * gfile.h: Add some explicit nicks.
3880 * gio.symbols: Add new symbols
3882 * pltcheck.sh: Adjust
3884 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3886 * *.c: Explain etags and link to the explanation
3888 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3890 * *.c: Explain I/O priority.
3892 * *.c: More coding style fixes.
3894 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3896 * gasyncresult.c: Add another paragraph to the intro,
3897 adjust coding style of example.
3899 2007-11-29 A. Walton <awalton@svn.gnome.org>
3902 Fixes unknown meaning in GAppLaunchContext docs.
3904 Clarify asynchronous ops.
3906 Fix entity tag docs.
3909 Provides missing gtk-doc section, fixes API docs slighly.
3910 * gsimpleasyncresult.c:
3911 Fill in missing info in docs.
3912 * gunixinputstream.c:
3913 * gunixoutputstream.c:
3914 Be more expressive in short description.
3916 Remove gtk-doc stubs for non-public API.
3918 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3920 * *.c: Coding style fixups
3922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3924 * inotify/inotify-helper.c: Don't export the lock from libgio.
3926 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3929 * abicheck.sh: Fix copy-and-paste leftovers
3931 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3933 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3935 2007-11-28 Alexander Larsson <alexl@redhat.com>
3939 Removed unnecessary file
3941 * gdesktopappinfo.[ch]:
3944 * glocaldirectorymonitor.[ch]:
3946 * glocalfileenumerator.[ch]:
3947 * glocalfileinputstream.[ch]:
3948 * glocalfilemonitor.[ch]:
3949 * glocalfileoutputstream.[ch]:
3951 * gnativevolumemonitor.c:
3952 * gpollfilemonitor.[ch]:
3953 * gunionvolumemonitor.[ch]:
3956 * gunixvolumemonitor.[ch]:
3959 * inotify/ginotifydirectorymonitor.[ch]:
3960 * inotify/ginotifyfilemonitor.[ch]:
3961 * inotify/inotify-helper.c:
3962 Append _ to all internal functions
3966 Export symbols needed for modules
3968 2007-11-28 Alexander Larsson <alexl@redhat.com>
3971 * abicheck.sh: Added.
3972 * makegioalias.pl: Added.
3973 * pltcheck.sh: Added.
3974 * gio.symbols: Added.
3977 Initial work on adding symbol handling.
3980 Correct ifdef guard name
3983 * inotify/Makefile.am:
3984 * xdgmime/Makefile.am:
3985 Include toplevel Makefile.decl
3987 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3989 * gcontenttype.c: Move doc comments to the unix section.
3991 * *.[hc]: More trivial doc corrections.
3993 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3995 * gpollfilemonitor.c:
3999 * gdesktopappinfo.c:
4004 * gdatainputstream.c:
4005 * gdatainputstream.h:
4006 * gdataoutputstream.c:
4007 * gdataoutputstream.h:
4008 * gfileinfo.h: Doc cleanups
4010 2007-11-28 Andre Klapper <a9016009@gmx.de>
4012 * gdesktopappinfo.c: Fix a typo.
4014 2007-11-27 Andre Klapper <a9016009@gmx.de>
4016 * glocalfileoutputstream.c: Fix a typo.
4018 2007-11-27 Alexander Larsson <alexl@redhat.com>
4021 Don't include removed headers
4023 2007-11-27 Alexander Larsson <alexl@redhat.com>
4026 * gsocketinputstream.[ch]: Removed.
4027 * gsocketoutputstream.[ch]: Removed.
4028 * gunixinputstream.[ch]: Added.
4029 * gunixoutputstream.[ch]: Added.
4030 Renamed GSocket*Stream to GUnix*Stream and made
4031 it unix-only, since its not really only for sockets
4032 and it only works on unix (but is highly useful there).
4034 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4040 * gbufferedinputstream.c:
4041 * gbufferedinputstream.h:
4042 * gbufferedoutputstream.c:
4043 * gbufferedoutputstream.h:
4047 * gdatainputstream.c:
4048 * gdatainputstream.h:
4049 * gdataoutputstream.c:
4050 * gdataoutputstream.h:
4051 * gdirectorymonitor.c:
4052 * gdirectorymonitor.h:
4059 * gfileenumerator.c:
4060 * gfileenumerator.h:
4065 * gfileinputstream.c:
4066 * gfileinputstream.h:
4069 * gfilenamecompleter.c:
4070 * gfilenamecompleter.h:
4071 * gfileoutputstream.c:
4072 * gfileoutputstream.h:
4073 * gfilterinputstream.c:
4074 * gfilterinputstream.h:
4075 * gfilteroutputstream.c:
4076 * gfilteroutputstream.h:
4089 * glocalfileoutputstream.c:
4090 * gmemoryinputstream.c:
4091 * gmemoryinputstream.h:
4092 * gmemoryoutputstream.c:
4093 * gmemoryoutputstream.h:
4094 * gmountoperation.c:
4095 * gmountoperation.h:
4098 * gpollfilemonitor.c:
4101 * gsimpleasyncresult.c:
4102 * gsimpleasyncresult.h:
4103 * gsocketinputstream.c:
4104 * gsocketinputstream.h:
4105 * gsocketoutputstream.c:
4106 * gsocketoutputstream.h:
4113 * gunixvolumemonitor.c:
4122 Bumps documentation to 93% symbol coverage, touching most
4123 of the public files. Fixes broken function documentation prototypes.
4124 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4125 gtk-doc headers in private files.
4127 2007-11-27 Jürg Billeter <j@bitron.ch>
4129 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4130 (g_buffered_input_stream_read_byte):
4131 * gbufferedinputstream.h:
4132 New functions for efficient access to buffer and simple single byte
4135 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4136 (g_data_input_stream_read_until):
4137 * gdatainputstream.h:
4138 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4139 read_until with multiple stop chars.
4141 2007-11-27 Alexander Larsson <alexl@redhat.com>
4145 * inotify/Makefile.am:
4146 Use the user-specified giomoduledir
4148 2007-11-27 Alexander Larsson <alexl@redhat.com>
4152 Add catch-all gio.h header
4153 Don't install gdummyfile.h
4155 2007-11-26 Alexander Larsson <alexl@redhat.com>
4157 * Makefile.am (gioinclude_HEADERS):
4158 Remove trailing whitespace
4160 2007-11-26 Alexander Larsson <alexl@redhat.com>
4162 Merge gio-standalone into glib
4164 2007-11-25 Christian Kellner <gicmo@gnome.org>
4166 * gio/goutputstream.c:
4167 Fix small mistake in the docs.
4169 2007-11-21 Christian Persch <chpe@gnome.org>
4171 * gio/glocalfile.c: (g_local_file_trash):
4172 Convert filenames to UTF-8 for GError.
4173 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4174 as per xdg base dir spec.
4176 2007-11-21 Christian Persch <chpe@gnome.org>
4178 * gio/gdesktopappinfo.c:
4179 Use that g_key_file_to_data cannot fail.
4181 Use stock defines for the key file group and key names.
4184 2007-11-21 Alexander Larsson <alexl@redhat.com>
4187 (copy_stream_with_progress):
4188 Make sure we do a final progress callback with
4189 the full total size.
4191 2007-11-21 Alexander Larsson <alexl@redhat.com>
4194 Export g_file_copy_attributes
4195 Remove padding as its not needed for interfaces
4197 2007-11-20 Alexander Larsson <alexl@redhat.com>
4202 Add G_IO_ERROR_WOULD_MERGE for
4203 copy/move dir on dir with overwrite.
4205 2007-11-20 Alexander Larsson <alexl@redhat.com>
4208 * gio/glocalfileinfo.c:
4209 Add COPY_NAME (this is an optional
4210 non-modified utf8 version of the name) that
4213 2007-11-20 Alexander Larsson <alexl@redhat.com>
4215 * gio/glocalfileenumerator.c:
4216 Report errors as GIOError, not GFileError
4218 2007-11-16 Alexander Larsson <alexl@redhat.com>
4220 * gio/glocalfileoutputstream.c:
4221 * gio/gwin32appinfo.c:
4222 Fix typos in strings.
4223 Patch from Luca Ferretti <elle.uca@libero.it>
4225 2007-11-15 Alexander Larsson <alexl@redhat.com>
4228 Post release version bump
4230 === gio-standalone 0.1.2 ===
4232 2007-11-15 Alexander Larsson <alexl@redhat.com>
4234 * docs/reference/gio/Makefile.am:
4235 Fix up distcheck by removing weird
4241 2007-11-14 Alexander Larsson <alexl@redhat.com>
4243 * gio/gdesktopappinfo.c:
4244 * gio/glocaldirectorymonitor.c:
4246 * gio/glocalfileinfo.c:
4247 * gio/inotify/inotify-sub.c:
4248 * programs/gio-cat.c:
4249 * programs/gio-copy.c:
4250 * programs/gio-info.c:
4251 * programs/gio-ls.c:
4252 * programs/gio-monitor-dir.c:
4253 * programs/gio-monitor-file.c:
4254 * programs/gio-mount.c:
4255 * programs/gio-move.c:
4256 * programs/gio-rm.c:
4257 * programs/gio-save.c:
4258 * programs/gio-trash.c:
4259 Leak fixes from Kjartan Maraas
4261 2007-11-14 Alexander Larsson <alexl@redhat.com>
4263 * gio/fam/fam-helper.c:
4265 * gio/glocalfileinfo.c:
4269 * gio/inotify/inotify-diag.c:
4270 * gio/inotify/inotify-kernel.c:
4271 Various code cleanups from Kjartan Maraas
4273 2007-11-14 Alexander Larsson <alexl@redhat.com>
4275 * gio/gioscheduler.c:
4277 Set up threadpool so that we cache 2 unused
4278 idle threads for at 15 secs. This means we
4279 will reuse thread-local data (like dbus connections)
4282 2007-11-14 Alexander Larsson <alexl@redhat.com>
4284 * gio/fam/fam-helper.c:
4285 * gio/fam/gfamdirectorymonitor.c:
4286 * gio/fam/gfamfilemonitor.c:
4288 * gio/gcontenttype.c:
4289 * gio/gdatainputstream.c:
4290 * gio/gdataoutputstream.c:
4294 * gio/gfileattribute.h:
4295 * gio/gfileenumerator.c:
4297 * gio/ginputstream.c:
4300 * gio/glocalfileinfo.c:
4301 * gio/goutputstream.c:
4302 * gio/gpollfilemonitor.c:
4303 * gio/gsimpleasyncresult.c:
4304 * gio/gunixmounts.c:
4305 * gio/gunixmounts.h:
4306 * gio/inotify/ginotifydirectorymonitor.c:
4307 * gio/inotify/ginotifyfilemonitor.c:
4308 * gio/inotify/inotify-diag.c:
4309 * gio/inotify/inotify-kernel.c:
4310 * gio/inotify/inotify-path.c:
4312 * gio/test-streams.c:
4313 * programs/gio-info.c:
4314 * programs/gio-monitor-dir.c:
4315 * programs/gio-monitor-file.c:
4316 Various code cleanups from Kjartan Maraas
4318 2007-11-13 Alexander Larsson <alexl@redhat.com>
4321 Handle the uri-scheme calls for dummy files
4323 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4325 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4326 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4327 to avoid clash with the C++ keyword.
4329 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4331 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4332 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4334 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4336 * gio/glocaldirectorymonitor.c:
4337 * gio/glocalfilemonitor.c:
4338 * gio/gunionvolumemonitor.c:
4339 Don't use g_once_init_*() for initializations that could fail and
4340 could leave the initialization variable set to 0 but use GOnce.
4341 This prevents a deadlock on the second call when trying to create
4342 a monitor and no monitor type is available. Thanks to Sven Herzberg
4345 2007-11-11 Sven Herzberg <sven@imendio.com>
4347 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4348 #ifdef (make it work on MacOS X again)
4350 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4352 Fixes Changelog for last two commits (sorry guys).
4354 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4356 * gio/gbufferedinputstream.c:
4357 * gio/gdatainputstream.c:
4359 * gio/gfileoutputstream.c:
4360 * gio/gfilterinputstream.c:
4361 * gio/glocalfileinputstream.c:
4364 More consistency fixes in g*stream.c files.
4365 Significant clean of gfile's documentation, filling in of
4366 asynchronous operations documentation.
4368 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4370 * gio/gasyncresult.c:
4371 * gio/gbufferedinputstream.c:
4372 * gio/gbufferedoutputstream.c:
4373 * gio/gcancellable.c:
4374 * gio/gcontenttype.c:
4375 * gio/gdatainputstream.c:
4376 * gio/gdataoutputstream.c:
4377 * gio/gdesktopappinfo.c:
4380 * gio/gfileattribute.c:
4381 * gio/gio/gfileenumerator.c:
4383 * gio/gfileinputstream.c:
4384 * gio/gfilemonitor.c:
4385 * gio/gfileoutputstream.c:
4386 * gio/ginputstream.c:
4388 * gio/gioscheduler.c:
4389 * gio/gloadableicon.c:
4390 * gio/glocalfileoutputstream.c:
4391 * gio/gmemoryoutputstream.c:
4392 * gio/gmountoperation.c:
4393 * gio/goutputstream.c:
4395 * gio/gsimpleasyncresult.c:
4396 * gio/gunionvolumemonitor.c:
4397 * gio/gunixmounts.c:
4398 * gio/gunixvolume.c:
4402 * gio/gvolumemonitor.c:
4403 Updated documentation stubs, working towards consistency and
4406 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4408 * gio/gmemoryoutputstream.c:
4409 * gio/gmemoryoutputstream.h:
4410 Change g_memory_output_stream_set_free_on_close() to
4411 g_memory_output_stream_set_free_data() as this makes more sense and
4412 is more consistent with GMemoryInputStream.
4414 2007-11-07 Alexander Larsson <alexl@redhat.com>
4421 Change how we find the default vfs so that
4422 we can handle a gvfs failing to init
4424 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4426 * gio/gbufferedoutputstream.c:
4427 * gio/gdatainputstream.c:
4428 * gio/gdataoutputstream.c:
4429 * gio/gfileinputstream.c:
4430 * gio/gfileoutputstream.c:
4431 * gio/gfilterinputstream.c:
4432 * gio/gfilteroutputstream.c:
4433 * gio/ginputstream.c:
4434 * gio/gmemoryinputstream.c:
4435 * gio/gmemoryoutputstream.c:
4436 * gio/goutputstream.c:
4437 * gio/gsimpleasyncresult.c:
4438 * gio/gsocketinputstream.c:
4439 * gio/gsocketoutputstream.c:
4440 Add guards to the remaining public functions, add a TODO for
4441 an unimplemented function and remove some useless guards.
4443 2007-11-07 Alexander Larsson <alexl@redhat.com>
4446 Autoconf checks for the various types of
4447 getpwuid_r and getgrgid_r
4449 * gio/glocalfileinfo.c:
4450 Use the autoconf checks from above
4452 2007-11-07 Alexander Larsson <alexl@redhat.com>
4455 (g_local_file_query_filesystem_info):
4456 Some fixes for the statvfs case
4458 2007-11-07 Alexander Larsson <alexl@redhat.com>
4461 (g_local_file_query_filesystem_info):
4462 Pick the "best" of statfs / statvfs for the system
4463 if both are availible.
4465 2007-11-07 Alexander Larsson <alexl@redhat.com>
4467 Solaris fixes from Halton.Huo@Sun.COM:
4474 * gio/glocalfileinfo.c:
4475 Fix for solaris definition of getpwuid_r
4477 * gio/test-streams.c:
4478 Use G_GNUC_PRETTY_FUNCTION
4480 2007-11-07 Alexander Larsson <alexl@redhat.com>
4482 * gio/gdesktopappinfo.c:
4483 (update_default_list):
4484 Remove double semicolon.
4485 Patch from Jens Granseuer
4487 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4489 * docs/reference/gio/gio-sections.txt:
4490 * gio/gbufferedinputstream.c:
4491 * gio/gbufferedinputstream.h:
4492 * gio/gdatainputstream.c:
4493 * gio/gfileenumerator.c:
4494 * gio/gioscheduler.c:
4495 * gio/gunionvolumemonitor.c:
4497 * programs/gio-save.c:
4498 Fix typo: availible -> available. Unfortuntely this breaks API
4499 and ABI as g_buffered_input_stream_get_available() was renamed.
4501 * gio/gunixmounts.c:
4502 * gio/gbufferedinputstream.c:
4503 Add guards for public functions.
4505 2007-11-06 Ross Burton <ross@openedhand.com>
4507 * docs/reference/gio/Makefile.am:
4508 Fix invalid += usage which automake 1.10 doesn't like.
4510 2007-11-06 Alexander Larsson <alexl@redhat.com>
4513 (g_app_launch_context_class_init):
4516 Patch from Ross Burton
4518 2007-11-06 Alexander Larsson <alexl@redhat.com>
4521 Post release version bump
4523 === gio-standalone 0.1.1 ===
4525 2007-11-06 Alexander Larsson <alexl@redhat.com>
4528 Bump version to 0.1.1
4530 * gio/gsimpleasyncresult.c:
4531 (g_simple_async_result_set_from_error):
4532 Remove bogus g_return_if_fail
4534 2007-11-06 Alexander Larsson <alexl@redhat.com>
4537 The name is gio-standalone
4540 Add top src/builddir to includedir
4542 2007-11-06 Alexander Larsson <alexl@redhat.com>
4544 * docs/reference/gio/gio-sections.txt:
4546 * gio/gbufferedinputstream.c:
4547 * gio/gbufferedoutputstream.c:
4548 * gio/gcancellable.c:
4549 * gio/gdatainputstream.h:
4550 * gio/gdataoutputstream.c:
4551 * gio/gdataoutputstream.h:
4552 * gio/gdirectorymonitor.c:
4554 * gio/gfileattribute.c:
4555 * gio/gfileattribute.h:
4556 * gio/gfileenumerator.c:
4557 * gio/gfileenumerator.h:
4560 * gio/gfileinputstream.h:
4561 * gio/gfilemonitor.c:
4562 * gio/gfileoutputstream.h:
4563 * gio/glocalfilemonitor.h:
4564 * gio/glocalfileoutputstream.h:
4565 * gio/gmemoryinputstream.c:
4566 * gio/gmemoryoutputstream.c:
4567 * gio/gmountoperation.c:
4568 * gio/goutputstream.c:
4569 * gio/goutputstream.h:
4571 * gio/gsimpleasyncresult.c:
4572 * gio/gunixmounts.c:
4573 * gio/gunixmounts.h:
4575 * gio/inotify/inotify-helper.c:
4576 Fix gtk-doc warnings
4578 Patch from Ross Burton
4580 2007-11-06 Alexander Larsson <alexl@redhat.com>
4582 * gio/gfilenamecompleter.c:
4583 (g_filename_completer_get_completions):
4586 * gio/gunixvolume.c:
4587 Remove unused function
4589 Patches from Ross Burton
4591 2007-11-06 Alexander Larsson <alexl@redhat.com>
4596 Padding not needed for interfaces
4598 2007-11-06 Alexander Larsson <alexl@redhat.com>
4600 * gio/gfilemonitor.c:
4604 Make giotypes.h an internal file
4607 * gio/gbufferedinputstream.h:
4608 * gio/gbufferedoutputstream.h:
4609 * gio/gcancellable.h:
4610 * gio/gdatainputstream.h:
4611 * gio/gdataoutputstream.h:
4612 * gio/gdirectorymonitor.c:
4613 * gio/gdirectorymonitor.h:
4618 * gio/gfileattribute.h:
4619 * gio/gfileenumerator.h:
4624 * gio/gfilemonitor.c:
4625 * gio/gfilemonitor.h:
4626 * gio/gfilenamecompleter.c:
4627 * gio/gfilenamecompleter.h:
4628 * gio/gfilterinputstream.h:
4629 * gio/gfilteroutputstream.h:
4630 * gio/ginputstream.h:
4631 * gio/gmemoryinputstream.h:
4632 * gio/gmemoryoutputstream.h:
4633 * gio/gmountoperation.c:
4634 * gio/gmountoperation.h:
4635 * gio/gnativevolumemonitor.c:
4636 * gio/goutputstream.h:
4639 * gio/gsimpleasyncresult.c:
4640 * gio/gsimpleasyncresult.h:
4641 * gio/gsocketinputstream.h:
4642 * gio/gsocketoutputstream.h:
4643 * gio/gthemedicon.c:
4644 * gio/gthemedicon.h:
4648 * gio/gvolumemonitor.c:
4649 * gio/gvolumemonitor.h:
4650 Add padding in classes where it seems useful
4651 Don't include giotypes.h from public headers
4652 Move in Class definitions into c file where possible
4657 2007-11-06 Alexander Larsson <alexl@redhat.com>
4659 * docs/reference/gio/gio-docs.xml:
4660 Better structure for API docs
4662 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4665 * gio/gloadableicon.c:
4666 * gio/gsimpleasyncresult.c:
4667 * gio/gthemedicon.c:
4668 Add some more guards to public functions. Only files missing are now
4671 2007-11-06 Alexander Larsson <alexl@redhat.com>
4673 * docs/reference/gio/gio-docs.xml:
4674 Remove old files, add missing ones
4676 2007-11-06 Alexander Larsson <alexl@redhat.com>
4678 * docs/reference/gio/gio-sections.txt:
4681 Hide implementation classes
4683 * gio/gdriveprivate.h:
4684 * gio/gvolumeprivate.h:
4685 Remove non-existing function declarations
4687 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4690 Fix compilation warnings and add guards to the new functions.
4692 * gio/gasyncresult.c:
4694 Add guards to the public functions.
4697 Implement get_path().
4699 2007-11-06 Alexander Larsson <alexl@redhat.com>
4701 * gio/gfilenamecompleter.c:
4702 Make g_filename_completer_get_completions
4703 return char ** instead of GList for
4706 * docs/reference/gio/gio-docs.xml:
4707 * docs/reference/gio/gio-sections.txt:
4709 * gio/gasyncresult.c:
4710 * gio/gbufferedinputstream.c:
4711 * gio/gbufferedoutputstream.c:
4712 * gio/gcancellable.c:
4713 * gio/gcontenttype.c:
4714 * gio/gdatainputstream.c:
4715 * gio/gdataoutputstream.c:
4716 * gio/gdesktopappinfo.c:
4717 * gio/gdirectorymonitor.c:
4721 * gio/gfileattribute.c:
4722 * gio/gfileenumerator.c:
4725 * gio/gfileinputstream.c:
4726 * gio/gfilemonitor.c:
4727 * gio/gfilenamecompleter.c:
4728 * gio/gfilenamecompleter.h:
4729 * gio/gfileoutputstream.c:
4730 * gio/gfilterinputstream.c:
4732 * gio/ginputstream.c:
4734 * gio/gioscheduler.c:
4735 * gio/gloadableicon.c:
4736 * gio/glocaldirectorymonitor.c:
4738 * gio/glocalfileinputstream.c:
4739 * gio/glocalfilemonitor.c:
4740 * gio/glocalfileoutputstream.c:
4742 * gio/gmemoryinputstream.c:
4743 * gio/gmemoryoutputstream.c:
4744 * gio/gmountoperation.c:
4745 * gio/goutputstream.c:
4746 * gio/gpollfilemonitor.c:
4748 * gio/gsimpleasyncresult.c:
4749 * gio/gsocketinputstream.c:
4750 * gio/gsocketoutputstream.c:
4751 * gio/gthemedicon.c:
4752 * gio/gunionvolumemonitor.c:
4754 * gio/gunixmounts.c:
4755 * gio/gunixvolume.c:
4756 * gio/gunixvolumemonitor.c:
4760 * gio/gvolumemonitor.c:
4761 * gio/gwin32appinfo.c:
4762 Add (mostly stub) doc strings to public functions.
4763 Patch from Andrew Walton (awalton@gmail.com)
4765 2007-11-06 Alexander Larsson <alexl@redhat.com>
4767 * gio/gappinfo.[ch]:
4768 Added GAppLaunchContext object and pass that to launch.
4769 This allows simple implementation of both
4770 launch-on-screen and startup notification via a gtk+
4771 subclass of GAppLaunchContext
4773 * gio/gdesktopappinfo.c:
4774 Implement GAppLaunchContext API
4776 * gio/gwin32appinfo.c:
4779 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4781 * gio/gmountoperation.c:
4782 Add some guards to GMountOperation's public functions.
4784 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4788 * gio/gcancellable.c:
4789 * gio/gdirectorymonitor.c:
4791 * gio/gfileenumerator.c:
4792 * gio/gfilemonitor.c:,
4793 * gio/gfilenamecompleter.c:
4796 * gio/gioscheduler.c:
4800 * gio/gvolumemonitor.c:
4801 Add even more guards to various public functions.
4803 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4806 Add guards to the public functions of GAppInfo.
4808 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4810 * gio/gcontenttype.c:
4811 Add some more guards for public functions.
4813 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4815 * gio/fam/fam-module.c:
4816 * gio/fam/gfamdirectorymonitor.c:
4817 * gio/fam/gfamdirectorymonitor.h:
4818 * gio/fam/gfamfilemonitor.c:
4819 * gio/fam/gfamfilemonitor.h:
4820 * gio/inotify/ginotifydirectorymonitor.c:
4821 * gio/inotify/ginotifydirectorymonitor.h:
4822 * gio/inotify/ginotifyfilemonitor.c:
4823 * gio/inotify/ginotifyfilemonitor.h:
4824 Add proper copyright information and remove an unused variable
4825 in the GInotifyFileMonitor constructor.
4827 * gio/gcancellable.c:
4828 Add a guard for a public function and an assertion to prevent
4829 an undefined program state.
4831 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4833 * gio/gfileattribute.c:
4834 Don't run into an assertion if the given attribute value is NULL
4835 in g_file_attribute_value_get_*() but instead return a fallback
4836 value that makes sense in most situations. Passing them a attribute
4837 value with the wrong type will still run into an assertion.
4839 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4841 * gio/gfileattribute.c:
4843 Add even more guards to the public functions. Also fix the refcounting
4844 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4845 let g_file_info_list_attributes() filter the attributes by namespace
4846 instead of simply ignoring the namespace parameter.
4848 2007-11-03 Sven Herzberg <sven@imendio.com>
4850 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4851 (This makes gio work on MacOS X again)
4853 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4856 Build the gio subdirectory before the docs. Otherwise the build will
4859 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4860 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4861 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4862 Add guards to the public functions.
4864 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4866 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4867 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4868 to prevent a compiler warning.
4870 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4871 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4872 return something in the non-void function find_topdir_for().
4874 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4881 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4883 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4884 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4885 * gwin32appinfo.c (g_win32_app_info_launch):
4886 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4887 envp_for_startup_id, g_desktop_app_info_launch,
4888 g_desktop_app_info_launch_uris):
4890 Give an opaque 'startup_id' string instead of 'envp'.
4891 Support empty file lists for launching new windows.
4892 Fix infinite recursion bug when launching URIs.
4894 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4897 Add guard to the new g_file_get_uri_scheme() function.
4899 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4902 Convert a g_return_val_if_fail() to setting the GError instead as
4903 otherwise applications have to verify the parameter before otherwise
4904 and the parameter might come directly from the user.
4906 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4908 * gio/inotify/ginotify*.[ch]:
4909 Add missing copyright information.
4911 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4914 Add guards in the beginning of public functions to check for valid
4915 parameters and fix a bug in copy_stream_with_progress() that could've
4916 caused writing less bytes than reading.
4917 * gio/glocalfileinfo.c:
4918 Check for a NULL parameter and set the GError accordingly then.
4919 * gio/goutputstream.c:
4920 Fix the same bug as in gfile.c that could've caused writing less bytes
4921 than reading in g_output_stream_real_splice().
4923 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4926 Use the correct gvolumeprivate.h naming
4928 2007-11-01 Christian Kellner <gicmo@gnome.org>
4931 Remove leftover "$(daemon_sources)" entry.
4933 2007-11-01 Christian Kellner <gicmo@gnome.org>
4938 Add copyright information to source files.
4940 2007-11-01 Alexander Larsson <alexl@redhat.com>
4944 Add g_file_get_uri_scheme
4946 2007-11-01 Alexander Larsson <alexl@redhat.com>
4949 * gio/gdesktopappinfo.c:
4950 * gio/gwin32appinfo.c:
4951 Add g_app_info_get_default_for_uri_scheme.
4953 2007-11-01 Alexander Larsson <alexl@redhat.com>
4956 Correct filename for gdriveprivate.h
4958 2007-10-31 Alexander Larsson <alexl@redhat.com>
4961 Rename id:value to id:file
4964 * gio/glocalfileinfo.c:
4967 2007-10-31 Alexander Larsson <alexl@redhat.com>
4969 * gio/gunixvolume.c:
4971 Remove g_volume_get_platform_id, as thats not
4972 needed with the simpler union volume monitor
4974 2007-10-31 Alexander Larsson <alexl@redhat.com>
4977 * gio/guniondrive.[ch]: Removed.
4978 * gio/gunionvolume.[ch]: Removed.
4979 Remove GUnionDrive/Volume
4981 * gio/gunionvolumemonitor.c:
4982 Simplify union volume monitor, now we
4983 only have one native volume monitor and
4984 we use the actual volumes/drives from the
4985 child monitors instead of wrapping them
4987 * gio/gnativevolumemonitor.[ch]:
4988 Base class for native volume monitors.
4989 Includes priority and get_volume_for_mountpoint
4992 Add g_file_find_enclosing_volume
4995 Remove volume name fs attribute
4996 Add readonly fs attribute
4999 Implement readonly attribute
5000 remove volume name attribute
5001 Implement find_enclosing volume
5003 * gio/gunixmounts.c:
5004 Add a volume for "/".
5006 * gio/gunixvolume.[ch]:
5007 Set better name for /
5009 * gio/gunixvolumemonitor.[ch]:
5010 Derive from GNativeVolumeMonitor
5011 Implement get_volume_for_mountpoint
5014 GVolume typedef moved to gfile.h
5016 * gio/gvolumeprivate.h:
5017 Add g_volume_get_for_mount_path
5019 2007-10-31 Alexander Larsson <alexl@redhat.com>
5021 * gio/gunixmounts.[ch]:
5022 Add cache info to unix mount listers
5023 Make getmntent use threadsafe
5024 Add is_system_internal attribute for GUnixMount
5026 * gio/gunixvolume.c:
5027 (g_unix_volume_new):
5028 Use is_system_internal instead of own code
5030 * gio/glocaldirectorymonitor.c:
5031 * gio/gunixvolumemonitor.c:
5032 Update to new gunixmounts API
5037 2007-10-30 Alexander Larsson <alexl@redhat.com>
5040 Add volume name fsinfo attribute
5043 Read volume name info
5045 * gio/gunionvolumemonitor.c:
5046 Fix infinite loops when finalizing a union volume monitor
5048 2007-10-30 Alexander Larsson <alexl@redhat.com>
5050 * gio/goutputstream.[ch]:
5051 Add splice() with default implementation
5053 * gio/gsocketoutputstream.c:
5054 (g_socket_output_stream_write):
5055 Return error on cancellation correctly.
5057 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5059 * gio/glocalfile.c (g_local_file_trash):
5060 Do not leak a string.
5062 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5064 * gio/gfile.c (g_file_load_contents):
5065 Unref the stream after closing it.
5067 2007-10-25 Alexander Larsson <alexl@redhat.com>
5069 * gio/gioscheduler.h:
5072 2007-10-25 Alexander Larsson <alexl@redhat.com>
5076 Add g_file_has_uri_scheme and implement for local files
5078 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5080 * gio/gdesktopappinfo.c: do not leak a string.
5082 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5084 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5085 (g_local_directory_monitor_new):
5086 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5087 (g_local_file_monitor_new):
5088 Only look for the monitor type that should be used the first time
5089 and use g_qsort_with_data() instead of our own bubble sort
5092 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5095 * gio/fam/Makefile.am:
5096 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5097 * gio/fam/fam-helper.h:
5098 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5099 * gio/fam/gfamdirectorymonitor.c:
5100 * gio/fam/gfamdirectorymonitor.h:
5101 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5102 * gio/fam/gfamfilemonitor.h:
5103 * gio/glocaldirectorymonitor.c:
5104 * gio/glocaldirectorymonitor.h:
5105 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5106 * gio/glocalfilemonitor.h:
5107 * gio/inotify/Makefile.am:
5108 * gio/inotify/ginotifydirectorymonitor.c:
5109 * gio/inotify/ginotifydirectorymonitor.h:
5110 * gio/inotify/ginotifyfilemonitor.c:
5111 * gio/inotify/ginotifyfilemonitor.h:
5112 Implement the FAM and Inotify monitors as
5113 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5114 their own GIO module. GLocal(Directory|File)Monitor will use the
5115 monitor with the highest rank that is supported on that machine.
5117 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5120 Change GIO module dir to $(libdir)/gio/modules and change
5121 the log domain from GVFS to GIO. Also only export symbols starting
5122 with g_ in the resulting library.
5123 * gio/test-streams.c: (main):
5124 Set log handler for the GIO log domain.
5126 2007-10-22 Alexander Larsson <alexl@redhat.com>
5128 * gio/gfilenamecompleter.[ch]:
5129 Add g_filename_completer_set_dirs_only
5131 2007-10-22 Alexander Larsson <alexl@redhat.com>
5134 * gio/gurifuncs.[ch]:
5135 Add some simple URI helpers
5137 * gio/gfilenamecompleter.[ch]:
5138 Added object for filename (parse name actually) completion
5141 Handle ~ in parse names
5143 2007-10-17 Alexander Larsson <alexl@redhat.com>
5146 * gio/glocalfileinfo.c:
5147 Add and implement id:value attribute
5149 2007-10-17 Alexander Larsson <alexl@redhat.com>
5152 * gio/guniondrive.c:
5154 Add and implement g_drive_has_volumes
5156 2007-10-17 Alexander Larsson <alexl@redhat.com>
5159 * gio/glocalfileinfo.[ch]:
5160 Add unix:is_mountpoint and implement for local files
5162 2007-10-16 Alexander Larsson <alexl@redhat.com>
5164 * gio/gunionvolumemonitor.c:
5165 (g_union_volume_monitor_init):
5166 Fix up the unix type getting so that it works with gcc
5168 2007-10-12 Alexander Larsson <alexl@redhat.com>
5171 * gio/glocalfileinfo.c:
5172 Add thumbnail:failed to file info
5174 2007-10-12 Richard Hult <richard@imendio.com>
5176 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5177 optimizing away the get_type call (happens with some gcc versions,
5178 like the one shipped with OS X 10.4).
5180 2007-10-12 Alexander Larsson <alexl@redhat.com>
5182 * gio/glocalfileinfo.c:
5183 (_g_local_file_info_set_attribute):
5184 Fix build if not HAVE_XATTR
5185 Patch from Milosz Derezynski <internalerror@gmail.com>
5187 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5189 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5190 around for review, otherwise I would have asked you before
5193 2007-10-11 Alexander Larsson <alexl@redhat.com>
5196 Add thumbnail:path attribute
5198 * gio/glocalfileinfo.c:
5199 Implement thumbnail:path for local files
5201 2007-10-11 Alexander Larsson <alexl@redhat.com>
5203 * gio/glocalfileinfo.c:
5204 (_g_local_file_info_get):
5205 Avoid duplicate icon names
5207 2007-10-11 Alexander Larsson <alexl@redhat.com>
5209 * gio/gthemedicon.[ch]:
5210 Change g_themed_icon_get_names return type to const
5212 2007-10-10 Alexander Larsson <alexl@redhat.com>
5214 * gio/glocalfileinfo.c:
5215 Don't reference freed memory
5217 2007-10-10 Alexander Larsson <alexl@redhat.com>
5219 * gio/gfileattribute.c:
5222 * gio/glocalfileinfo.c:
5225 2007-10-10 Alexander Larsson <alexl@redhat.com>
5228 Check for NULL icons
5230 * gio/gfileattribute.c:
5231 Don't dup when getting objects (same as for string attributes)
5233 * gio/gicon.c (g_icon_equal):
5234 Safely handle NULLs in equal
5236 2007-10-10 Alexander Larsson <alexl@redhat.com>
5239 Fix c++ compilation issues
5240 Patch from Milosz Derezynski <internalerror@gmail.com>
5242 2007-10-10 Alexander Larsson <alexl@redhat.com>
5244 * programs/gio-monitor-dir.c:
5245 Don't crash if dir monitor not supported.
5247 2007-10-09 Alexander Larsson <alexl@redhat.com>
5250 Add missing G_END_DECLS
5252 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5254 * gio/gfile.c: (g_file_set_display_name),
5255 (g_file_query_settable_attributes),
5256 (g_file_query_writable_namespaces):
5257 Return NULL not FALSE on errors as the return type is a pointer.
5259 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5261 * gio/glocalfile.c: (g_local_file_monitor_file):
5262 Don't call monitor_file on the default interface vtable (which
5263 is NULL) but simply return NULL. The caller, GFile, will create a
5264 polling monitor if NULL is returned.
5266 2007-10-09 Alexander Larsson <alexl@redhat.com>
5270 * gio-unix-2.0.pc.in:
5271 Add gio-unix-2.0.pc if OS_UNIX
5274 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5276 2007-10-09 Alexander Larsson <alexl@redhat.com>
5278 * gio/gunixmounts.[ch]:
5279 Make unix mount monitoring API sane.
5280 Now its just a object with mounts_changed
5281 and mountpoints_changed signals.
5283 * gio/glocaldirectorymonitor.c:
5284 * gio/gunixvolumemonitor.c:
5285 Use new mount monitor api
5287 2007-10-09 Alexander Larsson <alexl@redhat.com>
5289 * gio/gunixmounts.[ch]:
5290 Move guess type into one call for mounts and one for mountpoints
5293 * gio/gunixvolume.c:
5296 2007-10-09 Alexander Larsson <alexl@redhat.com>
5298 * gio/gunixmounts.[ch]:
5299 Remove _ prefix in preparation to make this semi-public
5300 Hide implementation of structs
5302 * gio/glocaldirectorymonitor.c:
5304 * gio/gunixvolume.c:
5305 * gio/gunixvolumemonitor.c:
5306 Update for above API changes
5308 2007-10-08 Alexander Larsson <alexl@redhat.com>
5311 Better polling fallback. This also handles the case where we have
5312 a monitor_file implementation, but it fails.
5314 2007-10-08 Alexander Larsson <alexl@redhat.com>
5318 * gio/gunixmounts.c:
5319 * programs/gio-monitor-dir.c:
5320 * programs/gio-monitor-file.c:
5321 Added cancellable to file monitoring calls.
5322 These are really sync calls and need this.
5324 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5326 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5327 (g_local_vfs_class_init):
5328 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5329 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5331 2007-10-05 Alexander Larsson <alexl@redhat.com>
5333 * gio/gdirectorymonitorprivate.h:
5334 * gio/gfilemonitorprivate.h:
5335 * gio/gdirectorymonitor.h:
5336 * gio/gfilemonitor.h:
5337 Remove *private.h and move to the public API, so that
5338 we can do implementations outside gio (such as in gvfs)
5340 * gio/gdirectorymonitor.c:
5341 * gio/gfilemonitor.c:
5342 * gio/glocaldirectorymonitor.c:
5343 * gio/gpollfilemonitor.c:
5344 * gio/inotify/inotify-helper.c:
5345 * gio/fam/fam-helper.c:
5346 Update to the new header names
5348 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5350 * gio/gdirectorymonitor.c:
5351 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5354 2007-10-04 Alexander Larsson <alexl@redhat.com>
5356 * gio/glocalfileinfo.c (get_access_rights):
5357 Set CAN_TRASH when we can move the file.
5358 We should really also check for a parent trash dir.
5360 2007-10-04 Alexander Larsson <alexl@redhat.com>
5362 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5363 Add can_trash access attribute
5365 2007-10-04 Alexander Larsson <alexl@redhat.com>
5368 (g_local_file_trash):
5369 Create info file first. This is per-spec and allows
5370 us to actually trash directories.
5372 2007-10-02 Alexander Larsson <alexl@redhat.com>
5374 * gio/gdesktopappinfo.c:
5375 Implement the new mime support code.
5376 Always set app as handling mimetype when being set as default for it
5378 2007-10-01 Alexander Larsson <alexl@redhat.com>
5380 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5381 Fix up check for xattrs:
5383 2007-10-01 Alexander Larsson <alexl@redhat.com>
5386 (g_app_info_set_as_default_for_extension):
5387 (g_app_info_add_supports_type):
5388 (g_app_info_can_remove_supports_type):
5389 (g_app_info_remove_supports_type):
5390 Make these fail nicely if not implemented
5392 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5394 * gio/glocalfileoutputstream.c:
5395 * gio/glocalfileoutputstream.h:
5400 * programs/gio-save.c:
5401 Add a GFileCreateFlags argument to operations that can create
5404 2007-10-01 Alexander Larsson <alexl@redhat.com>
5406 * gio/gappinfo.[ch]:
5407 * gio/gdesktopappinfo.c:
5408 Add more (stubbed out) mime API needed for nautilus
5410 2007-10-01 Alexander Larsson <alexl@redhat.com>
5413 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5414 Add g_app_info_set_as_default_for_extension.
5416 * gio/gdesktopappinfo.c:
5417 Dummy for g_app_info_set_as_default_for_extension
5418 Support flags in g_app_info_create_from_commandline
5420 * gio/gwin32appinfo.c:
5422 Update for API changes
5424 * gio/gthemedicon.c:
5425 Properly NULL-terminate list of icon names
5427 2007-09-28 Alexander Larsson <alexl@redhat.com>
5429 * gio/gloadableicon.h:
5430 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5432 2007-09-28 Alexander Larsson <alexl@redhat.com>
5435 Install headers in $includedir/gio-standalone/
5437 * gio-2.0.pc.in: Added.
5438 * gio-standalone.pc.in: Removed.
5441 Renamed pkg-config file to match glib (for future move)
5442 Update to the new include dir
5445 Add more TODO comments
5447 2007-09-28 Alexander Larsson <alexl@redhat.com>
5449 * gio/gdesktopappinfo.[ch]:
5450 Expose new_from_filename
5451 Add getter for is_hidden and handle it better
5453 2007-09-28 Alexander Larsson <alexl@redhat.com>
5455 * gio/gfileinfo.[ch]:
5456 Rename g_file_size_format_for_display to
5457 g_format_file_size_for_display.
5458 Now it doesn't have the g_file prefix, so we
5459 can later move it to glib.
5461 2007-09-28 Alexander Larsson <alexl@redhat.com>
5463 * gio/gappinfo.[ch]:
5464 Add g_app_info_get_id and g_app_info_get_executable.
5465 Make all getters non-reffing
5466 Make g_app_info_launch take GFile arguments.
5467 Add must_support_uris argument to g_app_info_get_default_for_type.
5469 * gio/gwin32appinfo.c:
5470 Update to GAppInfo api changes
5472 * gio/gdesktopappinfo.c:
5473 Update to GAppInfo api changes
5474 Implement supports_xdg_startup_notify
5476 * gio/gfileicon.c (g_file_icon_get_file):
5477 Make getter non-reffing.
5482 2007-09-27 Alexander Larsson <alexl@redhat.com>
5484 * gio/gfileinfo.[ch]:
5485 Add g_file_size_format_for_display helper
5487 2007-09-27 Alexander Larsson <alexl@redhat.com>
5489 * gio/glocalfileinfo.c:
5490 Set UNIX_GID from gid, not from uid
5492 2007-09-27 Alexander Larsson <alexl@redhat.com>
5495 Add g_file_set_attributes_async
5497 2007-09-27 Alexander Larsson <alexl@redhat.com>
5499 * gio/glocalfile.c (g_local_file_set_display_name):
5500 Fix set_display_name to actually rename to the right place.
5501 Use lstat to look for existing files so we don't overwrite
5504 2007-09-26 Alexander Larsson <alexl@redhat.com>
5507 Add g_file_set_display_name_async()
5509 2007-09-26 Alexander Larsson <alexl@redhat.com>
5512 Add load_partial_contents async calls
5515 Make internal function static
5517 2007-09-26 Alexander Larsson <alexl@redhat.com>
5519 * gio/glocalfileinfo.c:
5520 Correctly detect broken symlinks
5522 2007-09-26 Alexander Larsson <alexl@redhat.com>
5524 * gio/gcancellable.c (g_cancellable_cancel):
5525 Allow cancel on NULL cancellable
5527 2007-09-25 Alexander Larsson <alexl@redhat.com>
5529 * gio/gsimpleasyncresult.c:
5530 Don't allocate g_error manually.
5531 Fixes g_slice/g_new mixup crash
5533 2007-09-25 Alexander Larsson <alexl@redhat.com>
5535 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5536 Actually set active_backend.
5537 This means the monitor will be cancelled correctly.
5539 2007-09-25 Alexander Larsson <alexl@redhat.com>
5541 * gio/gdirectorymonitor.c:
5542 Set timeout to NULL when destroying
5544 2007-09-25 Alexander Larsson <alexl@redhat.com>
5547 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5548 that is a better description of the error.
5550 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5552 * gio/gvfs.c: (g_vfs_get_local):
5553 Make the local vfs variable static. The same instance should
5556 2007-09-24 Alexander Larsson <alexl@redhat.com>
5558 * gio/glocalfileinfo.c:
5559 Pass in actual length read into sniffer, not the length
5562 2007-09-21 Alexander Larsson <alexl@redhat.com>
5564 * gio/gfileenumerator.c:
5567 * gio/gfileinputstream.c:
5568 * gio/gfileoutputstream.c:
5569 * gio/ginputstream.c:
5570 * gio/goutputstream.c:
5571 Don't crash if async callbacks are NULL
5573 2007-09-20 Alexander Larsson <alexl@redhat.com>
5576 Add async enumerate_children method and default
5579 2007-09-20 Alexander Larsson <alexl@redhat.com>
5582 Add g_file_contains_file & g_file_get_relative_path, since they
5583 were needed for nautilus.
5584 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5589 Implement new methods
5591 2007-09-17 Alexander Larsson <alexl@redhat.com>
5594 * gio/gfileinputstream.[ch]:
5595 * gio/gfileoutputstream.[ch]:
5597 * gio/glocalfileenumerator.[ch]:
5598 * gio/glocalfileinfo.[ch]:
5599 * gio/glocalfileinputstream.c:
5600 * gio/glocalfileoutputstream.c:
5601 * gio/gpollfilemonitor.c:
5602 * programs/gio-copy.c:
5603 * programs/gio-info.c:
5604 * programs/gio-move.c:
5605 Rename get_file_info to query_info() to make it clearer
5606 that these are not simple getters, but do i/o.
5608 2007-09-17 Alexander Larsson <alexl@redhat.com>
5610 * gio/gdatainputstream.[ch]:
5611 * gio/test-streams.c:
5612 Use _read_XXX instead of _get_XXX for the i/o calls
5615 2007-09-17 Alexander Larsson <alexl@redhat.com>
5618 Added needed stuff to TODO comment
5620 2007-09-17 Alexander Larsson <alexl@redhat.com>
5622 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5623 Don't error out removing the backup copy if it doesn't
5626 2007-09-14 Alexander Larsson <alexl@redhat.com>
5628 * programs/Makefile.am:
5629 * programs/gvfs-*.c:
5631 Renamed apps from gvfs-xxx to gio-xxx.
5633 2007-09-14 Alexander Larsson <alexl@redhat.com>
5636 * gio/gfileoutputstream.[ch]:
5637 * gio/glocalfileoutputstream.c:
5638 * programs/gvfs-save.c:
5639 g_file_output_stream_get_etag doesn't do i/o, so remove
5640 cancellation and error.
5642 2007-09-14 Alexander Larsson <alexl@redhat.com>
5645 Add new_etag output to replace_contents functions
5647 2007-09-14 Alexander Larsson <alexl@redhat.com>
5649 * gio/gfileoutputstream.[ch]:
5650 Add async get_file_info and default implementation
5652 2007-09-14 Alexander Larsson <alexl@redhat.com>
5654 * gio/gfileinputstream.c:
5655 Implement fallback wrapper for async get_file_info
5657 2007-09-14 Alexander Larsson <alexl@redhat.com>
5660 Add etag out argument to load_contents
5665 2007-09-14 Alexander Larsson <alexl@redhat.com>
5667 * gio/gcontenttype.c (looks_like_text):
5668 Whitespace like tab, cr and lf do not make the
5671 2007-09-14 Alexander Larsson <alexl@redhat.com>
5673 * gio/gfileinputstream.[ch]:
5674 Add async get_file_info.
5676 2007-09-13 Alexander Larsson <alexl@redhat.com>
5678 * gio/goutputstream.c (g_output_stream_write_all):
5679 Allow NULL for bytes_written
5681 2007-09-13 Alexander Larsson <alexl@redhat.com>
5683 * gio/gmemoryinputstream.[ch]:
5684 Add accessors for data
5686 2007-09-13 Alexander Larsson <alexl@redhat.com>
5688 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5689 Don't crash if length is NULL