1 2009-01-28 Ryan Lortie <desrt@desrt.ca>
3 Bug 568575 – _async functions for GDataInputStream
6 * gdatainputstream.c: add _async versions of read_line and read_until.
8 * ../docs/reference/gio/gio-sections.txt: add new functions
9 * tests/sleepy-stream.c: new test case for async read line
10 * tests/Makefile.am: add new test
12 2009-01-22 Ryan Lortie <desrt@desrt.ca>
14 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
16 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
17 g_buffered_input_stream_fill): check for count < -1 instead of count <
18 0 and copy modified check to non-async version for consistency.
19 document the "count = -1" API.
21 2009-01-22 Ryan Lortie <desrt@desrt.ca>
23 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
25 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
26 after we have successfully read data from the base stream
28 2009-01-20 Ryan Lortie <desrt@desrt.ca>
30 Bug 568394 – dropping the last reference to a stream filter closes the
33 * gfilterinputstream.h:
34 * gfilterinputstream.c: add "close-base-stream" property and only
35 close the base stream if it is true. issue async close callbacks from
36 correct source object.
37 * gfilteroutputstream.h:
38 * gfilteroutputstream.c: add a "close-base-stream" property and only
39 close the base stream if it is true. issue async close callbacks from
40 correct source object.
41 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
42 before closing the base stream. fix invalid source tag comparison in
43 close_async (was comparing to flush_async).
44 * ../docs/reference/gio/gio-sections.txt:
46 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
47 * tests/filter-streams.c: new test cases
48 * tests/Makefile.am: add new test
49 * tests/.gitignore: add new test
51 2009-01-19 Matthias Clasen <mclasen@redhat.com>
53 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
55 2009-01-19 Matthias Clasen <mclasen@redhat.com>
57 * === Released 2.19.5 ===
59 2009-01-19 Matthias Clasen <mclasen@redhat.com>
61 * gappinfo.h: Document get_commandline vfunc
63 2009-01-19 Matthias Clasen <mclasen@redhat.com>
65 * gunixmounts.c: Some stylistic fixes.
67 2009-01-08 Matthias Clasen <mclasen@redhat.com>
69 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
70 functions in non-UTF8 locale
72 * xdgmime/xdgmimecache.c:
73 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
75 2009-01-08 Matthias Clasen <mclasen@redhat.com>
77 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
79 2009-01-07 Matthias Clasen <mclasen@redhat.com>
81 Bug 566770 – error code 0 for Too many open files is useless
83 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
84 Requested by Olivier Sessink.
86 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
88 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
89 G_IO_ERROR_TOO_MANY_OPEN_FILES.
91 2009-01-05 Matthias Clasen <mclasen@redhat.com>
93 * === Released 2.19.4 ===
95 2009-01-05 Dan Winship <danw@gnome.org>
97 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
98 "const char **" to avoid a warning.
100 * gemblem.c (g_emblem_from_tokens):
101 * gemblemedicon.c (g_emblemed_icon_from_tokens):
102 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
105 2009-01-05 Matthias Clasen <mclasen@redhat.com>
107 Bug 566064 – Add NOATIME flag to query_info_flags
109 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
110 sniffing for mime types. Based on a patch by A. Walton
112 2009-01-05 Ryan Lortie <desrt@desrt.ca>
114 * tests/.gitignore: improve
115 * tests/Makefile.am: add new simple-async-result test
116 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
118 2009-01-05 Ryan Lortie <desrt@desrt.ca>
121 * ../docs/reference/gio/gio-sections.txt:
122 * gsimpleasyncresult.h:
123 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
124 Implementation by Dan Winship. Closes #566170.
126 2008-12-31 Matthias Clasen <mclasen@redhat.com>
130 * gunixinputstream.c:
131 * gunixoutputstream.c: Add a note about being UNIX-specific.
133 2008-12-15 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.19.3 ===
137 2008-12-12 Dan Winship <danw@gnome.org>
139 * pltcheck.sh: make this work on x86_64
141 2008-12-12 Ryan Lortie <desrt@desrt.ca>
143 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
146 2008-12-12 Ryan Lortie <desrt@desrt.ca>
148 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
149 multiple mount entries match the requested path
151 2008-12-10 Alexander Larsson <alexl@redhat.com>
153 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
154 g_simple_async_result_run_in_thread
156 * gsimpleasyncresult.c:
157 Make g_simple_async_result_run_in_thread check cancellation before
158 calling out to the user in the callback. This means we guarantee
159 reporting cancels of async operations from the main threads, which
160 is probably more in line with what users expect.
162 Note that there are still no such guarantees for cancelling sync
163 operations or cancelling async operation from outside the main
164 thread. Furthermore, the exact behaviour of async implementations
165 not using run_in_thread may differ.
167 2008-12-09 Alexander Larsson <alexl@redhat.com>
169 Bug 515777 - incorrect date&time on copy
172 (g_local_file_class_init):
173 Copy mtime by default
176 Change docs about G_FILE_COPY_ALL_METADATA to not mention
179 2008-12-08 Matthias Clasen <mclasen@redhat.com>
181 Bug 558298 – Hide ecryptfs mounts
183 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
184 so that the desktop does not show both the mount and the target
185 directory. Patch by Martin Pitt
187 2008-12-08 Matthias Clasen <mclasen@redhat.com>
189 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
193 * gunixinputstream.[hc]:
194 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
195 including getters and setters. Patch by Maciej Piechotka
197 2008-12-07 Matthias Clasen <mclasen@redhat.com>
199 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
201 * tests/live-g-file.c: Support compilers that don't understand
202 ISO C varargs macros. Patch by Eric Lamarque
204 2008-12-07 Matthias Clasen <mclasen@redhat.com>
206 Bug 526320 – should not list mounts that the user doesn't have
209 gunixmounts.c: Use g_access() to check accessibility of local devices.
212 2008-12-01 Matthias Clasen <mclasen@redhat.com>
214 * === Released 2.19.2 ===
216 2008-12-01 Matthias Clasen <mclasen@redhat.com>
218 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
219 behaviour change, and update the docs instead, to avoid breaking
222 2008-12-01 Matthias Clasen <mclasen@redhat.com>
224 * === Released 2.19.1 ===
226 2008-12-01 Alexander Larsson <alexl@redhat.com>
230 * gunionvolumemonitor.c:
232 Add and document g_mount_is_shadowed plus calls
233 to set/unset a mount as shadowed
235 2008-11-28 Matthias Clasen <mclasen@redhat.com>
237 * gio/tests/g-icon.c: Comment out two failing tests
239 2008-11-28 Matthias Clasen <mclasen@redhat.com>
241 Bug 555486 – No way to recover command line from GAppInfo
244 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
245 by Hans Petter Jansson.
247 * gdesktopappinfo.c: And implement it here.
249 2008-11-28 Christian Dywan <christian@imendio.com>
251 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
253 2008-11-28 Matthias Clasen <mclasen@redhat.com>
255 Bug 559633 – gtk_image_new_from_gicon does not always work for
258 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
259 extensions on icon names. Proposed by Axel von Bertoldi.
261 2008-11-28 Matthias Clasen <mclasen@redhat.com>
263 Bug 548163 – Nautilus displays wrong error message for too long file
266 * glocalfile.c (g_local_file_set_display_name): Correctly set
267 error conditions if the new name is e.g. too long. Reported
268 by Leonardo Ferreira Fontenelle.
270 2008-11-28 Matthias Clasen <mclasen@redhat.com>
272 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
275 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
276 documented and include the line end in the returned string.
277 Pointed out by Paul Pogonyshev.
279 * tests/data-input-stream.c: Fix the read_line test to test the
280 documented behaviour.
282 2008-11-28 Matthias Clasen <mclasen@redhat.com>
284 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
285 files that have been created by g_app_info_create_from_commandline.
287 2008-11-28 Matthias Clasen <mclasen@redhat.com>
289 Bug 541715 – win32 : patch for warnings and signature problems in
292 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
295 2008-11-28 Matthias Clasen <mclasen@redhat.com>
297 Bug 562393 – g_buffered_input_stream_read_byte broken if data
300 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
301 handling of buffered content. Patch by Philip Withnall
303 * tests/buffered-input-stream.c: Add a testcase for this bug.
304 * tests/Makefile.am: And build it
306 2008-11-28 Matthias Clasen <mclasen@redhat.com>
308 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
311 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
312 '/' away. Spotted by Dan Williams.
314 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
316 Bug 561375 – Leaks mountpoint description
318 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
321 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
323 Bug 561352 – Leak of icon description
325 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
328 2008-11-14 Matthias Clasen <mclasen@redhat.com>
330 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
332 2008-11-12 Tor Lillqvist <tml@novell.com>
334 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
336 * win32/gwinhttpvfs.h: Move the set of function pointers to
337 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
338 pointer to that in the GWinHttpVfsClass.
340 * win32/gwinhttpvfs.c: Move the lookup of functions from
341 winhttp.dll into a function of its own, that stores the pointers
342 in a separate GWinHttpDllFuncs variable. Add two bookeeping
343 booleans lookup_done and funcs_found.
345 Don't call g_io_extension_point_implement() to register the
346 winhttp extension unless winhttp.dll has been successfully loaded
347 and the required functions found in it.
349 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
350 winhttp.dll correspondingly.
352 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
354 reviewed by: Alexander Larsson <alexl@redhat.com>
356 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
357 clearer about the behavior when there's no more content to read.
359 2008-10-27 Federico Mena Quintero <federico@novell.com>
361 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
363 2008-10-27 Tor Lillqvist <tml@novell.com>
365 Bug 557592 - Missing include in gwinhttpfile.c
367 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
370 2008-10-24 Matthias Clasen <mclasen@redhat.com>
372 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
374 * fam/fam-helper.c: Fix a memory leak and formatting issues.
375 Reported by Daniel Marjamäki
377 2008-10-23 Matthias Clasen <mclasen@redhat.com>
379 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
381 2008-10-23 Alexander Larsson <alexl@redhat.com>
383 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
386 (_g_local_file_info_get):
387 Don't return the fallback icon (text-x-generic) for all files.
388 This is causing problems with theme icon lookup and custom mime
389 icons, as the generic fallback overrides custom mime icons in
392 This is a slight change as applications might not get an icon wher
393 they previously did. But there is no guarantee to get on neither before
394 or after this change, so it should not break applications. Changes
395 to nautilus and gtk+ will be done to manually use the generic fallback
396 icon if no icon is found, but this is only required for rare cases.
398 2008-10-21 Alexander Larsson <alexl@redhat.com>
401 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
403 2008-10-21 Alexander Larsson <alexl@redhat.com>
405 Bug 555740 - gicon serialization
406 Based on patch from David Zeuthen
410 Add g_icon_to_string() and g_icon_new_for_string().
416 Implement icon serialization for built-in icon types
420 Added GIcon serialization test
422 2008-10-16 Matthias Clasen <mclasen@redhat.com>
424 * === Released 2.19.0 ===
426 2008-10-16 Matthias Clasen <mclasen@redhat.com>
428 Bug 556422 – g_file_enumerator_next_file: unclear whether return
429 value needs to be freed
431 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
432 the return value docs. Pointed out by Armin Burgmeier
434 2008-10-14 Matthias Clasen <mclasen@redhat.com>
436 Bug 556334 – Warning when building without selinux support
438 * glocalfileinfo.c: Avoid compiler warnings when selinux is
439 disabled. Patch by Pascal Terjan
441 2008-10-14 Matthias Clasen <mclasen@redhat.com>
443 Bug 556335 – make check fails in abicheck.sh
445 * gio.symbols: Add g_file_attribute_info_list_get_type.
446 Pointed out by Pascal Terjan.
448 2008-10-13 Alexander Larsson <alexl@redhat.com>
451 When adding an application as handling a mime type (but
452 not as the default), copy the full list of desktop ids handling
453 that type in before adding the new one on the end of the list.
454 This means we're not accidentally changing the default by overriding
455 the info from the later directories in the search path.
457 Also, fixes small leak of removed_entries.
459 2008-10-12 David Zeuthen <davidz@redhat.com>
462 * gunionvolumemonitor.c:
464 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
466 2008-10-10 Alexander Larsson <alexl@redhat.com>
468 * gfileattribute.c (escape_byte_string):
469 Upper half of byte is >> 4, not >> 8.
470 Found by Kjartan Maraas via sparse
472 2008-10-10 Matthias Clasen <mclasen@redhat.com>
474 Bug 555711 – Wrong fallback order of mimetype icons
476 * gcontenttype.c: Don't prefer generic icons over
477 default mimetype icons.
479 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
480 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
482 Patch by Krysztof Kosiński
484 2008-10-10 Matthias Clasen <mclasen@redhat.com>
486 Bug 555121 – Improved build-time handling of gio module-dir
488 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
489 * Makefile.am: Create the module dir.
491 2008-10-10 Matthias Clasen <mclasen@redhat.com>
493 * gio/glocalfileinfo.c:
494 * gio/tests/live-g-file.c:
495 * gio/gsimpleasyncresult.c: Fix gcc warnings.
497 2008-10-09 Alexander Larsson <alexl@redhat.com>
499 * gunixinputstream.c (g_unix_input_stream_read):
500 Actually return -1 in case of cancelled, not old res value.
502 2008-10-06 Colin Walters <walters@verbum.org>
504 Bug 554745 - GFileAttributeInfoList should be boxed
506 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
507 for convenience of bindings.
508 * gio/gfileattribute.h: Prototype it.
510 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
512 Bug 554970 – segfault when update-desktop-database is not available
515 * gdesktopappinfo.c (run_update_command): Have the error set before
518 2008-10-01 David Zeuthen <davidz@redhat.com>
520 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
521 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
522 instead of the gio URI (such as sftp://foo/file.avi) when using
523 g_app_info_launch() and friends. With a sufficiently recent gvfs,
524 apps using gio+gvfs will map the FUSE file:// URI back to the gio
525 URI (and thus bypass the fuse daemon) thanks the patch from bug
526 #530654. Since Nautilus is an user of g_app_info_launch() it
527 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
528 when launced via the file manager. Win. Fixes bug #528670.
530 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
531 mapping to the description of GAppInfo.
533 2008-09-30 Tor Lillqvist <tml@novell.com>
535 * tests/Makefile.am: Build desktop-app-info only on Unix.
537 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
538 g_critical(). Pass a large enough result buffer to
539 GetVolumePathNameW(). Just use MAX_PATH.
541 2008-09-29 David Zeuthen <davidz@redhat.com>
543 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
545 2008-09-26 Dan Winship <danw@gnome.org>
547 * tests/data-input-stream.c:
548 * tests/data-output-stream.c:
549 * tests/live-g-file.c:
550 * tests/memory-input-stream.c:
551 * tests/memory-output-stream.c: Use g_assert_error() and
554 2008-09-26 Matthias Clasen <mclasen@redhat.com>
556 Bug 545350 – GAppInfo deletion
557 Bug 545351 – Reset associations for content type
560 * gappinfo.[hc]: New functions g_app_info_can_delete,
561 g_app_info_delete and g_app_info_reset_type_associations.
564 * gwin32appinfo.c: Implementations of these.
567 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
569 2008-09-26 Dan Winship <danw@gnome.org>
571 Bug 505361 – gunixinputstream.c assumes poll() available
572 Bug 509446 – portable blocking gio cancellation
574 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
575 GPollFD for a cancellable (which is slightly more complicated on
578 * gunixinputstream.c (g_unix_input_stream_read):
579 * gunixoutputstream.c (g_unix_output_stream_write): Use
580 g_cancellable_make_pollfd() and g_poll() rather than using poll()
583 * tests/unix-streams.c: test of GUnixInputStream,
584 GUnixOutputStream, and GCancellable.
586 2008-09-26 Dan Winship <danw@gnome.org>
588 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
589 cast to stop a gcc warning
591 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
594 2008-09-25 Dan Winship <danw@gnome.org>
596 Bug 553426 - cancellable clarifications
598 * gcancellable.c (g_cancellable_class_init): Add a note to the
599 "cancelled" signal docs warning about thread-safety issues
600 (g_cancellable_cancel): Note that cancelling an asynchronous
601 operation takes effect asynchronously, not immediately.
603 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
605 * gioenums.h: Add new GFileCopyFlag, to leave target file with
606 default perms, instead of setting the source file perms, in a copy
609 * gfile.c (g_file_copy_attributes)
610 (build_attribute_list_for_copy)
611 (should_copy): Not copy "unix::mode" attribute if we have received
612 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
614 2008-09-20 Matthias Clasen <mclasen@redhat.com>
616 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
618 2008-09-17 Matthias Clasen <mclasen@redhat.com>
620 * === Released 2.18.1 ===
622 2008-09-16 Michael Natterer <mitch@imendio.com>
624 * gcontenttype.c (g_content_type_guess): can't assign the return
625 value of g_strdupv() to an array. Fill the array manually with
626 const strings instead (it is never freed anyway). Fixes the
627 build. Also fixed indentation.
629 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
631 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
632 Fix trivial typo to unbreak the build (there was a colon
633 instead of a semicolon at the end of a statement).
635 2008-09-15 Matthias Clasen <mclasen@redhat.com>
637 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
640 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
643 2008-09-15 Matthias Clasen <mclasen@redhat.com>
645 Bug 551681 – g_content_type_guess() too naive with filenames
647 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
648 at the end of the filename, and declare it a directory.
649 Patch by Bastien Nocera
651 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
653 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
656 * gdesktopappinfo.c: add a note in the docs clarifying what the
657 "filename" parameter really is.
659 2008-09-12 Tor Lillqvist <tml@novell.com>
661 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
662 FormatMessage() etc here. Call g_win32_error_message() instead
663 which already does all that. Besides, the code was broken as it
664 called the default "A" version of FormatMessage() but still
665 thought it produced a wide string.
667 2008-09-12 Michael Natterer <mitch@imendio.com>
669 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
670 in the documentation.
672 2008-09-08 Christian Neumair <cneumair@gnome.org>
674 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
675 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
676 Use non-blocking pipe for mount helper I/O. Fixes #550647.
678 2008-09-06 Matthias Clasen <mclasen@redhat.com>
680 Bug 551149 – xdgmime mem leak
682 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
683 a memory leak. Patch by Christian Persch
685 2008-09-04 Tor Lillqvist <tml@novell.com>
687 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
690 2008-09-02 Matthias Clasen <mclasen@redhat.com>
692 * === Released 2.18.0 ===
694 2008-09-02 Michael Natterer <mitch@imendio.com>
696 * *.h: big header formatting cleanup: indentation, vtable
697 formatting, consistent spacing in (* vfunc), trailing whitespace
698 removal. Formatting should be pretty consistent in all GIO headers
701 2008-09-02 Matthias Clasen <mclasen@redhat.com>
703 * gmount.h: Document guess_content_type sync vfunc.
705 2008-09-02 Michael Natterer <mitch@imendio.com>
707 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
708 fix parent_class member to be GFilterOutputStreamClass (not
709 GOutputStreamClass). Drop three pointers of padding, which is
710 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
711 so the class struct size stays the same.
713 2008-09-02 Matthias Clasen <mclasen@redhat.com>
715 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
717 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
718 nonexisting return values. Pointed out by Cosimo Cecchi.
720 2008-08-23 Tor Lillqvist <tml@novell.com>
722 Bug 548988 - g_file_replace fails on Windows when the target file
725 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
726 Windows, close the file before potentially renaming it (in case we
727 have been writing to a file with a temporary name).
729 (g_local_file_output_stream_close, handle_overwrite_open): Use
730 GLocalFileStat instead of plain struct stat, for passing to
731 _g_local_file_info_create_etag(). Thus also use _fstati64()
732 instead of plain fstat() on Windows.
734 2008-08-18 Matthias Clasen <mclasen@redhat.com>
736 * === Released 2.17.7 ===
738 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
740 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
743 2008-08-13 Tor Lillqvist <tml@novell.com>
745 * win32/gwinhttpvfs.c
746 * win32/gwinhttpvfs.h
747 * win32/gwinhttpfile.c
748 * win32/gwinhttpfileinputstream.c
749 * win32/gwinhttpfileoutputstream.c: Refactor some common code
750 snippets into helper functions. Check HTTP response status
751 codes. Implement g_winhttp_file_query_info(), looking at
752 Content-Length, Content-Type and Last-Modified.
754 * win32/winhttp.h: Add some symbolic constants that are not
755 publicly documented. Just a handful, so it should be OK to use
756 information from the Windows SDK's headers.
758 2008-08-13 Tor Lillqvist <tml@novell.com>
760 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
763 * win32/gwin32directorymonitor.c
764 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
766 2008-08-13 Matthias Clasen <mclasen@redhat.com>
769 * goutputstream.c: Add intro docs.
771 2008-08-13 Tor Lillqvist <tml@novell.com>
773 * win32/gwinhttpfileoutputstream.c
774 (g_winhttp_file_output_stream_write): Don't write the
775 Content-Length header ourselves, WinHttpSendRequest() takes care
776 of that when the dwTotalLength parameter is non-zero. Increment
777 offset by the number of actual bytes sent, although I wonder if
778 such a scenario is possible where less than requested would be
779 sent and accepted by the server without errors.
781 2008-08-13 Tor Lillqvist <tml@novell.com>
783 * win32/gwinhttpvfs.c
784 * win32/gwinhttpvfs.h
785 * win32/gwinhttpfile.c
786 * win32/gwinhttpfile.h
787 * win32/gwinhttpfileinputstream.c
788 * win32/gwinhttpfileinputstream.h
789 * win32/gwinhttpfileoutputstream.c
790 * win32/gwinhttpfileoutputstream.h: New files implementing
791 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
792 Windows. The implementation uses the WinHttp API. Both reading and
793 writing are supported, i.e. GET and PUT requests. When writing,
794 each write call is done using a separate PUT request with a
795 Content-Range header. Requests for file URIs and plain pathnames
796 are forwarded to GLocalVfs.
798 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
799 WINE. Used as there is no <winhttp.h> bundled with mingw, and
800 requiring people to download the Windows SDK just for this one
801 header is not reasonable.
803 * win32/Makefile.am: Add above files.
805 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
806 the plumbing for the above.
808 2008-08-11 Sven Neumann <sven@gimp.org>
810 * gfilenamecompleter.c
811 * glocaldirectorymonitor.c
813 * gunionvolumemonitor.c
817 * gunixvolumemonitor.c
820 * gwin32volumemonitor.c: use canonical signal names.
822 2008-08-11 Tor Lillqvist <tml@novell.com>
824 * Makefile.am: Put a list of the platform-dependent .la files in
825 the subdirectories in the platform_deps Make variable, and make
826 libgio-2.0.la depend on that, so that it gets relinked if one of
827 the dependent libraries has changed.
829 2008-08-11 Tor Lillqvist <tml@novell.com>
831 * Makefile.am (platform_libadd): Remove -lwininet which had been
832 added by mistake. We will probably eventually be using WinHTTP,
833 not the older WinInet anyway. (Actually I am working on it.)
835 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
837 Bug 547080 – g_file_copy leaks expected errors
839 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
840 before trying the next fallback routine.
842 2008-08-09 Loïc Minier <lool@dooz.org>
844 Bug 535124 – umask 002 not being applied for new directories, new
845 files get the correct umask
847 * gfile.c (g_file_make_directory)
848 (g_file_make_directory_with_parents): Document ownership and
849 permissions of newly created directories as being the default
852 2008-08-08 Loïc Minier <lool@dooz.org>
854 Bug 535124 – umask 002 not being applied for new directories, new
855 files get the correct umask
857 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
860 2008-08-08 Tor Lillqvist <tml@novell.com>
862 * gwin32mount.c: Remove unused code. Whitespace cleanup.
864 * gwin32volumemonitor.c (get_connected_drives): Put questionable
865 code that didn't actually do anything inside #if 0, and add a
866 comment wondering what the code was supposed to do. This also gets
867 rid of a leftover debugging printout.
869 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
871 * gfileicon.c (g_file_icon_get_property)
872 (g_file_icon_set_property): New functions.
873 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
875 (g_file_icon_new): Use the property (bug #546132).
877 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
879 * gthemedicon.c (g_themed_icon_get_property): Also handle
880 `PROP_USE_DEFAULT_FALLBACKS'.
881 (g_themed_icon_class_init): Make
882 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
884 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
886 Bug 546371 – Improve docs re g_file_monitor
888 * gfilemonitor.c: Mention g_file_monitor() in the docs.
890 2008-08-04 Matthias Clasen <mclasen@redhat.com>
892 * === Released 2.17.6 ===
894 2008-08-04 Matthias Clasen <mclasen@redhat.com>
896 * === Released 2.17.5 ===
898 2008-08-04 Matthias Clasen <mclasen@redhat.com>
900 Bug 546017 – Don't copy attributes when copying a symlink
902 * gfile.c (g_file_copy_attributes): Specify
903 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
904 g_file_set_attributes_from_info. Patch by Christian Kellner
906 2008-08-04 Matthias Clasen <mclasen@redhat.com>
908 * gemblemedicon.[hc]:
910 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
911 a bit more extensible. Work by Clemens Buss.
913 * gioenums.h: Add GEmblemOrigin.
916 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
918 Bug 546079 – leak in xdgmime
920 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
922 2008-08-03 Tor Lillqvist <tml@novell.com>
924 * win32/gwin32directorymonitor.h
925 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
928 2008-08-03 Tor Lillqvist <tml@novell.com>
930 * win32/gwin32directorymonitor.c
931 (g_win32_directory_monitor_callback): Make prototype match
932 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
933 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
936 (g_win32_directory_monitor_constructor):
937 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
938 names in the GLib API on Windows, so convert to UTF-16 and open
941 2008-08-03 Tor Lillqvist <tml@novell.com>
943 Bug 541036 - Gnumeric crashes when trying to open Desktop or
944 user's folder under Windows
946 * win32/gwin32directorymonitor.c
947 (g_win32_directory_monitor_constructor): Ignore error from
948 CreateFile() when opening directory. Instead of asserting, just
949 store INVALID_HANDLE_VALUE then in
950 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
951 ReadDirectoryChangesW().
952 (g_win32_directory_monitor_cancel): Don't attempt to close
953 directory handle if it is INVALID_HANDLE_VALUE.
955 2008-08-01 Matthias Clasen <mclasen@redhat.com>
957 * gdesktopappinfo.c: Remove debug spew
959 2008-08-01 Hans Breuer <hans@breuer.org>
961 * makefile.msc : add gemblembedicon
963 2008-07-30 Matthias Clasen <mclasen@redhat.com>
965 Bug 545457 – gdmsetup crashed with SIGSEGV in
966 g_unix_mount_guess_should_display()
968 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
969 crash if no mount is found.
971 2008-07-28 Matthias Clasen <mclasen@redhat.com>
973 Bug 545203 – gfile.c: argument is different type.
975 * gfile.c (open_read_async_thread): Pass a GError **
976 to g_file_set_error_literal.
977 Reported by Kazuki Iwamoto
979 2008-07-28 Matthias Clasen <mclasen@redhat.com>
981 Bug 545157 – wrong/no list of "open with" applications for .cc and
984 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
985 Collect all ancestors, not just direct parents. Pointed
986 out by Bastien Nocera
988 2008-07-28 Matthias Clasen <mclasen@redhat.com>
990 * Makefile.am: Install gemblemedicon.h
992 2008-07-28 Matthias Clasen <mclasen@redhat.com>
994 * gemblemedicon.[hc]: Add a GIcon implementation that can
995 add an emblem to another icon.
1002 * gfileicon.c: Small documentation additions.
1004 2008-07-28 Tor Lillqvist <tml@novell.com>
1006 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1009 2008-07-27 Tor Lillqvist <tml@novell.com>
1011 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1013 2008-07-24 David Zeuthen <davidz@redhat.com>
1017 Also export a g_mount_guess_content_type_sync() function.
1019 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1021 529694 – SELinux context setting support
1023 * gfileinfo.c: Support setting selinux attributes.
1024 Patch by Tomas Bzatek
1026 2008-07-22 Priit Laes <plaes@plaes.org>
1028 Bug 544140 - fam-helper 64-bit issue?
1030 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1032 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1034 * === Released 2.17.4 ===
1036 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1038 * gvolumemonitor.[hc]:
1039 * gmountoperation.c:
1043 * gmount.c: Documentation fixes
1045 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1047 543504 – crash in Epiphany Web Browser: Opening local file
1051 * gdesktopappinfo.c:
1058 * gvolume.c: Register types thread-safely.
1059 Patch by Christian Persch
1061 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1063 * gcontenttype.c: Remove debug spew
1065 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1067 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1070 * fen/fen-kernel.c: Remove a warning that was causing
1071 crashes. Reported by Lin Ma.
1073 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1075 Bug 543040 – async reading on dummy file will crash on
1078 * gfile.c (open_read_async_thread): Cope with read_fn being
1079 NULL. Reported by Lin Ma.
1081 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1084 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1086 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1089 * gdesktopappinfo.h:
1090 * giomodule.c: Rename a chapter id to avoid filename conflict.
1092 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1094 Bug 540616 – mem leak in filechooser button
1096 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1097 the mount entry. Reported by Chrisitan Persch
1099 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1101 * gfile.c: Small documentation fixes.
1103 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1105 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1107 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1112 * gmount.c: Documentation improvements.
1114 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1117 * gmount.[hc]: Add g_mount_guess_content_type().
1119 2008-07-06 David Zeuthen <davidz@redhat.com>
1122 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1123 is needed for easily handling adoption of foreign volumes by
1124 out-of-process volume monitors (#541793)
1126 2008-07-06 David Zeuthen <davidz@redhat.com>
1128 * gvolumemonitor.[ch]:
1129 * gunionvolumemonitor.c: Export the eject-button signal on the
1130 volume monitor class (#541794).
1132 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1134 * gappinfo.c: More doc tweaks
1136 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1138 * gappinfo.c: Clarify some docs
1140 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1142 * gdesktopappinfo.c: Fix a stupid mistake.
1144 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1146 * === Released 2.17.3 ===
1148 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1150 * gfilemonitor.c: Fix the build.
1152 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1154 Bug 536160 – Add g_file_monitor()
1157 * gfile.[hc]: Add g_file_monitor which can return either
1158 a file or a directory monitor. Proposed by Behdad Esfahbod
1160 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1162 536733 – gio build failure on Irix
1164 * glocalfile.c: Use a configure check for structfs.f_bavail.
1166 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1168 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1171 * gdesktopappinfo.[hc]: Add a function to create a
1172 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1174 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1176 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1178 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1180 * gunixmounts.c: Fix a doc typo.
1182 2008-07-01 Cody Russell <bratsche@gnome.org>
1184 * gio/gcontenttype.c:
1185 * gio/gwin32appinfo.c:
1186 * gio/gwin32volumemonitor.c:
1187 * gio/gwin32mount.c: Fixed some include problems.
1189 2008-07-01 Cody Russell <bratsche@gnome.org>
1193 Moved all relevant typedefs into these files.
1196 Updated wrt added files.
1198 Split types into separate file for easier maintainership. (#538564)
1200 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1202 Bug 540331 – g_file_append_to () documentation: can return NULL
1204 * gfile.c (g_file_append_to): Clarify docs.
1205 Patch by Jared Moore
1207 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1209 Bug 539090 – g_content_type_from_mime_type() should unalias
1211 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1212 Patch by Markus Bergman
1214 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1216 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1217 g_atomic_pointer_get
1219 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1220 on ppc and alpha. Reported by Mart Raudsepp
1222 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1224 * tests/Makefile.am:
1225 * tests/memory-output-stream.c: Add some tests for
1226 GMemoryOutputStream.
1228 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1230 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1233 * gmemoryoutputstream.c (array_resize): Handle truncation to
1234 zero correctly. Reported by Akira Tagoh
1236 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1238 * gmemoryoutputstream.c: Trivial doc fixes
1240 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1242 Bug 540802 – g_list_prepend doesn't concat lists
1244 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1245 one list to another. Pointed out by Jan Arne Petersen
1247 2008-06-28 Michael Natterer <mitch@imendio.com>
1249 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1251 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1253 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1254 to avoid problems with partial icon themes.
1256 2008-06-17 Hans Breuer <hans@breuer.org>
1258 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1259 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1260 access again on win32, see bug #538127
1261 * giomodule.c : ensure GWin32VolumeMonitor is registered
1262 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1263 * Makefile.am makefile.msc : updated
1265 2008-06-16 Hans Breuer <hans@breuer.org>
1267 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1268 and initialization in one step avoids c99ism
1270 2008-06-16 Christian Persch <chpe@gnome.org>
1273 * gio/gbufferedinputstream.c
1274 * gio/gcancellable.c
1275 * gio/gdatainputstream.c
1276 * gio/gdesktopappinfo.c
1278 * gio/gfileenumerator.c
1279 * gio/gfileinputstream.c
1280 * gio/gfileoutputstream.c
1281 * gio/ginputstream.c
1282 * gio/glocaldirectorymonitor.c
1284 * gio/glocalfileenumerator.c
1285 * gio/glocalfileinfo.c
1286 * gio/glocalfilemonitor.c
1287 * gio/glocalfileoutputstream.c
1288 * gio/gmemoryinputstream.c
1289 * gio/gmemoryoutputstream.c
1290 * gio/goutputstream.c
1291 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1294 2008-06-16 Tor Lillqvist <tml@novell.com>
1296 Bug 538362 - Get Win32 icons back in the file chooser
1298 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1299 corresponding to a file extension in the Registry. Patch by Hans
1301 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1303 2008-06-16 Tor Lillqvist <tml@novell.com>
1305 Patches by Hans Breuer:
1307 * glocalfile.c (is_xp_or_later): Handle compiling against older
1308 SDK headers with missing VerifyVersionInfo(). Conditioned on
1309 _MSC_VER, but should probably use some better test.
1310 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1311 uninitialised statfs_result variable on Win32.
1313 2008-06-16 Michael Natterer <mitch@imendio.com>
1315 * *.c: chain up unconditionally in finalize() and dispose(). Also
1316 don't dereference these function pointers when calling them since
1317 that has no meaning at all.
1319 2008-06-16 Ross Burton <ross@burtonini.com>
1321 * gfileenumerator.c:
1322 Remove check for dispose implementation as it annoys Emmanuele.
1324 2008-06-16 Ross Burton <ross@burtonini.com>
1326 Bug 536252 – GFileEnumerator should allow access to the containing
1329 * gfileenumerator.c:
1330 * gfileenumerator.h:
1332 Add g_file_enumerator_get_container() and a container writeable
1333 construct-only property. Also shuffle around typedefs to make it
1336 * glocalfileenumerator.c:
1337 * glocalfileenumerator.h:
1339 Instead of a string filename take a GFile in the constructor and
1340 use it to set the container property.
1343 Update with new API.
1345 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1347 * gfile.c: Make includes more uniform
1349 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1351 * tests/live-g-file.c (sample_struct):
1352 Use less fancy unicode filenames, so the test doesn't fail
1353 on Mac OS X (#531476).
1355 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1357 * === Released 2.17.2 ===
1359 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1361 * === Released 2.17.1 ===
1363 2008-06-11 A. Walton <awalton@gnome.org>
1365 * tests/g-file.c (test_g_file_new_null):
1366 Fix broken test case.
1368 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1370 * pltcheck.sh: We use g_clear_error now.
1372 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1374 * glocalfile.c (g_local_file_enumerate_children): Revert
1375 an unintended change.
1377 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1379 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1381 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1383 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1386 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1387 as icon for the desktop directory, also make user-home and
1388 user-desktop the preferred icons.
1390 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1393 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1394 to add a name to the front of the list.
1396 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1398 Bug 537392 – Additional colon in xattr name
1400 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1401 too. Reported by Alessandro Morandi
1403 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1405 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1408 * glocalfile.c (get_fs_type): Add afs and autofs.
1409 Patch by Danny Baumann.
1411 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1413 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1415 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1416 is no parent. (Owen Taylor, patch by Christian Neumair)
1418 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1420 * gfile.c (g_file_replace_contents): do not leak the output stream.
1422 2008-06-10 Michael Natterer <mitch@imendio.com>
1424 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1425 uninitialized memory as array index.
1427 2008-06-10 Tor Lillqvist <tml@novell.com>
1429 * gcontenttype.c (g_content_type_can_be_executable)
1430 (g_content_type_get_icon) [Win32]: Add TODO comments.
1432 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1434 * xdgmime/Makefile.am: Fix the build
1436 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1438 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1439 in the shared mime database, if available.
1441 * xdgmime/*: Sync with upstream. This brings support for
1442 glob weights, generic icons, and changes the cache format to
1445 2008-05-28 Michael Natterer <mitch@imendio.com>
1447 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1448 the global CPPFLAGS now.
1450 * tests/data-input-stream.c
1451 * tests/data-output-stream.c
1452 * tests/g-file-info.c
1454 * tests/live-g-file.c
1455 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1457 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1459 * === Released 2.17.0 ===
1461 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1462 doesn't complain about leftover files.
1464 2008-05-27 simon.zheng <simon.zheng@sun.com>
1466 * glocalfile.c: (g_local_file_query_filesystem_info):
1467 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1469 2008-05-26 Michael Natterer <mitch@imendio.com>
1471 * gmemoryoutputstream.h: declare
1472 g_memory_output_stream_get_data_size().
1474 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1476 * tests/*: Make tests work
1478 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1480 * gio.symbols: Add g_memory_output_stream_get_data_size.
1482 2008-05-25 Ross Burton <ross@burtonini.com>
1485 Fix typo in error message (#534764).
1487 2008-05-25 Ross Burton <ross@burtonini.com>
1490 Fix circular dependency loop for gioenumtypes.h (#534759).
1492 2008-05-19 Hans Breuer <hans@breuer.org>
1494 * Makefile.am : EXTRA_DIST += makefile.msc
1496 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1499 * gcontenttype.c: (g_content_type_from_mime_type):
1500 New function to create a content type from a mime type. (#527175,
1503 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1505 Bug 532965 – Should not return filesystem::free for certain file systems
1507 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1508 free space for ncpfs.
1510 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1512 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1514 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1515 st_dev might be zero.
1517 2008-05-16 Tor Lillqvist <tml@novell.com>
1519 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1520 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1522 2008-05-13 Bastien Nocera <hadess@hadess.net>
1524 * gfile.c (has_valid_scheme): A URI scheme must start with a
1525 letter, even if later more characters are allowed (#532852)
1527 2008-05-05 Michael Natterer <mitch@imendio.com>
1529 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1530 code from being checked in that breaks the build of applications
1531 which use G_DISABLE_SINGLE_INCLUDES.
1533 * makegioalias.pl: make the alias file include "glib.h" instead of
1536 * gio.symbols: whitespace change to force regeneration of the
1537 alias file after above script change.
1539 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1541 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1543 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1545 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1547 2008-04-28 David Zeuthen <davidz@redhat.com>
1549 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1550 displaying mounts in a subdirectory not accessible to the
1553 2008-04-22 Michael Natterer <mitch@imendio.com>
1555 * Makefile.am: fix library versioning (it was 0.0.0).
1557 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1559 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1560 Default disable all loggings.
1561 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1562 (port_fetch_event_cb): Fixed two macro nits.
1564 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1566 * xdgmime/xdgmime.c: Rework the timestamp checking code
1567 to protect against duplicate directories in XDG_DATA_DIRS.
1568 Fixes fd.o bug 12513, reported by Joe Shaw.
1570 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1572 Partically revert the last commit after realizing that
1573 xdg_mime_media_type_equal doesn't have to init at all.
1575 * xdgmime/xdgmime.h:
1576 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1578 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1580 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1582 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1583 reported by Joe Shaw and Federico Mena Quintero.
1585 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1586 (xdg_mime_media_type_equal): Turn into a wrapper around the
1589 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1590 functions throughout.
1592 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1594 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1595 tolerate an empty TryExec= line without failing; nautilus used
1596 to create launchers with these in previous versions. Fixes #528433
1598 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1600 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1601 after name. Fixes #527132.
1603 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1605 * gfile.c: (g_file_replace):
1608 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1610 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1612 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1613 by Christian Kellner.
1615 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1617 * gunixmounts.c: (g_unix_mount_guess_should_display):
1618 Don't list the user directory as a mount, fix potential issue
1619 when other users have a similar naming and don't special case the
1620 gvfs mounts there since that's not required (#525866)
1622 2008-03-31 Alexander Larsson <alexl@redhat.com>
1624 * glocalfile.c (get_parent):
1627 2008-03-31 A. Walton <awalton@svn.gnome.org>
1629 * gfile.c (g_file_query_file_type):
1630 Always return a GFileType enum value (#520715).
1632 2008-03-31 Alexander Larsson <alexl@redhat.com>
1634 * glocalfileenumerator.c:
1635 Read readdir() info in chunks (of 1000) and sort
1636 the chunks by inode before stat:ing.
1637 This is a 20% performance increase in testing
1638 gvfs-ls on /usr/bin with cold cache.
1640 2008-03-31 Alexander Larsson <alexl@redhat.com>
1642 * gmemoryoutputstream.c:
1643 Clarify docs for g_memory_output_stream_get_size.
1644 Add g_memory_output_stream_get_data_size.
1646 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1650 * gfile.h: Add g_file_query_file_type convenience function
1651 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1653 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1655 * gfileenumerator.c:
1656 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1658 2008-03-28 A. Walton <awalton@svn.gnome.org>
1660 * giomodule.c (_g_io_modules_ensure_loaded):
1661 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1664 2008-03-28 Alexander Larsson <alexl@redhat.com>
1667 (copy_stream_with_progress):
1670 2008-03-28 Alexander Larsson <alexl@redhat.com>
1673 (copy_stream_with_progress):
1674 (file_copy_fallback):
1675 Fallback to g_file_query_info for source size
1676 if g_file_input_stream_query_info fails. (#524579)
1678 2008-03-28 Alexander Larsson <alexl@redhat.com>
1680 * glocalfile.c (g_local_file_move):
1681 Reuse old string instead of adding new one.
1683 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1685 * fen/*.[hc]: still copyright issue. I hate copyright.
1687 2008-03-27 Alexander Larsson <alexl@redhat.com>
1689 * glocalfile.c (g_local_file_move):
1690 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1691 file over directory. This is according to the docs and what the move via
1692 copy+remove fallback does.
1694 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1696 * fen/*.[hc]: Updated copyright.
1698 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1700 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1702 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1704 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1705 not emit attribute changed events when optimizing changed events.
1706 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1709 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1711 * gmountoperation.[hc]: Small documentation additions
1713 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1715 * gunixmounts.c: (guess_mount_type):
1716 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1718 2008-03-19 Alexander Larsson <alexl@redhat.com>
1721 (copy_stream_with_progress):
1722 Bump block side for copy to 64k to minimize
1723 overhead for low latency links. (#523015)
1725 2008-03-16 Tor Lillqvist <tml@novell.com>
1727 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1728 depend on gio.def on Windows.
1730 2008-03-12 David Zeuthen <davidz@redhat.com>
1734 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1736 2008-03-14 Alexander Larsson <alexl@redhat.com>
1740 Avoid redudant tests (#521851)
1741 Patch from Josselin Mouette
1743 2008-03-14 Alexander Larsson <alexl@redhat.com>
1746 (g_file_monitor_is_cancelled):
1747 Fix C89 issue (#521672)
1748 Patch from Jens Granseuer
1750 2008-03-14 Alexander Larsson <alexl@redhat.com>
1752 * fam/fam-helper.[ch]:
1754 Shut down fam (including removing fam GSource) when
1755 module is unloaded (#521513)
1756 Patch from Joe Marcus Clarke
1758 2008-03-14 Alexander Larsson <alexl@redhat.com>
1761 (_g_io_modules_ensure_loaded):
1764 2008-03-14 Alexander Larsson <alexl@redhat.com>
1767 (g_local_file_query_filesystem_info):
1768 Use right define name for f_fstypename member check
1770 2008-03-14 Alexander Larsson <alexl@redhat.com>
1773 * fen/Makefile.am: Added.
1774 * fen/fen-data.[ch]: Added.
1775 * fen/fen-dump.[ch]: Added.
1776 * fen/fen-helper.[ch]: Added.
1777 * fen/fen-kernel.[ch]: Added.
1778 * fen/fen-missing.[ch]: Added.
1779 * fen/fen-node.[ch]: Added.
1780 * fen/fen-sub.[ch]: Added.
1781 * fen/gfendirectorymonitor.[ch]: Added.
1782 * fen/gfenfilemonitor.[ch]: Added.
1784 Added Solaris FEN file notification backend.
1785 Patch from Lin Ma <Lin.Ma@Sun.COM>
1787 2008-03-13 Tor Lillqvist <tml@novell.com>
1789 * Makefile.am: Actually use the gio.def file when linking the
1790 library on Windows. Produce .lib library for Microsoft's toolchain
1791 when possible. Install the .lib and .def file like for the other
1794 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1796 * tests/live-g-file.c:
1797 Include live-g-file in standard set of tests, making a temporary
1798 directory in source structure.
1800 Clean target directory before the tests (write mode only)
1802 2008-03-12 Tor Lillqvist <tml@novell.com>
1804 Bug 517419 - gio win32 directory monitor
1805 Implementation by Vlad Grecescu.
1808 * win32/gwin32directorymonitor.h
1809 * win32/gwin32directorymonitor.c: New files.
1811 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1813 * Makefile.am: Add the win32 subdirectory.
1815 2008-03-12 Tor Lillqvist <tml@novell.com>
1817 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1818 normal struct stat on Unix but struct _stati64 on Windows to have
1819 access to 64-bit file size information. Use that instead of struct
1820 stat in the functions declared here in this private header.
1822 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1823 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1824 warnings about unused functions and variables. Don't set
1825 meaningless attributes like inode numbers on Windows.
1827 2008-03-12 Benjamin Otte <otte@gnome.org>
1830 trim whitespace so gtk-doc groks the function name
1832 2008-03-12 Tor Lillqvist <tml@novell.com>
1834 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1835 returning FALSE, on Win32.
1837 2008-03-11 Alexander Larsson <alexl@redhat.com>
1840 * glocalfileinfo.[ch]:
1841 Correctly implement can_trash by actually
1842 looking for a trash dir, not just assuming
1845 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1847 * === Released 2.16.1 ===
1849 2008-03-11 Alexander Larsson <alexl@redhat.com>
1852 Fix crashes in new constructor and properties code
1854 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1856 * gfile.c: Minor spelling correction in documentation:
1857 existance -> existence.
1859 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1861 * === Released 2.16.0 ===
1863 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1865 * gio.symbols: Remove g_file_contains_file here, too.
1867 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1869 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1870 Samuel Cormier-Iijima)
1872 2008-03-08 Tor Lillqvist <tml@novell.com>
1874 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1877 2008-03-07 Alexander Larsson <alexl@redhat.com>
1880 (g_local_file_query_filesystem_info):
1881 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1882 Patch from Jasper Lievisse Adriaanse
1884 2008-03-06 Tor Lillqvist <tml@novell.com>
1886 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1887 comments for the *_USEC attributes.
1889 2008-03-06 Alexander Larsson <alexl@redhat.com>
1891 * gfile.c (g_file_query_exists):
1892 Add g_return_val_if_fail check (#520700)
1894 2008-03-06 Alexander Larsson <alexl@redhat.com>
1896 * gdesktopappinfo.c:
1899 * gunionvolumemonitor.c:
1902 * tests/live-g-file.c:
1903 * xdgmime/xdgmimecache.c:
1904 Fix sparse warnings (#519489)
1906 2008-03-05 Alexander Larsson <alexl@redhat.com>
1909 Make cancellation threadsafe (i.e.
1910 guarantee its only done once, and always
1913 * glocaldirectorymonitor.c:
1914 Make sure we the monitor lives while the
1915 mounts_changed callback is being called (#520484)
1917 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1919 * gbufferedinputstream.c: Fix typo in parameter
1922 2008-03-04 Alexander Larsson <alexl@redhat.com>
1925 Remove deprecated symbols we kept for one release.
1927 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1930 * goutputstream.c: Tiny documentation corrections.
1932 2008-03-03 Alexander Larsson <alexl@redhat.com>
1934 * gunionvolumemonitor.c:
1936 Fix the adopt_orphan_mount vfunc to take a
1937 volume_monitor reference in an ABI compat way.
1938 This change is not API compat, but the added
1939 arg is not used in the only user of this vfunc, so
1940 all we get is a harmless warning in gvfs (#520169)
1942 2008-03-01 Benjamin Otte <otte@gnome.org>
1945 clarify docs for g_file_delete().
1947 2008-02-29 Alexander Larsson <alexl@redhat.com>
1951 Make sure empty files get text/plain type (#518720)
1953 2008-02-27 Alexander Larsson <alexl@redhat.com>
1959 (g_unix_volume_mount):
1960 Add missing GMountMountFlags argument
1962 2008-02-26 Alexander Larsson <alexl@redhat.com>
1965 (g_local_file_delete):
1966 Handle filesystems (like ntfs-3g) that return EEXIST instead
1967 of ENOTEMPTY (#518816)
1969 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1971 * === Released 2.15.6 ===
1973 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1975 * gfile.c (g_file_find_enclosing_mount):
1976 * ginputstream.c (g_input_stream_set_pending):
1977 * glocalfile.c (g_local_file_find_enclosing_mount):
1978 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1979 * goutputstream.c (g_output_stream_set_pending):
1981 Fixup translator comments (#518578).
1983 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1985 * gfile.c (g_file_find_enclosing_mount):
1987 * glocalfile.c (g_local_file_find_enclosing_mount):
1990 Fix a few typos in translator comments and documentation.
1992 2008-02-25 Alexander Larsson <alexl@redhat.com>
1999 Add translator comments (#518578)
2001 2008-02-25 Alexander Larsson <alexl@redhat.com>
2004 Reintroduce g_file_contains_file, keep around for one
2005 unstable release cycle to avoid crashing to many apps.
2006 Make sure to delete after release.
2008 2008-02-25 Alexander Larsson <alexl@redhat.com>
2011 Remove deprecated g_file_contains_file.
2013 2008-02-25 Alexander Larsson <alexl@redhat.com>
2016 Emit actual change signals in an idle handler.
2017 This avoids reentrance and locking problems in
2018 the file notification backends.
2020 2008-02-25 Alexander Larsson <alexl@redhat.com>
2023 (g_unix_mount_guess_should_display):
2024 Remove type guessing, instead just display
2025 mounts in /media and in ~/.
2027 2008-02-25 Alexander Larsson <alexl@redhat.com>
2030 Make new strings reuse old ones.
2032 2008-02-25 Alexander Larsson <alexl@redhat.com>
2035 Implement trashing and filesystem::readonly for win32 (#517235)
2036 Patch from Yevgen Muntyan
2038 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2040 * gfileinfo.h: Documentation fixes.
2042 2008-02-22 Alexander Larsson <alexl@redhat.com>
2044 * gcontenttype.c (g_content_type_get_icon):
2045 Look at old-style gnome mime icon names too, as many
2046 have not moved to the new style.
2048 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2050 * *.c: Correct the @include in for section docs.
2052 2008-02-21 David Zeuthen <davidz@redhat.com>
2054 * glocalfileinfo.c: (_g_local_file_info_get):
2056 (g_content_type_get_icon): Implement this function by
2057 moving bits from glocalfileinfo.c
2058 (g_content_type_get_description): Unalias before getting
2059 description (#517687)
2061 * gfile.c: (g_file_class_init),
2062 (g_file_query_filesystem_info_async),
2063 (g_file_query_filesystem_info_finish),
2064 (query_filesystem_info_data_free),
2065 (query_filesystem_info_async_thread),
2066 (g_file_real_query_filesystem_info_async),
2067 (g_file_real_query_filesystem_info_finish):
2068 * gfile.h: Implement async version of
2069 g_file_query_filesystem_info()
2071 * gfileinfo.h: Add new attributes for filesystem::use-preview
2073 * gio.symbols: Update
2075 * gthemedicon.c: (g_themed_icon_append_name):
2076 * gthemedicon.h: Add new new convenience function.
2078 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2079 (get_mounts), (get_volumes), (get_connected_drives),
2080 (get_volume_for_uuid), (get_mount_for_uuid),
2081 (g_union_volume_monitor_init), (populate_union_monitor),
2082 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2083 (g_volume_monitor_adopt_orphan_mount):
2085 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2086 monitor implementations to call into the main volume monitor. Also
2087 separate object initialization and volume monitor initialization
2088 such that non-native volume monitors can properly adopt their
2091 2008-02-21 Alexander Larsson <alexl@redhat.com>
2096 2008-02-21 Alexander Larsson <alexl@redhat.com>
2099 Add more documentation about how GFiles work (from #517086)
2101 2008-02-21 Alexander Larsson <alexl@redhat.com>
2105 Add new g_file_has_prefix that does the same as g_file_contains_file.
2106 Deprecate g_file_contains_file and add a macro that converts
2107 it to g_file_has_prefix.
2108 The reason for this change is that the contains_file() name seems to
2109 imply that this does more work than what it does, but its really only
2110 a name match (from #517086)
2115 Update to match the above change.
2117 2008-02-20 Benjamin Otte <otte@gnome.org>
2119 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2120 (g_file_eject_mountable):
2121 even more cases of not returning in error path
2123 2008-02-20 Benjamin Otte <otte@gnome.org>
2125 * gfile.c: (g_file_mount_mountable):
2126 return from function in error path.
2128 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2131 Remove trailing coma in GMountMountFlags struct
2133 2008-02-18 Alexander Larsson <alexl@redhat.com>
2137 * glocalfileoutputstream.c:
2138 Use g_unlink/g_rename instead of unlink/rename;
2139 do not pass raw filenames to g_set_error. (#517239)
2140 Patch from Yevgen Muntyan.
2142 2008-02-18 Alexander Larsson <alexl@redhat.com>
2145 * glocalfileoutputstream.c:
2146 Open files with O_BINARY on windows. (#517140)
2148 2008-02-14 Alexander Larsson <alexl@redhat.com>
2150 * glocalfileoutputstream.c:
2151 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2153 2008-02-14 Alexander Larsson <alexl@redhat.com>
2156 Copy permissions with file on copy (#514084)
2157 This is what cp does and makes sure e.g. the
2158 exec permissions are kept.
2159 Its kinda weird in that it keeps the permission bits
2160 the same while the uid and gid are different. However
2161 the new uid is the user so its not a security issue,
2162 and I've heard no complaints about cp on this issue.
2164 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2166 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2168 2008-02-13 Alexander Larsson <alexl@redhat.com>
2170 * inotify/inotify-path.c:
2171 Define IN_ONLYDIR if not in header (#515346)
2173 2008-02-12 Alexander Larsson <alexl@redhat.com>
2175 * tests/live-g-file.c:
2178 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2180 * === Released 2.15.5 ===
2182 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2184 * gio.symbols: Add g_mount_mount_flags_get_type.
2186 2008-02-11 Alexander Larsson <alexl@redhat.com>
2189 (g_file_info_set_attribute_mask):
2190 (g_file_attribute_matcher_matches_id):
2191 Correctly handle NULL GAttributeMatcher meaning
2192 matches nothing. (Fixes #513492)
2194 2008-02-11 Alexander Larsson <alexl@redhat.com>
2199 Added GMountMountFlags enum and added a flags
2200 argument to all mount calls.
2202 This is an API/ABI change for future extensibility,
2203 as I think we will need at least an
2204 inhibit-autorun flag (the panel needs this).
2205 There are no flags defined yet though.
2207 2008-02-11 Alexander Larsson <alexl@redhat.com>
2210 Added new standard::description attribute.
2211 Requested by Vincent, and useful for both
2214 2008-02-11 Alexander Larsson <alexl@redhat.com>
2216 * gdesktopappinfo.c:
2219 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2221 * *.c: Documentation additions
2223 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2225 * gappinfo.h: Formatting cleanup
2226 * gappinfo.c: Fix up docs.
2228 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2230 * gunixmounts.c: Consistently use getmntent_r() and fall
2231 back to getmntent(). (#515492)
2233 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2235 * gbufferedinputstream.c:
2237 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2239 * tests/data-input-stream.c:
2240 * tests/data-output-stream.c: Portability fixes.
2242 2008-02-08 Alexander Larsson <alexl@redhat.com>
2247 Add g_volume_should_automount.
2250 2008-02-07 Tor Lillqvist <tml@novell.com>
2252 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2253 Win32, too Unix-specific.
2255 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2257 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2258 a local plt if the compiler doesn't support what we want. Bug #514702
2260 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2262 reviewed by: <delete if not using a buddy>
2265 * gunixinputstream.c:
2266 * gunixoutputstream.c:
2268 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2270 * tests/Makefile.am:
2271 * tests/live-g-file.c:
2272 * tests/live-g-file.txt:
2273 New GIO testing module working over real data
2275 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2277 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2278 Fallback to rename() if link() is not available
2279 (when no support on target filesystem)
2281 2008-02-06 Michael Natterer <mitch@imendio.com>
2283 * gfileinfo.c (g_file_info_get_icon): replace
2284 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2286 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2288 * gfile.c (g_file_create):
2289 Documentation update of error codes
2291 2008-02-06 Alexander Larsson <alexl@redhat.com>
2293 * gdesktopappinfo.c:
2294 Update to use both mimeapps.list and
2295 defaults.list as discussed on xdg list.
2297 2008-02-06 Benjamin Otte <otte@gnome.org>
2300 * gfilenamecompleter.c:
2301 Fix some typos in the documentation.
2303 2008-02-06 Alexander Larsson <alexl@redhat.com>
2305 * glocalfile.c (g_local_file_trash):
2306 Don't succeed with trash if newly created
2307 trash dir has the wrong owner. (#514696)
2309 2008-02-05 Alexander Larsson <alexl@redhat.com>
2311 * glocalfile.c (g_local_file_move):
2312 Don't spew warnings when destination is not
2315 2008-02-03 Hans Breuer <hans@breuer.org>
2317 * makefile.msc : update
2319 2008-02-01 Michael Natterer <mitch@imendio.com>
2321 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2322 return value of xdg_mime_list_mime_parents() to a variable of the
2325 2008-02-01 Alexander Larsson <alexl@redhat.com>
2327 * gappinfo.c (g_app_info_launch_uris):
2328 Actually call the launch_uris method, not
2331 2008-02-01 Alexander Larsson <alexl@redhat.com>
2333 * gdesktopappinfo.c (g_desktop_app_info_equal):
2334 Ensure appinfos with no id but same pointer value
2337 2008-02-01 Alexander Larsson <alexl@redhat.com>
2339 * gappinfo.c (g_app_info_launch_default_for_uri):
2342 2008-02-01 Alexander Larsson <alexl@redhat.com>
2346 Add g_app_info_launch_default_for_uri utility
2349 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2351 * gdesktopappinfo.c:
2352 Doc fix for g_app_info_get_default_for_uri_scheme ()
2355 2008-01-30 Alexander Larsson <alexl@redhat.com>
2358 Add doc comment about uris vs GFiles to
2361 * gdesktopappinfo.c:
2362 Ensure uris passed to g_app_info_launch_uris()
2363 are not roundtriped through GFile (as that
2364 may be slightly destructive for e.g. mailto: links)
2366 2008-01-30 Alexander Larsson <alexl@redhat.com>
2368 * tests/data-input-stream.c:
2369 * tests/data-output-stream.c:
2370 C89 fixes from Jens Granseuer (#512849)
2372 2008-01-30 Alexander Larsson <alexl@redhat.com>
2375 Fix gamin/fam difference build issue. (#509419)
2377 2008-01-29 Alexander Larsson <alexl@redhat.com>
2380 * gdesktopappinfo.c:
2381 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2383 2008-01-29 Alexander Larsson <alexl@redhat.com>
2385 * gdesktopappinfo.c:
2386 * gdesktopappinfo.h:
2387 giomodule-priv.h include moved to .c file.
2389 2008-01-29 Alexander Larsson <alexl@redhat.com>
2391 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2392 Remove unused prio/name fields.
2394 2008-01-29 Alexander Larsson <alexl@redhat.com>
2396 * gcontenttype.c (looks_like_text):
2397 Don't treat whitespace as control chars.
2399 2008-01-29 Alexander Larsson <alexl@redhat.com>
2401 * gdesktopappinfo.c:
2402 Lazily create the desktop files for appinfos created
2403 by g_app_info_create_from_commandline() when needed
2404 for mime associations. This allows run-time use
2405 of GAppInfo object without creating unnecessary
2408 2008-01-29 Alexander Larsson <alexl@redhat.com>
2411 Added new symbols to gio.symbols
2413 2008-01-29 Alexander Larsson <alexl@redhat.com>
2416 Add g_file_query_default_handler utility to easily look up
2417 the GAppInfo that handles a file.
2419 * gdesktopappinfo.[ch]:
2421 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2424 Remove unused function
2426 2008-01-29 Alexander Larsson <alexl@redhat.com>
2428 * gfileenumerator.c:
2429 Mention need to free returned value in
2430 g_file_enumerator_next_files_finish docs.
2431 Fix leak if g_file_enumerator_next_files_finish()
2434 2008-01-29 Alexander Larsson <alexl@redhat.com>
2437 (_g_unix_content_type_get_parents):
2438 Use list_parents, not get_parents from xdgmime, because
2439 the later doesn't use the cache.
2441 * xdgmime/xdgmimecache.c:
2442 (_xdg_mime_cache_list_mime_parents):
2443 Don't list the same type as parent multiple times.
2445 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2447 * === Released 2.15.4 ===
2449 2008-01-28 Alexander Larsson <alexl@redhat.com>
2452 Register local vfs with prio 0.
2455 Remove old name and prio class members
2457 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2459 * tests/g-file.c: Disable some tests that are failing in
2460 the absence of a http backend.
2462 2008-01-28 Alexander Larsson <alexl@redhat.com>
2466 Add registration hooks for extension points.
2467 Register the gio extension points.
2469 * fam/gfamdirectorymonitor.c:
2470 * fam/gfamfilemonitor.c:
2471 * glocaldirectorymonitor.[ch]:
2472 * glocalfilemonitor.[ch]:
2473 * gnativevolumemonitor.h:
2474 * gunionvolumemonitor.c:
2475 * gunixvolumemonitor.c:
2478 * inotify/ginotifydirectorymonitor.c:
2479 * inotify/ginotifyfilemonitor.c:
2480 Use the extension points registration instead
2481 of g_type_children().
2483 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2486 * gvolume.[hc]: Document new API.
2488 * gfile.c (g_file_copy_async): Fix docs
2490 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2492 * gbufferedinputstream.c:
2494 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2497 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2499 * glocalfile.c: Avoid trivial differences in translatable strings.
2501 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2503 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2504 build with gcc 3.4 (#509419)
2506 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2508 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2509 (#509994, Murray Cumming)
2511 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2513 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2514 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2515 this allows big jobs to be executed in chunks, instead of blocking
2516 the main loop for a long time.
2518 * gsimpleasyncresult.c:
2519 * giofile.c: Adapt callers.
2521 2008-01-25 Alexander Larsson <alexl@redhat.com>
2523 * gdesktopappinfo.c:
2524 Implement changes discussed on xdg list.
2525 Now we can add supported mimetypes by just using defaults.list
2526 We can also remove associations in defaults.list.
2528 2008-01-25 Alexander Larsson <alexl@redhat.com>
2530 * gdesktopappinfo.c:
2531 Don't make local copy of desktop file
2532 for mimetype changes if the file already
2533 supports the new mimetype.
2535 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2539 * gbufferedinputstream.c:
2540 * glocalfile.c: String improvements. (#511966,
2541 Theppitak Karoonboonyanan)
2543 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2545 * gioscheduler.h: Expand docs a bit.
2547 2008-01-24 Alexander Larsson <alexl@redhat.com>
2550 Add g_drive_get_identifier and
2551 g_drive_enumerate_identifiers
2554 Add g_volume_get_identifier and
2555 g_volume_enumerate_identifiers
2561 Implement identifiers for unix backend
2563 2008-01-24 Alexander Larsson <alexl@redhat.com>
2568 Add g_file_copy_async() (#511580)
2569 Based on patch from Carlos Garcia Campos
2571 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2573 * gioscheduler.c: Some documentation additions.
2575 2008-01-22 Alexander Larsson <alexl@redhat.com>
2577 * gdesktopappinfo.c:
2578 (g_desktop_app_info_new):
2579 Don't leak basename.
2581 2008-01-22 Alexander Larsson <alexl@redhat.com>
2583 * gdesktopappinfo.c:
2584 (g_desktop_app_info_new_from_filename):
2587 2008-01-22 Alexander Larsson <alexl@redhat.com>
2589 * glocalfileinfo.c (get_thumbnail_attributes):
2592 2008-01-22 Alexander Larsson <alexl@redhat.com>
2595 (canonicalize_filename):
2596 Canonicalize paths that start with more than
2600 (compare_two_files):
2601 (test_g_file_new_for_path):
2604 2008-01-22 Alexander Larsson <alexl@redhat.com>
2607 Allow UTF-8 in file:// parse names.
2609 * tests/Makefile.am:
2610 * tests/data-input-stream.c:
2611 * tests/data-output-stream.c:
2612 * tests/g-file-info.c:
2614 Added a bunch of tests from Tomas Bzatek
2616 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2618 * === Released 2.15.3 ===
2620 2008-01-21 Alexander Larsson <alexl@redhat.com>
2622 * gfileinputstream.[ch]:
2623 * gfileoutputstream.[ch]:
2625 Remove duplicated GSeekable functions. (#509990)
2626 Just use the g_seekable_xxx() calls instead.
2628 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2631 * gvolumemanager.c: Whitespace cleanups.
2633 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2634 Use the right mode when creating the file.
2636 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2638 * gfileenumerator.c:
2639 * gfileinputstream.c:
2641 * goutputstream.c: Documentation: Fixed minor typos
2642 and added more mentions of specific _finish() functions.
2644 2008-01-21 Alexander Larsson <alexl@redhat.com>
2646 * inotify/Makefile.am:
2647 * inotify/inotify-helper.c:
2648 * inotify/inotify-kernel.c:
2649 * inotify/inotify-path.c:
2650 * inotify/local_inotify.h: Removed.
2651 * inotify/local_inotify_syscalls.h: Removed.
2652 Removed the included copies of the inotify
2653 headers. We now only use the <sys/inotify.h>
2654 header which exists on modern systems.
2655 This fixes problems on ARM and SH5 (#510448)
2656 but is also generally much cleaner and future
2657 safe. For instance, if other OSes add support
2658 for inotify it should "just work".
2660 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2662 * inotify/*.c: Coding style fixes.
2663 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2664 for the 1/4 Hz timer.
2666 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2669 * gfilemonitor.[hc]:
2670 * gmemoryinputstream.c:
2671 * gmemoryoutputstream.c:
2672 * gmountoperation.c:
2673 * gthemedicon.c: Documentation updates
2675 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2677 * gfile.c: documentation: Fixed more minor
2680 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2682 * gmount.c: (g_mount_remount): documentation:
2683 Mention g_mount_remount_finish() instead of
2684 g_mount_unmount_finish().
2686 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2690 * gfile.c: Fixed some minor typos in the
2693 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2695 * gio/gvolumemonitor.c:
2696 (g_volume_monitor_get_connected_drives):
2697 (g_volume_monitor_get_volumes):
2698 (g_volume_monitor_get_mounts): Documentation:
2699 Clarify the ownership of the regurn GLists.
2701 2008-01-17 Alexander Larsson <alexl@redhat.com>
2704 Add the async find_enclosing_mount version
2705 to the header file too.
2707 2008-01-17 Alexander Larsson <alexl@redhat.com>
2710 Add async version of find_enclosing_mount
2711 with default implementation.
2713 2008-01-17 Alexander Larsson <alexl@redhat.com>
2718 Allow calls to implementation of copy and write
2719 even if the type of the file implementations is
2720 different. This can be used to implement native
2721 upload and download calls in a vfs.
2724 (g_local_file_move):
2725 Protect against the case where move is called
2726 with one file not being local.
2728 Make sure we call the progress callback once
2729 in the native move operation so that the caller
2730 knows how many bytes were copied.
2732 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2735 * gdatainputstream.c:
2737 * gfileoutputstream.c:
2742 * gunixmounts.c: Corrected some typos in the documentation:
2743 occured -> occurred.
2744 its -> it's (where appropriate).
2746 2008-01-16 Alexander Larsson <alexl@redhat.com>
2750 Add g_file_query_exists (#508771)
2752 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2757 * gvolume.c: For async functions that have no non-async
2758 version, document that the GAsyncReadyCallback may be NULL.
2761 2008-01-15 Alexander Larsson <alexl@redhat.com>
2763 * gmemoryinputstream.c:
2764 * gmemoryoutputstream.c:
2765 Don't do pointer arithmetic on void * (#508602)
2766 Patch from Kazuki IWAMOTO
2768 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2770 * === Released 2.15.2 ===
2772 2008-01-14 Alexander Larsson <alexl@redhat.com>
2774 * gfile.c (g_file_monitor_file):
2775 Don't set error here, since we fallback to polling monitor.
2777 2008-01-14 Alexander Larsson <alexl@redhat.com>
2780 (g_file_monitor_directory):
2781 (g_file_monitor_file):
2782 Add GError to file monitor calls
2784 * glocaldirectorymonitor.c:
2785 * glocaldirectorymonitor.h:
2787 * glocalfilemonitor.c:
2788 * glocalfilemonitor.h:
2790 Update for above change
2792 2008-01-14 Alexander Larsson <alexl@redhat.com>
2796 Handle root correctly in g_file_get_relative_path (#508719)
2798 2008-01-14 Alexander Larsson <alexl@redhat.com>
2801 Clean up docs and example for GAsyncResult (#508074)
2803 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2805 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2806 and correct some spelling mistakes. Bug #508108.
2808 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2810 * glocalfileinfo.c: Add a comment.
2812 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2814 * gfileinfo.c: GFileInfo description: Mention
2815 how to actually set attributes in a GFile and how to discover
2816 which attributes are settable. Bug #508378.
2818 2008-01-10 A. Walton <awalton@svn.gnome.org>
2820 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2821 (g_app_info_get_default_for_type):
2822 Check for NULL content types.
2824 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2826 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2828 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2830 * gfile.c: *_async() functions: Several small corrections
2831 to the documentation, mostly correcting copy/paste errors
2832 and improving some sentences.
2834 2008-01-09 Dan Winship <danw@gnome.org>
2836 * glocalfile.c (get_unique_filename): x86_64 fix
2838 2008-01-09 Alexander Larsson <alexl@redhat.com>
2843 Add g_unix_mount_guess_should_display and use
2844 for unix volume monitor backend.
2845 This means we more or less show what the
2846 gnome-vfs backend did.
2847 Based on patch from Padraig O'Briain
2849 2008-01-09 Alexander Larsson <alexl@redhat.com>
2853 Add g_themed_icon_new_with_default_fallbacks
2856 Use default fallbacks for icons
2858 2008-01-09 Alexander Larsson <alexl@redhat.com>
2861 * gmountoperation.[ch]:
2862 Change the API a bit so that unhandled methods
2863 get reported via the reply, rather than by
2864 the signal emission return value. This is because
2865 some handlers can't know this immediately without
2866 doing I/O, and this is an async operation that
2869 2008-01-09 Alexander Larsson <alexl@redhat.com>
2872 * fam/gfamdirectorymonitor.c:
2873 * fam/gfamfilemonitor.c:
2874 Fix double free crash (#508224)
2875 Patch from Joe Marcus Clarke
2877 008-01-07 Matthias Clasen <mclasen@redhat.com>
2879 * === Released 2.15.1 ===
2881 2008-01-07 Alexander Larsson <alexl@redhat.com>
2883 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2884 Fix warning (#507835)
2886 2008-01-07 Alexander Larsson <alexl@redhat.com>
2889 Pass --internal to glib-genmarshal
2892 * gmountoperation.c:
2894 Use better types for signal arguments (#507822)
2896 2008-01-07 Alexander Larsson <alexl@redhat.com>
2899 Build test subdir after .
2900 Remove gdirectorymonitor.[ch]
2902 * gdirectorymonitor.[ch]:
2906 Remove GDirectoryMonitor and make
2907 GFileMonitor the baseclass for both file and
2908 directory monitors. Lift the more generic
2909 rate limiting code from GDirectoryMonitor
2913 * fam/gfamdirectorymonitor.[ch]:
2914 * inotify/ginotifydirectorymonitor.[ch]:
2915 * inotify/inotify-helper.c:
2916 * glocaldirectorymonitor.[ch]:
2919 Update for the removed GDirectoryMonitor.
2921 * gmemoryoutputstream.c:
2922 Remove ununsed variable
2924 2008-01-07 Alexander Larsson <alexl@redhat.com>
2926 * gmemoryinputstream.c:
2927 Translate error strings
2930 * gmemoryoutputstream.[ch]:
2931 New implementation that avoids using GByteArray
2932 in implementation and API. (#506377)
2934 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2936 * tests/*: Add a test for memory input streams.
2938 * Makefile.am: Add tests to SUBDIRS.
2940 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2942 * glocalfilemonitor.c:
2943 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2946 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2948 * gdesktopappinfo.c: Fix a docs typo.
2950 * gfileattribute.c: Add information about extended attributes
2951 to the documentation. (#505058)
2953 2008-01-04 Alexander Larsson <alexl@redhat.com>
2956 * gmountoperation.c:
2957 Use the right type (uint) for the ask_password signal.
2959 2008-01-04 Alexander Larsson <alexl@redhat.com>
2964 Add g_app_info_supports_files()
2965 Remove desktop arg from g_app_info_should_show().
2967 * gdesktopappinfo.[ch]:
2968 Implement g_app_info_supports_files() and new should_show()
2969 Add g_desktop_app_info_set_desktop_env() to set the desktop
2970 for should_show(). (This will be set by gtk+ later)
2972 2008-01-04 Alexander Larsson <alexl@redhat.com>
2975 * gmemoryinputstream.[ch]:
2976 Improve API so that you can use multiple chunks
2977 of memory and custom destroy functions. (#506374)
2979 2008-01-03 Alexander Larsson <alexl@redhat.com>
2982 Handle NULL attribute matchers safely, as we return this
2983 for empty attribute matcher strings.
2985 2008-01-03 Alexander Larsson <alexl@redhat.com>
2987 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2988 Add /usr/local to list of internal mountpoints
2990 2008-01-03 Alexander Larsson <alexl@redhat.com>
2993 Check for HAVE_LCHOWN (#505887)
2995 2008-01-03 Alexander Larsson <alexl@redhat.com>
2999 Add define for selinux context attribute.
3000 Fix missing : -> :: namespace separator change
3001 Fix missing _ -> - name change for xattr-sys.
3004 2008-01-03 Alexander Larsson <alexl@redhat.com>
3007 Link to libglib and libgobject directly (#504879)
3008 Patch from Sebastien Bacher
3010 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3012 * gfile.c: Expanded the g_file_new_for_commandline_arg
3013 description a bit, based on the code and the docs of the
3014 other g_file_new_for_* functions.
3016 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3018 * gfilemonitor.h: Fixed typo in docs.
3020 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3022 Updates to GIO documentation. (#506395, Mikael Hermansson)
3024 * gcontenttype.c: Describe memory management for return value of
3025 g_content_types_get_registered(). Missing piece from #505815.
3026 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3027 GVolume, GDrive, GMounts, which hopefully gives the user less
3028 confusions when using this API. Following explainations from
3029 Alexander Larsson on gtk-devel-list.
3031 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3033 * gfileinfo.c: Expand the long description.
3035 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3038 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3039 fix builds with --disable-visibility. (#500273, Christian Persch)
3041 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3043 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3044 in the list of returned app infos.
3046 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3048 * gappinfo.c: Fix a cross-reference
3050 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3052 * gfileinputstream.c:
3053 * gfileoutputstream.c:
3057 * gdesktopappinfo.c:
3059 * gfileinfo.c: Documentation updates.
3061 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3063 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3066 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3068 * gcontenttype.c (g_content_types_get_registered): Don't return
3069 freed memory (#505815, Mikael Hermansson)
3071 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3073 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3074 used to detect statbuf->st_blocks. (#505042)
3076 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3078 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3079 environment handling. (#504829, Cosimo Cecchi)
3081 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3083 * gappinfo.c: Doc improvements
3085 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3088 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3090 * === Released 2.15.0 ===
3092 2007-12-20 Hans Breuer <hans@breuer.org>
3094 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3095 with symbols gwin32appinfo.obj, added gmount.obj
3096 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3098 2007-12-20 Alexander Larsson <alexl@redhat.com>
3104 * gfilenamecompleter.c:
3107 * gpollfilemonitor.c:
3108 File attribute renames:
3110 fs:: -> filesystem::
3111 id::fs -> id::filesystem
3113 2007-12-20 Alexander Larsson <alexl@redhat.com>
3122 Add GMountUnmountFlags to all unmount and
3124 Add g_mount_remount() call.
3126 2007-12-20 Alexander Larsson <alexl@redhat.com>
3128 * gvfs.c (get_default_vfs):
3129 Fix unused variable warning
3131 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3133 * pltcheck.sh: Update
3135 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3137 * gunionvolumemonitor.c:
3138 * gunixmount.c: Remove C99 comments
3140 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3142 * gio.symbols: Add some missing symbols
3144 2007-12-19 Alexander Larsson <alexl@redhat.com>
3147 Make g_io_modules_load_all_in_directory not unuse
3148 loaded modules so that users of it can do stuff
3150 Init internal "module" types.
3151 Initialize static prio and name for types so that
3152 we don't have to load modules to get it.
3154 * gnativevolumemonitor.h:
3156 Move is_supported to parent class so that
3157 non-native monitors can avoid being initialized
3158 too. (For instance GDaemonVolumeMonitor if we're
3159 not using GDaemonVfs.)
3161 * glocaldirectorymonitor.[ch]:
3162 * glocalfilemonitor.[ch]:
3163 * gunionvolumemonitor.c:
3164 * gunixvolumemonitor.c:
3166 Find plugins using the static prio+name to
3167 avoid unnecessarily loading the modules.
3169 2007-12-19 Alexander Larsson <alexl@redhat.com>
3174 2007-12-19 Alexander Larsson <alexl@redhat.com>
3176 * gunionvolumemonitor.c:
3177 Store the native type as GType, not class so that
3178 we can unload it. But still avoid unnecessarily
3181 2007-12-19 David Zeuthen <davidz@redhat.com>
3183 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3184 add signals 'disconnected' and 'eject-button' on GDrive. Add
3185 signal 'removed' on GVolume and 'unmounted' on GMount.
3187 * gdrive.c: (g_drive_base_init):
3189 * gfile.c: (g_file_mount_mountable),
3190 (g_file_mount_enclosing_volume):
3193 * gmount.c: (g_mount_base_init):
3195 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3196 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3197 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3201 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3203 * *.c: Fix up includes in the section docs.
3205 2007-12-17 Alexander Larsson <alexl@redhat.com>
3207 * gnativevolumemonitor.h:
3208 * gunionvolumemonitor.c:
3209 * gunixvolumemonitor.c:
3210 Add is_supported() to GNativeVolumeMonitorClass so
3211 that we can avoid having to create an object to see
3212 if the backend is supported at runtime.
3213 Also add name member and an env var to pick a specific
3214 volume monitor backend.
3218 Add cancellable to _g_mount_get_for_mount_path()
3220 * glocaldirectorymonitor.c:
3221 * glocalfilemonitor.c:
3222 Avoid loading and unloading modules while sorting.
3224 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3227 * gunixmounts.[hc]: Namespace waste reduction, move some
3228 g_get_unix_mount functions to the g_unix_mount namespace.
3231 * gunixvolumemonitor.c:
3233 * glocaldirectorymonitor.c: Update all callers.
3235 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3237 2007-12-17 Alexander Larsson <alexl@redhat.com>
3240 Add doc comments about what GFile operations are
3241 guaranteed to not block.
3243 2007-12-17 Alexander Larsson <alexl@redhat.com>
3246 Add missing #ifdef fixing OSX build.
3247 (#503334, patch from Richard Hult)
3249 2007-12-14 David Zeuthen <davidz@redhat.com>
3253 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3254 (g_mount_eject), (g_mount_eject_finish):
3256 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3257 (get_volume_for_uuid), (get_mount_for_uuid),
3258 (g_union_volume_monitor_class_init),
3259 (get_default_native_type_with_exclude), (get_default_native_type),
3260 (get_native_type), (update_native_type),
3261 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3262 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3263 (g_unix_mount_can_eject), (eject_unmount_cb),
3264 (eject_unmount_read_error), (eject_unmount_do),
3265 (g_unix_mount_unmount), (g_unix_mount_eject),
3266 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3267 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3268 (g_unix_mount_point_guess_can_eject):
3270 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3271 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3272 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3273 (g_unix_volume_mount), (g_unix_volume_eject),
3274 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3275 * gunixvolumemonitor.c: (get_volume_for_uuid),
3276 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3278 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3279 (g_volume_eject), (g_volume_eject_finish):
3281 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3282 (g_volume_monitor_get_mount_for_uuid):
3285 Provide eject() on both GMount and GVolume and utility functions
3286 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3287 ejected. Introduce the concept of UUID's and wire it into GVolume
3288 and GMount and provide API on GVolumeMonitor to find such
3289 instances. Also handle the case where an external
3290 GNativeVolumeMonitor fails to initialize. Lock around the
3291 _g_get_mount_for_mount_path() function such that volume monitor
3292 implementations won't have to do locking themselves.
3294 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3296 * gdesktopappinfo.c:
3302 * gvolume.h: Documentation updates
3304 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3307 * gfile.h: Doc updates
3309 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3312 * gdesktopappinfo.c: Use hash table iterators.
3314 2007-12-14 Alexander Larsson <alexl@redhat.com>
3317 * gfileattribute.[ch]:
3318 * gfileattribute-priv.h:
3319 Move GFileAttributeValue to a private header, as
3323 Make set_attribute take a type + a pointer instead
3324 of a GFileAttributeValue.
3327 Fix up for above changes.
3328 Add g_file_info_get_attribute_data to get
3329 all info in one call, g_file_info_get_attribute_status
3330 to get the status and g_file_info_get_attribute_as_string.
3334 * glocalfileinfo.[ch]:
3338 Make _guess_type static.
3340 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3343 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3344 made mkenums and friends use temporary files to avoid leaving
3345 empty generated files on failure (#503470).
3347 2007-12-14 Alexander Larsson <alexl@redhat.com>
3349 * gmountoperation.h:
3352 2007-12-14 Alexander Larsson <alexl@redhat.com>
3356 * gfileattribute.[ch]:
3359 * glocalfileoutputstream.c:
3360 * gmountoperation.[ch]:
3361 * goutputstream.[ch]:
3362 Clean up all flags enums to not have _FLAGS in them
3363 Make the names of some of the enums better.
3368 2007-12-14 Michael Natterer <mitch@imendio.com>
3370 * gio.symbols: fix g_io_scheduler symbol names.
3372 2007-12-14 Alexander Larsson <alexl@redhat.com>
3378 * gbufferedinputstream.h:
3379 * gbufferedoutputstream.h:
3382 * gdatainputstream.h:
3383 * gdataoutputstream.h:
3384 * gdesktopappinfo.h:
3385 * gdirectorymonitor.h:
3389 * gfileenumerator.h:
3392 * gfileinputstream.h:
3394 * gfilenamecompleter.h:
3395 * gfileoutputstream.h:
3396 * gfilterinputstream.h:
3397 * gfilteroutputstream.h:
3405 * gmemoryinputstream.h:
3406 * gmemoryoutputstream.h:
3408 * gmountoperation.h:
3411 * gsimpleasyncresult.h:
3413 * gunixinputstream.h:
3415 * gunixoutputstream.h:
3419 * inotify/Makefile.am:
3420 Only allow including <gio/gio.h> from apps
3422 2007-12-14 Alexander Larsson <alexl@redhat.com>
3424 * gioscheduler.[ch]:
3425 * gsimpleasyncresult.c:
3426 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3427 Split out the send_to_mainloop call into two versions instead
3428 of having the block argument.
3430 2007-12-13 Alexander Larsson <alexl@redhat.com>
3432 * gcancellable.[ch]:
3434 * gbufferedinputstream.c:
3435 * gfileenumerator.c:
3436 * gfileinputstream.c:
3437 * gfileoutputstream.c:
3441 g_push/pop_current_cancellable ->
3442 g_cancellable_push/pop_current
3444 2007-12-13 Alexander Larsson <alexl@redhat.com>
3448 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3450 2007-12-13 Alexander Larsson <alexl@redhat.com>
3452 * gmountoperation.h:
3453 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3455 2007-12-12 Alexander Larsson <alexl@redhat.com>
3458 Fix race condition when freeing proxy in
3459 g_io_job_send_to_mainloop().
3461 2007-12-12 Alexander Larsson <alexl@redhat.com>
3467 Make attribute namespace separator "::" instead of ":".
3468 Use - instead of _ as separator in attribute names.
3470 2007-12-12 Alexander Larsson <alexl@redhat.com>
3472 * gbufferedinputstream.h:
3473 * gbufferedoutputstream.h:
3474 * gdatainputstream.h:
3475 * gdataoutputstream.h:
3476 * gdirectorymonitor.h:
3477 * gfileenumerator.h:
3478 * gfileinputstream.h:
3480 * gfileoutputstream.h:
3481 * gfilterinputstream.h:
3482 * gfilteroutputstream.h:
3484 * glocalfileinputstream.h:
3485 * glocalfileoutputstream.h:
3486 * gmemoryinputstream.h:
3487 * gmemoryoutputstream.h:
3488 * gnativevolumemonitor.h:
3490 * gunixinputstream.h:
3491 * gunixoutputstream.h:
3494 s/parent/parent_instance/ in GObjects
3496 2007-12-12 Alexander Larsson <alexl@redhat.com>
3501 No need for padding for interfaces
3503 2007-12-12 Alexander Larsson <alexl@redhat.com>
3507 * gbufferedinputstream.c:
3508 * gbufferedoutputstream.c:
3511 * gdatainputstream.[ch]:
3512 * gdesktopappinfo.c:
3513 * gdirectorymonitor.c:
3515 * gfileattribute.[ch]:
3518 * gfileinputstream.h:
3519 * gfilemonitor.[ch]:
3520 * gfileoutputstream.[ch]:
3521 * gfilterinputstream.h:
3522 * gfilteroutputstream.h:
3525 * gloadableicon.[ch]:
3526 * gmemoryinputstream.c:
3527 * gmountoperation.c:
3529 Fix up a bunch of details in the docs.
3534 2007-12-11 David Zeuthen <davidz@redhat.com>
3536 Rework how volumes, drives and volume monitoring is
3537 done. Previosly the model was
3539 GDrive <1-1> GVolume
3541 where a GDrive instance represented a mount point and a GVolume
3542 instance represented a mounted file system. This patch changes it
3545 GDrive <1-N> GVolume <1-1> GMount
3547 where GMount now serves the purpose of the old GVolume and the new
3548 GVolume serves the purpose of the old GDrive. In addition the new
3549 GDrive interface is used to represent a collection of GVolume
3550 instances (typically partitions) and also contains utility to query
3551 the state of the physical drive the GDrive object represents (such
3552 as checking for media, polling the drive, ejecting the media etc.).
3554 Also implement mounting and unmounting in the Unix volume monitor
3555 backend. A subquent patch will introduce GDrive support for ejection
3559 * gdrive.c: (g_drive_is_media_check_automatic),
3560 (g_drive_is_media_removable), (g_drive_has_media),
3561 (g_drive_can_poll_for_media), (g_drive_eject),
3562 (g_drive_eject_finish), (g_drive_poll_for_media),
3563 (g_drive_poll_for_media_finish):
3565 * gfile.c: (g_file_find_enclosing_mount):
3568 * glocaldirectorymonitor.c:
3569 (g_local_directory_monitor_constructor), (mounts_changed):
3570 * glocalfile.c: (get_mount_info),
3571 (g_local_file_find_enclosing_mount),
3572 (g_local_file_file_iface_init):
3573 * gnativevolumemonitor.h:
3574 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3575 (get_connected_drives), (g_union_volume_monitor_class_init),
3576 (child_volume_added), (child_volume_removed),
3577 (child_volume_changed), (child_mount_added), (child_mount_removed),
3578 (child_mount_pre_unmount), (child_mount_changed),
3579 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3580 (g_union_volume_monitor_remove_monitor),
3581 (_g_mount_get_for_mount_path):
3582 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3583 (guess_system_internal), (_g_get_unix_mounts),
3584 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3585 (g_unix_mount_free), (g_unix_mount_compare),
3586 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3587 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3588 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3589 (type_to_icon), (g_unix_mount_guess_name),
3590 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3591 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3592 (_resolve_symlink), (_resolve_dev_root):
3594 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3595 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3596 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3597 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3598 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3599 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3600 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3601 (g_unix_volume_volume_iface_init):
3603 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3604 (get_mounts), (get_volumes), (get_connected_drives),
3605 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3606 (mountpoints_changed), (mounts_changed),
3607 (g_unix_volume_monitor_init),
3608 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3609 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3610 * gunixvolumemonitor.h:
3611 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3612 (g_volume_mount), (g_volume_mount_finish):
3614 * gvolumemonitor.c: (g_volume_monitor_class_init),
3615 (g_volume_monitor_get_connected_drives),
3616 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3619 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3621 * gmountoperation.h (GPasswordFlags): Close the gap
3623 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3625 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3627 * gdesktopappinfo.[hc]: Remove _-prefixes
3629 2007-12-10 Tor Lillqvist <tml@novell.com>
3631 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3634 2007-12-10 Alexander Larsson <alexl@redhat.com>
3636 * gfile.c (g_file_set_display_name):
3637 Don't hardcode '/' (#502727)
3639 2007-12-09 Hans Breuer <hans@breuer.org>
3641 * makefile.msc : follow lib naming convention
3642 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3643 for user and group name, tested with ../tests/gio-ls
3645 2007-12-09 A. Walton <awalton@svn.gnome.org>
3647 * gdesktopappinfo.c:
3653 * gfileenumerator.c:
3658 * gmemoryinputstream.c:
3659 * gmemoryoutputstream.c:
3661 * gsimpleasyncresult.c:
3662 More documentation cleanup and filling in missing information, bringing
3663 GIO to 99% symbol coverage.
3665 2007-12-08 Hans Breuer <hans@breuer.org>
3667 [gio compiles and links on win32, not sure how much already works]
3668 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3669 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3670 base on win32 API; prefer g_lstat() over lstat(); instead of
3671 localtime_r() use an all GLib implementation on win32;
3672 get_mount_info() still needs a win32 specifc implementation
3673 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3674 win32_get_file_user_info to get owner/group info without uid/gid
3675 * glocalfileinputstream.c : include <io.h> on win32
3676 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3677 definition, use g_win32_ftruncate() for G_OS_WIN32
3678 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3679 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3680 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3681 * makefile.msc : updated
3683 2007-12-07 Alexander Larsson <alexl@redhat.com>
3685 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3686 Avoid warning spew if error == NULL
3688 2007-12-07 Alexander Larsson <alexl@redhat.com>
3691 Update docs wrt etags
3693 2007-12-06 Alexander Larsson <alexl@redhat.com>
3696 Include sys/types.h for dev_t (#501919)
3698 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3702 Make abicheck and pltcheck pass.
3704 2007-12-05 Alexander Larsson <alexl@redhat.com>
3707 * giomodule-priv.h: Added.
3708 * glocaldirectorymonitor.c:
3709 * glocalfilemonitor.c:
3710 * gunionvolumemonitor.c:
3712 Actually add the declaration of _g_io_modules_ensure_loaded
3714 2007-12-05 Alexander Larsson <alexl@redhat.com>
3716 * gdatainputstream.c:
3721 * glocaldirectorymonitor.c:
3722 * glocalfilemonitor.c:
3723 * gunionvolumemonitor.c:
3725 Make g_io_modules_ensure_loaded a private function and
3726 don't pass in the dirname. This means we can do magic
3727 directory finding in the win32 version.
3728 Export the actual load-modules-in-directory code so that
3729 gvfs can reuse that.
3731 2007-12-05 Alexander Larsson <alexl@redhat.com>
3733 * gbufferedinputstream.c:
3734 * gbufferedoutputstream.c:
3737 * gfileenumerator.[ch]:
3738 * gfileinputstream.c:
3739 * gfileoutputstream.[ch]:
3740 * gfilterinputstream.c:
3741 * gfilteroutputstream.c:
3742 * ginputstream.[ch]:
3744 * glocalfileenumerator.c:
3745 * glocalfileinputstream.c:
3746 * glocalfileoutputstream.c:
3747 * gmemoryinputstream.c:
3748 * gmemoryoutputstream.c:
3749 * goutputstream.[ch]:
3752 * gunixinputstream.c:
3753 * gunixoutputstream.c:
3754 Rename all struct members named:
3755 read, write, close, truncate, or mount
3756 to foo_fn, as these are reserved names
3757 and could be defined as macros in libc.
3760 2007-12-04 Alexander Larsson <alexl@redhat.com>
3763 (g_output_stream_close):
3764 Only call flush if non-null.
3766 2007-11-30 Dan Winship <danw@gnome.org>
3768 * ginputstream.c (g_input_stream_set_pending): Make this take a
3769 GError and return a gboolean, and do the "outstanding operation"
3770 check (and the "stream is already closed" check) itself.
3771 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3773 * goutputstream.c (g_output_stream_set_pending)
3774 (g_output_stream_clear_pending): Likewise
3776 * gbufferedinputstream.c:
3777 * gfileinputstream.c:
3778 * gfileoutputstream.c: Update for that
3780 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3781 Like g_simple_async_report_error_in_idle, but takes a GError
3782 rather than building one.
3784 2007-11-30 Dan Winship <danw@gnome.org>
3786 * goutputstream.c: Don't cheat and unset the "pending" flag around
3787 inner calls. Instead, call the class method directly rather than
3788 the wrapper function that checks "pending"
3790 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3792 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3794 2007-12-03 Hans Breuer <hans@breuer.org>
3796 [start of port to win32/msvc]
3797 * gcancellable.c : HAVE_UNIST_H and _pipe()
3798 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3799 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3800 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3802 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3803 * glocalvfs.c : use HAVE_PWD_H
3804 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3805 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3806 * Makefile.am : added to EXTRA_DIST
3808 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3810 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3813 2007-12-03 Alexander Larsson <alexl@redhat.com>
3816 Handle OSX style xattrs API (#500506)
3818 2007-12-03 Alexander Larsson <alexl@redhat.com>
3822 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3824 2007-12-02 A. Walton <awalton@svn.gnome.org>
3828 Documentation accuracy fixes.
3830 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3832 * gioenumtypes.c.template: Fix typo.
3834 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3836 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3838 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3840 * gdirectorymonitor.c:
3841 * gfilemonitor.c: Add properties
3843 * gbufferedoutputstream.c: Don't mark buffer-size property
3846 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3848 * gbufferedoutputstream.c: Add auto-grow property.
3850 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3852 * *.c: Unify the capitalization of section headings.
3854 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3856 * gmountoperation.c: Add properties
3858 * gdatainputstream.c: Turn byte-order and newline-type into
3861 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3863 * gioenumtypes.[hc].template: Templates for enum registration
3865 * Makefile.am: Generate gioenumtypes.[hc]
3867 * gio.h: Include gioenumtypes.h
3869 * gfile.h: Add some explicit nicks.
3871 * gio.symbols: Add new symbols
3873 * pltcheck.sh: Adjust
3875 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3877 * *.c: Explain etags and link to the explanation
3879 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3881 * *.c: Explain I/O priority.
3883 * *.c: More coding style fixes.
3885 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3887 * gasyncresult.c: Add another paragraph to the intro,
3888 adjust coding style of example.
3890 2007-11-29 A. Walton <awalton@svn.gnome.org>
3893 Fixes unknown meaning in GAppLaunchContext docs.
3895 Clarify asynchronous ops.
3897 Fix entity tag docs.
3900 Provides missing gtk-doc section, fixes API docs slighly.
3901 * gsimpleasyncresult.c:
3902 Fill in missing info in docs.
3903 * gunixinputstream.c:
3904 * gunixoutputstream.c:
3905 Be more expressive in short description.
3907 Remove gtk-doc stubs for non-public API.
3909 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3911 * *.c: Coding style fixups
3913 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3915 * inotify/inotify-helper.c: Don't export the lock from libgio.
3917 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3920 * abicheck.sh: Fix copy-and-paste leftovers
3922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3924 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3926 2007-11-28 Alexander Larsson <alexl@redhat.com>
3930 Removed unnecessary file
3932 * gdesktopappinfo.[ch]:
3935 * glocaldirectorymonitor.[ch]:
3937 * glocalfileenumerator.[ch]:
3938 * glocalfileinputstream.[ch]:
3939 * glocalfilemonitor.[ch]:
3940 * glocalfileoutputstream.[ch]:
3942 * gnativevolumemonitor.c:
3943 * gpollfilemonitor.[ch]:
3944 * gunionvolumemonitor.[ch]:
3947 * gunixvolumemonitor.[ch]:
3950 * inotify/ginotifydirectorymonitor.[ch]:
3951 * inotify/ginotifyfilemonitor.[ch]:
3952 * inotify/inotify-helper.c:
3953 Append _ to all internal functions
3957 Export symbols needed for modules
3959 2007-11-28 Alexander Larsson <alexl@redhat.com>
3962 * abicheck.sh: Added.
3963 * makegioalias.pl: Added.
3964 * pltcheck.sh: Added.
3965 * gio.symbols: Added.
3968 Initial work on adding symbol handling.
3971 Correct ifdef guard name
3974 * inotify/Makefile.am:
3975 * xdgmime/Makefile.am:
3976 Include toplevel Makefile.decl
3978 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3980 * gcontenttype.c: Move doc comments to the unix section.
3982 * *.[hc]: More trivial doc corrections.
3984 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3986 * gpollfilemonitor.c:
3990 * gdesktopappinfo.c:
3995 * gdatainputstream.c:
3996 * gdatainputstream.h:
3997 * gdataoutputstream.c:
3998 * gdataoutputstream.h:
3999 * gfileinfo.h: Doc cleanups
4001 2007-11-28 Andre Klapper <a9016009@gmx.de>
4003 * gdesktopappinfo.c: Fix a typo.
4005 2007-11-27 Andre Klapper <a9016009@gmx.de>
4007 * glocalfileoutputstream.c: Fix a typo.
4009 2007-11-27 Alexander Larsson <alexl@redhat.com>
4012 Don't include removed headers
4014 2007-11-27 Alexander Larsson <alexl@redhat.com>
4017 * gsocketinputstream.[ch]: Removed.
4018 * gsocketoutputstream.[ch]: Removed.
4019 * gunixinputstream.[ch]: Added.
4020 * gunixoutputstream.[ch]: Added.
4021 Renamed GSocket*Stream to GUnix*Stream and made
4022 it unix-only, since its not really only for sockets
4023 and it only works on unix (but is highly useful there).
4025 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4031 * gbufferedinputstream.c:
4032 * gbufferedinputstream.h:
4033 * gbufferedoutputstream.c:
4034 * gbufferedoutputstream.h:
4038 * gdatainputstream.c:
4039 * gdatainputstream.h:
4040 * gdataoutputstream.c:
4041 * gdataoutputstream.h:
4042 * gdirectorymonitor.c:
4043 * gdirectorymonitor.h:
4050 * gfileenumerator.c:
4051 * gfileenumerator.h:
4056 * gfileinputstream.c:
4057 * gfileinputstream.h:
4060 * gfilenamecompleter.c:
4061 * gfilenamecompleter.h:
4062 * gfileoutputstream.c:
4063 * gfileoutputstream.h:
4064 * gfilterinputstream.c:
4065 * gfilterinputstream.h:
4066 * gfilteroutputstream.c:
4067 * gfilteroutputstream.h:
4080 * glocalfileoutputstream.c:
4081 * gmemoryinputstream.c:
4082 * gmemoryinputstream.h:
4083 * gmemoryoutputstream.c:
4084 * gmemoryoutputstream.h:
4085 * gmountoperation.c:
4086 * gmountoperation.h:
4089 * gpollfilemonitor.c:
4092 * gsimpleasyncresult.c:
4093 * gsimpleasyncresult.h:
4094 * gsocketinputstream.c:
4095 * gsocketinputstream.h:
4096 * gsocketoutputstream.c:
4097 * gsocketoutputstream.h:
4104 * gunixvolumemonitor.c:
4113 Bumps documentation to 93% symbol coverage, touching most
4114 of the public files. Fixes broken function documentation prototypes.
4115 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4116 gtk-doc headers in private files.
4118 2007-11-27 Jürg Billeter <j@bitron.ch>
4120 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4121 (g_buffered_input_stream_read_byte):
4122 * gbufferedinputstream.h:
4123 New functions for efficient access to buffer and simple single byte
4126 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4127 (g_data_input_stream_read_until):
4128 * gdatainputstream.h:
4129 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4130 read_until with multiple stop chars.
4132 2007-11-27 Alexander Larsson <alexl@redhat.com>
4136 * inotify/Makefile.am:
4137 Use the user-specified giomoduledir
4139 2007-11-27 Alexander Larsson <alexl@redhat.com>
4143 Add catch-all gio.h header
4144 Don't install gdummyfile.h
4146 2007-11-26 Alexander Larsson <alexl@redhat.com>
4148 * Makefile.am (gioinclude_HEADERS):
4149 Remove trailing whitespace
4151 2007-11-26 Alexander Larsson <alexl@redhat.com>
4153 Merge gio-standalone into glib
4155 2007-11-25 Christian Kellner <gicmo@gnome.org>
4157 * gio/goutputstream.c:
4158 Fix small mistake in the docs.
4160 2007-11-21 Christian Persch <chpe@gnome.org>
4162 * gio/glocalfile.c: (g_local_file_trash):
4163 Convert filenames to UTF-8 for GError.
4164 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4165 as per xdg base dir spec.
4167 2007-11-21 Christian Persch <chpe@gnome.org>
4169 * gio/gdesktopappinfo.c:
4170 Use that g_key_file_to_data cannot fail.
4172 Use stock defines for the key file group and key names.
4175 2007-11-21 Alexander Larsson <alexl@redhat.com>
4178 (copy_stream_with_progress):
4179 Make sure we do a final progress callback with
4180 the full total size.
4182 2007-11-21 Alexander Larsson <alexl@redhat.com>
4185 Export g_file_copy_attributes
4186 Remove padding as its not needed for interfaces
4188 2007-11-20 Alexander Larsson <alexl@redhat.com>
4193 Add G_IO_ERROR_WOULD_MERGE for
4194 copy/move dir on dir with overwrite.
4196 2007-11-20 Alexander Larsson <alexl@redhat.com>
4199 * gio/glocalfileinfo.c:
4200 Add COPY_NAME (this is an optional
4201 non-modified utf8 version of the name) that
4204 2007-11-20 Alexander Larsson <alexl@redhat.com>
4206 * gio/glocalfileenumerator.c:
4207 Report errors as GIOError, not GFileError
4209 2007-11-16 Alexander Larsson <alexl@redhat.com>
4211 * gio/glocalfileoutputstream.c:
4212 * gio/gwin32appinfo.c:
4213 Fix typos in strings.
4214 Patch from Luca Ferretti <elle.uca@libero.it>
4216 2007-11-15 Alexander Larsson <alexl@redhat.com>
4219 Post release version bump
4221 === gio-standalone 0.1.2 ===
4223 2007-11-15 Alexander Larsson <alexl@redhat.com>
4225 * docs/reference/gio/Makefile.am:
4226 Fix up distcheck by removing weird
4232 2007-11-14 Alexander Larsson <alexl@redhat.com>
4234 * gio/gdesktopappinfo.c:
4235 * gio/glocaldirectorymonitor.c:
4237 * gio/glocalfileinfo.c:
4238 * gio/inotify/inotify-sub.c:
4239 * programs/gio-cat.c:
4240 * programs/gio-copy.c:
4241 * programs/gio-info.c:
4242 * programs/gio-ls.c:
4243 * programs/gio-monitor-dir.c:
4244 * programs/gio-monitor-file.c:
4245 * programs/gio-mount.c:
4246 * programs/gio-move.c:
4247 * programs/gio-rm.c:
4248 * programs/gio-save.c:
4249 * programs/gio-trash.c:
4250 Leak fixes from Kjartan Maraas
4252 2007-11-14 Alexander Larsson <alexl@redhat.com>
4254 * gio/fam/fam-helper.c:
4256 * gio/glocalfileinfo.c:
4260 * gio/inotify/inotify-diag.c:
4261 * gio/inotify/inotify-kernel.c:
4262 Various code cleanups from Kjartan Maraas
4264 2007-11-14 Alexander Larsson <alexl@redhat.com>
4266 * gio/gioscheduler.c:
4268 Set up threadpool so that we cache 2 unused
4269 idle threads for at 15 secs. This means we
4270 will reuse thread-local data (like dbus connections)
4273 2007-11-14 Alexander Larsson <alexl@redhat.com>
4275 * gio/fam/fam-helper.c:
4276 * gio/fam/gfamdirectorymonitor.c:
4277 * gio/fam/gfamfilemonitor.c:
4279 * gio/gcontenttype.c:
4280 * gio/gdatainputstream.c:
4281 * gio/gdataoutputstream.c:
4285 * gio/gfileattribute.h:
4286 * gio/gfileenumerator.c:
4288 * gio/ginputstream.c:
4291 * gio/glocalfileinfo.c:
4292 * gio/goutputstream.c:
4293 * gio/gpollfilemonitor.c:
4294 * gio/gsimpleasyncresult.c:
4295 * gio/gunixmounts.c:
4296 * gio/gunixmounts.h:
4297 * gio/inotify/ginotifydirectorymonitor.c:
4298 * gio/inotify/ginotifyfilemonitor.c:
4299 * gio/inotify/inotify-diag.c:
4300 * gio/inotify/inotify-kernel.c:
4301 * gio/inotify/inotify-path.c:
4303 * gio/test-streams.c:
4304 * programs/gio-info.c:
4305 * programs/gio-monitor-dir.c:
4306 * programs/gio-monitor-file.c:
4307 Various code cleanups from Kjartan Maraas
4309 2007-11-13 Alexander Larsson <alexl@redhat.com>
4312 Handle the uri-scheme calls for dummy files
4314 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4316 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4317 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4318 to avoid clash with the C++ keyword.
4320 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4322 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4323 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4325 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4327 * gio/glocaldirectorymonitor.c:
4328 * gio/glocalfilemonitor.c:
4329 * gio/gunionvolumemonitor.c:
4330 Don't use g_once_init_*() for initializations that could fail and
4331 could leave the initialization variable set to 0 but use GOnce.
4332 This prevents a deadlock on the second call when trying to create
4333 a monitor and no monitor type is available. Thanks to Sven Herzberg
4336 2007-11-11 Sven Herzberg <sven@imendio.com>
4338 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4339 #ifdef (make it work on MacOS X again)
4341 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4343 Fixes Changelog for last two commits (sorry guys).
4345 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4347 * gio/gbufferedinputstream.c:
4348 * gio/gdatainputstream.c:
4350 * gio/gfileoutputstream.c:
4351 * gio/gfilterinputstream.c:
4352 * gio/glocalfileinputstream.c:
4355 More consistency fixes in g*stream.c files.
4356 Significant clean of gfile's documentation, filling in of
4357 asynchronous operations documentation.
4359 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4361 * gio/gasyncresult.c:
4362 * gio/gbufferedinputstream.c:
4363 * gio/gbufferedoutputstream.c:
4364 * gio/gcancellable.c:
4365 * gio/gcontenttype.c:
4366 * gio/gdatainputstream.c:
4367 * gio/gdataoutputstream.c:
4368 * gio/gdesktopappinfo.c:
4371 * gio/gfileattribute.c:
4372 * gio/gio/gfileenumerator.c:
4374 * gio/gfileinputstream.c:
4375 * gio/gfilemonitor.c:
4376 * gio/gfileoutputstream.c:
4377 * gio/ginputstream.c:
4379 * gio/gioscheduler.c:
4380 * gio/gloadableicon.c:
4381 * gio/glocalfileoutputstream.c:
4382 * gio/gmemoryoutputstream.c:
4383 * gio/gmountoperation.c:
4384 * gio/goutputstream.c:
4386 * gio/gsimpleasyncresult.c:
4387 * gio/gunionvolumemonitor.c:
4388 * gio/gunixmounts.c:
4389 * gio/gunixvolume.c:
4393 * gio/gvolumemonitor.c:
4394 Updated documentation stubs, working towards consistency and
4397 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gmemoryoutputstream.c:
4400 * gio/gmemoryoutputstream.h:
4401 Change g_memory_output_stream_set_free_on_close() to
4402 g_memory_output_stream_set_free_data() as this makes more sense and
4403 is more consistent with GMemoryInputStream.
4405 2007-11-07 Alexander Larsson <alexl@redhat.com>
4412 Change how we find the default vfs so that
4413 we can handle a gvfs failing to init
4415 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gio/gbufferedoutputstream.c:
4418 * gio/gdatainputstream.c:
4419 * gio/gdataoutputstream.c:
4420 * gio/gfileinputstream.c:
4421 * gio/gfileoutputstream.c:
4422 * gio/gfilterinputstream.c:
4423 * gio/gfilteroutputstream.c:
4424 * gio/ginputstream.c:
4425 * gio/gmemoryinputstream.c:
4426 * gio/gmemoryoutputstream.c:
4427 * gio/goutputstream.c:
4428 * gio/gsimpleasyncresult.c:
4429 * gio/gsocketinputstream.c:
4430 * gio/gsocketoutputstream.c:
4431 Add guards to the remaining public functions, add a TODO for
4432 an unimplemented function and remove some useless guards.
4434 2007-11-07 Alexander Larsson <alexl@redhat.com>
4437 Autoconf checks for the various types of
4438 getpwuid_r and getgrgid_r
4440 * gio/glocalfileinfo.c:
4441 Use the autoconf checks from above
4443 2007-11-07 Alexander Larsson <alexl@redhat.com>
4446 (g_local_file_query_filesystem_info):
4447 Some fixes for the statvfs case
4449 2007-11-07 Alexander Larsson <alexl@redhat.com>
4452 (g_local_file_query_filesystem_info):
4453 Pick the "best" of statfs / statvfs for the system
4454 if both are availible.
4456 2007-11-07 Alexander Larsson <alexl@redhat.com>
4458 Solaris fixes from Halton.Huo@Sun.COM:
4465 * gio/glocalfileinfo.c:
4466 Fix for solaris definition of getpwuid_r
4468 * gio/test-streams.c:
4469 Use G_GNUC_PRETTY_FUNCTION
4471 2007-11-07 Alexander Larsson <alexl@redhat.com>
4473 * gio/gdesktopappinfo.c:
4474 (update_default_list):
4475 Remove double semicolon.
4476 Patch from Jens Granseuer
4478 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4480 * docs/reference/gio/gio-sections.txt:
4481 * gio/gbufferedinputstream.c:
4482 * gio/gbufferedinputstream.h:
4483 * gio/gdatainputstream.c:
4484 * gio/gfileenumerator.c:
4485 * gio/gioscheduler.c:
4486 * gio/gunionvolumemonitor.c:
4488 * programs/gio-save.c:
4489 Fix typo: availible -> available. Unfortuntely this breaks API
4490 and ABI as g_buffered_input_stream_get_available() was renamed.
4492 * gio/gunixmounts.c:
4493 * gio/gbufferedinputstream.c:
4494 Add guards for public functions.
4496 2007-11-06 Ross Burton <ross@openedhand.com>
4498 * docs/reference/gio/Makefile.am:
4499 Fix invalid += usage which automake 1.10 doesn't like.
4501 2007-11-06 Alexander Larsson <alexl@redhat.com>
4504 (g_app_launch_context_class_init):
4507 Patch from Ross Burton
4509 2007-11-06 Alexander Larsson <alexl@redhat.com>
4512 Post release version bump
4514 === gio-standalone 0.1.1 ===
4516 2007-11-06 Alexander Larsson <alexl@redhat.com>
4519 Bump version to 0.1.1
4521 * gio/gsimpleasyncresult.c:
4522 (g_simple_async_result_set_from_error):
4523 Remove bogus g_return_if_fail
4525 2007-11-06 Alexander Larsson <alexl@redhat.com>
4528 The name is gio-standalone
4531 Add top src/builddir to includedir
4533 2007-11-06 Alexander Larsson <alexl@redhat.com>
4535 * docs/reference/gio/gio-sections.txt:
4537 * gio/gbufferedinputstream.c:
4538 * gio/gbufferedoutputstream.c:
4539 * gio/gcancellable.c:
4540 * gio/gdatainputstream.h:
4541 * gio/gdataoutputstream.c:
4542 * gio/gdataoutputstream.h:
4543 * gio/gdirectorymonitor.c:
4545 * gio/gfileattribute.c:
4546 * gio/gfileattribute.h:
4547 * gio/gfileenumerator.c:
4548 * gio/gfileenumerator.h:
4551 * gio/gfileinputstream.h:
4552 * gio/gfilemonitor.c:
4553 * gio/gfileoutputstream.h:
4554 * gio/glocalfilemonitor.h:
4555 * gio/glocalfileoutputstream.h:
4556 * gio/gmemoryinputstream.c:
4557 * gio/gmemoryoutputstream.c:
4558 * gio/gmountoperation.c:
4559 * gio/goutputstream.c:
4560 * gio/goutputstream.h:
4562 * gio/gsimpleasyncresult.c:
4563 * gio/gunixmounts.c:
4564 * gio/gunixmounts.h:
4566 * gio/inotify/inotify-helper.c:
4567 Fix gtk-doc warnings
4569 Patch from Ross Burton
4571 2007-11-06 Alexander Larsson <alexl@redhat.com>
4573 * gio/gfilenamecompleter.c:
4574 (g_filename_completer_get_completions):
4577 * gio/gunixvolume.c:
4578 Remove unused function
4580 Patches from Ross Burton
4582 2007-11-06 Alexander Larsson <alexl@redhat.com>
4587 Padding not needed for interfaces
4589 2007-11-06 Alexander Larsson <alexl@redhat.com>
4591 * gio/gfilemonitor.c:
4595 Make giotypes.h an internal file
4598 * gio/gbufferedinputstream.h:
4599 * gio/gbufferedoutputstream.h:
4600 * gio/gcancellable.h:
4601 * gio/gdatainputstream.h:
4602 * gio/gdataoutputstream.h:
4603 * gio/gdirectorymonitor.c:
4604 * gio/gdirectorymonitor.h:
4609 * gio/gfileattribute.h:
4610 * gio/gfileenumerator.h:
4615 * gio/gfilemonitor.c:
4616 * gio/gfilemonitor.h:
4617 * gio/gfilenamecompleter.c:
4618 * gio/gfilenamecompleter.h:
4619 * gio/gfilterinputstream.h:
4620 * gio/gfilteroutputstream.h:
4621 * gio/ginputstream.h:
4622 * gio/gmemoryinputstream.h:
4623 * gio/gmemoryoutputstream.h:
4624 * gio/gmountoperation.c:
4625 * gio/gmountoperation.h:
4626 * gio/gnativevolumemonitor.c:
4627 * gio/goutputstream.h:
4630 * gio/gsimpleasyncresult.c:
4631 * gio/gsimpleasyncresult.h:
4632 * gio/gsocketinputstream.h:
4633 * gio/gsocketoutputstream.h:
4634 * gio/gthemedicon.c:
4635 * gio/gthemedicon.h:
4639 * gio/gvolumemonitor.c:
4640 * gio/gvolumemonitor.h:
4641 Add padding in classes where it seems useful
4642 Don't include giotypes.h from public headers
4643 Move in Class definitions into c file where possible
4648 2007-11-06 Alexander Larsson <alexl@redhat.com>
4650 * docs/reference/gio/gio-docs.xml:
4651 Better structure for API docs
4653 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4656 * gio/gloadableicon.c:
4657 * gio/gsimpleasyncresult.c:
4658 * gio/gthemedicon.c:
4659 Add some more guards to public functions. Only files missing are now
4662 2007-11-06 Alexander Larsson <alexl@redhat.com>
4664 * docs/reference/gio/gio-docs.xml:
4665 Remove old files, add missing ones
4667 2007-11-06 Alexander Larsson <alexl@redhat.com>
4669 * docs/reference/gio/gio-sections.txt:
4672 Hide implementation classes
4674 * gio/gdriveprivate.h:
4675 * gio/gvolumeprivate.h:
4676 Remove non-existing function declarations
4678 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4681 Fix compilation warnings and add guards to the new functions.
4683 * gio/gasyncresult.c:
4685 Add guards to the public functions.
4688 Implement get_path().
4690 2007-11-06 Alexander Larsson <alexl@redhat.com>
4692 * gio/gfilenamecompleter.c:
4693 Make g_filename_completer_get_completions
4694 return char ** instead of GList for
4697 * docs/reference/gio/gio-docs.xml:
4698 * docs/reference/gio/gio-sections.txt:
4700 * gio/gasyncresult.c:
4701 * gio/gbufferedinputstream.c:
4702 * gio/gbufferedoutputstream.c:
4703 * gio/gcancellable.c:
4704 * gio/gcontenttype.c:
4705 * gio/gdatainputstream.c:
4706 * gio/gdataoutputstream.c:
4707 * gio/gdesktopappinfo.c:
4708 * gio/gdirectorymonitor.c:
4712 * gio/gfileattribute.c:
4713 * gio/gfileenumerator.c:
4716 * gio/gfileinputstream.c:
4717 * gio/gfilemonitor.c:
4718 * gio/gfilenamecompleter.c:
4719 * gio/gfilenamecompleter.h:
4720 * gio/gfileoutputstream.c:
4721 * gio/gfilterinputstream.c:
4723 * gio/ginputstream.c:
4725 * gio/gioscheduler.c:
4726 * gio/gloadableicon.c:
4727 * gio/glocaldirectorymonitor.c:
4729 * gio/glocalfileinputstream.c:
4730 * gio/glocalfilemonitor.c:
4731 * gio/glocalfileoutputstream.c:
4733 * gio/gmemoryinputstream.c:
4734 * gio/gmemoryoutputstream.c:
4735 * gio/gmountoperation.c:
4736 * gio/goutputstream.c:
4737 * gio/gpollfilemonitor.c:
4739 * gio/gsimpleasyncresult.c:
4740 * gio/gsocketinputstream.c:
4741 * gio/gsocketoutputstream.c:
4742 * gio/gthemedicon.c:
4743 * gio/gunionvolumemonitor.c:
4745 * gio/gunixmounts.c:
4746 * gio/gunixvolume.c:
4747 * gio/gunixvolumemonitor.c:
4751 * gio/gvolumemonitor.c:
4752 * gio/gwin32appinfo.c:
4753 Add (mostly stub) doc strings to public functions.
4754 Patch from Andrew Walton (awalton@gmail.com)
4756 2007-11-06 Alexander Larsson <alexl@redhat.com>
4758 * gio/gappinfo.[ch]:
4759 Added GAppLaunchContext object and pass that to launch.
4760 This allows simple implementation of both
4761 launch-on-screen and startup notification via a gtk+
4762 subclass of GAppLaunchContext
4764 * gio/gdesktopappinfo.c:
4765 Implement GAppLaunchContext API
4767 * gio/gwin32appinfo.c:
4770 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4772 * gio/gmountoperation.c:
4773 Add some guards to GMountOperation's public functions.
4775 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4779 * gio/gcancellable.c:
4780 * gio/gdirectorymonitor.c:
4782 * gio/gfileenumerator.c:
4783 * gio/gfilemonitor.c:,
4784 * gio/gfilenamecompleter.c:
4787 * gio/gioscheduler.c:
4791 * gio/gvolumemonitor.c:
4792 Add even more guards to various public functions.
4794 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4797 Add guards to the public functions of GAppInfo.
4799 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4801 * gio/gcontenttype.c:
4802 Add some more guards for public functions.
4804 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4806 * gio/fam/fam-module.c:
4807 * gio/fam/gfamdirectorymonitor.c:
4808 * gio/fam/gfamdirectorymonitor.h:
4809 * gio/fam/gfamfilemonitor.c:
4810 * gio/fam/gfamfilemonitor.h:
4811 * gio/inotify/ginotifydirectorymonitor.c:
4812 * gio/inotify/ginotifydirectorymonitor.h:
4813 * gio/inotify/ginotifyfilemonitor.c:
4814 * gio/inotify/ginotifyfilemonitor.h:
4815 Add proper copyright information and remove an unused variable
4816 in the GInotifyFileMonitor constructor.
4818 * gio/gcancellable.c:
4819 Add a guard for a public function and an assertion to prevent
4820 an undefined program state.
4822 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4824 * gio/gfileattribute.c:
4825 Don't run into an assertion if the given attribute value is NULL
4826 in g_file_attribute_value_get_*() but instead return a fallback
4827 value that makes sense in most situations. Passing them a attribute
4828 value with the wrong type will still run into an assertion.
4830 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4832 * gio/gfileattribute.c:
4834 Add even more guards to the public functions. Also fix the refcounting
4835 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4836 let g_file_info_list_attributes() filter the attributes by namespace
4837 instead of simply ignoring the namespace parameter.
4839 2007-11-03 Sven Herzberg <sven@imendio.com>
4841 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4842 (This makes gio work on MacOS X again)
4844 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4847 Build the gio subdirectory before the docs. Otherwise the build will
4850 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4851 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4852 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4853 Add guards to the public functions.
4855 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4857 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4858 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4859 to prevent a compiler warning.
4861 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4862 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4863 return something in the non-void function find_topdir_for().
4865 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4872 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4874 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4875 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4876 * gwin32appinfo.c (g_win32_app_info_launch):
4877 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4878 envp_for_startup_id, g_desktop_app_info_launch,
4879 g_desktop_app_info_launch_uris):
4881 Give an opaque 'startup_id' string instead of 'envp'.
4882 Support empty file lists for launching new windows.
4883 Fix infinite recursion bug when launching URIs.
4885 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4888 Add guard to the new g_file_get_uri_scheme() function.
4890 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4893 Convert a g_return_val_if_fail() to setting the GError instead as
4894 otherwise applications have to verify the parameter before otherwise
4895 and the parameter might come directly from the user.
4897 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4899 * gio/inotify/ginotify*.[ch]:
4900 Add missing copyright information.
4902 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4905 Add guards in the beginning of public functions to check for valid
4906 parameters and fix a bug in copy_stream_with_progress() that could've
4907 caused writing less bytes than reading.
4908 * gio/glocalfileinfo.c:
4909 Check for a NULL parameter and set the GError accordingly then.
4910 * gio/goutputstream.c:
4911 Fix the same bug as in gfile.c that could've caused writing less bytes
4912 than reading in g_output_stream_real_splice().
4914 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4917 Use the correct gvolumeprivate.h naming
4919 2007-11-01 Christian Kellner <gicmo@gnome.org>
4922 Remove leftover "$(daemon_sources)" entry.
4924 2007-11-01 Christian Kellner <gicmo@gnome.org>
4929 Add copyright information to source files.
4931 2007-11-01 Alexander Larsson <alexl@redhat.com>
4935 Add g_file_get_uri_scheme
4937 2007-11-01 Alexander Larsson <alexl@redhat.com>
4940 * gio/gdesktopappinfo.c:
4941 * gio/gwin32appinfo.c:
4942 Add g_app_info_get_default_for_uri_scheme.
4944 2007-11-01 Alexander Larsson <alexl@redhat.com>
4947 Correct filename for gdriveprivate.h
4949 2007-10-31 Alexander Larsson <alexl@redhat.com>
4952 Rename id:value to id:file
4955 * gio/glocalfileinfo.c:
4958 2007-10-31 Alexander Larsson <alexl@redhat.com>
4960 * gio/gunixvolume.c:
4962 Remove g_volume_get_platform_id, as thats not
4963 needed with the simpler union volume monitor
4965 2007-10-31 Alexander Larsson <alexl@redhat.com>
4968 * gio/guniondrive.[ch]: Removed.
4969 * gio/gunionvolume.[ch]: Removed.
4970 Remove GUnionDrive/Volume
4972 * gio/gunionvolumemonitor.c:
4973 Simplify union volume monitor, now we
4974 only have one native volume monitor and
4975 we use the actual volumes/drives from the
4976 child monitors instead of wrapping them
4978 * gio/gnativevolumemonitor.[ch]:
4979 Base class for native volume monitors.
4980 Includes priority and get_volume_for_mountpoint
4983 Add g_file_find_enclosing_volume
4986 Remove volume name fs attribute
4987 Add readonly fs attribute
4990 Implement readonly attribute
4991 remove volume name attribute
4992 Implement find_enclosing volume
4994 * gio/gunixmounts.c:
4995 Add a volume for "/".
4997 * gio/gunixvolume.[ch]:
4998 Set better name for /
5000 * gio/gunixvolumemonitor.[ch]:
5001 Derive from GNativeVolumeMonitor
5002 Implement get_volume_for_mountpoint
5005 GVolume typedef moved to gfile.h
5007 * gio/gvolumeprivate.h:
5008 Add g_volume_get_for_mount_path
5010 2007-10-31 Alexander Larsson <alexl@redhat.com>
5012 * gio/gunixmounts.[ch]:
5013 Add cache info to unix mount listers
5014 Make getmntent use threadsafe
5015 Add is_system_internal attribute for GUnixMount
5017 * gio/gunixvolume.c:
5018 (g_unix_volume_new):
5019 Use is_system_internal instead of own code
5021 * gio/glocaldirectorymonitor.c:
5022 * gio/gunixvolumemonitor.c:
5023 Update to new gunixmounts API
5028 2007-10-30 Alexander Larsson <alexl@redhat.com>
5031 Add volume name fsinfo attribute
5034 Read volume name info
5036 * gio/gunionvolumemonitor.c:
5037 Fix infinite loops when finalizing a union volume monitor
5039 2007-10-30 Alexander Larsson <alexl@redhat.com>
5041 * gio/goutputstream.[ch]:
5042 Add splice() with default implementation
5044 * gio/gsocketoutputstream.c:
5045 (g_socket_output_stream_write):
5046 Return error on cancellation correctly.
5048 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5050 * gio/glocalfile.c (g_local_file_trash):
5051 Do not leak a string.
5053 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5055 * gio/gfile.c (g_file_load_contents):
5056 Unref the stream after closing it.
5058 2007-10-25 Alexander Larsson <alexl@redhat.com>
5060 * gio/gioscheduler.h:
5063 2007-10-25 Alexander Larsson <alexl@redhat.com>
5067 Add g_file_has_uri_scheme and implement for local files
5069 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5071 * gio/gdesktopappinfo.c: do not leak a string.
5073 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5075 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5076 (g_local_directory_monitor_new):
5077 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5078 (g_local_file_monitor_new):
5079 Only look for the monitor type that should be used the first time
5080 and use g_qsort_with_data() instead of our own bubble sort
5083 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5086 * gio/fam/Makefile.am:
5087 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5088 * gio/fam/fam-helper.h:
5089 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5090 * gio/fam/gfamdirectorymonitor.c:
5091 * gio/fam/gfamdirectorymonitor.h:
5092 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5093 * gio/fam/gfamfilemonitor.h:
5094 * gio/glocaldirectorymonitor.c:
5095 * gio/glocaldirectorymonitor.h:
5096 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5097 * gio/glocalfilemonitor.h:
5098 * gio/inotify/Makefile.am:
5099 * gio/inotify/ginotifydirectorymonitor.c:
5100 * gio/inotify/ginotifydirectorymonitor.h:
5101 * gio/inotify/ginotifyfilemonitor.c:
5102 * gio/inotify/ginotifyfilemonitor.h:
5103 Implement the FAM and Inotify monitors as
5104 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5105 their own GIO module. GLocal(Directory|File)Monitor will use the
5106 monitor with the highest rank that is supported on that machine.
5108 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5111 Change GIO module dir to $(libdir)/gio/modules and change
5112 the log domain from GVFS to GIO. Also only export symbols starting
5113 with g_ in the resulting library.
5114 * gio/test-streams.c: (main):
5115 Set log handler for the GIO log domain.
5117 2007-10-22 Alexander Larsson <alexl@redhat.com>
5119 * gio/gfilenamecompleter.[ch]:
5120 Add g_filename_completer_set_dirs_only
5122 2007-10-22 Alexander Larsson <alexl@redhat.com>
5125 * gio/gurifuncs.[ch]:
5126 Add some simple URI helpers
5128 * gio/gfilenamecompleter.[ch]:
5129 Added object for filename (parse name actually) completion
5132 Handle ~ in parse names
5134 2007-10-17 Alexander Larsson <alexl@redhat.com>
5137 * gio/glocalfileinfo.c:
5138 Add and implement id:value attribute
5140 2007-10-17 Alexander Larsson <alexl@redhat.com>
5143 * gio/guniondrive.c:
5145 Add and implement g_drive_has_volumes
5147 2007-10-17 Alexander Larsson <alexl@redhat.com>
5150 * gio/glocalfileinfo.[ch]:
5151 Add unix:is_mountpoint and implement for local files
5153 2007-10-16 Alexander Larsson <alexl@redhat.com>
5155 * gio/gunionvolumemonitor.c:
5156 (g_union_volume_monitor_init):
5157 Fix up the unix type getting so that it works with gcc
5159 2007-10-12 Alexander Larsson <alexl@redhat.com>
5162 * gio/glocalfileinfo.c:
5163 Add thumbnail:failed to file info
5165 2007-10-12 Richard Hult <richard@imendio.com>
5167 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5168 optimizing away the get_type call (happens with some gcc versions,
5169 like the one shipped with OS X 10.4).
5171 2007-10-12 Alexander Larsson <alexl@redhat.com>
5173 * gio/glocalfileinfo.c:
5174 (_g_local_file_info_set_attribute):
5175 Fix build if not HAVE_XATTR
5176 Patch from Milosz Derezynski <internalerror@gmail.com>
5178 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5180 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5181 around for review, otherwise I would have asked you before
5184 2007-10-11 Alexander Larsson <alexl@redhat.com>
5187 Add thumbnail:path attribute
5189 * gio/glocalfileinfo.c:
5190 Implement thumbnail:path for local files
5192 2007-10-11 Alexander Larsson <alexl@redhat.com>
5194 * gio/glocalfileinfo.c:
5195 (_g_local_file_info_get):
5196 Avoid duplicate icon names
5198 2007-10-11 Alexander Larsson <alexl@redhat.com>
5200 * gio/gthemedicon.[ch]:
5201 Change g_themed_icon_get_names return type to const
5203 2007-10-10 Alexander Larsson <alexl@redhat.com>
5205 * gio/glocalfileinfo.c:
5206 Don't reference freed memory
5208 2007-10-10 Alexander Larsson <alexl@redhat.com>
5210 * gio/gfileattribute.c:
5213 * gio/glocalfileinfo.c:
5216 2007-10-10 Alexander Larsson <alexl@redhat.com>
5219 Check for NULL icons
5221 * gio/gfileattribute.c:
5222 Don't dup when getting objects (same as for string attributes)
5224 * gio/gicon.c (g_icon_equal):
5225 Safely handle NULLs in equal
5227 2007-10-10 Alexander Larsson <alexl@redhat.com>
5230 Fix c++ compilation issues
5231 Patch from Milosz Derezynski <internalerror@gmail.com>
5233 2007-10-10 Alexander Larsson <alexl@redhat.com>
5235 * programs/gio-monitor-dir.c:
5236 Don't crash if dir monitor not supported.
5238 2007-10-09 Alexander Larsson <alexl@redhat.com>
5241 Add missing G_END_DECLS
5243 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5245 * gio/gfile.c: (g_file_set_display_name),
5246 (g_file_query_settable_attributes),
5247 (g_file_query_writable_namespaces):
5248 Return NULL not FALSE on errors as the return type is a pointer.
5250 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5252 * gio/glocalfile.c: (g_local_file_monitor_file):
5253 Don't call monitor_file on the default interface vtable (which
5254 is NULL) but simply return NULL. The caller, GFile, will create a
5255 polling monitor if NULL is returned.
5257 2007-10-09 Alexander Larsson <alexl@redhat.com>
5261 * gio-unix-2.0.pc.in:
5262 Add gio-unix-2.0.pc if OS_UNIX
5265 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5267 2007-10-09 Alexander Larsson <alexl@redhat.com>
5269 * gio/gunixmounts.[ch]:
5270 Make unix mount monitoring API sane.
5271 Now its just a object with mounts_changed
5272 and mountpoints_changed signals.
5274 * gio/glocaldirectorymonitor.c:
5275 * gio/gunixvolumemonitor.c:
5276 Use new mount monitor api
5278 2007-10-09 Alexander Larsson <alexl@redhat.com>
5280 * gio/gunixmounts.[ch]:
5281 Move guess type into one call for mounts and one for mountpoints
5284 * gio/gunixvolume.c:
5287 2007-10-09 Alexander Larsson <alexl@redhat.com>
5289 * gio/gunixmounts.[ch]:
5290 Remove _ prefix in preparation to make this semi-public
5291 Hide implementation of structs
5293 * gio/glocaldirectorymonitor.c:
5295 * gio/gunixvolume.c:
5296 * gio/gunixvolumemonitor.c:
5297 Update for above API changes
5299 2007-10-08 Alexander Larsson <alexl@redhat.com>
5302 Better polling fallback. This also handles the case where we have
5303 a monitor_file implementation, but it fails.
5305 2007-10-08 Alexander Larsson <alexl@redhat.com>
5309 * gio/gunixmounts.c:
5310 * programs/gio-monitor-dir.c:
5311 * programs/gio-monitor-file.c:
5312 Added cancellable to file monitoring calls.
5313 These are really sync calls and need this.
5315 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5317 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5318 (g_local_vfs_class_init):
5319 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5320 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5322 2007-10-05 Alexander Larsson <alexl@redhat.com>
5324 * gio/gdirectorymonitorprivate.h:
5325 * gio/gfilemonitorprivate.h:
5326 * gio/gdirectorymonitor.h:
5327 * gio/gfilemonitor.h:
5328 Remove *private.h and move to the public API, so that
5329 we can do implementations outside gio (such as in gvfs)
5331 * gio/gdirectorymonitor.c:
5332 * gio/gfilemonitor.c:
5333 * gio/glocaldirectorymonitor.c:
5334 * gio/gpollfilemonitor.c:
5335 * gio/inotify/inotify-helper.c:
5336 * gio/fam/fam-helper.c:
5337 Update to the new header names
5339 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5341 * gio/gdirectorymonitor.c:
5342 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5345 2007-10-04 Alexander Larsson <alexl@redhat.com>
5347 * gio/glocalfileinfo.c (get_access_rights):
5348 Set CAN_TRASH when we can move the file.
5349 We should really also check for a parent trash dir.
5351 2007-10-04 Alexander Larsson <alexl@redhat.com>
5353 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5354 Add can_trash access attribute
5356 2007-10-04 Alexander Larsson <alexl@redhat.com>
5359 (g_local_file_trash):
5360 Create info file first. This is per-spec and allows
5361 us to actually trash directories.
5363 2007-10-02 Alexander Larsson <alexl@redhat.com>
5365 * gio/gdesktopappinfo.c:
5366 Implement the new mime support code.
5367 Always set app as handling mimetype when being set as default for it
5369 2007-10-01 Alexander Larsson <alexl@redhat.com>
5371 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5372 Fix up check for xattrs:
5374 2007-10-01 Alexander Larsson <alexl@redhat.com>
5377 (g_app_info_set_as_default_for_extension):
5378 (g_app_info_add_supports_type):
5379 (g_app_info_can_remove_supports_type):
5380 (g_app_info_remove_supports_type):
5381 Make these fail nicely if not implemented
5383 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5385 * gio/glocalfileoutputstream.c:
5386 * gio/glocalfileoutputstream.h:
5391 * programs/gio-save.c:
5392 Add a GFileCreateFlags argument to operations that can create
5395 2007-10-01 Alexander Larsson <alexl@redhat.com>
5397 * gio/gappinfo.[ch]:
5398 * gio/gdesktopappinfo.c:
5399 Add more (stubbed out) mime API needed for nautilus
5401 2007-10-01 Alexander Larsson <alexl@redhat.com>
5404 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5405 Add g_app_info_set_as_default_for_extension.
5407 * gio/gdesktopappinfo.c:
5408 Dummy for g_app_info_set_as_default_for_extension
5409 Support flags in g_app_info_create_from_commandline
5411 * gio/gwin32appinfo.c:
5413 Update for API changes
5415 * gio/gthemedicon.c:
5416 Properly NULL-terminate list of icon names
5418 2007-09-28 Alexander Larsson <alexl@redhat.com>
5420 * gio/gloadableicon.h:
5421 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5423 2007-09-28 Alexander Larsson <alexl@redhat.com>
5426 Install headers in $includedir/gio-standalone/
5428 * gio-2.0.pc.in: Added.
5429 * gio-standalone.pc.in: Removed.
5432 Renamed pkg-config file to match glib (for future move)
5433 Update to the new include dir
5436 Add more TODO comments
5438 2007-09-28 Alexander Larsson <alexl@redhat.com>
5440 * gio/gdesktopappinfo.[ch]:
5441 Expose new_from_filename
5442 Add getter for is_hidden and handle it better
5444 2007-09-28 Alexander Larsson <alexl@redhat.com>
5446 * gio/gfileinfo.[ch]:
5447 Rename g_file_size_format_for_display to
5448 g_format_file_size_for_display.
5449 Now it doesn't have the g_file prefix, so we
5450 can later move it to glib.
5452 2007-09-28 Alexander Larsson <alexl@redhat.com>
5454 * gio/gappinfo.[ch]:
5455 Add g_app_info_get_id and g_app_info_get_executable.
5456 Make all getters non-reffing
5457 Make g_app_info_launch take GFile arguments.
5458 Add must_support_uris argument to g_app_info_get_default_for_type.
5460 * gio/gwin32appinfo.c:
5461 Update to GAppInfo api changes
5463 * gio/gdesktopappinfo.c:
5464 Update to GAppInfo api changes
5465 Implement supports_xdg_startup_notify
5467 * gio/gfileicon.c (g_file_icon_get_file):
5468 Make getter non-reffing.
5473 2007-09-27 Alexander Larsson <alexl@redhat.com>
5475 * gio/gfileinfo.[ch]:
5476 Add g_file_size_format_for_display helper
5478 2007-09-27 Alexander Larsson <alexl@redhat.com>
5480 * gio/glocalfileinfo.c:
5481 Set UNIX_GID from gid, not from uid
5483 2007-09-27 Alexander Larsson <alexl@redhat.com>
5486 Add g_file_set_attributes_async
5488 2007-09-27 Alexander Larsson <alexl@redhat.com>
5490 * gio/glocalfile.c (g_local_file_set_display_name):
5491 Fix set_display_name to actually rename to the right place.
5492 Use lstat to look for existing files so we don't overwrite
5495 2007-09-26 Alexander Larsson <alexl@redhat.com>
5498 Add g_file_set_display_name_async()
5500 2007-09-26 Alexander Larsson <alexl@redhat.com>
5503 Add load_partial_contents async calls
5506 Make internal function static
5508 2007-09-26 Alexander Larsson <alexl@redhat.com>
5510 * gio/glocalfileinfo.c:
5511 Correctly detect broken symlinks
5513 2007-09-26 Alexander Larsson <alexl@redhat.com>
5515 * gio/gcancellable.c (g_cancellable_cancel):
5516 Allow cancel on NULL cancellable
5518 2007-09-25 Alexander Larsson <alexl@redhat.com>
5520 * gio/gsimpleasyncresult.c:
5521 Don't allocate g_error manually.
5522 Fixes g_slice/g_new mixup crash
5524 2007-09-25 Alexander Larsson <alexl@redhat.com>
5526 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5527 Actually set active_backend.
5528 This means the monitor will be cancelled correctly.
5530 2007-09-25 Alexander Larsson <alexl@redhat.com>
5532 * gio/gdirectorymonitor.c:
5533 Set timeout to NULL when destroying
5535 2007-09-25 Alexander Larsson <alexl@redhat.com>
5538 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5539 that is a better description of the error.
5541 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5543 * gio/gvfs.c: (g_vfs_get_local):
5544 Make the local vfs variable static. The same instance should
5547 2007-09-24 Alexander Larsson <alexl@redhat.com>
5549 * gio/glocalfileinfo.c:
5550 Pass in actual length read into sniffer, not the length
5553 2007-09-21 Alexander Larsson <alexl@redhat.com>
5555 * gio/gfileenumerator.c:
5558 * gio/gfileinputstream.c:
5559 * gio/gfileoutputstream.c:
5560 * gio/ginputstream.c:
5561 * gio/goutputstream.c:
5562 Don't crash if async callbacks are NULL
5564 2007-09-20 Alexander Larsson <alexl@redhat.com>
5567 Add async enumerate_children method and default
5570 2007-09-20 Alexander Larsson <alexl@redhat.com>
5573 Add g_file_contains_file & g_file_get_relative_path, since they
5574 were needed for nautilus.
5575 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5580 Implement new methods
5582 2007-09-17 Alexander Larsson <alexl@redhat.com>
5585 * gio/gfileinputstream.[ch]:
5586 * gio/gfileoutputstream.[ch]:
5588 * gio/glocalfileenumerator.[ch]:
5589 * gio/glocalfileinfo.[ch]:
5590 * gio/glocalfileinputstream.c:
5591 * gio/glocalfileoutputstream.c:
5592 * gio/gpollfilemonitor.c:
5593 * programs/gio-copy.c:
5594 * programs/gio-info.c:
5595 * programs/gio-move.c:
5596 Rename get_file_info to query_info() to make it clearer
5597 that these are not simple getters, but do i/o.
5599 2007-09-17 Alexander Larsson <alexl@redhat.com>
5601 * gio/gdatainputstream.[ch]:
5602 * gio/test-streams.c:
5603 Use _read_XXX instead of _get_XXX for the i/o calls
5606 2007-09-17 Alexander Larsson <alexl@redhat.com>
5609 Added needed stuff to TODO comment
5611 2007-09-17 Alexander Larsson <alexl@redhat.com>
5613 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5614 Don't error out removing the backup copy if it doesn't
5617 2007-09-14 Alexander Larsson <alexl@redhat.com>
5619 * programs/Makefile.am:
5620 * programs/gvfs-*.c:
5622 Renamed apps from gvfs-xxx to gio-xxx.
5624 2007-09-14 Alexander Larsson <alexl@redhat.com>
5627 * gio/gfileoutputstream.[ch]:
5628 * gio/glocalfileoutputstream.c:
5629 * programs/gvfs-save.c:
5630 g_file_output_stream_get_etag doesn't do i/o, so remove
5631 cancellation and error.
5633 2007-09-14 Alexander Larsson <alexl@redhat.com>
5636 Add new_etag output to replace_contents functions
5638 2007-09-14 Alexander Larsson <alexl@redhat.com>
5640 * gio/gfileoutputstream.[ch]:
5641 Add async get_file_info and default implementation
5643 2007-09-14 Alexander Larsson <alexl@redhat.com>
5645 * gio/gfileinputstream.c:
5646 Implement fallback wrapper for async get_file_info
5648 2007-09-14 Alexander Larsson <alexl@redhat.com>
5651 Add etag out argument to load_contents
5656 2007-09-14 Alexander Larsson <alexl@redhat.com>
5658 * gio/gcontenttype.c (looks_like_text):
5659 Whitespace like tab, cr and lf do not make the
5662 2007-09-14 Alexander Larsson <alexl@redhat.com>
5664 * gio/gfileinputstream.[ch]:
5665 Add async get_file_info.
5667 2007-09-13 Alexander Larsson <alexl@redhat.com>
5669 * gio/goutputstream.c (g_output_stream_write_all):
5670 Allow NULL for bytes_written
5672 2007-09-13 Alexander Larsson <alexl@redhat.com>
5674 * gio/gmemoryinputstream.[ch]:
5675 Add accessors for data
5677 2007-09-13 Alexander Larsson <alexl@redhat.com>
5679 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5680 Don't crash if length is NULL