1 2009-02-02 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.19.6 ===
5 2009-01-31 Paolo Borelli <pborelli@katamail.com>
7 * glocalfileinfo.c: plug a tiny mem leak.
9 2009-01-29 Ryan Lortie <desrt@desrt.ca>
11 * gioerror.c (g_io_error_from_errno): handle all possible cases of
12 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
14 2009-01-28 Ryan Lortie <desrt@desrt.ca>
16 Bug 568575 – _async functions for GDataInputStream
19 * gdatainputstream.c: add _async versions of read_line and read_until.
21 * ../docs/reference/gio/gio-sections.txt: add new functions
22 * tests/sleepy-stream.c: new test case for async read line
23 * tests/Makefile.am: add new test
25 2009-01-22 Ryan Lortie <desrt@desrt.ca>
27 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
29 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
30 g_buffered_input_stream_fill): check for count < -1 instead of count <
31 0 and copy modified check to non-async version for consistency.
32 document the "count = -1" API.
34 2009-01-22 Ryan Lortie <desrt@desrt.ca>
36 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
38 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
39 after we have successfully read data from the base stream
41 2009-01-20 Ryan Lortie <desrt@desrt.ca>
43 Bug 568394 – dropping the last reference to a stream filter closes the
46 * gfilterinputstream.h:
47 * gfilterinputstream.c: add "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 * gfilteroutputstream.h:
51 * gfilteroutputstream.c: add a "close-base-stream" property and only
52 close the base stream if it is true. issue async close callbacks from
53 correct source object.
54 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
55 before closing the base stream. fix invalid source tag comparison in
56 close_async (was comparing to flush_async).
57 * ../docs/reference/gio/gio-sections.txt:
59 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
60 * tests/filter-streams.c: new test cases
61 * tests/Makefile.am: add new test
62 * tests/.gitignore: add new test
64 2009-01-19 Matthias Clasen <mclasen@redhat.com>
66 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
68 2009-01-19 Matthias Clasen <mclasen@redhat.com>
70 * === Released 2.19.5 ===
72 2009-01-19 Matthias Clasen <mclasen@redhat.com>
74 * gappinfo.h: Document get_commandline vfunc
76 2009-01-19 Matthias Clasen <mclasen@redhat.com>
78 * gunixmounts.c: Some stylistic fixes.
80 2009-01-08 Matthias Clasen <mclasen@redhat.com>
82 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
83 functions in non-UTF8 locale
85 * xdgmime/xdgmimecache.c:
86 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
88 2009-01-08 Matthias Clasen <mclasen@redhat.com>
90 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
92 2009-01-07 Matthias Clasen <mclasen@redhat.com>
94 Bug 566770 – error code 0 for Too many open files is useless
96 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
97 Requested by Olivier Sessink.
99 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
101 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
102 G_IO_ERROR_TOO_MANY_OPEN_FILES.
104 2009-01-05 Matthias Clasen <mclasen@redhat.com>
106 * === Released 2.19.4 ===
108 2009-01-05 Dan Winship <danw@gnome.org>
110 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
111 "const char **" to avoid a warning.
113 * gemblem.c (g_emblem_from_tokens):
114 * gemblemedicon.c (g_emblemed_icon_from_tokens):
115 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
118 2009-01-05 Matthias Clasen <mclasen@redhat.com>
120 Bug 566064 – Add NOATIME flag to query_info_flags
122 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
123 sniffing for mime types. Based on a patch by A. Walton
125 2009-01-05 Ryan Lortie <desrt@desrt.ca>
127 * tests/.gitignore: improve
128 * tests/Makefile.am: add new simple-async-result test
129 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
131 2009-01-05 Ryan Lortie <desrt@desrt.ca>
134 * ../docs/reference/gio/gio-sections.txt:
135 * gsimpleasyncresult.h:
136 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
137 Implementation by Dan Winship. Closes #566170.
139 2008-12-31 Matthias Clasen <mclasen@redhat.com>
143 * gunixinputstream.c:
144 * gunixoutputstream.c: Add a note about being UNIX-specific.
146 2008-12-15 Matthias Clasen <mclasen@redhat.com>
148 * === Released 2.19.3 ===
150 2008-12-12 Dan Winship <danw@gnome.org>
152 * pltcheck.sh: make this work on x86_64
154 2008-12-12 Ryan Lortie <desrt@desrt.ca>
156 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
159 2008-12-12 Ryan Lortie <desrt@desrt.ca>
161 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
162 multiple mount entries match the requested path
164 2008-12-10 Alexander Larsson <alexl@redhat.com>
166 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
167 g_simple_async_result_run_in_thread
169 * gsimpleasyncresult.c:
170 Make g_simple_async_result_run_in_thread check cancellation before
171 calling out to the user in the callback. This means we guarantee
172 reporting cancels of async operations from the main threads, which
173 is probably more in line with what users expect.
175 Note that there are still no such guarantees for cancelling sync
176 operations or cancelling async operation from outside the main
177 thread. Furthermore, the exact behaviour of async implementations
178 not using run_in_thread may differ.
180 2008-12-09 Alexander Larsson <alexl@redhat.com>
182 Bug 515777 - incorrect date&time on copy
185 (g_local_file_class_init):
186 Copy mtime by default
189 Change docs about G_FILE_COPY_ALL_METADATA to not mention
192 2008-12-08 Matthias Clasen <mclasen@redhat.com>
194 Bug 558298 – Hide ecryptfs mounts
196 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
197 so that the desktop does not show both the mount and the target
198 directory. Patch by Martin Pitt
200 2008-12-08 Matthias Clasen <mclasen@redhat.com>
202 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
206 * gunixinputstream.[hc]:
207 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
208 including getters and setters. Patch by Maciej Piechotka
210 2008-12-07 Matthias Clasen <mclasen@redhat.com>
212 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
214 * tests/live-g-file.c: Support compilers that don't understand
215 ISO C varargs macros. Patch by Eric Lamarque
217 2008-12-07 Matthias Clasen <mclasen@redhat.com>
219 Bug 526320 – should not list mounts that the user doesn't have
222 gunixmounts.c: Use g_access() to check accessibility of local devices.
225 2008-12-01 Matthias Clasen <mclasen@redhat.com>
227 * === Released 2.19.2 ===
229 2008-12-01 Matthias Clasen <mclasen@redhat.com>
231 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
232 behaviour change, and update the docs instead, to avoid breaking
235 2008-12-01 Matthias Clasen <mclasen@redhat.com>
237 * === Released 2.19.1 ===
239 2008-12-01 Alexander Larsson <alexl@redhat.com>
243 * gunionvolumemonitor.c:
245 Add and document g_mount_is_shadowed plus calls
246 to set/unset a mount as shadowed
248 2008-11-28 Matthias Clasen <mclasen@redhat.com>
250 * gio/tests/g-icon.c: Comment out two failing tests
252 2008-11-28 Matthias Clasen <mclasen@redhat.com>
254 Bug 555486 – No way to recover command line from GAppInfo
257 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
258 by Hans Petter Jansson.
260 * gdesktopappinfo.c: And implement it here.
262 2008-11-28 Christian Dywan <christian@imendio.com>
264 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
266 2008-11-28 Matthias Clasen <mclasen@redhat.com>
268 Bug 559633 – gtk_image_new_from_gicon does not always work for
271 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
272 extensions on icon names. Proposed by Axel von Bertoldi.
274 2008-11-28 Matthias Clasen <mclasen@redhat.com>
276 Bug 548163 – Nautilus displays wrong error message for too long file
279 * glocalfile.c (g_local_file_set_display_name): Correctly set
280 error conditions if the new name is e.g. too long. Reported
281 by Leonardo Ferreira Fontenelle.
283 2008-11-28 Matthias Clasen <mclasen@redhat.com>
285 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
288 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
289 documented and include the line end in the returned string.
290 Pointed out by Paul Pogonyshev.
292 * tests/data-input-stream.c: Fix the read_line test to test the
293 documented behaviour.
295 2008-11-28 Matthias Clasen <mclasen@redhat.com>
297 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
298 files that have been created by g_app_info_create_from_commandline.
300 2008-11-28 Matthias Clasen <mclasen@redhat.com>
302 Bug 541715 – win32 : patch for warnings and signature problems in
305 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
308 2008-11-28 Matthias Clasen <mclasen@redhat.com>
310 Bug 562393 – g_buffered_input_stream_read_byte broken if data
313 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
314 handling of buffered content. Patch by Philip Withnall
316 * tests/buffered-input-stream.c: Add a testcase for this bug.
317 * tests/Makefile.am: And build it
319 2008-11-28 Matthias Clasen <mclasen@redhat.com>
321 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
324 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
325 '/' away. Spotted by Dan Williams.
327 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
329 Bug 561375 – Leaks mountpoint description
331 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
334 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
336 Bug 561352 – Leak of icon description
338 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
341 2008-11-14 Matthias Clasen <mclasen@redhat.com>
343 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
345 2008-11-12 Tor Lillqvist <tml@novell.com>
347 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
349 * win32/gwinhttpvfs.h: Move the set of function pointers to
350 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
351 pointer to that in the GWinHttpVfsClass.
353 * win32/gwinhttpvfs.c: Move the lookup of functions from
354 winhttp.dll into a function of its own, that stores the pointers
355 in a separate GWinHttpDllFuncs variable. Add two bookeeping
356 booleans lookup_done and funcs_found.
358 Don't call g_io_extension_point_implement() to register the
359 winhttp extension unless winhttp.dll has been successfully loaded
360 and the required functions found in it.
362 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
363 winhttp.dll correspondingly.
365 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
367 reviewed by: Alexander Larsson <alexl@redhat.com>
369 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
370 clearer about the behavior when there's no more content to read.
372 2008-10-27 Federico Mena Quintero <federico@novell.com>
374 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
376 2008-10-27 Tor Lillqvist <tml@novell.com>
378 Bug 557592 - Missing include in gwinhttpfile.c
380 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
383 2008-10-24 Matthias Clasen <mclasen@redhat.com>
385 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
387 * fam/fam-helper.c: Fix a memory leak and formatting issues.
388 Reported by Daniel Marjamäki
390 2008-10-23 Matthias Clasen <mclasen@redhat.com>
392 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
394 2008-10-23 Alexander Larsson <alexl@redhat.com>
396 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
399 (_g_local_file_info_get):
400 Don't return the fallback icon (text-x-generic) for all files.
401 This is causing problems with theme icon lookup and custom mime
402 icons, as the generic fallback overrides custom mime icons in
405 This is a slight change as applications might not get an icon wher
406 they previously did. But there is no guarantee to get on neither before
407 or after this change, so it should not break applications. Changes
408 to nautilus and gtk+ will be done to manually use the generic fallback
409 icon if no icon is found, but this is only required for rare cases.
411 2008-10-21 Alexander Larsson <alexl@redhat.com>
414 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
416 2008-10-21 Alexander Larsson <alexl@redhat.com>
418 Bug 555740 - gicon serialization
419 Based on patch from David Zeuthen
423 Add g_icon_to_string() and g_icon_new_for_string().
429 Implement icon serialization for built-in icon types
433 Added GIcon serialization test
435 2008-10-16 Matthias Clasen <mclasen@redhat.com>
437 * === Released 2.19.0 ===
439 2008-10-16 Matthias Clasen <mclasen@redhat.com>
441 Bug 556422 – g_file_enumerator_next_file: unclear whether return
442 value needs to be freed
444 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
445 the return value docs. Pointed out by Armin Burgmeier
447 2008-10-14 Matthias Clasen <mclasen@redhat.com>
449 Bug 556334 – Warning when building without selinux support
451 * glocalfileinfo.c: Avoid compiler warnings when selinux is
452 disabled. Patch by Pascal Terjan
454 2008-10-14 Matthias Clasen <mclasen@redhat.com>
456 Bug 556335 – make check fails in abicheck.sh
458 * gio.symbols: Add g_file_attribute_info_list_get_type.
459 Pointed out by Pascal Terjan.
461 2008-10-13 Alexander Larsson <alexl@redhat.com>
464 When adding an application as handling a mime type (but
465 not as the default), copy the full list of desktop ids handling
466 that type in before adding the new one on the end of the list.
467 This means we're not accidentally changing the default by overriding
468 the info from the later directories in the search path.
470 Also, fixes small leak of removed_entries.
472 2008-10-12 David Zeuthen <davidz@redhat.com>
475 * gunionvolumemonitor.c:
477 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
479 2008-10-10 Alexander Larsson <alexl@redhat.com>
481 * gfileattribute.c (escape_byte_string):
482 Upper half of byte is >> 4, not >> 8.
483 Found by Kjartan Maraas via sparse
485 2008-10-10 Matthias Clasen <mclasen@redhat.com>
487 Bug 555711 – Wrong fallback order of mimetype icons
489 * gcontenttype.c: Don't prefer generic icons over
490 default mimetype icons.
492 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
493 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
495 Patch by Krysztof Kosiński
497 2008-10-10 Matthias Clasen <mclasen@redhat.com>
499 Bug 555121 – Improved build-time handling of gio module-dir
501 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
502 * Makefile.am: Create the module dir.
504 2008-10-10 Matthias Clasen <mclasen@redhat.com>
506 * gio/glocalfileinfo.c:
507 * gio/tests/live-g-file.c:
508 * gio/gsimpleasyncresult.c: Fix gcc warnings.
510 2008-10-09 Alexander Larsson <alexl@redhat.com>
512 * gunixinputstream.c (g_unix_input_stream_read):
513 Actually return -1 in case of cancelled, not old res value.
515 2008-10-06 Colin Walters <walters@verbum.org>
517 Bug 554745 - GFileAttributeInfoList should be boxed
519 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
520 for convenience of bindings.
521 * gio/gfileattribute.h: Prototype it.
523 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
525 Bug 554970 – segfault when update-desktop-database is not available
528 * gdesktopappinfo.c (run_update_command): Have the error set before
531 2008-10-01 David Zeuthen <davidz@redhat.com>
533 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
534 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
535 instead of the gio URI (such as sftp://foo/file.avi) when using
536 g_app_info_launch() and friends. With a sufficiently recent gvfs,
537 apps using gio+gvfs will map the FUSE file:// URI back to the gio
538 URI (and thus bypass the fuse daemon) thanks the patch from bug
539 #530654. Since Nautilus is an user of g_app_info_launch() it
540 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
541 when launced via the file manager. Win. Fixes bug #528670.
543 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
544 mapping to the description of GAppInfo.
546 2008-09-30 Tor Lillqvist <tml@novell.com>
548 * tests/Makefile.am: Build desktop-app-info only on Unix.
550 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
551 g_critical(). Pass a large enough result buffer to
552 GetVolumePathNameW(). Just use MAX_PATH.
554 2008-09-29 David Zeuthen <davidz@redhat.com>
556 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
558 2008-09-26 Dan Winship <danw@gnome.org>
560 * tests/data-input-stream.c:
561 * tests/data-output-stream.c:
562 * tests/live-g-file.c:
563 * tests/memory-input-stream.c:
564 * tests/memory-output-stream.c: Use g_assert_error() and
567 2008-09-26 Matthias Clasen <mclasen@redhat.com>
569 Bug 545350 – GAppInfo deletion
570 Bug 545351 – Reset associations for content type
573 * gappinfo.[hc]: New functions g_app_info_can_delete,
574 g_app_info_delete and g_app_info_reset_type_associations.
577 * gwin32appinfo.c: Implementations of these.
580 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
582 2008-09-26 Dan Winship <danw@gnome.org>
584 Bug 505361 – gunixinputstream.c assumes poll() available
585 Bug 509446 – portable blocking gio cancellation
587 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
588 GPollFD for a cancellable (which is slightly more complicated on
591 * gunixinputstream.c (g_unix_input_stream_read):
592 * gunixoutputstream.c (g_unix_output_stream_write): Use
593 g_cancellable_make_pollfd() and g_poll() rather than using poll()
596 * tests/unix-streams.c: test of GUnixInputStream,
597 GUnixOutputStream, and GCancellable.
599 2008-09-26 Dan Winship <danw@gnome.org>
601 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
602 cast to stop a gcc warning
604 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
607 2008-09-25 Dan Winship <danw@gnome.org>
609 Bug 553426 - cancellable clarifications
611 * gcancellable.c (g_cancellable_class_init): Add a note to the
612 "cancelled" signal docs warning about thread-safety issues
613 (g_cancellable_cancel): Note that cancelling an asynchronous
614 operation takes effect asynchronously, not immediately.
616 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
618 * gioenums.h: Add new GFileCopyFlag, to leave target file with
619 default perms, instead of setting the source file perms, in a copy
622 * gfile.c (g_file_copy_attributes)
623 (build_attribute_list_for_copy)
624 (should_copy): Not copy "unix::mode" attribute if we have received
625 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
627 2008-09-20 Matthias Clasen <mclasen@redhat.com>
629 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
631 2008-09-17 Matthias Clasen <mclasen@redhat.com>
633 * === Released 2.18.1 ===
635 2008-09-16 Michael Natterer <mitch@imendio.com>
637 * gcontenttype.c (g_content_type_guess): can't assign the return
638 value of g_strdupv() to an array. Fill the array manually with
639 const strings instead (it is never freed anyway). Fixes the
640 build. Also fixed indentation.
642 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
644 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
645 Fix trivial typo to unbreak the build (there was a colon
646 instead of a semicolon at the end of a statement).
648 2008-09-15 Matthias Clasen <mclasen@redhat.com>
650 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
653 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
656 2008-09-15 Matthias Clasen <mclasen@redhat.com>
658 Bug 551681 – g_content_type_guess() too naive with filenames
660 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
661 at the end of the filename, and declare it a directory.
662 Patch by Bastien Nocera
664 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
666 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
669 * gdesktopappinfo.c: add a note in the docs clarifying what the
670 "filename" parameter really is.
672 2008-09-12 Tor Lillqvist <tml@novell.com>
674 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
675 FormatMessage() etc here. Call g_win32_error_message() instead
676 which already does all that. Besides, the code was broken as it
677 called the default "A" version of FormatMessage() but still
678 thought it produced a wide string.
680 2008-09-12 Michael Natterer <mitch@imendio.com>
682 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
683 in the documentation.
685 2008-09-08 Christian Neumair <cneumair@gnome.org>
687 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
688 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
689 Use non-blocking pipe for mount helper I/O. Fixes #550647.
691 2008-09-06 Matthias Clasen <mclasen@redhat.com>
693 Bug 551149 – xdgmime mem leak
695 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
696 a memory leak. Patch by Christian Persch
698 2008-09-04 Tor Lillqvist <tml@novell.com>
700 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
703 2008-09-02 Matthias Clasen <mclasen@redhat.com>
705 * === Released 2.18.0 ===
707 2008-09-02 Michael Natterer <mitch@imendio.com>
709 * *.h: big header formatting cleanup: indentation, vtable
710 formatting, consistent spacing in (* vfunc), trailing whitespace
711 removal. Formatting should be pretty consistent in all GIO headers
714 2008-09-02 Matthias Clasen <mclasen@redhat.com>
716 * gmount.h: Document guess_content_type sync vfunc.
718 2008-09-02 Michael Natterer <mitch@imendio.com>
720 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
721 fix parent_class member to be GFilterOutputStreamClass (not
722 GOutputStreamClass). Drop three pointers of padding, which is
723 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
724 so the class struct size stays the same.
726 2008-09-02 Matthias Clasen <mclasen@redhat.com>
728 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
730 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
731 nonexisting return values. Pointed out by Cosimo Cecchi.
733 2008-08-23 Tor Lillqvist <tml@novell.com>
735 Bug 548988 - g_file_replace fails on Windows when the target file
738 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
739 Windows, close the file before potentially renaming it (in case we
740 have been writing to a file with a temporary name).
742 (g_local_file_output_stream_close, handle_overwrite_open): Use
743 GLocalFileStat instead of plain struct stat, for passing to
744 _g_local_file_info_create_etag(). Thus also use _fstati64()
745 instead of plain fstat() on Windows.
747 2008-08-18 Matthias Clasen <mclasen@redhat.com>
749 * === Released 2.17.7 ===
751 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
753 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
756 2008-08-13 Tor Lillqvist <tml@novell.com>
758 * win32/gwinhttpvfs.c
759 * win32/gwinhttpvfs.h
760 * win32/gwinhttpfile.c
761 * win32/gwinhttpfileinputstream.c
762 * win32/gwinhttpfileoutputstream.c: Refactor some common code
763 snippets into helper functions. Check HTTP response status
764 codes. Implement g_winhttp_file_query_info(), looking at
765 Content-Length, Content-Type and Last-Modified.
767 * win32/winhttp.h: Add some symbolic constants that are not
768 publicly documented. Just a handful, so it should be OK to use
769 information from the Windows SDK's headers.
771 2008-08-13 Tor Lillqvist <tml@novell.com>
773 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
776 * win32/gwin32directorymonitor.c
777 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
779 2008-08-13 Matthias Clasen <mclasen@redhat.com>
782 * goutputstream.c: Add intro docs.
784 2008-08-13 Tor Lillqvist <tml@novell.com>
786 * win32/gwinhttpfileoutputstream.c
787 (g_winhttp_file_output_stream_write): Don't write the
788 Content-Length header ourselves, WinHttpSendRequest() takes care
789 of that when the dwTotalLength parameter is non-zero. Increment
790 offset by the number of actual bytes sent, although I wonder if
791 such a scenario is possible where less than requested would be
792 sent and accepted by the server without errors.
794 2008-08-13 Tor Lillqvist <tml@novell.com>
796 * win32/gwinhttpvfs.c
797 * win32/gwinhttpvfs.h
798 * win32/gwinhttpfile.c
799 * win32/gwinhttpfile.h
800 * win32/gwinhttpfileinputstream.c
801 * win32/gwinhttpfileinputstream.h
802 * win32/gwinhttpfileoutputstream.c
803 * win32/gwinhttpfileoutputstream.h: New files implementing
804 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
805 Windows. The implementation uses the WinHttp API. Both reading and
806 writing are supported, i.e. GET and PUT requests. When writing,
807 each write call is done using a separate PUT request with a
808 Content-Range header. Requests for file URIs and plain pathnames
809 are forwarded to GLocalVfs.
811 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
812 WINE. Used as there is no <winhttp.h> bundled with mingw, and
813 requiring people to download the Windows SDK just for this one
814 header is not reasonable.
816 * win32/Makefile.am: Add above files.
818 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
819 the plumbing for the above.
821 2008-08-11 Sven Neumann <sven@gimp.org>
823 * gfilenamecompleter.c
824 * glocaldirectorymonitor.c
826 * gunionvolumemonitor.c
830 * gunixvolumemonitor.c
833 * gwin32volumemonitor.c: use canonical signal names.
835 2008-08-11 Tor Lillqvist <tml@novell.com>
837 * Makefile.am: Put a list of the platform-dependent .la files in
838 the subdirectories in the platform_deps Make variable, and make
839 libgio-2.0.la depend on that, so that it gets relinked if one of
840 the dependent libraries has changed.
842 2008-08-11 Tor Lillqvist <tml@novell.com>
844 * Makefile.am (platform_libadd): Remove -lwininet which had been
845 added by mistake. We will probably eventually be using WinHTTP,
846 not the older WinInet anyway. (Actually I am working on it.)
848 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
850 Bug 547080 – g_file_copy leaks expected errors
852 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
853 before trying the next fallback routine.
855 2008-08-09 Loïc Minier <lool@dooz.org>
857 Bug 535124 – umask 002 not being applied for new directories, new
858 files get the correct umask
860 * gfile.c (g_file_make_directory)
861 (g_file_make_directory_with_parents): Document ownership and
862 permissions of newly created directories as being the default
865 2008-08-08 Loïc Minier <lool@dooz.org>
867 Bug 535124 – umask 002 not being applied for new directories, new
868 files get the correct umask
870 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
873 2008-08-08 Tor Lillqvist <tml@novell.com>
875 * gwin32mount.c: Remove unused code. Whitespace cleanup.
877 * gwin32volumemonitor.c (get_connected_drives): Put questionable
878 code that didn't actually do anything inside #if 0, and add a
879 comment wondering what the code was supposed to do. This also gets
880 rid of a leftover debugging printout.
882 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
884 * gfileicon.c (g_file_icon_get_property)
885 (g_file_icon_set_property): New functions.
886 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
888 (g_file_icon_new): Use the property (bug #546132).
890 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
892 * gthemedicon.c (g_themed_icon_get_property): Also handle
893 `PROP_USE_DEFAULT_FALLBACKS'.
894 (g_themed_icon_class_init): Make
895 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
897 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
899 Bug 546371 – Improve docs re g_file_monitor
901 * gfilemonitor.c: Mention g_file_monitor() in the docs.
903 2008-08-04 Matthias Clasen <mclasen@redhat.com>
905 * === Released 2.17.6 ===
907 2008-08-04 Matthias Clasen <mclasen@redhat.com>
909 * === Released 2.17.5 ===
911 2008-08-04 Matthias Clasen <mclasen@redhat.com>
913 Bug 546017 – Don't copy attributes when copying a symlink
915 * gfile.c (g_file_copy_attributes): Specify
916 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
917 g_file_set_attributes_from_info. Patch by Christian Kellner
919 2008-08-04 Matthias Clasen <mclasen@redhat.com>
921 * gemblemedicon.[hc]:
923 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
924 a bit more extensible. Work by Clemens Buss.
926 * gioenums.h: Add GEmblemOrigin.
929 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
931 Bug 546079 – leak in xdgmime
933 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
935 2008-08-03 Tor Lillqvist <tml@novell.com>
937 * win32/gwin32directorymonitor.h
938 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
941 2008-08-03 Tor Lillqvist <tml@novell.com>
943 * win32/gwin32directorymonitor.c
944 (g_win32_directory_monitor_callback): Make prototype match
945 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
946 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
949 (g_win32_directory_monitor_constructor):
950 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
951 names in the GLib API on Windows, so convert to UTF-16 and open
954 2008-08-03 Tor Lillqvist <tml@novell.com>
956 Bug 541036 - Gnumeric crashes when trying to open Desktop or
957 user's folder under Windows
959 * win32/gwin32directorymonitor.c
960 (g_win32_directory_monitor_constructor): Ignore error from
961 CreateFile() when opening directory. Instead of asserting, just
962 store INVALID_HANDLE_VALUE then in
963 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
964 ReadDirectoryChangesW().
965 (g_win32_directory_monitor_cancel): Don't attempt to close
966 directory handle if it is INVALID_HANDLE_VALUE.
968 2008-08-01 Matthias Clasen <mclasen@redhat.com>
970 * gdesktopappinfo.c: Remove debug spew
972 2008-08-01 Hans Breuer <hans@breuer.org>
974 * makefile.msc : add gemblembedicon
976 2008-07-30 Matthias Clasen <mclasen@redhat.com>
978 Bug 545457 – gdmsetup crashed with SIGSEGV in
979 g_unix_mount_guess_should_display()
981 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
982 crash if no mount is found.
984 2008-07-28 Matthias Clasen <mclasen@redhat.com>
986 Bug 545203 – gfile.c: argument is different type.
988 * gfile.c (open_read_async_thread): Pass a GError **
989 to g_file_set_error_literal.
990 Reported by Kazuki Iwamoto
992 2008-07-28 Matthias Clasen <mclasen@redhat.com>
994 Bug 545157 – wrong/no list of "open with" applications for .cc and
997 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
998 Collect all ancestors, not just direct parents. Pointed
999 out by Bastien Nocera
1001 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1003 * Makefile.am: Install gemblemedicon.h
1005 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1007 * gemblemedicon.[hc]: Add a GIcon implementation that can
1008 add an emblem to another icon.
1015 * gfileicon.c: Small documentation additions.
1017 2008-07-28 Tor Lillqvist <tml@novell.com>
1019 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1022 2008-07-27 Tor Lillqvist <tml@novell.com>
1024 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1026 2008-07-24 David Zeuthen <davidz@redhat.com>
1030 Also export a g_mount_guess_content_type_sync() function.
1032 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1034 529694 – SELinux context setting support
1036 * gfileinfo.c: Support setting selinux attributes.
1037 Patch by Tomas Bzatek
1039 2008-07-22 Priit Laes <plaes@plaes.org>
1041 Bug 544140 - fam-helper 64-bit issue?
1043 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1045 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1047 * === Released 2.17.4 ===
1049 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1051 * gvolumemonitor.[hc]:
1052 * gmountoperation.c:
1056 * gmount.c: Documentation fixes
1058 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1060 543504 – crash in Epiphany Web Browser: Opening local file
1064 * gdesktopappinfo.c:
1071 * gvolume.c: Register types thread-safely.
1072 Patch by Christian Persch
1074 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1076 * gcontenttype.c: Remove debug spew
1078 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1080 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1083 * fen/fen-kernel.c: Remove a warning that was causing
1084 crashes. Reported by Lin Ma.
1086 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1088 Bug 543040 – async reading on dummy file will crash on
1091 * gfile.c (open_read_async_thread): Cope with read_fn being
1092 NULL. Reported by Lin Ma.
1094 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1097 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1099 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1102 * gdesktopappinfo.h:
1103 * giomodule.c: Rename a chapter id to avoid filename conflict.
1105 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1107 Bug 540616 – mem leak in filechooser button
1109 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1110 the mount entry. Reported by Chrisitan Persch
1112 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1114 * gfile.c: Small documentation fixes.
1116 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1118 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1120 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1125 * gmount.c: Documentation improvements.
1127 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1130 * gmount.[hc]: Add g_mount_guess_content_type().
1132 2008-07-06 David Zeuthen <davidz@redhat.com>
1135 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1136 is needed for easily handling adoption of foreign volumes by
1137 out-of-process volume monitors (#541793)
1139 2008-07-06 David Zeuthen <davidz@redhat.com>
1141 * gvolumemonitor.[ch]:
1142 * gunionvolumemonitor.c: Export the eject-button signal on the
1143 volume monitor class (#541794).
1145 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1147 * gappinfo.c: More doc tweaks
1149 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1151 * gappinfo.c: Clarify some docs
1153 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1155 * gdesktopappinfo.c: Fix a stupid mistake.
1157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1159 * === Released 2.17.3 ===
1161 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1163 * gfilemonitor.c: Fix the build.
1165 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1167 Bug 536160 – Add g_file_monitor()
1170 * gfile.[hc]: Add g_file_monitor which can return either
1171 a file or a directory monitor. Proposed by Behdad Esfahbod
1173 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1175 536733 – gio build failure on Irix
1177 * glocalfile.c: Use a configure check for structfs.f_bavail.
1179 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1181 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1184 * gdesktopappinfo.[hc]: Add a function to create a
1185 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1187 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1189 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1191 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1193 * gunixmounts.c: Fix a doc typo.
1195 2008-07-01 Cody Russell <bratsche@gnome.org>
1197 * gio/gcontenttype.c:
1198 * gio/gwin32appinfo.c:
1199 * gio/gwin32volumemonitor.c:
1200 * gio/gwin32mount.c: Fixed some include problems.
1202 2008-07-01 Cody Russell <bratsche@gnome.org>
1206 Moved all relevant typedefs into these files.
1209 Updated wrt added files.
1211 Split types into separate file for easier maintainership. (#538564)
1213 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1215 Bug 540331 – g_file_append_to () documentation: can return NULL
1217 * gfile.c (g_file_append_to): Clarify docs.
1218 Patch by Jared Moore
1220 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1222 Bug 539090 – g_content_type_from_mime_type() should unalias
1224 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1225 Patch by Markus Bergman
1227 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1229 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1230 g_atomic_pointer_get
1232 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1233 on ppc and alpha. Reported by Mart Raudsepp
1235 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1237 * tests/Makefile.am:
1238 * tests/memory-output-stream.c: Add some tests for
1239 GMemoryOutputStream.
1241 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1243 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1246 * gmemoryoutputstream.c (array_resize): Handle truncation to
1247 zero correctly. Reported by Akira Tagoh
1249 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1251 * gmemoryoutputstream.c: Trivial doc fixes
1253 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1255 Bug 540802 – g_list_prepend doesn't concat lists
1257 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1258 one list to another. Pointed out by Jan Arne Petersen
1260 2008-06-28 Michael Natterer <mitch@imendio.com>
1262 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1264 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1266 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1267 to avoid problems with partial icon themes.
1269 2008-06-17 Hans Breuer <hans@breuer.org>
1271 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1272 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1273 access again on win32, see bug #538127
1274 * giomodule.c : ensure GWin32VolumeMonitor is registered
1275 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1276 * Makefile.am makefile.msc : updated
1278 2008-06-16 Hans Breuer <hans@breuer.org>
1280 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1281 and initialization in one step avoids c99ism
1283 2008-06-16 Christian Persch <chpe@gnome.org>
1286 * gio/gbufferedinputstream.c
1287 * gio/gcancellable.c
1288 * gio/gdatainputstream.c
1289 * gio/gdesktopappinfo.c
1291 * gio/gfileenumerator.c
1292 * gio/gfileinputstream.c
1293 * gio/gfileoutputstream.c
1294 * gio/ginputstream.c
1295 * gio/glocaldirectorymonitor.c
1297 * gio/glocalfileenumerator.c
1298 * gio/glocalfileinfo.c
1299 * gio/glocalfilemonitor.c
1300 * gio/glocalfileoutputstream.c
1301 * gio/gmemoryinputstream.c
1302 * gio/gmemoryoutputstream.c
1303 * gio/goutputstream.c
1304 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1307 2008-06-16 Tor Lillqvist <tml@novell.com>
1309 Bug 538362 - Get Win32 icons back in the file chooser
1311 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1312 corresponding to a file extension in the Registry. Patch by Hans
1314 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1316 2008-06-16 Tor Lillqvist <tml@novell.com>
1318 Patches by Hans Breuer:
1320 * glocalfile.c (is_xp_or_later): Handle compiling against older
1321 SDK headers with missing VerifyVersionInfo(). Conditioned on
1322 _MSC_VER, but should probably use some better test.
1323 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1324 uninitialised statfs_result variable on Win32.
1326 2008-06-16 Michael Natterer <mitch@imendio.com>
1328 * *.c: chain up unconditionally in finalize() and dispose(). Also
1329 don't dereference these function pointers when calling them since
1330 that has no meaning at all.
1332 2008-06-16 Ross Burton <ross@burtonini.com>
1334 * gfileenumerator.c:
1335 Remove check for dispose implementation as it annoys Emmanuele.
1337 2008-06-16 Ross Burton <ross@burtonini.com>
1339 Bug 536252 – GFileEnumerator should allow access to the containing
1342 * gfileenumerator.c:
1343 * gfileenumerator.h:
1345 Add g_file_enumerator_get_container() and a container writeable
1346 construct-only property. Also shuffle around typedefs to make it
1349 * glocalfileenumerator.c:
1350 * glocalfileenumerator.h:
1352 Instead of a string filename take a GFile in the constructor and
1353 use it to set the container property.
1356 Update with new API.
1358 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1360 * gfile.c: Make includes more uniform
1362 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1364 * tests/live-g-file.c (sample_struct):
1365 Use less fancy unicode filenames, so the test doesn't fail
1366 on Mac OS X (#531476).
1368 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1370 * === Released 2.17.2 ===
1372 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1374 * === Released 2.17.1 ===
1376 2008-06-11 A. Walton <awalton@gnome.org>
1378 * tests/g-file.c (test_g_file_new_null):
1379 Fix broken test case.
1381 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1383 * pltcheck.sh: We use g_clear_error now.
1385 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1387 * glocalfile.c (g_local_file_enumerate_children): Revert
1388 an unintended change.
1390 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1392 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1394 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1396 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1399 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1400 as icon for the desktop directory, also make user-home and
1401 user-desktop the preferred icons.
1403 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1406 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1407 to add a name to the front of the list.
1409 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1411 Bug 537392 – Additional colon in xattr name
1413 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1414 too. Reported by Alessandro Morandi
1416 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1418 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1421 * glocalfile.c (get_fs_type): Add afs and autofs.
1422 Patch by Danny Baumann.
1424 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1426 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1428 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1429 is no parent. (Owen Taylor, patch by Christian Neumair)
1431 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1433 * gfile.c (g_file_replace_contents): do not leak the output stream.
1435 2008-06-10 Michael Natterer <mitch@imendio.com>
1437 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1438 uninitialized memory as array index.
1440 2008-06-10 Tor Lillqvist <tml@novell.com>
1442 * gcontenttype.c (g_content_type_can_be_executable)
1443 (g_content_type_get_icon) [Win32]: Add TODO comments.
1445 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1447 * xdgmime/Makefile.am: Fix the build
1449 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1451 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1452 in the shared mime database, if available.
1454 * xdgmime/*: Sync with upstream. This brings support for
1455 glob weights, generic icons, and changes the cache format to
1458 2008-05-28 Michael Natterer <mitch@imendio.com>
1460 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1461 the global CPPFLAGS now.
1463 * tests/data-input-stream.c
1464 * tests/data-output-stream.c
1465 * tests/g-file-info.c
1467 * tests/live-g-file.c
1468 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1470 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1472 * === Released 2.17.0 ===
1474 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1475 doesn't complain about leftover files.
1477 2008-05-27 simon.zheng <simon.zheng@sun.com>
1479 * glocalfile.c: (g_local_file_query_filesystem_info):
1480 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1482 2008-05-26 Michael Natterer <mitch@imendio.com>
1484 * gmemoryoutputstream.h: declare
1485 g_memory_output_stream_get_data_size().
1487 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1489 * tests/*: Make tests work
1491 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1493 * gio.symbols: Add g_memory_output_stream_get_data_size.
1495 2008-05-25 Ross Burton <ross@burtonini.com>
1498 Fix typo in error message (#534764).
1500 2008-05-25 Ross Burton <ross@burtonini.com>
1503 Fix circular dependency loop for gioenumtypes.h (#534759).
1505 2008-05-19 Hans Breuer <hans@breuer.org>
1507 * Makefile.am : EXTRA_DIST += makefile.msc
1509 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1512 * gcontenttype.c: (g_content_type_from_mime_type):
1513 New function to create a content type from a mime type. (#527175,
1516 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1518 Bug 532965 – Should not return filesystem::free for certain file systems
1520 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1521 free space for ncpfs.
1523 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1525 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1527 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1528 st_dev might be zero.
1530 2008-05-16 Tor Lillqvist <tml@novell.com>
1532 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1533 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1535 2008-05-13 Bastien Nocera <hadess@hadess.net>
1537 * gfile.c (has_valid_scheme): A URI scheme must start with a
1538 letter, even if later more characters are allowed (#532852)
1540 2008-05-05 Michael Natterer <mitch@imendio.com>
1542 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1543 code from being checked in that breaks the build of applications
1544 which use G_DISABLE_SINGLE_INCLUDES.
1546 * makegioalias.pl: make the alias file include "glib.h" instead of
1549 * gio.symbols: whitespace change to force regeneration of the
1550 alias file after above script change.
1552 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1554 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1556 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1558 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1560 2008-04-28 David Zeuthen <davidz@redhat.com>
1562 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1563 displaying mounts in a subdirectory not accessible to the
1566 2008-04-22 Michael Natterer <mitch@imendio.com>
1568 * Makefile.am: fix library versioning (it was 0.0.0).
1570 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1572 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1573 Default disable all loggings.
1574 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1575 (port_fetch_event_cb): Fixed two macro nits.
1577 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1579 * xdgmime/xdgmime.c: Rework the timestamp checking code
1580 to protect against duplicate directories in XDG_DATA_DIRS.
1581 Fixes fd.o bug 12513, reported by Joe Shaw.
1583 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1585 Partically revert the last commit after realizing that
1586 xdg_mime_media_type_equal doesn't have to init at all.
1588 * xdgmime/xdgmime.h:
1589 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1591 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1593 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1595 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1596 reported by Joe Shaw and Federico Mena Quintero.
1598 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1599 (xdg_mime_media_type_equal): Turn into a wrapper around the
1602 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1603 functions throughout.
1605 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1607 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1608 tolerate an empty TryExec= line without failing; nautilus used
1609 to create launchers with these in previous versions. Fixes #528433
1611 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1613 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1614 after name. Fixes #527132.
1616 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1618 * gfile.c: (g_file_replace):
1621 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1623 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1625 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1626 by Christian Kellner.
1628 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1630 * gunixmounts.c: (g_unix_mount_guess_should_display):
1631 Don't list the user directory as a mount, fix potential issue
1632 when other users have a similar naming and don't special case the
1633 gvfs mounts there since that's not required (#525866)
1635 2008-03-31 Alexander Larsson <alexl@redhat.com>
1637 * glocalfile.c (get_parent):
1640 2008-03-31 A. Walton <awalton@svn.gnome.org>
1642 * gfile.c (g_file_query_file_type):
1643 Always return a GFileType enum value (#520715).
1645 2008-03-31 Alexander Larsson <alexl@redhat.com>
1647 * glocalfileenumerator.c:
1648 Read readdir() info in chunks (of 1000) and sort
1649 the chunks by inode before stat:ing.
1650 This is a 20% performance increase in testing
1651 gvfs-ls on /usr/bin with cold cache.
1653 2008-03-31 Alexander Larsson <alexl@redhat.com>
1655 * gmemoryoutputstream.c:
1656 Clarify docs for g_memory_output_stream_get_size.
1657 Add g_memory_output_stream_get_data_size.
1659 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1663 * gfile.h: Add g_file_query_file_type convenience function
1664 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1666 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1668 * gfileenumerator.c:
1669 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1671 2008-03-28 A. Walton <awalton@svn.gnome.org>
1673 * giomodule.c (_g_io_modules_ensure_loaded):
1674 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1677 2008-03-28 Alexander Larsson <alexl@redhat.com>
1680 (copy_stream_with_progress):
1683 2008-03-28 Alexander Larsson <alexl@redhat.com>
1686 (copy_stream_with_progress):
1687 (file_copy_fallback):
1688 Fallback to g_file_query_info for source size
1689 if g_file_input_stream_query_info fails. (#524579)
1691 2008-03-28 Alexander Larsson <alexl@redhat.com>
1693 * glocalfile.c (g_local_file_move):
1694 Reuse old string instead of adding new one.
1696 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1698 * fen/*.[hc]: still copyright issue. I hate copyright.
1700 2008-03-27 Alexander Larsson <alexl@redhat.com>
1702 * glocalfile.c (g_local_file_move):
1703 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1704 file over directory. This is according to the docs and what the move via
1705 copy+remove fallback does.
1707 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1709 * fen/*.[hc]: Updated copyright.
1711 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1713 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1715 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1717 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1718 not emit attribute changed events when optimizing changed events.
1719 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1722 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1724 * gmountoperation.[hc]: Small documentation additions
1726 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1728 * gunixmounts.c: (guess_mount_type):
1729 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1731 2008-03-19 Alexander Larsson <alexl@redhat.com>
1734 (copy_stream_with_progress):
1735 Bump block side for copy to 64k to minimize
1736 overhead for low latency links. (#523015)
1738 2008-03-16 Tor Lillqvist <tml@novell.com>
1740 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1741 depend on gio.def on Windows.
1743 2008-03-12 David Zeuthen <davidz@redhat.com>
1747 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1749 2008-03-14 Alexander Larsson <alexl@redhat.com>
1753 Avoid redudant tests (#521851)
1754 Patch from Josselin Mouette
1756 2008-03-14 Alexander Larsson <alexl@redhat.com>
1759 (g_file_monitor_is_cancelled):
1760 Fix C89 issue (#521672)
1761 Patch from Jens Granseuer
1763 2008-03-14 Alexander Larsson <alexl@redhat.com>
1765 * fam/fam-helper.[ch]:
1767 Shut down fam (including removing fam GSource) when
1768 module is unloaded (#521513)
1769 Patch from Joe Marcus Clarke
1771 2008-03-14 Alexander Larsson <alexl@redhat.com>
1774 (_g_io_modules_ensure_loaded):
1777 2008-03-14 Alexander Larsson <alexl@redhat.com>
1780 (g_local_file_query_filesystem_info):
1781 Use right define name for f_fstypename member check
1783 2008-03-14 Alexander Larsson <alexl@redhat.com>
1786 * fen/Makefile.am: Added.
1787 * fen/fen-data.[ch]: Added.
1788 * fen/fen-dump.[ch]: Added.
1789 * fen/fen-helper.[ch]: Added.
1790 * fen/fen-kernel.[ch]: Added.
1791 * fen/fen-missing.[ch]: Added.
1792 * fen/fen-node.[ch]: Added.
1793 * fen/fen-sub.[ch]: Added.
1794 * fen/gfendirectorymonitor.[ch]: Added.
1795 * fen/gfenfilemonitor.[ch]: Added.
1797 Added Solaris FEN file notification backend.
1798 Patch from Lin Ma <Lin.Ma@Sun.COM>
1800 2008-03-13 Tor Lillqvist <tml@novell.com>
1802 * Makefile.am: Actually use the gio.def file when linking the
1803 library on Windows. Produce .lib library for Microsoft's toolchain
1804 when possible. Install the .lib and .def file like for the other
1807 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1809 * tests/live-g-file.c:
1810 Include live-g-file in standard set of tests, making a temporary
1811 directory in source structure.
1813 Clean target directory before the tests (write mode only)
1815 2008-03-12 Tor Lillqvist <tml@novell.com>
1817 Bug 517419 - gio win32 directory monitor
1818 Implementation by Vlad Grecescu.
1821 * win32/gwin32directorymonitor.h
1822 * win32/gwin32directorymonitor.c: New files.
1824 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1826 * Makefile.am: Add the win32 subdirectory.
1828 2008-03-12 Tor Lillqvist <tml@novell.com>
1830 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1831 normal struct stat on Unix but struct _stati64 on Windows to have
1832 access to 64-bit file size information. Use that instead of struct
1833 stat in the functions declared here in this private header.
1835 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1836 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1837 warnings about unused functions and variables. Don't set
1838 meaningless attributes like inode numbers on Windows.
1840 2008-03-12 Benjamin Otte <otte@gnome.org>
1843 trim whitespace so gtk-doc groks the function name
1845 2008-03-12 Tor Lillqvist <tml@novell.com>
1847 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1848 returning FALSE, on Win32.
1850 2008-03-11 Alexander Larsson <alexl@redhat.com>
1853 * glocalfileinfo.[ch]:
1854 Correctly implement can_trash by actually
1855 looking for a trash dir, not just assuming
1858 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1860 * === Released 2.16.1 ===
1862 2008-03-11 Alexander Larsson <alexl@redhat.com>
1865 Fix crashes in new constructor and properties code
1867 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1869 * gfile.c: Minor spelling correction in documentation:
1870 existance -> existence.
1872 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1874 * === Released 2.16.0 ===
1876 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1878 * gio.symbols: Remove g_file_contains_file here, too.
1880 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1882 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1883 Samuel Cormier-Iijima)
1885 2008-03-08 Tor Lillqvist <tml@novell.com>
1887 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1890 2008-03-07 Alexander Larsson <alexl@redhat.com>
1893 (g_local_file_query_filesystem_info):
1894 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1895 Patch from Jasper Lievisse Adriaanse
1897 2008-03-06 Tor Lillqvist <tml@novell.com>
1899 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1900 comments for the *_USEC attributes.
1902 2008-03-06 Alexander Larsson <alexl@redhat.com>
1904 * gfile.c (g_file_query_exists):
1905 Add g_return_val_if_fail check (#520700)
1907 2008-03-06 Alexander Larsson <alexl@redhat.com>
1909 * gdesktopappinfo.c:
1912 * gunionvolumemonitor.c:
1915 * tests/live-g-file.c:
1916 * xdgmime/xdgmimecache.c:
1917 Fix sparse warnings (#519489)
1919 2008-03-05 Alexander Larsson <alexl@redhat.com>
1922 Make cancellation threadsafe (i.e.
1923 guarantee its only done once, and always
1926 * glocaldirectorymonitor.c:
1927 Make sure we the monitor lives while the
1928 mounts_changed callback is being called (#520484)
1930 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1932 * gbufferedinputstream.c: Fix typo in parameter
1935 2008-03-04 Alexander Larsson <alexl@redhat.com>
1938 Remove deprecated symbols we kept for one release.
1940 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1943 * goutputstream.c: Tiny documentation corrections.
1945 2008-03-03 Alexander Larsson <alexl@redhat.com>
1947 * gunionvolumemonitor.c:
1949 Fix the adopt_orphan_mount vfunc to take a
1950 volume_monitor reference in an ABI compat way.
1951 This change is not API compat, but the added
1952 arg is not used in the only user of this vfunc, so
1953 all we get is a harmless warning in gvfs (#520169)
1955 2008-03-01 Benjamin Otte <otte@gnome.org>
1958 clarify docs for g_file_delete().
1960 2008-02-29 Alexander Larsson <alexl@redhat.com>
1964 Make sure empty files get text/plain type (#518720)
1966 2008-02-27 Alexander Larsson <alexl@redhat.com>
1972 (g_unix_volume_mount):
1973 Add missing GMountMountFlags argument
1975 2008-02-26 Alexander Larsson <alexl@redhat.com>
1978 (g_local_file_delete):
1979 Handle filesystems (like ntfs-3g) that return EEXIST instead
1980 of ENOTEMPTY (#518816)
1982 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1984 * === Released 2.15.6 ===
1986 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1988 * gfile.c (g_file_find_enclosing_mount):
1989 * ginputstream.c (g_input_stream_set_pending):
1990 * glocalfile.c (g_local_file_find_enclosing_mount):
1991 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1992 * goutputstream.c (g_output_stream_set_pending):
1994 Fixup translator comments (#518578).
1996 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1998 * gfile.c (g_file_find_enclosing_mount):
2000 * glocalfile.c (g_local_file_find_enclosing_mount):
2003 Fix a few typos in translator comments and documentation.
2005 2008-02-25 Alexander Larsson <alexl@redhat.com>
2012 Add translator comments (#518578)
2014 2008-02-25 Alexander Larsson <alexl@redhat.com>
2017 Reintroduce g_file_contains_file, keep around for one
2018 unstable release cycle to avoid crashing to many apps.
2019 Make sure to delete after release.
2021 2008-02-25 Alexander Larsson <alexl@redhat.com>
2024 Remove deprecated g_file_contains_file.
2026 2008-02-25 Alexander Larsson <alexl@redhat.com>
2029 Emit actual change signals in an idle handler.
2030 This avoids reentrance and locking problems in
2031 the file notification backends.
2033 2008-02-25 Alexander Larsson <alexl@redhat.com>
2036 (g_unix_mount_guess_should_display):
2037 Remove type guessing, instead just display
2038 mounts in /media and in ~/.
2040 2008-02-25 Alexander Larsson <alexl@redhat.com>
2043 Make new strings reuse old ones.
2045 2008-02-25 Alexander Larsson <alexl@redhat.com>
2048 Implement trashing and filesystem::readonly for win32 (#517235)
2049 Patch from Yevgen Muntyan
2051 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2053 * gfileinfo.h: Documentation fixes.
2055 2008-02-22 Alexander Larsson <alexl@redhat.com>
2057 * gcontenttype.c (g_content_type_get_icon):
2058 Look at old-style gnome mime icon names too, as many
2059 have not moved to the new style.
2061 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2063 * *.c: Correct the @include in for section docs.
2065 2008-02-21 David Zeuthen <davidz@redhat.com>
2067 * glocalfileinfo.c: (_g_local_file_info_get):
2069 (g_content_type_get_icon): Implement this function by
2070 moving bits from glocalfileinfo.c
2071 (g_content_type_get_description): Unalias before getting
2072 description (#517687)
2074 * gfile.c: (g_file_class_init),
2075 (g_file_query_filesystem_info_async),
2076 (g_file_query_filesystem_info_finish),
2077 (query_filesystem_info_data_free),
2078 (query_filesystem_info_async_thread),
2079 (g_file_real_query_filesystem_info_async),
2080 (g_file_real_query_filesystem_info_finish):
2081 * gfile.h: Implement async version of
2082 g_file_query_filesystem_info()
2084 * gfileinfo.h: Add new attributes for filesystem::use-preview
2086 * gio.symbols: Update
2088 * gthemedicon.c: (g_themed_icon_append_name):
2089 * gthemedicon.h: Add new new convenience function.
2091 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2092 (get_mounts), (get_volumes), (get_connected_drives),
2093 (get_volume_for_uuid), (get_mount_for_uuid),
2094 (g_union_volume_monitor_init), (populate_union_monitor),
2095 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2096 (g_volume_monitor_adopt_orphan_mount):
2098 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2099 monitor implementations to call into the main volume monitor. Also
2100 separate object initialization and volume monitor initialization
2101 such that non-native volume monitors can properly adopt their
2104 2008-02-21 Alexander Larsson <alexl@redhat.com>
2109 2008-02-21 Alexander Larsson <alexl@redhat.com>
2112 Add more documentation about how GFiles work (from #517086)
2114 2008-02-21 Alexander Larsson <alexl@redhat.com>
2118 Add new g_file_has_prefix that does the same as g_file_contains_file.
2119 Deprecate g_file_contains_file and add a macro that converts
2120 it to g_file_has_prefix.
2121 The reason for this change is that the contains_file() name seems to
2122 imply that this does more work than what it does, but its really only
2123 a name match (from #517086)
2128 Update to match the above change.
2130 2008-02-20 Benjamin Otte <otte@gnome.org>
2132 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2133 (g_file_eject_mountable):
2134 even more cases of not returning in error path
2136 2008-02-20 Benjamin Otte <otte@gnome.org>
2138 * gfile.c: (g_file_mount_mountable):
2139 return from function in error path.
2141 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2144 Remove trailing coma in GMountMountFlags struct
2146 2008-02-18 Alexander Larsson <alexl@redhat.com>
2150 * glocalfileoutputstream.c:
2151 Use g_unlink/g_rename instead of unlink/rename;
2152 do not pass raw filenames to g_set_error. (#517239)
2153 Patch from Yevgen Muntyan.
2155 2008-02-18 Alexander Larsson <alexl@redhat.com>
2158 * glocalfileoutputstream.c:
2159 Open files with O_BINARY on windows. (#517140)
2161 2008-02-14 Alexander Larsson <alexl@redhat.com>
2163 * glocalfileoutputstream.c:
2164 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2166 2008-02-14 Alexander Larsson <alexl@redhat.com>
2169 Copy permissions with file on copy (#514084)
2170 This is what cp does and makes sure e.g. the
2171 exec permissions are kept.
2172 Its kinda weird in that it keeps the permission bits
2173 the same while the uid and gid are different. However
2174 the new uid is the user so its not a security issue,
2175 and I've heard no complaints about cp on this issue.
2177 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2179 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2181 2008-02-13 Alexander Larsson <alexl@redhat.com>
2183 * inotify/inotify-path.c:
2184 Define IN_ONLYDIR if not in header (#515346)
2186 2008-02-12 Alexander Larsson <alexl@redhat.com>
2188 * tests/live-g-file.c:
2191 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2193 * === Released 2.15.5 ===
2195 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2197 * gio.symbols: Add g_mount_mount_flags_get_type.
2199 2008-02-11 Alexander Larsson <alexl@redhat.com>
2202 (g_file_info_set_attribute_mask):
2203 (g_file_attribute_matcher_matches_id):
2204 Correctly handle NULL GAttributeMatcher meaning
2205 matches nothing. (Fixes #513492)
2207 2008-02-11 Alexander Larsson <alexl@redhat.com>
2212 Added GMountMountFlags enum and added a flags
2213 argument to all mount calls.
2215 This is an API/ABI change for future extensibility,
2216 as I think we will need at least an
2217 inhibit-autorun flag (the panel needs this).
2218 There are no flags defined yet though.
2220 2008-02-11 Alexander Larsson <alexl@redhat.com>
2223 Added new standard::description attribute.
2224 Requested by Vincent, and useful for both
2227 2008-02-11 Alexander Larsson <alexl@redhat.com>
2229 * gdesktopappinfo.c:
2232 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2234 * *.c: Documentation additions
2236 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2238 * gappinfo.h: Formatting cleanup
2239 * gappinfo.c: Fix up docs.
2241 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2243 * gunixmounts.c: Consistently use getmntent_r() and fall
2244 back to getmntent(). (#515492)
2246 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2248 * gbufferedinputstream.c:
2250 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2252 * tests/data-input-stream.c:
2253 * tests/data-output-stream.c: Portability fixes.
2255 2008-02-08 Alexander Larsson <alexl@redhat.com>
2260 Add g_volume_should_automount.
2263 2008-02-07 Tor Lillqvist <tml@novell.com>
2265 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2266 Win32, too Unix-specific.
2268 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2270 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2271 a local plt if the compiler doesn't support what we want. Bug #514702
2273 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2275 reviewed by: <delete if not using a buddy>
2278 * gunixinputstream.c:
2279 * gunixoutputstream.c:
2281 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2283 * tests/Makefile.am:
2284 * tests/live-g-file.c:
2285 * tests/live-g-file.txt:
2286 New GIO testing module working over real data
2288 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2290 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2291 Fallback to rename() if link() is not available
2292 (when no support on target filesystem)
2294 2008-02-06 Michael Natterer <mitch@imendio.com>
2296 * gfileinfo.c (g_file_info_get_icon): replace
2297 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2299 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2301 * gfile.c (g_file_create):
2302 Documentation update of error codes
2304 2008-02-06 Alexander Larsson <alexl@redhat.com>
2306 * gdesktopappinfo.c:
2307 Update to use both mimeapps.list and
2308 defaults.list as discussed on xdg list.
2310 2008-02-06 Benjamin Otte <otte@gnome.org>
2313 * gfilenamecompleter.c:
2314 Fix some typos in the documentation.
2316 2008-02-06 Alexander Larsson <alexl@redhat.com>
2318 * glocalfile.c (g_local_file_trash):
2319 Don't succeed with trash if newly created
2320 trash dir has the wrong owner. (#514696)
2322 2008-02-05 Alexander Larsson <alexl@redhat.com>
2324 * glocalfile.c (g_local_file_move):
2325 Don't spew warnings when destination is not
2328 2008-02-03 Hans Breuer <hans@breuer.org>
2330 * makefile.msc : update
2332 2008-02-01 Michael Natterer <mitch@imendio.com>
2334 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2335 return value of xdg_mime_list_mime_parents() to a variable of the
2338 2008-02-01 Alexander Larsson <alexl@redhat.com>
2340 * gappinfo.c (g_app_info_launch_uris):
2341 Actually call the launch_uris method, not
2344 2008-02-01 Alexander Larsson <alexl@redhat.com>
2346 * gdesktopappinfo.c (g_desktop_app_info_equal):
2347 Ensure appinfos with no id but same pointer value
2350 2008-02-01 Alexander Larsson <alexl@redhat.com>
2352 * gappinfo.c (g_app_info_launch_default_for_uri):
2355 2008-02-01 Alexander Larsson <alexl@redhat.com>
2359 Add g_app_info_launch_default_for_uri utility
2362 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2364 * gdesktopappinfo.c:
2365 Doc fix for g_app_info_get_default_for_uri_scheme ()
2368 2008-01-30 Alexander Larsson <alexl@redhat.com>
2371 Add doc comment about uris vs GFiles to
2374 * gdesktopappinfo.c:
2375 Ensure uris passed to g_app_info_launch_uris()
2376 are not roundtriped through GFile (as that
2377 may be slightly destructive for e.g. mailto: links)
2379 2008-01-30 Alexander Larsson <alexl@redhat.com>
2381 * tests/data-input-stream.c:
2382 * tests/data-output-stream.c:
2383 C89 fixes from Jens Granseuer (#512849)
2385 2008-01-30 Alexander Larsson <alexl@redhat.com>
2388 Fix gamin/fam difference build issue. (#509419)
2390 2008-01-29 Alexander Larsson <alexl@redhat.com>
2393 * gdesktopappinfo.c:
2394 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2396 2008-01-29 Alexander Larsson <alexl@redhat.com>
2398 * gdesktopappinfo.c:
2399 * gdesktopappinfo.h:
2400 giomodule-priv.h include moved to .c file.
2402 2008-01-29 Alexander Larsson <alexl@redhat.com>
2404 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2405 Remove unused prio/name fields.
2407 2008-01-29 Alexander Larsson <alexl@redhat.com>
2409 * gcontenttype.c (looks_like_text):
2410 Don't treat whitespace as control chars.
2412 2008-01-29 Alexander Larsson <alexl@redhat.com>
2414 * gdesktopappinfo.c:
2415 Lazily create the desktop files for appinfos created
2416 by g_app_info_create_from_commandline() when needed
2417 for mime associations. This allows run-time use
2418 of GAppInfo object without creating unnecessary
2421 2008-01-29 Alexander Larsson <alexl@redhat.com>
2424 Added new symbols to gio.symbols
2426 2008-01-29 Alexander Larsson <alexl@redhat.com>
2429 Add g_file_query_default_handler utility to easily look up
2430 the GAppInfo that handles a file.
2432 * gdesktopappinfo.[ch]:
2434 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2437 Remove unused function
2439 2008-01-29 Alexander Larsson <alexl@redhat.com>
2441 * gfileenumerator.c:
2442 Mention need to free returned value in
2443 g_file_enumerator_next_files_finish docs.
2444 Fix leak if g_file_enumerator_next_files_finish()
2447 2008-01-29 Alexander Larsson <alexl@redhat.com>
2450 (_g_unix_content_type_get_parents):
2451 Use list_parents, not get_parents from xdgmime, because
2452 the later doesn't use the cache.
2454 * xdgmime/xdgmimecache.c:
2455 (_xdg_mime_cache_list_mime_parents):
2456 Don't list the same type as parent multiple times.
2458 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2460 * === Released 2.15.4 ===
2462 2008-01-28 Alexander Larsson <alexl@redhat.com>
2465 Register local vfs with prio 0.
2468 Remove old name and prio class members
2470 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2472 * tests/g-file.c: Disable some tests that are failing in
2473 the absence of a http backend.
2475 2008-01-28 Alexander Larsson <alexl@redhat.com>
2479 Add registration hooks for extension points.
2480 Register the gio extension points.
2482 * fam/gfamdirectorymonitor.c:
2483 * fam/gfamfilemonitor.c:
2484 * glocaldirectorymonitor.[ch]:
2485 * glocalfilemonitor.[ch]:
2486 * gnativevolumemonitor.h:
2487 * gunionvolumemonitor.c:
2488 * gunixvolumemonitor.c:
2491 * inotify/ginotifydirectorymonitor.c:
2492 * inotify/ginotifyfilemonitor.c:
2493 Use the extension points registration instead
2494 of g_type_children().
2496 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2499 * gvolume.[hc]: Document new API.
2501 * gfile.c (g_file_copy_async): Fix docs
2503 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2505 * gbufferedinputstream.c:
2507 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2510 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2512 * glocalfile.c: Avoid trivial differences in translatable strings.
2514 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2516 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2517 build with gcc 3.4 (#509419)
2519 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2521 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2522 (#509994, Murray Cumming)
2524 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2526 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2527 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2528 this allows big jobs to be executed in chunks, instead of blocking
2529 the main loop for a long time.
2531 * gsimpleasyncresult.c:
2532 * giofile.c: Adapt callers.
2534 2008-01-25 Alexander Larsson <alexl@redhat.com>
2536 * gdesktopappinfo.c:
2537 Implement changes discussed on xdg list.
2538 Now we can add supported mimetypes by just using defaults.list
2539 We can also remove associations in defaults.list.
2541 2008-01-25 Alexander Larsson <alexl@redhat.com>
2543 * gdesktopappinfo.c:
2544 Don't make local copy of desktop file
2545 for mimetype changes if the file already
2546 supports the new mimetype.
2548 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2552 * gbufferedinputstream.c:
2553 * glocalfile.c: String improvements. (#511966,
2554 Theppitak Karoonboonyanan)
2556 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2558 * gioscheduler.h: Expand docs a bit.
2560 2008-01-24 Alexander Larsson <alexl@redhat.com>
2563 Add g_drive_get_identifier and
2564 g_drive_enumerate_identifiers
2567 Add g_volume_get_identifier and
2568 g_volume_enumerate_identifiers
2574 Implement identifiers for unix backend
2576 2008-01-24 Alexander Larsson <alexl@redhat.com>
2581 Add g_file_copy_async() (#511580)
2582 Based on patch from Carlos Garcia Campos
2584 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2586 * gioscheduler.c: Some documentation additions.
2588 2008-01-22 Alexander Larsson <alexl@redhat.com>
2590 * gdesktopappinfo.c:
2591 (g_desktop_app_info_new):
2592 Don't leak basename.
2594 2008-01-22 Alexander Larsson <alexl@redhat.com>
2596 * gdesktopappinfo.c:
2597 (g_desktop_app_info_new_from_filename):
2600 2008-01-22 Alexander Larsson <alexl@redhat.com>
2602 * glocalfileinfo.c (get_thumbnail_attributes):
2605 2008-01-22 Alexander Larsson <alexl@redhat.com>
2608 (canonicalize_filename):
2609 Canonicalize paths that start with more than
2613 (compare_two_files):
2614 (test_g_file_new_for_path):
2617 2008-01-22 Alexander Larsson <alexl@redhat.com>
2620 Allow UTF-8 in file:// parse names.
2622 * tests/Makefile.am:
2623 * tests/data-input-stream.c:
2624 * tests/data-output-stream.c:
2625 * tests/g-file-info.c:
2627 Added a bunch of tests from Tomas Bzatek
2629 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2631 * === Released 2.15.3 ===
2633 2008-01-21 Alexander Larsson <alexl@redhat.com>
2635 * gfileinputstream.[ch]:
2636 * gfileoutputstream.[ch]:
2638 Remove duplicated GSeekable functions. (#509990)
2639 Just use the g_seekable_xxx() calls instead.
2641 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2644 * gvolumemanager.c: Whitespace cleanups.
2646 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2647 Use the right mode when creating the file.
2649 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2651 * gfileenumerator.c:
2652 * gfileinputstream.c:
2654 * goutputstream.c: Documentation: Fixed minor typos
2655 and added more mentions of specific _finish() functions.
2657 2008-01-21 Alexander Larsson <alexl@redhat.com>
2659 * inotify/Makefile.am:
2660 * inotify/inotify-helper.c:
2661 * inotify/inotify-kernel.c:
2662 * inotify/inotify-path.c:
2663 * inotify/local_inotify.h: Removed.
2664 * inotify/local_inotify_syscalls.h: Removed.
2665 Removed the included copies of the inotify
2666 headers. We now only use the <sys/inotify.h>
2667 header which exists on modern systems.
2668 This fixes problems on ARM and SH5 (#510448)
2669 but is also generally much cleaner and future
2670 safe. For instance, if other OSes add support
2671 for inotify it should "just work".
2673 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2675 * inotify/*.c: Coding style fixes.
2676 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2677 for the 1/4 Hz timer.
2679 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2682 * gfilemonitor.[hc]:
2683 * gmemoryinputstream.c:
2684 * gmemoryoutputstream.c:
2685 * gmountoperation.c:
2686 * gthemedicon.c: Documentation updates
2688 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2690 * gfile.c: documentation: Fixed more minor
2693 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2695 * gmount.c: (g_mount_remount): documentation:
2696 Mention g_mount_remount_finish() instead of
2697 g_mount_unmount_finish().
2699 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2703 * gfile.c: Fixed some minor typos in the
2706 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2708 * gio/gvolumemonitor.c:
2709 (g_volume_monitor_get_connected_drives):
2710 (g_volume_monitor_get_volumes):
2711 (g_volume_monitor_get_mounts): Documentation:
2712 Clarify the ownership of the regurn GLists.
2714 2008-01-17 Alexander Larsson <alexl@redhat.com>
2717 Add the async find_enclosing_mount version
2718 to the header file too.
2720 2008-01-17 Alexander Larsson <alexl@redhat.com>
2723 Add async version of find_enclosing_mount
2724 with default implementation.
2726 2008-01-17 Alexander Larsson <alexl@redhat.com>
2731 Allow calls to implementation of copy and write
2732 even if the type of the file implementations is
2733 different. This can be used to implement native
2734 upload and download calls in a vfs.
2737 (g_local_file_move):
2738 Protect against the case where move is called
2739 with one file not being local.
2741 Make sure we call the progress callback once
2742 in the native move operation so that the caller
2743 knows how many bytes were copied.
2745 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2748 * gdatainputstream.c:
2750 * gfileoutputstream.c:
2755 * gunixmounts.c: Corrected some typos in the documentation:
2756 occured -> occurred.
2757 its -> it's (where appropriate).
2759 2008-01-16 Alexander Larsson <alexl@redhat.com>
2763 Add g_file_query_exists (#508771)
2765 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2770 * gvolume.c: For async functions that have no non-async
2771 version, document that the GAsyncReadyCallback may be NULL.
2774 2008-01-15 Alexander Larsson <alexl@redhat.com>
2776 * gmemoryinputstream.c:
2777 * gmemoryoutputstream.c:
2778 Don't do pointer arithmetic on void * (#508602)
2779 Patch from Kazuki IWAMOTO
2781 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2783 * === Released 2.15.2 ===
2785 2008-01-14 Alexander Larsson <alexl@redhat.com>
2787 * gfile.c (g_file_monitor_file):
2788 Don't set error here, since we fallback to polling monitor.
2790 2008-01-14 Alexander Larsson <alexl@redhat.com>
2793 (g_file_monitor_directory):
2794 (g_file_monitor_file):
2795 Add GError to file monitor calls
2797 * glocaldirectorymonitor.c:
2798 * glocaldirectorymonitor.h:
2800 * glocalfilemonitor.c:
2801 * glocalfilemonitor.h:
2803 Update for above change
2805 2008-01-14 Alexander Larsson <alexl@redhat.com>
2809 Handle root correctly in g_file_get_relative_path (#508719)
2811 2008-01-14 Alexander Larsson <alexl@redhat.com>
2814 Clean up docs and example for GAsyncResult (#508074)
2816 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2818 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2819 and correct some spelling mistakes. Bug #508108.
2821 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2823 * glocalfileinfo.c: Add a comment.
2825 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2827 * gfileinfo.c: GFileInfo description: Mention
2828 how to actually set attributes in a GFile and how to discover
2829 which attributes are settable. Bug #508378.
2831 2008-01-10 A. Walton <awalton@svn.gnome.org>
2833 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2834 (g_app_info_get_default_for_type):
2835 Check for NULL content types.
2837 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2839 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2841 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2843 * gfile.c: *_async() functions: Several small corrections
2844 to the documentation, mostly correcting copy/paste errors
2845 and improving some sentences.
2847 2008-01-09 Dan Winship <danw@gnome.org>
2849 * glocalfile.c (get_unique_filename): x86_64 fix
2851 2008-01-09 Alexander Larsson <alexl@redhat.com>
2856 Add g_unix_mount_guess_should_display and use
2857 for unix volume monitor backend.
2858 This means we more or less show what the
2859 gnome-vfs backend did.
2860 Based on patch from Padraig O'Briain
2862 2008-01-09 Alexander Larsson <alexl@redhat.com>
2866 Add g_themed_icon_new_with_default_fallbacks
2869 Use default fallbacks for icons
2871 2008-01-09 Alexander Larsson <alexl@redhat.com>
2874 * gmountoperation.[ch]:
2875 Change the API a bit so that unhandled methods
2876 get reported via the reply, rather than by
2877 the signal emission return value. This is because
2878 some handlers can't know this immediately without
2879 doing I/O, and this is an async operation that
2882 2008-01-09 Alexander Larsson <alexl@redhat.com>
2885 * fam/gfamdirectorymonitor.c:
2886 * fam/gfamfilemonitor.c:
2887 Fix double free crash (#508224)
2888 Patch from Joe Marcus Clarke
2890 008-01-07 Matthias Clasen <mclasen@redhat.com>
2892 * === Released 2.15.1 ===
2894 2008-01-07 Alexander Larsson <alexl@redhat.com>
2896 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2897 Fix warning (#507835)
2899 2008-01-07 Alexander Larsson <alexl@redhat.com>
2902 Pass --internal to glib-genmarshal
2905 * gmountoperation.c:
2907 Use better types for signal arguments (#507822)
2909 2008-01-07 Alexander Larsson <alexl@redhat.com>
2912 Build test subdir after .
2913 Remove gdirectorymonitor.[ch]
2915 * gdirectorymonitor.[ch]:
2919 Remove GDirectoryMonitor and make
2920 GFileMonitor the baseclass for both file and
2921 directory monitors. Lift the more generic
2922 rate limiting code from GDirectoryMonitor
2926 * fam/gfamdirectorymonitor.[ch]:
2927 * inotify/ginotifydirectorymonitor.[ch]:
2928 * inotify/inotify-helper.c:
2929 * glocaldirectorymonitor.[ch]:
2932 Update for the removed GDirectoryMonitor.
2934 * gmemoryoutputstream.c:
2935 Remove ununsed variable
2937 2008-01-07 Alexander Larsson <alexl@redhat.com>
2939 * gmemoryinputstream.c:
2940 Translate error strings
2943 * gmemoryoutputstream.[ch]:
2944 New implementation that avoids using GByteArray
2945 in implementation and API. (#506377)
2947 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2949 * tests/*: Add a test for memory input streams.
2951 * Makefile.am: Add tests to SUBDIRS.
2953 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2955 * glocalfilemonitor.c:
2956 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2959 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2961 * gdesktopappinfo.c: Fix a docs typo.
2963 * gfileattribute.c: Add information about extended attributes
2964 to the documentation. (#505058)
2966 2008-01-04 Alexander Larsson <alexl@redhat.com>
2969 * gmountoperation.c:
2970 Use the right type (uint) for the ask_password signal.
2972 2008-01-04 Alexander Larsson <alexl@redhat.com>
2977 Add g_app_info_supports_files()
2978 Remove desktop arg from g_app_info_should_show().
2980 * gdesktopappinfo.[ch]:
2981 Implement g_app_info_supports_files() and new should_show()
2982 Add g_desktop_app_info_set_desktop_env() to set the desktop
2983 for should_show(). (This will be set by gtk+ later)
2985 2008-01-04 Alexander Larsson <alexl@redhat.com>
2988 * gmemoryinputstream.[ch]:
2989 Improve API so that you can use multiple chunks
2990 of memory and custom destroy functions. (#506374)
2992 2008-01-03 Alexander Larsson <alexl@redhat.com>
2995 Handle NULL attribute matchers safely, as we return this
2996 for empty attribute matcher strings.
2998 2008-01-03 Alexander Larsson <alexl@redhat.com>
3000 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3001 Add /usr/local to list of internal mountpoints
3003 2008-01-03 Alexander Larsson <alexl@redhat.com>
3006 Check for HAVE_LCHOWN (#505887)
3008 2008-01-03 Alexander Larsson <alexl@redhat.com>
3012 Add define for selinux context attribute.
3013 Fix missing : -> :: namespace separator change
3014 Fix missing _ -> - name change for xattr-sys.
3017 2008-01-03 Alexander Larsson <alexl@redhat.com>
3020 Link to libglib and libgobject directly (#504879)
3021 Patch from Sebastien Bacher
3023 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3025 * gfile.c: Expanded the g_file_new_for_commandline_arg
3026 description a bit, based on the code and the docs of the
3027 other g_file_new_for_* functions.
3029 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3031 * gfilemonitor.h: Fixed typo in docs.
3033 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3035 Updates to GIO documentation. (#506395, Mikael Hermansson)
3037 * gcontenttype.c: Describe memory management for return value of
3038 g_content_types_get_registered(). Missing piece from #505815.
3039 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3040 GVolume, GDrive, GMounts, which hopefully gives the user less
3041 confusions when using this API. Following explainations from
3042 Alexander Larsson on gtk-devel-list.
3044 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3046 * gfileinfo.c: Expand the long description.
3048 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3051 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3052 fix builds with --disable-visibility. (#500273, Christian Persch)
3054 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3056 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3057 in the list of returned app infos.
3059 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3061 * gappinfo.c: Fix a cross-reference
3063 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3065 * gfileinputstream.c:
3066 * gfileoutputstream.c:
3070 * gdesktopappinfo.c:
3072 * gfileinfo.c: Documentation updates.
3074 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3076 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3079 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3081 * gcontenttype.c (g_content_types_get_registered): Don't return
3082 freed memory (#505815, Mikael Hermansson)
3084 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3086 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3087 used to detect statbuf->st_blocks. (#505042)
3089 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3091 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3092 environment handling. (#504829, Cosimo Cecchi)
3094 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3096 * gappinfo.c: Doc improvements
3098 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3101 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3103 * === Released 2.15.0 ===
3105 2007-12-20 Hans Breuer <hans@breuer.org>
3107 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3108 with symbols gwin32appinfo.obj, added gmount.obj
3109 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3111 2007-12-20 Alexander Larsson <alexl@redhat.com>
3117 * gfilenamecompleter.c:
3120 * gpollfilemonitor.c:
3121 File attribute renames:
3123 fs:: -> filesystem::
3124 id::fs -> id::filesystem
3126 2007-12-20 Alexander Larsson <alexl@redhat.com>
3135 Add GMountUnmountFlags to all unmount and
3137 Add g_mount_remount() call.
3139 2007-12-20 Alexander Larsson <alexl@redhat.com>
3141 * gvfs.c (get_default_vfs):
3142 Fix unused variable warning
3144 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3146 * pltcheck.sh: Update
3148 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3150 * gunionvolumemonitor.c:
3151 * gunixmount.c: Remove C99 comments
3153 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3155 * gio.symbols: Add some missing symbols
3157 2007-12-19 Alexander Larsson <alexl@redhat.com>
3160 Make g_io_modules_load_all_in_directory not unuse
3161 loaded modules so that users of it can do stuff
3163 Init internal "module" types.
3164 Initialize static prio and name for types so that
3165 we don't have to load modules to get it.
3167 * gnativevolumemonitor.h:
3169 Move is_supported to parent class so that
3170 non-native monitors can avoid being initialized
3171 too. (For instance GDaemonVolumeMonitor if we're
3172 not using GDaemonVfs.)
3174 * glocaldirectorymonitor.[ch]:
3175 * glocalfilemonitor.[ch]:
3176 * gunionvolumemonitor.c:
3177 * gunixvolumemonitor.c:
3179 Find plugins using the static prio+name to
3180 avoid unnecessarily loading the modules.
3182 2007-12-19 Alexander Larsson <alexl@redhat.com>
3187 2007-12-19 Alexander Larsson <alexl@redhat.com>
3189 * gunionvolumemonitor.c:
3190 Store the native type as GType, not class so that
3191 we can unload it. But still avoid unnecessarily
3194 2007-12-19 David Zeuthen <davidz@redhat.com>
3196 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3197 add signals 'disconnected' and 'eject-button' on GDrive. Add
3198 signal 'removed' on GVolume and 'unmounted' on GMount.
3200 * gdrive.c: (g_drive_base_init):
3202 * gfile.c: (g_file_mount_mountable),
3203 (g_file_mount_enclosing_volume):
3206 * gmount.c: (g_mount_base_init):
3208 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3209 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3210 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3214 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3216 * *.c: Fix up includes in the section docs.
3218 2007-12-17 Alexander Larsson <alexl@redhat.com>
3220 * gnativevolumemonitor.h:
3221 * gunionvolumemonitor.c:
3222 * gunixvolumemonitor.c:
3223 Add is_supported() to GNativeVolumeMonitorClass so
3224 that we can avoid having to create an object to see
3225 if the backend is supported at runtime.
3226 Also add name member and an env var to pick a specific
3227 volume monitor backend.
3231 Add cancellable to _g_mount_get_for_mount_path()
3233 * glocaldirectorymonitor.c:
3234 * glocalfilemonitor.c:
3235 Avoid loading and unloading modules while sorting.
3237 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3240 * gunixmounts.[hc]: Namespace waste reduction, move some
3241 g_get_unix_mount functions to the g_unix_mount namespace.
3244 * gunixvolumemonitor.c:
3246 * glocaldirectorymonitor.c: Update all callers.
3248 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3250 2007-12-17 Alexander Larsson <alexl@redhat.com>
3253 Add doc comments about what GFile operations are
3254 guaranteed to not block.
3256 2007-12-17 Alexander Larsson <alexl@redhat.com>
3259 Add missing #ifdef fixing OSX build.
3260 (#503334, patch from Richard Hult)
3262 2007-12-14 David Zeuthen <davidz@redhat.com>
3266 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3267 (g_mount_eject), (g_mount_eject_finish):
3269 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3270 (get_volume_for_uuid), (get_mount_for_uuid),
3271 (g_union_volume_monitor_class_init),
3272 (get_default_native_type_with_exclude), (get_default_native_type),
3273 (get_native_type), (update_native_type),
3274 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3275 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3276 (g_unix_mount_can_eject), (eject_unmount_cb),
3277 (eject_unmount_read_error), (eject_unmount_do),
3278 (g_unix_mount_unmount), (g_unix_mount_eject),
3279 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3280 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3281 (g_unix_mount_point_guess_can_eject):
3283 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3284 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3285 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3286 (g_unix_volume_mount), (g_unix_volume_eject),
3287 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3288 * gunixvolumemonitor.c: (get_volume_for_uuid),
3289 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3291 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3292 (g_volume_eject), (g_volume_eject_finish):
3294 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3295 (g_volume_monitor_get_mount_for_uuid):
3298 Provide eject() on both GMount and GVolume and utility functions
3299 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3300 ejected. Introduce the concept of UUID's and wire it into GVolume
3301 and GMount and provide API on GVolumeMonitor to find such
3302 instances. Also handle the case where an external
3303 GNativeVolumeMonitor fails to initialize. Lock around the
3304 _g_get_mount_for_mount_path() function such that volume monitor
3305 implementations won't have to do locking themselves.
3307 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3309 * gdesktopappinfo.c:
3315 * gvolume.h: Documentation updates
3317 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3320 * gfile.h: Doc updates
3322 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3325 * gdesktopappinfo.c: Use hash table iterators.
3327 2007-12-14 Alexander Larsson <alexl@redhat.com>
3330 * gfileattribute.[ch]:
3331 * gfileattribute-priv.h:
3332 Move GFileAttributeValue to a private header, as
3336 Make set_attribute take a type + a pointer instead
3337 of a GFileAttributeValue.
3340 Fix up for above changes.
3341 Add g_file_info_get_attribute_data to get
3342 all info in one call, g_file_info_get_attribute_status
3343 to get the status and g_file_info_get_attribute_as_string.
3347 * glocalfileinfo.[ch]:
3351 Make _guess_type static.
3353 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3356 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3357 made mkenums and friends use temporary files to avoid leaving
3358 empty generated files on failure (#503470).
3360 2007-12-14 Alexander Larsson <alexl@redhat.com>
3362 * gmountoperation.h:
3365 2007-12-14 Alexander Larsson <alexl@redhat.com>
3369 * gfileattribute.[ch]:
3372 * glocalfileoutputstream.c:
3373 * gmountoperation.[ch]:
3374 * goutputstream.[ch]:
3375 Clean up all flags enums to not have _FLAGS in them
3376 Make the names of some of the enums better.
3381 2007-12-14 Michael Natterer <mitch@imendio.com>
3383 * gio.symbols: fix g_io_scheduler symbol names.
3385 2007-12-14 Alexander Larsson <alexl@redhat.com>
3391 * gbufferedinputstream.h:
3392 * gbufferedoutputstream.h:
3395 * gdatainputstream.h:
3396 * gdataoutputstream.h:
3397 * gdesktopappinfo.h:
3398 * gdirectorymonitor.h:
3402 * gfileenumerator.h:
3405 * gfileinputstream.h:
3407 * gfilenamecompleter.h:
3408 * gfileoutputstream.h:
3409 * gfilterinputstream.h:
3410 * gfilteroutputstream.h:
3418 * gmemoryinputstream.h:
3419 * gmemoryoutputstream.h:
3421 * gmountoperation.h:
3424 * gsimpleasyncresult.h:
3426 * gunixinputstream.h:
3428 * gunixoutputstream.h:
3432 * inotify/Makefile.am:
3433 Only allow including <gio/gio.h> from apps
3435 2007-12-14 Alexander Larsson <alexl@redhat.com>
3437 * gioscheduler.[ch]:
3438 * gsimpleasyncresult.c:
3439 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3440 Split out the send_to_mainloop call into two versions instead
3441 of having the block argument.
3443 2007-12-13 Alexander Larsson <alexl@redhat.com>
3445 * gcancellable.[ch]:
3447 * gbufferedinputstream.c:
3448 * gfileenumerator.c:
3449 * gfileinputstream.c:
3450 * gfileoutputstream.c:
3454 g_push/pop_current_cancellable ->
3455 g_cancellable_push/pop_current
3457 2007-12-13 Alexander Larsson <alexl@redhat.com>
3461 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3463 2007-12-13 Alexander Larsson <alexl@redhat.com>
3465 * gmountoperation.h:
3466 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3468 2007-12-12 Alexander Larsson <alexl@redhat.com>
3471 Fix race condition when freeing proxy in
3472 g_io_job_send_to_mainloop().
3474 2007-12-12 Alexander Larsson <alexl@redhat.com>
3480 Make attribute namespace separator "::" instead of ":".
3481 Use - instead of _ as separator in attribute names.
3483 2007-12-12 Alexander Larsson <alexl@redhat.com>
3485 * gbufferedinputstream.h:
3486 * gbufferedoutputstream.h:
3487 * gdatainputstream.h:
3488 * gdataoutputstream.h:
3489 * gdirectorymonitor.h:
3490 * gfileenumerator.h:
3491 * gfileinputstream.h:
3493 * gfileoutputstream.h:
3494 * gfilterinputstream.h:
3495 * gfilteroutputstream.h:
3497 * glocalfileinputstream.h:
3498 * glocalfileoutputstream.h:
3499 * gmemoryinputstream.h:
3500 * gmemoryoutputstream.h:
3501 * gnativevolumemonitor.h:
3503 * gunixinputstream.h:
3504 * gunixoutputstream.h:
3507 s/parent/parent_instance/ in GObjects
3509 2007-12-12 Alexander Larsson <alexl@redhat.com>
3514 No need for padding for interfaces
3516 2007-12-12 Alexander Larsson <alexl@redhat.com>
3520 * gbufferedinputstream.c:
3521 * gbufferedoutputstream.c:
3524 * gdatainputstream.[ch]:
3525 * gdesktopappinfo.c:
3526 * gdirectorymonitor.c:
3528 * gfileattribute.[ch]:
3531 * gfileinputstream.h:
3532 * gfilemonitor.[ch]:
3533 * gfileoutputstream.[ch]:
3534 * gfilterinputstream.h:
3535 * gfilteroutputstream.h:
3538 * gloadableicon.[ch]:
3539 * gmemoryinputstream.c:
3540 * gmountoperation.c:
3542 Fix up a bunch of details in the docs.
3547 2007-12-11 David Zeuthen <davidz@redhat.com>
3549 Rework how volumes, drives and volume monitoring is
3550 done. Previosly the model was
3552 GDrive <1-1> GVolume
3554 where a GDrive instance represented a mount point and a GVolume
3555 instance represented a mounted file system. This patch changes it
3558 GDrive <1-N> GVolume <1-1> GMount
3560 where GMount now serves the purpose of the old GVolume and the new
3561 GVolume serves the purpose of the old GDrive. In addition the new
3562 GDrive interface is used to represent a collection of GVolume
3563 instances (typically partitions) and also contains utility to query
3564 the state of the physical drive the GDrive object represents (such
3565 as checking for media, polling the drive, ejecting the media etc.).
3567 Also implement mounting and unmounting in the Unix volume monitor
3568 backend. A subquent patch will introduce GDrive support for ejection
3572 * gdrive.c: (g_drive_is_media_check_automatic),
3573 (g_drive_is_media_removable), (g_drive_has_media),
3574 (g_drive_can_poll_for_media), (g_drive_eject),
3575 (g_drive_eject_finish), (g_drive_poll_for_media),
3576 (g_drive_poll_for_media_finish):
3578 * gfile.c: (g_file_find_enclosing_mount):
3581 * glocaldirectorymonitor.c:
3582 (g_local_directory_monitor_constructor), (mounts_changed):
3583 * glocalfile.c: (get_mount_info),
3584 (g_local_file_find_enclosing_mount),
3585 (g_local_file_file_iface_init):
3586 * gnativevolumemonitor.h:
3587 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3588 (get_connected_drives), (g_union_volume_monitor_class_init),
3589 (child_volume_added), (child_volume_removed),
3590 (child_volume_changed), (child_mount_added), (child_mount_removed),
3591 (child_mount_pre_unmount), (child_mount_changed),
3592 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3593 (g_union_volume_monitor_remove_monitor),
3594 (_g_mount_get_for_mount_path):
3595 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3596 (guess_system_internal), (_g_get_unix_mounts),
3597 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3598 (g_unix_mount_free), (g_unix_mount_compare),
3599 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3600 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3601 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3602 (type_to_icon), (g_unix_mount_guess_name),
3603 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3604 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3605 (_resolve_symlink), (_resolve_dev_root):
3607 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3608 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3609 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3610 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3611 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3612 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3613 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3614 (g_unix_volume_volume_iface_init):
3616 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3617 (get_mounts), (get_volumes), (get_connected_drives),
3618 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3619 (mountpoints_changed), (mounts_changed),
3620 (g_unix_volume_monitor_init),
3621 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3622 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3623 * gunixvolumemonitor.h:
3624 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3625 (g_volume_mount), (g_volume_mount_finish):
3627 * gvolumemonitor.c: (g_volume_monitor_class_init),
3628 (g_volume_monitor_get_connected_drives),
3629 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3632 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3634 * gmountoperation.h (GPasswordFlags): Close the gap
3636 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3638 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3640 * gdesktopappinfo.[hc]: Remove _-prefixes
3642 2007-12-10 Tor Lillqvist <tml@novell.com>
3644 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3647 2007-12-10 Alexander Larsson <alexl@redhat.com>
3649 * gfile.c (g_file_set_display_name):
3650 Don't hardcode '/' (#502727)
3652 2007-12-09 Hans Breuer <hans@breuer.org>
3654 * makefile.msc : follow lib naming convention
3655 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3656 for user and group name, tested with ../tests/gio-ls
3658 2007-12-09 A. Walton <awalton@svn.gnome.org>
3660 * gdesktopappinfo.c:
3666 * gfileenumerator.c:
3671 * gmemoryinputstream.c:
3672 * gmemoryoutputstream.c:
3674 * gsimpleasyncresult.c:
3675 More documentation cleanup and filling in missing information, bringing
3676 GIO to 99% symbol coverage.
3678 2007-12-08 Hans Breuer <hans@breuer.org>
3680 [gio compiles and links on win32, not sure how much already works]
3681 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3682 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3683 base on win32 API; prefer g_lstat() over lstat(); instead of
3684 localtime_r() use an all GLib implementation on win32;
3685 get_mount_info() still needs a win32 specifc implementation
3686 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3687 win32_get_file_user_info to get owner/group info without uid/gid
3688 * glocalfileinputstream.c : include <io.h> on win32
3689 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3690 definition, use g_win32_ftruncate() for G_OS_WIN32
3691 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3692 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3693 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3694 * makefile.msc : updated
3696 2007-12-07 Alexander Larsson <alexl@redhat.com>
3698 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3699 Avoid warning spew if error == NULL
3701 2007-12-07 Alexander Larsson <alexl@redhat.com>
3704 Update docs wrt etags
3706 2007-12-06 Alexander Larsson <alexl@redhat.com>
3709 Include sys/types.h for dev_t (#501919)
3711 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3715 Make abicheck and pltcheck pass.
3717 2007-12-05 Alexander Larsson <alexl@redhat.com>
3720 * giomodule-priv.h: Added.
3721 * glocaldirectorymonitor.c:
3722 * glocalfilemonitor.c:
3723 * gunionvolumemonitor.c:
3725 Actually add the declaration of _g_io_modules_ensure_loaded
3727 2007-12-05 Alexander Larsson <alexl@redhat.com>
3729 * gdatainputstream.c:
3734 * glocaldirectorymonitor.c:
3735 * glocalfilemonitor.c:
3736 * gunionvolumemonitor.c:
3738 Make g_io_modules_ensure_loaded a private function and
3739 don't pass in the dirname. This means we can do magic
3740 directory finding in the win32 version.
3741 Export the actual load-modules-in-directory code so that
3742 gvfs can reuse that.
3744 2007-12-05 Alexander Larsson <alexl@redhat.com>
3746 * gbufferedinputstream.c:
3747 * gbufferedoutputstream.c:
3750 * gfileenumerator.[ch]:
3751 * gfileinputstream.c:
3752 * gfileoutputstream.[ch]:
3753 * gfilterinputstream.c:
3754 * gfilteroutputstream.c:
3755 * ginputstream.[ch]:
3757 * glocalfileenumerator.c:
3758 * glocalfileinputstream.c:
3759 * glocalfileoutputstream.c:
3760 * gmemoryinputstream.c:
3761 * gmemoryoutputstream.c:
3762 * goutputstream.[ch]:
3765 * gunixinputstream.c:
3766 * gunixoutputstream.c:
3767 Rename all struct members named:
3768 read, write, close, truncate, or mount
3769 to foo_fn, as these are reserved names
3770 and could be defined as macros in libc.
3773 2007-12-04 Alexander Larsson <alexl@redhat.com>
3776 (g_output_stream_close):
3777 Only call flush if non-null.
3779 2007-11-30 Dan Winship <danw@gnome.org>
3781 * ginputstream.c (g_input_stream_set_pending): Make this take a
3782 GError and return a gboolean, and do the "outstanding operation"
3783 check (and the "stream is already closed" check) itself.
3784 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3786 * goutputstream.c (g_output_stream_set_pending)
3787 (g_output_stream_clear_pending): Likewise
3789 * gbufferedinputstream.c:
3790 * gfileinputstream.c:
3791 * gfileoutputstream.c: Update for that
3793 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3794 Like g_simple_async_report_error_in_idle, but takes a GError
3795 rather than building one.
3797 2007-11-30 Dan Winship <danw@gnome.org>
3799 * goutputstream.c: Don't cheat and unset the "pending" flag around
3800 inner calls. Instead, call the class method directly rather than
3801 the wrapper function that checks "pending"
3803 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3805 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3807 2007-12-03 Hans Breuer <hans@breuer.org>
3809 [start of port to win32/msvc]
3810 * gcancellable.c : HAVE_UNIST_H and _pipe()
3811 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3812 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3813 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3815 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3816 * glocalvfs.c : use HAVE_PWD_H
3817 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3818 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3819 * Makefile.am : added to EXTRA_DIST
3821 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3823 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3826 2007-12-03 Alexander Larsson <alexl@redhat.com>
3829 Handle OSX style xattrs API (#500506)
3831 2007-12-03 Alexander Larsson <alexl@redhat.com>
3835 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3837 2007-12-02 A. Walton <awalton@svn.gnome.org>
3841 Documentation accuracy fixes.
3843 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3845 * gioenumtypes.c.template: Fix typo.
3847 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3849 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3851 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3853 * gdirectorymonitor.c:
3854 * gfilemonitor.c: Add properties
3856 * gbufferedoutputstream.c: Don't mark buffer-size property
3859 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3861 * gbufferedoutputstream.c: Add auto-grow property.
3863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3865 * *.c: Unify the capitalization of section headings.
3867 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3869 * gmountoperation.c: Add properties
3871 * gdatainputstream.c: Turn byte-order and newline-type into
3874 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3876 * gioenumtypes.[hc].template: Templates for enum registration
3878 * Makefile.am: Generate gioenumtypes.[hc]
3880 * gio.h: Include gioenumtypes.h
3882 * gfile.h: Add some explicit nicks.
3884 * gio.symbols: Add new symbols
3886 * pltcheck.sh: Adjust
3888 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3890 * *.c: Explain etags and link to the explanation
3892 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3894 * *.c: Explain I/O priority.
3896 * *.c: More coding style fixes.
3898 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3900 * gasyncresult.c: Add another paragraph to the intro,
3901 adjust coding style of example.
3903 2007-11-29 A. Walton <awalton@svn.gnome.org>
3906 Fixes unknown meaning in GAppLaunchContext docs.
3908 Clarify asynchronous ops.
3910 Fix entity tag docs.
3913 Provides missing gtk-doc section, fixes API docs slighly.
3914 * gsimpleasyncresult.c:
3915 Fill in missing info in docs.
3916 * gunixinputstream.c:
3917 * gunixoutputstream.c:
3918 Be more expressive in short description.
3920 Remove gtk-doc stubs for non-public API.
3922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3924 * *.c: Coding style fixups
3926 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3928 * inotify/inotify-helper.c: Don't export the lock from libgio.
3930 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3933 * abicheck.sh: Fix copy-and-paste leftovers
3935 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3937 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3939 2007-11-28 Alexander Larsson <alexl@redhat.com>
3943 Removed unnecessary file
3945 * gdesktopappinfo.[ch]:
3948 * glocaldirectorymonitor.[ch]:
3950 * glocalfileenumerator.[ch]:
3951 * glocalfileinputstream.[ch]:
3952 * glocalfilemonitor.[ch]:
3953 * glocalfileoutputstream.[ch]:
3955 * gnativevolumemonitor.c:
3956 * gpollfilemonitor.[ch]:
3957 * gunionvolumemonitor.[ch]:
3960 * gunixvolumemonitor.[ch]:
3963 * inotify/ginotifydirectorymonitor.[ch]:
3964 * inotify/ginotifyfilemonitor.[ch]:
3965 * inotify/inotify-helper.c:
3966 Append _ to all internal functions
3970 Export symbols needed for modules
3972 2007-11-28 Alexander Larsson <alexl@redhat.com>
3975 * abicheck.sh: Added.
3976 * makegioalias.pl: Added.
3977 * pltcheck.sh: Added.
3978 * gio.symbols: Added.
3981 Initial work on adding symbol handling.
3984 Correct ifdef guard name
3987 * inotify/Makefile.am:
3988 * xdgmime/Makefile.am:
3989 Include toplevel Makefile.decl
3991 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3993 * gcontenttype.c: Move doc comments to the unix section.
3995 * *.[hc]: More trivial doc corrections.
3997 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3999 * gpollfilemonitor.c:
4003 * gdesktopappinfo.c:
4008 * gdatainputstream.c:
4009 * gdatainputstream.h:
4010 * gdataoutputstream.c:
4011 * gdataoutputstream.h:
4012 * gfileinfo.h: Doc cleanups
4014 2007-11-28 Andre Klapper <a9016009@gmx.de>
4016 * gdesktopappinfo.c: Fix a typo.
4018 2007-11-27 Andre Klapper <a9016009@gmx.de>
4020 * glocalfileoutputstream.c: Fix a typo.
4022 2007-11-27 Alexander Larsson <alexl@redhat.com>
4025 Don't include removed headers
4027 2007-11-27 Alexander Larsson <alexl@redhat.com>
4030 * gsocketinputstream.[ch]: Removed.
4031 * gsocketoutputstream.[ch]: Removed.
4032 * gunixinputstream.[ch]: Added.
4033 * gunixoutputstream.[ch]: Added.
4034 Renamed GSocket*Stream to GUnix*Stream and made
4035 it unix-only, since its not really only for sockets
4036 and it only works on unix (but is highly useful there).
4038 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4044 * gbufferedinputstream.c:
4045 * gbufferedinputstream.h:
4046 * gbufferedoutputstream.c:
4047 * gbufferedoutputstream.h:
4051 * gdatainputstream.c:
4052 * gdatainputstream.h:
4053 * gdataoutputstream.c:
4054 * gdataoutputstream.h:
4055 * gdirectorymonitor.c:
4056 * gdirectorymonitor.h:
4063 * gfileenumerator.c:
4064 * gfileenumerator.h:
4069 * gfileinputstream.c:
4070 * gfileinputstream.h:
4073 * gfilenamecompleter.c:
4074 * gfilenamecompleter.h:
4075 * gfileoutputstream.c:
4076 * gfileoutputstream.h:
4077 * gfilterinputstream.c:
4078 * gfilterinputstream.h:
4079 * gfilteroutputstream.c:
4080 * gfilteroutputstream.h:
4093 * glocalfileoutputstream.c:
4094 * gmemoryinputstream.c:
4095 * gmemoryinputstream.h:
4096 * gmemoryoutputstream.c:
4097 * gmemoryoutputstream.h:
4098 * gmountoperation.c:
4099 * gmountoperation.h:
4102 * gpollfilemonitor.c:
4105 * gsimpleasyncresult.c:
4106 * gsimpleasyncresult.h:
4107 * gsocketinputstream.c:
4108 * gsocketinputstream.h:
4109 * gsocketoutputstream.c:
4110 * gsocketoutputstream.h:
4117 * gunixvolumemonitor.c:
4126 Bumps documentation to 93% symbol coverage, touching most
4127 of the public files. Fixes broken function documentation prototypes.
4128 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4129 gtk-doc headers in private files.
4131 2007-11-27 Jürg Billeter <j@bitron.ch>
4133 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4134 (g_buffered_input_stream_read_byte):
4135 * gbufferedinputstream.h:
4136 New functions for efficient access to buffer and simple single byte
4139 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4140 (g_data_input_stream_read_until):
4141 * gdatainputstream.h:
4142 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4143 read_until with multiple stop chars.
4145 2007-11-27 Alexander Larsson <alexl@redhat.com>
4149 * inotify/Makefile.am:
4150 Use the user-specified giomoduledir
4152 2007-11-27 Alexander Larsson <alexl@redhat.com>
4156 Add catch-all gio.h header
4157 Don't install gdummyfile.h
4159 2007-11-26 Alexander Larsson <alexl@redhat.com>
4161 * Makefile.am (gioinclude_HEADERS):
4162 Remove trailing whitespace
4164 2007-11-26 Alexander Larsson <alexl@redhat.com>
4166 Merge gio-standalone into glib
4168 2007-11-25 Christian Kellner <gicmo@gnome.org>
4170 * gio/goutputstream.c:
4171 Fix small mistake in the docs.
4173 2007-11-21 Christian Persch <chpe@gnome.org>
4175 * gio/glocalfile.c: (g_local_file_trash):
4176 Convert filenames to UTF-8 for GError.
4177 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4178 as per xdg base dir spec.
4180 2007-11-21 Christian Persch <chpe@gnome.org>
4182 * gio/gdesktopappinfo.c:
4183 Use that g_key_file_to_data cannot fail.
4185 Use stock defines for the key file group and key names.
4188 2007-11-21 Alexander Larsson <alexl@redhat.com>
4191 (copy_stream_with_progress):
4192 Make sure we do a final progress callback with
4193 the full total size.
4195 2007-11-21 Alexander Larsson <alexl@redhat.com>
4198 Export g_file_copy_attributes
4199 Remove padding as its not needed for interfaces
4201 2007-11-20 Alexander Larsson <alexl@redhat.com>
4206 Add G_IO_ERROR_WOULD_MERGE for
4207 copy/move dir on dir with overwrite.
4209 2007-11-20 Alexander Larsson <alexl@redhat.com>
4212 * gio/glocalfileinfo.c:
4213 Add COPY_NAME (this is an optional
4214 non-modified utf8 version of the name) that
4217 2007-11-20 Alexander Larsson <alexl@redhat.com>
4219 * gio/glocalfileenumerator.c:
4220 Report errors as GIOError, not GFileError
4222 2007-11-16 Alexander Larsson <alexl@redhat.com>
4224 * gio/glocalfileoutputstream.c:
4225 * gio/gwin32appinfo.c:
4226 Fix typos in strings.
4227 Patch from Luca Ferretti <elle.uca@libero.it>
4229 2007-11-15 Alexander Larsson <alexl@redhat.com>
4232 Post release version bump
4234 === gio-standalone 0.1.2 ===
4236 2007-11-15 Alexander Larsson <alexl@redhat.com>
4238 * docs/reference/gio/Makefile.am:
4239 Fix up distcheck by removing weird
4245 2007-11-14 Alexander Larsson <alexl@redhat.com>
4247 * gio/gdesktopappinfo.c:
4248 * gio/glocaldirectorymonitor.c:
4250 * gio/glocalfileinfo.c:
4251 * gio/inotify/inotify-sub.c:
4252 * programs/gio-cat.c:
4253 * programs/gio-copy.c:
4254 * programs/gio-info.c:
4255 * programs/gio-ls.c:
4256 * programs/gio-monitor-dir.c:
4257 * programs/gio-monitor-file.c:
4258 * programs/gio-mount.c:
4259 * programs/gio-move.c:
4260 * programs/gio-rm.c:
4261 * programs/gio-save.c:
4262 * programs/gio-trash.c:
4263 Leak fixes from Kjartan Maraas
4265 2007-11-14 Alexander Larsson <alexl@redhat.com>
4267 * gio/fam/fam-helper.c:
4269 * gio/glocalfileinfo.c:
4273 * gio/inotify/inotify-diag.c:
4274 * gio/inotify/inotify-kernel.c:
4275 Various code cleanups from Kjartan Maraas
4277 2007-11-14 Alexander Larsson <alexl@redhat.com>
4279 * gio/gioscheduler.c:
4281 Set up threadpool so that we cache 2 unused
4282 idle threads for at 15 secs. This means we
4283 will reuse thread-local data (like dbus connections)
4286 2007-11-14 Alexander Larsson <alexl@redhat.com>
4288 * gio/fam/fam-helper.c:
4289 * gio/fam/gfamdirectorymonitor.c:
4290 * gio/fam/gfamfilemonitor.c:
4292 * gio/gcontenttype.c:
4293 * gio/gdatainputstream.c:
4294 * gio/gdataoutputstream.c:
4298 * gio/gfileattribute.h:
4299 * gio/gfileenumerator.c:
4301 * gio/ginputstream.c:
4304 * gio/glocalfileinfo.c:
4305 * gio/goutputstream.c:
4306 * gio/gpollfilemonitor.c:
4307 * gio/gsimpleasyncresult.c:
4308 * gio/gunixmounts.c:
4309 * gio/gunixmounts.h:
4310 * gio/inotify/ginotifydirectorymonitor.c:
4311 * gio/inotify/ginotifyfilemonitor.c:
4312 * gio/inotify/inotify-diag.c:
4313 * gio/inotify/inotify-kernel.c:
4314 * gio/inotify/inotify-path.c:
4316 * gio/test-streams.c:
4317 * programs/gio-info.c:
4318 * programs/gio-monitor-dir.c:
4319 * programs/gio-monitor-file.c:
4320 Various code cleanups from Kjartan Maraas
4322 2007-11-13 Alexander Larsson <alexl@redhat.com>
4325 Handle the uri-scheme calls for dummy files
4327 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4329 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4330 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4331 to avoid clash with the C++ keyword.
4333 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4335 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4336 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4338 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4340 * gio/glocaldirectorymonitor.c:
4341 * gio/glocalfilemonitor.c:
4342 * gio/gunionvolumemonitor.c:
4343 Don't use g_once_init_*() for initializations that could fail and
4344 could leave the initialization variable set to 0 but use GOnce.
4345 This prevents a deadlock on the second call when trying to create
4346 a monitor and no monitor type is available. Thanks to Sven Herzberg
4349 2007-11-11 Sven Herzberg <sven@imendio.com>
4351 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4352 #ifdef (make it work on MacOS X again)
4354 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4356 Fixes Changelog for last two commits (sorry guys).
4358 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4360 * gio/gbufferedinputstream.c:
4361 * gio/gdatainputstream.c:
4363 * gio/gfileoutputstream.c:
4364 * gio/gfilterinputstream.c:
4365 * gio/glocalfileinputstream.c:
4368 More consistency fixes in g*stream.c files.
4369 Significant clean of gfile's documentation, filling in of
4370 asynchronous operations documentation.
4372 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4374 * gio/gasyncresult.c:
4375 * gio/gbufferedinputstream.c:
4376 * gio/gbufferedoutputstream.c:
4377 * gio/gcancellable.c:
4378 * gio/gcontenttype.c:
4379 * gio/gdatainputstream.c:
4380 * gio/gdataoutputstream.c:
4381 * gio/gdesktopappinfo.c:
4384 * gio/gfileattribute.c:
4385 * gio/gio/gfileenumerator.c:
4387 * gio/gfileinputstream.c:
4388 * gio/gfilemonitor.c:
4389 * gio/gfileoutputstream.c:
4390 * gio/ginputstream.c:
4392 * gio/gioscheduler.c:
4393 * gio/gloadableicon.c:
4394 * gio/glocalfileoutputstream.c:
4395 * gio/gmemoryoutputstream.c:
4396 * gio/gmountoperation.c:
4397 * gio/goutputstream.c:
4399 * gio/gsimpleasyncresult.c:
4400 * gio/gunionvolumemonitor.c:
4401 * gio/gunixmounts.c:
4402 * gio/gunixvolume.c:
4406 * gio/gvolumemonitor.c:
4407 Updated documentation stubs, working towards consistency and
4410 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4412 * gio/gmemoryoutputstream.c:
4413 * gio/gmemoryoutputstream.h:
4414 Change g_memory_output_stream_set_free_on_close() to
4415 g_memory_output_stream_set_free_data() as this makes more sense and
4416 is more consistent with GMemoryInputStream.
4418 2007-11-07 Alexander Larsson <alexl@redhat.com>
4425 Change how we find the default vfs so that
4426 we can handle a gvfs failing to init
4428 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4430 * gio/gbufferedoutputstream.c:
4431 * gio/gdatainputstream.c:
4432 * gio/gdataoutputstream.c:
4433 * gio/gfileinputstream.c:
4434 * gio/gfileoutputstream.c:
4435 * gio/gfilterinputstream.c:
4436 * gio/gfilteroutputstream.c:
4437 * gio/ginputstream.c:
4438 * gio/gmemoryinputstream.c:
4439 * gio/gmemoryoutputstream.c:
4440 * gio/goutputstream.c:
4441 * gio/gsimpleasyncresult.c:
4442 * gio/gsocketinputstream.c:
4443 * gio/gsocketoutputstream.c:
4444 Add guards to the remaining public functions, add a TODO for
4445 an unimplemented function and remove some useless guards.
4447 2007-11-07 Alexander Larsson <alexl@redhat.com>
4450 Autoconf checks for the various types of
4451 getpwuid_r and getgrgid_r
4453 * gio/glocalfileinfo.c:
4454 Use the autoconf checks from above
4456 2007-11-07 Alexander Larsson <alexl@redhat.com>
4459 (g_local_file_query_filesystem_info):
4460 Some fixes for the statvfs case
4462 2007-11-07 Alexander Larsson <alexl@redhat.com>
4465 (g_local_file_query_filesystem_info):
4466 Pick the "best" of statfs / statvfs for the system
4467 if both are availible.
4469 2007-11-07 Alexander Larsson <alexl@redhat.com>
4471 Solaris fixes from Halton.Huo@Sun.COM:
4478 * gio/glocalfileinfo.c:
4479 Fix for solaris definition of getpwuid_r
4481 * gio/test-streams.c:
4482 Use G_GNUC_PRETTY_FUNCTION
4484 2007-11-07 Alexander Larsson <alexl@redhat.com>
4486 * gio/gdesktopappinfo.c:
4487 (update_default_list):
4488 Remove double semicolon.
4489 Patch from Jens Granseuer
4491 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4493 * docs/reference/gio/gio-sections.txt:
4494 * gio/gbufferedinputstream.c:
4495 * gio/gbufferedinputstream.h:
4496 * gio/gdatainputstream.c:
4497 * gio/gfileenumerator.c:
4498 * gio/gioscheduler.c:
4499 * gio/gunionvolumemonitor.c:
4501 * programs/gio-save.c:
4502 Fix typo: availible -> available. Unfortuntely this breaks API
4503 and ABI as g_buffered_input_stream_get_available() was renamed.
4505 * gio/gunixmounts.c:
4506 * gio/gbufferedinputstream.c:
4507 Add guards for public functions.
4509 2007-11-06 Ross Burton <ross@openedhand.com>
4511 * docs/reference/gio/Makefile.am:
4512 Fix invalid += usage which automake 1.10 doesn't like.
4514 2007-11-06 Alexander Larsson <alexl@redhat.com>
4517 (g_app_launch_context_class_init):
4520 Patch from Ross Burton
4522 2007-11-06 Alexander Larsson <alexl@redhat.com>
4525 Post release version bump
4527 === gio-standalone 0.1.1 ===
4529 2007-11-06 Alexander Larsson <alexl@redhat.com>
4532 Bump version to 0.1.1
4534 * gio/gsimpleasyncresult.c:
4535 (g_simple_async_result_set_from_error):
4536 Remove bogus g_return_if_fail
4538 2007-11-06 Alexander Larsson <alexl@redhat.com>
4541 The name is gio-standalone
4544 Add top src/builddir to includedir
4546 2007-11-06 Alexander Larsson <alexl@redhat.com>
4548 * docs/reference/gio/gio-sections.txt:
4550 * gio/gbufferedinputstream.c:
4551 * gio/gbufferedoutputstream.c:
4552 * gio/gcancellable.c:
4553 * gio/gdatainputstream.h:
4554 * gio/gdataoutputstream.c:
4555 * gio/gdataoutputstream.h:
4556 * gio/gdirectorymonitor.c:
4558 * gio/gfileattribute.c:
4559 * gio/gfileattribute.h:
4560 * gio/gfileenumerator.c:
4561 * gio/gfileenumerator.h:
4564 * gio/gfileinputstream.h:
4565 * gio/gfilemonitor.c:
4566 * gio/gfileoutputstream.h:
4567 * gio/glocalfilemonitor.h:
4568 * gio/glocalfileoutputstream.h:
4569 * gio/gmemoryinputstream.c:
4570 * gio/gmemoryoutputstream.c:
4571 * gio/gmountoperation.c:
4572 * gio/goutputstream.c:
4573 * gio/goutputstream.h:
4575 * gio/gsimpleasyncresult.c:
4576 * gio/gunixmounts.c:
4577 * gio/gunixmounts.h:
4579 * gio/inotify/inotify-helper.c:
4580 Fix gtk-doc warnings
4582 Patch from Ross Burton
4584 2007-11-06 Alexander Larsson <alexl@redhat.com>
4586 * gio/gfilenamecompleter.c:
4587 (g_filename_completer_get_completions):
4590 * gio/gunixvolume.c:
4591 Remove unused function
4593 Patches from Ross Burton
4595 2007-11-06 Alexander Larsson <alexl@redhat.com>
4600 Padding not needed for interfaces
4602 2007-11-06 Alexander Larsson <alexl@redhat.com>
4604 * gio/gfilemonitor.c:
4608 Make giotypes.h an internal file
4611 * gio/gbufferedinputstream.h:
4612 * gio/gbufferedoutputstream.h:
4613 * gio/gcancellable.h:
4614 * gio/gdatainputstream.h:
4615 * gio/gdataoutputstream.h:
4616 * gio/gdirectorymonitor.c:
4617 * gio/gdirectorymonitor.h:
4622 * gio/gfileattribute.h:
4623 * gio/gfileenumerator.h:
4628 * gio/gfilemonitor.c:
4629 * gio/gfilemonitor.h:
4630 * gio/gfilenamecompleter.c:
4631 * gio/gfilenamecompleter.h:
4632 * gio/gfilterinputstream.h:
4633 * gio/gfilteroutputstream.h:
4634 * gio/ginputstream.h:
4635 * gio/gmemoryinputstream.h:
4636 * gio/gmemoryoutputstream.h:
4637 * gio/gmountoperation.c:
4638 * gio/gmountoperation.h:
4639 * gio/gnativevolumemonitor.c:
4640 * gio/goutputstream.h:
4643 * gio/gsimpleasyncresult.c:
4644 * gio/gsimpleasyncresult.h:
4645 * gio/gsocketinputstream.h:
4646 * gio/gsocketoutputstream.h:
4647 * gio/gthemedicon.c:
4648 * gio/gthemedicon.h:
4652 * gio/gvolumemonitor.c:
4653 * gio/gvolumemonitor.h:
4654 Add padding in classes where it seems useful
4655 Don't include giotypes.h from public headers
4656 Move in Class definitions into c file where possible
4661 2007-11-06 Alexander Larsson <alexl@redhat.com>
4663 * docs/reference/gio/gio-docs.xml:
4664 Better structure for API docs
4666 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4669 * gio/gloadableicon.c:
4670 * gio/gsimpleasyncresult.c:
4671 * gio/gthemedicon.c:
4672 Add some more guards to public functions. Only files missing are now
4675 2007-11-06 Alexander Larsson <alexl@redhat.com>
4677 * docs/reference/gio/gio-docs.xml:
4678 Remove old files, add missing ones
4680 2007-11-06 Alexander Larsson <alexl@redhat.com>
4682 * docs/reference/gio/gio-sections.txt:
4685 Hide implementation classes
4687 * gio/gdriveprivate.h:
4688 * gio/gvolumeprivate.h:
4689 Remove non-existing function declarations
4691 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4694 Fix compilation warnings and add guards to the new functions.
4696 * gio/gasyncresult.c:
4698 Add guards to the public functions.
4701 Implement get_path().
4703 2007-11-06 Alexander Larsson <alexl@redhat.com>
4705 * gio/gfilenamecompleter.c:
4706 Make g_filename_completer_get_completions
4707 return char ** instead of GList for
4710 * docs/reference/gio/gio-docs.xml:
4711 * docs/reference/gio/gio-sections.txt:
4713 * gio/gasyncresult.c:
4714 * gio/gbufferedinputstream.c:
4715 * gio/gbufferedoutputstream.c:
4716 * gio/gcancellable.c:
4717 * gio/gcontenttype.c:
4718 * gio/gdatainputstream.c:
4719 * gio/gdataoutputstream.c:
4720 * gio/gdesktopappinfo.c:
4721 * gio/gdirectorymonitor.c:
4725 * gio/gfileattribute.c:
4726 * gio/gfileenumerator.c:
4729 * gio/gfileinputstream.c:
4730 * gio/gfilemonitor.c:
4731 * gio/gfilenamecompleter.c:
4732 * gio/gfilenamecompleter.h:
4733 * gio/gfileoutputstream.c:
4734 * gio/gfilterinputstream.c:
4736 * gio/ginputstream.c:
4738 * gio/gioscheduler.c:
4739 * gio/gloadableicon.c:
4740 * gio/glocaldirectorymonitor.c:
4742 * gio/glocalfileinputstream.c:
4743 * gio/glocalfilemonitor.c:
4744 * gio/glocalfileoutputstream.c:
4746 * gio/gmemoryinputstream.c:
4747 * gio/gmemoryoutputstream.c:
4748 * gio/gmountoperation.c:
4749 * gio/goutputstream.c:
4750 * gio/gpollfilemonitor.c:
4752 * gio/gsimpleasyncresult.c:
4753 * gio/gsocketinputstream.c:
4754 * gio/gsocketoutputstream.c:
4755 * gio/gthemedicon.c:
4756 * gio/gunionvolumemonitor.c:
4758 * gio/gunixmounts.c:
4759 * gio/gunixvolume.c:
4760 * gio/gunixvolumemonitor.c:
4764 * gio/gvolumemonitor.c:
4765 * gio/gwin32appinfo.c:
4766 Add (mostly stub) doc strings to public functions.
4767 Patch from Andrew Walton (awalton@gmail.com)
4769 2007-11-06 Alexander Larsson <alexl@redhat.com>
4771 * gio/gappinfo.[ch]:
4772 Added GAppLaunchContext object and pass that to launch.
4773 This allows simple implementation of both
4774 launch-on-screen and startup notification via a gtk+
4775 subclass of GAppLaunchContext
4777 * gio/gdesktopappinfo.c:
4778 Implement GAppLaunchContext API
4780 * gio/gwin32appinfo.c:
4783 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4785 * gio/gmountoperation.c:
4786 Add some guards to GMountOperation's public functions.
4788 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4792 * gio/gcancellable.c:
4793 * gio/gdirectorymonitor.c:
4795 * gio/gfileenumerator.c:
4796 * gio/gfilemonitor.c:,
4797 * gio/gfilenamecompleter.c:
4800 * gio/gioscheduler.c:
4804 * gio/gvolumemonitor.c:
4805 Add even more guards to various public functions.
4807 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4810 Add guards to the public functions of GAppInfo.
4812 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4814 * gio/gcontenttype.c:
4815 Add some more guards for public functions.
4817 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4819 * gio/fam/fam-module.c:
4820 * gio/fam/gfamdirectorymonitor.c:
4821 * gio/fam/gfamdirectorymonitor.h:
4822 * gio/fam/gfamfilemonitor.c:
4823 * gio/fam/gfamfilemonitor.h:
4824 * gio/inotify/ginotifydirectorymonitor.c:
4825 * gio/inotify/ginotifydirectorymonitor.h:
4826 * gio/inotify/ginotifyfilemonitor.c:
4827 * gio/inotify/ginotifyfilemonitor.h:
4828 Add proper copyright information and remove an unused variable
4829 in the GInotifyFileMonitor constructor.
4831 * gio/gcancellable.c:
4832 Add a guard for a public function and an assertion to prevent
4833 an undefined program state.
4835 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4837 * gio/gfileattribute.c:
4838 Don't run into an assertion if the given attribute value is NULL
4839 in g_file_attribute_value_get_*() but instead return a fallback
4840 value that makes sense in most situations. Passing them a attribute
4841 value with the wrong type will still run into an assertion.
4843 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4845 * gio/gfileattribute.c:
4847 Add even more guards to the public functions. Also fix the refcounting
4848 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4849 let g_file_info_list_attributes() filter the attributes by namespace
4850 instead of simply ignoring the namespace parameter.
4852 2007-11-03 Sven Herzberg <sven@imendio.com>
4854 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4855 (This makes gio work on MacOS X again)
4857 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4860 Build the gio subdirectory before the docs. Otherwise the build will
4863 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4864 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4865 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4866 Add guards to the public functions.
4868 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4870 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4871 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4872 to prevent a compiler warning.
4874 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4875 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4876 return something in the non-void function find_topdir_for().
4878 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4885 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4887 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4888 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4889 * gwin32appinfo.c (g_win32_app_info_launch):
4890 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4891 envp_for_startup_id, g_desktop_app_info_launch,
4892 g_desktop_app_info_launch_uris):
4894 Give an opaque 'startup_id' string instead of 'envp'.
4895 Support empty file lists for launching new windows.
4896 Fix infinite recursion bug when launching URIs.
4898 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4901 Add guard to the new g_file_get_uri_scheme() function.
4903 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4906 Convert a g_return_val_if_fail() to setting the GError instead as
4907 otherwise applications have to verify the parameter before otherwise
4908 and the parameter might come directly from the user.
4910 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4912 * gio/inotify/ginotify*.[ch]:
4913 Add missing copyright information.
4915 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4918 Add guards in the beginning of public functions to check for valid
4919 parameters and fix a bug in copy_stream_with_progress() that could've
4920 caused writing less bytes than reading.
4921 * gio/glocalfileinfo.c:
4922 Check for a NULL parameter and set the GError accordingly then.
4923 * gio/goutputstream.c:
4924 Fix the same bug as in gfile.c that could've caused writing less bytes
4925 than reading in g_output_stream_real_splice().
4927 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4930 Use the correct gvolumeprivate.h naming
4932 2007-11-01 Christian Kellner <gicmo@gnome.org>
4935 Remove leftover "$(daemon_sources)" entry.
4937 2007-11-01 Christian Kellner <gicmo@gnome.org>
4942 Add copyright information to source files.
4944 2007-11-01 Alexander Larsson <alexl@redhat.com>
4948 Add g_file_get_uri_scheme
4950 2007-11-01 Alexander Larsson <alexl@redhat.com>
4953 * gio/gdesktopappinfo.c:
4954 * gio/gwin32appinfo.c:
4955 Add g_app_info_get_default_for_uri_scheme.
4957 2007-11-01 Alexander Larsson <alexl@redhat.com>
4960 Correct filename for gdriveprivate.h
4962 2007-10-31 Alexander Larsson <alexl@redhat.com>
4965 Rename id:value to id:file
4968 * gio/glocalfileinfo.c:
4971 2007-10-31 Alexander Larsson <alexl@redhat.com>
4973 * gio/gunixvolume.c:
4975 Remove g_volume_get_platform_id, as thats not
4976 needed with the simpler union volume monitor
4978 2007-10-31 Alexander Larsson <alexl@redhat.com>
4981 * gio/guniondrive.[ch]: Removed.
4982 * gio/gunionvolume.[ch]: Removed.
4983 Remove GUnionDrive/Volume
4985 * gio/gunionvolumemonitor.c:
4986 Simplify union volume monitor, now we
4987 only have one native volume monitor and
4988 we use the actual volumes/drives from the
4989 child monitors instead of wrapping them
4991 * gio/gnativevolumemonitor.[ch]:
4992 Base class for native volume monitors.
4993 Includes priority and get_volume_for_mountpoint
4996 Add g_file_find_enclosing_volume
4999 Remove volume name fs attribute
5000 Add readonly fs attribute
5003 Implement readonly attribute
5004 remove volume name attribute
5005 Implement find_enclosing volume
5007 * gio/gunixmounts.c:
5008 Add a volume for "/".
5010 * gio/gunixvolume.[ch]:
5011 Set better name for /
5013 * gio/gunixvolumemonitor.[ch]:
5014 Derive from GNativeVolumeMonitor
5015 Implement get_volume_for_mountpoint
5018 GVolume typedef moved to gfile.h
5020 * gio/gvolumeprivate.h:
5021 Add g_volume_get_for_mount_path
5023 2007-10-31 Alexander Larsson <alexl@redhat.com>
5025 * gio/gunixmounts.[ch]:
5026 Add cache info to unix mount listers
5027 Make getmntent use threadsafe
5028 Add is_system_internal attribute for GUnixMount
5030 * gio/gunixvolume.c:
5031 (g_unix_volume_new):
5032 Use is_system_internal instead of own code
5034 * gio/glocaldirectorymonitor.c:
5035 * gio/gunixvolumemonitor.c:
5036 Update to new gunixmounts API
5041 2007-10-30 Alexander Larsson <alexl@redhat.com>
5044 Add volume name fsinfo attribute
5047 Read volume name info
5049 * gio/gunionvolumemonitor.c:
5050 Fix infinite loops when finalizing a union volume monitor
5052 2007-10-30 Alexander Larsson <alexl@redhat.com>
5054 * gio/goutputstream.[ch]:
5055 Add splice() with default implementation
5057 * gio/gsocketoutputstream.c:
5058 (g_socket_output_stream_write):
5059 Return error on cancellation correctly.
5061 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5063 * gio/glocalfile.c (g_local_file_trash):
5064 Do not leak a string.
5066 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5068 * gio/gfile.c (g_file_load_contents):
5069 Unref the stream after closing it.
5071 2007-10-25 Alexander Larsson <alexl@redhat.com>
5073 * gio/gioscheduler.h:
5076 2007-10-25 Alexander Larsson <alexl@redhat.com>
5080 Add g_file_has_uri_scheme and implement for local files
5082 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5084 * gio/gdesktopappinfo.c: do not leak a string.
5086 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5088 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5089 (g_local_directory_monitor_new):
5090 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5091 (g_local_file_monitor_new):
5092 Only look for the monitor type that should be used the first time
5093 and use g_qsort_with_data() instead of our own bubble sort
5096 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5099 * gio/fam/Makefile.am:
5100 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5101 * gio/fam/fam-helper.h:
5102 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5103 * gio/fam/gfamdirectorymonitor.c:
5104 * gio/fam/gfamdirectorymonitor.h:
5105 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5106 * gio/fam/gfamfilemonitor.h:
5107 * gio/glocaldirectorymonitor.c:
5108 * gio/glocaldirectorymonitor.h:
5109 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5110 * gio/glocalfilemonitor.h:
5111 * gio/inotify/Makefile.am:
5112 * gio/inotify/ginotifydirectorymonitor.c:
5113 * gio/inotify/ginotifydirectorymonitor.h:
5114 * gio/inotify/ginotifyfilemonitor.c:
5115 * gio/inotify/ginotifyfilemonitor.h:
5116 Implement the FAM and Inotify monitors as
5117 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5118 their own GIO module. GLocal(Directory|File)Monitor will use the
5119 monitor with the highest rank that is supported on that machine.
5121 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5124 Change GIO module dir to $(libdir)/gio/modules and change
5125 the log domain from GVFS to GIO. Also only export symbols starting
5126 with g_ in the resulting library.
5127 * gio/test-streams.c: (main):
5128 Set log handler for the GIO log domain.
5130 2007-10-22 Alexander Larsson <alexl@redhat.com>
5132 * gio/gfilenamecompleter.[ch]:
5133 Add g_filename_completer_set_dirs_only
5135 2007-10-22 Alexander Larsson <alexl@redhat.com>
5138 * gio/gurifuncs.[ch]:
5139 Add some simple URI helpers
5141 * gio/gfilenamecompleter.[ch]:
5142 Added object for filename (parse name actually) completion
5145 Handle ~ in parse names
5147 2007-10-17 Alexander Larsson <alexl@redhat.com>
5150 * gio/glocalfileinfo.c:
5151 Add and implement id:value attribute
5153 2007-10-17 Alexander Larsson <alexl@redhat.com>
5156 * gio/guniondrive.c:
5158 Add and implement g_drive_has_volumes
5160 2007-10-17 Alexander Larsson <alexl@redhat.com>
5163 * gio/glocalfileinfo.[ch]:
5164 Add unix:is_mountpoint and implement for local files
5166 2007-10-16 Alexander Larsson <alexl@redhat.com>
5168 * gio/gunionvolumemonitor.c:
5169 (g_union_volume_monitor_init):
5170 Fix up the unix type getting so that it works with gcc
5172 2007-10-12 Alexander Larsson <alexl@redhat.com>
5175 * gio/glocalfileinfo.c:
5176 Add thumbnail:failed to file info
5178 2007-10-12 Richard Hult <richard@imendio.com>
5180 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5181 optimizing away the get_type call (happens with some gcc versions,
5182 like the one shipped with OS X 10.4).
5184 2007-10-12 Alexander Larsson <alexl@redhat.com>
5186 * gio/glocalfileinfo.c:
5187 (_g_local_file_info_set_attribute):
5188 Fix build if not HAVE_XATTR
5189 Patch from Milosz Derezynski <internalerror@gmail.com>
5191 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5193 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5194 around for review, otherwise I would have asked you before
5197 2007-10-11 Alexander Larsson <alexl@redhat.com>
5200 Add thumbnail:path attribute
5202 * gio/glocalfileinfo.c:
5203 Implement thumbnail:path for local files
5205 2007-10-11 Alexander Larsson <alexl@redhat.com>
5207 * gio/glocalfileinfo.c:
5208 (_g_local_file_info_get):
5209 Avoid duplicate icon names
5211 2007-10-11 Alexander Larsson <alexl@redhat.com>
5213 * gio/gthemedicon.[ch]:
5214 Change g_themed_icon_get_names return type to const
5216 2007-10-10 Alexander Larsson <alexl@redhat.com>
5218 * gio/glocalfileinfo.c:
5219 Don't reference freed memory
5221 2007-10-10 Alexander Larsson <alexl@redhat.com>
5223 * gio/gfileattribute.c:
5226 * gio/glocalfileinfo.c:
5229 2007-10-10 Alexander Larsson <alexl@redhat.com>
5232 Check for NULL icons
5234 * gio/gfileattribute.c:
5235 Don't dup when getting objects (same as for string attributes)
5237 * gio/gicon.c (g_icon_equal):
5238 Safely handle NULLs in equal
5240 2007-10-10 Alexander Larsson <alexl@redhat.com>
5243 Fix c++ compilation issues
5244 Patch from Milosz Derezynski <internalerror@gmail.com>
5246 2007-10-10 Alexander Larsson <alexl@redhat.com>
5248 * programs/gio-monitor-dir.c:
5249 Don't crash if dir monitor not supported.
5251 2007-10-09 Alexander Larsson <alexl@redhat.com>
5254 Add missing G_END_DECLS
5256 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5258 * gio/gfile.c: (g_file_set_display_name),
5259 (g_file_query_settable_attributes),
5260 (g_file_query_writable_namespaces):
5261 Return NULL not FALSE on errors as the return type is a pointer.
5263 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5265 * gio/glocalfile.c: (g_local_file_monitor_file):
5266 Don't call monitor_file on the default interface vtable (which
5267 is NULL) but simply return NULL. The caller, GFile, will create a
5268 polling monitor if NULL is returned.
5270 2007-10-09 Alexander Larsson <alexl@redhat.com>
5274 * gio-unix-2.0.pc.in:
5275 Add gio-unix-2.0.pc if OS_UNIX
5278 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5280 2007-10-09 Alexander Larsson <alexl@redhat.com>
5282 * gio/gunixmounts.[ch]:
5283 Make unix mount monitoring API sane.
5284 Now its just a object with mounts_changed
5285 and mountpoints_changed signals.
5287 * gio/glocaldirectorymonitor.c:
5288 * gio/gunixvolumemonitor.c:
5289 Use new mount monitor api
5291 2007-10-09 Alexander Larsson <alexl@redhat.com>
5293 * gio/gunixmounts.[ch]:
5294 Move guess type into one call for mounts and one for mountpoints
5297 * gio/gunixvolume.c:
5300 2007-10-09 Alexander Larsson <alexl@redhat.com>
5302 * gio/gunixmounts.[ch]:
5303 Remove _ prefix in preparation to make this semi-public
5304 Hide implementation of structs
5306 * gio/glocaldirectorymonitor.c:
5308 * gio/gunixvolume.c:
5309 * gio/gunixvolumemonitor.c:
5310 Update for above API changes
5312 2007-10-08 Alexander Larsson <alexl@redhat.com>
5315 Better polling fallback. This also handles the case where we have
5316 a monitor_file implementation, but it fails.
5318 2007-10-08 Alexander Larsson <alexl@redhat.com>
5322 * gio/gunixmounts.c:
5323 * programs/gio-monitor-dir.c:
5324 * programs/gio-monitor-file.c:
5325 Added cancellable to file monitoring calls.
5326 These are really sync calls and need this.
5328 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5330 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5331 (g_local_vfs_class_init):
5332 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5333 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5335 2007-10-05 Alexander Larsson <alexl@redhat.com>
5337 * gio/gdirectorymonitorprivate.h:
5338 * gio/gfilemonitorprivate.h:
5339 * gio/gdirectorymonitor.h:
5340 * gio/gfilemonitor.h:
5341 Remove *private.h and move to the public API, so that
5342 we can do implementations outside gio (such as in gvfs)
5344 * gio/gdirectorymonitor.c:
5345 * gio/gfilemonitor.c:
5346 * gio/glocaldirectorymonitor.c:
5347 * gio/gpollfilemonitor.c:
5348 * gio/inotify/inotify-helper.c:
5349 * gio/fam/fam-helper.c:
5350 Update to the new header names
5352 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5354 * gio/gdirectorymonitor.c:
5355 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5358 2007-10-04 Alexander Larsson <alexl@redhat.com>
5360 * gio/glocalfileinfo.c (get_access_rights):
5361 Set CAN_TRASH when we can move the file.
5362 We should really also check for a parent trash dir.
5364 2007-10-04 Alexander Larsson <alexl@redhat.com>
5366 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5367 Add can_trash access attribute
5369 2007-10-04 Alexander Larsson <alexl@redhat.com>
5372 (g_local_file_trash):
5373 Create info file first. This is per-spec and allows
5374 us to actually trash directories.
5376 2007-10-02 Alexander Larsson <alexl@redhat.com>
5378 * gio/gdesktopappinfo.c:
5379 Implement the new mime support code.
5380 Always set app as handling mimetype when being set as default for it
5382 2007-10-01 Alexander Larsson <alexl@redhat.com>
5384 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5385 Fix up check for xattrs:
5387 2007-10-01 Alexander Larsson <alexl@redhat.com>
5390 (g_app_info_set_as_default_for_extension):
5391 (g_app_info_add_supports_type):
5392 (g_app_info_can_remove_supports_type):
5393 (g_app_info_remove_supports_type):
5394 Make these fail nicely if not implemented
5396 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5398 * gio/glocalfileoutputstream.c:
5399 * gio/glocalfileoutputstream.h:
5404 * programs/gio-save.c:
5405 Add a GFileCreateFlags argument to operations that can create
5408 2007-10-01 Alexander Larsson <alexl@redhat.com>
5410 * gio/gappinfo.[ch]:
5411 * gio/gdesktopappinfo.c:
5412 Add more (stubbed out) mime API needed for nautilus
5414 2007-10-01 Alexander Larsson <alexl@redhat.com>
5417 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5418 Add g_app_info_set_as_default_for_extension.
5420 * gio/gdesktopappinfo.c:
5421 Dummy for g_app_info_set_as_default_for_extension
5422 Support flags in g_app_info_create_from_commandline
5424 * gio/gwin32appinfo.c:
5426 Update for API changes
5428 * gio/gthemedicon.c:
5429 Properly NULL-terminate list of icon names
5431 2007-09-28 Alexander Larsson <alexl@redhat.com>
5433 * gio/gloadableicon.h:
5434 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5436 2007-09-28 Alexander Larsson <alexl@redhat.com>
5439 Install headers in $includedir/gio-standalone/
5441 * gio-2.0.pc.in: Added.
5442 * gio-standalone.pc.in: Removed.
5445 Renamed pkg-config file to match glib (for future move)
5446 Update to the new include dir
5449 Add more TODO comments
5451 2007-09-28 Alexander Larsson <alexl@redhat.com>
5453 * gio/gdesktopappinfo.[ch]:
5454 Expose new_from_filename
5455 Add getter for is_hidden and handle it better
5457 2007-09-28 Alexander Larsson <alexl@redhat.com>
5459 * gio/gfileinfo.[ch]:
5460 Rename g_file_size_format_for_display to
5461 g_format_file_size_for_display.
5462 Now it doesn't have the g_file prefix, so we
5463 can later move it to glib.
5465 2007-09-28 Alexander Larsson <alexl@redhat.com>
5467 * gio/gappinfo.[ch]:
5468 Add g_app_info_get_id and g_app_info_get_executable.
5469 Make all getters non-reffing
5470 Make g_app_info_launch take GFile arguments.
5471 Add must_support_uris argument to g_app_info_get_default_for_type.
5473 * gio/gwin32appinfo.c:
5474 Update to GAppInfo api changes
5476 * gio/gdesktopappinfo.c:
5477 Update to GAppInfo api changes
5478 Implement supports_xdg_startup_notify
5480 * gio/gfileicon.c (g_file_icon_get_file):
5481 Make getter non-reffing.
5486 2007-09-27 Alexander Larsson <alexl@redhat.com>
5488 * gio/gfileinfo.[ch]:
5489 Add g_file_size_format_for_display helper
5491 2007-09-27 Alexander Larsson <alexl@redhat.com>
5493 * gio/glocalfileinfo.c:
5494 Set UNIX_GID from gid, not from uid
5496 2007-09-27 Alexander Larsson <alexl@redhat.com>
5499 Add g_file_set_attributes_async
5501 2007-09-27 Alexander Larsson <alexl@redhat.com>
5503 * gio/glocalfile.c (g_local_file_set_display_name):
5504 Fix set_display_name to actually rename to the right place.
5505 Use lstat to look for existing files so we don't overwrite
5508 2007-09-26 Alexander Larsson <alexl@redhat.com>
5511 Add g_file_set_display_name_async()
5513 2007-09-26 Alexander Larsson <alexl@redhat.com>
5516 Add load_partial_contents async calls
5519 Make internal function static
5521 2007-09-26 Alexander Larsson <alexl@redhat.com>
5523 * gio/glocalfileinfo.c:
5524 Correctly detect broken symlinks
5526 2007-09-26 Alexander Larsson <alexl@redhat.com>
5528 * gio/gcancellable.c (g_cancellable_cancel):
5529 Allow cancel on NULL cancellable
5531 2007-09-25 Alexander Larsson <alexl@redhat.com>
5533 * gio/gsimpleasyncresult.c:
5534 Don't allocate g_error manually.
5535 Fixes g_slice/g_new mixup crash
5537 2007-09-25 Alexander Larsson <alexl@redhat.com>
5539 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5540 Actually set active_backend.
5541 This means the monitor will be cancelled correctly.
5543 2007-09-25 Alexander Larsson <alexl@redhat.com>
5545 * gio/gdirectorymonitor.c:
5546 Set timeout to NULL when destroying
5548 2007-09-25 Alexander Larsson <alexl@redhat.com>
5551 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5552 that is a better description of the error.
5554 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5556 * gio/gvfs.c: (g_vfs_get_local):
5557 Make the local vfs variable static. The same instance should
5560 2007-09-24 Alexander Larsson <alexl@redhat.com>
5562 * gio/glocalfileinfo.c:
5563 Pass in actual length read into sniffer, not the length
5566 2007-09-21 Alexander Larsson <alexl@redhat.com>
5568 * gio/gfileenumerator.c:
5571 * gio/gfileinputstream.c:
5572 * gio/gfileoutputstream.c:
5573 * gio/ginputstream.c:
5574 * gio/goutputstream.c:
5575 Don't crash if async callbacks are NULL
5577 2007-09-20 Alexander Larsson <alexl@redhat.com>
5580 Add async enumerate_children method and default
5583 2007-09-20 Alexander Larsson <alexl@redhat.com>
5586 Add g_file_contains_file & g_file_get_relative_path, since they
5587 were needed for nautilus.
5588 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5593 Implement new methods
5595 2007-09-17 Alexander Larsson <alexl@redhat.com>
5598 * gio/gfileinputstream.[ch]:
5599 * gio/gfileoutputstream.[ch]:
5601 * gio/glocalfileenumerator.[ch]:
5602 * gio/glocalfileinfo.[ch]:
5603 * gio/glocalfileinputstream.c:
5604 * gio/glocalfileoutputstream.c:
5605 * gio/gpollfilemonitor.c:
5606 * programs/gio-copy.c:
5607 * programs/gio-info.c:
5608 * programs/gio-move.c:
5609 Rename get_file_info to query_info() to make it clearer
5610 that these are not simple getters, but do i/o.
5612 2007-09-17 Alexander Larsson <alexl@redhat.com>
5614 * gio/gdatainputstream.[ch]:
5615 * gio/test-streams.c:
5616 Use _read_XXX instead of _get_XXX for the i/o calls
5619 2007-09-17 Alexander Larsson <alexl@redhat.com>
5622 Added needed stuff to TODO comment
5624 2007-09-17 Alexander Larsson <alexl@redhat.com>
5626 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5627 Don't error out removing the backup copy if it doesn't
5630 2007-09-14 Alexander Larsson <alexl@redhat.com>
5632 * programs/Makefile.am:
5633 * programs/gvfs-*.c:
5635 Renamed apps from gvfs-xxx to gio-xxx.
5637 2007-09-14 Alexander Larsson <alexl@redhat.com>
5640 * gio/gfileoutputstream.[ch]:
5641 * gio/glocalfileoutputstream.c:
5642 * programs/gvfs-save.c:
5643 g_file_output_stream_get_etag doesn't do i/o, so remove
5644 cancellation and error.
5646 2007-09-14 Alexander Larsson <alexl@redhat.com>
5649 Add new_etag output to replace_contents functions
5651 2007-09-14 Alexander Larsson <alexl@redhat.com>
5653 * gio/gfileoutputstream.[ch]:
5654 Add async get_file_info and default implementation
5656 2007-09-14 Alexander Larsson <alexl@redhat.com>
5658 * gio/gfileinputstream.c:
5659 Implement fallback wrapper for async get_file_info
5661 2007-09-14 Alexander Larsson <alexl@redhat.com>
5664 Add etag out argument to load_contents
5669 2007-09-14 Alexander Larsson <alexl@redhat.com>
5671 * gio/gcontenttype.c (looks_like_text):
5672 Whitespace like tab, cr and lf do not make the
5675 2007-09-14 Alexander Larsson <alexl@redhat.com>
5677 * gio/gfileinputstream.[ch]:
5678 Add async get_file_info.
5680 2007-09-13 Alexander Larsson <alexl@redhat.com>
5682 * gio/goutputstream.c (g_output_stream_write_all):
5683 Allow NULL for bytes_written
5685 2007-09-13 Alexander Larsson <alexl@redhat.com>
5687 * gio/gmemoryinputstream.[ch]:
5688 Add accessors for data
5690 2007-09-13 Alexander Larsson <alexl@redhat.com>
5692 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5693 Don't crash if length is NULL