1 2009-01-29 Ryan Lortie <desrt@desrt.ca>
3 * gioerror.c (g_io_error_from_errno): handle all possible cases of
4 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
6 2009-01-28 Ryan Lortie <desrt@desrt.ca>
8 Bug 568575 – _async functions for GDataInputStream
11 * gdatainputstream.c: add _async versions of read_line and read_until.
13 * ../docs/reference/gio/gio-sections.txt: add new functions
14 * tests/sleepy-stream.c: new test case for async read line
15 * tests/Makefile.am: add new test
17 2009-01-22 Ryan Lortie <desrt@desrt.ca>
19 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
21 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
22 g_buffered_input_stream_fill): check for count < -1 instead of count <
23 0 and copy modified check to non-async version for consistency.
24 document the "count = -1" API.
26 2009-01-22 Ryan Lortie <desrt@desrt.ca>
28 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
30 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
31 after we have successfully read data from the base stream
33 2009-01-20 Ryan Lortie <desrt@desrt.ca>
35 Bug 568394 – dropping the last reference to a stream filter closes the
38 * gfilterinputstream.h:
39 * gfilterinputstream.c: add "close-base-stream" property and only
40 close the base stream if it is true. issue async close callbacks from
41 correct source object.
42 * gfilteroutputstream.h:
43 * gfilteroutputstream.c: add a "close-base-stream" property and only
44 close the base stream if it is true. issue async close callbacks from
45 correct source object.
46 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
47 before closing the base stream. fix invalid source tag comparison in
48 close_async (was comparing to flush_async).
49 * ../docs/reference/gio/gio-sections.txt:
51 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
52 * tests/filter-streams.c: new test cases
53 * tests/Makefile.am: add new test
54 * tests/.gitignore: add new test
56 2009-01-19 Matthias Clasen <mclasen@redhat.com>
58 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
60 2009-01-19 Matthias Clasen <mclasen@redhat.com>
62 * === Released 2.19.5 ===
64 2009-01-19 Matthias Clasen <mclasen@redhat.com>
66 * gappinfo.h: Document get_commandline vfunc
68 2009-01-19 Matthias Clasen <mclasen@redhat.com>
70 * gunixmounts.c: Some stylistic fixes.
72 2009-01-08 Matthias Clasen <mclasen@redhat.com>
74 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
75 functions in non-UTF8 locale
77 * xdgmime/xdgmimecache.c:
78 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
80 2009-01-08 Matthias Clasen <mclasen@redhat.com>
82 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
84 2009-01-07 Matthias Clasen <mclasen@redhat.com>
86 Bug 566770 – error code 0 for Too many open files is useless
88 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
89 Requested by Olivier Sessink.
91 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
93 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
94 G_IO_ERROR_TOO_MANY_OPEN_FILES.
96 2009-01-05 Matthias Clasen <mclasen@redhat.com>
98 * === Released 2.19.4 ===
100 2009-01-05 Dan Winship <danw@gnome.org>
102 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
103 "const char **" to avoid a warning.
105 * gemblem.c (g_emblem_from_tokens):
106 * gemblemedicon.c (g_emblemed_icon_from_tokens):
107 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
110 2009-01-05 Matthias Clasen <mclasen@redhat.com>
112 Bug 566064 – Add NOATIME flag to query_info_flags
114 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
115 sniffing for mime types. Based on a patch by A. Walton
117 2009-01-05 Ryan Lortie <desrt@desrt.ca>
119 * tests/.gitignore: improve
120 * tests/Makefile.am: add new simple-async-result test
121 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
123 2009-01-05 Ryan Lortie <desrt@desrt.ca>
126 * ../docs/reference/gio/gio-sections.txt:
127 * gsimpleasyncresult.h:
128 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
129 Implementation by Dan Winship. Closes #566170.
131 2008-12-31 Matthias Clasen <mclasen@redhat.com>
135 * gunixinputstream.c:
136 * gunixoutputstream.c: Add a note about being UNIX-specific.
138 2008-12-15 Matthias Clasen <mclasen@redhat.com>
140 * === Released 2.19.3 ===
142 2008-12-12 Dan Winship <danw@gnome.org>
144 * pltcheck.sh: make this work on x86_64
146 2008-12-12 Ryan Lortie <desrt@desrt.ca>
148 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
151 2008-12-12 Ryan Lortie <desrt@desrt.ca>
153 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
154 multiple mount entries match the requested path
156 2008-12-10 Alexander Larsson <alexl@redhat.com>
158 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
159 g_simple_async_result_run_in_thread
161 * gsimpleasyncresult.c:
162 Make g_simple_async_result_run_in_thread check cancellation before
163 calling out to the user in the callback. This means we guarantee
164 reporting cancels of async operations from the main threads, which
165 is probably more in line with what users expect.
167 Note that there are still no such guarantees for cancelling sync
168 operations or cancelling async operation from outside the main
169 thread. Furthermore, the exact behaviour of async implementations
170 not using run_in_thread may differ.
172 2008-12-09 Alexander Larsson <alexl@redhat.com>
174 Bug 515777 - incorrect date&time on copy
177 (g_local_file_class_init):
178 Copy mtime by default
181 Change docs about G_FILE_COPY_ALL_METADATA to not mention
184 2008-12-08 Matthias Clasen <mclasen@redhat.com>
186 Bug 558298 – Hide ecryptfs mounts
188 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
189 so that the desktop does not show both the mount and the target
190 directory. Patch by Martin Pitt
192 2008-12-08 Matthias Clasen <mclasen@redhat.com>
194 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
198 * gunixinputstream.[hc]:
199 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
200 including getters and setters. Patch by Maciej Piechotka
202 2008-12-07 Matthias Clasen <mclasen@redhat.com>
204 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
206 * tests/live-g-file.c: Support compilers that don't understand
207 ISO C varargs macros. Patch by Eric Lamarque
209 2008-12-07 Matthias Clasen <mclasen@redhat.com>
211 Bug 526320 – should not list mounts that the user doesn't have
214 gunixmounts.c: Use g_access() to check accessibility of local devices.
217 2008-12-01 Matthias Clasen <mclasen@redhat.com>
219 * === Released 2.19.2 ===
221 2008-12-01 Matthias Clasen <mclasen@redhat.com>
223 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
224 behaviour change, and update the docs instead, to avoid breaking
227 2008-12-01 Matthias Clasen <mclasen@redhat.com>
229 * === Released 2.19.1 ===
231 2008-12-01 Alexander Larsson <alexl@redhat.com>
235 * gunionvolumemonitor.c:
237 Add and document g_mount_is_shadowed plus calls
238 to set/unset a mount as shadowed
240 2008-11-28 Matthias Clasen <mclasen@redhat.com>
242 * gio/tests/g-icon.c: Comment out two failing tests
244 2008-11-28 Matthias Clasen <mclasen@redhat.com>
246 Bug 555486 – No way to recover command line from GAppInfo
249 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
250 by Hans Petter Jansson.
252 * gdesktopappinfo.c: And implement it here.
254 2008-11-28 Christian Dywan <christian@imendio.com>
256 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
258 2008-11-28 Matthias Clasen <mclasen@redhat.com>
260 Bug 559633 – gtk_image_new_from_gicon does not always work for
263 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
264 extensions on icon names. Proposed by Axel von Bertoldi.
266 2008-11-28 Matthias Clasen <mclasen@redhat.com>
268 Bug 548163 – Nautilus displays wrong error message for too long file
271 * glocalfile.c (g_local_file_set_display_name): Correctly set
272 error conditions if the new name is e.g. too long. Reported
273 by Leonardo Ferreira Fontenelle.
275 2008-11-28 Matthias Clasen <mclasen@redhat.com>
277 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
280 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
281 documented and include the line end in the returned string.
282 Pointed out by Paul Pogonyshev.
284 * tests/data-input-stream.c: Fix the read_line test to test the
285 documented behaviour.
287 2008-11-28 Matthias Clasen <mclasen@redhat.com>
289 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
290 files that have been created by g_app_info_create_from_commandline.
292 2008-11-28 Matthias Clasen <mclasen@redhat.com>
294 Bug 541715 – win32 : patch for warnings and signature problems in
297 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
300 2008-11-28 Matthias Clasen <mclasen@redhat.com>
302 Bug 562393 – g_buffered_input_stream_read_byte broken if data
305 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
306 handling of buffered content. Patch by Philip Withnall
308 * tests/buffered-input-stream.c: Add a testcase for this bug.
309 * tests/Makefile.am: And build it
311 2008-11-28 Matthias Clasen <mclasen@redhat.com>
313 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
316 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
317 '/' away. Spotted by Dan Williams.
319 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
321 Bug 561375 – Leaks mountpoint description
323 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
326 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
328 Bug 561352 – Leak of icon description
330 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
333 2008-11-14 Matthias Clasen <mclasen@redhat.com>
335 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
337 2008-11-12 Tor Lillqvist <tml@novell.com>
339 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
341 * win32/gwinhttpvfs.h: Move the set of function pointers to
342 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
343 pointer to that in the GWinHttpVfsClass.
345 * win32/gwinhttpvfs.c: Move the lookup of functions from
346 winhttp.dll into a function of its own, that stores the pointers
347 in a separate GWinHttpDllFuncs variable. Add two bookeeping
348 booleans lookup_done and funcs_found.
350 Don't call g_io_extension_point_implement() to register the
351 winhttp extension unless winhttp.dll has been successfully loaded
352 and the required functions found in it.
354 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
355 winhttp.dll correspondingly.
357 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
359 reviewed by: Alexander Larsson <alexl@redhat.com>
361 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
362 clearer about the behavior when there's no more content to read.
364 2008-10-27 Federico Mena Quintero <federico@novell.com>
366 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
368 2008-10-27 Tor Lillqvist <tml@novell.com>
370 Bug 557592 - Missing include in gwinhttpfile.c
372 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
375 2008-10-24 Matthias Clasen <mclasen@redhat.com>
377 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
379 * fam/fam-helper.c: Fix a memory leak and formatting issues.
380 Reported by Daniel Marjamäki
382 2008-10-23 Matthias Clasen <mclasen@redhat.com>
384 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
386 2008-10-23 Alexander Larsson <alexl@redhat.com>
388 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
391 (_g_local_file_info_get):
392 Don't return the fallback icon (text-x-generic) for all files.
393 This is causing problems with theme icon lookup and custom mime
394 icons, as the generic fallback overrides custom mime icons in
397 This is a slight change as applications might not get an icon wher
398 they previously did. But there is no guarantee to get on neither before
399 or after this change, so it should not break applications. Changes
400 to nautilus and gtk+ will be done to manually use the generic fallback
401 icon if no icon is found, but this is only required for rare cases.
403 2008-10-21 Alexander Larsson <alexl@redhat.com>
406 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
408 2008-10-21 Alexander Larsson <alexl@redhat.com>
410 Bug 555740 - gicon serialization
411 Based on patch from David Zeuthen
415 Add g_icon_to_string() and g_icon_new_for_string().
421 Implement icon serialization for built-in icon types
425 Added GIcon serialization test
427 2008-10-16 Matthias Clasen <mclasen@redhat.com>
429 * === Released 2.19.0 ===
431 2008-10-16 Matthias Clasen <mclasen@redhat.com>
433 Bug 556422 – g_file_enumerator_next_file: unclear whether return
434 value needs to be freed
436 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
437 the return value docs. Pointed out by Armin Burgmeier
439 2008-10-14 Matthias Clasen <mclasen@redhat.com>
441 Bug 556334 – Warning when building without selinux support
443 * glocalfileinfo.c: Avoid compiler warnings when selinux is
444 disabled. Patch by Pascal Terjan
446 2008-10-14 Matthias Clasen <mclasen@redhat.com>
448 Bug 556335 – make check fails in abicheck.sh
450 * gio.symbols: Add g_file_attribute_info_list_get_type.
451 Pointed out by Pascal Terjan.
453 2008-10-13 Alexander Larsson <alexl@redhat.com>
456 When adding an application as handling a mime type (but
457 not as the default), copy the full list of desktop ids handling
458 that type in before adding the new one on the end of the list.
459 This means we're not accidentally changing the default by overriding
460 the info from the later directories in the search path.
462 Also, fixes small leak of removed_entries.
464 2008-10-12 David Zeuthen <davidz@redhat.com>
467 * gunionvolumemonitor.c:
469 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
471 2008-10-10 Alexander Larsson <alexl@redhat.com>
473 * gfileattribute.c (escape_byte_string):
474 Upper half of byte is >> 4, not >> 8.
475 Found by Kjartan Maraas via sparse
477 2008-10-10 Matthias Clasen <mclasen@redhat.com>
479 Bug 555711 – Wrong fallback order of mimetype icons
481 * gcontenttype.c: Don't prefer generic icons over
482 default mimetype icons.
484 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
485 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
487 Patch by Krysztof Kosiński
489 2008-10-10 Matthias Clasen <mclasen@redhat.com>
491 Bug 555121 – Improved build-time handling of gio module-dir
493 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
494 * Makefile.am: Create the module dir.
496 2008-10-10 Matthias Clasen <mclasen@redhat.com>
498 * gio/glocalfileinfo.c:
499 * gio/tests/live-g-file.c:
500 * gio/gsimpleasyncresult.c: Fix gcc warnings.
502 2008-10-09 Alexander Larsson <alexl@redhat.com>
504 * gunixinputstream.c (g_unix_input_stream_read):
505 Actually return -1 in case of cancelled, not old res value.
507 2008-10-06 Colin Walters <walters@verbum.org>
509 Bug 554745 - GFileAttributeInfoList should be boxed
511 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
512 for convenience of bindings.
513 * gio/gfileattribute.h: Prototype it.
515 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
517 Bug 554970 – segfault when update-desktop-database is not available
520 * gdesktopappinfo.c (run_update_command): Have the error set before
523 2008-10-01 David Zeuthen <davidz@redhat.com>
525 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
526 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
527 instead of the gio URI (such as sftp://foo/file.avi) when using
528 g_app_info_launch() and friends. With a sufficiently recent gvfs,
529 apps using gio+gvfs will map the FUSE file:// URI back to the gio
530 URI (and thus bypass the fuse daemon) thanks the patch from bug
531 #530654. Since Nautilus is an user of g_app_info_launch() it
532 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
533 when launced via the file manager. Win. Fixes bug #528670.
535 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
536 mapping to the description of GAppInfo.
538 2008-09-30 Tor Lillqvist <tml@novell.com>
540 * tests/Makefile.am: Build desktop-app-info only on Unix.
542 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
543 g_critical(). Pass a large enough result buffer to
544 GetVolumePathNameW(). Just use MAX_PATH.
546 2008-09-29 David Zeuthen <davidz@redhat.com>
548 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
550 2008-09-26 Dan Winship <danw@gnome.org>
552 * tests/data-input-stream.c:
553 * tests/data-output-stream.c:
554 * tests/live-g-file.c:
555 * tests/memory-input-stream.c:
556 * tests/memory-output-stream.c: Use g_assert_error() and
559 2008-09-26 Matthias Clasen <mclasen@redhat.com>
561 Bug 545350 – GAppInfo deletion
562 Bug 545351 – Reset associations for content type
565 * gappinfo.[hc]: New functions g_app_info_can_delete,
566 g_app_info_delete and g_app_info_reset_type_associations.
569 * gwin32appinfo.c: Implementations of these.
572 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
574 2008-09-26 Dan Winship <danw@gnome.org>
576 Bug 505361 – gunixinputstream.c assumes poll() available
577 Bug 509446 – portable blocking gio cancellation
579 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
580 GPollFD for a cancellable (which is slightly more complicated on
583 * gunixinputstream.c (g_unix_input_stream_read):
584 * gunixoutputstream.c (g_unix_output_stream_write): Use
585 g_cancellable_make_pollfd() and g_poll() rather than using poll()
588 * tests/unix-streams.c: test of GUnixInputStream,
589 GUnixOutputStream, and GCancellable.
591 2008-09-26 Dan Winship <danw@gnome.org>
593 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
594 cast to stop a gcc warning
596 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
599 2008-09-25 Dan Winship <danw@gnome.org>
601 Bug 553426 - cancellable clarifications
603 * gcancellable.c (g_cancellable_class_init): Add a note to the
604 "cancelled" signal docs warning about thread-safety issues
605 (g_cancellable_cancel): Note that cancelling an asynchronous
606 operation takes effect asynchronously, not immediately.
608 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
610 * gioenums.h: Add new GFileCopyFlag, to leave target file with
611 default perms, instead of setting the source file perms, in a copy
614 * gfile.c (g_file_copy_attributes)
615 (build_attribute_list_for_copy)
616 (should_copy): Not copy "unix::mode" attribute if we have received
617 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
619 2008-09-20 Matthias Clasen <mclasen@redhat.com>
621 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
623 2008-09-17 Matthias Clasen <mclasen@redhat.com>
625 * === Released 2.18.1 ===
627 2008-09-16 Michael Natterer <mitch@imendio.com>
629 * gcontenttype.c (g_content_type_guess): can't assign the return
630 value of g_strdupv() to an array. Fill the array manually with
631 const strings instead (it is never freed anyway). Fixes the
632 build. Also fixed indentation.
634 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
636 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
637 Fix trivial typo to unbreak the build (there was a colon
638 instead of a semicolon at the end of a statement).
640 2008-09-15 Matthias Clasen <mclasen@redhat.com>
642 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
645 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
648 2008-09-15 Matthias Clasen <mclasen@redhat.com>
650 Bug 551681 – g_content_type_guess() too naive with filenames
652 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
653 at the end of the filename, and declare it a directory.
654 Patch by Bastien Nocera
656 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
658 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
661 * gdesktopappinfo.c: add a note in the docs clarifying what the
662 "filename" parameter really is.
664 2008-09-12 Tor Lillqvist <tml@novell.com>
666 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
667 FormatMessage() etc here. Call g_win32_error_message() instead
668 which already does all that. Besides, the code was broken as it
669 called the default "A" version of FormatMessage() but still
670 thought it produced a wide string.
672 2008-09-12 Michael Natterer <mitch@imendio.com>
674 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
675 in the documentation.
677 2008-09-08 Christian Neumair <cneumair@gnome.org>
679 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
680 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
681 Use non-blocking pipe for mount helper I/O. Fixes #550647.
683 2008-09-06 Matthias Clasen <mclasen@redhat.com>
685 Bug 551149 – xdgmime mem leak
687 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
688 a memory leak. Patch by Christian Persch
690 2008-09-04 Tor Lillqvist <tml@novell.com>
692 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
695 2008-09-02 Matthias Clasen <mclasen@redhat.com>
697 * === Released 2.18.0 ===
699 2008-09-02 Michael Natterer <mitch@imendio.com>
701 * *.h: big header formatting cleanup: indentation, vtable
702 formatting, consistent spacing in (* vfunc), trailing whitespace
703 removal. Formatting should be pretty consistent in all GIO headers
706 2008-09-02 Matthias Clasen <mclasen@redhat.com>
708 * gmount.h: Document guess_content_type sync vfunc.
710 2008-09-02 Michael Natterer <mitch@imendio.com>
712 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
713 fix parent_class member to be GFilterOutputStreamClass (not
714 GOutputStreamClass). Drop three pointers of padding, which is
715 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
716 so the class struct size stays the same.
718 2008-09-02 Matthias Clasen <mclasen@redhat.com>
720 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
722 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
723 nonexisting return values. Pointed out by Cosimo Cecchi.
725 2008-08-23 Tor Lillqvist <tml@novell.com>
727 Bug 548988 - g_file_replace fails on Windows when the target file
730 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
731 Windows, close the file before potentially renaming it (in case we
732 have been writing to a file with a temporary name).
734 (g_local_file_output_stream_close, handle_overwrite_open): Use
735 GLocalFileStat instead of plain struct stat, for passing to
736 _g_local_file_info_create_etag(). Thus also use _fstati64()
737 instead of plain fstat() on Windows.
739 2008-08-18 Matthias Clasen <mclasen@redhat.com>
741 * === Released 2.17.7 ===
743 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
745 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
748 2008-08-13 Tor Lillqvist <tml@novell.com>
750 * win32/gwinhttpvfs.c
751 * win32/gwinhttpvfs.h
752 * win32/gwinhttpfile.c
753 * win32/gwinhttpfileinputstream.c
754 * win32/gwinhttpfileoutputstream.c: Refactor some common code
755 snippets into helper functions. Check HTTP response status
756 codes. Implement g_winhttp_file_query_info(), looking at
757 Content-Length, Content-Type and Last-Modified.
759 * win32/winhttp.h: Add some symbolic constants that are not
760 publicly documented. Just a handful, so it should be OK to use
761 information from the Windows SDK's headers.
763 2008-08-13 Tor Lillqvist <tml@novell.com>
765 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
768 * win32/gwin32directorymonitor.c
769 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
771 2008-08-13 Matthias Clasen <mclasen@redhat.com>
774 * goutputstream.c: Add intro docs.
776 2008-08-13 Tor Lillqvist <tml@novell.com>
778 * win32/gwinhttpfileoutputstream.c
779 (g_winhttp_file_output_stream_write): Don't write the
780 Content-Length header ourselves, WinHttpSendRequest() takes care
781 of that when the dwTotalLength parameter is non-zero. Increment
782 offset by the number of actual bytes sent, although I wonder if
783 such a scenario is possible where less than requested would be
784 sent and accepted by the server without errors.
786 2008-08-13 Tor Lillqvist <tml@novell.com>
788 * win32/gwinhttpvfs.c
789 * win32/gwinhttpvfs.h
790 * win32/gwinhttpfile.c
791 * win32/gwinhttpfile.h
792 * win32/gwinhttpfileinputstream.c
793 * win32/gwinhttpfileinputstream.h
794 * win32/gwinhttpfileoutputstream.c
795 * win32/gwinhttpfileoutputstream.h: New files implementing
796 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
797 Windows. The implementation uses the WinHttp API. Both reading and
798 writing are supported, i.e. GET and PUT requests. When writing,
799 each write call is done using a separate PUT request with a
800 Content-Range header. Requests for file URIs and plain pathnames
801 are forwarded to GLocalVfs.
803 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
804 WINE. Used as there is no <winhttp.h> bundled with mingw, and
805 requiring people to download the Windows SDK just for this one
806 header is not reasonable.
808 * win32/Makefile.am: Add above files.
810 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
811 the plumbing for the above.
813 2008-08-11 Sven Neumann <sven@gimp.org>
815 * gfilenamecompleter.c
816 * glocaldirectorymonitor.c
818 * gunionvolumemonitor.c
822 * gunixvolumemonitor.c
825 * gwin32volumemonitor.c: use canonical signal names.
827 2008-08-11 Tor Lillqvist <tml@novell.com>
829 * Makefile.am: Put a list of the platform-dependent .la files in
830 the subdirectories in the platform_deps Make variable, and make
831 libgio-2.0.la depend on that, so that it gets relinked if one of
832 the dependent libraries has changed.
834 2008-08-11 Tor Lillqvist <tml@novell.com>
836 * Makefile.am (platform_libadd): Remove -lwininet which had been
837 added by mistake. We will probably eventually be using WinHTTP,
838 not the older WinInet anyway. (Actually I am working on it.)
840 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
842 Bug 547080 – g_file_copy leaks expected errors
844 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
845 before trying the next fallback routine.
847 2008-08-09 Loïc Minier <lool@dooz.org>
849 Bug 535124 – umask 002 not being applied for new directories, new
850 files get the correct umask
852 * gfile.c (g_file_make_directory)
853 (g_file_make_directory_with_parents): Document ownership and
854 permissions of newly created directories as being the default
857 2008-08-08 Loïc Minier <lool@dooz.org>
859 Bug 535124 – umask 002 not being applied for new directories, new
860 files get the correct umask
862 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
865 2008-08-08 Tor Lillqvist <tml@novell.com>
867 * gwin32mount.c: Remove unused code. Whitespace cleanup.
869 * gwin32volumemonitor.c (get_connected_drives): Put questionable
870 code that didn't actually do anything inside #if 0, and add a
871 comment wondering what the code was supposed to do. This also gets
872 rid of a leftover debugging printout.
874 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
876 * gfileicon.c (g_file_icon_get_property)
877 (g_file_icon_set_property): New functions.
878 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
880 (g_file_icon_new): Use the property (bug #546132).
882 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
884 * gthemedicon.c (g_themed_icon_get_property): Also handle
885 `PROP_USE_DEFAULT_FALLBACKS'.
886 (g_themed_icon_class_init): Make
887 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
889 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
891 Bug 546371 – Improve docs re g_file_monitor
893 * gfilemonitor.c: Mention g_file_monitor() in the docs.
895 2008-08-04 Matthias Clasen <mclasen@redhat.com>
897 * === Released 2.17.6 ===
899 2008-08-04 Matthias Clasen <mclasen@redhat.com>
901 * === Released 2.17.5 ===
903 2008-08-04 Matthias Clasen <mclasen@redhat.com>
905 Bug 546017 – Don't copy attributes when copying a symlink
907 * gfile.c (g_file_copy_attributes): Specify
908 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
909 g_file_set_attributes_from_info. Patch by Christian Kellner
911 2008-08-04 Matthias Clasen <mclasen@redhat.com>
913 * gemblemedicon.[hc]:
915 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
916 a bit more extensible. Work by Clemens Buss.
918 * gioenums.h: Add GEmblemOrigin.
921 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
923 Bug 546079 – leak in xdgmime
925 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
927 2008-08-03 Tor Lillqvist <tml@novell.com>
929 * win32/gwin32directorymonitor.h
930 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
933 2008-08-03 Tor Lillqvist <tml@novell.com>
935 * win32/gwin32directorymonitor.c
936 (g_win32_directory_monitor_callback): Make prototype match
937 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
938 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
941 (g_win32_directory_monitor_constructor):
942 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
943 names in the GLib API on Windows, so convert to UTF-16 and open
946 2008-08-03 Tor Lillqvist <tml@novell.com>
948 Bug 541036 - Gnumeric crashes when trying to open Desktop or
949 user's folder under Windows
951 * win32/gwin32directorymonitor.c
952 (g_win32_directory_monitor_constructor): Ignore error from
953 CreateFile() when opening directory. Instead of asserting, just
954 store INVALID_HANDLE_VALUE then in
955 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
956 ReadDirectoryChangesW().
957 (g_win32_directory_monitor_cancel): Don't attempt to close
958 directory handle if it is INVALID_HANDLE_VALUE.
960 2008-08-01 Matthias Clasen <mclasen@redhat.com>
962 * gdesktopappinfo.c: Remove debug spew
964 2008-08-01 Hans Breuer <hans@breuer.org>
966 * makefile.msc : add gemblembedicon
968 2008-07-30 Matthias Clasen <mclasen@redhat.com>
970 Bug 545457 – gdmsetup crashed with SIGSEGV in
971 g_unix_mount_guess_should_display()
973 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
974 crash if no mount is found.
976 2008-07-28 Matthias Clasen <mclasen@redhat.com>
978 Bug 545203 – gfile.c: argument is different type.
980 * gfile.c (open_read_async_thread): Pass a GError **
981 to g_file_set_error_literal.
982 Reported by Kazuki Iwamoto
984 2008-07-28 Matthias Clasen <mclasen@redhat.com>
986 Bug 545157 – wrong/no list of "open with" applications for .cc and
989 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
990 Collect all ancestors, not just direct parents. Pointed
991 out by Bastien Nocera
993 2008-07-28 Matthias Clasen <mclasen@redhat.com>
995 * Makefile.am: Install gemblemedicon.h
997 2008-07-28 Matthias Clasen <mclasen@redhat.com>
999 * gemblemedicon.[hc]: Add a GIcon implementation that can
1000 add an emblem to another icon.
1007 * gfileicon.c: Small documentation additions.
1009 2008-07-28 Tor Lillqvist <tml@novell.com>
1011 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1014 2008-07-27 Tor Lillqvist <tml@novell.com>
1016 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1018 2008-07-24 David Zeuthen <davidz@redhat.com>
1022 Also export a g_mount_guess_content_type_sync() function.
1024 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1026 529694 – SELinux context setting support
1028 * gfileinfo.c: Support setting selinux attributes.
1029 Patch by Tomas Bzatek
1031 2008-07-22 Priit Laes <plaes@plaes.org>
1033 Bug 544140 - fam-helper 64-bit issue?
1035 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1037 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1039 * === Released 2.17.4 ===
1041 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1043 * gvolumemonitor.[hc]:
1044 * gmountoperation.c:
1048 * gmount.c: Documentation fixes
1050 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1052 543504 – crash in Epiphany Web Browser: Opening local file
1056 * gdesktopappinfo.c:
1063 * gvolume.c: Register types thread-safely.
1064 Patch by Christian Persch
1066 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1068 * gcontenttype.c: Remove debug spew
1070 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1072 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1075 * fen/fen-kernel.c: Remove a warning that was causing
1076 crashes. Reported by Lin Ma.
1078 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1080 Bug 543040 – async reading on dummy file will crash on
1083 * gfile.c (open_read_async_thread): Cope with read_fn being
1084 NULL. Reported by Lin Ma.
1086 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1089 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1091 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1094 * gdesktopappinfo.h:
1095 * giomodule.c: Rename a chapter id to avoid filename conflict.
1097 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1099 Bug 540616 – mem leak in filechooser button
1101 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1102 the mount entry. Reported by Chrisitan Persch
1104 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1106 * gfile.c: Small documentation fixes.
1108 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1110 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1112 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1117 * gmount.c: Documentation improvements.
1119 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1122 * gmount.[hc]: Add g_mount_guess_content_type().
1124 2008-07-06 David Zeuthen <davidz@redhat.com>
1127 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1128 is needed for easily handling adoption of foreign volumes by
1129 out-of-process volume monitors (#541793)
1131 2008-07-06 David Zeuthen <davidz@redhat.com>
1133 * gvolumemonitor.[ch]:
1134 * gunionvolumemonitor.c: Export the eject-button signal on the
1135 volume monitor class (#541794).
1137 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1139 * gappinfo.c: More doc tweaks
1141 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1143 * gappinfo.c: Clarify some docs
1145 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1147 * gdesktopappinfo.c: Fix a stupid mistake.
1149 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1151 * === Released 2.17.3 ===
1153 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1155 * gfilemonitor.c: Fix the build.
1157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1159 Bug 536160 – Add g_file_monitor()
1162 * gfile.[hc]: Add g_file_monitor which can return either
1163 a file or a directory monitor. Proposed by Behdad Esfahbod
1165 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1167 536733 – gio build failure on Irix
1169 * glocalfile.c: Use a configure check for structfs.f_bavail.
1171 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1173 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1176 * gdesktopappinfo.[hc]: Add a function to create a
1177 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1179 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1181 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1183 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1185 * gunixmounts.c: Fix a doc typo.
1187 2008-07-01 Cody Russell <bratsche@gnome.org>
1189 * gio/gcontenttype.c:
1190 * gio/gwin32appinfo.c:
1191 * gio/gwin32volumemonitor.c:
1192 * gio/gwin32mount.c: Fixed some include problems.
1194 2008-07-01 Cody Russell <bratsche@gnome.org>
1198 Moved all relevant typedefs into these files.
1201 Updated wrt added files.
1203 Split types into separate file for easier maintainership. (#538564)
1205 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1207 Bug 540331 – g_file_append_to () documentation: can return NULL
1209 * gfile.c (g_file_append_to): Clarify docs.
1210 Patch by Jared Moore
1212 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1214 Bug 539090 – g_content_type_from_mime_type() should unalias
1216 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1217 Patch by Markus Bergman
1219 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1221 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1222 g_atomic_pointer_get
1224 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1225 on ppc and alpha. Reported by Mart Raudsepp
1227 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1229 * tests/Makefile.am:
1230 * tests/memory-output-stream.c: Add some tests for
1231 GMemoryOutputStream.
1233 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1235 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1238 * gmemoryoutputstream.c (array_resize): Handle truncation to
1239 zero correctly. Reported by Akira Tagoh
1241 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1243 * gmemoryoutputstream.c: Trivial doc fixes
1245 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1247 Bug 540802 – g_list_prepend doesn't concat lists
1249 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1250 one list to another. Pointed out by Jan Arne Petersen
1252 2008-06-28 Michael Natterer <mitch@imendio.com>
1254 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1256 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1258 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1259 to avoid problems with partial icon themes.
1261 2008-06-17 Hans Breuer <hans@breuer.org>
1263 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1264 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1265 access again on win32, see bug #538127
1266 * giomodule.c : ensure GWin32VolumeMonitor is registered
1267 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1268 * Makefile.am makefile.msc : updated
1270 2008-06-16 Hans Breuer <hans@breuer.org>
1272 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1273 and initialization in one step avoids c99ism
1275 2008-06-16 Christian Persch <chpe@gnome.org>
1278 * gio/gbufferedinputstream.c
1279 * gio/gcancellable.c
1280 * gio/gdatainputstream.c
1281 * gio/gdesktopappinfo.c
1283 * gio/gfileenumerator.c
1284 * gio/gfileinputstream.c
1285 * gio/gfileoutputstream.c
1286 * gio/ginputstream.c
1287 * gio/glocaldirectorymonitor.c
1289 * gio/glocalfileenumerator.c
1290 * gio/glocalfileinfo.c
1291 * gio/glocalfilemonitor.c
1292 * gio/glocalfileoutputstream.c
1293 * gio/gmemoryinputstream.c
1294 * gio/gmemoryoutputstream.c
1295 * gio/goutputstream.c
1296 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1299 2008-06-16 Tor Lillqvist <tml@novell.com>
1301 Bug 538362 - Get Win32 icons back in the file chooser
1303 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1304 corresponding to a file extension in the Registry. Patch by Hans
1306 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1308 2008-06-16 Tor Lillqvist <tml@novell.com>
1310 Patches by Hans Breuer:
1312 * glocalfile.c (is_xp_or_later): Handle compiling against older
1313 SDK headers with missing VerifyVersionInfo(). Conditioned on
1314 _MSC_VER, but should probably use some better test.
1315 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1316 uninitialised statfs_result variable on Win32.
1318 2008-06-16 Michael Natterer <mitch@imendio.com>
1320 * *.c: chain up unconditionally in finalize() and dispose(). Also
1321 don't dereference these function pointers when calling them since
1322 that has no meaning at all.
1324 2008-06-16 Ross Burton <ross@burtonini.com>
1326 * gfileenumerator.c:
1327 Remove check for dispose implementation as it annoys Emmanuele.
1329 2008-06-16 Ross Burton <ross@burtonini.com>
1331 Bug 536252 – GFileEnumerator should allow access to the containing
1334 * gfileenumerator.c:
1335 * gfileenumerator.h:
1337 Add g_file_enumerator_get_container() and a container writeable
1338 construct-only property. Also shuffle around typedefs to make it
1341 * glocalfileenumerator.c:
1342 * glocalfileenumerator.h:
1344 Instead of a string filename take a GFile in the constructor and
1345 use it to set the container property.
1348 Update with new API.
1350 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1352 * gfile.c: Make includes more uniform
1354 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1356 * tests/live-g-file.c (sample_struct):
1357 Use less fancy unicode filenames, so the test doesn't fail
1358 on Mac OS X (#531476).
1360 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1362 * === Released 2.17.2 ===
1364 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1366 * === Released 2.17.1 ===
1368 2008-06-11 A. Walton <awalton@gnome.org>
1370 * tests/g-file.c (test_g_file_new_null):
1371 Fix broken test case.
1373 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1375 * pltcheck.sh: We use g_clear_error now.
1377 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1379 * glocalfile.c (g_local_file_enumerate_children): Revert
1380 an unintended change.
1382 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1384 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1386 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1388 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1391 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1392 as icon for the desktop directory, also make user-home and
1393 user-desktop the preferred icons.
1395 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1398 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1399 to add a name to the front of the list.
1401 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1403 Bug 537392 – Additional colon in xattr name
1405 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1406 too. Reported by Alessandro Morandi
1408 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1410 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1413 * glocalfile.c (get_fs_type): Add afs and autofs.
1414 Patch by Danny Baumann.
1416 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1418 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1420 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1421 is no parent. (Owen Taylor, patch by Christian Neumair)
1423 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1425 * gfile.c (g_file_replace_contents): do not leak the output stream.
1427 2008-06-10 Michael Natterer <mitch@imendio.com>
1429 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1430 uninitialized memory as array index.
1432 2008-06-10 Tor Lillqvist <tml@novell.com>
1434 * gcontenttype.c (g_content_type_can_be_executable)
1435 (g_content_type_get_icon) [Win32]: Add TODO comments.
1437 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1439 * xdgmime/Makefile.am: Fix the build
1441 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1443 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1444 in the shared mime database, if available.
1446 * xdgmime/*: Sync with upstream. This brings support for
1447 glob weights, generic icons, and changes the cache format to
1450 2008-05-28 Michael Natterer <mitch@imendio.com>
1452 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1453 the global CPPFLAGS now.
1455 * tests/data-input-stream.c
1456 * tests/data-output-stream.c
1457 * tests/g-file-info.c
1459 * tests/live-g-file.c
1460 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1462 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1464 * === Released 2.17.0 ===
1466 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1467 doesn't complain about leftover files.
1469 2008-05-27 simon.zheng <simon.zheng@sun.com>
1471 * glocalfile.c: (g_local_file_query_filesystem_info):
1472 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1474 2008-05-26 Michael Natterer <mitch@imendio.com>
1476 * gmemoryoutputstream.h: declare
1477 g_memory_output_stream_get_data_size().
1479 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1481 * tests/*: Make tests work
1483 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1485 * gio.symbols: Add g_memory_output_stream_get_data_size.
1487 2008-05-25 Ross Burton <ross@burtonini.com>
1490 Fix typo in error message (#534764).
1492 2008-05-25 Ross Burton <ross@burtonini.com>
1495 Fix circular dependency loop for gioenumtypes.h (#534759).
1497 2008-05-19 Hans Breuer <hans@breuer.org>
1499 * Makefile.am : EXTRA_DIST += makefile.msc
1501 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1504 * gcontenttype.c: (g_content_type_from_mime_type):
1505 New function to create a content type from a mime type. (#527175,
1508 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1510 Bug 532965 – Should not return filesystem::free for certain file systems
1512 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1513 free space for ncpfs.
1515 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1517 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1519 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1520 st_dev might be zero.
1522 2008-05-16 Tor Lillqvist <tml@novell.com>
1524 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1525 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1527 2008-05-13 Bastien Nocera <hadess@hadess.net>
1529 * gfile.c (has_valid_scheme): A URI scheme must start with a
1530 letter, even if later more characters are allowed (#532852)
1532 2008-05-05 Michael Natterer <mitch@imendio.com>
1534 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1535 code from being checked in that breaks the build of applications
1536 which use G_DISABLE_SINGLE_INCLUDES.
1538 * makegioalias.pl: make the alias file include "glib.h" instead of
1541 * gio.symbols: whitespace change to force regeneration of the
1542 alias file after above script change.
1544 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1546 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1548 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1550 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1552 2008-04-28 David Zeuthen <davidz@redhat.com>
1554 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1555 displaying mounts in a subdirectory not accessible to the
1558 2008-04-22 Michael Natterer <mitch@imendio.com>
1560 * Makefile.am: fix library versioning (it was 0.0.0).
1562 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1564 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1565 Default disable all loggings.
1566 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1567 (port_fetch_event_cb): Fixed two macro nits.
1569 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1571 * xdgmime/xdgmime.c: Rework the timestamp checking code
1572 to protect against duplicate directories in XDG_DATA_DIRS.
1573 Fixes fd.o bug 12513, reported by Joe Shaw.
1575 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1577 Partically revert the last commit after realizing that
1578 xdg_mime_media_type_equal doesn't have to init at all.
1580 * xdgmime/xdgmime.h:
1581 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1583 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1585 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1587 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1588 reported by Joe Shaw and Federico Mena Quintero.
1590 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1591 (xdg_mime_media_type_equal): Turn into a wrapper around the
1594 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1595 functions throughout.
1597 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1599 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1600 tolerate an empty TryExec= line without failing; nautilus used
1601 to create launchers with these in previous versions. Fixes #528433
1603 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1605 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1606 after name. Fixes #527132.
1608 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1610 * gfile.c: (g_file_replace):
1613 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1615 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1617 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1618 by Christian Kellner.
1620 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1622 * gunixmounts.c: (g_unix_mount_guess_should_display):
1623 Don't list the user directory as a mount, fix potential issue
1624 when other users have a similar naming and don't special case the
1625 gvfs mounts there since that's not required (#525866)
1627 2008-03-31 Alexander Larsson <alexl@redhat.com>
1629 * glocalfile.c (get_parent):
1632 2008-03-31 A. Walton <awalton@svn.gnome.org>
1634 * gfile.c (g_file_query_file_type):
1635 Always return a GFileType enum value (#520715).
1637 2008-03-31 Alexander Larsson <alexl@redhat.com>
1639 * glocalfileenumerator.c:
1640 Read readdir() info in chunks (of 1000) and sort
1641 the chunks by inode before stat:ing.
1642 This is a 20% performance increase in testing
1643 gvfs-ls on /usr/bin with cold cache.
1645 2008-03-31 Alexander Larsson <alexl@redhat.com>
1647 * gmemoryoutputstream.c:
1648 Clarify docs for g_memory_output_stream_get_size.
1649 Add g_memory_output_stream_get_data_size.
1651 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1655 * gfile.h: Add g_file_query_file_type convenience function
1656 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1658 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1660 * gfileenumerator.c:
1661 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1663 2008-03-28 A. Walton <awalton@svn.gnome.org>
1665 * giomodule.c (_g_io_modules_ensure_loaded):
1666 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1669 2008-03-28 Alexander Larsson <alexl@redhat.com>
1672 (copy_stream_with_progress):
1675 2008-03-28 Alexander Larsson <alexl@redhat.com>
1678 (copy_stream_with_progress):
1679 (file_copy_fallback):
1680 Fallback to g_file_query_info for source size
1681 if g_file_input_stream_query_info fails. (#524579)
1683 2008-03-28 Alexander Larsson <alexl@redhat.com>
1685 * glocalfile.c (g_local_file_move):
1686 Reuse old string instead of adding new one.
1688 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1690 * fen/*.[hc]: still copyright issue. I hate copyright.
1692 2008-03-27 Alexander Larsson <alexl@redhat.com>
1694 * glocalfile.c (g_local_file_move):
1695 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1696 file over directory. This is according to the docs and what the move via
1697 copy+remove fallback does.
1699 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1701 * fen/*.[hc]: Updated copyright.
1703 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1705 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1707 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1709 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1710 not emit attribute changed events when optimizing changed events.
1711 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1714 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1716 * gmountoperation.[hc]: Small documentation additions
1718 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1720 * gunixmounts.c: (guess_mount_type):
1721 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1723 2008-03-19 Alexander Larsson <alexl@redhat.com>
1726 (copy_stream_with_progress):
1727 Bump block side for copy to 64k to minimize
1728 overhead for low latency links. (#523015)
1730 2008-03-16 Tor Lillqvist <tml@novell.com>
1732 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1733 depend on gio.def on Windows.
1735 2008-03-12 David Zeuthen <davidz@redhat.com>
1739 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1741 2008-03-14 Alexander Larsson <alexl@redhat.com>
1745 Avoid redudant tests (#521851)
1746 Patch from Josselin Mouette
1748 2008-03-14 Alexander Larsson <alexl@redhat.com>
1751 (g_file_monitor_is_cancelled):
1752 Fix C89 issue (#521672)
1753 Patch from Jens Granseuer
1755 2008-03-14 Alexander Larsson <alexl@redhat.com>
1757 * fam/fam-helper.[ch]:
1759 Shut down fam (including removing fam GSource) when
1760 module is unloaded (#521513)
1761 Patch from Joe Marcus Clarke
1763 2008-03-14 Alexander Larsson <alexl@redhat.com>
1766 (_g_io_modules_ensure_loaded):
1769 2008-03-14 Alexander Larsson <alexl@redhat.com>
1772 (g_local_file_query_filesystem_info):
1773 Use right define name for f_fstypename member check
1775 2008-03-14 Alexander Larsson <alexl@redhat.com>
1778 * fen/Makefile.am: Added.
1779 * fen/fen-data.[ch]: Added.
1780 * fen/fen-dump.[ch]: Added.
1781 * fen/fen-helper.[ch]: Added.
1782 * fen/fen-kernel.[ch]: Added.
1783 * fen/fen-missing.[ch]: Added.
1784 * fen/fen-node.[ch]: Added.
1785 * fen/fen-sub.[ch]: Added.
1786 * fen/gfendirectorymonitor.[ch]: Added.
1787 * fen/gfenfilemonitor.[ch]: Added.
1789 Added Solaris FEN file notification backend.
1790 Patch from Lin Ma <Lin.Ma@Sun.COM>
1792 2008-03-13 Tor Lillqvist <tml@novell.com>
1794 * Makefile.am: Actually use the gio.def file when linking the
1795 library on Windows. Produce .lib library for Microsoft's toolchain
1796 when possible. Install the .lib and .def file like for the other
1799 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1801 * tests/live-g-file.c:
1802 Include live-g-file in standard set of tests, making a temporary
1803 directory in source structure.
1805 Clean target directory before the tests (write mode only)
1807 2008-03-12 Tor Lillqvist <tml@novell.com>
1809 Bug 517419 - gio win32 directory monitor
1810 Implementation by Vlad Grecescu.
1813 * win32/gwin32directorymonitor.h
1814 * win32/gwin32directorymonitor.c: New files.
1816 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1818 * Makefile.am: Add the win32 subdirectory.
1820 2008-03-12 Tor Lillqvist <tml@novell.com>
1822 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1823 normal struct stat on Unix but struct _stati64 on Windows to have
1824 access to 64-bit file size information. Use that instead of struct
1825 stat in the functions declared here in this private header.
1827 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1828 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1829 warnings about unused functions and variables. Don't set
1830 meaningless attributes like inode numbers on Windows.
1832 2008-03-12 Benjamin Otte <otte@gnome.org>
1835 trim whitespace so gtk-doc groks the function name
1837 2008-03-12 Tor Lillqvist <tml@novell.com>
1839 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1840 returning FALSE, on Win32.
1842 2008-03-11 Alexander Larsson <alexl@redhat.com>
1845 * glocalfileinfo.[ch]:
1846 Correctly implement can_trash by actually
1847 looking for a trash dir, not just assuming
1850 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1852 * === Released 2.16.1 ===
1854 2008-03-11 Alexander Larsson <alexl@redhat.com>
1857 Fix crashes in new constructor and properties code
1859 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1861 * gfile.c: Minor spelling correction in documentation:
1862 existance -> existence.
1864 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1866 * === Released 2.16.0 ===
1868 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1870 * gio.symbols: Remove g_file_contains_file here, too.
1872 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1874 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1875 Samuel Cormier-Iijima)
1877 2008-03-08 Tor Lillqvist <tml@novell.com>
1879 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1882 2008-03-07 Alexander Larsson <alexl@redhat.com>
1885 (g_local_file_query_filesystem_info):
1886 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1887 Patch from Jasper Lievisse Adriaanse
1889 2008-03-06 Tor Lillqvist <tml@novell.com>
1891 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1892 comments for the *_USEC attributes.
1894 2008-03-06 Alexander Larsson <alexl@redhat.com>
1896 * gfile.c (g_file_query_exists):
1897 Add g_return_val_if_fail check (#520700)
1899 2008-03-06 Alexander Larsson <alexl@redhat.com>
1901 * gdesktopappinfo.c:
1904 * gunionvolumemonitor.c:
1907 * tests/live-g-file.c:
1908 * xdgmime/xdgmimecache.c:
1909 Fix sparse warnings (#519489)
1911 2008-03-05 Alexander Larsson <alexl@redhat.com>
1914 Make cancellation threadsafe (i.e.
1915 guarantee its only done once, and always
1918 * glocaldirectorymonitor.c:
1919 Make sure we the monitor lives while the
1920 mounts_changed callback is being called (#520484)
1922 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1924 * gbufferedinputstream.c: Fix typo in parameter
1927 2008-03-04 Alexander Larsson <alexl@redhat.com>
1930 Remove deprecated symbols we kept for one release.
1932 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1935 * goutputstream.c: Tiny documentation corrections.
1937 2008-03-03 Alexander Larsson <alexl@redhat.com>
1939 * gunionvolumemonitor.c:
1941 Fix the adopt_orphan_mount vfunc to take a
1942 volume_monitor reference in an ABI compat way.
1943 This change is not API compat, but the added
1944 arg is not used in the only user of this vfunc, so
1945 all we get is a harmless warning in gvfs (#520169)
1947 2008-03-01 Benjamin Otte <otte@gnome.org>
1950 clarify docs for g_file_delete().
1952 2008-02-29 Alexander Larsson <alexl@redhat.com>
1956 Make sure empty files get text/plain type (#518720)
1958 2008-02-27 Alexander Larsson <alexl@redhat.com>
1964 (g_unix_volume_mount):
1965 Add missing GMountMountFlags argument
1967 2008-02-26 Alexander Larsson <alexl@redhat.com>
1970 (g_local_file_delete):
1971 Handle filesystems (like ntfs-3g) that return EEXIST instead
1972 of ENOTEMPTY (#518816)
1974 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1976 * === Released 2.15.6 ===
1978 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1980 * gfile.c (g_file_find_enclosing_mount):
1981 * ginputstream.c (g_input_stream_set_pending):
1982 * glocalfile.c (g_local_file_find_enclosing_mount):
1983 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1984 * goutputstream.c (g_output_stream_set_pending):
1986 Fixup translator comments (#518578).
1988 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1990 * gfile.c (g_file_find_enclosing_mount):
1992 * glocalfile.c (g_local_file_find_enclosing_mount):
1995 Fix a few typos in translator comments and documentation.
1997 2008-02-25 Alexander Larsson <alexl@redhat.com>
2004 Add translator comments (#518578)
2006 2008-02-25 Alexander Larsson <alexl@redhat.com>
2009 Reintroduce g_file_contains_file, keep around for one
2010 unstable release cycle to avoid crashing to many apps.
2011 Make sure to delete after release.
2013 2008-02-25 Alexander Larsson <alexl@redhat.com>
2016 Remove deprecated g_file_contains_file.
2018 2008-02-25 Alexander Larsson <alexl@redhat.com>
2021 Emit actual change signals in an idle handler.
2022 This avoids reentrance and locking problems in
2023 the file notification backends.
2025 2008-02-25 Alexander Larsson <alexl@redhat.com>
2028 (g_unix_mount_guess_should_display):
2029 Remove type guessing, instead just display
2030 mounts in /media and in ~/.
2032 2008-02-25 Alexander Larsson <alexl@redhat.com>
2035 Make new strings reuse old ones.
2037 2008-02-25 Alexander Larsson <alexl@redhat.com>
2040 Implement trashing and filesystem::readonly for win32 (#517235)
2041 Patch from Yevgen Muntyan
2043 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2045 * gfileinfo.h: Documentation fixes.
2047 2008-02-22 Alexander Larsson <alexl@redhat.com>
2049 * gcontenttype.c (g_content_type_get_icon):
2050 Look at old-style gnome mime icon names too, as many
2051 have not moved to the new style.
2053 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2055 * *.c: Correct the @include in for section docs.
2057 2008-02-21 David Zeuthen <davidz@redhat.com>
2059 * glocalfileinfo.c: (_g_local_file_info_get):
2061 (g_content_type_get_icon): Implement this function by
2062 moving bits from glocalfileinfo.c
2063 (g_content_type_get_description): Unalias before getting
2064 description (#517687)
2066 * gfile.c: (g_file_class_init),
2067 (g_file_query_filesystem_info_async),
2068 (g_file_query_filesystem_info_finish),
2069 (query_filesystem_info_data_free),
2070 (query_filesystem_info_async_thread),
2071 (g_file_real_query_filesystem_info_async),
2072 (g_file_real_query_filesystem_info_finish):
2073 * gfile.h: Implement async version of
2074 g_file_query_filesystem_info()
2076 * gfileinfo.h: Add new attributes for filesystem::use-preview
2078 * gio.symbols: Update
2080 * gthemedicon.c: (g_themed_icon_append_name):
2081 * gthemedicon.h: Add new new convenience function.
2083 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2084 (get_mounts), (get_volumes), (get_connected_drives),
2085 (get_volume_for_uuid), (get_mount_for_uuid),
2086 (g_union_volume_monitor_init), (populate_union_monitor),
2087 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2088 (g_volume_monitor_adopt_orphan_mount):
2090 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2091 monitor implementations to call into the main volume monitor. Also
2092 separate object initialization and volume monitor initialization
2093 such that non-native volume monitors can properly adopt their
2096 2008-02-21 Alexander Larsson <alexl@redhat.com>
2101 2008-02-21 Alexander Larsson <alexl@redhat.com>
2104 Add more documentation about how GFiles work (from #517086)
2106 2008-02-21 Alexander Larsson <alexl@redhat.com>
2110 Add new g_file_has_prefix that does the same as g_file_contains_file.
2111 Deprecate g_file_contains_file and add a macro that converts
2112 it to g_file_has_prefix.
2113 The reason for this change is that the contains_file() name seems to
2114 imply that this does more work than what it does, but its really only
2115 a name match (from #517086)
2120 Update to match the above change.
2122 2008-02-20 Benjamin Otte <otte@gnome.org>
2124 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2125 (g_file_eject_mountable):
2126 even more cases of not returning in error path
2128 2008-02-20 Benjamin Otte <otte@gnome.org>
2130 * gfile.c: (g_file_mount_mountable):
2131 return from function in error path.
2133 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2136 Remove trailing coma in GMountMountFlags struct
2138 2008-02-18 Alexander Larsson <alexl@redhat.com>
2142 * glocalfileoutputstream.c:
2143 Use g_unlink/g_rename instead of unlink/rename;
2144 do not pass raw filenames to g_set_error. (#517239)
2145 Patch from Yevgen Muntyan.
2147 2008-02-18 Alexander Larsson <alexl@redhat.com>
2150 * glocalfileoutputstream.c:
2151 Open files with O_BINARY on windows. (#517140)
2153 2008-02-14 Alexander Larsson <alexl@redhat.com>
2155 * glocalfileoutputstream.c:
2156 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2158 2008-02-14 Alexander Larsson <alexl@redhat.com>
2161 Copy permissions with file on copy (#514084)
2162 This is what cp does and makes sure e.g. the
2163 exec permissions are kept.
2164 Its kinda weird in that it keeps the permission bits
2165 the same while the uid and gid are different. However
2166 the new uid is the user so its not a security issue,
2167 and I've heard no complaints about cp on this issue.
2169 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2171 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2173 2008-02-13 Alexander Larsson <alexl@redhat.com>
2175 * inotify/inotify-path.c:
2176 Define IN_ONLYDIR if not in header (#515346)
2178 2008-02-12 Alexander Larsson <alexl@redhat.com>
2180 * tests/live-g-file.c:
2183 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2185 * === Released 2.15.5 ===
2187 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2189 * gio.symbols: Add g_mount_mount_flags_get_type.
2191 2008-02-11 Alexander Larsson <alexl@redhat.com>
2194 (g_file_info_set_attribute_mask):
2195 (g_file_attribute_matcher_matches_id):
2196 Correctly handle NULL GAttributeMatcher meaning
2197 matches nothing. (Fixes #513492)
2199 2008-02-11 Alexander Larsson <alexl@redhat.com>
2204 Added GMountMountFlags enum and added a flags
2205 argument to all mount calls.
2207 This is an API/ABI change for future extensibility,
2208 as I think we will need at least an
2209 inhibit-autorun flag (the panel needs this).
2210 There are no flags defined yet though.
2212 2008-02-11 Alexander Larsson <alexl@redhat.com>
2215 Added new standard::description attribute.
2216 Requested by Vincent, and useful for both
2219 2008-02-11 Alexander Larsson <alexl@redhat.com>
2221 * gdesktopappinfo.c:
2224 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2226 * *.c: Documentation additions
2228 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2230 * gappinfo.h: Formatting cleanup
2231 * gappinfo.c: Fix up docs.
2233 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2235 * gunixmounts.c: Consistently use getmntent_r() and fall
2236 back to getmntent(). (#515492)
2238 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2240 * gbufferedinputstream.c:
2242 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2244 * tests/data-input-stream.c:
2245 * tests/data-output-stream.c: Portability fixes.
2247 2008-02-08 Alexander Larsson <alexl@redhat.com>
2252 Add g_volume_should_automount.
2255 2008-02-07 Tor Lillqvist <tml@novell.com>
2257 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2258 Win32, too Unix-specific.
2260 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2262 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2263 a local plt if the compiler doesn't support what we want. Bug #514702
2265 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2267 reviewed by: <delete if not using a buddy>
2270 * gunixinputstream.c:
2271 * gunixoutputstream.c:
2273 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2275 * tests/Makefile.am:
2276 * tests/live-g-file.c:
2277 * tests/live-g-file.txt:
2278 New GIO testing module working over real data
2280 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2282 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2283 Fallback to rename() if link() is not available
2284 (when no support on target filesystem)
2286 2008-02-06 Michael Natterer <mitch@imendio.com>
2288 * gfileinfo.c (g_file_info_get_icon): replace
2289 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2291 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2293 * gfile.c (g_file_create):
2294 Documentation update of error codes
2296 2008-02-06 Alexander Larsson <alexl@redhat.com>
2298 * gdesktopappinfo.c:
2299 Update to use both mimeapps.list and
2300 defaults.list as discussed on xdg list.
2302 2008-02-06 Benjamin Otte <otte@gnome.org>
2305 * gfilenamecompleter.c:
2306 Fix some typos in the documentation.
2308 2008-02-06 Alexander Larsson <alexl@redhat.com>
2310 * glocalfile.c (g_local_file_trash):
2311 Don't succeed with trash if newly created
2312 trash dir has the wrong owner. (#514696)
2314 2008-02-05 Alexander Larsson <alexl@redhat.com>
2316 * glocalfile.c (g_local_file_move):
2317 Don't spew warnings when destination is not
2320 2008-02-03 Hans Breuer <hans@breuer.org>
2322 * makefile.msc : update
2324 2008-02-01 Michael Natterer <mitch@imendio.com>
2326 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2327 return value of xdg_mime_list_mime_parents() to a variable of the
2330 2008-02-01 Alexander Larsson <alexl@redhat.com>
2332 * gappinfo.c (g_app_info_launch_uris):
2333 Actually call the launch_uris method, not
2336 2008-02-01 Alexander Larsson <alexl@redhat.com>
2338 * gdesktopappinfo.c (g_desktop_app_info_equal):
2339 Ensure appinfos with no id but same pointer value
2342 2008-02-01 Alexander Larsson <alexl@redhat.com>
2344 * gappinfo.c (g_app_info_launch_default_for_uri):
2347 2008-02-01 Alexander Larsson <alexl@redhat.com>
2351 Add g_app_info_launch_default_for_uri utility
2354 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2356 * gdesktopappinfo.c:
2357 Doc fix for g_app_info_get_default_for_uri_scheme ()
2360 2008-01-30 Alexander Larsson <alexl@redhat.com>
2363 Add doc comment about uris vs GFiles to
2366 * gdesktopappinfo.c:
2367 Ensure uris passed to g_app_info_launch_uris()
2368 are not roundtriped through GFile (as that
2369 may be slightly destructive for e.g. mailto: links)
2371 2008-01-30 Alexander Larsson <alexl@redhat.com>
2373 * tests/data-input-stream.c:
2374 * tests/data-output-stream.c:
2375 C89 fixes from Jens Granseuer (#512849)
2377 2008-01-30 Alexander Larsson <alexl@redhat.com>
2380 Fix gamin/fam difference build issue. (#509419)
2382 2008-01-29 Alexander Larsson <alexl@redhat.com>
2385 * gdesktopappinfo.c:
2386 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2388 2008-01-29 Alexander Larsson <alexl@redhat.com>
2390 * gdesktopappinfo.c:
2391 * gdesktopappinfo.h:
2392 giomodule-priv.h include moved to .c file.
2394 2008-01-29 Alexander Larsson <alexl@redhat.com>
2396 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2397 Remove unused prio/name fields.
2399 2008-01-29 Alexander Larsson <alexl@redhat.com>
2401 * gcontenttype.c (looks_like_text):
2402 Don't treat whitespace as control chars.
2404 2008-01-29 Alexander Larsson <alexl@redhat.com>
2406 * gdesktopappinfo.c:
2407 Lazily create the desktop files for appinfos created
2408 by g_app_info_create_from_commandline() when needed
2409 for mime associations. This allows run-time use
2410 of GAppInfo object without creating unnecessary
2413 2008-01-29 Alexander Larsson <alexl@redhat.com>
2416 Added new symbols to gio.symbols
2418 2008-01-29 Alexander Larsson <alexl@redhat.com>
2421 Add g_file_query_default_handler utility to easily look up
2422 the GAppInfo that handles a file.
2424 * gdesktopappinfo.[ch]:
2426 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2429 Remove unused function
2431 2008-01-29 Alexander Larsson <alexl@redhat.com>
2433 * gfileenumerator.c:
2434 Mention need to free returned value in
2435 g_file_enumerator_next_files_finish docs.
2436 Fix leak if g_file_enumerator_next_files_finish()
2439 2008-01-29 Alexander Larsson <alexl@redhat.com>
2442 (_g_unix_content_type_get_parents):
2443 Use list_parents, not get_parents from xdgmime, because
2444 the later doesn't use the cache.
2446 * xdgmime/xdgmimecache.c:
2447 (_xdg_mime_cache_list_mime_parents):
2448 Don't list the same type as parent multiple times.
2450 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2452 * === Released 2.15.4 ===
2454 2008-01-28 Alexander Larsson <alexl@redhat.com>
2457 Register local vfs with prio 0.
2460 Remove old name and prio class members
2462 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2464 * tests/g-file.c: Disable some tests that are failing in
2465 the absence of a http backend.
2467 2008-01-28 Alexander Larsson <alexl@redhat.com>
2471 Add registration hooks for extension points.
2472 Register the gio extension points.
2474 * fam/gfamdirectorymonitor.c:
2475 * fam/gfamfilemonitor.c:
2476 * glocaldirectorymonitor.[ch]:
2477 * glocalfilemonitor.[ch]:
2478 * gnativevolumemonitor.h:
2479 * gunionvolumemonitor.c:
2480 * gunixvolumemonitor.c:
2483 * inotify/ginotifydirectorymonitor.c:
2484 * inotify/ginotifyfilemonitor.c:
2485 Use the extension points registration instead
2486 of g_type_children().
2488 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2491 * gvolume.[hc]: Document new API.
2493 * gfile.c (g_file_copy_async): Fix docs
2495 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2497 * gbufferedinputstream.c:
2499 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2502 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2504 * glocalfile.c: Avoid trivial differences in translatable strings.
2506 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2508 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2509 build with gcc 3.4 (#509419)
2511 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2513 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2514 (#509994, Murray Cumming)
2516 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2518 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2519 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2520 this allows big jobs to be executed in chunks, instead of blocking
2521 the main loop for a long time.
2523 * gsimpleasyncresult.c:
2524 * giofile.c: Adapt callers.
2526 2008-01-25 Alexander Larsson <alexl@redhat.com>
2528 * gdesktopappinfo.c:
2529 Implement changes discussed on xdg list.
2530 Now we can add supported mimetypes by just using defaults.list
2531 We can also remove associations in defaults.list.
2533 2008-01-25 Alexander Larsson <alexl@redhat.com>
2535 * gdesktopappinfo.c:
2536 Don't make local copy of desktop file
2537 for mimetype changes if the file already
2538 supports the new mimetype.
2540 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2544 * gbufferedinputstream.c:
2545 * glocalfile.c: String improvements. (#511966,
2546 Theppitak Karoonboonyanan)
2548 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2550 * gioscheduler.h: Expand docs a bit.
2552 2008-01-24 Alexander Larsson <alexl@redhat.com>
2555 Add g_drive_get_identifier and
2556 g_drive_enumerate_identifiers
2559 Add g_volume_get_identifier and
2560 g_volume_enumerate_identifiers
2566 Implement identifiers for unix backend
2568 2008-01-24 Alexander Larsson <alexl@redhat.com>
2573 Add g_file_copy_async() (#511580)
2574 Based on patch from Carlos Garcia Campos
2576 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2578 * gioscheduler.c: Some documentation additions.
2580 2008-01-22 Alexander Larsson <alexl@redhat.com>
2582 * gdesktopappinfo.c:
2583 (g_desktop_app_info_new):
2584 Don't leak basename.
2586 2008-01-22 Alexander Larsson <alexl@redhat.com>
2588 * gdesktopappinfo.c:
2589 (g_desktop_app_info_new_from_filename):
2592 2008-01-22 Alexander Larsson <alexl@redhat.com>
2594 * glocalfileinfo.c (get_thumbnail_attributes):
2597 2008-01-22 Alexander Larsson <alexl@redhat.com>
2600 (canonicalize_filename):
2601 Canonicalize paths that start with more than
2605 (compare_two_files):
2606 (test_g_file_new_for_path):
2609 2008-01-22 Alexander Larsson <alexl@redhat.com>
2612 Allow UTF-8 in file:// parse names.
2614 * tests/Makefile.am:
2615 * tests/data-input-stream.c:
2616 * tests/data-output-stream.c:
2617 * tests/g-file-info.c:
2619 Added a bunch of tests from Tomas Bzatek
2621 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2623 * === Released 2.15.3 ===
2625 2008-01-21 Alexander Larsson <alexl@redhat.com>
2627 * gfileinputstream.[ch]:
2628 * gfileoutputstream.[ch]:
2630 Remove duplicated GSeekable functions. (#509990)
2631 Just use the g_seekable_xxx() calls instead.
2633 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2636 * gvolumemanager.c: Whitespace cleanups.
2638 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2639 Use the right mode when creating the file.
2641 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2643 * gfileenumerator.c:
2644 * gfileinputstream.c:
2646 * goutputstream.c: Documentation: Fixed minor typos
2647 and added more mentions of specific _finish() functions.
2649 2008-01-21 Alexander Larsson <alexl@redhat.com>
2651 * inotify/Makefile.am:
2652 * inotify/inotify-helper.c:
2653 * inotify/inotify-kernel.c:
2654 * inotify/inotify-path.c:
2655 * inotify/local_inotify.h: Removed.
2656 * inotify/local_inotify_syscalls.h: Removed.
2657 Removed the included copies of the inotify
2658 headers. We now only use the <sys/inotify.h>
2659 header which exists on modern systems.
2660 This fixes problems on ARM and SH5 (#510448)
2661 but is also generally much cleaner and future
2662 safe. For instance, if other OSes add support
2663 for inotify it should "just work".
2665 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2667 * inotify/*.c: Coding style fixes.
2668 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2669 for the 1/4 Hz timer.
2671 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2674 * gfilemonitor.[hc]:
2675 * gmemoryinputstream.c:
2676 * gmemoryoutputstream.c:
2677 * gmountoperation.c:
2678 * gthemedicon.c: Documentation updates
2680 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2682 * gfile.c: documentation: Fixed more minor
2685 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2687 * gmount.c: (g_mount_remount): documentation:
2688 Mention g_mount_remount_finish() instead of
2689 g_mount_unmount_finish().
2691 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2695 * gfile.c: Fixed some minor typos in the
2698 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2700 * gio/gvolumemonitor.c:
2701 (g_volume_monitor_get_connected_drives):
2702 (g_volume_monitor_get_volumes):
2703 (g_volume_monitor_get_mounts): Documentation:
2704 Clarify the ownership of the regurn GLists.
2706 2008-01-17 Alexander Larsson <alexl@redhat.com>
2709 Add the async find_enclosing_mount version
2710 to the header file too.
2712 2008-01-17 Alexander Larsson <alexl@redhat.com>
2715 Add async version of find_enclosing_mount
2716 with default implementation.
2718 2008-01-17 Alexander Larsson <alexl@redhat.com>
2723 Allow calls to implementation of copy and write
2724 even if the type of the file implementations is
2725 different. This can be used to implement native
2726 upload and download calls in a vfs.
2729 (g_local_file_move):
2730 Protect against the case where move is called
2731 with one file not being local.
2733 Make sure we call the progress callback once
2734 in the native move operation so that the caller
2735 knows how many bytes were copied.
2737 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2740 * gdatainputstream.c:
2742 * gfileoutputstream.c:
2747 * gunixmounts.c: Corrected some typos in the documentation:
2748 occured -> occurred.
2749 its -> it's (where appropriate).
2751 2008-01-16 Alexander Larsson <alexl@redhat.com>
2755 Add g_file_query_exists (#508771)
2757 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2762 * gvolume.c: For async functions that have no non-async
2763 version, document that the GAsyncReadyCallback may be NULL.
2766 2008-01-15 Alexander Larsson <alexl@redhat.com>
2768 * gmemoryinputstream.c:
2769 * gmemoryoutputstream.c:
2770 Don't do pointer arithmetic on void * (#508602)
2771 Patch from Kazuki IWAMOTO
2773 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2775 * === Released 2.15.2 ===
2777 2008-01-14 Alexander Larsson <alexl@redhat.com>
2779 * gfile.c (g_file_monitor_file):
2780 Don't set error here, since we fallback to polling monitor.
2782 2008-01-14 Alexander Larsson <alexl@redhat.com>
2785 (g_file_monitor_directory):
2786 (g_file_monitor_file):
2787 Add GError to file monitor calls
2789 * glocaldirectorymonitor.c:
2790 * glocaldirectorymonitor.h:
2792 * glocalfilemonitor.c:
2793 * glocalfilemonitor.h:
2795 Update for above change
2797 2008-01-14 Alexander Larsson <alexl@redhat.com>
2801 Handle root correctly in g_file_get_relative_path (#508719)
2803 2008-01-14 Alexander Larsson <alexl@redhat.com>
2806 Clean up docs and example for GAsyncResult (#508074)
2808 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2810 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2811 and correct some spelling mistakes. Bug #508108.
2813 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2815 * glocalfileinfo.c: Add a comment.
2817 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2819 * gfileinfo.c: GFileInfo description: Mention
2820 how to actually set attributes in a GFile and how to discover
2821 which attributes are settable. Bug #508378.
2823 2008-01-10 A. Walton <awalton@svn.gnome.org>
2825 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2826 (g_app_info_get_default_for_type):
2827 Check for NULL content types.
2829 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2831 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2833 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2835 * gfile.c: *_async() functions: Several small corrections
2836 to the documentation, mostly correcting copy/paste errors
2837 and improving some sentences.
2839 2008-01-09 Dan Winship <danw@gnome.org>
2841 * glocalfile.c (get_unique_filename): x86_64 fix
2843 2008-01-09 Alexander Larsson <alexl@redhat.com>
2848 Add g_unix_mount_guess_should_display and use
2849 for unix volume monitor backend.
2850 This means we more or less show what the
2851 gnome-vfs backend did.
2852 Based on patch from Padraig O'Briain
2854 2008-01-09 Alexander Larsson <alexl@redhat.com>
2858 Add g_themed_icon_new_with_default_fallbacks
2861 Use default fallbacks for icons
2863 2008-01-09 Alexander Larsson <alexl@redhat.com>
2866 * gmountoperation.[ch]:
2867 Change the API a bit so that unhandled methods
2868 get reported via the reply, rather than by
2869 the signal emission return value. This is because
2870 some handlers can't know this immediately without
2871 doing I/O, and this is an async operation that
2874 2008-01-09 Alexander Larsson <alexl@redhat.com>
2877 * fam/gfamdirectorymonitor.c:
2878 * fam/gfamfilemonitor.c:
2879 Fix double free crash (#508224)
2880 Patch from Joe Marcus Clarke
2882 008-01-07 Matthias Clasen <mclasen@redhat.com>
2884 * === Released 2.15.1 ===
2886 2008-01-07 Alexander Larsson <alexl@redhat.com>
2888 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2889 Fix warning (#507835)
2891 2008-01-07 Alexander Larsson <alexl@redhat.com>
2894 Pass --internal to glib-genmarshal
2897 * gmountoperation.c:
2899 Use better types for signal arguments (#507822)
2901 2008-01-07 Alexander Larsson <alexl@redhat.com>
2904 Build test subdir after .
2905 Remove gdirectorymonitor.[ch]
2907 * gdirectorymonitor.[ch]:
2911 Remove GDirectoryMonitor and make
2912 GFileMonitor the baseclass for both file and
2913 directory monitors. Lift the more generic
2914 rate limiting code from GDirectoryMonitor
2918 * fam/gfamdirectorymonitor.[ch]:
2919 * inotify/ginotifydirectorymonitor.[ch]:
2920 * inotify/inotify-helper.c:
2921 * glocaldirectorymonitor.[ch]:
2924 Update for the removed GDirectoryMonitor.
2926 * gmemoryoutputstream.c:
2927 Remove ununsed variable
2929 2008-01-07 Alexander Larsson <alexl@redhat.com>
2931 * gmemoryinputstream.c:
2932 Translate error strings
2935 * gmemoryoutputstream.[ch]:
2936 New implementation that avoids using GByteArray
2937 in implementation and API. (#506377)
2939 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2941 * tests/*: Add a test for memory input streams.
2943 * Makefile.am: Add tests to SUBDIRS.
2945 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2947 * glocalfilemonitor.c:
2948 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2951 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2953 * gdesktopappinfo.c: Fix a docs typo.
2955 * gfileattribute.c: Add information about extended attributes
2956 to the documentation. (#505058)
2958 2008-01-04 Alexander Larsson <alexl@redhat.com>
2961 * gmountoperation.c:
2962 Use the right type (uint) for the ask_password signal.
2964 2008-01-04 Alexander Larsson <alexl@redhat.com>
2969 Add g_app_info_supports_files()
2970 Remove desktop arg from g_app_info_should_show().
2972 * gdesktopappinfo.[ch]:
2973 Implement g_app_info_supports_files() and new should_show()
2974 Add g_desktop_app_info_set_desktop_env() to set the desktop
2975 for should_show(). (This will be set by gtk+ later)
2977 2008-01-04 Alexander Larsson <alexl@redhat.com>
2980 * gmemoryinputstream.[ch]:
2981 Improve API so that you can use multiple chunks
2982 of memory and custom destroy functions. (#506374)
2984 2008-01-03 Alexander Larsson <alexl@redhat.com>
2987 Handle NULL attribute matchers safely, as we return this
2988 for empty attribute matcher strings.
2990 2008-01-03 Alexander Larsson <alexl@redhat.com>
2992 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2993 Add /usr/local to list of internal mountpoints
2995 2008-01-03 Alexander Larsson <alexl@redhat.com>
2998 Check for HAVE_LCHOWN (#505887)
3000 2008-01-03 Alexander Larsson <alexl@redhat.com>
3004 Add define for selinux context attribute.
3005 Fix missing : -> :: namespace separator change
3006 Fix missing _ -> - name change for xattr-sys.
3009 2008-01-03 Alexander Larsson <alexl@redhat.com>
3012 Link to libglib and libgobject directly (#504879)
3013 Patch from Sebastien Bacher
3015 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3017 * gfile.c: Expanded the g_file_new_for_commandline_arg
3018 description a bit, based on the code and the docs of the
3019 other g_file_new_for_* functions.
3021 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3023 * gfilemonitor.h: Fixed typo in docs.
3025 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3027 Updates to GIO documentation. (#506395, Mikael Hermansson)
3029 * gcontenttype.c: Describe memory management for return value of
3030 g_content_types_get_registered(). Missing piece from #505815.
3031 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3032 GVolume, GDrive, GMounts, which hopefully gives the user less
3033 confusions when using this API. Following explainations from
3034 Alexander Larsson on gtk-devel-list.
3036 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3038 * gfileinfo.c: Expand the long description.
3040 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3043 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3044 fix builds with --disable-visibility. (#500273, Christian Persch)
3046 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3048 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3049 in the list of returned app infos.
3051 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3053 * gappinfo.c: Fix a cross-reference
3055 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3057 * gfileinputstream.c:
3058 * gfileoutputstream.c:
3062 * gdesktopappinfo.c:
3064 * gfileinfo.c: Documentation updates.
3066 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3068 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3071 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3073 * gcontenttype.c (g_content_types_get_registered): Don't return
3074 freed memory (#505815, Mikael Hermansson)
3076 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3078 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3079 used to detect statbuf->st_blocks. (#505042)
3081 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3083 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3084 environment handling. (#504829, Cosimo Cecchi)
3086 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3088 * gappinfo.c: Doc improvements
3090 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3093 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3095 * === Released 2.15.0 ===
3097 2007-12-20 Hans Breuer <hans@breuer.org>
3099 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3100 with symbols gwin32appinfo.obj, added gmount.obj
3101 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3103 2007-12-20 Alexander Larsson <alexl@redhat.com>
3109 * gfilenamecompleter.c:
3112 * gpollfilemonitor.c:
3113 File attribute renames:
3115 fs:: -> filesystem::
3116 id::fs -> id::filesystem
3118 2007-12-20 Alexander Larsson <alexl@redhat.com>
3127 Add GMountUnmountFlags to all unmount and
3129 Add g_mount_remount() call.
3131 2007-12-20 Alexander Larsson <alexl@redhat.com>
3133 * gvfs.c (get_default_vfs):
3134 Fix unused variable warning
3136 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3138 * pltcheck.sh: Update
3140 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3142 * gunionvolumemonitor.c:
3143 * gunixmount.c: Remove C99 comments
3145 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3147 * gio.symbols: Add some missing symbols
3149 2007-12-19 Alexander Larsson <alexl@redhat.com>
3152 Make g_io_modules_load_all_in_directory not unuse
3153 loaded modules so that users of it can do stuff
3155 Init internal "module" types.
3156 Initialize static prio and name for types so that
3157 we don't have to load modules to get it.
3159 * gnativevolumemonitor.h:
3161 Move is_supported to parent class so that
3162 non-native monitors can avoid being initialized
3163 too. (For instance GDaemonVolumeMonitor if we're
3164 not using GDaemonVfs.)
3166 * glocaldirectorymonitor.[ch]:
3167 * glocalfilemonitor.[ch]:
3168 * gunionvolumemonitor.c:
3169 * gunixvolumemonitor.c:
3171 Find plugins using the static prio+name to
3172 avoid unnecessarily loading the modules.
3174 2007-12-19 Alexander Larsson <alexl@redhat.com>
3179 2007-12-19 Alexander Larsson <alexl@redhat.com>
3181 * gunionvolumemonitor.c:
3182 Store the native type as GType, not class so that
3183 we can unload it. But still avoid unnecessarily
3186 2007-12-19 David Zeuthen <davidz@redhat.com>
3188 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3189 add signals 'disconnected' and 'eject-button' on GDrive. Add
3190 signal 'removed' on GVolume and 'unmounted' on GMount.
3192 * gdrive.c: (g_drive_base_init):
3194 * gfile.c: (g_file_mount_mountable),
3195 (g_file_mount_enclosing_volume):
3198 * gmount.c: (g_mount_base_init):
3200 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3201 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3202 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3206 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3208 * *.c: Fix up includes in the section docs.
3210 2007-12-17 Alexander Larsson <alexl@redhat.com>
3212 * gnativevolumemonitor.h:
3213 * gunionvolumemonitor.c:
3214 * gunixvolumemonitor.c:
3215 Add is_supported() to GNativeVolumeMonitorClass so
3216 that we can avoid having to create an object to see
3217 if the backend is supported at runtime.
3218 Also add name member and an env var to pick a specific
3219 volume monitor backend.
3223 Add cancellable to _g_mount_get_for_mount_path()
3225 * glocaldirectorymonitor.c:
3226 * glocalfilemonitor.c:
3227 Avoid loading and unloading modules while sorting.
3229 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3232 * gunixmounts.[hc]: Namespace waste reduction, move some
3233 g_get_unix_mount functions to the g_unix_mount namespace.
3236 * gunixvolumemonitor.c:
3238 * glocaldirectorymonitor.c: Update all callers.
3240 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3242 2007-12-17 Alexander Larsson <alexl@redhat.com>
3245 Add doc comments about what GFile operations are
3246 guaranteed to not block.
3248 2007-12-17 Alexander Larsson <alexl@redhat.com>
3251 Add missing #ifdef fixing OSX build.
3252 (#503334, patch from Richard Hult)
3254 2007-12-14 David Zeuthen <davidz@redhat.com>
3258 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3259 (g_mount_eject), (g_mount_eject_finish):
3261 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3262 (get_volume_for_uuid), (get_mount_for_uuid),
3263 (g_union_volume_monitor_class_init),
3264 (get_default_native_type_with_exclude), (get_default_native_type),
3265 (get_native_type), (update_native_type),
3266 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3267 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3268 (g_unix_mount_can_eject), (eject_unmount_cb),
3269 (eject_unmount_read_error), (eject_unmount_do),
3270 (g_unix_mount_unmount), (g_unix_mount_eject),
3271 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3272 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3273 (g_unix_mount_point_guess_can_eject):
3275 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3276 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3277 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3278 (g_unix_volume_mount), (g_unix_volume_eject),
3279 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3280 * gunixvolumemonitor.c: (get_volume_for_uuid),
3281 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3283 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3284 (g_volume_eject), (g_volume_eject_finish):
3286 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3287 (g_volume_monitor_get_mount_for_uuid):
3290 Provide eject() on both GMount and GVolume and utility functions
3291 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3292 ejected. Introduce the concept of UUID's and wire it into GVolume
3293 and GMount and provide API on GVolumeMonitor to find such
3294 instances. Also handle the case where an external
3295 GNativeVolumeMonitor fails to initialize. Lock around the
3296 _g_get_mount_for_mount_path() function such that volume monitor
3297 implementations won't have to do locking themselves.
3299 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3301 * gdesktopappinfo.c:
3307 * gvolume.h: Documentation updates
3309 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3312 * gfile.h: Doc updates
3314 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3317 * gdesktopappinfo.c: Use hash table iterators.
3319 2007-12-14 Alexander Larsson <alexl@redhat.com>
3322 * gfileattribute.[ch]:
3323 * gfileattribute-priv.h:
3324 Move GFileAttributeValue to a private header, as
3328 Make set_attribute take a type + a pointer instead
3329 of a GFileAttributeValue.
3332 Fix up for above changes.
3333 Add g_file_info_get_attribute_data to get
3334 all info in one call, g_file_info_get_attribute_status
3335 to get the status and g_file_info_get_attribute_as_string.
3339 * glocalfileinfo.[ch]:
3343 Make _guess_type static.
3345 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3348 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3349 made mkenums and friends use temporary files to avoid leaving
3350 empty generated files on failure (#503470).
3352 2007-12-14 Alexander Larsson <alexl@redhat.com>
3354 * gmountoperation.h:
3357 2007-12-14 Alexander Larsson <alexl@redhat.com>
3361 * gfileattribute.[ch]:
3364 * glocalfileoutputstream.c:
3365 * gmountoperation.[ch]:
3366 * goutputstream.[ch]:
3367 Clean up all flags enums to not have _FLAGS in them
3368 Make the names of some of the enums better.
3373 2007-12-14 Michael Natterer <mitch@imendio.com>
3375 * gio.symbols: fix g_io_scheduler symbol names.
3377 2007-12-14 Alexander Larsson <alexl@redhat.com>
3383 * gbufferedinputstream.h:
3384 * gbufferedoutputstream.h:
3387 * gdatainputstream.h:
3388 * gdataoutputstream.h:
3389 * gdesktopappinfo.h:
3390 * gdirectorymonitor.h:
3394 * gfileenumerator.h:
3397 * gfileinputstream.h:
3399 * gfilenamecompleter.h:
3400 * gfileoutputstream.h:
3401 * gfilterinputstream.h:
3402 * gfilteroutputstream.h:
3410 * gmemoryinputstream.h:
3411 * gmemoryoutputstream.h:
3413 * gmountoperation.h:
3416 * gsimpleasyncresult.h:
3418 * gunixinputstream.h:
3420 * gunixoutputstream.h:
3424 * inotify/Makefile.am:
3425 Only allow including <gio/gio.h> from apps
3427 2007-12-14 Alexander Larsson <alexl@redhat.com>
3429 * gioscheduler.[ch]:
3430 * gsimpleasyncresult.c:
3431 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3432 Split out the send_to_mainloop call into two versions instead
3433 of having the block argument.
3435 2007-12-13 Alexander Larsson <alexl@redhat.com>
3437 * gcancellable.[ch]:
3439 * gbufferedinputstream.c:
3440 * gfileenumerator.c:
3441 * gfileinputstream.c:
3442 * gfileoutputstream.c:
3446 g_push/pop_current_cancellable ->
3447 g_cancellable_push/pop_current
3449 2007-12-13 Alexander Larsson <alexl@redhat.com>
3453 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3455 2007-12-13 Alexander Larsson <alexl@redhat.com>
3457 * gmountoperation.h:
3458 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3460 2007-12-12 Alexander Larsson <alexl@redhat.com>
3463 Fix race condition when freeing proxy in
3464 g_io_job_send_to_mainloop().
3466 2007-12-12 Alexander Larsson <alexl@redhat.com>
3472 Make attribute namespace separator "::" instead of ":".
3473 Use - instead of _ as separator in attribute names.
3475 2007-12-12 Alexander Larsson <alexl@redhat.com>
3477 * gbufferedinputstream.h:
3478 * gbufferedoutputstream.h:
3479 * gdatainputstream.h:
3480 * gdataoutputstream.h:
3481 * gdirectorymonitor.h:
3482 * gfileenumerator.h:
3483 * gfileinputstream.h:
3485 * gfileoutputstream.h:
3486 * gfilterinputstream.h:
3487 * gfilteroutputstream.h:
3489 * glocalfileinputstream.h:
3490 * glocalfileoutputstream.h:
3491 * gmemoryinputstream.h:
3492 * gmemoryoutputstream.h:
3493 * gnativevolumemonitor.h:
3495 * gunixinputstream.h:
3496 * gunixoutputstream.h:
3499 s/parent/parent_instance/ in GObjects
3501 2007-12-12 Alexander Larsson <alexl@redhat.com>
3506 No need for padding for interfaces
3508 2007-12-12 Alexander Larsson <alexl@redhat.com>
3512 * gbufferedinputstream.c:
3513 * gbufferedoutputstream.c:
3516 * gdatainputstream.[ch]:
3517 * gdesktopappinfo.c:
3518 * gdirectorymonitor.c:
3520 * gfileattribute.[ch]:
3523 * gfileinputstream.h:
3524 * gfilemonitor.[ch]:
3525 * gfileoutputstream.[ch]:
3526 * gfilterinputstream.h:
3527 * gfilteroutputstream.h:
3530 * gloadableicon.[ch]:
3531 * gmemoryinputstream.c:
3532 * gmountoperation.c:
3534 Fix up a bunch of details in the docs.
3539 2007-12-11 David Zeuthen <davidz@redhat.com>
3541 Rework how volumes, drives and volume monitoring is
3542 done. Previosly the model was
3544 GDrive <1-1> GVolume
3546 where a GDrive instance represented a mount point and a GVolume
3547 instance represented a mounted file system. This patch changes it
3550 GDrive <1-N> GVolume <1-1> GMount
3552 where GMount now serves the purpose of the old GVolume and the new
3553 GVolume serves the purpose of the old GDrive. In addition the new
3554 GDrive interface is used to represent a collection of GVolume
3555 instances (typically partitions) and also contains utility to query
3556 the state of the physical drive the GDrive object represents (such
3557 as checking for media, polling the drive, ejecting the media etc.).
3559 Also implement mounting and unmounting in the Unix volume monitor
3560 backend. A subquent patch will introduce GDrive support for ejection
3564 * gdrive.c: (g_drive_is_media_check_automatic),
3565 (g_drive_is_media_removable), (g_drive_has_media),
3566 (g_drive_can_poll_for_media), (g_drive_eject),
3567 (g_drive_eject_finish), (g_drive_poll_for_media),
3568 (g_drive_poll_for_media_finish):
3570 * gfile.c: (g_file_find_enclosing_mount):
3573 * glocaldirectorymonitor.c:
3574 (g_local_directory_monitor_constructor), (mounts_changed):
3575 * glocalfile.c: (get_mount_info),
3576 (g_local_file_find_enclosing_mount),
3577 (g_local_file_file_iface_init):
3578 * gnativevolumemonitor.h:
3579 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3580 (get_connected_drives), (g_union_volume_monitor_class_init),
3581 (child_volume_added), (child_volume_removed),
3582 (child_volume_changed), (child_mount_added), (child_mount_removed),
3583 (child_mount_pre_unmount), (child_mount_changed),
3584 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3585 (g_union_volume_monitor_remove_monitor),
3586 (_g_mount_get_for_mount_path):
3587 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3588 (guess_system_internal), (_g_get_unix_mounts),
3589 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3590 (g_unix_mount_free), (g_unix_mount_compare),
3591 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3592 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3593 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3594 (type_to_icon), (g_unix_mount_guess_name),
3595 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3596 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3597 (_resolve_symlink), (_resolve_dev_root):
3599 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3600 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3601 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3602 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3603 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3604 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3605 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3606 (g_unix_volume_volume_iface_init):
3608 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3609 (get_mounts), (get_volumes), (get_connected_drives),
3610 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3611 (mountpoints_changed), (mounts_changed),
3612 (g_unix_volume_monitor_init),
3613 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3614 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3615 * gunixvolumemonitor.h:
3616 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3617 (g_volume_mount), (g_volume_mount_finish):
3619 * gvolumemonitor.c: (g_volume_monitor_class_init),
3620 (g_volume_monitor_get_connected_drives),
3621 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3624 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3626 * gmountoperation.h (GPasswordFlags): Close the gap
3628 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3630 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3632 * gdesktopappinfo.[hc]: Remove _-prefixes
3634 2007-12-10 Tor Lillqvist <tml@novell.com>
3636 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3639 2007-12-10 Alexander Larsson <alexl@redhat.com>
3641 * gfile.c (g_file_set_display_name):
3642 Don't hardcode '/' (#502727)
3644 2007-12-09 Hans Breuer <hans@breuer.org>
3646 * makefile.msc : follow lib naming convention
3647 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3648 for user and group name, tested with ../tests/gio-ls
3650 2007-12-09 A. Walton <awalton@svn.gnome.org>
3652 * gdesktopappinfo.c:
3658 * gfileenumerator.c:
3663 * gmemoryinputstream.c:
3664 * gmemoryoutputstream.c:
3666 * gsimpleasyncresult.c:
3667 More documentation cleanup and filling in missing information, bringing
3668 GIO to 99% symbol coverage.
3670 2007-12-08 Hans Breuer <hans@breuer.org>
3672 [gio compiles and links on win32, not sure how much already works]
3673 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3674 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3675 base on win32 API; prefer g_lstat() over lstat(); instead of
3676 localtime_r() use an all GLib implementation on win32;
3677 get_mount_info() still needs a win32 specifc implementation
3678 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3679 win32_get_file_user_info to get owner/group info without uid/gid
3680 * glocalfileinputstream.c : include <io.h> on win32
3681 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3682 definition, use g_win32_ftruncate() for G_OS_WIN32
3683 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3684 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3685 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3686 * makefile.msc : updated
3688 2007-12-07 Alexander Larsson <alexl@redhat.com>
3690 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3691 Avoid warning spew if error == NULL
3693 2007-12-07 Alexander Larsson <alexl@redhat.com>
3696 Update docs wrt etags
3698 2007-12-06 Alexander Larsson <alexl@redhat.com>
3701 Include sys/types.h for dev_t (#501919)
3703 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3707 Make abicheck and pltcheck pass.
3709 2007-12-05 Alexander Larsson <alexl@redhat.com>
3712 * giomodule-priv.h: Added.
3713 * glocaldirectorymonitor.c:
3714 * glocalfilemonitor.c:
3715 * gunionvolumemonitor.c:
3717 Actually add the declaration of _g_io_modules_ensure_loaded
3719 2007-12-05 Alexander Larsson <alexl@redhat.com>
3721 * gdatainputstream.c:
3726 * glocaldirectorymonitor.c:
3727 * glocalfilemonitor.c:
3728 * gunionvolumemonitor.c:
3730 Make g_io_modules_ensure_loaded a private function and
3731 don't pass in the dirname. This means we can do magic
3732 directory finding in the win32 version.
3733 Export the actual load-modules-in-directory code so that
3734 gvfs can reuse that.
3736 2007-12-05 Alexander Larsson <alexl@redhat.com>
3738 * gbufferedinputstream.c:
3739 * gbufferedoutputstream.c:
3742 * gfileenumerator.[ch]:
3743 * gfileinputstream.c:
3744 * gfileoutputstream.[ch]:
3745 * gfilterinputstream.c:
3746 * gfilteroutputstream.c:
3747 * ginputstream.[ch]:
3749 * glocalfileenumerator.c:
3750 * glocalfileinputstream.c:
3751 * glocalfileoutputstream.c:
3752 * gmemoryinputstream.c:
3753 * gmemoryoutputstream.c:
3754 * goutputstream.[ch]:
3757 * gunixinputstream.c:
3758 * gunixoutputstream.c:
3759 Rename all struct members named:
3760 read, write, close, truncate, or mount
3761 to foo_fn, as these are reserved names
3762 and could be defined as macros in libc.
3765 2007-12-04 Alexander Larsson <alexl@redhat.com>
3768 (g_output_stream_close):
3769 Only call flush if non-null.
3771 2007-11-30 Dan Winship <danw@gnome.org>
3773 * ginputstream.c (g_input_stream_set_pending): Make this take a
3774 GError and return a gboolean, and do the "outstanding operation"
3775 check (and the "stream is already closed" check) itself.
3776 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3778 * goutputstream.c (g_output_stream_set_pending)
3779 (g_output_stream_clear_pending): Likewise
3781 * gbufferedinputstream.c:
3782 * gfileinputstream.c:
3783 * gfileoutputstream.c: Update for that
3785 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3786 Like g_simple_async_report_error_in_idle, but takes a GError
3787 rather than building one.
3789 2007-11-30 Dan Winship <danw@gnome.org>
3791 * goutputstream.c: Don't cheat and unset the "pending" flag around
3792 inner calls. Instead, call the class method directly rather than
3793 the wrapper function that checks "pending"
3795 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3797 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3799 2007-12-03 Hans Breuer <hans@breuer.org>
3801 [start of port to win32/msvc]
3802 * gcancellable.c : HAVE_UNIST_H and _pipe()
3803 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3804 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3805 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3807 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3808 * glocalvfs.c : use HAVE_PWD_H
3809 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3810 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3811 * Makefile.am : added to EXTRA_DIST
3813 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3815 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3818 2007-12-03 Alexander Larsson <alexl@redhat.com>
3821 Handle OSX style xattrs API (#500506)
3823 2007-12-03 Alexander Larsson <alexl@redhat.com>
3827 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3829 2007-12-02 A. Walton <awalton@svn.gnome.org>
3833 Documentation accuracy fixes.
3835 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3837 * gioenumtypes.c.template: Fix typo.
3839 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3841 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3843 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3845 * gdirectorymonitor.c:
3846 * gfilemonitor.c: Add properties
3848 * gbufferedoutputstream.c: Don't mark buffer-size property
3851 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3853 * gbufferedoutputstream.c: Add auto-grow property.
3855 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3857 * *.c: Unify the capitalization of section headings.
3859 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3861 * gmountoperation.c: Add properties
3863 * gdatainputstream.c: Turn byte-order and newline-type into
3866 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3868 * gioenumtypes.[hc].template: Templates for enum registration
3870 * Makefile.am: Generate gioenumtypes.[hc]
3872 * gio.h: Include gioenumtypes.h
3874 * gfile.h: Add some explicit nicks.
3876 * gio.symbols: Add new symbols
3878 * pltcheck.sh: Adjust
3880 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3882 * *.c: Explain etags and link to the explanation
3884 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3886 * *.c: Explain I/O priority.
3888 * *.c: More coding style fixes.
3890 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3892 * gasyncresult.c: Add another paragraph to the intro,
3893 adjust coding style of example.
3895 2007-11-29 A. Walton <awalton@svn.gnome.org>
3898 Fixes unknown meaning in GAppLaunchContext docs.
3900 Clarify asynchronous ops.
3902 Fix entity tag docs.
3905 Provides missing gtk-doc section, fixes API docs slighly.
3906 * gsimpleasyncresult.c:
3907 Fill in missing info in docs.
3908 * gunixinputstream.c:
3909 * gunixoutputstream.c:
3910 Be more expressive in short description.
3912 Remove gtk-doc stubs for non-public API.
3914 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3916 * *.c: Coding style fixups
3918 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3920 * inotify/inotify-helper.c: Don't export the lock from libgio.
3922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3925 * abicheck.sh: Fix copy-and-paste leftovers
3927 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3929 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3931 2007-11-28 Alexander Larsson <alexl@redhat.com>
3935 Removed unnecessary file
3937 * gdesktopappinfo.[ch]:
3940 * glocaldirectorymonitor.[ch]:
3942 * glocalfileenumerator.[ch]:
3943 * glocalfileinputstream.[ch]:
3944 * glocalfilemonitor.[ch]:
3945 * glocalfileoutputstream.[ch]:
3947 * gnativevolumemonitor.c:
3948 * gpollfilemonitor.[ch]:
3949 * gunionvolumemonitor.[ch]:
3952 * gunixvolumemonitor.[ch]:
3955 * inotify/ginotifydirectorymonitor.[ch]:
3956 * inotify/ginotifyfilemonitor.[ch]:
3957 * inotify/inotify-helper.c:
3958 Append _ to all internal functions
3962 Export symbols needed for modules
3964 2007-11-28 Alexander Larsson <alexl@redhat.com>
3967 * abicheck.sh: Added.
3968 * makegioalias.pl: Added.
3969 * pltcheck.sh: Added.
3970 * gio.symbols: Added.
3973 Initial work on adding symbol handling.
3976 Correct ifdef guard name
3979 * inotify/Makefile.am:
3980 * xdgmime/Makefile.am:
3981 Include toplevel Makefile.decl
3983 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3985 * gcontenttype.c: Move doc comments to the unix section.
3987 * *.[hc]: More trivial doc corrections.
3989 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3991 * gpollfilemonitor.c:
3995 * gdesktopappinfo.c:
4000 * gdatainputstream.c:
4001 * gdatainputstream.h:
4002 * gdataoutputstream.c:
4003 * gdataoutputstream.h:
4004 * gfileinfo.h: Doc cleanups
4006 2007-11-28 Andre Klapper <a9016009@gmx.de>
4008 * gdesktopappinfo.c: Fix a typo.
4010 2007-11-27 Andre Klapper <a9016009@gmx.de>
4012 * glocalfileoutputstream.c: Fix a typo.
4014 2007-11-27 Alexander Larsson <alexl@redhat.com>
4017 Don't include removed headers
4019 2007-11-27 Alexander Larsson <alexl@redhat.com>
4022 * gsocketinputstream.[ch]: Removed.
4023 * gsocketoutputstream.[ch]: Removed.
4024 * gunixinputstream.[ch]: Added.
4025 * gunixoutputstream.[ch]: Added.
4026 Renamed GSocket*Stream to GUnix*Stream and made
4027 it unix-only, since its not really only for sockets
4028 and it only works on unix (but is highly useful there).
4030 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4036 * gbufferedinputstream.c:
4037 * gbufferedinputstream.h:
4038 * gbufferedoutputstream.c:
4039 * gbufferedoutputstream.h:
4043 * gdatainputstream.c:
4044 * gdatainputstream.h:
4045 * gdataoutputstream.c:
4046 * gdataoutputstream.h:
4047 * gdirectorymonitor.c:
4048 * gdirectorymonitor.h:
4055 * gfileenumerator.c:
4056 * gfileenumerator.h:
4061 * gfileinputstream.c:
4062 * gfileinputstream.h:
4065 * gfilenamecompleter.c:
4066 * gfilenamecompleter.h:
4067 * gfileoutputstream.c:
4068 * gfileoutputstream.h:
4069 * gfilterinputstream.c:
4070 * gfilterinputstream.h:
4071 * gfilteroutputstream.c:
4072 * gfilteroutputstream.h:
4085 * glocalfileoutputstream.c:
4086 * gmemoryinputstream.c:
4087 * gmemoryinputstream.h:
4088 * gmemoryoutputstream.c:
4089 * gmemoryoutputstream.h:
4090 * gmountoperation.c:
4091 * gmountoperation.h:
4094 * gpollfilemonitor.c:
4097 * gsimpleasyncresult.c:
4098 * gsimpleasyncresult.h:
4099 * gsocketinputstream.c:
4100 * gsocketinputstream.h:
4101 * gsocketoutputstream.c:
4102 * gsocketoutputstream.h:
4109 * gunixvolumemonitor.c:
4118 Bumps documentation to 93% symbol coverage, touching most
4119 of the public files. Fixes broken function documentation prototypes.
4120 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4121 gtk-doc headers in private files.
4123 2007-11-27 Jürg Billeter <j@bitron.ch>
4125 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4126 (g_buffered_input_stream_read_byte):
4127 * gbufferedinputstream.h:
4128 New functions for efficient access to buffer and simple single byte
4131 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4132 (g_data_input_stream_read_until):
4133 * gdatainputstream.h:
4134 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4135 read_until with multiple stop chars.
4137 2007-11-27 Alexander Larsson <alexl@redhat.com>
4141 * inotify/Makefile.am:
4142 Use the user-specified giomoduledir
4144 2007-11-27 Alexander Larsson <alexl@redhat.com>
4148 Add catch-all gio.h header
4149 Don't install gdummyfile.h
4151 2007-11-26 Alexander Larsson <alexl@redhat.com>
4153 * Makefile.am (gioinclude_HEADERS):
4154 Remove trailing whitespace
4156 2007-11-26 Alexander Larsson <alexl@redhat.com>
4158 Merge gio-standalone into glib
4160 2007-11-25 Christian Kellner <gicmo@gnome.org>
4162 * gio/goutputstream.c:
4163 Fix small mistake in the docs.
4165 2007-11-21 Christian Persch <chpe@gnome.org>
4167 * gio/glocalfile.c: (g_local_file_trash):
4168 Convert filenames to UTF-8 for GError.
4169 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4170 as per xdg base dir spec.
4172 2007-11-21 Christian Persch <chpe@gnome.org>
4174 * gio/gdesktopappinfo.c:
4175 Use that g_key_file_to_data cannot fail.
4177 Use stock defines for the key file group and key names.
4180 2007-11-21 Alexander Larsson <alexl@redhat.com>
4183 (copy_stream_with_progress):
4184 Make sure we do a final progress callback with
4185 the full total size.
4187 2007-11-21 Alexander Larsson <alexl@redhat.com>
4190 Export g_file_copy_attributes
4191 Remove padding as its not needed for interfaces
4193 2007-11-20 Alexander Larsson <alexl@redhat.com>
4198 Add G_IO_ERROR_WOULD_MERGE for
4199 copy/move dir on dir with overwrite.
4201 2007-11-20 Alexander Larsson <alexl@redhat.com>
4204 * gio/glocalfileinfo.c:
4205 Add COPY_NAME (this is an optional
4206 non-modified utf8 version of the name) that
4209 2007-11-20 Alexander Larsson <alexl@redhat.com>
4211 * gio/glocalfileenumerator.c:
4212 Report errors as GIOError, not GFileError
4214 2007-11-16 Alexander Larsson <alexl@redhat.com>
4216 * gio/glocalfileoutputstream.c:
4217 * gio/gwin32appinfo.c:
4218 Fix typos in strings.
4219 Patch from Luca Ferretti <elle.uca@libero.it>
4221 2007-11-15 Alexander Larsson <alexl@redhat.com>
4224 Post release version bump
4226 === gio-standalone 0.1.2 ===
4228 2007-11-15 Alexander Larsson <alexl@redhat.com>
4230 * docs/reference/gio/Makefile.am:
4231 Fix up distcheck by removing weird
4237 2007-11-14 Alexander Larsson <alexl@redhat.com>
4239 * gio/gdesktopappinfo.c:
4240 * gio/glocaldirectorymonitor.c:
4242 * gio/glocalfileinfo.c:
4243 * gio/inotify/inotify-sub.c:
4244 * programs/gio-cat.c:
4245 * programs/gio-copy.c:
4246 * programs/gio-info.c:
4247 * programs/gio-ls.c:
4248 * programs/gio-monitor-dir.c:
4249 * programs/gio-monitor-file.c:
4250 * programs/gio-mount.c:
4251 * programs/gio-move.c:
4252 * programs/gio-rm.c:
4253 * programs/gio-save.c:
4254 * programs/gio-trash.c:
4255 Leak fixes from Kjartan Maraas
4257 2007-11-14 Alexander Larsson <alexl@redhat.com>
4259 * gio/fam/fam-helper.c:
4261 * gio/glocalfileinfo.c:
4265 * gio/inotify/inotify-diag.c:
4266 * gio/inotify/inotify-kernel.c:
4267 Various code cleanups from Kjartan Maraas
4269 2007-11-14 Alexander Larsson <alexl@redhat.com>
4271 * gio/gioscheduler.c:
4273 Set up threadpool so that we cache 2 unused
4274 idle threads for at 15 secs. This means we
4275 will reuse thread-local data (like dbus connections)
4278 2007-11-14 Alexander Larsson <alexl@redhat.com>
4280 * gio/fam/fam-helper.c:
4281 * gio/fam/gfamdirectorymonitor.c:
4282 * gio/fam/gfamfilemonitor.c:
4284 * gio/gcontenttype.c:
4285 * gio/gdatainputstream.c:
4286 * gio/gdataoutputstream.c:
4290 * gio/gfileattribute.h:
4291 * gio/gfileenumerator.c:
4293 * gio/ginputstream.c:
4296 * gio/glocalfileinfo.c:
4297 * gio/goutputstream.c:
4298 * gio/gpollfilemonitor.c:
4299 * gio/gsimpleasyncresult.c:
4300 * gio/gunixmounts.c:
4301 * gio/gunixmounts.h:
4302 * gio/inotify/ginotifydirectorymonitor.c:
4303 * gio/inotify/ginotifyfilemonitor.c:
4304 * gio/inotify/inotify-diag.c:
4305 * gio/inotify/inotify-kernel.c:
4306 * gio/inotify/inotify-path.c:
4308 * gio/test-streams.c:
4309 * programs/gio-info.c:
4310 * programs/gio-monitor-dir.c:
4311 * programs/gio-monitor-file.c:
4312 Various code cleanups from Kjartan Maraas
4314 2007-11-13 Alexander Larsson <alexl@redhat.com>
4317 Handle the uri-scheme calls for dummy files
4319 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4321 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4322 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4323 to avoid clash with the C++ keyword.
4325 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4327 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4328 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4330 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4332 * gio/glocaldirectorymonitor.c:
4333 * gio/glocalfilemonitor.c:
4334 * gio/gunionvolumemonitor.c:
4335 Don't use g_once_init_*() for initializations that could fail and
4336 could leave the initialization variable set to 0 but use GOnce.
4337 This prevents a deadlock on the second call when trying to create
4338 a monitor and no monitor type is available. Thanks to Sven Herzberg
4341 2007-11-11 Sven Herzberg <sven@imendio.com>
4343 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4344 #ifdef (make it work on MacOS X again)
4346 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4348 Fixes Changelog for last two commits (sorry guys).
4350 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4352 * gio/gbufferedinputstream.c:
4353 * gio/gdatainputstream.c:
4355 * gio/gfileoutputstream.c:
4356 * gio/gfilterinputstream.c:
4357 * gio/glocalfileinputstream.c:
4360 More consistency fixes in g*stream.c files.
4361 Significant clean of gfile's documentation, filling in of
4362 asynchronous operations documentation.
4364 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4366 * gio/gasyncresult.c:
4367 * gio/gbufferedinputstream.c:
4368 * gio/gbufferedoutputstream.c:
4369 * gio/gcancellable.c:
4370 * gio/gcontenttype.c:
4371 * gio/gdatainputstream.c:
4372 * gio/gdataoutputstream.c:
4373 * gio/gdesktopappinfo.c:
4376 * gio/gfileattribute.c:
4377 * gio/gio/gfileenumerator.c:
4379 * gio/gfileinputstream.c:
4380 * gio/gfilemonitor.c:
4381 * gio/gfileoutputstream.c:
4382 * gio/ginputstream.c:
4384 * gio/gioscheduler.c:
4385 * gio/gloadableicon.c:
4386 * gio/glocalfileoutputstream.c:
4387 * gio/gmemoryoutputstream.c:
4388 * gio/gmountoperation.c:
4389 * gio/goutputstream.c:
4391 * gio/gsimpleasyncresult.c:
4392 * gio/gunionvolumemonitor.c:
4393 * gio/gunixmounts.c:
4394 * gio/gunixvolume.c:
4398 * gio/gvolumemonitor.c:
4399 Updated documentation stubs, working towards consistency and
4402 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gio/gmemoryoutputstream.c:
4405 * gio/gmemoryoutputstream.h:
4406 Change g_memory_output_stream_set_free_on_close() to
4407 g_memory_output_stream_set_free_data() as this makes more sense and
4408 is more consistent with GMemoryInputStream.
4410 2007-11-07 Alexander Larsson <alexl@redhat.com>
4417 Change how we find the default vfs so that
4418 we can handle a gvfs failing to init
4420 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4422 * gio/gbufferedoutputstream.c:
4423 * gio/gdatainputstream.c:
4424 * gio/gdataoutputstream.c:
4425 * gio/gfileinputstream.c:
4426 * gio/gfileoutputstream.c:
4427 * gio/gfilterinputstream.c:
4428 * gio/gfilteroutputstream.c:
4429 * gio/ginputstream.c:
4430 * gio/gmemoryinputstream.c:
4431 * gio/gmemoryoutputstream.c:
4432 * gio/goutputstream.c:
4433 * gio/gsimpleasyncresult.c:
4434 * gio/gsocketinputstream.c:
4435 * gio/gsocketoutputstream.c:
4436 Add guards to the remaining public functions, add a TODO for
4437 an unimplemented function and remove some useless guards.
4439 2007-11-07 Alexander Larsson <alexl@redhat.com>
4442 Autoconf checks for the various types of
4443 getpwuid_r and getgrgid_r
4445 * gio/glocalfileinfo.c:
4446 Use the autoconf checks from above
4448 2007-11-07 Alexander Larsson <alexl@redhat.com>
4451 (g_local_file_query_filesystem_info):
4452 Some fixes for the statvfs case
4454 2007-11-07 Alexander Larsson <alexl@redhat.com>
4457 (g_local_file_query_filesystem_info):
4458 Pick the "best" of statfs / statvfs for the system
4459 if both are availible.
4461 2007-11-07 Alexander Larsson <alexl@redhat.com>
4463 Solaris fixes from Halton.Huo@Sun.COM:
4470 * gio/glocalfileinfo.c:
4471 Fix for solaris definition of getpwuid_r
4473 * gio/test-streams.c:
4474 Use G_GNUC_PRETTY_FUNCTION
4476 2007-11-07 Alexander Larsson <alexl@redhat.com>
4478 * gio/gdesktopappinfo.c:
4479 (update_default_list):
4480 Remove double semicolon.
4481 Patch from Jens Granseuer
4483 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4485 * docs/reference/gio/gio-sections.txt:
4486 * gio/gbufferedinputstream.c:
4487 * gio/gbufferedinputstream.h:
4488 * gio/gdatainputstream.c:
4489 * gio/gfileenumerator.c:
4490 * gio/gioscheduler.c:
4491 * gio/gunionvolumemonitor.c:
4493 * programs/gio-save.c:
4494 Fix typo: availible -> available. Unfortuntely this breaks API
4495 and ABI as g_buffered_input_stream_get_available() was renamed.
4497 * gio/gunixmounts.c:
4498 * gio/gbufferedinputstream.c:
4499 Add guards for public functions.
4501 2007-11-06 Ross Burton <ross@openedhand.com>
4503 * docs/reference/gio/Makefile.am:
4504 Fix invalid += usage which automake 1.10 doesn't like.
4506 2007-11-06 Alexander Larsson <alexl@redhat.com>
4509 (g_app_launch_context_class_init):
4512 Patch from Ross Burton
4514 2007-11-06 Alexander Larsson <alexl@redhat.com>
4517 Post release version bump
4519 === gio-standalone 0.1.1 ===
4521 2007-11-06 Alexander Larsson <alexl@redhat.com>
4524 Bump version to 0.1.1
4526 * gio/gsimpleasyncresult.c:
4527 (g_simple_async_result_set_from_error):
4528 Remove bogus g_return_if_fail
4530 2007-11-06 Alexander Larsson <alexl@redhat.com>
4533 The name is gio-standalone
4536 Add top src/builddir to includedir
4538 2007-11-06 Alexander Larsson <alexl@redhat.com>
4540 * docs/reference/gio/gio-sections.txt:
4542 * gio/gbufferedinputstream.c:
4543 * gio/gbufferedoutputstream.c:
4544 * gio/gcancellable.c:
4545 * gio/gdatainputstream.h:
4546 * gio/gdataoutputstream.c:
4547 * gio/gdataoutputstream.h:
4548 * gio/gdirectorymonitor.c:
4550 * gio/gfileattribute.c:
4551 * gio/gfileattribute.h:
4552 * gio/gfileenumerator.c:
4553 * gio/gfileenumerator.h:
4556 * gio/gfileinputstream.h:
4557 * gio/gfilemonitor.c:
4558 * gio/gfileoutputstream.h:
4559 * gio/glocalfilemonitor.h:
4560 * gio/glocalfileoutputstream.h:
4561 * gio/gmemoryinputstream.c:
4562 * gio/gmemoryoutputstream.c:
4563 * gio/gmountoperation.c:
4564 * gio/goutputstream.c:
4565 * gio/goutputstream.h:
4567 * gio/gsimpleasyncresult.c:
4568 * gio/gunixmounts.c:
4569 * gio/gunixmounts.h:
4571 * gio/inotify/inotify-helper.c:
4572 Fix gtk-doc warnings
4574 Patch from Ross Burton
4576 2007-11-06 Alexander Larsson <alexl@redhat.com>
4578 * gio/gfilenamecompleter.c:
4579 (g_filename_completer_get_completions):
4582 * gio/gunixvolume.c:
4583 Remove unused function
4585 Patches from Ross Burton
4587 2007-11-06 Alexander Larsson <alexl@redhat.com>
4592 Padding not needed for interfaces
4594 2007-11-06 Alexander Larsson <alexl@redhat.com>
4596 * gio/gfilemonitor.c:
4600 Make giotypes.h an internal file
4603 * gio/gbufferedinputstream.h:
4604 * gio/gbufferedoutputstream.h:
4605 * gio/gcancellable.h:
4606 * gio/gdatainputstream.h:
4607 * gio/gdataoutputstream.h:
4608 * gio/gdirectorymonitor.c:
4609 * gio/gdirectorymonitor.h:
4614 * gio/gfileattribute.h:
4615 * gio/gfileenumerator.h:
4620 * gio/gfilemonitor.c:
4621 * gio/gfilemonitor.h:
4622 * gio/gfilenamecompleter.c:
4623 * gio/gfilenamecompleter.h:
4624 * gio/gfilterinputstream.h:
4625 * gio/gfilteroutputstream.h:
4626 * gio/ginputstream.h:
4627 * gio/gmemoryinputstream.h:
4628 * gio/gmemoryoutputstream.h:
4629 * gio/gmountoperation.c:
4630 * gio/gmountoperation.h:
4631 * gio/gnativevolumemonitor.c:
4632 * gio/goutputstream.h:
4635 * gio/gsimpleasyncresult.c:
4636 * gio/gsimpleasyncresult.h:
4637 * gio/gsocketinputstream.h:
4638 * gio/gsocketoutputstream.h:
4639 * gio/gthemedicon.c:
4640 * gio/gthemedicon.h:
4644 * gio/gvolumemonitor.c:
4645 * gio/gvolumemonitor.h:
4646 Add padding in classes where it seems useful
4647 Don't include giotypes.h from public headers
4648 Move in Class definitions into c file where possible
4653 2007-11-06 Alexander Larsson <alexl@redhat.com>
4655 * docs/reference/gio/gio-docs.xml:
4656 Better structure for API docs
4658 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4661 * gio/gloadableicon.c:
4662 * gio/gsimpleasyncresult.c:
4663 * gio/gthemedicon.c:
4664 Add some more guards to public functions. Only files missing are now
4667 2007-11-06 Alexander Larsson <alexl@redhat.com>
4669 * docs/reference/gio/gio-docs.xml:
4670 Remove old files, add missing ones
4672 2007-11-06 Alexander Larsson <alexl@redhat.com>
4674 * docs/reference/gio/gio-sections.txt:
4677 Hide implementation classes
4679 * gio/gdriveprivate.h:
4680 * gio/gvolumeprivate.h:
4681 Remove non-existing function declarations
4683 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4686 Fix compilation warnings and add guards to the new functions.
4688 * gio/gasyncresult.c:
4690 Add guards to the public functions.
4693 Implement get_path().
4695 2007-11-06 Alexander Larsson <alexl@redhat.com>
4697 * gio/gfilenamecompleter.c:
4698 Make g_filename_completer_get_completions
4699 return char ** instead of GList for
4702 * docs/reference/gio/gio-docs.xml:
4703 * docs/reference/gio/gio-sections.txt:
4705 * gio/gasyncresult.c:
4706 * gio/gbufferedinputstream.c:
4707 * gio/gbufferedoutputstream.c:
4708 * gio/gcancellable.c:
4709 * gio/gcontenttype.c:
4710 * gio/gdatainputstream.c:
4711 * gio/gdataoutputstream.c:
4712 * gio/gdesktopappinfo.c:
4713 * gio/gdirectorymonitor.c:
4717 * gio/gfileattribute.c:
4718 * gio/gfileenumerator.c:
4721 * gio/gfileinputstream.c:
4722 * gio/gfilemonitor.c:
4723 * gio/gfilenamecompleter.c:
4724 * gio/gfilenamecompleter.h:
4725 * gio/gfileoutputstream.c:
4726 * gio/gfilterinputstream.c:
4728 * gio/ginputstream.c:
4730 * gio/gioscheduler.c:
4731 * gio/gloadableicon.c:
4732 * gio/glocaldirectorymonitor.c:
4734 * gio/glocalfileinputstream.c:
4735 * gio/glocalfilemonitor.c:
4736 * gio/glocalfileoutputstream.c:
4738 * gio/gmemoryinputstream.c:
4739 * gio/gmemoryoutputstream.c:
4740 * gio/gmountoperation.c:
4741 * gio/goutputstream.c:
4742 * gio/gpollfilemonitor.c:
4744 * gio/gsimpleasyncresult.c:
4745 * gio/gsocketinputstream.c:
4746 * gio/gsocketoutputstream.c:
4747 * gio/gthemedicon.c:
4748 * gio/gunionvolumemonitor.c:
4750 * gio/gunixmounts.c:
4751 * gio/gunixvolume.c:
4752 * gio/gunixvolumemonitor.c:
4756 * gio/gvolumemonitor.c:
4757 * gio/gwin32appinfo.c:
4758 Add (mostly stub) doc strings to public functions.
4759 Patch from Andrew Walton (awalton@gmail.com)
4761 2007-11-06 Alexander Larsson <alexl@redhat.com>
4763 * gio/gappinfo.[ch]:
4764 Added GAppLaunchContext object and pass that to launch.
4765 This allows simple implementation of both
4766 launch-on-screen and startup notification via a gtk+
4767 subclass of GAppLaunchContext
4769 * gio/gdesktopappinfo.c:
4770 Implement GAppLaunchContext API
4772 * gio/gwin32appinfo.c:
4775 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4777 * gio/gmountoperation.c:
4778 Add some guards to GMountOperation's public functions.
4780 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4784 * gio/gcancellable.c:
4785 * gio/gdirectorymonitor.c:
4787 * gio/gfileenumerator.c:
4788 * gio/gfilemonitor.c:,
4789 * gio/gfilenamecompleter.c:
4792 * gio/gioscheduler.c:
4796 * gio/gvolumemonitor.c:
4797 Add even more guards to various public functions.
4799 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4802 Add guards to the public functions of GAppInfo.
4804 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4806 * gio/gcontenttype.c:
4807 Add some more guards for public functions.
4809 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4811 * gio/fam/fam-module.c:
4812 * gio/fam/gfamdirectorymonitor.c:
4813 * gio/fam/gfamdirectorymonitor.h:
4814 * gio/fam/gfamfilemonitor.c:
4815 * gio/fam/gfamfilemonitor.h:
4816 * gio/inotify/ginotifydirectorymonitor.c:
4817 * gio/inotify/ginotifydirectorymonitor.h:
4818 * gio/inotify/ginotifyfilemonitor.c:
4819 * gio/inotify/ginotifyfilemonitor.h:
4820 Add proper copyright information and remove an unused variable
4821 in the GInotifyFileMonitor constructor.
4823 * gio/gcancellable.c:
4824 Add a guard for a public function and an assertion to prevent
4825 an undefined program state.
4827 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4829 * gio/gfileattribute.c:
4830 Don't run into an assertion if the given attribute value is NULL
4831 in g_file_attribute_value_get_*() but instead return a fallback
4832 value that makes sense in most situations. Passing them a attribute
4833 value with the wrong type will still run into an assertion.
4835 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4837 * gio/gfileattribute.c:
4839 Add even more guards to the public functions. Also fix the refcounting
4840 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4841 let g_file_info_list_attributes() filter the attributes by namespace
4842 instead of simply ignoring the namespace parameter.
4844 2007-11-03 Sven Herzberg <sven@imendio.com>
4846 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4847 (This makes gio work on MacOS X again)
4849 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4852 Build the gio subdirectory before the docs. Otherwise the build will
4855 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4856 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4857 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4858 Add guards to the public functions.
4860 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4862 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4863 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4864 to prevent a compiler warning.
4866 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4867 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4868 return something in the non-void function find_topdir_for().
4870 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4877 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4879 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4880 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4881 * gwin32appinfo.c (g_win32_app_info_launch):
4882 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4883 envp_for_startup_id, g_desktop_app_info_launch,
4884 g_desktop_app_info_launch_uris):
4886 Give an opaque 'startup_id' string instead of 'envp'.
4887 Support empty file lists for launching new windows.
4888 Fix infinite recursion bug when launching URIs.
4890 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4893 Add guard to the new g_file_get_uri_scheme() function.
4895 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4898 Convert a g_return_val_if_fail() to setting the GError instead as
4899 otherwise applications have to verify the parameter before otherwise
4900 and the parameter might come directly from the user.
4902 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4904 * gio/inotify/ginotify*.[ch]:
4905 Add missing copyright information.
4907 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4910 Add guards in the beginning of public functions to check for valid
4911 parameters and fix a bug in copy_stream_with_progress() that could've
4912 caused writing less bytes than reading.
4913 * gio/glocalfileinfo.c:
4914 Check for a NULL parameter and set the GError accordingly then.
4915 * gio/goutputstream.c:
4916 Fix the same bug as in gfile.c that could've caused writing less bytes
4917 than reading in g_output_stream_real_splice().
4919 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4922 Use the correct gvolumeprivate.h naming
4924 2007-11-01 Christian Kellner <gicmo@gnome.org>
4927 Remove leftover "$(daemon_sources)" entry.
4929 2007-11-01 Christian Kellner <gicmo@gnome.org>
4934 Add copyright information to source files.
4936 2007-11-01 Alexander Larsson <alexl@redhat.com>
4940 Add g_file_get_uri_scheme
4942 2007-11-01 Alexander Larsson <alexl@redhat.com>
4945 * gio/gdesktopappinfo.c:
4946 * gio/gwin32appinfo.c:
4947 Add g_app_info_get_default_for_uri_scheme.
4949 2007-11-01 Alexander Larsson <alexl@redhat.com>
4952 Correct filename for gdriveprivate.h
4954 2007-10-31 Alexander Larsson <alexl@redhat.com>
4957 Rename id:value to id:file
4960 * gio/glocalfileinfo.c:
4963 2007-10-31 Alexander Larsson <alexl@redhat.com>
4965 * gio/gunixvolume.c:
4967 Remove g_volume_get_platform_id, as thats not
4968 needed with the simpler union volume monitor
4970 2007-10-31 Alexander Larsson <alexl@redhat.com>
4973 * gio/guniondrive.[ch]: Removed.
4974 * gio/gunionvolume.[ch]: Removed.
4975 Remove GUnionDrive/Volume
4977 * gio/gunionvolumemonitor.c:
4978 Simplify union volume monitor, now we
4979 only have one native volume monitor and
4980 we use the actual volumes/drives from the
4981 child monitors instead of wrapping them
4983 * gio/gnativevolumemonitor.[ch]:
4984 Base class for native volume monitors.
4985 Includes priority and get_volume_for_mountpoint
4988 Add g_file_find_enclosing_volume
4991 Remove volume name fs attribute
4992 Add readonly fs attribute
4995 Implement readonly attribute
4996 remove volume name attribute
4997 Implement find_enclosing volume
4999 * gio/gunixmounts.c:
5000 Add a volume for "/".
5002 * gio/gunixvolume.[ch]:
5003 Set better name for /
5005 * gio/gunixvolumemonitor.[ch]:
5006 Derive from GNativeVolumeMonitor
5007 Implement get_volume_for_mountpoint
5010 GVolume typedef moved to gfile.h
5012 * gio/gvolumeprivate.h:
5013 Add g_volume_get_for_mount_path
5015 2007-10-31 Alexander Larsson <alexl@redhat.com>
5017 * gio/gunixmounts.[ch]:
5018 Add cache info to unix mount listers
5019 Make getmntent use threadsafe
5020 Add is_system_internal attribute for GUnixMount
5022 * gio/gunixvolume.c:
5023 (g_unix_volume_new):
5024 Use is_system_internal instead of own code
5026 * gio/glocaldirectorymonitor.c:
5027 * gio/gunixvolumemonitor.c:
5028 Update to new gunixmounts API
5033 2007-10-30 Alexander Larsson <alexl@redhat.com>
5036 Add volume name fsinfo attribute
5039 Read volume name info
5041 * gio/gunionvolumemonitor.c:
5042 Fix infinite loops when finalizing a union volume monitor
5044 2007-10-30 Alexander Larsson <alexl@redhat.com>
5046 * gio/goutputstream.[ch]:
5047 Add splice() with default implementation
5049 * gio/gsocketoutputstream.c:
5050 (g_socket_output_stream_write):
5051 Return error on cancellation correctly.
5053 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5055 * gio/glocalfile.c (g_local_file_trash):
5056 Do not leak a string.
5058 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5060 * gio/gfile.c (g_file_load_contents):
5061 Unref the stream after closing it.
5063 2007-10-25 Alexander Larsson <alexl@redhat.com>
5065 * gio/gioscheduler.h:
5068 2007-10-25 Alexander Larsson <alexl@redhat.com>
5072 Add g_file_has_uri_scheme and implement for local files
5074 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5076 * gio/gdesktopappinfo.c: do not leak a string.
5078 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5080 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5081 (g_local_directory_monitor_new):
5082 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5083 (g_local_file_monitor_new):
5084 Only look for the monitor type that should be used the first time
5085 and use g_qsort_with_data() instead of our own bubble sort
5088 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5091 * gio/fam/Makefile.am:
5092 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5093 * gio/fam/fam-helper.h:
5094 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5095 * gio/fam/gfamdirectorymonitor.c:
5096 * gio/fam/gfamdirectorymonitor.h:
5097 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5098 * gio/fam/gfamfilemonitor.h:
5099 * gio/glocaldirectorymonitor.c:
5100 * gio/glocaldirectorymonitor.h:
5101 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5102 * gio/glocalfilemonitor.h:
5103 * gio/inotify/Makefile.am:
5104 * gio/inotify/ginotifydirectorymonitor.c:
5105 * gio/inotify/ginotifydirectorymonitor.h:
5106 * gio/inotify/ginotifyfilemonitor.c:
5107 * gio/inotify/ginotifyfilemonitor.h:
5108 Implement the FAM and Inotify monitors as
5109 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5110 their own GIO module. GLocal(Directory|File)Monitor will use the
5111 monitor with the highest rank that is supported on that machine.
5113 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5116 Change GIO module dir to $(libdir)/gio/modules and change
5117 the log domain from GVFS to GIO. Also only export symbols starting
5118 with g_ in the resulting library.
5119 * gio/test-streams.c: (main):
5120 Set log handler for the GIO log domain.
5122 2007-10-22 Alexander Larsson <alexl@redhat.com>
5124 * gio/gfilenamecompleter.[ch]:
5125 Add g_filename_completer_set_dirs_only
5127 2007-10-22 Alexander Larsson <alexl@redhat.com>
5130 * gio/gurifuncs.[ch]:
5131 Add some simple URI helpers
5133 * gio/gfilenamecompleter.[ch]:
5134 Added object for filename (parse name actually) completion
5137 Handle ~ in parse names
5139 2007-10-17 Alexander Larsson <alexl@redhat.com>
5142 * gio/glocalfileinfo.c:
5143 Add and implement id:value attribute
5145 2007-10-17 Alexander Larsson <alexl@redhat.com>
5148 * gio/guniondrive.c:
5150 Add and implement g_drive_has_volumes
5152 2007-10-17 Alexander Larsson <alexl@redhat.com>
5155 * gio/glocalfileinfo.[ch]:
5156 Add unix:is_mountpoint and implement for local files
5158 2007-10-16 Alexander Larsson <alexl@redhat.com>
5160 * gio/gunionvolumemonitor.c:
5161 (g_union_volume_monitor_init):
5162 Fix up the unix type getting so that it works with gcc
5164 2007-10-12 Alexander Larsson <alexl@redhat.com>
5167 * gio/glocalfileinfo.c:
5168 Add thumbnail:failed to file info
5170 2007-10-12 Richard Hult <richard@imendio.com>
5172 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5173 optimizing away the get_type call (happens with some gcc versions,
5174 like the one shipped with OS X 10.4).
5176 2007-10-12 Alexander Larsson <alexl@redhat.com>
5178 * gio/glocalfileinfo.c:
5179 (_g_local_file_info_set_attribute):
5180 Fix build if not HAVE_XATTR
5181 Patch from Milosz Derezynski <internalerror@gmail.com>
5183 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5185 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5186 around for review, otherwise I would have asked you before
5189 2007-10-11 Alexander Larsson <alexl@redhat.com>
5192 Add thumbnail:path attribute
5194 * gio/glocalfileinfo.c:
5195 Implement thumbnail:path for local files
5197 2007-10-11 Alexander Larsson <alexl@redhat.com>
5199 * gio/glocalfileinfo.c:
5200 (_g_local_file_info_get):
5201 Avoid duplicate icon names
5203 2007-10-11 Alexander Larsson <alexl@redhat.com>
5205 * gio/gthemedicon.[ch]:
5206 Change g_themed_icon_get_names return type to const
5208 2007-10-10 Alexander Larsson <alexl@redhat.com>
5210 * gio/glocalfileinfo.c:
5211 Don't reference freed memory
5213 2007-10-10 Alexander Larsson <alexl@redhat.com>
5215 * gio/gfileattribute.c:
5218 * gio/glocalfileinfo.c:
5221 2007-10-10 Alexander Larsson <alexl@redhat.com>
5224 Check for NULL icons
5226 * gio/gfileattribute.c:
5227 Don't dup when getting objects (same as for string attributes)
5229 * gio/gicon.c (g_icon_equal):
5230 Safely handle NULLs in equal
5232 2007-10-10 Alexander Larsson <alexl@redhat.com>
5235 Fix c++ compilation issues
5236 Patch from Milosz Derezynski <internalerror@gmail.com>
5238 2007-10-10 Alexander Larsson <alexl@redhat.com>
5240 * programs/gio-monitor-dir.c:
5241 Don't crash if dir monitor not supported.
5243 2007-10-09 Alexander Larsson <alexl@redhat.com>
5246 Add missing G_END_DECLS
5248 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5250 * gio/gfile.c: (g_file_set_display_name),
5251 (g_file_query_settable_attributes),
5252 (g_file_query_writable_namespaces):
5253 Return NULL not FALSE on errors as the return type is a pointer.
5255 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5257 * gio/glocalfile.c: (g_local_file_monitor_file):
5258 Don't call monitor_file on the default interface vtable (which
5259 is NULL) but simply return NULL. The caller, GFile, will create a
5260 polling monitor if NULL is returned.
5262 2007-10-09 Alexander Larsson <alexl@redhat.com>
5266 * gio-unix-2.0.pc.in:
5267 Add gio-unix-2.0.pc if OS_UNIX
5270 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5272 2007-10-09 Alexander Larsson <alexl@redhat.com>
5274 * gio/gunixmounts.[ch]:
5275 Make unix mount monitoring API sane.
5276 Now its just a object with mounts_changed
5277 and mountpoints_changed signals.
5279 * gio/glocaldirectorymonitor.c:
5280 * gio/gunixvolumemonitor.c:
5281 Use new mount monitor api
5283 2007-10-09 Alexander Larsson <alexl@redhat.com>
5285 * gio/gunixmounts.[ch]:
5286 Move guess type into one call for mounts and one for mountpoints
5289 * gio/gunixvolume.c:
5292 2007-10-09 Alexander Larsson <alexl@redhat.com>
5294 * gio/gunixmounts.[ch]:
5295 Remove _ prefix in preparation to make this semi-public
5296 Hide implementation of structs
5298 * gio/glocaldirectorymonitor.c:
5300 * gio/gunixvolume.c:
5301 * gio/gunixvolumemonitor.c:
5302 Update for above API changes
5304 2007-10-08 Alexander Larsson <alexl@redhat.com>
5307 Better polling fallback. This also handles the case where we have
5308 a monitor_file implementation, but it fails.
5310 2007-10-08 Alexander Larsson <alexl@redhat.com>
5314 * gio/gunixmounts.c:
5315 * programs/gio-monitor-dir.c:
5316 * programs/gio-monitor-file.c:
5317 Added cancellable to file monitoring calls.
5318 These are really sync calls and need this.
5320 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5322 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5323 (g_local_vfs_class_init):
5324 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5325 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5327 2007-10-05 Alexander Larsson <alexl@redhat.com>
5329 * gio/gdirectorymonitorprivate.h:
5330 * gio/gfilemonitorprivate.h:
5331 * gio/gdirectorymonitor.h:
5332 * gio/gfilemonitor.h:
5333 Remove *private.h and move to the public API, so that
5334 we can do implementations outside gio (such as in gvfs)
5336 * gio/gdirectorymonitor.c:
5337 * gio/gfilemonitor.c:
5338 * gio/glocaldirectorymonitor.c:
5339 * gio/gpollfilemonitor.c:
5340 * gio/inotify/inotify-helper.c:
5341 * gio/fam/fam-helper.c:
5342 Update to the new header names
5344 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5346 * gio/gdirectorymonitor.c:
5347 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5350 2007-10-04 Alexander Larsson <alexl@redhat.com>
5352 * gio/glocalfileinfo.c (get_access_rights):
5353 Set CAN_TRASH when we can move the file.
5354 We should really also check for a parent trash dir.
5356 2007-10-04 Alexander Larsson <alexl@redhat.com>
5358 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5359 Add can_trash access attribute
5361 2007-10-04 Alexander Larsson <alexl@redhat.com>
5364 (g_local_file_trash):
5365 Create info file first. This is per-spec and allows
5366 us to actually trash directories.
5368 2007-10-02 Alexander Larsson <alexl@redhat.com>
5370 * gio/gdesktopappinfo.c:
5371 Implement the new mime support code.
5372 Always set app as handling mimetype when being set as default for it
5374 2007-10-01 Alexander Larsson <alexl@redhat.com>
5376 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5377 Fix up check for xattrs:
5379 2007-10-01 Alexander Larsson <alexl@redhat.com>
5382 (g_app_info_set_as_default_for_extension):
5383 (g_app_info_add_supports_type):
5384 (g_app_info_can_remove_supports_type):
5385 (g_app_info_remove_supports_type):
5386 Make these fail nicely if not implemented
5388 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5390 * gio/glocalfileoutputstream.c:
5391 * gio/glocalfileoutputstream.h:
5396 * programs/gio-save.c:
5397 Add a GFileCreateFlags argument to operations that can create
5400 2007-10-01 Alexander Larsson <alexl@redhat.com>
5402 * gio/gappinfo.[ch]:
5403 * gio/gdesktopappinfo.c:
5404 Add more (stubbed out) mime API needed for nautilus
5406 2007-10-01 Alexander Larsson <alexl@redhat.com>
5409 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5410 Add g_app_info_set_as_default_for_extension.
5412 * gio/gdesktopappinfo.c:
5413 Dummy for g_app_info_set_as_default_for_extension
5414 Support flags in g_app_info_create_from_commandline
5416 * gio/gwin32appinfo.c:
5418 Update for API changes
5420 * gio/gthemedicon.c:
5421 Properly NULL-terminate list of icon names
5423 2007-09-28 Alexander Larsson <alexl@redhat.com>
5425 * gio/gloadableicon.h:
5426 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5428 2007-09-28 Alexander Larsson <alexl@redhat.com>
5431 Install headers in $includedir/gio-standalone/
5433 * gio-2.0.pc.in: Added.
5434 * gio-standalone.pc.in: Removed.
5437 Renamed pkg-config file to match glib (for future move)
5438 Update to the new include dir
5441 Add more TODO comments
5443 2007-09-28 Alexander Larsson <alexl@redhat.com>
5445 * gio/gdesktopappinfo.[ch]:
5446 Expose new_from_filename
5447 Add getter for is_hidden and handle it better
5449 2007-09-28 Alexander Larsson <alexl@redhat.com>
5451 * gio/gfileinfo.[ch]:
5452 Rename g_file_size_format_for_display to
5453 g_format_file_size_for_display.
5454 Now it doesn't have the g_file prefix, so we
5455 can later move it to glib.
5457 2007-09-28 Alexander Larsson <alexl@redhat.com>
5459 * gio/gappinfo.[ch]:
5460 Add g_app_info_get_id and g_app_info_get_executable.
5461 Make all getters non-reffing
5462 Make g_app_info_launch take GFile arguments.
5463 Add must_support_uris argument to g_app_info_get_default_for_type.
5465 * gio/gwin32appinfo.c:
5466 Update to GAppInfo api changes
5468 * gio/gdesktopappinfo.c:
5469 Update to GAppInfo api changes
5470 Implement supports_xdg_startup_notify
5472 * gio/gfileicon.c (g_file_icon_get_file):
5473 Make getter non-reffing.
5478 2007-09-27 Alexander Larsson <alexl@redhat.com>
5480 * gio/gfileinfo.[ch]:
5481 Add g_file_size_format_for_display helper
5483 2007-09-27 Alexander Larsson <alexl@redhat.com>
5485 * gio/glocalfileinfo.c:
5486 Set UNIX_GID from gid, not from uid
5488 2007-09-27 Alexander Larsson <alexl@redhat.com>
5491 Add g_file_set_attributes_async
5493 2007-09-27 Alexander Larsson <alexl@redhat.com>
5495 * gio/glocalfile.c (g_local_file_set_display_name):
5496 Fix set_display_name to actually rename to the right place.
5497 Use lstat to look for existing files so we don't overwrite
5500 2007-09-26 Alexander Larsson <alexl@redhat.com>
5503 Add g_file_set_display_name_async()
5505 2007-09-26 Alexander Larsson <alexl@redhat.com>
5508 Add load_partial_contents async calls
5511 Make internal function static
5513 2007-09-26 Alexander Larsson <alexl@redhat.com>
5515 * gio/glocalfileinfo.c:
5516 Correctly detect broken symlinks
5518 2007-09-26 Alexander Larsson <alexl@redhat.com>
5520 * gio/gcancellable.c (g_cancellable_cancel):
5521 Allow cancel on NULL cancellable
5523 2007-09-25 Alexander Larsson <alexl@redhat.com>
5525 * gio/gsimpleasyncresult.c:
5526 Don't allocate g_error manually.
5527 Fixes g_slice/g_new mixup crash
5529 2007-09-25 Alexander Larsson <alexl@redhat.com>
5531 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5532 Actually set active_backend.
5533 This means the monitor will be cancelled correctly.
5535 2007-09-25 Alexander Larsson <alexl@redhat.com>
5537 * gio/gdirectorymonitor.c:
5538 Set timeout to NULL when destroying
5540 2007-09-25 Alexander Larsson <alexl@redhat.com>
5543 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5544 that is a better description of the error.
5546 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5548 * gio/gvfs.c: (g_vfs_get_local):
5549 Make the local vfs variable static. The same instance should
5552 2007-09-24 Alexander Larsson <alexl@redhat.com>
5554 * gio/glocalfileinfo.c:
5555 Pass in actual length read into sniffer, not the length
5558 2007-09-21 Alexander Larsson <alexl@redhat.com>
5560 * gio/gfileenumerator.c:
5563 * gio/gfileinputstream.c:
5564 * gio/gfileoutputstream.c:
5565 * gio/ginputstream.c:
5566 * gio/goutputstream.c:
5567 Don't crash if async callbacks are NULL
5569 2007-09-20 Alexander Larsson <alexl@redhat.com>
5572 Add async enumerate_children method and default
5575 2007-09-20 Alexander Larsson <alexl@redhat.com>
5578 Add g_file_contains_file & g_file_get_relative_path, since they
5579 were needed for nautilus.
5580 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5585 Implement new methods
5587 2007-09-17 Alexander Larsson <alexl@redhat.com>
5590 * gio/gfileinputstream.[ch]:
5591 * gio/gfileoutputstream.[ch]:
5593 * gio/glocalfileenumerator.[ch]:
5594 * gio/glocalfileinfo.[ch]:
5595 * gio/glocalfileinputstream.c:
5596 * gio/glocalfileoutputstream.c:
5597 * gio/gpollfilemonitor.c:
5598 * programs/gio-copy.c:
5599 * programs/gio-info.c:
5600 * programs/gio-move.c:
5601 Rename get_file_info to query_info() to make it clearer
5602 that these are not simple getters, but do i/o.
5604 2007-09-17 Alexander Larsson <alexl@redhat.com>
5606 * gio/gdatainputstream.[ch]:
5607 * gio/test-streams.c:
5608 Use _read_XXX instead of _get_XXX for the i/o calls
5611 2007-09-17 Alexander Larsson <alexl@redhat.com>
5614 Added needed stuff to TODO comment
5616 2007-09-17 Alexander Larsson <alexl@redhat.com>
5618 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5619 Don't error out removing the backup copy if it doesn't
5622 2007-09-14 Alexander Larsson <alexl@redhat.com>
5624 * programs/Makefile.am:
5625 * programs/gvfs-*.c:
5627 Renamed apps from gvfs-xxx to gio-xxx.
5629 2007-09-14 Alexander Larsson <alexl@redhat.com>
5632 * gio/gfileoutputstream.[ch]:
5633 * gio/glocalfileoutputstream.c:
5634 * programs/gvfs-save.c:
5635 g_file_output_stream_get_etag doesn't do i/o, so remove
5636 cancellation and error.
5638 2007-09-14 Alexander Larsson <alexl@redhat.com>
5641 Add new_etag output to replace_contents functions
5643 2007-09-14 Alexander Larsson <alexl@redhat.com>
5645 * gio/gfileoutputstream.[ch]:
5646 Add async get_file_info and default implementation
5648 2007-09-14 Alexander Larsson <alexl@redhat.com>
5650 * gio/gfileinputstream.c:
5651 Implement fallback wrapper for async get_file_info
5653 2007-09-14 Alexander Larsson <alexl@redhat.com>
5656 Add etag out argument to load_contents
5661 2007-09-14 Alexander Larsson <alexl@redhat.com>
5663 * gio/gcontenttype.c (looks_like_text):
5664 Whitespace like tab, cr and lf do not make the
5667 2007-09-14 Alexander Larsson <alexl@redhat.com>
5669 * gio/gfileinputstream.[ch]:
5670 Add async get_file_info.
5672 2007-09-13 Alexander Larsson <alexl@redhat.com>
5674 * gio/goutputstream.c (g_output_stream_write_all):
5675 Allow NULL for bytes_written
5677 2007-09-13 Alexander Larsson <alexl@redhat.com>
5679 * gio/gmemoryinputstream.[ch]:
5680 Add accessors for data
5682 2007-09-13 Alexander Larsson <alexl@redhat.com>
5684 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5685 Don't crash if length is NULL