1 2009-02-16 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.19.7 ===
5 2009-02-16 Matthias Clasen <mclasen@redhat.com>
7 * gmountoperation.[hc]: Add an "aborted" signal to abort a
8 mount operation from the backend side.
10 * gvolume.h: Add docs regarding the "aborted" signal.
12 2009-02-13 Ryan Lortie <desrt@desrt.ca>
14 Bug 505042 – add file attribute for actually used file size in bytes
16 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
17 "standard::allocated-size"
18 * gfileattribute.c: document
19 * glocalfileinfo.c: set the allocated size from st_blocks * 512
21 2009-02-16 Ryan Lortie <desrt@desrt.ca>
23 Bug 571598 – GAsyncResult with NULL gobject
25 * gsimpleasyncresult.c: remove various assertions and add some checks
26 to allow for a NULL source_object in GSimpleAsyncResult.
28 2009-02-11 Matthias Clasen <mclasen@redhat.com>
30 Bug 541225 – Can't compile gio on AIX : duplicate case value in
33 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
34 Reported by Nicolas Joseph
36 2009-02-04 Alexander Larsson <alexl@redhat.com>
38 Bug 566747 - URIs opened with firefox %u load as local files
40 * gdummyfile.c (g_dummy_file_get_path):
41 Dummy files are never used for local paths, so always return NULL
44 2009-02-02 Matthias Clasen <mclasen@redhat.com>
46 * === Released 2.19.6 ===
48 2009-01-31 Paolo Borelli <pborelli@katamail.com>
50 * glocalfileinfo.c: plug a tiny mem leak.
52 2009-01-29 Ryan Lortie <desrt@desrt.ca>
54 * gioerror.c (g_io_error_from_errno): handle all possible cases of
55 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
57 2009-01-28 Ryan Lortie <desrt@desrt.ca>
59 Bug 568575 – _async functions for GDataInputStream
62 * gdatainputstream.c: add _async versions of read_line and read_until.
64 * ../docs/reference/gio/gio-sections.txt: add new functions
65 * tests/sleepy-stream.c: new test case for async read line
66 * tests/Makefile.am: add new test
68 2009-01-22 Ryan Lortie <desrt@desrt.ca>
70 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
72 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
73 g_buffered_input_stream_fill): check for count < -1 instead of count <
74 0 and copy modified check to non-async version for consistency.
75 document the "count = -1" API.
77 2009-01-22 Ryan Lortie <desrt@desrt.ca>
79 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
81 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
82 after we have successfully read data from the base stream
84 2009-01-20 Ryan Lortie <desrt@desrt.ca>
86 Bug 568394 – dropping the last reference to a stream filter closes the
89 * gfilterinputstream.h:
90 * gfilterinputstream.c: add "close-base-stream" property and only
91 close the base stream if it is true. issue async close callbacks from
92 correct source object.
93 * gfilteroutputstream.h:
94 * gfilteroutputstream.c: add a "close-base-stream" property and only
95 close the base stream if it is true. issue async close callbacks from
96 correct source object.
97 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
98 before closing the base stream. fix invalid source tag comparison in
99 close_async (was comparing to flush_async).
100 * ../docs/reference/gio/gio-sections.txt:
102 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
103 * tests/filter-streams.c: new test cases
104 * tests/Makefile.am: add new test
105 * tests/.gitignore: add new test
107 2009-01-19 Matthias Clasen <mclasen@redhat.com>
109 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
111 2009-01-19 Matthias Clasen <mclasen@redhat.com>
113 * === Released 2.19.5 ===
115 2009-01-19 Matthias Clasen <mclasen@redhat.com>
117 * gappinfo.h: Document get_commandline vfunc
119 2009-01-19 Matthias Clasen <mclasen@redhat.com>
121 * gunixmounts.c: Some stylistic fixes.
123 2009-01-08 Matthias Clasen <mclasen@redhat.com>
125 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
126 functions in non-UTF8 locale
128 * xdgmime/xdgmimecache.c:
129 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
131 2009-01-08 Matthias Clasen <mclasen@redhat.com>
133 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
135 2009-01-07 Matthias Clasen <mclasen@redhat.com>
137 Bug 566770 – error code 0 for Too many open files is useless
139 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
140 Requested by Olivier Sessink.
142 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
144 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
145 G_IO_ERROR_TOO_MANY_OPEN_FILES.
147 2009-01-05 Matthias Clasen <mclasen@redhat.com>
149 * === Released 2.19.4 ===
151 2009-01-05 Dan Winship <danw@gnome.org>
153 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
154 "const char **" to avoid a warning.
156 * gemblem.c (g_emblem_from_tokens):
157 * gemblemedicon.c (g_emblemed_icon_from_tokens):
158 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
161 2009-01-05 Matthias Clasen <mclasen@redhat.com>
163 Bug 566064 – Add NOATIME flag to query_info_flags
165 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
166 sniffing for mime types. Based on a patch by A. Walton
168 2009-01-05 Ryan Lortie <desrt@desrt.ca>
170 * tests/.gitignore: improve
171 * tests/Makefile.am: add new simple-async-result test
172 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
174 2009-01-05 Ryan Lortie <desrt@desrt.ca>
177 * ../docs/reference/gio/gio-sections.txt:
178 * gsimpleasyncresult.h:
179 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
180 Implementation by Dan Winship. Closes #566170.
182 2008-12-31 Matthias Clasen <mclasen@redhat.com>
186 * gunixinputstream.c:
187 * gunixoutputstream.c: Add a note about being UNIX-specific.
189 2008-12-15 Matthias Clasen <mclasen@redhat.com>
191 * === Released 2.19.3 ===
193 2008-12-12 Dan Winship <danw@gnome.org>
195 * pltcheck.sh: make this work on x86_64
197 2008-12-12 Ryan Lortie <desrt@desrt.ca>
199 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
202 2008-12-12 Ryan Lortie <desrt@desrt.ca>
204 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
205 multiple mount entries match the requested path
207 2008-12-10 Alexander Larsson <alexl@redhat.com>
209 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
210 g_simple_async_result_run_in_thread
212 * gsimpleasyncresult.c:
213 Make g_simple_async_result_run_in_thread check cancellation before
214 calling out to the user in the callback. This means we guarantee
215 reporting cancels of async operations from the main threads, which
216 is probably more in line with what users expect.
218 Note that there are still no such guarantees for cancelling sync
219 operations or cancelling async operation from outside the main
220 thread. Furthermore, the exact behaviour of async implementations
221 not using run_in_thread may differ.
223 2008-12-09 Alexander Larsson <alexl@redhat.com>
225 Bug 515777 - incorrect date&time on copy
228 (g_local_file_class_init):
229 Copy mtime by default
232 Change docs about G_FILE_COPY_ALL_METADATA to not mention
235 2008-12-08 Matthias Clasen <mclasen@redhat.com>
237 Bug 558298 – Hide ecryptfs mounts
239 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
240 so that the desktop does not show both the mount and the target
241 directory. Patch by Martin Pitt
243 2008-12-08 Matthias Clasen <mclasen@redhat.com>
245 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
249 * gunixinputstream.[hc]:
250 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
251 including getters and setters. Patch by Maciej Piechotka
253 2008-12-07 Matthias Clasen <mclasen@redhat.com>
255 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
257 * tests/live-g-file.c: Support compilers that don't understand
258 ISO C varargs macros. Patch by Eric Lamarque
260 2008-12-07 Matthias Clasen <mclasen@redhat.com>
262 Bug 526320 – should not list mounts that the user doesn't have
265 gunixmounts.c: Use g_access() to check accessibility of local devices.
268 2008-12-01 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.19.2 ===
272 2008-12-01 Matthias Clasen <mclasen@redhat.com>
274 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
275 behaviour change, and update the docs instead, to avoid breaking
278 2008-12-01 Matthias Clasen <mclasen@redhat.com>
280 * === Released 2.19.1 ===
282 2008-12-01 Alexander Larsson <alexl@redhat.com>
286 * gunionvolumemonitor.c:
288 Add and document g_mount_is_shadowed plus calls
289 to set/unset a mount as shadowed
291 2008-11-28 Matthias Clasen <mclasen@redhat.com>
293 * gio/tests/g-icon.c: Comment out two failing tests
295 2008-11-28 Matthias Clasen <mclasen@redhat.com>
297 Bug 555486 – No way to recover command line from GAppInfo
300 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
301 by Hans Petter Jansson.
303 * gdesktopappinfo.c: And implement it here.
305 2008-11-28 Christian Dywan <christian@imendio.com>
307 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
309 2008-11-28 Matthias Clasen <mclasen@redhat.com>
311 Bug 559633 – gtk_image_new_from_gicon does not always work for
314 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
315 extensions on icon names. Proposed by Axel von Bertoldi.
317 2008-11-28 Matthias Clasen <mclasen@redhat.com>
319 Bug 548163 – Nautilus displays wrong error message for too long file
322 * glocalfile.c (g_local_file_set_display_name): Correctly set
323 error conditions if the new name is e.g. too long. Reported
324 by Leonardo Ferreira Fontenelle.
326 2008-11-28 Matthias Clasen <mclasen@redhat.com>
328 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
331 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
332 documented and include the line end in the returned string.
333 Pointed out by Paul Pogonyshev.
335 * tests/data-input-stream.c: Fix the read_line test to test the
336 documented behaviour.
338 2008-11-28 Matthias Clasen <mclasen@redhat.com>
340 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
341 files that have been created by g_app_info_create_from_commandline.
343 2008-11-28 Matthias Clasen <mclasen@redhat.com>
345 Bug 541715 – win32 : patch for warnings and signature problems in
348 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
351 2008-11-28 Matthias Clasen <mclasen@redhat.com>
353 Bug 562393 – g_buffered_input_stream_read_byte broken if data
356 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
357 handling of buffered content. Patch by Philip Withnall
359 * tests/buffered-input-stream.c: Add a testcase for this bug.
360 * tests/Makefile.am: And build it
362 2008-11-28 Matthias Clasen <mclasen@redhat.com>
364 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
367 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
368 '/' away. Spotted by Dan Williams.
370 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
372 Bug 561375 – Leaks mountpoint description
374 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
377 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
379 Bug 561352 – Leak of icon description
381 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
384 2008-11-14 Matthias Clasen <mclasen@redhat.com>
386 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
388 2008-11-12 Tor Lillqvist <tml@novell.com>
390 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
392 * win32/gwinhttpvfs.h: Move the set of function pointers to
393 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
394 pointer to that in the GWinHttpVfsClass.
396 * win32/gwinhttpvfs.c: Move the lookup of functions from
397 winhttp.dll into a function of its own, that stores the pointers
398 in a separate GWinHttpDllFuncs variable. Add two bookeeping
399 booleans lookup_done and funcs_found.
401 Don't call g_io_extension_point_implement() to register the
402 winhttp extension unless winhttp.dll has been successfully loaded
403 and the required functions found in it.
405 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
406 winhttp.dll correspondingly.
408 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
410 reviewed by: Alexander Larsson <alexl@redhat.com>
412 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
413 clearer about the behavior when there's no more content to read.
415 2008-10-27 Federico Mena Quintero <federico@novell.com>
417 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
419 2008-10-27 Tor Lillqvist <tml@novell.com>
421 Bug 557592 - Missing include in gwinhttpfile.c
423 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
426 2008-10-24 Matthias Clasen <mclasen@redhat.com>
428 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
430 * fam/fam-helper.c: Fix a memory leak and formatting issues.
431 Reported by Daniel Marjamäki
433 2008-10-23 Matthias Clasen <mclasen@redhat.com>
435 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
437 2008-10-23 Alexander Larsson <alexl@redhat.com>
439 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
442 (_g_local_file_info_get):
443 Don't return the fallback icon (text-x-generic) for all files.
444 This is causing problems with theme icon lookup and custom mime
445 icons, as the generic fallback overrides custom mime icons in
448 This is a slight change as applications might not get an icon wher
449 they previously did. But there is no guarantee to get on neither before
450 or after this change, so it should not break applications. Changes
451 to nautilus and gtk+ will be done to manually use the generic fallback
452 icon if no icon is found, but this is only required for rare cases.
454 2008-10-21 Alexander Larsson <alexl@redhat.com>
457 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
459 2008-10-21 Alexander Larsson <alexl@redhat.com>
461 Bug 555740 - gicon serialization
462 Based on patch from David Zeuthen
466 Add g_icon_to_string() and g_icon_new_for_string().
472 Implement icon serialization for built-in icon types
476 Added GIcon serialization test
478 2008-10-16 Matthias Clasen <mclasen@redhat.com>
480 * === Released 2.19.0 ===
482 2008-10-16 Matthias Clasen <mclasen@redhat.com>
484 Bug 556422 – g_file_enumerator_next_file: unclear whether return
485 value needs to be freed
487 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
488 the return value docs. Pointed out by Armin Burgmeier
490 2008-10-14 Matthias Clasen <mclasen@redhat.com>
492 Bug 556334 – Warning when building without selinux support
494 * glocalfileinfo.c: Avoid compiler warnings when selinux is
495 disabled. Patch by Pascal Terjan
497 2008-10-14 Matthias Clasen <mclasen@redhat.com>
499 Bug 556335 – make check fails in abicheck.sh
501 * gio.symbols: Add g_file_attribute_info_list_get_type.
502 Pointed out by Pascal Terjan.
504 2008-10-13 Alexander Larsson <alexl@redhat.com>
507 When adding an application as handling a mime type (but
508 not as the default), copy the full list of desktop ids handling
509 that type in before adding the new one on the end of the list.
510 This means we're not accidentally changing the default by overriding
511 the info from the later directories in the search path.
513 Also, fixes small leak of removed_entries.
515 2008-10-12 David Zeuthen <davidz@redhat.com>
518 * gunionvolumemonitor.c:
520 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
522 2008-10-10 Alexander Larsson <alexl@redhat.com>
524 * gfileattribute.c (escape_byte_string):
525 Upper half of byte is >> 4, not >> 8.
526 Found by Kjartan Maraas via sparse
528 2008-10-10 Matthias Clasen <mclasen@redhat.com>
530 Bug 555711 – Wrong fallback order of mimetype icons
532 * gcontenttype.c: Don't prefer generic icons over
533 default mimetype icons.
535 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
536 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
538 Patch by Krysztof Kosiński
540 2008-10-10 Matthias Clasen <mclasen@redhat.com>
542 Bug 555121 – Improved build-time handling of gio module-dir
544 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
545 * Makefile.am: Create the module dir.
547 2008-10-10 Matthias Clasen <mclasen@redhat.com>
549 * gio/glocalfileinfo.c:
550 * gio/tests/live-g-file.c:
551 * gio/gsimpleasyncresult.c: Fix gcc warnings.
553 2008-10-09 Alexander Larsson <alexl@redhat.com>
555 * gunixinputstream.c (g_unix_input_stream_read):
556 Actually return -1 in case of cancelled, not old res value.
558 2008-10-06 Colin Walters <walters@verbum.org>
560 Bug 554745 - GFileAttributeInfoList should be boxed
562 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
563 for convenience of bindings.
564 * gio/gfileattribute.h: Prototype it.
566 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
568 Bug 554970 – segfault when update-desktop-database is not available
571 * gdesktopappinfo.c (run_update_command): Have the error set before
574 2008-10-01 David Zeuthen <davidz@redhat.com>
576 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
577 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
578 instead of the gio URI (such as sftp://foo/file.avi) when using
579 g_app_info_launch() and friends. With a sufficiently recent gvfs,
580 apps using gio+gvfs will map the FUSE file:// URI back to the gio
581 URI (and thus bypass the fuse daemon) thanks the patch from bug
582 #530654. Since Nautilus is an user of g_app_info_launch() it
583 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
584 when launced via the file manager. Win. Fixes bug #528670.
586 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
587 mapping to the description of GAppInfo.
589 2008-09-30 Tor Lillqvist <tml@novell.com>
591 * tests/Makefile.am: Build desktop-app-info only on Unix.
593 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
594 g_critical(). Pass a large enough result buffer to
595 GetVolumePathNameW(). Just use MAX_PATH.
597 2008-09-29 David Zeuthen <davidz@redhat.com>
599 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
601 2008-09-26 Dan Winship <danw@gnome.org>
603 * tests/data-input-stream.c:
604 * tests/data-output-stream.c:
605 * tests/live-g-file.c:
606 * tests/memory-input-stream.c:
607 * tests/memory-output-stream.c: Use g_assert_error() and
610 2008-09-26 Matthias Clasen <mclasen@redhat.com>
612 Bug 545350 – GAppInfo deletion
613 Bug 545351 – Reset associations for content type
616 * gappinfo.[hc]: New functions g_app_info_can_delete,
617 g_app_info_delete and g_app_info_reset_type_associations.
620 * gwin32appinfo.c: Implementations of these.
623 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
625 2008-09-26 Dan Winship <danw@gnome.org>
627 Bug 505361 – gunixinputstream.c assumes poll() available
628 Bug 509446 – portable blocking gio cancellation
630 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
631 GPollFD for a cancellable (which is slightly more complicated on
634 * gunixinputstream.c (g_unix_input_stream_read):
635 * gunixoutputstream.c (g_unix_output_stream_write): Use
636 g_cancellable_make_pollfd() and g_poll() rather than using poll()
639 * tests/unix-streams.c: test of GUnixInputStream,
640 GUnixOutputStream, and GCancellable.
642 2008-09-26 Dan Winship <danw@gnome.org>
644 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
645 cast to stop a gcc warning
647 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
650 2008-09-25 Dan Winship <danw@gnome.org>
652 Bug 553426 - cancellable clarifications
654 * gcancellable.c (g_cancellable_class_init): Add a note to the
655 "cancelled" signal docs warning about thread-safety issues
656 (g_cancellable_cancel): Note that cancelling an asynchronous
657 operation takes effect asynchronously, not immediately.
659 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
661 * gioenums.h: Add new GFileCopyFlag, to leave target file with
662 default perms, instead of setting the source file perms, in a copy
665 * gfile.c (g_file_copy_attributes)
666 (build_attribute_list_for_copy)
667 (should_copy): Not copy "unix::mode" attribute if we have received
668 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
670 2008-09-20 Matthias Clasen <mclasen@redhat.com>
672 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
674 2008-09-17 Matthias Clasen <mclasen@redhat.com>
676 * === Released 2.18.1 ===
678 2008-09-16 Michael Natterer <mitch@imendio.com>
680 * gcontenttype.c (g_content_type_guess): can't assign the return
681 value of g_strdupv() to an array. Fill the array manually with
682 const strings instead (it is never freed anyway). Fixes the
683 build. Also fixed indentation.
685 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
687 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
688 Fix trivial typo to unbreak the build (there was a colon
689 instead of a semicolon at the end of a statement).
691 2008-09-15 Matthias Clasen <mclasen@redhat.com>
693 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
696 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
699 2008-09-15 Matthias Clasen <mclasen@redhat.com>
701 Bug 551681 – g_content_type_guess() too naive with filenames
703 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
704 at the end of the filename, and declare it a directory.
705 Patch by Bastien Nocera
707 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
709 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
712 * gdesktopappinfo.c: add a note in the docs clarifying what the
713 "filename" parameter really is.
715 2008-09-12 Tor Lillqvist <tml@novell.com>
717 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
718 FormatMessage() etc here. Call g_win32_error_message() instead
719 which already does all that. Besides, the code was broken as it
720 called the default "A" version of FormatMessage() but still
721 thought it produced a wide string.
723 2008-09-12 Michael Natterer <mitch@imendio.com>
725 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
726 in the documentation.
728 2008-09-08 Christian Neumair <cneumair@gnome.org>
730 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
731 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
732 Use non-blocking pipe for mount helper I/O. Fixes #550647.
734 2008-09-06 Matthias Clasen <mclasen@redhat.com>
736 Bug 551149 – xdgmime mem leak
738 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
739 a memory leak. Patch by Christian Persch
741 2008-09-04 Tor Lillqvist <tml@novell.com>
743 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
746 2008-09-02 Matthias Clasen <mclasen@redhat.com>
748 * === Released 2.18.0 ===
750 2008-09-02 Michael Natterer <mitch@imendio.com>
752 * *.h: big header formatting cleanup: indentation, vtable
753 formatting, consistent spacing in (* vfunc), trailing whitespace
754 removal. Formatting should be pretty consistent in all GIO headers
757 2008-09-02 Matthias Clasen <mclasen@redhat.com>
759 * gmount.h: Document guess_content_type sync vfunc.
761 2008-09-02 Michael Natterer <mitch@imendio.com>
763 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
764 fix parent_class member to be GFilterOutputStreamClass (not
765 GOutputStreamClass). Drop three pointers of padding, which is
766 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
767 so the class struct size stays the same.
769 2008-09-02 Matthias Clasen <mclasen@redhat.com>
771 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
773 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
774 nonexisting return values. Pointed out by Cosimo Cecchi.
776 2008-08-23 Tor Lillqvist <tml@novell.com>
778 Bug 548988 - g_file_replace fails on Windows when the target file
781 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
782 Windows, close the file before potentially renaming it (in case we
783 have been writing to a file with a temporary name).
785 (g_local_file_output_stream_close, handle_overwrite_open): Use
786 GLocalFileStat instead of plain struct stat, for passing to
787 _g_local_file_info_create_etag(). Thus also use _fstati64()
788 instead of plain fstat() on Windows.
790 2008-08-18 Matthias Clasen <mclasen@redhat.com>
792 * === Released 2.17.7 ===
794 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
796 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
799 2008-08-13 Tor Lillqvist <tml@novell.com>
801 * win32/gwinhttpvfs.c
802 * win32/gwinhttpvfs.h
803 * win32/gwinhttpfile.c
804 * win32/gwinhttpfileinputstream.c
805 * win32/gwinhttpfileoutputstream.c: Refactor some common code
806 snippets into helper functions. Check HTTP response status
807 codes. Implement g_winhttp_file_query_info(), looking at
808 Content-Length, Content-Type and Last-Modified.
810 * win32/winhttp.h: Add some symbolic constants that are not
811 publicly documented. Just a handful, so it should be OK to use
812 information from the Windows SDK's headers.
814 2008-08-13 Tor Lillqvist <tml@novell.com>
816 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
819 * win32/gwin32directorymonitor.c
820 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
822 2008-08-13 Matthias Clasen <mclasen@redhat.com>
825 * goutputstream.c: Add intro docs.
827 2008-08-13 Tor Lillqvist <tml@novell.com>
829 * win32/gwinhttpfileoutputstream.c
830 (g_winhttp_file_output_stream_write): Don't write the
831 Content-Length header ourselves, WinHttpSendRequest() takes care
832 of that when the dwTotalLength parameter is non-zero. Increment
833 offset by the number of actual bytes sent, although I wonder if
834 such a scenario is possible where less than requested would be
835 sent and accepted by the server without errors.
837 2008-08-13 Tor Lillqvist <tml@novell.com>
839 * win32/gwinhttpvfs.c
840 * win32/gwinhttpvfs.h
841 * win32/gwinhttpfile.c
842 * win32/gwinhttpfile.h
843 * win32/gwinhttpfileinputstream.c
844 * win32/gwinhttpfileinputstream.h
845 * win32/gwinhttpfileoutputstream.c
846 * win32/gwinhttpfileoutputstream.h: New files implementing
847 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
848 Windows. The implementation uses the WinHttp API. Both reading and
849 writing are supported, i.e. GET and PUT requests. When writing,
850 each write call is done using a separate PUT request with a
851 Content-Range header. Requests for file URIs and plain pathnames
852 are forwarded to GLocalVfs.
854 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
855 WINE. Used as there is no <winhttp.h> bundled with mingw, and
856 requiring people to download the Windows SDK just for this one
857 header is not reasonable.
859 * win32/Makefile.am: Add above files.
861 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
862 the plumbing for the above.
864 2008-08-11 Sven Neumann <sven@gimp.org>
866 * gfilenamecompleter.c
867 * glocaldirectorymonitor.c
869 * gunionvolumemonitor.c
873 * gunixvolumemonitor.c
876 * gwin32volumemonitor.c: use canonical signal names.
878 2008-08-11 Tor Lillqvist <tml@novell.com>
880 * Makefile.am: Put a list of the platform-dependent .la files in
881 the subdirectories in the platform_deps Make variable, and make
882 libgio-2.0.la depend on that, so that it gets relinked if one of
883 the dependent libraries has changed.
885 2008-08-11 Tor Lillqvist <tml@novell.com>
887 * Makefile.am (platform_libadd): Remove -lwininet which had been
888 added by mistake. We will probably eventually be using WinHTTP,
889 not the older WinInet anyway. (Actually I am working on it.)
891 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
893 Bug 547080 – g_file_copy leaks expected errors
895 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
896 before trying the next fallback routine.
898 2008-08-09 Loïc Minier <lool@dooz.org>
900 Bug 535124 – umask 002 not being applied for new directories, new
901 files get the correct umask
903 * gfile.c (g_file_make_directory)
904 (g_file_make_directory_with_parents): Document ownership and
905 permissions of newly created directories as being the default
908 2008-08-08 Loïc Minier <lool@dooz.org>
910 Bug 535124 – umask 002 not being applied for new directories, new
911 files get the correct umask
913 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
916 2008-08-08 Tor Lillqvist <tml@novell.com>
918 * gwin32mount.c: Remove unused code. Whitespace cleanup.
920 * gwin32volumemonitor.c (get_connected_drives): Put questionable
921 code that didn't actually do anything inside #if 0, and add a
922 comment wondering what the code was supposed to do. This also gets
923 rid of a leftover debugging printout.
925 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
927 * gfileicon.c (g_file_icon_get_property)
928 (g_file_icon_set_property): New functions.
929 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
931 (g_file_icon_new): Use the property (bug #546132).
933 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
935 * gthemedicon.c (g_themed_icon_get_property): Also handle
936 `PROP_USE_DEFAULT_FALLBACKS'.
937 (g_themed_icon_class_init): Make
938 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
940 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
942 Bug 546371 – Improve docs re g_file_monitor
944 * gfilemonitor.c: Mention g_file_monitor() in the docs.
946 2008-08-04 Matthias Clasen <mclasen@redhat.com>
948 * === Released 2.17.6 ===
950 2008-08-04 Matthias Clasen <mclasen@redhat.com>
952 * === Released 2.17.5 ===
954 2008-08-04 Matthias Clasen <mclasen@redhat.com>
956 Bug 546017 – Don't copy attributes when copying a symlink
958 * gfile.c (g_file_copy_attributes): Specify
959 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
960 g_file_set_attributes_from_info. Patch by Christian Kellner
962 2008-08-04 Matthias Clasen <mclasen@redhat.com>
964 * gemblemedicon.[hc]:
966 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
967 a bit more extensible. Work by Clemens Buss.
969 * gioenums.h: Add GEmblemOrigin.
972 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
974 Bug 546079 – leak in xdgmime
976 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
978 2008-08-03 Tor Lillqvist <tml@novell.com>
980 * win32/gwin32directorymonitor.h
981 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
984 2008-08-03 Tor Lillqvist <tml@novell.com>
986 * win32/gwin32directorymonitor.c
987 (g_win32_directory_monitor_callback): Make prototype match
988 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
989 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
992 (g_win32_directory_monitor_constructor):
993 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
994 names in the GLib API on Windows, so convert to UTF-16 and open
997 2008-08-03 Tor Lillqvist <tml@novell.com>
999 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1000 user's folder under Windows
1002 * win32/gwin32directorymonitor.c
1003 (g_win32_directory_monitor_constructor): Ignore error from
1004 CreateFile() when opening directory. Instead of asserting, just
1005 store INVALID_HANDLE_VALUE then in
1006 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1007 ReadDirectoryChangesW().
1008 (g_win32_directory_monitor_cancel): Don't attempt to close
1009 directory handle if it is INVALID_HANDLE_VALUE.
1011 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1013 * gdesktopappinfo.c: Remove debug spew
1015 2008-08-01 Hans Breuer <hans@breuer.org>
1017 * makefile.msc : add gemblembedicon
1019 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1021 Bug 545457 – gdmsetup crashed with SIGSEGV in
1022 g_unix_mount_guess_should_display()
1024 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1025 crash if no mount is found.
1027 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1029 Bug 545203 – gfile.c: argument is different type.
1031 * gfile.c (open_read_async_thread): Pass a GError **
1032 to g_file_set_error_literal.
1033 Reported by Kazuki Iwamoto
1035 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1037 Bug 545157 – wrong/no list of "open with" applications for .cc and
1040 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1041 Collect all ancestors, not just direct parents. Pointed
1042 out by Bastien Nocera
1044 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1046 * Makefile.am: Install gemblemedicon.h
1048 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1050 * gemblemedicon.[hc]: Add a GIcon implementation that can
1051 add an emblem to another icon.
1058 * gfileicon.c: Small documentation additions.
1060 2008-07-28 Tor Lillqvist <tml@novell.com>
1062 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1065 2008-07-27 Tor Lillqvist <tml@novell.com>
1067 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1069 2008-07-24 David Zeuthen <davidz@redhat.com>
1073 Also export a g_mount_guess_content_type_sync() function.
1075 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1077 529694 – SELinux context setting support
1079 * gfileinfo.c: Support setting selinux attributes.
1080 Patch by Tomas Bzatek
1082 2008-07-22 Priit Laes <plaes@plaes.org>
1084 Bug 544140 - fam-helper 64-bit issue?
1086 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1088 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1090 * === Released 2.17.4 ===
1092 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1094 * gvolumemonitor.[hc]:
1095 * gmountoperation.c:
1099 * gmount.c: Documentation fixes
1101 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1103 543504 – crash in Epiphany Web Browser: Opening local file
1107 * gdesktopappinfo.c:
1114 * gvolume.c: Register types thread-safely.
1115 Patch by Christian Persch
1117 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1119 * gcontenttype.c: Remove debug spew
1121 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1123 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1126 * fen/fen-kernel.c: Remove a warning that was causing
1127 crashes. Reported by Lin Ma.
1129 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1131 Bug 543040 – async reading on dummy file will crash on
1134 * gfile.c (open_read_async_thread): Cope with read_fn being
1135 NULL. Reported by Lin Ma.
1137 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1140 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1142 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1145 * gdesktopappinfo.h:
1146 * giomodule.c: Rename a chapter id to avoid filename conflict.
1148 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1150 Bug 540616 – mem leak in filechooser button
1152 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1153 the mount entry. Reported by Chrisitan Persch
1155 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1157 * gfile.c: Small documentation fixes.
1159 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1161 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1163 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1168 * gmount.c: Documentation improvements.
1170 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1173 * gmount.[hc]: Add g_mount_guess_content_type().
1175 2008-07-06 David Zeuthen <davidz@redhat.com>
1178 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1179 is needed for easily handling adoption of foreign volumes by
1180 out-of-process volume monitors (#541793)
1182 2008-07-06 David Zeuthen <davidz@redhat.com>
1184 * gvolumemonitor.[ch]:
1185 * gunionvolumemonitor.c: Export the eject-button signal on the
1186 volume monitor class (#541794).
1188 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1190 * gappinfo.c: More doc tweaks
1192 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1194 * gappinfo.c: Clarify some docs
1196 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1198 * gdesktopappinfo.c: Fix a stupid mistake.
1200 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1202 * === Released 2.17.3 ===
1204 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1206 * gfilemonitor.c: Fix the build.
1208 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1210 Bug 536160 – Add g_file_monitor()
1213 * gfile.[hc]: Add g_file_monitor which can return either
1214 a file or a directory monitor. Proposed by Behdad Esfahbod
1216 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1218 536733 – gio build failure on Irix
1220 * glocalfile.c: Use a configure check for structfs.f_bavail.
1222 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1224 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1227 * gdesktopappinfo.[hc]: Add a function to create a
1228 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1230 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1232 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1234 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1236 * gunixmounts.c: Fix a doc typo.
1238 2008-07-01 Cody Russell <bratsche@gnome.org>
1240 * gio/gcontenttype.c:
1241 * gio/gwin32appinfo.c:
1242 * gio/gwin32volumemonitor.c:
1243 * gio/gwin32mount.c: Fixed some include problems.
1245 2008-07-01 Cody Russell <bratsche@gnome.org>
1249 Moved all relevant typedefs into these files.
1252 Updated wrt added files.
1254 Split types into separate file for easier maintainership. (#538564)
1256 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1258 Bug 540331 – g_file_append_to () documentation: can return NULL
1260 * gfile.c (g_file_append_to): Clarify docs.
1261 Patch by Jared Moore
1263 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1265 Bug 539090 – g_content_type_from_mime_type() should unalias
1267 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1268 Patch by Markus Bergman
1270 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1272 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1273 g_atomic_pointer_get
1275 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1276 on ppc and alpha. Reported by Mart Raudsepp
1278 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1280 * tests/Makefile.am:
1281 * tests/memory-output-stream.c: Add some tests for
1282 GMemoryOutputStream.
1284 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1286 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1289 * gmemoryoutputstream.c (array_resize): Handle truncation to
1290 zero correctly. Reported by Akira Tagoh
1292 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1294 * gmemoryoutputstream.c: Trivial doc fixes
1296 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1298 Bug 540802 – g_list_prepend doesn't concat lists
1300 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1301 one list to another. Pointed out by Jan Arne Petersen
1303 2008-06-28 Michael Natterer <mitch@imendio.com>
1305 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1307 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1309 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1310 to avoid problems with partial icon themes.
1312 2008-06-17 Hans Breuer <hans@breuer.org>
1314 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1315 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1316 access again on win32, see bug #538127
1317 * giomodule.c : ensure GWin32VolumeMonitor is registered
1318 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1319 * Makefile.am makefile.msc : updated
1321 2008-06-16 Hans Breuer <hans@breuer.org>
1323 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1324 and initialization in one step avoids c99ism
1326 2008-06-16 Christian Persch <chpe@gnome.org>
1329 * gio/gbufferedinputstream.c
1330 * gio/gcancellable.c
1331 * gio/gdatainputstream.c
1332 * gio/gdesktopappinfo.c
1334 * gio/gfileenumerator.c
1335 * gio/gfileinputstream.c
1336 * gio/gfileoutputstream.c
1337 * gio/ginputstream.c
1338 * gio/glocaldirectorymonitor.c
1340 * gio/glocalfileenumerator.c
1341 * gio/glocalfileinfo.c
1342 * gio/glocalfilemonitor.c
1343 * gio/glocalfileoutputstream.c
1344 * gio/gmemoryinputstream.c
1345 * gio/gmemoryoutputstream.c
1346 * gio/goutputstream.c
1347 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1350 2008-06-16 Tor Lillqvist <tml@novell.com>
1352 Bug 538362 - Get Win32 icons back in the file chooser
1354 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1355 corresponding to a file extension in the Registry. Patch by Hans
1357 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1359 2008-06-16 Tor Lillqvist <tml@novell.com>
1361 Patches by Hans Breuer:
1363 * glocalfile.c (is_xp_or_later): Handle compiling against older
1364 SDK headers with missing VerifyVersionInfo(). Conditioned on
1365 _MSC_VER, but should probably use some better test.
1366 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1367 uninitialised statfs_result variable on Win32.
1369 2008-06-16 Michael Natterer <mitch@imendio.com>
1371 * *.c: chain up unconditionally in finalize() and dispose(). Also
1372 don't dereference these function pointers when calling them since
1373 that has no meaning at all.
1375 2008-06-16 Ross Burton <ross@burtonini.com>
1377 * gfileenumerator.c:
1378 Remove check for dispose implementation as it annoys Emmanuele.
1380 2008-06-16 Ross Burton <ross@burtonini.com>
1382 Bug 536252 – GFileEnumerator should allow access to the containing
1385 * gfileenumerator.c:
1386 * gfileenumerator.h:
1388 Add g_file_enumerator_get_container() and a container writeable
1389 construct-only property. Also shuffle around typedefs to make it
1392 * glocalfileenumerator.c:
1393 * glocalfileenumerator.h:
1395 Instead of a string filename take a GFile in the constructor and
1396 use it to set the container property.
1399 Update with new API.
1401 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1403 * gfile.c: Make includes more uniform
1405 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1407 * tests/live-g-file.c (sample_struct):
1408 Use less fancy unicode filenames, so the test doesn't fail
1409 on Mac OS X (#531476).
1411 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1413 * === Released 2.17.2 ===
1415 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1417 * === Released 2.17.1 ===
1419 2008-06-11 A. Walton <awalton@gnome.org>
1421 * tests/g-file.c (test_g_file_new_null):
1422 Fix broken test case.
1424 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1426 * pltcheck.sh: We use g_clear_error now.
1428 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1430 * glocalfile.c (g_local_file_enumerate_children): Revert
1431 an unintended change.
1433 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1435 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1437 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1439 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1442 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1443 as icon for the desktop directory, also make user-home and
1444 user-desktop the preferred icons.
1446 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1449 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1450 to add a name to the front of the list.
1452 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1454 Bug 537392 – Additional colon in xattr name
1456 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1457 too. Reported by Alessandro Morandi
1459 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1461 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1464 * glocalfile.c (get_fs_type): Add afs and autofs.
1465 Patch by Danny Baumann.
1467 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1469 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1471 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1472 is no parent. (Owen Taylor, patch by Christian Neumair)
1474 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1476 * gfile.c (g_file_replace_contents): do not leak the output stream.
1478 2008-06-10 Michael Natterer <mitch@imendio.com>
1480 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1481 uninitialized memory as array index.
1483 2008-06-10 Tor Lillqvist <tml@novell.com>
1485 * gcontenttype.c (g_content_type_can_be_executable)
1486 (g_content_type_get_icon) [Win32]: Add TODO comments.
1488 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1490 * xdgmime/Makefile.am: Fix the build
1492 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1494 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1495 in the shared mime database, if available.
1497 * xdgmime/*: Sync with upstream. This brings support for
1498 glob weights, generic icons, and changes the cache format to
1501 2008-05-28 Michael Natterer <mitch@imendio.com>
1503 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1504 the global CPPFLAGS now.
1506 * tests/data-input-stream.c
1507 * tests/data-output-stream.c
1508 * tests/g-file-info.c
1510 * tests/live-g-file.c
1511 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1513 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1515 * === Released 2.17.0 ===
1517 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1518 doesn't complain about leftover files.
1520 2008-05-27 simon.zheng <simon.zheng@sun.com>
1522 * glocalfile.c: (g_local_file_query_filesystem_info):
1523 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1525 2008-05-26 Michael Natterer <mitch@imendio.com>
1527 * gmemoryoutputstream.h: declare
1528 g_memory_output_stream_get_data_size().
1530 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1532 * tests/*: Make tests work
1534 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1536 * gio.symbols: Add g_memory_output_stream_get_data_size.
1538 2008-05-25 Ross Burton <ross@burtonini.com>
1541 Fix typo in error message (#534764).
1543 2008-05-25 Ross Burton <ross@burtonini.com>
1546 Fix circular dependency loop for gioenumtypes.h (#534759).
1548 2008-05-19 Hans Breuer <hans@breuer.org>
1550 * Makefile.am : EXTRA_DIST += makefile.msc
1552 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1555 * gcontenttype.c: (g_content_type_from_mime_type):
1556 New function to create a content type from a mime type. (#527175,
1559 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1561 Bug 532965 – Should not return filesystem::free for certain file systems
1563 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1564 free space for ncpfs.
1566 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1568 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1570 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1571 st_dev might be zero.
1573 2008-05-16 Tor Lillqvist <tml@novell.com>
1575 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1576 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1578 2008-05-13 Bastien Nocera <hadess@hadess.net>
1580 * gfile.c (has_valid_scheme): A URI scheme must start with a
1581 letter, even if later more characters are allowed (#532852)
1583 2008-05-05 Michael Natterer <mitch@imendio.com>
1585 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1586 code from being checked in that breaks the build of applications
1587 which use G_DISABLE_SINGLE_INCLUDES.
1589 * makegioalias.pl: make the alias file include "glib.h" instead of
1592 * gio.symbols: whitespace change to force regeneration of the
1593 alias file after above script change.
1595 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1597 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1599 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1601 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1603 2008-04-28 David Zeuthen <davidz@redhat.com>
1605 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1606 displaying mounts in a subdirectory not accessible to the
1609 2008-04-22 Michael Natterer <mitch@imendio.com>
1611 * Makefile.am: fix library versioning (it was 0.0.0).
1613 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1615 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1616 Default disable all loggings.
1617 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1618 (port_fetch_event_cb): Fixed two macro nits.
1620 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1622 * xdgmime/xdgmime.c: Rework the timestamp checking code
1623 to protect against duplicate directories in XDG_DATA_DIRS.
1624 Fixes fd.o bug 12513, reported by Joe Shaw.
1626 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1628 Partically revert the last commit after realizing that
1629 xdg_mime_media_type_equal doesn't have to init at all.
1631 * xdgmime/xdgmime.h:
1632 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1634 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1636 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1638 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1639 reported by Joe Shaw and Federico Mena Quintero.
1641 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1642 (xdg_mime_media_type_equal): Turn into a wrapper around the
1645 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1646 functions throughout.
1648 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1650 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1651 tolerate an empty TryExec= line without failing; nautilus used
1652 to create launchers with these in previous versions. Fixes #528433
1654 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1656 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1657 after name. Fixes #527132.
1659 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1661 * gfile.c: (g_file_replace):
1664 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1666 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1668 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1669 by Christian Kellner.
1671 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1673 * gunixmounts.c: (g_unix_mount_guess_should_display):
1674 Don't list the user directory as a mount, fix potential issue
1675 when other users have a similar naming and don't special case the
1676 gvfs mounts there since that's not required (#525866)
1678 2008-03-31 Alexander Larsson <alexl@redhat.com>
1680 * glocalfile.c (get_parent):
1683 2008-03-31 A. Walton <awalton@svn.gnome.org>
1685 * gfile.c (g_file_query_file_type):
1686 Always return a GFileType enum value (#520715).
1688 2008-03-31 Alexander Larsson <alexl@redhat.com>
1690 * glocalfileenumerator.c:
1691 Read readdir() info in chunks (of 1000) and sort
1692 the chunks by inode before stat:ing.
1693 This is a 20% performance increase in testing
1694 gvfs-ls on /usr/bin with cold cache.
1696 2008-03-31 Alexander Larsson <alexl@redhat.com>
1698 * gmemoryoutputstream.c:
1699 Clarify docs for g_memory_output_stream_get_size.
1700 Add g_memory_output_stream_get_data_size.
1702 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1706 * gfile.h: Add g_file_query_file_type convenience function
1707 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1709 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1711 * gfileenumerator.c:
1712 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1714 2008-03-28 A. Walton <awalton@svn.gnome.org>
1716 * giomodule.c (_g_io_modules_ensure_loaded):
1717 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1720 2008-03-28 Alexander Larsson <alexl@redhat.com>
1723 (copy_stream_with_progress):
1726 2008-03-28 Alexander Larsson <alexl@redhat.com>
1729 (copy_stream_with_progress):
1730 (file_copy_fallback):
1731 Fallback to g_file_query_info for source size
1732 if g_file_input_stream_query_info fails. (#524579)
1734 2008-03-28 Alexander Larsson <alexl@redhat.com>
1736 * glocalfile.c (g_local_file_move):
1737 Reuse old string instead of adding new one.
1739 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1741 * fen/*.[hc]: still copyright issue. I hate copyright.
1743 2008-03-27 Alexander Larsson <alexl@redhat.com>
1745 * glocalfile.c (g_local_file_move):
1746 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1747 file over directory. This is according to the docs and what the move via
1748 copy+remove fallback does.
1750 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1752 * fen/*.[hc]: Updated copyright.
1754 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1756 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1758 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1760 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1761 not emit attribute changed events when optimizing changed events.
1762 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1765 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1767 * gmountoperation.[hc]: Small documentation additions
1769 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1771 * gunixmounts.c: (guess_mount_type):
1772 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1774 2008-03-19 Alexander Larsson <alexl@redhat.com>
1777 (copy_stream_with_progress):
1778 Bump block side for copy to 64k to minimize
1779 overhead for low latency links. (#523015)
1781 2008-03-16 Tor Lillqvist <tml@novell.com>
1783 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1784 depend on gio.def on Windows.
1786 2008-03-12 David Zeuthen <davidz@redhat.com>
1790 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1792 2008-03-14 Alexander Larsson <alexl@redhat.com>
1796 Avoid redudant tests (#521851)
1797 Patch from Josselin Mouette
1799 2008-03-14 Alexander Larsson <alexl@redhat.com>
1802 (g_file_monitor_is_cancelled):
1803 Fix C89 issue (#521672)
1804 Patch from Jens Granseuer
1806 2008-03-14 Alexander Larsson <alexl@redhat.com>
1808 * fam/fam-helper.[ch]:
1810 Shut down fam (including removing fam GSource) when
1811 module is unloaded (#521513)
1812 Patch from Joe Marcus Clarke
1814 2008-03-14 Alexander Larsson <alexl@redhat.com>
1817 (_g_io_modules_ensure_loaded):
1820 2008-03-14 Alexander Larsson <alexl@redhat.com>
1823 (g_local_file_query_filesystem_info):
1824 Use right define name for f_fstypename member check
1826 2008-03-14 Alexander Larsson <alexl@redhat.com>
1829 * fen/Makefile.am: Added.
1830 * fen/fen-data.[ch]: Added.
1831 * fen/fen-dump.[ch]: Added.
1832 * fen/fen-helper.[ch]: Added.
1833 * fen/fen-kernel.[ch]: Added.
1834 * fen/fen-missing.[ch]: Added.
1835 * fen/fen-node.[ch]: Added.
1836 * fen/fen-sub.[ch]: Added.
1837 * fen/gfendirectorymonitor.[ch]: Added.
1838 * fen/gfenfilemonitor.[ch]: Added.
1840 Added Solaris FEN file notification backend.
1841 Patch from Lin Ma <Lin.Ma@Sun.COM>
1843 2008-03-13 Tor Lillqvist <tml@novell.com>
1845 * Makefile.am: Actually use the gio.def file when linking the
1846 library on Windows. Produce .lib library for Microsoft's toolchain
1847 when possible. Install the .lib and .def file like for the other
1850 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1852 * tests/live-g-file.c:
1853 Include live-g-file in standard set of tests, making a temporary
1854 directory in source structure.
1856 Clean target directory before the tests (write mode only)
1858 2008-03-12 Tor Lillqvist <tml@novell.com>
1860 Bug 517419 - gio win32 directory monitor
1861 Implementation by Vlad Grecescu.
1864 * win32/gwin32directorymonitor.h
1865 * win32/gwin32directorymonitor.c: New files.
1867 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1869 * Makefile.am: Add the win32 subdirectory.
1871 2008-03-12 Tor Lillqvist <tml@novell.com>
1873 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1874 normal struct stat on Unix but struct _stati64 on Windows to have
1875 access to 64-bit file size information. Use that instead of struct
1876 stat in the functions declared here in this private header.
1878 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1879 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1880 warnings about unused functions and variables. Don't set
1881 meaningless attributes like inode numbers on Windows.
1883 2008-03-12 Benjamin Otte <otte@gnome.org>
1886 trim whitespace so gtk-doc groks the function name
1888 2008-03-12 Tor Lillqvist <tml@novell.com>
1890 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1891 returning FALSE, on Win32.
1893 2008-03-11 Alexander Larsson <alexl@redhat.com>
1896 * glocalfileinfo.[ch]:
1897 Correctly implement can_trash by actually
1898 looking for a trash dir, not just assuming
1901 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1903 * === Released 2.16.1 ===
1905 2008-03-11 Alexander Larsson <alexl@redhat.com>
1908 Fix crashes in new constructor and properties code
1910 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1912 * gfile.c: Minor spelling correction in documentation:
1913 existance -> existence.
1915 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1917 * === Released 2.16.0 ===
1919 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1921 * gio.symbols: Remove g_file_contains_file here, too.
1923 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1925 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1926 Samuel Cormier-Iijima)
1928 2008-03-08 Tor Lillqvist <tml@novell.com>
1930 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1933 2008-03-07 Alexander Larsson <alexl@redhat.com>
1936 (g_local_file_query_filesystem_info):
1937 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1938 Patch from Jasper Lievisse Adriaanse
1940 2008-03-06 Tor Lillqvist <tml@novell.com>
1942 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1943 comments for the *_USEC attributes.
1945 2008-03-06 Alexander Larsson <alexl@redhat.com>
1947 * gfile.c (g_file_query_exists):
1948 Add g_return_val_if_fail check (#520700)
1950 2008-03-06 Alexander Larsson <alexl@redhat.com>
1952 * gdesktopappinfo.c:
1955 * gunionvolumemonitor.c:
1958 * tests/live-g-file.c:
1959 * xdgmime/xdgmimecache.c:
1960 Fix sparse warnings (#519489)
1962 2008-03-05 Alexander Larsson <alexl@redhat.com>
1965 Make cancellation threadsafe (i.e.
1966 guarantee its only done once, and always
1969 * glocaldirectorymonitor.c:
1970 Make sure we the monitor lives while the
1971 mounts_changed callback is being called (#520484)
1973 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1975 * gbufferedinputstream.c: Fix typo in parameter
1978 2008-03-04 Alexander Larsson <alexl@redhat.com>
1981 Remove deprecated symbols we kept for one release.
1983 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1986 * goutputstream.c: Tiny documentation corrections.
1988 2008-03-03 Alexander Larsson <alexl@redhat.com>
1990 * gunionvolumemonitor.c:
1992 Fix the adopt_orphan_mount vfunc to take a
1993 volume_monitor reference in an ABI compat way.
1994 This change is not API compat, but the added
1995 arg is not used in the only user of this vfunc, so
1996 all we get is a harmless warning in gvfs (#520169)
1998 2008-03-01 Benjamin Otte <otte@gnome.org>
2001 clarify docs for g_file_delete().
2003 2008-02-29 Alexander Larsson <alexl@redhat.com>
2007 Make sure empty files get text/plain type (#518720)
2009 2008-02-27 Alexander Larsson <alexl@redhat.com>
2015 (g_unix_volume_mount):
2016 Add missing GMountMountFlags argument
2018 2008-02-26 Alexander Larsson <alexl@redhat.com>
2021 (g_local_file_delete):
2022 Handle filesystems (like ntfs-3g) that return EEXIST instead
2023 of ENOTEMPTY (#518816)
2025 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2027 * === Released 2.15.6 ===
2029 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2031 * gfile.c (g_file_find_enclosing_mount):
2032 * ginputstream.c (g_input_stream_set_pending):
2033 * glocalfile.c (g_local_file_find_enclosing_mount):
2034 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2035 * goutputstream.c (g_output_stream_set_pending):
2037 Fixup translator comments (#518578).
2039 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2041 * gfile.c (g_file_find_enclosing_mount):
2043 * glocalfile.c (g_local_file_find_enclosing_mount):
2046 Fix a few typos in translator comments and documentation.
2048 2008-02-25 Alexander Larsson <alexl@redhat.com>
2055 Add translator comments (#518578)
2057 2008-02-25 Alexander Larsson <alexl@redhat.com>
2060 Reintroduce g_file_contains_file, keep around for one
2061 unstable release cycle to avoid crashing to many apps.
2062 Make sure to delete after release.
2064 2008-02-25 Alexander Larsson <alexl@redhat.com>
2067 Remove deprecated g_file_contains_file.
2069 2008-02-25 Alexander Larsson <alexl@redhat.com>
2072 Emit actual change signals in an idle handler.
2073 This avoids reentrance and locking problems in
2074 the file notification backends.
2076 2008-02-25 Alexander Larsson <alexl@redhat.com>
2079 (g_unix_mount_guess_should_display):
2080 Remove type guessing, instead just display
2081 mounts in /media and in ~/.
2083 2008-02-25 Alexander Larsson <alexl@redhat.com>
2086 Make new strings reuse old ones.
2088 2008-02-25 Alexander Larsson <alexl@redhat.com>
2091 Implement trashing and filesystem::readonly for win32 (#517235)
2092 Patch from Yevgen Muntyan
2094 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2096 * gfileinfo.h: Documentation fixes.
2098 2008-02-22 Alexander Larsson <alexl@redhat.com>
2100 * gcontenttype.c (g_content_type_get_icon):
2101 Look at old-style gnome mime icon names too, as many
2102 have not moved to the new style.
2104 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2106 * *.c: Correct the @include in for section docs.
2108 2008-02-21 David Zeuthen <davidz@redhat.com>
2110 * glocalfileinfo.c: (_g_local_file_info_get):
2112 (g_content_type_get_icon): Implement this function by
2113 moving bits from glocalfileinfo.c
2114 (g_content_type_get_description): Unalias before getting
2115 description (#517687)
2117 * gfile.c: (g_file_class_init),
2118 (g_file_query_filesystem_info_async),
2119 (g_file_query_filesystem_info_finish),
2120 (query_filesystem_info_data_free),
2121 (query_filesystem_info_async_thread),
2122 (g_file_real_query_filesystem_info_async),
2123 (g_file_real_query_filesystem_info_finish):
2124 * gfile.h: Implement async version of
2125 g_file_query_filesystem_info()
2127 * gfileinfo.h: Add new attributes for filesystem::use-preview
2129 * gio.symbols: Update
2131 * gthemedicon.c: (g_themed_icon_append_name):
2132 * gthemedicon.h: Add new new convenience function.
2134 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2135 (get_mounts), (get_volumes), (get_connected_drives),
2136 (get_volume_for_uuid), (get_mount_for_uuid),
2137 (g_union_volume_monitor_init), (populate_union_monitor),
2138 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2139 (g_volume_monitor_adopt_orphan_mount):
2141 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2142 monitor implementations to call into the main volume monitor. Also
2143 separate object initialization and volume monitor initialization
2144 such that non-native volume monitors can properly adopt their
2147 2008-02-21 Alexander Larsson <alexl@redhat.com>
2152 2008-02-21 Alexander Larsson <alexl@redhat.com>
2155 Add more documentation about how GFiles work (from #517086)
2157 2008-02-21 Alexander Larsson <alexl@redhat.com>
2161 Add new g_file_has_prefix that does the same as g_file_contains_file.
2162 Deprecate g_file_contains_file and add a macro that converts
2163 it to g_file_has_prefix.
2164 The reason for this change is that the contains_file() name seems to
2165 imply that this does more work than what it does, but its really only
2166 a name match (from #517086)
2171 Update to match the above change.
2173 2008-02-20 Benjamin Otte <otte@gnome.org>
2175 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2176 (g_file_eject_mountable):
2177 even more cases of not returning in error path
2179 2008-02-20 Benjamin Otte <otte@gnome.org>
2181 * gfile.c: (g_file_mount_mountable):
2182 return from function in error path.
2184 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2187 Remove trailing coma in GMountMountFlags struct
2189 2008-02-18 Alexander Larsson <alexl@redhat.com>
2193 * glocalfileoutputstream.c:
2194 Use g_unlink/g_rename instead of unlink/rename;
2195 do not pass raw filenames to g_set_error. (#517239)
2196 Patch from Yevgen Muntyan.
2198 2008-02-18 Alexander Larsson <alexl@redhat.com>
2201 * glocalfileoutputstream.c:
2202 Open files with O_BINARY on windows. (#517140)
2204 2008-02-14 Alexander Larsson <alexl@redhat.com>
2206 * glocalfileoutputstream.c:
2207 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2209 2008-02-14 Alexander Larsson <alexl@redhat.com>
2212 Copy permissions with file on copy (#514084)
2213 This is what cp does and makes sure e.g. the
2214 exec permissions are kept.
2215 Its kinda weird in that it keeps the permission bits
2216 the same while the uid and gid are different. However
2217 the new uid is the user so its not a security issue,
2218 and I've heard no complaints about cp on this issue.
2220 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2222 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2224 2008-02-13 Alexander Larsson <alexl@redhat.com>
2226 * inotify/inotify-path.c:
2227 Define IN_ONLYDIR if not in header (#515346)
2229 2008-02-12 Alexander Larsson <alexl@redhat.com>
2231 * tests/live-g-file.c:
2234 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2236 * === Released 2.15.5 ===
2238 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2240 * gio.symbols: Add g_mount_mount_flags_get_type.
2242 2008-02-11 Alexander Larsson <alexl@redhat.com>
2245 (g_file_info_set_attribute_mask):
2246 (g_file_attribute_matcher_matches_id):
2247 Correctly handle NULL GAttributeMatcher meaning
2248 matches nothing. (Fixes #513492)
2250 2008-02-11 Alexander Larsson <alexl@redhat.com>
2255 Added GMountMountFlags enum and added a flags
2256 argument to all mount calls.
2258 This is an API/ABI change for future extensibility,
2259 as I think we will need at least an
2260 inhibit-autorun flag (the panel needs this).
2261 There are no flags defined yet though.
2263 2008-02-11 Alexander Larsson <alexl@redhat.com>
2266 Added new standard::description attribute.
2267 Requested by Vincent, and useful for both
2270 2008-02-11 Alexander Larsson <alexl@redhat.com>
2272 * gdesktopappinfo.c:
2275 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2277 * *.c: Documentation additions
2279 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2281 * gappinfo.h: Formatting cleanup
2282 * gappinfo.c: Fix up docs.
2284 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2286 * gunixmounts.c: Consistently use getmntent_r() and fall
2287 back to getmntent(). (#515492)
2289 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2291 * gbufferedinputstream.c:
2293 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2295 * tests/data-input-stream.c:
2296 * tests/data-output-stream.c: Portability fixes.
2298 2008-02-08 Alexander Larsson <alexl@redhat.com>
2303 Add g_volume_should_automount.
2306 2008-02-07 Tor Lillqvist <tml@novell.com>
2308 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2309 Win32, too Unix-specific.
2311 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2313 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2314 a local plt if the compiler doesn't support what we want. Bug #514702
2316 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2318 reviewed by: <delete if not using a buddy>
2321 * gunixinputstream.c:
2322 * gunixoutputstream.c:
2324 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2326 * tests/Makefile.am:
2327 * tests/live-g-file.c:
2328 * tests/live-g-file.txt:
2329 New GIO testing module working over real data
2331 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2333 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2334 Fallback to rename() if link() is not available
2335 (when no support on target filesystem)
2337 2008-02-06 Michael Natterer <mitch@imendio.com>
2339 * gfileinfo.c (g_file_info_get_icon): replace
2340 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2342 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2344 * gfile.c (g_file_create):
2345 Documentation update of error codes
2347 2008-02-06 Alexander Larsson <alexl@redhat.com>
2349 * gdesktopappinfo.c:
2350 Update to use both mimeapps.list and
2351 defaults.list as discussed on xdg list.
2353 2008-02-06 Benjamin Otte <otte@gnome.org>
2356 * gfilenamecompleter.c:
2357 Fix some typos in the documentation.
2359 2008-02-06 Alexander Larsson <alexl@redhat.com>
2361 * glocalfile.c (g_local_file_trash):
2362 Don't succeed with trash if newly created
2363 trash dir has the wrong owner. (#514696)
2365 2008-02-05 Alexander Larsson <alexl@redhat.com>
2367 * glocalfile.c (g_local_file_move):
2368 Don't spew warnings when destination is not
2371 2008-02-03 Hans Breuer <hans@breuer.org>
2373 * makefile.msc : update
2375 2008-02-01 Michael Natterer <mitch@imendio.com>
2377 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2378 return value of xdg_mime_list_mime_parents() to a variable of the
2381 2008-02-01 Alexander Larsson <alexl@redhat.com>
2383 * gappinfo.c (g_app_info_launch_uris):
2384 Actually call the launch_uris method, not
2387 2008-02-01 Alexander Larsson <alexl@redhat.com>
2389 * gdesktopappinfo.c (g_desktop_app_info_equal):
2390 Ensure appinfos with no id but same pointer value
2393 2008-02-01 Alexander Larsson <alexl@redhat.com>
2395 * gappinfo.c (g_app_info_launch_default_for_uri):
2398 2008-02-01 Alexander Larsson <alexl@redhat.com>
2402 Add g_app_info_launch_default_for_uri utility
2405 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2407 * gdesktopappinfo.c:
2408 Doc fix for g_app_info_get_default_for_uri_scheme ()
2411 2008-01-30 Alexander Larsson <alexl@redhat.com>
2414 Add doc comment about uris vs GFiles to
2417 * gdesktopappinfo.c:
2418 Ensure uris passed to g_app_info_launch_uris()
2419 are not roundtriped through GFile (as that
2420 may be slightly destructive for e.g. mailto: links)
2422 2008-01-30 Alexander Larsson <alexl@redhat.com>
2424 * tests/data-input-stream.c:
2425 * tests/data-output-stream.c:
2426 C89 fixes from Jens Granseuer (#512849)
2428 2008-01-30 Alexander Larsson <alexl@redhat.com>
2431 Fix gamin/fam difference build issue. (#509419)
2433 2008-01-29 Alexander Larsson <alexl@redhat.com>
2436 * gdesktopappinfo.c:
2437 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2439 2008-01-29 Alexander Larsson <alexl@redhat.com>
2441 * gdesktopappinfo.c:
2442 * gdesktopappinfo.h:
2443 giomodule-priv.h include moved to .c file.
2445 2008-01-29 Alexander Larsson <alexl@redhat.com>
2447 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2448 Remove unused prio/name fields.
2450 2008-01-29 Alexander Larsson <alexl@redhat.com>
2452 * gcontenttype.c (looks_like_text):
2453 Don't treat whitespace as control chars.
2455 2008-01-29 Alexander Larsson <alexl@redhat.com>
2457 * gdesktopappinfo.c:
2458 Lazily create the desktop files for appinfos created
2459 by g_app_info_create_from_commandline() when needed
2460 for mime associations. This allows run-time use
2461 of GAppInfo object without creating unnecessary
2464 2008-01-29 Alexander Larsson <alexl@redhat.com>
2467 Added new symbols to gio.symbols
2469 2008-01-29 Alexander Larsson <alexl@redhat.com>
2472 Add g_file_query_default_handler utility to easily look up
2473 the GAppInfo that handles a file.
2475 * gdesktopappinfo.[ch]:
2477 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2480 Remove unused function
2482 2008-01-29 Alexander Larsson <alexl@redhat.com>
2484 * gfileenumerator.c:
2485 Mention need to free returned value in
2486 g_file_enumerator_next_files_finish docs.
2487 Fix leak if g_file_enumerator_next_files_finish()
2490 2008-01-29 Alexander Larsson <alexl@redhat.com>
2493 (_g_unix_content_type_get_parents):
2494 Use list_parents, not get_parents from xdgmime, because
2495 the later doesn't use the cache.
2497 * xdgmime/xdgmimecache.c:
2498 (_xdg_mime_cache_list_mime_parents):
2499 Don't list the same type as parent multiple times.
2501 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2503 * === Released 2.15.4 ===
2505 2008-01-28 Alexander Larsson <alexl@redhat.com>
2508 Register local vfs with prio 0.
2511 Remove old name and prio class members
2513 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2515 * tests/g-file.c: Disable some tests that are failing in
2516 the absence of a http backend.
2518 2008-01-28 Alexander Larsson <alexl@redhat.com>
2522 Add registration hooks for extension points.
2523 Register the gio extension points.
2525 * fam/gfamdirectorymonitor.c:
2526 * fam/gfamfilemonitor.c:
2527 * glocaldirectorymonitor.[ch]:
2528 * glocalfilemonitor.[ch]:
2529 * gnativevolumemonitor.h:
2530 * gunionvolumemonitor.c:
2531 * gunixvolumemonitor.c:
2534 * inotify/ginotifydirectorymonitor.c:
2535 * inotify/ginotifyfilemonitor.c:
2536 Use the extension points registration instead
2537 of g_type_children().
2539 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2542 * gvolume.[hc]: Document new API.
2544 * gfile.c (g_file_copy_async): Fix docs
2546 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2548 * gbufferedinputstream.c:
2550 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2553 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2555 * glocalfile.c: Avoid trivial differences in translatable strings.
2557 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2559 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2560 build with gcc 3.4 (#509419)
2562 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2564 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2565 (#509994, Murray Cumming)
2567 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2569 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2570 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2571 this allows big jobs to be executed in chunks, instead of blocking
2572 the main loop for a long time.
2574 * gsimpleasyncresult.c:
2575 * giofile.c: Adapt callers.
2577 2008-01-25 Alexander Larsson <alexl@redhat.com>
2579 * gdesktopappinfo.c:
2580 Implement changes discussed on xdg list.
2581 Now we can add supported mimetypes by just using defaults.list
2582 We can also remove associations in defaults.list.
2584 2008-01-25 Alexander Larsson <alexl@redhat.com>
2586 * gdesktopappinfo.c:
2587 Don't make local copy of desktop file
2588 for mimetype changes if the file already
2589 supports the new mimetype.
2591 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2595 * gbufferedinputstream.c:
2596 * glocalfile.c: String improvements. (#511966,
2597 Theppitak Karoonboonyanan)
2599 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2601 * gioscheduler.h: Expand docs a bit.
2603 2008-01-24 Alexander Larsson <alexl@redhat.com>
2606 Add g_drive_get_identifier and
2607 g_drive_enumerate_identifiers
2610 Add g_volume_get_identifier and
2611 g_volume_enumerate_identifiers
2617 Implement identifiers for unix backend
2619 2008-01-24 Alexander Larsson <alexl@redhat.com>
2624 Add g_file_copy_async() (#511580)
2625 Based on patch from Carlos Garcia Campos
2627 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2629 * gioscheduler.c: Some documentation additions.
2631 2008-01-22 Alexander Larsson <alexl@redhat.com>
2633 * gdesktopappinfo.c:
2634 (g_desktop_app_info_new):
2635 Don't leak basename.
2637 2008-01-22 Alexander Larsson <alexl@redhat.com>
2639 * gdesktopappinfo.c:
2640 (g_desktop_app_info_new_from_filename):
2643 2008-01-22 Alexander Larsson <alexl@redhat.com>
2645 * glocalfileinfo.c (get_thumbnail_attributes):
2648 2008-01-22 Alexander Larsson <alexl@redhat.com>
2651 (canonicalize_filename):
2652 Canonicalize paths that start with more than
2656 (compare_two_files):
2657 (test_g_file_new_for_path):
2660 2008-01-22 Alexander Larsson <alexl@redhat.com>
2663 Allow UTF-8 in file:// parse names.
2665 * tests/Makefile.am:
2666 * tests/data-input-stream.c:
2667 * tests/data-output-stream.c:
2668 * tests/g-file-info.c:
2670 Added a bunch of tests from Tomas Bzatek
2672 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2674 * === Released 2.15.3 ===
2676 2008-01-21 Alexander Larsson <alexl@redhat.com>
2678 * gfileinputstream.[ch]:
2679 * gfileoutputstream.[ch]:
2681 Remove duplicated GSeekable functions. (#509990)
2682 Just use the g_seekable_xxx() calls instead.
2684 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2687 * gvolumemanager.c: Whitespace cleanups.
2689 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2690 Use the right mode when creating the file.
2692 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2694 * gfileenumerator.c:
2695 * gfileinputstream.c:
2697 * goutputstream.c: Documentation: Fixed minor typos
2698 and added more mentions of specific _finish() functions.
2700 2008-01-21 Alexander Larsson <alexl@redhat.com>
2702 * inotify/Makefile.am:
2703 * inotify/inotify-helper.c:
2704 * inotify/inotify-kernel.c:
2705 * inotify/inotify-path.c:
2706 * inotify/local_inotify.h: Removed.
2707 * inotify/local_inotify_syscalls.h: Removed.
2708 Removed the included copies of the inotify
2709 headers. We now only use the <sys/inotify.h>
2710 header which exists on modern systems.
2711 This fixes problems on ARM and SH5 (#510448)
2712 but is also generally much cleaner and future
2713 safe. For instance, if other OSes add support
2714 for inotify it should "just work".
2716 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2718 * inotify/*.c: Coding style fixes.
2719 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2720 for the 1/4 Hz timer.
2722 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2725 * gfilemonitor.[hc]:
2726 * gmemoryinputstream.c:
2727 * gmemoryoutputstream.c:
2728 * gmountoperation.c:
2729 * gthemedicon.c: Documentation updates
2731 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2733 * gfile.c: documentation: Fixed more minor
2736 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2738 * gmount.c: (g_mount_remount): documentation:
2739 Mention g_mount_remount_finish() instead of
2740 g_mount_unmount_finish().
2742 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2746 * gfile.c: Fixed some minor typos in the
2749 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2751 * gio/gvolumemonitor.c:
2752 (g_volume_monitor_get_connected_drives):
2753 (g_volume_monitor_get_volumes):
2754 (g_volume_monitor_get_mounts): Documentation:
2755 Clarify the ownership of the regurn GLists.
2757 2008-01-17 Alexander Larsson <alexl@redhat.com>
2760 Add the async find_enclosing_mount version
2761 to the header file too.
2763 2008-01-17 Alexander Larsson <alexl@redhat.com>
2766 Add async version of find_enclosing_mount
2767 with default implementation.
2769 2008-01-17 Alexander Larsson <alexl@redhat.com>
2774 Allow calls to implementation of copy and write
2775 even if the type of the file implementations is
2776 different. This can be used to implement native
2777 upload and download calls in a vfs.
2780 (g_local_file_move):
2781 Protect against the case where move is called
2782 with one file not being local.
2784 Make sure we call the progress callback once
2785 in the native move operation so that the caller
2786 knows how many bytes were copied.
2788 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2791 * gdatainputstream.c:
2793 * gfileoutputstream.c:
2798 * gunixmounts.c: Corrected some typos in the documentation:
2799 occured -> occurred.
2800 its -> it's (where appropriate).
2802 2008-01-16 Alexander Larsson <alexl@redhat.com>
2806 Add g_file_query_exists (#508771)
2808 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2813 * gvolume.c: For async functions that have no non-async
2814 version, document that the GAsyncReadyCallback may be NULL.
2817 2008-01-15 Alexander Larsson <alexl@redhat.com>
2819 * gmemoryinputstream.c:
2820 * gmemoryoutputstream.c:
2821 Don't do pointer arithmetic on void * (#508602)
2822 Patch from Kazuki IWAMOTO
2824 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2826 * === Released 2.15.2 ===
2828 2008-01-14 Alexander Larsson <alexl@redhat.com>
2830 * gfile.c (g_file_monitor_file):
2831 Don't set error here, since we fallback to polling monitor.
2833 2008-01-14 Alexander Larsson <alexl@redhat.com>
2836 (g_file_monitor_directory):
2837 (g_file_monitor_file):
2838 Add GError to file monitor calls
2840 * glocaldirectorymonitor.c:
2841 * glocaldirectorymonitor.h:
2843 * glocalfilemonitor.c:
2844 * glocalfilemonitor.h:
2846 Update for above change
2848 2008-01-14 Alexander Larsson <alexl@redhat.com>
2852 Handle root correctly in g_file_get_relative_path (#508719)
2854 2008-01-14 Alexander Larsson <alexl@redhat.com>
2857 Clean up docs and example for GAsyncResult (#508074)
2859 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2861 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2862 and correct some spelling mistakes. Bug #508108.
2864 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2866 * glocalfileinfo.c: Add a comment.
2868 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2870 * gfileinfo.c: GFileInfo description: Mention
2871 how to actually set attributes in a GFile and how to discover
2872 which attributes are settable. Bug #508378.
2874 2008-01-10 A. Walton <awalton@svn.gnome.org>
2876 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2877 (g_app_info_get_default_for_type):
2878 Check for NULL content types.
2880 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2882 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2884 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2886 * gfile.c: *_async() functions: Several small corrections
2887 to the documentation, mostly correcting copy/paste errors
2888 and improving some sentences.
2890 2008-01-09 Dan Winship <danw@gnome.org>
2892 * glocalfile.c (get_unique_filename): x86_64 fix
2894 2008-01-09 Alexander Larsson <alexl@redhat.com>
2899 Add g_unix_mount_guess_should_display and use
2900 for unix volume monitor backend.
2901 This means we more or less show what the
2902 gnome-vfs backend did.
2903 Based on patch from Padraig O'Briain
2905 2008-01-09 Alexander Larsson <alexl@redhat.com>
2909 Add g_themed_icon_new_with_default_fallbacks
2912 Use default fallbacks for icons
2914 2008-01-09 Alexander Larsson <alexl@redhat.com>
2917 * gmountoperation.[ch]:
2918 Change the API a bit so that unhandled methods
2919 get reported via the reply, rather than by
2920 the signal emission return value. This is because
2921 some handlers can't know this immediately without
2922 doing I/O, and this is an async operation that
2925 2008-01-09 Alexander Larsson <alexl@redhat.com>
2928 * fam/gfamdirectorymonitor.c:
2929 * fam/gfamfilemonitor.c:
2930 Fix double free crash (#508224)
2931 Patch from Joe Marcus Clarke
2933 008-01-07 Matthias Clasen <mclasen@redhat.com>
2935 * === Released 2.15.1 ===
2937 2008-01-07 Alexander Larsson <alexl@redhat.com>
2939 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2940 Fix warning (#507835)
2942 2008-01-07 Alexander Larsson <alexl@redhat.com>
2945 Pass --internal to glib-genmarshal
2948 * gmountoperation.c:
2950 Use better types for signal arguments (#507822)
2952 2008-01-07 Alexander Larsson <alexl@redhat.com>
2955 Build test subdir after .
2956 Remove gdirectorymonitor.[ch]
2958 * gdirectorymonitor.[ch]:
2962 Remove GDirectoryMonitor and make
2963 GFileMonitor the baseclass for both file and
2964 directory monitors. Lift the more generic
2965 rate limiting code from GDirectoryMonitor
2969 * fam/gfamdirectorymonitor.[ch]:
2970 * inotify/ginotifydirectorymonitor.[ch]:
2971 * inotify/inotify-helper.c:
2972 * glocaldirectorymonitor.[ch]:
2975 Update for the removed GDirectoryMonitor.
2977 * gmemoryoutputstream.c:
2978 Remove ununsed variable
2980 2008-01-07 Alexander Larsson <alexl@redhat.com>
2982 * gmemoryinputstream.c:
2983 Translate error strings
2986 * gmemoryoutputstream.[ch]:
2987 New implementation that avoids using GByteArray
2988 in implementation and API. (#506377)
2990 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2992 * tests/*: Add a test for memory input streams.
2994 * Makefile.am: Add tests to SUBDIRS.
2996 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2998 * glocalfilemonitor.c:
2999 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3002 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3004 * gdesktopappinfo.c: Fix a docs typo.
3006 * gfileattribute.c: Add information about extended attributes
3007 to the documentation. (#505058)
3009 2008-01-04 Alexander Larsson <alexl@redhat.com>
3012 * gmountoperation.c:
3013 Use the right type (uint) for the ask_password signal.
3015 2008-01-04 Alexander Larsson <alexl@redhat.com>
3020 Add g_app_info_supports_files()
3021 Remove desktop arg from g_app_info_should_show().
3023 * gdesktopappinfo.[ch]:
3024 Implement g_app_info_supports_files() and new should_show()
3025 Add g_desktop_app_info_set_desktop_env() to set the desktop
3026 for should_show(). (This will be set by gtk+ later)
3028 2008-01-04 Alexander Larsson <alexl@redhat.com>
3031 * gmemoryinputstream.[ch]:
3032 Improve API so that you can use multiple chunks
3033 of memory and custom destroy functions. (#506374)
3035 2008-01-03 Alexander Larsson <alexl@redhat.com>
3038 Handle NULL attribute matchers safely, as we return this
3039 for empty attribute matcher strings.
3041 2008-01-03 Alexander Larsson <alexl@redhat.com>
3043 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3044 Add /usr/local to list of internal mountpoints
3046 2008-01-03 Alexander Larsson <alexl@redhat.com>
3049 Check for HAVE_LCHOWN (#505887)
3051 2008-01-03 Alexander Larsson <alexl@redhat.com>
3055 Add define for selinux context attribute.
3056 Fix missing : -> :: namespace separator change
3057 Fix missing _ -> - name change for xattr-sys.
3060 2008-01-03 Alexander Larsson <alexl@redhat.com>
3063 Link to libglib and libgobject directly (#504879)
3064 Patch from Sebastien Bacher
3066 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3068 * gfile.c: Expanded the g_file_new_for_commandline_arg
3069 description a bit, based on the code and the docs of the
3070 other g_file_new_for_* functions.
3072 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3074 * gfilemonitor.h: Fixed typo in docs.
3076 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3078 Updates to GIO documentation. (#506395, Mikael Hermansson)
3080 * gcontenttype.c: Describe memory management for return value of
3081 g_content_types_get_registered(). Missing piece from #505815.
3082 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3083 GVolume, GDrive, GMounts, which hopefully gives the user less
3084 confusions when using this API. Following explainations from
3085 Alexander Larsson on gtk-devel-list.
3087 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3089 * gfileinfo.c: Expand the long description.
3091 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3094 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3095 fix builds with --disable-visibility. (#500273, Christian Persch)
3097 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3099 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3100 in the list of returned app infos.
3102 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3104 * gappinfo.c: Fix a cross-reference
3106 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3108 * gfileinputstream.c:
3109 * gfileoutputstream.c:
3113 * gdesktopappinfo.c:
3115 * gfileinfo.c: Documentation updates.
3117 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3119 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3122 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3124 * gcontenttype.c (g_content_types_get_registered): Don't return
3125 freed memory (#505815, Mikael Hermansson)
3127 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3129 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3130 used to detect statbuf->st_blocks. (#505042)
3132 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3134 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3135 environment handling. (#504829, Cosimo Cecchi)
3137 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3139 * gappinfo.c: Doc improvements
3141 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3144 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3146 * === Released 2.15.0 ===
3148 2007-12-20 Hans Breuer <hans@breuer.org>
3150 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3151 with symbols gwin32appinfo.obj, added gmount.obj
3152 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3154 2007-12-20 Alexander Larsson <alexl@redhat.com>
3160 * gfilenamecompleter.c:
3163 * gpollfilemonitor.c:
3164 File attribute renames:
3166 fs:: -> filesystem::
3167 id::fs -> id::filesystem
3169 2007-12-20 Alexander Larsson <alexl@redhat.com>
3178 Add GMountUnmountFlags to all unmount and
3180 Add g_mount_remount() call.
3182 2007-12-20 Alexander Larsson <alexl@redhat.com>
3184 * gvfs.c (get_default_vfs):
3185 Fix unused variable warning
3187 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3189 * pltcheck.sh: Update
3191 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3193 * gunionvolumemonitor.c:
3194 * gunixmount.c: Remove C99 comments
3196 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3198 * gio.symbols: Add some missing symbols
3200 2007-12-19 Alexander Larsson <alexl@redhat.com>
3203 Make g_io_modules_load_all_in_directory not unuse
3204 loaded modules so that users of it can do stuff
3206 Init internal "module" types.
3207 Initialize static prio and name for types so that
3208 we don't have to load modules to get it.
3210 * gnativevolumemonitor.h:
3212 Move is_supported to parent class so that
3213 non-native monitors can avoid being initialized
3214 too. (For instance GDaemonVolumeMonitor if we're
3215 not using GDaemonVfs.)
3217 * glocaldirectorymonitor.[ch]:
3218 * glocalfilemonitor.[ch]:
3219 * gunionvolumemonitor.c:
3220 * gunixvolumemonitor.c:
3222 Find plugins using the static prio+name to
3223 avoid unnecessarily loading the modules.
3225 2007-12-19 Alexander Larsson <alexl@redhat.com>
3230 2007-12-19 Alexander Larsson <alexl@redhat.com>
3232 * gunionvolumemonitor.c:
3233 Store the native type as GType, not class so that
3234 we can unload it. But still avoid unnecessarily
3237 2007-12-19 David Zeuthen <davidz@redhat.com>
3239 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3240 add signals 'disconnected' and 'eject-button' on GDrive. Add
3241 signal 'removed' on GVolume and 'unmounted' on GMount.
3243 * gdrive.c: (g_drive_base_init):
3245 * gfile.c: (g_file_mount_mountable),
3246 (g_file_mount_enclosing_volume):
3249 * gmount.c: (g_mount_base_init):
3251 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3252 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3253 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3257 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3259 * *.c: Fix up includes in the section docs.
3261 2007-12-17 Alexander Larsson <alexl@redhat.com>
3263 * gnativevolumemonitor.h:
3264 * gunionvolumemonitor.c:
3265 * gunixvolumemonitor.c:
3266 Add is_supported() to GNativeVolumeMonitorClass so
3267 that we can avoid having to create an object to see
3268 if the backend is supported at runtime.
3269 Also add name member and an env var to pick a specific
3270 volume monitor backend.
3274 Add cancellable to _g_mount_get_for_mount_path()
3276 * glocaldirectorymonitor.c:
3277 * glocalfilemonitor.c:
3278 Avoid loading and unloading modules while sorting.
3280 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3283 * gunixmounts.[hc]: Namespace waste reduction, move some
3284 g_get_unix_mount functions to the g_unix_mount namespace.
3287 * gunixvolumemonitor.c:
3289 * glocaldirectorymonitor.c: Update all callers.
3291 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3293 2007-12-17 Alexander Larsson <alexl@redhat.com>
3296 Add doc comments about what GFile operations are
3297 guaranteed to not block.
3299 2007-12-17 Alexander Larsson <alexl@redhat.com>
3302 Add missing #ifdef fixing OSX build.
3303 (#503334, patch from Richard Hult)
3305 2007-12-14 David Zeuthen <davidz@redhat.com>
3309 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3310 (g_mount_eject), (g_mount_eject_finish):
3312 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3313 (get_volume_for_uuid), (get_mount_for_uuid),
3314 (g_union_volume_monitor_class_init),
3315 (get_default_native_type_with_exclude), (get_default_native_type),
3316 (get_native_type), (update_native_type),
3317 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3318 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3319 (g_unix_mount_can_eject), (eject_unmount_cb),
3320 (eject_unmount_read_error), (eject_unmount_do),
3321 (g_unix_mount_unmount), (g_unix_mount_eject),
3322 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3323 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3324 (g_unix_mount_point_guess_can_eject):
3326 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3327 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3328 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3329 (g_unix_volume_mount), (g_unix_volume_eject),
3330 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3331 * gunixvolumemonitor.c: (get_volume_for_uuid),
3332 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3334 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3335 (g_volume_eject), (g_volume_eject_finish):
3337 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3338 (g_volume_monitor_get_mount_for_uuid):
3341 Provide eject() on both GMount and GVolume and utility functions
3342 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3343 ejected. Introduce the concept of UUID's and wire it into GVolume
3344 and GMount and provide API on GVolumeMonitor to find such
3345 instances. Also handle the case where an external
3346 GNativeVolumeMonitor fails to initialize. Lock around the
3347 _g_get_mount_for_mount_path() function such that volume monitor
3348 implementations won't have to do locking themselves.
3350 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3352 * gdesktopappinfo.c:
3358 * gvolume.h: Documentation updates
3360 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3363 * gfile.h: Doc updates
3365 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3368 * gdesktopappinfo.c: Use hash table iterators.
3370 2007-12-14 Alexander Larsson <alexl@redhat.com>
3373 * gfileattribute.[ch]:
3374 * gfileattribute-priv.h:
3375 Move GFileAttributeValue to a private header, as
3379 Make set_attribute take a type + a pointer instead
3380 of a GFileAttributeValue.
3383 Fix up for above changes.
3384 Add g_file_info_get_attribute_data to get
3385 all info in one call, g_file_info_get_attribute_status
3386 to get the status and g_file_info_get_attribute_as_string.
3390 * glocalfileinfo.[ch]:
3394 Make _guess_type static.
3396 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3399 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3400 made mkenums and friends use temporary files to avoid leaving
3401 empty generated files on failure (#503470).
3403 2007-12-14 Alexander Larsson <alexl@redhat.com>
3405 * gmountoperation.h:
3408 2007-12-14 Alexander Larsson <alexl@redhat.com>
3412 * gfileattribute.[ch]:
3415 * glocalfileoutputstream.c:
3416 * gmountoperation.[ch]:
3417 * goutputstream.[ch]:
3418 Clean up all flags enums to not have _FLAGS in them
3419 Make the names of some of the enums better.
3424 2007-12-14 Michael Natterer <mitch@imendio.com>
3426 * gio.symbols: fix g_io_scheduler symbol names.
3428 2007-12-14 Alexander Larsson <alexl@redhat.com>
3434 * gbufferedinputstream.h:
3435 * gbufferedoutputstream.h:
3438 * gdatainputstream.h:
3439 * gdataoutputstream.h:
3440 * gdesktopappinfo.h:
3441 * gdirectorymonitor.h:
3445 * gfileenumerator.h:
3448 * gfileinputstream.h:
3450 * gfilenamecompleter.h:
3451 * gfileoutputstream.h:
3452 * gfilterinputstream.h:
3453 * gfilteroutputstream.h:
3461 * gmemoryinputstream.h:
3462 * gmemoryoutputstream.h:
3464 * gmountoperation.h:
3467 * gsimpleasyncresult.h:
3469 * gunixinputstream.h:
3471 * gunixoutputstream.h:
3475 * inotify/Makefile.am:
3476 Only allow including <gio/gio.h> from apps
3478 2007-12-14 Alexander Larsson <alexl@redhat.com>
3480 * gioscheduler.[ch]:
3481 * gsimpleasyncresult.c:
3482 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3483 Split out the send_to_mainloop call into two versions instead
3484 of having the block argument.
3486 2007-12-13 Alexander Larsson <alexl@redhat.com>
3488 * gcancellable.[ch]:
3490 * gbufferedinputstream.c:
3491 * gfileenumerator.c:
3492 * gfileinputstream.c:
3493 * gfileoutputstream.c:
3497 g_push/pop_current_cancellable ->
3498 g_cancellable_push/pop_current
3500 2007-12-13 Alexander Larsson <alexl@redhat.com>
3504 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3506 2007-12-13 Alexander Larsson <alexl@redhat.com>
3508 * gmountoperation.h:
3509 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3511 2007-12-12 Alexander Larsson <alexl@redhat.com>
3514 Fix race condition when freeing proxy in
3515 g_io_job_send_to_mainloop().
3517 2007-12-12 Alexander Larsson <alexl@redhat.com>
3523 Make attribute namespace separator "::" instead of ":".
3524 Use - instead of _ as separator in attribute names.
3526 2007-12-12 Alexander Larsson <alexl@redhat.com>
3528 * gbufferedinputstream.h:
3529 * gbufferedoutputstream.h:
3530 * gdatainputstream.h:
3531 * gdataoutputstream.h:
3532 * gdirectorymonitor.h:
3533 * gfileenumerator.h:
3534 * gfileinputstream.h:
3536 * gfileoutputstream.h:
3537 * gfilterinputstream.h:
3538 * gfilteroutputstream.h:
3540 * glocalfileinputstream.h:
3541 * glocalfileoutputstream.h:
3542 * gmemoryinputstream.h:
3543 * gmemoryoutputstream.h:
3544 * gnativevolumemonitor.h:
3546 * gunixinputstream.h:
3547 * gunixoutputstream.h:
3550 s/parent/parent_instance/ in GObjects
3552 2007-12-12 Alexander Larsson <alexl@redhat.com>
3557 No need for padding for interfaces
3559 2007-12-12 Alexander Larsson <alexl@redhat.com>
3563 * gbufferedinputstream.c:
3564 * gbufferedoutputstream.c:
3567 * gdatainputstream.[ch]:
3568 * gdesktopappinfo.c:
3569 * gdirectorymonitor.c:
3571 * gfileattribute.[ch]:
3574 * gfileinputstream.h:
3575 * gfilemonitor.[ch]:
3576 * gfileoutputstream.[ch]:
3577 * gfilterinputstream.h:
3578 * gfilteroutputstream.h:
3581 * gloadableicon.[ch]:
3582 * gmemoryinputstream.c:
3583 * gmountoperation.c:
3585 Fix up a bunch of details in the docs.
3590 2007-12-11 David Zeuthen <davidz@redhat.com>
3592 Rework how volumes, drives and volume monitoring is
3593 done. Previosly the model was
3595 GDrive <1-1> GVolume
3597 where a GDrive instance represented a mount point and a GVolume
3598 instance represented a mounted file system. This patch changes it
3601 GDrive <1-N> GVolume <1-1> GMount
3603 where GMount now serves the purpose of the old GVolume and the new
3604 GVolume serves the purpose of the old GDrive. In addition the new
3605 GDrive interface is used to represent a collection of GVolume
3606 instances (typically partitions) and also contains utility to query
3607 the state of the physical drive the GDrive object represents (such
3608 as checking for media, polling the drive, ejecting the media etc.).
3610 Also implement mounting and unmounting in the Unix volume monitor
3611 backend. A subquent patch will introduce GDrive support for ejection
3615 * gdrive.c: (g_drive_is_media_check_automatic),
3616 (g_drive_is_media_removable), (g_drive_has_media),
3617 (g_drive_can_poll_for_media), (g_drive_eject),
3618 (g_drive_eject_finish), (g_drive_poll_for_media),
3619 (g_drive_poll_for_media_finish):
3621 * gfile.c: (g_file_find_enclosing_mount):
3624 * glocaldirectorymonitor.c:
3625 (g_local_directory_monitor_constructor), (mounts_changed):
3626 * glocalfile.c: (get_mount_info),
3627 (g_local_file_find_enclosing_mount),
3628 (g_local_file_file_iface_init):
3629 * gnativevolumemonitor.h:
3630 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3631 (get_connected_drives), (g_union_volume_monitor_class_init),
3632 (child_volume_added), (child_volume_removed),
3633 (child_volume_changed), (child_mount_added), (child_mount_removed),
3634 (child_mount_pre_unmount), (child_mount_changed),
3635 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3636 (g_union_volume_monitor_remove_monitor),
3637 (_g_mount_get_for_mount_path):
3638 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3639 (guess_system_internal), (_g_get_unix_mounts),
3640 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3641 (g_unix_mount_free), (g_unix_mount_compare),
3642 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3643 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3644 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3645 (type_to_icon), (g_unix_mount_guess_name),
3646 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3647 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3648 (_resolve_symlink), (_resolve_dev_root):
3650 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3651 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3652 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3653 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3654 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3655 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3656 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3657 (g_unix_volume_volume_iface_init):
3659 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3660 (get_mounts), (get_volumes), (get_connected_drives),
3661 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3662 (mountpoints_changed), (mounts_changed),
3663 (g_unix_volume_monitor_init),
3664 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3665 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3666 * gunixvolumemonitor.h:
3667 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3668 (g_volume_mount), (g_volume_mount_finish):
3670 * gvolumemonitor.c: (g_volume_monitor_class_init),
3671 (g_volume_monitor_get_connected_drives),
3672 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3675 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3677 * gmountoperation.h (GPasswordFlags): Close the gap
3679 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3681 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3683 * gdesktopappinfo.[hc]: Remove _-prefixes
3685 2007-12-10 Tor Lillqvist <tml@novell.com>
3687 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3690 2007-12-10 Alexander Larsson <alexl@redhat.com>
3692 * gfile.c (g_file_set_display_name):
3693 Don't hardcode '/' (#502727)
3695 2007-12-09 Hans Breuer <hans@breuer.org>
3697 * makefile.msc : follow lib naming convention
3698 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3699 for user and group name, tested with ../tests/gio-ls
3701 2007-12-09 A. Walton <awalton@svn.gnome.org>
3703 * gdesktopappinfo.c:
3709 * gfileenumerator.c:
3714 * gmemoryinputstream.c:
3715 * gmemoryoutputstream.c:
3717 * gsimpleasyncresult.c:
3718 More documentation cleanup and filling in missing information, bringing
3719 GIO to 99% symbol coverage.
3721 2007-12-08 Hans Breuer <hans@breuer.org>
3723 [gio compiles and links on win32, not sure how much already works]
3724 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3725 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3726 base on win32 API; prefer g_lstat() over lstat(); instead of
3727 localtime_r() use an all GLib implementation on win32;
3728 get_mount_info() still needs a win32 specifc implementation
3729 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3730 win32_get_file_user_info to get owner/group info without uid/gid
3731 * glocalfileinputstream.c : include <io.h> on win32
3732 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3733 definition, use g_win32_ftruncate() for G_OS_WIN32
3734 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3735 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3736 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3737 * makefile.msc : updated
3739 2007-12-07 Alexander Larsson <alexl@redhat.com>
3741 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3742 Avoid warning spew if error == NULL
3744 2007-12-07 Alexander Larsson <alexl@redhat.com>
3747 Update docs wrt etags
3749 2007-12-06 Alexander Larsson <alexl@redhat.com>
3752 Include sys/types.h for dev_t (#501919)
3754 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3758 Make abicheck and pltcheck pass.
3760 2007-12-05 Alexander Larsson <alexl@redhat.com>
3763 * giomodule-priv.h: Added.
3764 * glocaldirectorymonitor.c:
3765 * glocalfilemonitor.c:
3766 * gunionvolumemonitor.c:
3768 Actually add the declaration of _g_io_modules_ensure_loaded
3770 2007-12-05 Alexander Larsson <alexl@redhat.com>
3772 * gdatainputstream.c:
3777 * glocaldirectorymonitor.c:
3778 * glocalfilemonitor.c:
3779 * gunionvolumemonitor.c:
3781 Make g_io_modules_ensure_loaded a private function and
3782 don't pass in the dirname. This means we can do magic
3783 directory finding in the win32 version.
3784 Export the actual load-modules-in-directory code so that
3785 gvfs can reuse that.
3787 2007-12-05 Alexander Larsson <alexl@redhat.com>
3789 * gbufferedinputstream.c:
3790 * gbufferedoutputstream.c:
3793 * gfileenumerator.[ch]:
3794 * gfileinputstream.c:
3795 * gfileoutputstream.[ch]:
3796 * gfilterinputstream.c:
3797 * gfilteroutputstream.c:
3798 * ginputstream.[ch]:
3800 * glocalfileenumerator.c:
3801 * glocalfileinputstream.c:
3802 * glocalfileoutputstream.c:
3803 * gmemoryinputstream.c:
3804 * gmemoryoutputstream.c:
3805 * goutputstream.[ch]:
3808 * gunixinputstream.c:
3809 * gunixoutputstream.c:
3810 Rename all struct members named:
3811 read, write, close, truncate, or mount
3812 to foo_fn, as these are reserved names
3813 and could be defined as macros in libc.
3816 2007-12-04 Alexander Larsson <alexl@redhat.com>
3819 (g_output_stream_close):
3820 Only call flush if non-null.
3822 2007-11-30 Dan Winship <danw@gnome.org>
3824 * ginputstream.c (g_input_stream_set_pending): Make this take a
3825 GError and return a gboolean, and do the "outstanding operation"
3826 check (and the "stream is already closed" check) itself.
3827 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3829 * goutputstream.c (g_output_stream_set_pending)
3830 (g_output_stream_clear_pending): Likewise
3832 * gbufferedinputstream.c:
3833 * gfileinputstream.c:
3834 * gfileoutputstream.c: Update for that
3836 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3837 Like g_simple_async_report_error_in_idle, but takes a GError
3838 rather than building one.
3840 2007-11-30 Dan Winship <danw@gnome.org>
3842 * goutputstream.c: Don't cheat and unset the "pending" flag around
3843 inner calls. Instead, call the class method directly rather than
3844 the wrapper function that checks "pending"
3846 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3848 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3850 2007-12-03 Hans Breuer <hans@breuer.org>
3852 [start of port to win32/msvc]
3853 * gcancellable.c : HAVE_UNIST_H and _pipe()
3854 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3855 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3856 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3858 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3859 * glocalvfs.c : use HAVE_PWD_H
3860 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3861 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3862 * Makefile.am : added to EXTRA_DIST
3864 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3866 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3869 2007-12-03 Alexander Larsson <alexl@redhat.com>
3872 Handle OSX style xattrs API (#500506)
3874 2007-12-03 Alexander Larsson <alexl@redhat.com>
3878 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3880 2007-12-02 A. Walton <awalton@svn.gnome.org>
3884 Documentation accuracy fixes.
3886 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3888 * gioenumtypes.c.template: Fix typo.
3890 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3892 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3894 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3896 * gdirectorymonitor.c:
3897 * gfilemonitor.c: Add properties
3899 * gbufferedoutputstream.c: Don't mark buffer-size property
3902 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3904 * gbufferedoutputstream.c: Add auto-grow property.
3906 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3908 * *.c: Unify the capitalization of section headings.
3910 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3912 * gmountoperation.c: Add properties
3914 * gdatainputstream.c: Turn byte-order and newline-type into
3917 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3919 * gioenumtypes.[hc].template: Templates for enum registration
3921 * Makefile.am: Generate gioenumtypes.[hc]
3923 * gio.h: Include gioenumtypes.h
3925 * gfile.h: Add some explicit nicks.
3927 * gio.symbols: Add new symbols
3929 * pltcheck.sh: Adjust
3931 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3933 * *.c: Explain etags and link to the explanation
3935 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3937 * *.c: Explain I/O priority.
3939 * *.c: More coding style fixes.
3941 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3943 * gasyncresult.c: Add another paragraph to the intro,
3944 adjust coding style of example.
3946 2007-11-29 A. Walton <awalton@svn.gnome.org>
3949 Fixes unknown meaning in GAppLaunchContext docs.
3951 Clarify asynchronous ops.
3953 Fix entity tag docs.
3956 Provides missing gtk-doc section, fixes API docs slighly.
3957 * gsimpleasyncresult.c:
3958 Fill in missing info in docs.
3959 * gunixinputstream.c:
3960 * gunixoutputstream.c:
3961 Be more expressive in short description.
3963 Remove gtk-doc stubs for non-public API.
3965 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3967 * *.c: Coding style fixups
3969 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3971 * inotify/inotify-helper.c: Don't export the lock from libgio.
3973 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3976 * abicheck.sh: Fix copy-and-paste leftovers
3978 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3980 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3982 2007-11-28 Alexander Larsson <alexl@redhat.com>
3986 Removed unnecessary file
3988 * gdesktopappinfo.[ch]:
3991 * glocaldirectorymonitor.[ch]:
3993 * glocalfileenumerator.[ch]:
3994 * glocalfileinputstream.[ch]:
3995 * glocalfilemonitor.[ch]:
3996 * glocalfileoutputstream.[ch]:
3998 * gnativevolumemonitor.c:
3999 * gpollfilemonitor.[ch]:
4000 * gunionvolumemonitor.[ch]:
4003 * gunixvolumemonitor.[ch]:
4006 * inotify/ginotifydirectorymonitor.[ch]:
4007 * inotify/ginotifyfilemonitor.[ch]:
4008 * inotify/inotify-helper.c:
4009 Append _ to all internal functions
4013 Export symbols needed for modules
4015 2007-11-28 Alexander Larsson <alexl@redhat.com>
4018 * abicheck.sh: Added.
4019 * makegioalias.pl: Added.
4020 * pltcheck.sh: Added.
4021 * gio.symbols: Added.
4024 Initial work on adding symbol handling.
4027 Correct ifdef guard name
4030 * inotify/Makefile.am:
4031 * xdgmime/Makefile.am:
4032 Include toplevel Makefile.decl
4034 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4036 * gcontenttype.c: Move doc comments to the unix section.
4038 * *.[hc]: More trivial doc corrections.
4040 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4042 * gpollfilemonitor.c:
4046 * gdesktopappinfo.c:
4051 * gdatainputstream.c:
4052 * gdatainputstream.h:
4053 * gdataoutputstream.c:
4054 * gdataoutputstream.h:
4055 * gfileinfo.h: Doc cleanups
4057 2007-11-28 Andre Klapper <a9016009@gmx.de>
4059 * gdesktopappinfo.c: Fix a typo.
4061 2007-11-27 Andre Klapper <a9016009@gmx.de>
4063 * glocalfileoutputstream.c: Fix a typo.
4065 2007-11-27 Alexander Larsson <alexl@redhat.com>
4068 Don't include removed headers
4070 2007-11-27 Alexander Larsson <alexl@redhat.com>
4073 * gsocketinputstream.[ch]: Removed.
4074 * gsocketoutputstream.[ch]: Removed.
4075 * gunixinputstream.[ch]: Added.
4076 * gunixoutputstream.[ch]: Added.
4077 Renamed GSocket*Stream to GUnix*Stream and made
4078 it unix-only, since its not really only for sockets
4079 and it only works on unix (but is highly useful there).
4081 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4087 * gbufferedinputstream.c:
4088 * gbufferedinputstream.h:
4089 * gbufferedoutputstream.c:
4090 * gbufferedoutputstream.h:
4094 * gdatainputstream.c:
4095 * gdatainputstream.h:
4096 * gdataoutputstream.c:
4097 * gdataoutputstream.h:
4098 * gdirectorymonitor.c:
4099 * gdirectorymonitor.h:
4106 * gfileenumerator.c:
4107 * gfileenumerator.h:
4112 * gfileinputstream.c:
4113 * gfileinputstream.h:
4116 * gfilenamecompleter.c:
4117 * gfilenamecompleter.h:
4118 * gfileoutputstream.c:
4119 * gfileoutputstream.h:
4120 * gfilterinputstream.c:
4121 * gfilterinputstream.h:
4122 * gfilteroutputstream.c:
4123 * gfilteroutputstream.h:
4136 * glocalfileoutputstream.c:
4137 * gmemoryinputstream.c:
4138 * gmemoryinputstream.h:
4139 * gmemoryoutputstream.c:
4140 * gmemoryoutputstream.h:
4141 * gmountoperation.c:
4142 * gmountoperation.h:
4145 * gpollfilemonitor.c:
4148 * gsimpleasyncresult.c:
4149 * gsimpleasyncresult.h:
4150 * gsocketinputstream.c:
4151 * gsocketinputstream.h:
4152 * gsocketoutputstream.c:
4153 * gsocketoutputstream.h:
4160 * gunixvolumemonitor.c:
4169 Bumps documentation to 93% symbol coverage, touching most
4170 of the public files. Fixes broken function documentation prototypes.
4171 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4172 gtk-doc headers in private files.
4174 2007-11-27 Jürg Billeter <j@bitron.ch>
4176 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4177 (g_buffered_input_stream_read_byte):
4178 * gbufferedinputstream.h:
4179 New functions for efficient access to buffer and simple single byte
4182 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4183 (g_data_input_stream_read_until):
4184 * gdatainputstream.h:
4185 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4186 read_until with multiple stop chars.
4188 2007-11-27 Alexander Larsson <alexl@redhat.com>
4192 * inotify/Makefile.am:
4193 Use the user-specified giomoduledir
4195 2007-11-27 Alexander Larsson <alexl@redhat.com>
4199 Add catch-all gio.h header
4200 Don't install gdummyfile.h
4202 2007-11-26 Alexander Larsson <alexl@redhat.com>
4204 * Makefile.am (gioinclude_HEADERS):
4205 Remove trailing whitespace
4207 2007-11-26 Alexander Larsson <alexl@redhat.com>
4209 Merge gio-standalone into glib
4211 2007-11-25 Christian Kellner <gicmo@gnome.org>
4213 * gio/goutputstream.c:
4214 Fix small mistake in the docs.
4216 2007-11-21 Christian Persch <chpe@gnome.org>
4218 * gio/glocalfile.c: (g_local_file_trash):
4219 Convert filenames to UTF-8 for GError.
4220 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4221 as per xdg base dir spec.
4223 2007-11-21 Christian Persch <chpe@gnome.org>
4225 * gio/gdesktopappinfo.c:
4226 Use that g_key_file_to_data cannot fail.
4228 Use stock defines for the key file group and key names.
4231 2007-11-21 Alexander Larsson <alexl@redhat.com>
4234 (copy_stream_with_progress):
4235 Make sure we do a final progress callback with
4236 the full total size.
4238 2007-11-21 Alexander Larsson <alexl@redhat.com>
4241 Export g_file_copy_attributes
4242 Remove padding as its not needed for interfaces
4244 2007-11-20 Alexander Larsson <alexl@redhat.com>
4249 Add G_IO_ERROR_WOULD_MERGE for
4250 copy/move dir on dir with overwrite.
4252 2007-11-20 Alexander Larsson <alexl@redhat.com>
4255 * gio/glocalfileinfo.c:
4256 Add COPY_NAME (this is an optional
4257 non-modified utf8 version of the name) that
4260 2007-11-20 Alexander Larsson <alexl@redhat.com>
4262 * gio/glocalfileenumerator.c:
4263 Report errors as GIOError, not GFileError
4265 2007-11-16 Alexander Larsson <alexl@redhat.com>
4267 * gio/glocalfileoutputstream.c:
4268 * gio/gwin32appinfo.c:
4269 Fix typos in strings.
4270 Patch from Luca Ferretti <elle.uca@libero.it>
4272 2007-11-15 Alexander Larsson <alexl@redhat.com>
4275 Post release version bump
4277 === gio-standalone 0.1.2 ===
4279 2007-11-15 Alexander Larsson <alexl@redhat.com>
4281 * docs/reference/gio/Makefile.am:
4282 Fix up distcheck by removing weird
4288 2007-11-14 Alexander Larsson <alexl@redhat.com>
4290 * gio/gdesktopappinfo.c:
4291 * gio/glocaldirectorymonitor.c:
4293 * gio/glocalfileinfo.c:
4294 * gio/inotify/inotify-sub.c:
4295 * programs/gio-cat.c:
4296 * programs/gio-copy.c:
4297 * programs/gio-info.c:
4298 * programs/gio-ls.c:
4299 * programs/gio-monitor-dir.c:
4300 * programs/gio-monitor-file.c:
4301 * programs/gio-mount.c:
4302 * programs/gio-move.c:
4303 * programs/gio-rm.c:
4304 * programs/gio-save.c:
4305 * programs/gio-trash.c:
4306 Leak fixes from Kjartan Maraas
4308 2007-11-14 Alexander Larsson <alexl@redhat.com>
4310 * gio/fam/fam-helper.c:
4312 * gio/glocalfileinfo.c:
4316 * gio/inotify/inotify-diag.c:
4317 * gio/inotify/inotify-kernel.c:
4318 Various code cleanups from Kjartan Maraas
4320 2007-11-14 Alexander Larsson <alexl@redhat.com>
4322 * gio/gioscheduler.c:
4324 Set up threadpool so that we cache 2 unused
4325 idle threads for at 15 secs. This means we
4326 will reuse thread-local data (like dbus connections)
4329 2007-11-14 Alexander Larsson <alexl@redhat.com>
4331 * gio/fam/fam-helper.c:
4332 * gio/fam/gfamdirectorymonitor.c:
4333 * gio/fam/gfamfilemonitor.c:
4335 * gio/gcontenttype.c:
4336 * gio/gdatainputstream.c:
4337 * gio/gdataoutputstream.c:
4341 * gio/gfileattribute.h:
4342 * gio/gfileenumerator.c:
4344 * gio/ginputstream.c:
4347 * gio/glocalfileinfo.c:
4348 * gio/goutputstream.c:
4349 * gio/gpollfilemonitor.c:
4350 * gio/gsimpleasyncresult.c:
4351 * gio/gunixmounts.c:
4352 * gio/gunixmounts.h:
4353 * gio/inotify/ginotifydirectorymonitor.c:
4354 * gio/inotify/ginotifyfilemonitor.c:
4355 * gio/inotify/inotify-diag.c:
4356 * gio/inotify/inotify-kernel.c:
4357 * gio/inotify/inotify-path.c:
4359 * gio/test-streams.c:
4360 * programs/gio-info.c:
4361 * programs/gio-monitor-dir.c:
4362 * programs/gio-monitor-file.c:
4363 Various code cleanups from Kjartan Maraas
4365 2007-11-13 Alexander Larsson <alexl@redhat.com>
4368 Handle the uri-scheme calls for dummy files
4370 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4372 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4373 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4374 to avoid clash with the C++ keyword.
4376 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4378 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4379 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4381 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4383 * gio/glocaldirectorymonitor.c:
4384 * gio/glocalfilemonitor.c:
4385 * gio/gunionvolumemonitor.c:
4386 Don't use g_once_init_*() for initializations that could fail and
4387 could leave the initialization variable set to 0 but use GOnce.
4388 This prevents a deadlock on the second call when trying to create
4389 a monitor and no monitor type is available. Thanks to Sven Herzberg
4392 2007-11-11 Sven Herzberg <sven@imendio.com>
4394 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4395 #ifdef (make it work on MacOS X again)
4397 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4399 Fixes Changelog for last two commits (sorry guys).
4401 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4403 * gio/gbufferedinputstream.c:
4404 * gio/gdatainputstream.c:
4406 * gio/gfileoutputstream.c:
4407 * gio/gfilterinputstream.c:
4408 * gio/glocalfileinputstream.c:
4411 More consistency fixes in g*stream.c files.
4412 Significant clean of gfile's documentation, filling in of
4413 asynchronous operations documentation.
4415 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4417 * gio/gasyncresult.c:
4418 * gio/gbufferedinputstream.c:
4419 * gio/gbufferedoutputstream.c:
4420 * gio/gcancellable.c:
4421 * gio/gcontenttype.c:
4422 * gio/gdatainputstream.c:
4423 * gio/gdataoutputstream.c:
4424 * gio/gdesktopappinfo.c:
4427 * gio/gfileattribute.c:
4428 * gio/gio/gfileenumerator.c:
4430 * gio/gfileinputstream.c:
4431 * gio/gfilemonitor.c:
4432 * gio/gfileoutputstream.c:
4433 * gio/ginputstream.c:
4435 * gio/gioscheduler.c:
4436 * gio/gloadableicon.c:
4437 * gio/glocalfileoutputstream.c:
4438 * gio/gmemoryoutputstream.c:
4439 * gio/gmountoperation.c:
4440 * gio/goutputstream.c:
4442 * gio/gsimpleasyncresult.c:
4443 * gio/gunionvolumemonitor.c:
4444 * gio/gunixmounts.c:
4445 * gio/gunixvolume.c:
4449 * gio/gvolumemonitor.c:
4450 Updated documentation stubs, working towards consistency and
4453 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4455 * gio/gmemoryoutputstream.c:
4456 * gio/gmemoryoutputstream.h:
4457 Change g_memory_output_stream_set_free_on_close() to
4458 g_memory_output_stream_set_free_data() as this makes more sense and
4459 is more consistent with GMemoryInputStream.
4461 2007-11-07 Alexander Larsson <alexl@redhat.com>
4468 Change how we find the default vfs so that
4469 we can handle a gvfs failing to init
4471 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4473 * gio/gbufferedoutputstream.c:
4474 * gio/gdatainputstream.c:
4475 * gio/gdataoutputstream.c:
4476 * gio/gfileinputstream.c:
4477 * gio/gfileoutputstream.c:
4478 * gio/gfilterinputstream.c:
4479 * gio/gfilteroutputstream.c:
4480 * gio/ginputstream.c:
4481 * gio/gmemoryinputstream.c:
4482 * gio/gmemoryoutputstream.c:
4483 * gio/goutputstream.c:
4484 * gio/gsimpleasyncresult.c:
4485 * gio/gsocketinputstream.c:
4486 * gio/gsocketoutputstream.c:
4487 Add guards to the remaining public functions, add a TODO for
4488 an unimplemented function and remove some useless guards.
4490 2007-11-07 Alexander Larsson <alexl@redhat.com>
4493 Autoconf checks for the various types of
4494 getpwuid_r and getgrgid_r
4496 * gio/glocalfileinfo.c:
4497 Use the autoconf checks from above
4499 2007-11-07 Alexander Larsson <alexl@redhat.com>
4502 (g_local_file_query_filesystem_info):
4503 Some fixes for the statvfs case
4505 2007-11-07 Alexander Larsson <alexl@redhat.com>
4508 (g_local_file_query_filesystem_info):
4509 Pick the "best" of statfs / statvfs for the system
4510 if both are availible.
4512 2007-11-07 Alexander Larsson <alexl@redhat.com>
4514 Solaris fixes from Halton.Huo@Sun.COM:
4521 * gio/glocalfileinfo.c:
4522 Fix for solaris definition of getpwuid_r
4524 * gio/test-streams.c:
4525 Use G_GNUC_PRETTY_FUNCTION
4527 2007-11-07 Alexander Larsson <alexl@redhat.com>
4529 * gio/gdesktopappinfo.c:
4530 (update_default_list):
4531 Remove double semicolon.
4532 Patch from Jens Granseuer
4534 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4536 * docs/reference/gio/gio-sections.txt:
4537 * gio/gbufferedinputstream.c:
4538 * gio/gbufferedinputstream.h:
4539 * gio/gdatainputstream.c:
4540 * gio/gfileenumerator.c:
4541 * gio/gioscheduler.c:
4542 * gio/gunionvolumemonitor.c:
4544 * programs/gio-save.c:
4545 Fix typo: availible -> available. Unfortuntely this breaks API
4546 and ABI as g_buffered_input_stream_get_available() was renamed.
4548 * gio/gunixmounts.c:
4549 * gio/gbufferedinputstream.c:
4550 Add guards for public functions.
4552 2007-11-06 Ross Burton <ross@openedhand.com>
4554 * docs/reference/gio/Makefile.am:
4555 Fix invalid += usage which automake 1.10 doesn't like.
4557 2007-11-06 Alexander Larsson <alexl@redhat.com>
4560 (g_app_launch_context_class_init):
4563 Patch from Ross Burton
4565 2007-11-06 Alexander Larsson <alexl@redhat.com>
4568 Post release version bump
4570 === gio-standalone 0.1.1 ===
4572 2007-11-06 Alexander Larsson <alexl@redhat.com>
4575 Bump version to 0.1.1
4577 * gio/gsimpleasyncresult.c:
4578 (g_simple_async_result_set_from_error):
4579 Remove bogus g_return_if_fail
4581 2007-11-06 Alexander Larsson <alexl@redhat.com>
4584 The name is gio-standalone
4587 Add top src/builddir to includedir
4589 2007-11-06 Alexander Larsson <alexl@redhat.com>
4591 * docs/reference/gio/gio-sections.txt:
4593 * gio/gbufferedinputstream.c:
4594 * gio/gbufferedoutputstream.c:
4595 * gio/gcancellable.c:
4596 * gio/gdatainputstream.h:
4597 * gio/gdataoutputstream.c:
4598 * gio/gdataoutputstream.h:
4599 * gio/gdirectorymonitor.c:
4601 * gio/gfileattribute.c:
4602 * gio/gfileattribute.h:
4603 * gio/gfileenumerator.c:
4604 * gio/gfileenumerator.h:
4607 * gio/gfileinputstream.h:
4608 * gio/gfilemonitor.c:
4609 * gio/gfileoutputstream.h:
4610 * gio/glocalfilemonitor.h:
4611 * gio/glocalfileoutputstream.h:
4612 * gio/gmemoryinputstream.c:
4613 * gio/gmemoryoutputstream.c:
4614 * gio/gmountoperation.c:
4615 * gio/goutputstream.c:
4616 * gio/goutputstream.h:
4618 * gio/gsimpleasyncresult.c:
4619 * gio/gunixmounts.c:
4620 * gio/gunixmounts.h:
4622 * gio/inotify/inotify-helper.c:
4623 Fix gtk-doc warnings
4625 Patch from Ross Burton
4627 2007-11-06 Alexander Larsson <alexl@redhat.com>
4629 * gio/gfilenamecompleter.c:
4630 (g_filename_completer_get_completions):
4633 * gio/gunixvolume.c:
4634 Remove unused function
4636 Patches from Ross Burton
4638 2007-11-06 Alexander Larsson <alexl@redhat.com>
4643 Padding not needed for interfaces
4645 2007-11-06 Alexander Larsson <alexl@redhat.com>
4647 * gio/gfilemonitor.c:
4651 Make giotypes.h an internal file
4654 * gio/gbufferedinputstream.h:
4655 * gio/gbufferedoutputstream.h:
4656 * gio/gcancellable.h:
4657 * gio/gdatainputstream.h:
4658 * gio/gdataoutputstream.h:
4659 * gio/gdirectorymonitor.c:
4660 * gio/gdirectorymonitor.h:
4665 * gio/gfileattribute.h:
4666 * gio/gfileenumerator.h:
4671 * gio/gfilemonitor.c:
4672 * gio/gfilemonitor.h:
4673 * gio/gfilenamecompleter.c:
4674 * gio/gfilenamecompleter.h:
4675 * gio/gfilterinputstream.h:
4676 * gio/gfilteroutputstream.h:
4677 * gio/ginputstream.h:
4678 * gio/gmemoryinputstream.h:
4679 * gio/gmemoryoutputstream.h:
4680 * gio/gmountoperation.c:
4681 * gio/gmountoperation.h:
4682 * gio/gnativevolumemonitor.c:
4683 * gio/goutputstream.h:
4686 * gio/gsimpleasyncresult.c:
4687 * gio/gsimpleasyncresult.h:
4688 * gio/gsocketinputstream.h:
4689 * gio/gsocketoutputstream.h:
4690 * gio/gthemedicon.c:
4691 * gio/gthemedicon.h:
4695 * gio/gvolumemonitor.c:
4696 * gio/gvolumemonitor.h:
4697 Add padding in classes where it seems useful
4698 Don't include giotypes.h from public headers
4699 Move in Class definitions into c file where possible
4704 2007-11-06 Alexander Larsson <alexl@redhat.com>
4706 * docs/reference/gio/gio-docs.xml:
4707 Better structure for API docs
4709 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4712 * gio/gloadableicon.c:
4713 * gio/gsimpleasyncresult.c:
4714 * gio/gthemedicon.c:
4715 Add some more guards to public functions. Only files missing are now
4718 2007-11-06 Alexander Larsson <alexl@redhat.com>
4720 * docs/reference/gio/gio-docs.xml:
4721 Remove old files, add missing ones
4723 2007-11-06 Alexander Larsson <alexl@redhat.com>
4725 * docs/reference/gio/gio-sections.txt:
4728 Hide implementation classes
4730 * gio/gdriveprivate.h:
4731 * gio/gvolumeprivate.h:
4732 Remove non-existing function declarations
4734 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4737 Fix compilation warnings and add guards to the new functions.
4739 * gio/gasyncresult.c:
4741 Add guards to the public functions.
4744 Implement get_path().
4746 2007-11-06 Alexander Larsson <alexl@redhat.com>
4748 * gio/gfilenamecompleter.c:
4749 Make g_filename_completer_get_completions
4750 return char ** instead of GList for
4753 * docs/reference/gio/gio-docs.xml:
4754 * docs/reference/gio/gio-sections.txt:
4756 * gio/gasyncresult.c:
4757 * gio/gbufferedinputstream.c:
4758 * gio/gbufferedoutputstream.c:
4759 * gio/gcancellable.c:
4760 * gio/gcontenttype.c:
4761 * gio/gdatainputstream.c:
4762 * gio/gdataoutputstream.c:
4763 * gio/gdesktopappinfo.c:
4764 * gio/gdirectorymonitor.c:
4768 * gio/gfileattribute.c:
4769 * gio/gfileenumerator.c:
4772 * gio/gfileinputstream.c:
4773 * gio/gfilemonitor.c:
4774 * gio/gfilenamecompleter.c:
4775 * gio/gfilenamecompleter.h:
4776 * gio/gfileoutputstream.c:
4777 * gio/gfilterinputstream.c:
4779 * gio/ginputstream.c:
4781 * gio/gioscheduler.c:
4782 * gio/gloadableicon.c:
4783 * gio/glocaldirectorymonitor.c:
4785 * gio/glocalfileinputstream.c:
4786 * gio/glocalfilemonitor.c:
4787 * gio/glocalfileoutputstream.c:
4789 * gio/gmemoryinputstream.c:
4790 * gio/gmemoryoutputstream.c:
4791 * gio/gmountoperation.c:
4792 * gio/goutputstream.c:
4793 * gio/gpollfilemonitor.c:
4795 * gio/gsimpleasyncresult.c:
4796 * gio/gsocketinputstream.c:
4797 * gio/gsocketoutputstream.c:
4798 * gio/gthemedicon.c:
4799 * gio/gunionvolumemonitor.c:
4801 * gio/gunixmounts.c:
4802 * gio/gunixvolume.c:
4803 * gio/gunixvolumemonitor.c:
4807 * gio/gvolumemonitor.c:
4808 * gio/gwin32appinfo.c:
4809 Add (mostly stub) doc strings to public functions.
4810 Patch from Andrew Walton (awalton@gmail.com)
4812 2007-11-06 Alexander Larsson <alexl@redhat.com>
4814 * gio/gappinfo.[ch]:
4815 Added GAppLaunchContext object and pass that to launch.
4816 This allows simple implementation of both
4817 launch-on-screen and startup notification via a gtk+
4818 subclass of GAppLaunchContext
4820 * gio/gdesktopappinfo.c:
4821 Implement GAppLaunchContext API
4823 * gio/gwin32appinfo.c:
4826 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4828 * gio/gmountoperation.c:
4829 Add some guards to GMountOperation's public functions.
4831 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4835 * gio/gcancellable.c:
4836 * gio/gdirectorymonitor.c:
4838 * gio/gfileenumerator.c:
4839 * gio/gfilemonitor.c:,
4840 * gio/gfilenamecompleter.c:
4843 * gio/gioscheduler.c:
4847 * gio/gvolumemonitor.c:
4848 Add even more guards to various public functions.
4850 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4853 Add guards to the public functions of GAppInfo.
4855 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4857 * gio/gcontenttype.c:
4858 Add some more guards for public functions.
4860 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4862 * gio/fam/fam-module.c:
4863 * gio/fam/gfamdirectorymonitor.c:
4864 * gio/fam/gfamdirectorymonitor.h:
4865 * gio/fam/gfamfilemonitor.c:
4866 * gio/fam/gfamfilemonitor.h:
4867 * gio/inotify/ginotifydirectorymonitor.c:
4868 * gio/inotify/ginotifydirectorymonitor.h:
4869 * gio/inotify/ginotifyfilemonitor.c:
4870 * gio/inotify/ginotifyfilemonitor.h:
4871 Add proper copyright information and remove an unused variable
4872 in the GInotifyFileMonitor constructor.
4874 * gio/gcancellable.c:
4875 Add a guard for a public function and an assertion to prevent
4876 an undefined program state.
4878 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4880 * gio/gfileattribute.c:
4881 Don't run into an assertion if the given attribute value is NULL
4882 in g_file_attribute_value_get_*() but instead return a fallback
4883 value that makes sense in most situations. Passing them a attribute
4884 value with the wrong type will still run into an assertion.
4886 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4888 * gio/gfileattribute.c:
4890 Add even more guards to the public functions. Also fix the refcounting
4891 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4892 let g_file_info_list_attributes() filter the attributes by namespace
4893 instead of simply ignoring the namespace parameter.
4895 2007-11-03 Sven Herzberg <sven@imendio.com>
4897 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4898 (This makes gio work on MacOS X again)
4900 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4903 Build the gio subdirectory before the docs. Otherwise the build will
4906 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4907 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4908 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4909 Add guards to the public functions.
4911 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4913 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4914 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4915 to prevent a compiler warning.
4917 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4918 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4919 return something in the non-void function find_topdir_for().
4921 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4928 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4930 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4931 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4932 * gwin32appinfo.c (g_win32_app_info_launch):
4933 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4934 envp_for_startup_id, g_desktop_app_info_launch,
4935 g_desktop_app_info_launch_uris):
4937 Give an opaque 'startup_id' string instead of 'envp'.
4938 Support empty file lists for launching new windows.
4939 Fix infinite recursion bug when launching URIs.
4941 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4944 Add guard to the new g_file_get_uri_scheme() function.
4946 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4949 Convert a g_return_val_if_fail() to setting the GError instead as
4950 otherwise applications have to verify the parameter before otherwise
4951 and the parameter might come directly from the user.
4953 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4955 * gio/inotify/ginotify*.[ch]:
4956 Add missing copyright information.
4958 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4961 Add guards in the beginning of public functions to check for valid
4962 parameters and fix a bug in copy_stream_with_progress() that could've
4963 caused writing less bytes than reading.
4964 * gio/glocalfileinfo.c:
4965 Check for a NULL parameter and set the GError accordingly then.
4966 * gio/goutputstream.c:
4967 Fix the same bug as in gfile.c that could've caused writing less bytes
4968 than reading in g_output_stream_real_splice().
4970 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4973 Use the correct gvolumeprivate.h naming
4975 2007-11-01 Christian Kellner <gicmo@gnome.org>
4978 Remove leftover "$(daemon_sources)" entry.
4980 2007-11-01 Christian Kellner <gicmo@gnome.org>
4985 Add copyright information to source files.
4987 2007-11-01 Alexander Larsson <alexl@redhat.com>
4991 Add g_file_get_uri_scheme
4993 2007-11-01 Alexander Larsson <alexl@redhat.com>
4996 * gio/gdesktopappinfo.c:
4997 * gio/gwin32appinfo.c:
4998 Add g_app_info_get_default_for_uri_scheme.
5000 2007-11-01 Alexander Larsson <alexl@redhat.com>
5003 Correct filename for gdriveprivate.h
5005 2007-10-31 Alexander Larsson <alexl@redhat.com>
5008 Rename id:value to id:file
5011 * gio/glocalfileinfo.c:
5014 2007-10-31 Alexander Larsson <alexl@redhat.com>
5016 * gio/gunixvolume.c:
5018 Remove g_volume_get_platform_id, as thats not
5019 needed with the simpler union volume monitor
5021 2007-10-31 Alexander Larsson <alexl@redhat.com>
5024 * gio/guniondrive.[ch]: Removed.
5025 * gio/gunionvolume.[ch]: Removed.
5026 Remove GUnionDrive/Volume
5028 * gio/gunionvolumemonitor.c:
5029 Simplify union volume monitor, now we
5030 only have one native volume monitor and
5031 we use the actual volumes/drives from the
5032 child monitors instead of wrapping them
5034 * gio/gnativevolumemonitor.[ch]:
5035 Base class for native volume monitors.
5036 Includes priority and get_volume_for_mountpoint
5039 Add g_file_find_enclosing_volume
5042 Remove volume name fs attribute
5043 Add readonly fs attribute
5046 Implement readonly attribute
5047 remove volume name attribute
5048 Implement find_enclosing volume
5050 * gio/gunixmounts.c:
5051 Add a volume for "/".
5053 * gio/gunixvolume.[ch]:
5054 Set better name for /
5056 * gio/gunixvolumemonitor.[ch]:
5057 Derive from GNativeVolumeMonitor
5058 Implement get_volume_for_mountpoint
5061 GVolume typedef moved to gfile.h
5063 * gio/gvolumeprivate.h:
5064 Add g_volume_get_for_mount_path
5066 2007-10-31 Alexander Larsson <alexl@redhat.com>
5068 * gio/gunixmounts.[ch]:
5069 Add cache info to unix mount listers
5070 Make getmntent use threadsafe
5071 Add is_system_internal attribute for GUnixMount
5073 * gio/gunixvolume.c:
5074 (g_unix_volume_new):
5075 Use is_system_internal instead of own code
5077 * gio/glocaldirectorymonitor.c:
5078 * gio/gunixvolumemonitor.c:
5079 Update to new gunixmounts API
5084 2007-10-30 Alexander Larsson <alexl@redhat.com>
5087 Add volume name fsinfo attribute
5090 Read volume name info
5092 * gio/gunionvolumemonitor.c:
5093 Fix infinite loops when finalizing a union volume monitor
5095 2007-10-30 Alexander Larsson <alexl@redhat.com>
5097 * gio/goutputstream.[ch]:
5098 Add splice() with default implementation
5100 * gio/gsocketoutputstream.c:
5101 (g_socket_output_stream_write):
5102 Return error on cancellation correctly.
5104 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5106 * gio/glocalfile.c (g_local_file_trash):
5107 Do not leak a string.
5109 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5111 * gio/gfile.c (g_file_load_contents):
5112 Unref the stream after closing it.
5114 2007-10-25 Alexander Larsson <alexl@redhat.com>
5116 * gio/gioscheduler.h:
5119 2007-10-25 Alexander Larsson <alexl@redhat.com>
5123 Add g_file_has_uri_scheme and implement for local files
5125 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5127 * gio/gdesktopappinfo.c: do not leak a string.
5129 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5131 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5132 (g_local_directory_monitor_new):
5133 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5134 (g_local_file_monitor_new):
5135 Only look for the monitor type that should be used the first time
5136 and use g_qsort_with_data() instead of our own bubble sort
5139 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5142 * gio/fam/Makefile.am:
5143 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5144 * gio/fam/fam-helper.h:
5145 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5146 * gio/fam/gfamdirectorymonitor.c:
5147 * gio/fam/gfamdirectorymonitor.h:
5148 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5149 * gio/fam/gfamfilemonitor.h:
5150 * gio/glocaldirectorymonitor.c:
5151 * gio/glocaldirectorymonitor.h:
5152 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5153 * gio/glocalfilemonitor.h:
5154 * gio/inotify/Makefile.am:
5155 * gio/inotify/ginotifydirectorymonitor.c:
5156 * gio/inotify/ginotifydirectorymonitor.h:
5157 * gio/inotify/ginotifyfilemonitor.c:
5158 * gio/inotify/ginotifyfilemonitor.h:
5159 Implement the FAM and Inotify monitors as
5160 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5161 their own GIO module. GLocal(Directory|File)Monitor will use the
5162 monitor with the highest rank that is supported on that machine.
5164 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5167 Change GIO module dir to $(libdir)/gio/modules and change
5168 the log domain from GVFS to GIO. Also only export symbols starting
5169 with g_ in the resulting library.
5170 * gio/test-streams.c: (main):
5171 Set log handler for the GIO log domain.
5173 2007-10-22 Alexander Larsson <alexl@redhat.com>
5175 * gio/gfilenamecompleter.[ch]:
5176 Add g_filename_completer_set_dirs_only
5178 2007-10-22 Alexander Larsson <alexl@redhat.com>
5181 * gio/gurifuncs.[ch]:
5182 Add some simple URI helpers
5184 * gio/gfilenamecompleter.[ch]:
5185 Added object for filename (parse name actually) completion
5188 Handle ~ in parse names
5190 2007-10-17 Alexander Larsson <alexl@redhat.com>
5193 * gio/glocalfileinfo.c:
5194 Add and implement id:value attribute
5196 2007-10-17 Alexander Larsson <alexl@redhat.com>
5199 * gio/guniondrive.c:
5201 Add and implement g_drive_has_volumes
5203 2007-10-17 Alexander Larsson <alexl@redhat.com>
5206 * gio/glocalfileinfo.[ch]:
5207 Add unix:is_mountpoint and implement for local files
5209 2007-10-16 Alexander Larsson <alexl@redhat.com>
5211 * gio/gunionvolumemonitor.c:
5212 (g_union_volume_monitor_init):
5213 Fix up the unix type getting so that it works with gcc
5215 2007-10-12 Alexander Larsson <alexl@redhat.com>
5218 * gio/glocalfileinfo.c:
5219 Add thumbnail:failed to file info
5221 2007-10-12 Richard Hult <richard@imendio.com>
5223 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5224 optimizing away the get_type call (happens with some gcc versions,
5225 like the one shipped with OS X 10.4).
5227 2007-10-12 Alexander Larsson <alexl@redhat.com>
5229 * gio/glocalfileinfo.c:
5230 (_g_local_file_info_set_attribute):
5231 Fix build if not HAVE_XATTR
5232 Patch from Milosz Derezynski <internalerror@gmail.com>
5234 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5236 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5237 around for review, otherwise I would have asked you before
5240 2007-10-11 Alexander Larsson <alexl@redhat.com>
5243 Add thumbnail:path attribute
5245 * gio/glocalfileinfo.c:
5246 Implement thumbnail:path for local files
5248 2007-10-11 Alexander Larsson <alexl@redhat.com>
5250 * gio/glocalfileinfo.c:
5251 (_g_local_file_info_get):
5252 Avoid duplicate icon names
5254 2007-10-11 Alexander Larsson <alexl@redhat.com>
5256 * gio/gthemedicon.[ch]:
5257 Change g_themed_icon_get_names return type to const
5259 2007-10-10 Alexander Larsson <alexl@redhat.com>
5261 * gio/glocalfileinfo.c:
5262 Don't reference freed memory
5264 2007-10-10 Alexander Larsson <alexl@redhat.com>
5266 * gio/gfileattribute.c:
5269 * gio/glocalfileinfo.c:
5272 2007-10-10 Alexander Larsson <alexl@redhat.com>
5275 Check for NULL icons
5277 * gio/gfileattribute.c:
5278 Don't dup when getting objects (same as for string attributes)
5280 * gio/gicon.c (g_icon_equal):
5281 Safely handle NULLs in equal
5283 2007-10-10 Alexander Larsson <alexl@redhat.com>
5286 Fix c++ compilation issues
5287 Patch from Milosz Derezynski <internalerror@gmail.com>
5289 2007-10-10 Alexander Larsson <alexl@redhat.com>
5291 * programs/gio-monitor-dir.c:
5292 Don't crash if dir monitor not supported.
5294 2007-10-09 Alexander Larsson <alexl@redhat.com>
5297 Add missing G_END_DECLS
5299 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5301 * gio/gfile.c: (g_file_set_display_name),
5302 (g_file_query_settable_attributes),
5303 (g_file_query_writable_namespaces):
5304 Return NULL not FALSE on errors as the return type is a pointer.
5306 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5308 * gio/glocalfile.c: (g_local_file_monitor_file):
5309 Don't call monitor_file on the default interface vtable (which
5310 is NULL) but simply return NULL. The caller, GFile, will create a
5311 polling monitor if NULL is returned.
5313 2007-10-09 Alexander Larsson <alexl@redhat.com>
5317 * gio-unix-2.0.pc.in:
5318 Add gio-unix-2.0.pc if OS_UNIX
5321 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5323 2007-10-09 Alexander Larsson <alexl@redhat.com>
5325 * gio/gunixmounts.[ch]:
5326 Make unix mount monitoring API sane.
5327 Now its just a object with mounts_changed
5328 and mountpoints_changed signals.
5330 * gio/glocaldirectorymonitor.c:
5331 * gio/gunixvolumemonitor.c:
5332 Use new mount monitor api
5334 2007-10-09 Alexander Larsson <alexl@redhat.com>
5336 * gio/gunixmounts.[ch]:
5337 Move guess type into one call for mounts and one for mountpoints
5340 * gio/gunixvolume.c:
5343 2007-10-09 Alexander Larsson <alexl@redhat.com>
5345 * gio/gunixmounts.[ch]:
5346 Remove _ prefix in preparation to make this semi-public
5347 Hide implementation of structs
5349 * gio/glocaldirectorymonitor.c:
5351 * gio/gunixvolume.c:
5352 * gio/gunixvolumemonitor.c:
5353 Update for above API changes
5355 2007-10-08 Alexander Larsson <alexl@redhat.com>
5358 Better polling fallback. This also handles the case where we have
5359 a monitor_file implementation, but it fails.
5361 2007-10-08 Alexander Larsson <alexl@redhat.com>
5365 * gio/gunixmounts.c:
5366 * programs/gio-monitor-dir.c:
5367 * programs/gio-monitor-file.c:
5368 Added cancellable to file monitoring calls.
5369 These are really sync calls and need this.
5371 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5373 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5374 (g_local_vfs_class_init):
5375 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5376 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5378 2007-10-05 Alexander Larsson <alexl@redhat.com>
5380 * gio/gdirectorymonitorprivate.h:
5381 * gio/gfilemonitorprivate.h:
5382 * gio/gdirectorymonitor.h:
5383 * gio/gfilemonitor.h:
5384 Remove *private.h and move to the public API, so that
5385 we can do implementations outside gio (such as in gvfs)
5387 * gio/gdirectorymonitor.c:
5388 * gio/gfilemonitor.c:
5389 * gio/glocaldirectorymonitor.c:
5390 * gio/gpollfilemonitor.c:
5391 * gio/inotify/inotify-helper.c:
5392 * gio/fam/fam-helper.c:
5393 Update to the new header names
5395 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5397 * gio/gdirectorymonitor.c:
5398 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5401 2007-10-04 Alexander Larsson <alexl@redhat.com>
5403 * gio/glocalfileinfo.c (get_access_rights):
5404 Set CAN_TRASH when we can move the file.
5405 We should really also check for a parent trash dir.
5407 2007-10-04 Alexander Larsson <alexl@redhat.com>
5409 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5410 Add can_trash access attribute
5412 2007-10-04 Alexander Larsson <alexl@redhat.com>
5415 (g_local_file_trash):
5416 Create info file first. This is per-spec and allows
5417 us to actually trash directories.
5419 2007-10-02 Alexander Larsson <alexl@redhat.com>
5421 * gio/gdesktopappinfo.c:
5422 Implement the new mime support code.
5423 Always set app as handling mimetype when being set as default for it
5425 2007-10-01 Alexander Larsson <alexl@redhat.com>
5427 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5428 Fix up check for xattrs:
5430 2007-10-01 Alexander Larsson <alexl@redhat.com>
5433 (g_app_info_set_as_default_for_extension):
5434 (g_app_info_add_supports_type):
5435 (g_app_info_can_remove_supports_type):
5436 (g_app_info_remove_supports_type):
5437 Make these fail nicely if not implemented
5439 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5441 * gio/glocalfileoutputstream.c:
5442 * gio/glocalfileoutputstream.h:
5447 * programs/gio-save.c:
5448 Add a GFileCreateFlags argument to operations that can create
5451 2007-10-01 Alexander Larsson <alexl@redhat.com>
5453 * gio/gappinfo.[ch]:
5454 * gio/gdesktopappinfo.c:
5455 Add more (stubbed out) mime API needed for nautilus
5457 2007-10-01 Alexander Larsson <alexl@redhat.com>
5460 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5461 Add g_app_info_set_as_default_for_extension.
5463 * gio/gdesktopappinfo.c:
5464 Dummy for g_app_info_set_as_default_for_extension
5465 Support flags in g_app_info_create_from_commandline
5467 * gio/gwin32appinfo.c:
5469 Update for API changes
5471 * gio/gthemedicon.c:
5472 Properly NULL-terminate list of icon names
5474 2007-09-28 Alexander Larsson <alexl@redhat.com>
5476 * gio/gloadableicon.h:
5477 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5479 2007-09-28 Alexander Larsson <alexl@redhat.com>
5482 Install headers in $includedir/gio-standalone/
5484 * gio-2.0.pc.in: Added.
5485 * gio-standalone.pc.in: Removed.
5488 Renamed pkg-config file to match glib (for future move)
5489 Update to the new include dir
5492 Add more TODO comments
5494 2007-09-28 Alexander Larsson <alexl@redhat.com>
5496 * gio/gdesktopappinfo.[ch]:
5497 Expose new_from_filename
5498 Add getter for is_hidden and handle it better
5500 2007-09-28 Alexander Larsson <alexl@redhat.com>
5502 * gio/gfileinfo.[ch]:
5503 Rename g_file_size_format_for_display to
5504 g_format_file_size_for_display.
5505 Now it doesn't have the g_file prefix, so we
5506 can later move it to glib.
5508 2007-09-28 Alexander Larsson <alexl@redhat.com>
5510 * gio/gappinfo.[ch]:
5511 Add g_app_info_get_id and g_app_info_get_executable.
5512 Make all getters non-reffing
5513 Make g_app_info_launch take GFile arguments.
5514 Add must_support_uris argument to g_app_info_get_default_for_type.
5516 * gio/gwin32appinfo.c:
5517 Update to GAppInfo api changes
5519 * gio/gdesktopappinfo.c:
5520 Update to GAppInfo api changes
5521 Implement supports_xdg_startup_notify
5523 * gio/gfileicon.c (g_file_icon_get_file):
5524 Make getter non-reffing.
5529 2007-09-27 Alexander Larsson <alexl@redhat.com>
5531 * gio/gfileinfo.[ch]:
5532 Add g_file_size_format_for_display helper
5534 2007-09-27 Alexander Larsson <alexl@redhat.com>
5536 * gio/glocalfileinfo.c:
5537 Set UNIX_GID from gid, not from uid
5539 2007-09-27 Alexander Larsson <alexl@redhat.com>
5542 Add g_file_set_attributes_async
5544 2007-09-27 Alexander Larsson <alexl@redhat.com>
5546 * gio/glocalfile.c (g_local_file_set_display_name):
5547 Fix set_display_name to actually rename to the right place.
5548 Use lstat to look for existing files so we don't overwrite
5551 2007-09-26 Alexander Larsson <alexl@redhat.com>
5554 Add g_file_set_display_name_async()
5556 2007-09-26 Alexander Larsson <alexl@redhat.com>
5559 Add load_partial_contents async calls
5562 Make internal function static
5564 2007-09-26 Alexander Larsson <alexl@redhat.com>
5566 * gio/glocalfileinfo.c:
5567 Correctly detect broken symlinks
5569 2007-09-26 Alexander Larsson <alexl@redhat.com>
5571 * gio/gcancellable.c (g_cancellable_cancel):
5572 Allow cancel on NULL cancellable
5574 2007-09-25 Alexander Larsson <alexl@redhat.com>
5576 * gio/gsimpleasyncresult.c:
5577 Don't allocate g_error manually.
5578 Fixes g_slice/g_new mixup crash
5580 2007-09-25 Alexander Larsson <alexl@redhat.com>
5582 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5583 Actually set active_backend.
5584 This means the monitor will be cancelled correctly.
5586 2007-09-25 Alexander Larsson <alexl@redhat.com>
5588 * gio/gdirectorymonitor.c:
5589 Set timeout to NULL when destroying
5591 2007-09-25 Alexander Larsson <alexl@redhat.com>
5594 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5595 that is a better description of the error.
5597 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5599 * gio/gvfs.c: (g_vfs_get_local):
5600 Make the local vfs variable static. The same instance should
5603 2007-09-24 Alexander Larsson <alexl@redhat.com>
5605 * gio/glocalfileinfo.c:
5606 Pass in actual length read into sniffer, not the length
5609 2007-09-21 Alexander Larsson <alexl@redhat.com>
5611 * gio/gfileenumerator.c:
5614 * gio/gfileinputstream.c:
5615 * gio/gfileoutputstream.c:
5616 * gio/ginputstream.c:
5617 * gio/goutputstream.c:
5618 Don't crash if async callbacks are NULL
5620 2007-09-20 Alexander Larsson <alexl@redhat.com>
5623 Add async enumerate_children method and default
5626 2007-09-20 Alexander Larsson <alexl@redhat.com>
5629 Add g_file_contains_file & g_file_get_relative_path, since they
5630 were needed for nautilus.
5631 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5636 Implement new methods
5638 2007-09-17 Alexander Larsson <alexl@redhat.com>
5641 * gio/gfileinputstream.[ch]:
5642 * gio/gfileoutputstream.[ch]:
5644 * gio/glocalfileenumerator.[ch]:
5645 * gio/glocalfileinfo.[ch]:
5646 * gio/glocalfileinputstream.c:
5647 * gio/glocalfileoutputstream.c:
5648 * gio/gpollfilemonitor.c:
5649 * programs/gio-copy.c:
5650 * programs/gio-info.c:
5651 * programs/gio-move.c:
5652 Rename get_file_info to query_info() to make it clearer
5653 that these are not simple getters, but do i/o.
5655 2007-09-17 Alexander Larsson <alexl@redhat.com>
5657 * gio/gdatainputstream.[ch]:
5658 * gio/test-streams.c:
5659 Use _read_XXX instead of _get_XXX for the i/o calls
5662 2007-09-17 Alexander Larsson <alexl@redhat.com>
5665 Added needed stuff to TODO comment
5667 2007-09-17 Alexander Larsson <alexl@redhat.com>
5669 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5670 Don't error out removing the backup copy if it doesn't
5673 2007-09-14 Alexander Larsson <alexl@redhat.com>
5675 * programs/Makefile.am:
5676 * programs/gvfs-*.c:
5678 Renamed apps from gvfs-xxx to gio-xxx.
5680 2007-09-14 Alexander Larsson <alexl@redhat.com>
5683 * gio/gfileoutputstream.[ch]:
5684 * gio/glocalfileoutputstream.c:
5685 * programs/gvfs-save.c:
5686 g_file_output_stream_get_etag doesn't do i/o, so remove
5687 cancellation and error.
5689 2007-09-14 Alexander Larsson <alexl@redhat.com>
5692 Add new_etag output to replace_contents functions
5694 2007-09-14 Alexander Larsson <alexl@redhat.com>
5696 * gio/gfileoutputstream.[ch]:
5697 Add async get_file_info and default implementation
5699 2007-09-14 Alexander Larsson <alexl@redhat.com>
5701 * gio/gfileinputstream.c:
5702 Implement fallback wrapper for async get_file_info
5704 2007-09-14 Alexander Larsson <alexl@redhat.com>
5707 Add etag out argument to load_contents
5712 2007-09-14 Alexander Larsson <alexl@redhat.com>
5714 * gio/gcontenttype.c (looks_like_text):
5715 Whitespace like tab, cr and lf do not make the
5718 2007-09-14 Alexander Larsson <alexl@redhat.com>
5720 * gio/gfileinputstream.[ch]:
5721 Add async get_file_info.
5723 2007-09-13 Alexander Larsson <alexl@redhat.com>
5725 * gio/goutputstream.c (g_output_stream_write_all):
5726 Allow NULL for bytes_written
5728 2007-09-13 Alexander Larsson <alexl@redhat.com>
5730 * gio/gmemoryinputstream.[ch]:
5731 Add accessors for data
5733 2007-09-13 Alexander Larsson <alexl@redhat.com>
5735 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5736 Don't crash if length is NULL