1 2009-03-03 Alexander Larsson <alexl@redhat.com>
3 Bug 562613 – Missing const modifier in string parameters
5 * gfileinputstream.[ch]:
6 * gfileoutputstream.[ch]:
8 Make string arguments const if used as such.
10 2009-03-03 Alexander Larsson <alexl@redhat.com>
12 * glocalfile.c (g_local_file_query_filesystem_info):
13 Handle filesystems no supporting reporting how much is free.
14 This fixes bug 573454 where the filesystem not supporting this
15 is the gvfs smb backend over the fuse filesystem.
17 2009-03-02 Matthias Clasen <mclasen@redhat.com>
19 * === Released 2.19.10 ===
21 2009-03-02 Matthias Clasen <mclasen@redhat.com>
23 * === Released 2.19.9 ===
25 2009-03-02 Matthias Clasen <mclasen@redhat.com>
27 * gioenums.h: Add a Since: tag
29 2009-03-01 Matthias Clasen <mclasen@redhat.com>
31 Bug 573658 – Deadlock in giomodule.c
33 * giomodule.c: Use a separate lock for extension point registration
34 to avoid deadlock. Discovered by Torsten Schoenfeld
36 2009-03-01 Matthias Clasen <mclasen@redhat.com>
38 * gdatainputstream.c: Fix docs
40 2009-02-27 Matthias Clasen <mclasen@redhat.com>
42 Bug 573421 – Clarify message format in GMountOperation
44 * gmountoperation.c: Document that the first line of a
45 multi-line message should be interpreted as a heading.
47 2009-02-27 David Zeuthen <davidz@redhat.com>
49 Bug 573462 – GEmblemedIcon leak
51 * gemblemedicon.c (g_emblemed_icon_finalize):
52 Avoid leaking a GList.
54 2009-02-27 Alexander Larsson <alexl@redhat.com>
58 Split out the extension point registration code to its
62 Ensure extension points are registered before extending it.
63 It might not have happened yet if g_vfs_get_local() is called.
65 2009-02-26 Alexander Larsson <alexl@redhat.com>
67 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
68 * gmemoryoutputstream.c:
69 Track actual valid size, even if we later seek back.
71 * tests/memory-output-stream.c:
74 2009-02-26 Alexander Larsson <alexl@redhat.com>
76 Bug 543183 – Clarify docs for g_file_has_prefix
78 * gfile.c: (g_file_has_prefix):
79 Clarify how the prefix matching works.
81 2009-02-26 Alexander Larsson <alexl@redhat.com>
84 Support desktop file key X-GIO-NoFuse which disables
85 use of fuse pathnames for %u and %U arguments.
87 2009-02-25 Alexander Larsson <alexl@redhat.com>
89 Bug 570073 – Add support for reading filesystems on Interix
91 * gunixmounts.c (_g_get_unix_mounts):
92 Support Interix. Patch from Fabian Groffen
94 2009-02-25 Paolo Borelli <pborelli@katamail.com>
96 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
98 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
100 2009-02-23 Alexander Larsson <alexl@redhat.com>
103 Remove accidentally commited spew
105 2009-02-20 Alexander Larsson <alexl@redhat.com>
108 (g_content_type_guess):
109 Don't ever sniff desktop files when the filename is known.
110 In other words, only allow desktop files with the .desktop extension
111 and when the filename isn't known.
112 This is a security precaution since desktop files can execute
113 arbitrary code when launched and we don't want to allow them to
114 try and hide as another type. There is no legit reason to not
115 have the .desktop extension anyway.
117 2009-02-19 Alexander Larsson <alexl@redhat.com>
119 Bug 549298 – impossible to copy files with p (pipe) flag
122 (file_copy_fallback):
123 Error out if the source file is a special file
125 2009-02-18 Alexander Larsson <alexl@redhat.com>
127 Bug 560564 – Replacing a symlink with its linked file truncates the original file
130 Add G_FILE_CREATE_REPLACE_DESTINATION
132 * glocalfileoutputstream.c:
133 (handle_overwrite_open):
134 (_g_local_file_output_stream_replace):
135 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
138 (file_copy_fallback):
139 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
142 2009-02-17 Ryan Lortie <desrt@desrt.ca>
144 * gfileinfo.c: unref the destination's attribute matcher before
147 2009-02-17 Matthias Clasen <mclasen@redhat.com>
149 * === Released 2.19.8 ===
151 2009-02-17 Matthias Clasen <mclasen@redhat.com>
153 * gio.symbols: Add missing exports for new API
155 * gdatainputstream.c: Add missing Since: tags.
157 2009-02-16 Matthias Clasen <mclasen@redhat.com>
159 * === Released 2.19.7 ===
161 2009-02-16 Matthias Clasen <mclasen@redhat.com>
163 * gmountoperation.[hc]: Add an "aborted" signal to abort a
164 mount operation from the backend side.
166 * gvolume.h: Add docs regarding the "aborted" signal.
168 2009-02-16 Ryan Lortie <desrt@desrt.ca>
170 Bug 505042 – add file attribute for actually used file size in bytes
172 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
173 "standard::allocated-size"
174 * gfileattribute.c: document
175 * glocalfileinfo.c: set the allocated size from st_blocks * 512
177 2009-02-16 Ryan Lortie <desrt@desrt.ca>
179 Bug 571598 – GAsyncResult with NULL gobject
181 * gsimpleasyncresult.c: remove various assertions and add some checks
182 to allow for a NULL source_object in GSimpleAsyncResult.
184 2009-02-11 Matthias Clasen <mclasen@redhat.com>
186 Bug 541225 – Can't compile gio on AIX : duplicate case value in
189 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
190 Reported by Nicolas Joseph
192 2009-02-04 Alexander Larsson <alexl@redhat.com>
194 Bug 566747 - URIs opened with firefox %u load as local files
196 * gdummyfile.c (g_dummy_file_get_path):
197 Dummy files are never used for local paths, so always return NULL
200 2009-02-02 Matthias Clasen <mclasen@redhat.com>
202 * === Released 2.19.6 ===
204 2009-01-31 Paolo Borelli <pborelli@katamail.com>
206 * glocalfileinfo.c: plug a tiny mem leak.
208 2009-01-29 Ryan Lortie <desrt@desrt.ca>
210 * gioerror.c (g_io_error_from_errno): handle all possible cases of
211 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
213 2009-01-28 Ryan Lortie <desrt@desrt.ca>
215 Bug 568575 – _async functions for GDataInputStream
217 * gdatainputstream.h:
218 * gdatainputstream.c: add _async versions of read_line and read_until.
220 * ../docs/reference/gio/gio-sections.txt: add new functions
221 * tests/sleepy-stream.c: new test case for async read line
222 * tests/Makefile.am: add new test
224 2009-01-22 Ryan Lortie <desrt@desrt.ca>
226 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
228 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
229 g_buffered_input_stream_fill): check for count < -1 instead of count <
230 0 and copy modified check to non-async version for consistency.
231 document the "count = -1" API.
233 2009-01-22 Ryan Lortie <desrt@desrt.ca>
235 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
237 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
238 after we have successfully read data from the base stream
240 2009-01-20 Ryan Lortie <desrt@desrt.ca>
242 Bug 568394 – dropping the last reference to a stream filter closes the
245 * gfilterinputstream.h:
246 * gfilterinputstream.c: add "close-base-stream" property and only
247 close the base stream if it is true. issue async close callbacks from
248 correct source object.
249 * gfilteroutputstream.h:
250 * gfilteroutputstream.c: add a "close-base-stream" property and only
251 close the base stream if it is true. issue async close callbacks from
252 correct source object.
253 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
254 before closing the base stream. fix invalid source tag comparison in
255 close_async (was comparing to flush_async).
256 * ../docs/reference/gio/gio-sections.txt:
258 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
259 * tests/filter-streams.c: new test cases
260 * tests/Makefile.am: add new test
261 * tests/.gitignore: add new test
263 2009-01-19 Matthias Clasen <mclasen@redhat.com>
265 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
267 2009-01-19 Matthias Clasen <mclasen@redhat.com>
269 * === Released 2.19.5 ===
271 2009-01-19 Matthias Clasen <mclasen@redhat.com>
273 * gappinfo.h: Document get_commandline vfunc
275 2009-01-19 Matthias Clasen <mclasen@redhat.com>
277 * gunixmounts.c: Some stylistic fixes.
279 2009-01-08 Matthias Clasen <mclasen@redhat.com>
281 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
282 functions in non-UTF8 locale
284 * xdgmime/xdgmimecache.c:
285 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
287 2009-01-08 Matthias Clasen <mclasen@redhat.com>
289 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
291 2009-01-07 Matthias Clasen <mclasen@redhat.com>
293 Bug 566770 – error code 0 for Too many open files is useless
295 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
296 Requested by Olivier Sessink.
298 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
300 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
301 G_IO_ERROR_TOO_MANY_OPEN_FILES.
303 2009-01-05 Matthias Clasen <mclasen@redhat.com>
305 * === Released 2.19.4 ===
307 2009-01-05 Dan Winship <danw@gnome.org>
309 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
310 "const char **" to avoid a warning.
312 * gemblem.c (g_emblem_from_tokens):
313 * gemblemedicon.c (g_emblemed_icon_from_tokens):
314 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
317 2009-01-05 Matthias Clasen <mclasen@redhat.com>
319 Bug 566064 – Add NOATIME flag to query_info_flags
321 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
322 sniffing for mime types. Based on a patch by A. Walton
324 2009-01-05 Ryan Lortie <desrt@desrt.ca>
326 * tests/.gitignore: improve
327 * tests/Makefile.am: add new simple-async-result test
328 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
330 2009-01-05 Ryan Lortie <desrt@desrt.ca>
333 * ../docs/reference/gio/gio-sections.txt:
334 * gsimpleasyncresult.h:
335 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
336 Implementation by Dan Winship. Closes #566170.
338 2008-12-31 Matthias Clasen <mclasen@redhat.com>
342 * gunixinputstream.c:
343 * gunixoutputstream.c: Add a note about being UNIX-specific.
345 2008-12-15 Matthias Clasen <mclasen@redhat.com>
347 * === Released 2.19.3 ===
349 2008-12-12 Dan Winship <danw@gnome.org>
351 * pltcheck.sh: make this work on x86_64
353 2008-12-12 Ryan Lortie <desrt@desrt.ca>
355 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
358 2008-12-12 Ryan Lortie <desrt@desrt.ca>
360 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
361 multiple mount entries match the requested path
363 2008-12-10 Alexander Larsson <alexl@redhat.com>
365 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
366 g_simple_async_result_run_in_thread
368 * gsimpleasyncresult.c:
369 Make g_simple_async_result_run_in_thread check cancellation before
370 calling out to the user in the callback. This means we guarantee
371 reporting cancels of async operations from the main threads, which
372 is probably more in line with what users expect.
374 Note that there are still no such guarantees for cancelling sync
375 operations or cancelling async operation from outside the main
376 thread. Furthermore, the exact behaviour of async implementations
377 not using run_in_thread may differ.
379 2008-12-09 Alexander Larsson <alexl@redhat.com>
381 Bug 515777 - incorrect date&time on copy
384 (g_local_file_class_init):
385 Copy mtime by default
388 Change docs about G_FILE_COPY_ALL_METADATA to not mention
391 2008-12-08 Matthias Clasen <mclasen@redhat.com>
393 Bug 558298 – Hide ecryptfs mounts
395 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
396 so that the desktop does not show both the mount and the target
397 directory. Patch by Martin Pitt
399 2008-12-08 Matthias Clasen <mclasen@redhat.com>
401 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
405 * gunixinputstream.[hc]:
406 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
407 including getters and setters. Patch by Maciej Piechotka
409 2008-12-07 Matthias Clasen <mclasen@redhat.com>
411 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
413 * tests/live-g-file.c: Support compilers that don't understand
414 ISO C varargs macros. Patch by Eric Lamarque
416 2008-12-07 Matthias Clasen <mclasen@redhat.com>
418 Bug 526320 – should not list mounts that the user doesn't have
421 gunixmounts.c: Use g_access() to check accessibility of local devices.
424 2008-12-01 Matthias Clasen <mclasen@redhat.com>
426 * === Released 2.19.2 ===
428 2008-12-01 Matthias Clasen <mclasen@redhat.com>
430 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
431 behaviour change, and update the docs instead, to avoid breaking
434 2008-12-01 Matthias Clasen <mclasen@redhat.com>
436 * === Released 2.19.1 ===
438 2008-12-01 Alexander Larsson <alexl@redhat.com>
442 * gunionvolumemonitor.c:
444 Add and document g_mount_is_shadowed plus calls
445 to set/unset a mount as shadowed
447 2008-11-28 Matthias Clasen <mclasen@redhat.com>
449 * gio/tests/g-icon.c: Comment out two failing tests
451 2008-11-28 Matthias Clasen <mclasen@redhat.com>
453 Bug 555486 – No way to recover command line from GAppInfo
456 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
457 by Hans Petter Jansson.
459 * gdesktopappinfo.c: And implement it here.
461 2008-11-28 Christian Dywan <christian@imendio.com>
463 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
465 2008-11-28 Matthias Clasen <mclasen@redhat.com>
467 Bug 559633 – gtk_image_new_from_gicon does not always work for
470 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
471 extensions on icon names. Proposed by Axel von Bertoldi.
473 2008-11-28 Matthias Clasen <mclasen@redhat.com>
475 Bug 548163 – Nautilus displays wrong error message for too long file
478 * glocalfile.c (g_local_file_set_display_name): Correctly set
479 error conditions if the new name is e.g. too long. Reported
480 by Leonardo Ferreira Fontenelle.
482 2008-11-28 Matthias Clasen <mclasen@redhat.com>
484 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
487 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
488 documented and include the line end in the returned string.
489 Pointed out by Paul Pogonyshev.
491 * tests/data-input-stream.c: Fix the read_line test to test the
492 documented behaviour.
494 2008-11-28 Matthias Clasen <mclasen@redhat.com>
496 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
497 files that have been created by g_app_info_create_from_commandline.
499 2008-11-28 Matthias Clasen <mclasen@redhat.com>
501 Bug 541715 – win32 : patch for warnings and signature problems in
504 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
507 2008-11-28 Matthias Clasen <mclasen@redhat.com>
509 Bug 562393 – g_buffered_input_stream_read_byte broken if data
512 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
513 handling of buffered content. Patch by Philip Withnall
515 * tests/buffered-input-stream.c: Add a testcase for this bug.
516 * tests/Makefile.am: And build it
518 2008-11-28 Matthias Clasen <mclasen@redhat.com>
520 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
523 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
524 '/' away. Spotted by Dan Williams.
526 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
528 Bug 561375 – Leaks mountpoint description
530 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
533 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
535 Bug 561352 – Leak of icon description
537 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
540 2008-11-14 Matthias Clasen <mclasen@redhat.com>
542 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
544 2008-11-12 Tor Lillqvist <tml@novell.com>
546 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
548 * win32/gwinhttpvfs.h: Move the set of function pointers to
549 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
550 pointer to that in the GWinHttpVfsClass.
552 * win32/gwinhttpvfs.c: Move the lookup of functions from
553 winhttp.dll into a function of its own, that stores the pointers
554 in a separate GWinHttpDllFuncs variable. Add two bookeeping
555 booleans lookup_done and funcs_found.
557 Don't call g_io_extension_point_implement() to register the
558 winhttp extension unless winhttp.dll has been successfully loaded
559 and the required functions found in it.
561 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
562 winhttp.dll correspondingly.
564 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
566 reviewed by: Alexander Larsson <alexl@redhat.com>
568 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
569 clearer about the behavior when there's no more content to read.
571 2008-10-27 Federico Mena Quintero <federico@novell.com>
573 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
575 2008-10-27 Tor Lillqvist <tml@novell.com>
577 Bug 557592 - Missing include in gwinhttpfile.c
579 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
582 2008-10-24 Matthias Clasen <mclasen@redhat.com>
584 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
586 * fam/fam-helper.c: Fix a memory leak and formatting issues.
587 Reported by Daniel Marjamäki
589 2008-10-23 Matthias Clasen <mclasen@redhat.com>
591 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
593 2008-10-23 Alexander Larsson <alexl@redhat.com>
595 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
598 (_g_local_file_info_get):
599 Don't return the fallback icon (text-x-generic) for all files.
600 This is causing problems with theme icon lookup and custom mime
601 icons, as the generic fallback overrides custom mime icons in
604 This is a slight change as applications might not get an icon wher
605 they previously did. But there is no guarantee to get on neither before
606 or after this change, so it should not break applications. Changes
607 to nautilus and gtk+ will be done to manually use the generic fallback
608 icon if no icon is found, but this is only required for rare cases.
610 2008-10-21 Alexander Larsson <alexl@redhat.com>
613 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
615 2008-10-21 Alexander Larsson <alexl@redhat.com>
617 Bug 555740 - gicon serialization
618 Based on patch from David Zeuthen
622 Add g_icon_to_string() and g_icon_new_for_string().
628 Implement icon serialization for built-in icon types
632 Added GIcon serialization test
634 2008-10-16 Matthias Clasen <mclasen@redhat.com>
636 * === Released 2.19.0 ===
638 2008-10-16 Matthias Clasen <mclasen@redhat.com>
640 Bug 556422 – g_file_enumerator_next_file: unclear whether return
641 value needs to be freed
643 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
644 the return value docs. Pointed out by Armin Burgmeier
646 2008-10-14 Matthias Clasen <mclasen@redhat.com>
648 Bug 556334 – Warning when building without selinux support
650 * glocalfileinfo.c: Avoid compiler warnings when selinux is
651 disabled. Patch by Pascal Terjan
653 2008-10-14 Matthias Clasen <mclasen@redhat.com>
655 Bug 556335 – make check fails in abicheck.sh
657 * gio.symbols: Add g_file_attribute_info_list_get_type.
658 Pointed out by Pascal Terjan.
660 2008-10-13 Alexander Larsson <alexl@redhat.com>
663 When adding an application as handling a mime type (but
664 not as the default), copy the full list of desktop ids handling
665 that type in before adding the new one on the end of the list.
666 This means we're not accidentally changing the default by overriding
667 the info from the later directories in the search path.
669 Also, fixes small leak of removed_entries.
671 2008-10-12 David Zeuthen <davidz@redhat.com>
674 * gunionvolumemonitor.c:
676 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
678 2008-10-10 Alexander Larsson <alexl@redhat.com>
680 * gfileattribute.c (escape_byte_string):
681 Upper half of byte is >> 4, not >> 8.
682 Found by Kjartan Maraas via sparse
684 2008-10-10 Matthias Clasen <mclasen@redhat.com>
686 Bug 555711 – Wrong fallback order of mimetype icons
688 * gcontenttype.c: Don't prefer generic icons over
689 default mimetype icons.
691 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
692 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
694 Patch by Krysztof Kosiński
696 2008-10-10 Matthias Clasen <mclasen@redhat.com>
698 Bug 555121 – Improved build-time handling of gio module-dir
700 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
701 * Makefile.am: Create the module dir.
703 2008-10-10 Matthias Clasen <mclasen@redhat.com>
705 * gio/glocalfileinfo.c:
706 * gio/tests/live-g-file.c:
707 * gio/gsimpleasyncresult.c: Fix gcc warnings.
709 2008-10-09 Alexander Larsson <alexl@redhat.com>
711 * gunixinputstream.c (g_unix_input_stream_read):
712 Actually return -1 in case of cancelled, not old res value.
714 2008-10-06 Colin Walters <walters@verbum.org>
716 Bug 554745 - GFileAttributeInfoList should be boxed
718 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
719 for convenience of bindings.
720 * gio/gfileattribute.h: Prototype it.
722 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
724 Bug 554970 – segfault when update-desktop-database is not available
727 * gdesktopappinfo.c (run_update_command): Have the error set before
730 2008-10-01 David Zeuthen <davidz@redhat.com>
732 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
733 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
734 instead of the gio URI (such as sftp://foo/file.avi) when using
735 g_app_info_launch() and friends. With a sufficiently recent gvfs,
736 apps using gio+gvfs will map the FUSE file:// URI back to the gio
737 URI (and thus bypass the fuse daemon) thanks the patch from bug
738 #530654. Since Nautilus is an user of g_app_info_launch() it
739 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
740 when launced via the file manager. Win. Fixes bug #528670.
742 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
743 mapping to the description of GAppInfo.
745 2008-09-30 Tor Lillqvist <tml@novell.com>
747 * tests/Makefile.am: Build desktop-app-info only on Unix.
749 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
750 g_critical(). Pass a large enough result buffer to
751 GetVolumePathNameW(). Just use MAX_PATH.
753 2008-09-29 David Zeuthen <davidz@redhat.com>
755 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
757 2008-09-26 Dan Winship <danw@gnome.org>
759 * tests/data-input-stream.c:
760 * tests/data-output-stream.c:
761 * tests/live-g-file.c:
762 * tests/memory-input-stream.c:
763 * tests/memory-output-stream.c: Use g_assert_error() and
766 2008-09-26 Matthias Clasen <mclasen@redhat.com>
768 Bug 545350 – GAppInfo deletion
769 Bug 545351 – Reset associations for content type
772 * gappinfo.[hc]: New functions g_app_info_can_delete,
773 g_app_info_delete and g_app_info_reset_type_associations.
776 * gwin32appinfo.c: Implementations of these.
779 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
781 2008-09-26 Dan Winship <danw@gnome.org>
783 Bug 505361 – gunixinputstream.c assumes poll() available
784 Bug 509446 – portable blocking gio cancellation
786 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
787 GPollFD for a cancellable (which is slightly more complicated on
790 * gunixinputstream.c (g_unix_input_stream_read):
791 * gunixoutputstream.c (g_unix_output_stream_write): Use
792 g_cancellable_make_pollfd() and g_poll() rather than using poll()
795 * tests/unix-streams.c: test of GUnixInputStream,
796 GUnixOutputStream, and GCancellable.
798 2008-09-26 Dan Winship <danw@gnome.org>
800 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
801 cast to stop a gcc warning
803 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
806 2008-09-25 Dan Winship <danw@gnome.org>
808 Bug 553426 - cancellable clarifications
810 * gcancellable.c (g_cancellable_class_init): Add a note to the
811 "cancelled" signal docs warning about thread-safety issues
812 (g_cancellable_cancel): Note that cancelling an asynchronous
813 operation takes effect asynchronously, not immediately.
815 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
817 * gioenums.h: Add new GFileCopyFlag, to leave target file with
818 default perms, instead of setting the source file perms, in a copy
821 * gfile.c (g_file_copy_attributes)
822 (build_attribute_list_for_copy)
823 (should_copy): Not copy "unix::mode" attribute if we have received
824 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
826 2008-09-20 Matthias Clasen <mclasen@redhat.com>
828 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
830 2008-09-17 Matthias Clasen <mclasen@redhat.com>
832 * === Released 2.18.1 ===
834 2008-09-16 Michael Natterer <mitch@imendio.com>
836 * gcontenttype.c (g_content_type_guess): can't assign the return
837 value of g_strdupv() to an array. Fill the array manually with
838 const strings instead (it is never freed anyway). Fixes the
839 build. Also fixed indentation.
841 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
843 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
844 Fix trivial typo to unbreak the build (there was a colon
845 instead of a semicolon at the end of a statement).
847 2008-09-15 Matthias Clasen <mclasen@redhat.com>
849 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
852 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
855 2008-09-15 Matthias Clasen <mclasen@redhat.com>
857 Bug 551681 – g_content_type_guess() too naive with filenames
859 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
860 at the end of the filename, and declare it a directory.
861 Patch by Bastien Nocera
863 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
865 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
868 * gdesktopappinfo.c: add a note in the docs clarifying what the
869 "filename" parameter really is.
871 2008-09-12 Tor Lillqvist <tml@novell.com>
873 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
874 FormatMessage() etc here. Call g_win32_error_message() instead
875 which already does all that. Besides, the code was broken as it
876 called the default "A" version of FormatMessage() but still
877 thought it produced a wide string.
879 2008-09-12 Michael Natterer <mitch@imendio.com>
881 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
882 in the documentation.
884 2008-09-08 Christian Neumair <cneumair@gnome.org>
886 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
887 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
888 Use non-blocking pipe for mount helper I/O. Fixes #550647.
890 2008-09-06 Matthias Clasen <mclasen@redhat.com>
892 Bug 551149 – xdgmime mem leak
894 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
895 a memory leak. Patch by Christian Persch
897 2008-09-04 Tor Lillqvist <tml@novell.com>
899 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
902 2008-09-02 Matthias Clasen <mclasen@redhat.com>
904 * === Released 2.18.0 ===
906 2008-09-02 Michael Natterer <mitch@imendio.com>
908 * *.h: big header formatting cleanup: indentation, vtable
909 formatting, consistent spacing in (* vfunc), trailing whitespace
910 removal. Formatting should be pretty consistent in all GIO headers
913 2008-09-02 Matthias Clasen <mclasen@redhat.com>
915 * gmount.h: Document guess_content_type sync vfunc.
917 2008-09-02 Michael Natterer <mitch@imendio.com>
919 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
920 fix parent_class member to be GFilterOutputStreamClass (not
921 GOutputStreamClass). Drop three pointers of padding, which is
922 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
923 so the class struct size stays the same.
925 2008-09-02 Matthias Clasen <mclasen@redhat.com>
927 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
929 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
930 nonexisting return values. Pointed out by Cosimo Cecchi.
932 2008-08-23 Tor Lillqvist <tml@novell.com>
934 Bug 548988 - g_file_replace fails on Windows when the target file
937 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
938 Windows, close the file before potentially renaming it (in case we
939 have been writing to a file with a temporary name).
941 (g_local_file_output_stream_close, handle_overwrite_open): Use
942 GLocalFileStat instead of plain struct stat, for passing to
943 _g_local_file_info_create_etag(). Thus also use _fstati64()
944 instead of plain fstat() on Windows.
946 2008-08-18 Matthias Clasen <mclasen@redhat.com>
948 * === Released 2.17.7 ===
950 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
952 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
955 2008-08-13 Tor Lillqvist <tml@novell.com>
957 * win32/gwinhttpvfs.c
958 * win32/gwinhttpvfs.h
959 * win32/gwinhttpfile.c
960 * win32/gwinhttpfileinputstream.c
961 * win32/gwinhttpfileoutputstream.c: Refactor some common code
962 snippets into helper functions. Check HTTP response status
963 codes. Implement g_winhttp_file_query_info(), looking at
964 Content-Length, Content-Type and Last-Modified.
966 * win32/winhttp.h: Add some symbolic constants that are not
967 publicly documented. Just a handful, so it should be OK to use
968 information from the Windows SDK's headers.
970 2008-08-13 Tor Lillqvist <tml@novell.com>
972 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
975 * win32/gwin32directorymonitor.c
976 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
978 2008-08-13 Matthias Clasen <mclasen@redhat.com>
981 * goutputstream.c: Add intro docs.
983 2008-08-13 Tor Lillqvist <tml@novell.com>
985 * win32/gwinhttpfileoutputstream.c
986 (g_winhttp_file_output_stream_write): Don't write the
987 Content-Length header ourselves, WinHttpSendRequest() takes care
988 of that when the dwTotalLength parameter is non-zero. Increment
989 offset by the number of actual bytes sent, although I wonder if
990 such a scenario is possible where less than requested would be
991 sent and accepted by the server without errors.
993 2008-08-13 Tor Lillqvist <tml@novell.com>
995 * win32/gwinhttpvfs.c
996 * win32/gwinhttpvfs.h
997 * win32/gwinhttpfile.c
998 * win32/gwinhttpfile.h
999 * win32/gwinhttpfileinputstream.c
1000 * win32/gwinhttpfileinputstream.h
1001 * win32/gwinhttpfileoutputstream.c
1002 * win32/gwinhttpfileoutputstream.h: New files implementing
1003 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1004 Windows. The implementation uses the WinHttp API. Both reading and
1005 writing are supported, i.e. GET and PUT requests. When writing,
1006 each write call is done using a separate PUT request with a
1007 Content-Range header. Requests for file URIs and plain pathnames
1008 are forwarded to GLocalVfs.
1010 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1011 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1012 requiring people to download the Windows SDK just for this one
1013 header is not reasonable.
1015 * win32/Makefile.am: Add above files.
1017 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1018 the plumbing for the above.
1020 2008-08-11 Sven Neumann <sven@gimp.org>
1022 * gfilenamecompleter.c
1023 * glocaldirectorymonitor.c
1025 * gunionvolumemonitor.c
1029 * gunixvolumemonitor.c
1032 * gwin32volumemonitor.c: use canonical signal names.
1034 2008-08-11 Tor Lillqvist <tml@novell.com>
1036 * Makefile.am: Put a list of the platform-dependent .la files in
1037 the subdirectories in the platform_deps Make variable, and make
1038 libgio-2.0.la depend on that, so that it gets relinked if one of
1039 the dependent libraries has changed.
1041 2008-08-11 Tor Lillqvist <tml@novell.com>
1043 * Makefile.am (platform_libadd): Remove -lwininet which had been
1044 added by mistake. We will probably eventually be using WinHTTP,
1045 not the older WinInet anyway. (Actually I am working on it.)
1047 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1049 Bug 547080 – g_file_copy leaks expected errors
1051 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1052 before trying the next fallback routine.
1054 2008-08-09 Loïc Minier <lool@dooz.org>
1056 Bug 535124 – umask 002 not being applied for new directories, new
1057 files get the correct umask
1059 * gfile.c (g_file_make_directory)
1060 (g_file_make_directory_with_parents): Document ownership and
1061 permissions of newly created directories as being the default
1062 ones of the process.
1064 2008-08-08 Loïc Minier <lool@dooz.org>
1066 Bug 535124 – umask 002 not being applied for new directories, new
1067 files get the correct umask
1069 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1072 2008-08-08 Tor Lillqvist <tml@novell.com>
1074 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1076 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1077 code that didn't actually do anything inside #if 0, and add a
1078 comment wondering what the code was supposed to do. This also gets
1079 rid of a leftover debugging printout.
1081 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1083 * gfileicon.c (g_file_icon_get_property)
1084 (g_file_icon_set_property): New functions.
1085 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1087 (g_file_icon_new): Use the property (bug #546132).
1089 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1091 * gthemedicon.c (g_themed_icon_get_property): Also handle
1092 `PROP_USE_DEFAULT_FALLBACKS'.
1093 (g_themed_icon_class_init): Make
1094 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1096 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1098 Bug 546371 – Improve docs re g_file_monitor
1100 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1102 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1104 * === Released 2.17.6 ===
1106 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1108 * === Released 2.17.5 ===
1110 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1112 Bug 546017 – Don't copy attributes when copying a symlink
1114 * gfile.c (g_file_copy_attributes): Specify
1115 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1116 g_file_set_attributes_from_info. Patch by Christian Kellner
1118 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1120 * gemblemedicon.[hc]:
1122 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1123 a bit more extensible. Work by Clemens Buss.
1125 * gioenums.h: Add GEmblemOrigin.
1128 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1130 Bug 546079 – leak in xdgmime
1132 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1134 2008-08-03 Tor Lillqvist <tml@novell.com>
1136 * win32/gwin32directorymonitor.h
1137 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1140 2008-08-03 Tor Lillqvist <tml@novell.com>
1142 * win32/gwin32directorymonitor.c
1143 (g_win32_directory_monitor_callback): Make prototype match
1144 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1145 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1148 (g_win32_directory_monitor_constructor):
1149 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1150 names in the GLib API on Windows, so convert to UTF-16 and open
1153 2008-08-03 Tor Lillqvist <tml@novell.com>
1155 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1156 user's folder under Windows
1158 * win32/gwin32directorymonitor.c
1159 (g_win32_directory_monitor_constructor): Ignore error from
1160 CreateFile() when opening directory. Instead of asserting, just
1161 store INVALID_HANDLE_VALUE then in
1162 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1163 ReadDirectoryChangesW().
1164 (g_win32_directory_monitor_cancel): Don't attempt to close
1165 directory handle if it is INVALID_HANDLE_VALUE.
1167 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1169 * gdesktopappinfo.c: Remove debug spew
1171 2008-08-01 Hans Breuer <hans@breuer.org>
1173 * makefile.msc : add gemblembedicon
1175 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1177 Bug 545457 – gdmsetup crashed with SIGSEGV in
1178 g_unix_mount_guess_should_display()
1180 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1181 crash if no mount is found.
1183 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1185 Bug 545203 – gfile.c: argument is different type.
1187 * gfile.c (open_read_async_thread): Pass a GError **
1188 to g_file_set_error_literal.
1189 Reported by Kazuki Iwamoto
1191 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1193 Bug 545157 – wrong/no list of "open with" applications for .cc and
1196 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1197 Collect all ancestors, not just direct parents. Pointed
1198 out by Bastien Nocera
1200 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1202 * Makefile.am: Install gemblemedicon.h
1204 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1206 * gemblemedicon.[hc]: Add a GIcon implementation that can
1207 add an emblem to another icon.
1214 * gfileicon.c: Small documentation additions.
1216 2008-07-28 Tor Lillqvist <tml@novell.com>
1218 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1221 2008-07-27 Tor Lillqvist <tml@novell.com>
1223 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1225 2008-07-24 David Zeuthen <davidz@redhat.com>
1229 Also export a g_mount_guess_content_type_sync() function.
1231 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1233 529694 – SELinux context setting support
1235 * gfileinfo.c: Support setting selinux attributes.
1236 Patch by Tomas Bzatek
1238 2008-07-22 Priit Laes <plaes@plaes.org>
1240 Bug 544140 - fam-helper 64-bit issue?
1242 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1244 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1246 * === Released 2.17.4 ===
1248 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1250 * gvolumemonitor.[hc]:
1251 * gmountoperation.c:
1255 * gmount.c: Documentation fixes
1257 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1259 543504 – crash in Epiphany Web Browser: Opening local file
1263 * gdesktopappinfo.c:
1270 * gvolume.c: Register types thread-safely.
1271 Patch by Christian Persch
1273 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1275 * gcontenttype.c: Remove debug spew
1277 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1279 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1282 * fen/fen-kernel.c: Remove a warning that was causing
1283 crashes. Reported by Lin Ma.
1285 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1287 Bug 543040 – async reading on dummy file will crash on
1290 * gfile.c (open_read_async_thread): Cope with read_fn being
1291 NULL. Reported by Lin Ma.
1293 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1296 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1298 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1301 * gdesktopappinfo.h:
1302 * giomodule.c: Rename a chapter id to avoid filename conflict.
1304 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1306 Bug 540616 – mem leak in filechooser button
1308 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1309 the mount entry. Reported by Chrisitan Persch
1311 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1313 * gfile.c: Small documentation fixes.
1315 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1317 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1319 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1324 * gmount.c: Documentation improvements.
1326 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1329 * gmount.[hc]: Add g_mount_guess_content_type().
1331 2008-07-06 David Zeuthen <davidz@redhat.com>
1334 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1335 is needed for easily handling adoption of foreign volumes by
1336 out-of-process volume monitors (#541793)
1338 2008-07-06 David Zeuthen <davidz@redhat.com>
1340 * gvolumemonitor.[ch]:
1341 * gunionvolumemonitor.c: Export the eject-button signal on the
1342 volume monitor class (#541794).
1344 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1346 * gappinfo.c: More doc tweaks
1348 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1350 * gappinfo.c: Clarify some docs
1352 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1354 * gdesktopappinfo.c: Fix a stupid mistake.
1356 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1358 * === Released 2.17.3 ===
1360 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1362 * gfilemonitor.c: Fix the build.
1364 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1366 Bug 536160 – Add g_file_monitor()
1369 * gfile.[hc]: Add g_file_monitor which can return either
1370 a file or a directory monitor. Proposed by Behdad Esfahbod
1372 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1374 536733 – gio build failure on Irix
1376 * glocalfile.c: Use a configure check for structfs.f_bavail.
1378 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1380 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1383 * gdesktopappinfo.[hc]: Add a function to create a
1384 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1386 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1388 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1390 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1392 * gunixmounts.c: Fix a doc typo.
1394 2008-07-01 Cody Russell <bratsche@gnome.org>
1396 * gio/gcontenttype.c:
1397 * gio/gwin32appinfo.c:
1398 * gio/gwin32volumemonitor.c:
1399 * gio/gwin32mount.c: Fixed some include problems.
1401 2008-07-01 Cody Russell <bratsche@gnome.org>
1405 Moved all relevant typedefs into these files.
1408 Updated wrt added files.
1410 Split types into separate file for easier maintainership. (#538564)
1412 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1414 Bug 540331 – g_file_append_to () documentation: can return NULL
1416 * gfile.c (g_file_append_to): Clarify docs.
1417 Patch by Jared Moore
1419 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1421 Bug 539090 – g_content_type_from_mime_type() should unalias
1423 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1424 Patch by Markus Bergman
1426 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1428 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1429 g_atomic_pointer_get
1431 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1432 on ppc and alpha. Reported by Mart Raudsepp
1434 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1436 * tests/Makefile.am:
1437 * tests/memory-output-stream.c: Add some tests for
1438 GMemoryOutputStream.
1440 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1442 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1445 * gmemoryoutputstream.c (array_resize): Handle truncation to
1446 zero correctly. Reported by Akira Tagoh
1448 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1450 * gmemoryoutputstream.c: Trivial doc fixes
1452 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1454 Bug 540802 – g_list_prepend doesn't concat lists
1456 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1457 one list to another. Pointed out by Jan Arne Petersen
1459 2008-06-28 Michael Natterer <mitch@imendio.com>
1461 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1463 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1465 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1466 to avoid problems with partial icon themes.
1468 2008-06-17 Hans Breuer <hans@breuer.org>
1470 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1471 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1472 access again on win32, see bug #538127
1473 * giomodule.c : ensure GWin32VolumeMonitor is registered
1474 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1475 * Makefile.am makefile.msc : updated
1477 2008-06-16 Hans Breuer <hans@breuer.org>
1479 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1480 and initialization in one step avoids c99ism
1482 2008-06-16 Christian Persch <chpe@gnome.org>
1485 * gio/gbufferedinputstream.c
1486 * gio/gcancellable.c
1487 * gio/gdatainputstream.c
1488 * gio/gdesktopappinfo.c
1490 * gio/gfileenumerator.c
1491 * gio/gfileinputstream.c
1492 * gio/gfileoutputstream.c
1493 * gio/ginputstream.c
1494 * gio/glocaldirectorymonitor.c
1496 * gio/glocalfileenumerator.c
1497 * gio/glocalfileinfo.c
1498 * gio/glocalfilemonitor.c
1499 * gio/glocalfileoutputstream.c
1500 * gio/gmemoryinputstream.c
1501 * gio/gmemoryoutputstream.c
1502 * gio/goutputstream.c
1503 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1506 2008-06-16 Tor Lillqvist <tml@novell.com>
1508 Bug 538362 - Get Win32 icons back in the file chooser
1510 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1511 corresponding to a file extension in the Registry. Patch by Hans
1513 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1515 2008-06-16 Tor Lillqvist <tml@novell.com>
1517 Patches by Hans Breuer:
1519 * glocalfile.c (is_xp_or_later): Handle compiling against older
1520 SDK headers with missing VerifyVersionInfo(). Conditioned on
1521 _MSC_VER, but should probably use some better test.
1522 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1523 uninitialised statfs_result variable on Win32.
1525 2008-06-16 Michael Natterer <mitch@imendio.com>
1527 * *.c: chain up unconditionally in finalize() and dispose(). Also
1528 don't dereference these function pointers when calling them since
1529 that has no meaning at all.
1531 2008-06-16 Ross Burton <ross@burtonini.com>
1533 * gfileenumerator.c:
1534 Remove check for dispose implementation as it annoys Emmanuele.
1536 2008-06-16 Ross Burton <ross@burtonini.com>
1538 Bug 536252 – GFileEnumerator should allow access to the containing
1541 * gfileenumerator.c:
1542 * gfileenumerator.h:
1544 Add g_file_enumerator_get_container() and a container writeable
1545 construct-only property. Also shuffle around typedefs to make it
1548 * glocalfileenumerator.c:
1549 * glocalfileenumerator.h:
1551 Instead of a string filename take a GFile in the constructor and
1552 use it to set the container property.
1555 Update with new API.
1557 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1559 * gfile.c: Make includes more uniform
1561 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1563 * tests/live-g-file.c (sample_struct):
1564 Use less fancy unicode filenames, so the test doesn't fail
1565 on Mac OS X (#531476).
1567 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1569 * === Released 2.17.2 ===
1571 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1573 * === Released 2.17.1 ===
1575 2008-06-11 A. Walton <awalton@gnome.org>
1577 * tests/g-file.c (test_g_file_new_null):
1578 Fix broken test case.
1580 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1582 * pltcheck.sh: We use g_clear_error now.
1584 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1586 * glocalfile.c (g_local_file_enumerate_children): Revert
1587 an unintended change.
1589 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1591 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1593 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1595 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1598 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1599 as icon for the desktop directory, also make user-home and
1600 user-desktop the preferred icons.
1602 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1605 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1606 to add a name to the front of the list.
1608 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1610 Bug 537392 – Additional colon in xattr name
1612 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1613 too. Reported by Alessandro Morandi
1615 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1617 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1620 * glocalfile.c (get_fs_type): Add afs and autofs.
1621 Patch by Danny Baumann.
1623 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1625 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1627 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1628 is no parent. (Owen Taylor, patch by Christian Neumair)
1630 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1632 * gfile.c (g_file_replace_contents): do not leak the output stream.
1634 2008-06-10 Michael Natterer <mitch@imendio.com>
1636 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1637 uninitialized memory as array index.
1639 2008-06-10 Tor Lillqvist <tml@novell.com>
1641 * gcontenttype.c (g_content_type_can_be_executable)
1642 (g_content_type_get_icon) [Win32]: Add TODO comments.
1644 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1646 * xdgmime/Makefile.am: Fix the build
1648 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1650 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1651 in the shared mime database, if available.
1653 * xdgmime/*: Sync with upstream. This brings support for
1654 glob weights, generic icons, and changes the cache format to
1657 2008-05-28 Michael Natterer <mitch@imendio.com>
1659 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1660 the global CPPFLAGS now.
1662 * tests/data-input-stream.c
1663 * tests/data-output-stream.c
1664 * tests/g-file-info.c
1666 * tests/live-g-file.c
1667 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1669 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1671 * === Released 2.17.0 ===
1673 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1674 doesn't complain about leftover files.
1676 2008-05-27 simon.zheng <simon.zheng@sun.com>
1678 * glocalfile.c: (g_local_file_query_filesystem_info):
1679 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1681 2008-05-26 Michael Natterer <mitch@imendio.com>
1683 * gmemoryoutputstream.h: declare
1684 g_memory_output_stream_get_data_size().
1686 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1688 * tests/*: Make tests work
1690 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1692 * gio.symbols: Add g_memory_output_stream_get_data_size.
1694 2008-05-25 Ross Burton <ross@burtonini.com>
1697 Fix typo in error message (#534764).
1699 2008-05-25 Ross Burton <ross@burtonini.com>
1702 Fix circular dependency loop for gioenumtypes.h (#534759).
1704 2008-05-19 Hans Breuer <hans@breuer.org>
1706 * Makefile.am : EXTRA_DIST += makefile.msc
1708 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1711 * gcontenttype.c: (g_content_type_from_mime_type):
1712 New function to create a content type from a mime type. (#527175,
1715 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1717 Bug 532965 – Should not return filesystem::free for certain file systems
1719 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1720 free space for ncpfs.
1722 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1724 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1726 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1727 st_dev might be zero.
1729 2008-05-16 Tor Lillqvist <tml@novell.com>
1731 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1732 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1734 2008-05-13 Bastien Nocera <hadess@hadess.net>
1736 * gfile.c (has_valid_scheme): A URI scheme must start with a
1737 letter, even if later more characters are allowed (#532852)
1739 2008-05-05 Michael Natterer <mitch@imendio.com>
1741 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1742 code from being checked in that breaks the build of applications
1743 which use G_DISABLE_SINGLE_INCLUDES.
1745 * makegioalias.pl: make the alias file include "glib.h" instead of
1748 * gio.symbols: whitespace change to force regeneration of the
1749 alias file after above script change.
1751 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1753 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1755 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1757 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1759 2008-04-28 David Zeuthen <davidz@redhat.com>
1761 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1762 displaying mounts in a subdirectory not accessible to the
1765 2008-04-22 Michael Natterer <mitch@imendio.com>
1767 * Makefile.am: fix library versioning (it was 0.0.0).
1769 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1771 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1772 Default disable all loggings.
1773 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1774 (port_fetch_event_cb): Fixed two macro nits.
1776 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1778 * xdgmime/xdgmime.c: Rework the timestamp checking code
1779 to protect against duplicate directories in XDG_DATA_DIRS.
1780 Fixes fd.o bug 12513, reported by Joe Shaw.
1782 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1784 Partically revert the last commit after realizing that
1785 xdg_mime_media_type_equal doesn't have to init at all.
1787 * xdgmime/xdgmime.h:
1788 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1790 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1792 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1794 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1795 reported by Joe Shaw and Federico Mena Quintero.
1797 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1798 (xdg_mime_media_type_equal): Turn into a wrapper around the
1801 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1802 functions throughout.
1804 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1806 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1807 tolerate an empty TryExec= line without failing; nautilus used
1808 to create launchers with these in previous versions. Fixes #528433
1810 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1812 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1813 after name. Fixes #527132.
1815 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1817 * gfile.c: (g_file_replace):
1820 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1822 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1824 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1825 by Christian Kellner.
1827 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1829 * gunixmounts.c: (g_unix_mount_guess_should_display):
1830 Don't list the user directory as a mount, fix potential issue
1831 when other users have a similar naming and don't special case the
1832 gvfs mounts there since that's not required (#525866)
1834 2008-03-31 Alexander Larsson <alexl@redhat.com>
1836 * glocalfile.c (get_parent):
1839 2008-03-31 A. Walton <awalton@svn.gnome.org>
1841 * gfile.c (g_file_query_file_type):
1842 Always return a GFileType enum value (#520715).
1844 2008-03-31 Alexander Larsson <alexl@redhat.com>
1846 * glocalfileenumerator.c:
1847 Read readdir() info in chunks (of 1000) and sort
1848 the chunks by inode before stat:ing.
1849 This is a 20% performance increase in testing
1850 gvfs-ls on /usr/bin with cold cache.
1852 2008-03-31 Alexander Larsson <alexl@redhat.com>
1854 * gmemoryoutputstream.c:
1855 Clarify docs for g_memory_output_stream_get_size.
1856 Add g_memory_output_stream_get_data_size.
1858 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1862 * gfile.h: Add g_file_query_file_type convenience function
1863 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1865 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1867 * gfileenumerator.c:
1868 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1870 2008-03-28 A. Walton <awalton@svn.gnome.org>
1872 * giomodule.c (_g_io_modules_ensure_loaded):
1873 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1876 2008-03-28 Alexander Larsson <alexl@redhat.com>
1879 (copy_stream_with_progress):
1882 2008-03-28 Alexander Larsson <alexl@redhat.com>
1885 (copy_stream_with_progress):
1886 (file_copy_fallback):
1887 Fallback to g_file_query_info for source size
1888 if g_file_input_stream_query_info fails. (#524579)
1890 2008-03-28 Alexander Larsson <alexl@redhat.com>
1892 * glocalfile.c (g_local_file_move):
1893 Reuse old string instead of adding new one.
1895 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1897 * fen/*.[hc]: still copyright issue. I hate copyright.
1899 2008-03-27 Alexander Larsson <alexl@redhat.com>
1901 * glocalfile.c (g_local_file_move):
1902 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1903 file over directory. This is according to the docs and what the move via
1904 copy+remove fallback does.
1906 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1908 * fen/*.[hc]: Updated copyright.
1910 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1912 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1914 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1916 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1917 not emit attribute changed events when optimizing changed events.
1918 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1921 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1923 * gmountoperation.[hc]: Small documentation additions
1925 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1927 * gunixmounts.c: (guess_mount_type):
1928 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1930 2008-03-19 Alexander Larsson <alexl@redhat.com>
1933 (copy_stream_with_progress):
1934 Bump block side for copy to 64k to minimize
1935 overhead for low latency links. (#523015)
1937 2008-03-16 Tor Lillqvist <tml@novell.com>
1939 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1940 depend on gio.def on Windows.
1942 2008-03-12 David Zeuthen <davidz@redhat.com>
1946 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1948 2008-03-14 Alexander Larsson <alexl@redhat.com>
1952 Avoid redudant tests (#521851)
1953 Patch from Josselin Mouette
1955 2008-03-14 Alexander Larsson <alexl@redhat.com>
1958 (g_file_monitor_is_cancelled):
1959 Fix C89 issue (#521672)
1960 Patch from Jens Granseuer
1962 2008-03-14 Alexander Larsson <alexl@redhat.com>
1964 * fam/fam-helper.[ch]:
1966 Shut down fam (including removing fam GSource) when
1967 module is unloaded (#521513)
1968 Patch from Joe Marcus Clarke
1970 2008-03-14 Alexander Larsson <alexl@redhat.com>
1973 (_g_io_modules_ensure_loaded):
1976 2008-03-14 Alexander Larsson <alexl@redhat.com>
1979 (g_local_file_query_filesystem_info):
1980 Use right define name for f_fstypename member check
1982 2008-03-14 Alexander Larsson <alexl@redhat.com>
1985 * fen/Makefile.am: Added.
1986 * fen/fen-data.[ch]: Added.
1987 * fen/fen-dump.[ch]: Added.
1988 * fen/fen-helper.[ch]: Added.
1989 * fen/fen-kernel.[ch]: Added.
1990 * fen/fen-missing.[ch]: Added.
1991 * fen/fen-node.[ch]: Added.
1992 * fen/fen-sub.[ch]: Added.
1993 * fen/gfendirectorymonitor.[ch]: Added.
1994 * fen/gfenfilemonitor.[ch]: Added.
1996 Added Solaris FEN file notification backend.
1997 Patch from Lin Ma <Lin.Ma@Sun.COM>
1999 2008-03-13 Tor Lillqvist <tml@novell.com>
2001 * Makefile.am: Actually use the gio.def file when linking the
2002 library on Windows. Produce .lib library for Microsoft's toolchain
2003 when possible. Install the .lib and .def file like for the other
2006 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2008 * tests/live-g-file.c:
2009 Include live-g-file in standard set of tests, making a temporary
2010 directory in source structure.
2012 Clean target directory before the tests (write mode only)
2014 2008-03-12 Tor Lillqvist <tml@novell.com>
2016 Bug 517419 - gio win32 directory monitor
2017 Implementation by Vlad Grecescu.
2020 * win32/gwin32directorymonitor.h
2021 * win32/gwin32directorymonitor.c: New files.
2023 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2025 * Makefile.am: Add the win32 subdirectory.
2027 2008-03-12 Tor Lillqvist <tml@novell.com>
2029 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2030 normal struct stat on Unix but struct _stati64 on Windows to have
2031 access to 64-bit file size information. Use that instead of struct
2032 stat in the functions declared here in this private header.
2034 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2035 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2036 warnings about unused functions and variables. Don't set
2037 meaningless attributes like inode numbers on Windows.
2039 2008-03-12 Benjamin Otte <otte@gnome.org>
2042 trim whitespace so gtk-doc groks the function name
2044 2008-03-12 Tor Lillqvist <tml@novell.com>
2046 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2047 returning FALSE, on Win32.
2049 2008-03-11 Alexander Larsson <alexl@redhat.com>
2052 * glocalfileinfo.[ch]:
2053 Correctly implement can_trash by actually
2054 looking for a trash dir, not just assuming
2057 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2059 * === Released 2.16.1 ===
2061 2008-03-11 Alexander Larsson <alexl@redhat.com>
2064 Fix crashes in new constructor and properties code
2066 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2068 * gfile.c: Minor spelling correction in documentation:
2069 existance -> existence.
2071 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2073 * === Released 2.16.0 ===
2075 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2077 * gio.symbols: Remove g_file_contains_file here, too.
2079 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2081 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2082 Samuel Cormier-Iijima)
2084 2008-03-08 Tor Lillqvist <tml@novell.com>
2086 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2089 2008-03-07 Alexander Larsson <alexl@redhat.com>
2092 (g_local_file_query_filesystem_info):
2093 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2094 Patch from Jasper Lievisse Adriaanse
2096 2008-03-06 Tor Lillqvist <tml@novell.com>
2098 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2099 comments for the *_USEC attributes.
2101 2008-03-06 Alexander Larsson <alexl@redhat.com>
2103 * gfile.c (g_file_query_exists):
2104 Add g_return_val_if_fail check (#520700)
2106 2008-03-06 Alexander Larsson <alexl@redhat.com>
2108 * gdesktopappinfo.c:
2111 * gunionvolumemonitor.c:
2114 * tests/live-g-file.c:
2115 * xdgmime/xdgmimecache.c:
2116 Fix sparse warnings (#519489)
2118 2008-03-05 Alexander Larsson <alexl@redhat.com>
2121 Make cancellation threadsafe (i.e.
2122 guarantee its only done once, and always
2125 * glocaldirectorymonitor.c:
2126 Make sure we the monitor lives while the
2127 mounts_changed callback is being called (#520484)
2129 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2131 * gbufferedinputstream.c: Fix typo in parameter
2134 2008-03-04 Alexander Larsson <alexl@redhat.com>
2137 Remove deprecated symbols we kept for one release.
2139 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2142 * goutputstream.c: Tiny documentation corrections.
2144 2008-03-03 Alexander Larsson <alexl@redhat.com>
2146 * gunionvolumemonitor.c:
2148 Fix the adopt_orphan_mount vfunc to take a
2149 volume_monitor reference in an ABI compat way.
2150 This change is not API compat, but the added
2151 arg is not used in the only user of this vfunc, so
2152 all we get is a harmless warning in gvfs (#520169)
2154 2008-03-01 Benjamin Otte <otte@gnome.org>
2157 clarify docs for g_file_delete().
2159 2008-02-29 Alexander Larsson <alexl@redhat.com>
2163 Make sure empty files get text/plain type (#518720)
2165 2008-02-27 Alexander Larsson <alexl@redhat.com>
2171 (g_unix_volume_mount):
2172 Add missing GMountMountFlags argument
2174 2008-02-26 Alexander Larsson <alexl@redhat.com>
2177 (g_local_file_delete):
2178 Handle filesystems (like ntfs-3g) that return EEXIST instead
2179 of ENOTEMPTY (#518816)
2181 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2183 * === Released 2.15.6 ===
2185 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2187 * gfile.c (g_file_find_enclosing_mount):
2188 * ginputstream.c (g_input_stream_set_pending):
2189 * glocalfile.c (g_local_file_find_enclosing_mount):
2190 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2191 * goutputstream.c (g_output_stream_set_pending):
2193 Fixup translator comments (#518578).
2195 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2197 * gfile.c (g_file_find_enclosing_mount):
2199 * glocalfile.c (g_local_file_find_enclosing_mount):
2202 Fix a few typos in translator comments and documentation.
2204 2008-02-25 Alexander Larsson <alexl@redhat.com>
2211 Add translator comments (#518578)
2213 2008-02-25 Alexander Larsson <alexl@redhat.com>
2216 Reintroduce g_file_contains_file, keep around for one
2217 unstable release cycle to avoid crashing to many apps.
2218 Make sure to delete after release.
2220 2008-02-25 Alexander Larsson <alexl@redhat.com>
2223 Remove deprecated g_file_contains_file.
2225 2008-02-25 Alexander Larsson <alexl@redhat.com>
2228 Emit actual change signals in an idle handler.
2229 This avoids reentrance and locking problems in
2230 the file notification backends.
2232 2008-02-25 Alexander Larsson <alexl@redhat.com>
2235 (g_unix_mount_guess_should_display):
2236 Remove type guessing, instead just display
2237 mounts in /media and in ~/.
2239 2008-02-25 Alexander Larsson <alexl@redhat.com>
2242 Make new strings reuse old ones.
2244 2008-02-25 Alexander Larsson <alexl@redhat.com>
2247 Implement trashing and filesystem::readonly for win32 (#517235)
2248 Patch from Yevgen Muntyan
2250 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2252 * gfileinfo.h: Documentation fixes.
2254 2008-02-22 Alexander Larsson <alexl@redhat.com>
2256 * gcontenttype.c (g_content_type_get_icon):
2257 Look at old-style gnome mime icon names too, as many
2258 have not moved to the new style.
2260 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2262 * *.c: Correct the @include in for section docs.
2264 2008-02-21 David Zeuthen <davidz@redhat.com>
2266 * glocalfileinfo.c: (_g_local_file_info_get):
2268 (g_content_type_get_icon): Implement this function by
2269 moving bits from glocalfileinfo.c
2270 (g_content_type_get_description): Unalias before getting
2271 description (#517687)
2273 * gfile.c: (g_file_class_init),
2274 (g_file_query_filesystem_info_async),
2275 (g_file_query_filesystem_info_finish),
2276 (query_filesystem_info_data_free),
2277 (query_filesystem_info_async_thread),
2278 (g_file_real_query_filesystem_info_async),
2279 (g_file_real_query_filesystem_info_finish):
2280 * gfile.h: Implement async version of
2281 g_file_query_filesystem_info()
2283 * gfileinfo.h: Add new attributes for filesystem::use-preview
2285 * gio.symbols: Update
2287 * gthemedicon.c: (g_themed_icon_append_name):
2288 * gthemedicon.h: Add new new convenience function.
2290 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2291 (get_mounts), (get_volumes), (get_connected_drives),
2292 (get_volume_for_uuid), (get_mount_for_uuid),
2293 (g_union_volume_monitor_init), (populate_union_monitor),
2294 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2295 (g_volume_monitor_adopt_orphan_mount):
2297 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2298 monitor implementations to call into the main volume monitor. Also
2299 separate object initialization and volume monitor initialization
2300 such that non-native volume monitors can properly adopt their
2303 2008-02-21 Alexander Larsson <alexl@redhat.com>
2308 2008-02-21 Alexander Larsson <alexl@redhat.com>
2311 Add more documentation about how GFiles work (from #517086)
2313 2008-02-21 Alexander Larsson <alexl@redhat.com>
2317 Add new g_file_has_prefix that does the same as g_file_contains_file.
2318 Deprecate g_file_contains_file and add a macro that converts
2319 it to g_file_has_prefix.
2320 The reason for this change is that the contains_file() name seems to
2321 imply that this does more work than what it does, but its really only
2322 a name match (from #517086)
2327 Update to match the above change.
2329 2008-02-20 Benjamin Otte <otte@gnome.org>
2331 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2332 (g_file_eject_mountable):
2333 even more cases of not returning in error path
2335 2008-02-20 Benjamin Otte <otte@gnome.org>
2337 * gfile.c: (g_file_mount_mountable):
2338 return from function in error path.
2340 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2343 Remove trailing coma in GMountMountFlags struct
2345 2008-02-18 Alexander Larsson <alexl@redhat.com>
2349 * glocalfileoutputstream.c:
2350 Use g_unlink/g_rename instead of unlink/rename;
2351 do not pass raw filenames to g_set_error. (#517239)
2352 Patch from Yevgen Muntyan.
2354 2008-02-18 Alexander Larsson <alexl@redhat.com>
2357 * glocalfileoutputstream.c:
2358 Open files with O_BINARY on windows. (#517140)
2360 2008-02-14 Alexander Larsson <alexl@redhat.com>
2362 * glocalfileoutputstream.c:
2363 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2365 2008-02-14 Alexander Larsson <alexl@redhat.com>
2368 Copy permissions with file on copy (#514084)
2369 This is what cp does and makes sure e.g. the
2370 exec permissions are kept.
2371 Its kinda weird in that it keeps the permission bits
2372 the same while the uid and gid are different. However
2373 the new uid is the user so its not a security issue,
2374 and I've heard no complaints about cp on this issue.
2376 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2378 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2380 2008-02-13 Alexander Larsson <alexl@redhat.com>
2382 * inotify/inotify-path.c:
2383 Define IN_ONLYDIR if not in header (#515346)
2385 2008-02-12 Alexander Larsson <alexl@redhat.com>
2387 * tests/live-g-file.c:
2390 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2392 * === Released 2.15.5 ===
2394 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2396 * gio.symbols: Add g_mount_mount_flags_get_type.
2398 2008-02-11 Alexander Larsson <alexl@redhat.com>
2401 (g_file_info_set_attribute_mask):
2402 (g_file_attribute_matcher_matches_id):
2403 Correctly handle NULL GAttributeMatcher meaning
2404 matches nothing. (Fixes #513492)
2406 2008-02-11 Alexander Larsson <alexl@redhat.com>
2411 Added GMountMountFlags enum and added a flags
2412 argument to all mount calls.
2414 This is an API/ABI change for future extensibility,
2415 as I think we will need at least an
2416 inhibit-autorun flag (the panel needs this).
2417 There are no flags defined yet though.
2419 2008-02-11 Alexander Larsson <alexl@redhat.com>
2422 Added new standard::description attribute.
2423 Requested by Vincent, and useful for both
2426 2008-02-11 Alexander Larsson <alexl@redhat.com>
2428 * gdesktopappinfo.c:
2431 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2433 * *.c: Documentation additions
2435 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2437 * gappinfo.h: Formatting cleanup
2438 * gappinfo.c: Fix up docs.
2440 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2442 * gunixmounts.c: Consistently use getmntent_r() and fall
2443 back to getmntent(). (#515492)
2445 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2447 * gbufferedinputstream.c:
2449 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2451 * tests/data-input-stream.c:
2452 * tests/data-output-stream.c: Portability fixes.
2454 2008-02-08 Alexander Larsson <alexl@redhat.com>
2459 Add g_volume_should_automount.
2462 2008-02-07 Tor Lillqvist <tml@novell.com>
2464 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2465 Win32, too Unix-specific.
2467 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2469 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2470 a local plt if the compiler doesn't support what we want. Bug #514702
2472 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2474 reviewed by: <delete if not using a buddy>
2477 * gunixinputstream.c:
2478 * gunixoutputstream.c:
2480 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2482 * tests/Makefile.am:
2483 * tests/live-g-file.c:
2484 * tests/live-g-file.txt:
2485 New GIO testing module working over real data
2487 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2489 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2490 Fallback to rename() if link() is not available
2491 (when no support on target filesystem)
2493 2008-02-06 Michael Natterer <mitch@imendio.com>
2495 * gfileinfo.c (g_file_info_get_icon): replace
2496 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2498 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2500 * gfile.c (g_file_create):
2501 Documentation update of error codes
2503 2008-02-06 Alexander Larsson <alexl@redhat.com>
2505 * gdesktopappinfo.c:
2506 Update to use both mimeapps.list and
2507 defaults.list as discussed on xdg list.
2509 2008-02-06 Benjamin Otte <otte@gnome.org>
2512 * gfilenamecompleter.c:
2513 Fix some typos in the documentation.
2515 2008-02-06 Alexander Larsson <alexl@redhat.com>
2517 * glocalfile.c (g_local_file_trash):
2518 Don't succeed with trash if newly created
2519 trash dir has the wrong owner. (#514696)
2521 2008-02-05 Alexander Larsson <alexl@redhat.com>
2523 * glocalfile.c (g_local_file_move):
2524 Don't spew warnings when destination is not
2527 2008-02-03 Hans Breuer <hans@breuer.org>
2529 * makefile.msc : update
2531 2008-02-01 Michael Natterer <mitch@imendio.com>
2533 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2534 return value of xdg_mime_list_mime_parents() to a variable of the
2537 2008-02-01 Alexander Larsson <alexl@redhat.com>
2539 * gappinfo.c (g_app_info_launch_uris):
2540 Actually call the launch_uris method, not
2543 2008-02-01 Alexander Larsson <alexl@redhat.com>
2545 * gdesktopappinfo.c (g_desktop_app_info_equal):
2546 Ensure appinfos with no id but same pointer value
2549 2008-02-01 Alexander Larsson <alexl@redhat.com>
2551 * gappinfo.c (g_app_info_launch_default_for_uri):
2554 2008-02-01 Alexander Larsson <alexl@redhat.com>
2558 Add g_app_info_launch_default_for_uri utility
2561 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2563 * gdesktopappinfo.c:
2564 Doc fix for g_app_info_get_default_for_uri_scheme ()
2567 2008-01-30 Alexander Larsson <alexl@redhat.com>
2570 Add doc comment about uris vs GFiles to
2573 * gdesktopappinfo.c:
2574 Ensure uris passed to g_app_info_launch_uris()
2575 are not roundtriped through GFile (as that
2576 may be slightly destructive for e.g. mailto: links)
2578 2008-01-30 Alexander Larsson <alexl@redhat.com>
2580 * tests/data-input-stream.c:
2581 * tests/data-output-stream.c:
2582 C89 fixes from Jens Granseuer (#512849)
2584 2008-01-30 Alexander Larsson <alexl@redhat.com>
2587 Fix gamin/fam difference build issue. (#509419)
2589 2008-01-29 Alexander Larsson <alexl@redhat.com>
2592 * gdesktopappinfo.c:
2593 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2595 2008-01-29 Alexander Larsson <alexl@redhat.com>
2597 * gdesktopappinfo.c:
2598 * gdesktopappinfo.h:
2599 giomodule-priv.h include moved to .c file.
2601 2008-01-29 Alexander Larsson <alexl@redhat.com>
2603 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2604 Remove unused prio/name fields.
2606 2008-01-29 Alexander Larsson <alexl@redhat.com>
2608 * gcontenttype.c (looks_like_text):
2609 Don't treat whitespace as control chars.
2611 2008-01-29 Alexander Larsson <alexl@redhat.com>
2613 * gdesktopappinfo.c:
2614 Lazily create the desktop files for appinfos created
2615 by g_app_info_create_from_commandline() when needed
2616 for mime associations. This allows run-time use
2617 of GAppInfo object without creating unnecessary
2620 2008-01-29 Alexander Larsson <alexl@redhat.com>
2623 Added new symbols to gio.symbols
2625 2008-01-29 Alexander Larsson <alexl@redhat.com>
2628 Add g_file_query_default_handler utility to easily look up
2629 the GAppInfo that handles a file.
2631 * gdesktopappinfo.[ch]:
2633 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2636 Remove unused function
2638 2008-01-29 Alexander Larsson <alexl@redhat.com>
2640 * gfileenumerator.c:
2641 Mention need to free returned value in
2642 g_file_enumerator_next_files_finish docs.
2643 Fix leak if g_file_enumerator_next_files_finish()
2646 2008-01-29 Alexander Larsson <alexl@redhat.com>
2649 (_g_unix_content_type_get_parents):
2650 Use list_parents, not get_parents from xdgmime, because
2651 the later doesn't use the cache.
2653 * xdgmime/xdgmimecache.c:
2654 (_xdg_mime_cache_list_mime_parents):
2655 Don't list the same type as parent multiple times.
2657 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2659 * === Released 2.15.4 ===
2661 2008-01-28 Alexander Larsson <alexl@redhat.com>
2664 Register local vfs with prio 0.
2667 Remove old name and prio class members
2669 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2671 * tests/g-file.c: Disable some tests that are failing in
2672 the absence of a http backend.
2674 2008-01-28 Alexander Larsson <alexl@redhat.com>
2678 Add registration hooks for extension points.
2679 Register the gio extension points.
2681 * fam/gfamdirectorymonitor.c:
2682 * fam/gfamfilemonitor.c:
2683 * glocaldirectorymonitor.[ch]:
2684 * glocalfilemonitor.[ch]:
2685 * gnativevolumemonitor.h:
2686 * gunionvolumemonitor.c:
2687 * gunixvolumemonitor.c:
2690 * inotify/ginotifydirectorymonitor.c:
2691 * inotify/ginotifyfilemonitor.c:
2692 Use the extension points registration instead
2693 of g_type_children().
2695 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2698 * gvolume.[hc]: Document new API.
2700 * gfile.c (g_file_copy_async): Fix docs
2702 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2704 * gbufferedinputstream.c:
2706 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2709 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2711 * glocalfile.c: Avoid trivial differences in translatable strings.
2713 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2715 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2716 build with gcc 3.4 (#509419)
2718 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2720 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2721 (#509994, Murray Cumming)
2723 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2725 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2726 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2727 this allows big jobs to be executed in chunks, instead of blocking
2728 the main loop for a long time.
2730 * gsimpleasyncresult.c:
2731 * giofile.c: Adapt callers.
2733 2008-01-25 Alexander Larsson <alexl@redhat.com>
2735 * gdesktopappinfo.c:
2736 Implement changes discussed on xdg list.
2737 Now we can add supported mimetypes by just using defaults.list
2738 We can also remove associations in defaults.list.
2740 2008-01-25 Alexander Larsson <alexl@redhat.com>
2742 * gdesktopappinfo.c:
2743 Don't make local copy of desktop file
2744 for mimetype changes if the file already
2745 supports the new mimetype.
2747 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2751 * gbufferedinputstream.c:
2752 * glocalfile.c: String improvements. (#511966,
2753 Theppitak Karoonboonyanan)
2755 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2757 * gioscheduler.h: Expand docs a bit.
2759 2008-01-24 Alexander Larsson <alexl@redhat.com>
2762 Add g_drive_get_identifier and
2763 g_drive_enumerate_identifiers
2766 Add g_volume_get_identifier and
2767 g_volume_enumerate_identifiers
2773 Implement identifiers for unix backend
2775 2008-01-24 Alexander Larsson <alexl@redhat.com>
2780 Add g_file_copy_async() (#511580)
2781 Based on patch from Carlos Garcia Campos
2783 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2785 * gioscheduler.c: Some documentation additions.
2787 2008-01-22 Alexander Larsson <alexl@redhat.com>
2789 * gdesktopappinfo.c:
2790 (g_desktop_app_info_new):
2791 Don't leak basename.
2793 2008-01-22 Alexander Larsson <alexl@redhat.com>
2795 * gdesktopappinfo.c:
2796 (g_desktop_app_info_new_from_filename):
2799 2008-01-22 Alexander Larsson <alexl@redhat.com>
2801 * glocalfileinfo.c (get_thumbnail_attributes):
2804 2008-01-22 Alexander Larsson <alexl@redhat.com>
2807 (canonicalize_filename):
2808 Canonicalize paths that start with more than
2812 (compare_two_files):
2813 (test_g_file_new_for_path):
2816 2008-01-22 Alexander Larsson <alexl@redhat.com>
2819 Allow UTF-8 in file:// parse names.
2821 * tests/Makefile.am:
2822 * tests/data-input-stream.c:
2823 * tests/data-output-stream.c:
2824 * tests/g-file-info.c:
2826 Added a bunch of tests from Tomas Bzatek
2828 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2830 * === Released 2.15.3 ===
2832 2008-01-21 Alexander Larsson <alexl@redhat.com>
2834 * gfileinputstream.[ch]:
2835 * gfileoutputstream.[ch]:
2837 Remove duplicated GSeekable functions. (#509990)
2838 Just use the g_seekable_xxx() calls instead.
2840 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2843 * gvolumemanager.c: Whitespace cleanups.
2845 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2846 Use the right mode when creating the file.
2848 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2850 * gfileenumerator.c:
2851 * gfileinputstream.c:
2853 * goutputstream.c: Documentation: Fixed minor typos
2854 and added more mentions of specific _finish() functions.
2856 2008-01-21 Alexander Larsson <alexl@redhat.com>
2858 * inotify/Makefile.am:
2859 * inotify/inotify-helper.c:
2860 * inotify/inotify-kernel.c:
2861 * inotify/inotify-path.c:
2862 * inotify/local_inotify.h: Removed.
2863 * inotify/local_inotify_syscalls.h: Removed.
2864 Removed the included copies of the inotify
2865 headers. We now only use the <sys/inotify.h>
2866 header which exists on modern systems.
2867 This fixes problems on ARM and SH5 (#510448)
2868 but is also generally much cleaner and future
2869 safe. For instance, if other OSes add support
2870 for inotify it should "just work".
2872 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2874 * inotify/*.c: Coding style fixes.
2875 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2876 for the 1/4 Hz timer.
2878 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2881 * gfilemonitor.[hc]:
2882 * gmemoryinputstream.c:
2883 * gmemoryoutputstream.c:
2884 * gmountoperation.c:
2885 * gthemedicon.c: Documentation updates
2887 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2889 * gfile.c: documentation: Fixed more minor
2892 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2894 * gmount.c: (g_mount_remount): documentation:
2895 Mention g_mount_remount_finish() instead of
2896 g_mount_unmount_finish().
2898 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2902 * gfile.c: Fixed some minor typos in the
2905 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2907 * gio/gvolumemonitor.c:
2908 (g_volume_monitor_get_connected_drives):
2909 (g_volume_monitor_get_volumes):
2910 (g_volume_monitor_get_mounts): Documentation:
2911 Clarify the ownership of the regurn GLists.
2913 2008-01-17 Alexander Larsson <alexl@redhat.com>
2916 Add the async find_enclosing_mount version
2917 to the header file too.
2919 2008-01-17 Alexander Larsson <alexl@redhat.com>
2922 Add async version of find_enclosing_mount
2923 with default implementation.
2925 2008-01-17 Alexander Larsson <alexl@redhat.com>
2930 Allow calls to implementation of copy and write
2931 even if the type of the file implementations is
2932 different. This can be used to implement native
2933 upload and download calls in a vfs.
2936 (g_local_file_move):
2937 Protect against the case where move is called
2938 with one file not being local.
2940 Make sure we call the progress callback once
2941 in the native move operation so that the caller
2942 knows how many bytes were copied.
2944 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2947 * gdatainputstream.c:
2949 * gfileoutputstream.c:
2954 * gunixmounts.c: Corrected some typos in the documentation:
2955 occured -> occurred.
2956 its -> it's (where appropriate).
2958 2008-01-16 Alexander Larsson <alexl@redhat.com>
2962 Add g_file_query_exists (#508771)
2964 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2969 * gvolume.c: For async functions that have no non-async
2970 version, document that the GAsyncReadyCallback may be NULL.
2973 2008-01-15 Alexander Larsson <alexl@redhat.com>
2975 * gmemoryinputstream.c:
2976 * gmemoryoutputstream.c:
2977 Don't do pointer arithmetic on void * (#508602)
2978 Patch from Kazuki IWAMOTO
2980 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2982 * === Released 2.15.2 ===
2984 2008-01-14 Alexander Larsson <alexl@redhat.com>
2986 * gfile.c (g_file_monitor_file):
2987 Don't set error here, since we fallback to polling monitor.
2989 2008-01-14 Alexander Larsson <alexl@redhat.com>
2992 (g_file_monitor_directory):
2993 (g_file_monitor_file):
2994 Add GError to file monitor calls
2996 * glocaldirectorymonitor.c:
2997 * glocaldirectorymonitor.h:
2999 * glocalfilemonitor.c:
3000 * glocalfilemonitor.h:
3002 Update for above change
3004 2008-01-14 Alexander Larsson <alexl@redhat.com>
3008 Handle root correctly in g_file_get_relative_path (#508719)
3010 2008-01-14 Alexander Larsson <alexl@redhat.com>
3013 Clean up docs and example for GAsyncResult (#508074)
3015 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3017 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3018 and correct some spelling mistakes. Bug #508108.
3020 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3022 * glocalfileinfo.c: Add a comment.
3024 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3026 * gfileinfo.c: GFileInfo description: Mention
3027 how to actually set attributes in a GFile and how to discover
3028 which attributes are settable. Bug #508378.
3030 2008-01-10 A. Walton <awalton@svn.gnome.org>
3032 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3033 (g_app_info_get_default_for_type):
3034 Check for NULL content types.
3036 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3038 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3040 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3042 * gfile.c: *_async() functions: Several small corrections
3043 to the documentation, mostly correcting copy/paste errors
3044 and improving some sentences.
3046 2008-01-09 Dan Winship <danw@gnome.org>
3048 * glocalfile.c (get_unique_filename): x86_64 fix
3050 2008-01-09 Alexander Larsson <alexl@redhat.com>
3055 Add g_unix_mount_guess_should_display and use
3056 for unix volume monitor backend.
3057 This means we more or less show what the
3058 gnome-vfs backend did.
3059 Based on patch from Padraig O'Briain
3061 2008-01-09 Alexander Larsson <alexl@redhat.com>
3065 Add g_themed_icon_new_with_default_fallbacks
3068 Use default fallbacks for icons
3070 2008-01-09 Alexander Larsson <alexl@redhat.com>
3073 * gmountoperation.[ch]:
3074 Change the API a bit so that unhandled methods
3075 get reported via the reply, rather than by
3076 the signal emission return value. This is because
3077 some handlers can't know this immediately without
3078 doing I/O, and this is an async operation that
3081 2008-01-09 Alexander Larsson <alexl@redhat.com>
3084 * fam/gfamdirectorymonitor.c:
3085 * fam/gfamfilemonitor.c:
3086 Fix double free crash (#508224)
3087 Patch from Joe Marcus Clarke
3089 008-01-07 Matthias Clasen <mclasen@redhat.com>
3091 * === Released 2.15.1 ===
3093 2008-01-07 Alexander Larsson <alexl@redhat.com>
3095 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3096 Fix warning (#507835)
3098 2008-01-07 Alexander Larsson <alexl@redhat.com>
3101 Pass --internal to glib-genmarshal
3104 * gmountoperation.c:
3106 Use better types for signal arguments (#507822)
3108 2008-01-07 Alexander Larsson <alexl@redhat.com>
3111 Build test subdir after .
3112 Remove gdirectorymonitor.[ch]
3114 * gdirectorymonitor.[ch]:
3118 Remove GDirectoryMonitor and make
3119 GFileMonitor the baseclass for both file and
3120 directory monitors. Lift the more generic
3121 rate limiting code from GDirectoryMonitor
3125 * fam/gfamdirectorymonitor.[ch]:
3126 * inotify/ginotifydirectorymonitor.[ch]:
3127 * inotify/inotify-helper.c:
3128 * glocaldirectorymonitor.[ch]:
3131 Update for the removed GDirectoryMonitor.
3133 * gmemoryoutputstream.c:
3134 Remove ununsed variable
3136 2008-01-07 Alexander Larsson <alexl@redhat.com>
3138 * gmemoryinputstream.c:
3139 Translate error strings
3142 * gmemoryoutputstream.[ch]:
3143 New implementation that avoids using GByteArray
3144 in implementation and API. (#506377)
3146 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3148 * tests/*: Add a test for memory input streams.
3150 * Makefile.am: Add tests to SUBDIRS.
3152 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3154 * glocalfilemonitor.c:
3155 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3158 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3160 * gdesktopappinfo.c: Fix a docs typo.
3162 * gfileattribute.c: Add information about extended attributes
3163 to the documentation. (#505058)
3165 2008-01-04 Alexander Larsson <alexl@redhat.com>
3168 * gmountoperation.c:
3169 Use the right type (uint) for the ask_password signal.
3171 2008-01-04 Alexander Larsson <alexl@redhat.com>
3176 Add g_app_info_supports_files()
3177 Remove desktop arg from g_app_info_should_show().
3179 * gdesktopappinfo.[ch]:
3180 Implement g_app_info_supports_files() and new should_show()
3181 Add g_desktop_app_info_set_desktop_env() to set the desktop
3182 for should_show(). (This will be set by gtk+ later)
3184 2008-01-04 Alexander Larsson <alexl@redhat.com>
3187 * gmemoryinputstream.[ch]:
3188 Improve API so that you can use multiple chunks
3189 of memory and custom destroy functions. (#506374)
3191 2008-01-03 Alexander Larsson <alexl@redhat.com>
3194 Handle NULL attribute matchers safely, as we return this
3195 for empty attribute matcher strings.
3197 2008-01-03 Alexander Larsson <alexl@redhat.com>
3199 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3200 Add /usr/local to list of internal mountpoints
3202 2008-01-03 Alexander Larsson <alexl@redhat.com>
3205 Check for HAVE_LCHOWN (#505887)
3207 2008-01-03 Alexander Larsson <alexl@redhat.com>
3211 Add define for selinux context attribute.
3212 Fix missing : -> :: namespace separator change
3213 Fix missing _ -> - name change for xattr-sys.
3216 2008-01-03 Alexander Larsson <alexl@redhat.com>
3219 Link to libglib and libgobject directly (#504879)
3220 Patch from Sebastien Bacher
3222 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3224 * gfile.c: Expanded the g_file_new_for_commandline_arg
3225 description a bit, based on the code and the docs of the
3226 other g_file_new_for_* functions.
3228 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3230 * gfilemonitor.h: Fixed typo in docs.
3232 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3234 Updates to GIO documentation. (#506395, Mikael Hermansson)
3236 * gcontenttype.c: Describe memory management for return value of
3237 g_content_types_get_registered(). Missing piece from #505815.
3238 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3239 GVolume, GDrive, GMounts, which hopefully gives the user less
3240 confusions when using this API. Following explainations from
3241 Alexander Larsson on gtk-devel-list.
3243 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3245 * gfileinfo.c: Expand the long description.
3247 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3250 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3251 fix builds with --disable-visibility. (#500273, Christian Persch)
3253 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3255 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3256 in the list of returned app infos.
3258 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3260 * gappinfo.c: Fix a cross-reference
3262 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3264 * gfileinputstream.c:
3265 * gfileoutputstream.c:
3269 * gdesktopappinfo.c:
3271 * gfileinfo.c: Documentation updates.
3273 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3275 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3278 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3280 * gcontenttype.c (g_content_types_get_registered): Don't return
3281 freed memory (#505815, Mikael Hermansson)
3283 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3285 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3286 used to detect statbuf->st_blocks. (#505042)
3288 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3290 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3291 environment handling. (#504829, Cosimo Cecchi)
3293 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3295 * gappinfo.c: Doc improvements
3297 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3300 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3302 * === Released 2.15.0 ===
3304 2007-12-20 Hans Breuer <hans@breuer.org>
3306 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3307 with symbols gwin32appinfo.obj, added gmount.obj
3308 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3310 2007-12-20 Alexander Larsson <alexl@redhat.com>
3316 * gfilenamecompleter.c:
3319 * gpollfilemonitor.c:
3320 File attribute renames:
3322 fs:: -> filesystem::
3323 id::fs -> id::filesystem
3325 2007-12-20 Alexander Larsson <alexl@redhat.com>
3334 Add GMountUnmountFlags to all unmount and
3336 Add g_mount_remount() call.
3338 2007-12-20 Alexander Larsson <alexl@redhat.com>
3340 * gvfs.c (get_default_vfs):
3341 Fix unused variable warning
3343 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3345 * pltcheck.sh: Update
3347 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3349 * gunionvolumemonitor.c:
3350 * gunixmount.c: Remove C99 comments
3352 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3354 * gio.symbols: Add some missing symbols
3356 2007-12-19 Alexander Larsson <alexl@redhat.com>
3359 Make g_io_modules_load_all_in_directory not unuse
3360 loaded modules so that users of it can do stuff
3362 Init internal "module" types.
3363 Initialize static prio and name for types so that
3364 we don't have to load modules to get it.
3366 * gnativevolumemonitor.h:
3368 Move is_supported to parent class so that
3369 non-native monitors can avoid being initialized
3370 too. (For instance GDaemonVolumeMonitor if we're
3371 not using GDaemonVfs.)
3373 * glocaldirectorymonitor.[ch]:
3374 * glocalfilemonitor.[ch]:
3375 * gunionvolumemonitor.c:
3376 * gunixvolumemonitor.c:
3378 Find plugins using the static prio+name to
3379 avoid unnecessarily loading the modules.
3381 2007-12-19 Alexander Larsson <alexl@redhat.com>
3386 2007-12-19 Alexander Larsson <alexl@redhat.com>
3388 * gunionvolumemonitor.c:
3389 Store the native type as GType, not class so that
3390 we can unload it. But still avoid unnecessarily
3393 2007-12-19 David Zeuthen <davidz@redhat.com>
3395 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3396 add signals 'disconnected' and 'eject-button' on GDrive. Add
3397 signal 'removed' on GVolume and 'unmounted' on GMount.
3399 * gdrive.c: (g_drive_base_init):
3401 * gfile.c: (g_file_mount_mountable),
3402 (g_file_mount_enclosing_volume):
3405 * gmount.c: (g_mount_base_init):
3407 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3408 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3409 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3413 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3415 * *.c: Fix up includes in the section docs.
3417 2007-12-17 Alexander Larsson <alexl@redhat.com>
3419 * gnativevolumemonitor.h:
3420 * gunionvolumemonitor.c:
3421 * gunixvolumemonitor.c:
3422 Add is_supported() to GNativeVolumeMonitorClass so
3423 that we can avoid having to create an object to see
3424 if the backend is supported at runtime.
3425 Also add name member and an env var to pick a specific
3426 volume monitor backend.
3430 Add cancellable to _g_mount_get_for_mount_path()
3432 * glocaldirectorymonitor.c:
3433 * glocalfilemonitor.c:
3434 Avoid loading and unloading modules while sorting.
3436 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3439 * gunixmounts.[hc]: Namespace waste reduction, move some
3440 g_get_unix_mount functions to the g_unix_mount namespace.
3443 * gunixvolumemonitor.c:
3445 * glocaldirectorymonitor.c: Update all callers.
3447 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3449 2007-12-17 Alexander Larsson <alexl@redhat.com>
3452 Add doc comments about what GFile operations are
3453 guaranteed to not block.
3455 2007-12-17 Alexander Larsson <alexl@redhat.com>
3458 Add missing #ifdef fixing OSX build.
3459 (#503334, patch from Richard Hult)
3461 2007-12-14 David Zeuthen <davidz@redhat.com>
3465 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3466 (g_mount_eject), (g_mount_eject_finish):
3468 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3469 (get_volume_for_uuid), (get_mount_for_uuid),
3470 (g_union_volume_monitor_class_init),
3471 (get_default_native_type_with_exclude), (get_default_native_type),
3472 (get_native_type), (update_native_type),
3473 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3474 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3475 (g_unix_mount_can_eject), (eject_unmount_cb),
3476 (eject_unmount_read_error), (eject_unmount_do),
3477 (g_unix_mount_unmount), (g_unix_mount_eject),
3478 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3479 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3480 (g_unix_mount_point_guess_can_eject):
3482 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3483 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3484 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3485 (g_unix_volume_mount), (g_unix_volume_eject),
3486 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3487 * gunixvolumemonitor.c: (get_volume_for_uuid),
3488 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3490 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3491 (g_volume_eject), (g_volume_eject_finish):
3493 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3494 (g_volume_monitor_get_mount_for_uuid):
3497 Provide eject() on both GMount and GVolume and utility functions
3498 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3499 ejected. Introduce the concept of UUID's and wire it into GVolume
3500 and GMount and provide API on GVolumeMonitor to find such
3501 instances. Also handle the case where an external
3502 GNativeVolumeMonitor fails to initialize. Lock around the
3503 _g_get_mount_for_mount_path() function such that volume monitor
3504 implementations won't have to do locking themselves.
3506 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3508 * gdesktopappinfo.c:
3514 * gvolume.h: Documentation updates
3516 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3519 * gfile.h: Doc updates
3521 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3524 * gdesktopappinfo.c: Use hash table iterators.
3526 2007-12-14 Alexander Larsson <alexl@redhat.com>
3529 * gfileattribute.[ch]:
3530 * gfileattribute-priv.h:
3531 Move GFileAttributeValue to a private header, as
3535 Make set_attribute take a type + a pointer instead
3536 of a GFileAttributeValue.
3539 Fix up for above changes.
3540 Add g_file_info_get_attribute_data to get
3541 all info in one call, g_file_info_get_attribute_status
3542 to get the status and g_file_info_get_attribute_as_string.
3546 * glocalfileinfo.[ch]:
3550 Make _guess_type static.
3552 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3555 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3556 made mkenums and friends use temporary files to avoid leaving
3557 empty generated files on failure (#503470).
3559 2007-12-14 Alexander Larsson <alexl@redhat.com>
3561 * gmountoperation.h:
3564 2007-12-14 Alexander Larsson <alexl@redhat.com>
3568 * gfileattribute.[ch]:
3571 * glocalfileoutputstream.c:
3572 * gmountoperation.[ch]:
3573 * goutputstream.[ch]:
3574 Clean up all flags enums to not have _FLAGS in them
3575 Make the names of some of the enums better.
3580 2007-12-14 Michael Natterer <mitch@imendio.com>
3582 * gio.symbols: fix g_io_scheduler symbol names.
3584 2007-12-14 Alexander Larsson <alexl@redhat.com>
3590 * gbufferedinputstream.h:
3591 * gbufferedoutputstream.h:
3594 * gdatainputstream.h:
3595 * gdataoutputstream.h:
3596 * gdesktopappinfo.h:
3597 * gdirectorymonitor.h:
3601 * gfileenumerator.h:
3604 * gfileinputstream.h:
3606 * gfilenamecompleter.h:
3607 * gfileoutputstream.h:
3608 * gfilterinputstream.h:
3609 * gfilteroutputstream.h:
3617 * gmemoryinputstream.h:
3618 * gmemoryoutputstream.h:
3620 * gmountoperation.h:
3623 * gsimpleasyncresult.h:
3625 * gunixinputstream.h:
3627 * gunixoutputstream.h:
3631 * inotify/Makefile.am:
3632 Only allow including <gio/gio.h> from apps
3634 2007-12-14 Alexander Larsson <alexl@redhat.com>
3636 * gioscheduler.[ch]:
3637 * gsimpleasyncresult.c:
3638 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3639 Split out the send_to_mainloop call into two versions instead
3640 of having the block argument.
3642 2007-12-13 Alexander Larsson <alexl@redhat.com>
3644 * gcancellable.[ch]:
3646 * gbufferedinputstream.c:
3647 * gfileenumerator.c:
3648 * gfileinputstream.c:
3649 * gfileoutputstream.c:
3653 g_push/pop_current_cancellable ->
3654 g_cancellable_push/pop_current
3656 2007-12-13 Alexander Larsson <alexl@redhat.com>
3660 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3662 2007-12-13 Alexander Larsson <alexl@redhat.com>
3664 * gmountoperation.h:
3665 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3667 2007-12-12 Alexander Larsson <alexl@redhat.com>
3670 Fix race condition when freeing proxy in
3671 g_io_job_send_to_mainloop().
3673 2007-12-12 Alexander Larsson <alexl@redhat.com>
3679 Make attribute namespace separator "::" instead of ":".
3680 Use - instead of _ as separator in attribute names.
3682 2007-12-12 Alexander Larsson <alexl@redhat.com>
3684 * gbufferedinputstream.h:
3685 * gbufferedoutputstream.h:
3686 * gdatainputstream.h:
3687 * gdataoutputstream.h:
3688 * gdirectorymonitor.h:
3689 * gfileenumerator.h:
3690 * gfileinputstream.h:
3692 * gfileoutputstream.h:
3693 * gfilterinputstream.h:
3694 * gfilteroutputstream.h:
3696 * glocalfileinputstream.h:
3697 * glocalfileoutputstream.h:
3698 * gmemoryinputstream.h:
3699 * gmemoryoutputstream.h:
3700 * gnativevolumemonitor.h:
3702 * gunixinputstream.h:
3703 * gunixoutputstream.h:
3706 s/parent/parent_instance/ in GObjects
3708 2007-12-12 Alexander Larsson <alexl@redhat.com>
3713 No need for padding for interfaces
3715 2007-12-12 Alexander Larsson <alexl@redhat.com>
3719 * gbufferedinputstream.c:
3720 * gbufferedoutputstream.c:
3723 * gdatainputstream.[ch]:
3724 * gdesktopappinfo.c:
3725 * gdirectorymonitor.c:
3727 * gfileattribute.[ch]:
3730 * gfileinputstream.h:
3731 * gfilemonitor.[ch]:
3732 * gfileoutputstream.[ch]:
3733 * gfilterinputstream.h:
3734 * gfilteroutputstream.h:
3737 * gloadableicon.[ch]:
3738 * gmemoryinputstream.c:
3739 * gmountoperation.c:
3741 Fix up a bunch of details in the docs.
3746 2007-12-11 David Zeuthen <davidz@redhat.com>
3748 Rework how volumes, drives and volume monitoring is
3749 done. Previosly the model was
3751 GDrive <1-1> GVolume
3753 where a GDrive instance represented a mount point and a GVolume
3754 instance represented a mounted file system. This patch changes it
3757 GDrive <1-N> GVolume <1-1> GMount
3759 where GMount now serves the purpose of the old GVolume and the new
3760 GVolume serves the purpose of the old GDrive. In addition the new
3761 GDrive interface is used to represent a collection of GVolume
3762 instances (typically partitions) and also contains utility to query
3763 the state of the physical drive the GDrive object represents (such
3764 as checking for media, polling the drive, ejecting the media etc.).
3766 Also implement mounting and unmounting in the Unix volume monitor
3767 backend. A subquent patch will introduce GDrive support for ejection
3771 * gdrive.c: (g_drive_is_media_check_automatic),
3772 (g_drive_is_media_removable), (g_drive_has_media),
3773 (g_drive_can_poll_for_media), (g_drive_eject),
3774 (g_drive_eject_finish), (g_drive_poll_for_media),
3775 (g_drive_poll_for_media_finish):
3777 * gfile.c: (g_file_find_enclosing_mount):
3780 * glocaldirectorymonitor.c:
3781 (g_local_directory_monitor_constructor), (mounts_changed):
3782 * glocalfile.c: (get_mount_info),
3783 (g_local_file_find_enclosing_mount),
3784 (g_local_file_file_iface_init):
3785 * gnativevolumemonitor.h:
3786 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3787 (get_connected_drives), (g_union_volume_monitor_class_init),
3788 (child_volume_added), (child_volume_removed),
3789 (child_volume_changed), (child_mount_added), (child_mount_removed),
3790 (child_mount_pre_unmount), (child_mount_changed),
3791 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3792 (g_union_volume_monitor_remove_monitor),
3793 (_g_mount_get_for_mount_path):
3794 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3795 (guess_system_internal), (_g_get_unix_mounts),
3796 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3797 (g_unix_mount_free), (g_unix_mount_compare),
3798 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3799 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3800 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3801 (type_to_icon), (g_unix_mount_guess_name),
3802 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3803 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3804 (_resolve_symlink), (_resolve_dev_root):
3806 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3807 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3808 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3809 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3810 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3811 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3812 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3813 (g_unix_volume_volume_iface_init):
3815 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3816 (get_mounts), (get_volumes), (get_connected_drives),
3817 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3818 (mountpoints_changed), (mounts_changed),
3819 (g_unix_volume_monitor_init),
3820 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3821 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3822 * gunixvolumemonitor.h:
3823 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3824 (g_volume_mount), (g_volume_mount_finish):
3826 * gvolumemonitor.c: (g_volume_monitor_class_init),
3827 (g_volume_monitor_get_connected_drives),
3828 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3831 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3833 * gmountoperation.h (GPasswordFlags): Close the gap
3835 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3837 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3839 * gdesktopappinfo.[hc]: Remove _-prefixes
3841 2007-12-10 Tor Lillqvist <tml@novell.com>
3843 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3846 2007-12-10 Alexander Larsson <alexl@redhat.com>
3848 * gfile.c (g_file_set_display_name):
3849 Don't hardcode '/' (#502727)
3851 2007-12-09 Hans Breuer <hans@breuer.org>
3853 * makefile.msc : follow lib naming convention
3854 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3855 for user and group name, tested with ../tests/gio-ls
3857 2007-12-09 A. Walton <awalton@svn.gnome.org>
3859 * gdesktopappinfo.c:
3865 * gfileenumerator.c:
3870 * gmemoryinputstream.c:
3871 * gmemoryoutputstream.c:
3873 * gsimpleasyncresult.c:
3874 More documentation cleanup and filling in missing information, bringing
3875 GIO to 99% symbol coverage.
3877 2007-12-08 Hans Breuer <hans@breuer.org>
3879 [gio compiles and links on win32, not sure how much already works]
3880 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3881 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3882 base on win32 API; prefer g_lstat() over lstat(); instead of
3883 localtime_r() use an all GLib implementation on win32;
3884 get_mount_info() still needs a win32 specifc implementation
3885 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3886 win32_get_file_user_info to get owner/group info without uid/gid
3887 * glocalfileinputstream.c : include <io.h> on win32
3888 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3889 definition, use g_win32_ftruncate() for G_OS_WIN32
3890 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3891 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3892 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3893 * makefile.msc : updated
3895 2007-12-07 Alexander Larsson <alexl@redhat.com>
3897 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3898 Avoid warning spew if error == NULL
3900 2007-12-07 Alexander Larsson <alexl@redhat.com>
3903 Update docs wrt etags
3905 2007-12-06 Alexander Larsson <alexl@redhat.com>
3908 Include sys/types.h for dev_t (#501919)
3910 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3914 Make abicheck and pltcheck pass.
3916 2007-12-05 Alexander Larsson <alexl@redhat.com>
3919 * giomodule-priv.h: Added.
3920 * glocaldirectorymonitor.c:
3921 * glocalfilemonitor.c:
3922 * gunionvolumemonitor.c:
3924 Actually add the declaration of _g_io_modules_ensure_loaded
3926 2007-12-05 Alexander Larsson <alexl@redhat.com>
3928 * gdatainputstream.c:
3933 * glocaldirectorymonitor.c:
3934 * glocalfilemonitor.c:
3935 * gunionvolumemonitor.c:
3937 Make g_io_modules_ensure_loaded a private function and
3938 don't pass in the dirname. This means we can do magic
3939 directory finding in the win32 version.
3940 Export the actual load-modules-in-directory code so that
3941 gvfs can reuse that.
3943 2007-12-05 Alexander Larsson <alexl@redhat.com>
3945 * gbufferedinputstream.c:
3946 * gbufferedoutputstream.c:
3949 * gfileenumerator.[ch]:
3950 * gfileinputstream.c:
3951 * gfileoutputstream.[ch]:
3952 * gfilterinputstream.c:
3953 * gfilteroutputstream.c:
3954 * ginputstream.[ch]:
3956 * glocalfileenumerator.c:
3957 * glocalfileinputstream.c:
3958 * glocalfileoutputstream.c:
3959 * gmemoryinputstream.c:
3960 * gmemoryoutputstream.c:
3961 * goutputstream.[ch]:
3964 * gunixinputstream.c:
3965 * gunixoutputstream.c:
3966 Rename all struct members named:
3967 read, write, close, truncate, or mount
3968 to foo_fn, as these are reserved names
3969 and could be defined as macros in libc.
3972 2007-12-04 Alexander Larsson <alexl@redhat.com>
3975 (g_output_stream_close):
3976 Only call flush if non-null.
3978 2007-11-30 Dan Winship <danw@gnome.org>
3980 * ginputstream.c (g_input_stream_set_pending): Make this take a
3981 GError and return a gboolean, and do the "outstanding operation"
3982 check (and the "stream is already closed" check) itself.
3983 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3985 * goutputstream.c (g_output_stream_set_pending)
3986 (g_output_stream_clear_pending): Likewise
3988 * gbufferedinputstream.c:
3989 * gfileinputstream.c:
3990 * gfileoutputstream.c: Update for that
3992 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3993 Like g_simple_async_report_error_in_idle, but takes a GError
3994 rather than building one.
3996 2007-11-30 Dan Winship <danw@gnome.org>
3998 * goutputstream.c: Don't cheat and unset the "pending" flag around
3999 inner calls. Instead, call the class method directly rather than
4000 the wrapper function that checks "pending"
4002 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4004 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4006 2007-12-03 Hans Breuer <hans@breuer.org>
4008 [start of port to win32/msvc]
4009 * gcancellable.c : HAVE_UNIST_H and _pipe()
4010 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4011 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4012 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4014 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4015 * glocalvfs.c : use HAVE_PWD_H
4016 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4017 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4018 * Makefile.am : added to EXTRA_DIST
4020 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4022 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4025 2007-12-03 Alexander Larsson <alexl@redhat.com>
4028 Handle OSX style xattrs API (#500506)
4030 2007-12-03 Alexander Larsson <alexl@redhat.com>
4034 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4036 2007-12-02 A. Walton <awalton@svn.gnome.org>
4040 Documentation accuracy fixes.
4042 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4044 * gioenumtypes.c.template: Fix typo.
4046 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4048 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4050 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4052 * gdirectorymonitor.c:
4053 * gfilemonitor.c: Add properties
4055 * gbufferedoutputstream.c: Don't mark buffer-size property
4058 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4060 * gbufferedoutputstream.c: Add auto-grow property.
4062 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4064 * *.c: Unify the capitalization of section headings.
4066 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4068 * gmountoperation.c: Add properties
4070 * gdatainputstream.c: Turn byte-order and newline-type into
4073 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4075 * gioenumtypes.[hc].template: Templates for enum registration
4077 * Makefile.am: Generate gioenumtypes.[hc]
4079 * gio.h: Include gioenumtypes.h
4081 * gfile.h: Add some explicit nicks.
4083 * gio.symbols: Add new symbols
4085 * pltcheck.sh: Adjust
4087 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4089 * *.c: Explain etags and link to the explanation
4091 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4093 * *.c: Explain I/O priority.
4095 * *.c: More coding style fixes.
4097 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4099 * gasyncresult.c: Add another paragraph to the intro,
4100 adjust coding style of example.
4102 2007-11-29 A. Walton <awalton@svn.gnome.org>
4105 Fixes unknown meaning in GAppLaunchContext docs.
4107 Clarify asynchronous ops.
4109 Fix entity tag docs.
4112 Provides missing gtk-doc section, fixes API docs slighly.
4113 * gsimpleasyncresult.c:
4114 Fill in missing info in docs.
4115 * gunixinputstream.c:
4116 * gunixoutputstream.c:
4117 Be more expressive in short description.
4119 Remove gtk-doc stubs for non-public API.
4121 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4123 * *.c: Coding style fixups
4125 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4127 * inotify/inotify-helper.c: Don't export the lock from libgio.
4129 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4132 * abicheck.sh: Fix copy-and-paste leftovers
4134 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4136 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4138 2007-11-28 Alexander Larsson <alexl@redhat.com>
4142 Removed unnecessary file
4144 * gdesktopappinfo.[ch]:
4147 * glocaldirectorymonitor.[ch]:
4149 * glocalfileenumerator.[ch]:
4150 * glocalfileinputstream.[ch]:
4151 * glocalfilemonitor.[ch]:
4152 * glocalfileoutputstream.[ch]:
4154 * gnativevolumemonitor.c:
4155 * gpollfilemonitor.[ch]:
4156 * gunionvolumemonitor.[ch]:
4159 * gunixvolumemonitor.[ch]:
4162 * inotify/ginotifydirectorymonitor.[ch]:
4163 * inotify/ginotifyfilemonitor.[ch]:
4164 * inotify/inotify-helper.c:
4165 Append _ to all internal functions
4169 Export symbols needed for modules
4171 2007-11-28 Alexander Larsson <alexl@redhat.com>
4174 * abicheck.sh: Added.
4175 * makegioalias.pl: Added.
4176 * pltcheck.sh: Added.
4177 * gio.symbols: Added.
4180 Initial work on adding symbol handling.
4183 Correct ifdef guard name
4186 * inotify/Makefile.am:
4187 * xdgmime/Makefile.am:
4188 Include toplevel Makefile.decl
4190 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4192 * gcontenttype.c: Move doc comments to the unix section.
4194 * *.[hc]: More trivial doc corrections.
4196 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4198 * gpollfilemonitor.c:
4202 * gdesktopappinfo.c:
4207 * gdatainputstream.c:
4208 * gdatainputstream.h:
4209 * gdataoutputstream.c:
4210 * gdataoutputstream.h:
4211 * gfileinfo.h: Doc cleanups
4213 2007-11-28 Andre Klapper <a9016009@gmx.de>
4215 * gdesktopappinfo.c: Fix a typo.
4217 2007-11-27 Andre Klapper <a9016009@gmx.de>
4219 * glocalfileoutputstream.c: Fix a typo.
4221 2007-11-27 Alexander Larsson <alexl@redhat.com>
4224 Don't include removed headers
4226 2007-11-27 Alexander Larsson <alexl@redhat.com>
4229 * gsocketinputstream.[ch]: Removed.
4230 * gsocketoutputstream.[ch]: Removed.
4231 * gunixinputstream.[ch]: Added.
4232 * gunixoutputstream.[ch]: Added.
4233 Renamed GSocket*Stream to GUnix*Stream and made
4234 it unix-only, since its not really only for sockets
4235 and it only works on unix (but is highly useful there).
4237 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4243 * gbufferedinputstream.c:
4244 * gbufferedinputstream.h:
4245 * gbufferedoutputstream.c:
4246 * gbufferedoutputstream.h:
4250 * gdatainputstream.c:
4251 * gdatainputstream.h:
4252 * gdataoutputstream.c:
4253 * gdataoutputstream.h:
4254 * gdirectorymonitor.c:
4255 * gdirectorymonitor.h:
4262 * gfileenumerator.c:
4263 * gfileenumerator.h:
4268 * gfileinputstream.c:
4269 * gfileinputstream.h:
4272 * gfilenamecompleter.c:
4273 * gfilenamecompleter.h:
4274 * gfileoutputstream.c:
4275 * gfileoutputstream.h:
4276 * gfilterinputstream.c:
4277 * gfilterinputstream.h:
4278 * gfilteroutputstream.c:
4279 * gfilteroutputstream.h:
4292 * glocalfileoutputstream.c:
4293 * gmemoryinputstream.c:
4294 * gmemoryinputstream.h:
4295 * gmemoryoutputstream.c:
4296 * gmemoryoutputstream.h:
4297 * gmountoperation.c:
4298 * gmountoperation.h:
4301 * gpollfilemonitor.c:
4304 * gsimpleasyncresult.c:
4305 * gsimpleasyncresult.h:
4306 * gsocketinputstream.c:
4307 * gsocketinputstream.h:
4308 * gsocketoutputstream.c:
4309 * gsocketoutputstream.h:
4316 * gunixvolumemonitor.c:
4325 Bumps documentation to 93% symbol coverage, touching most
4326 of the public files. Fixes broken function documentation prototypes.
4327 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4328 gtk-doc headers in private files.
4330 2007-11-27 Jürg Billeter <j@bitron.ch>
4332 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4333 (g_buffered_input_stream_read_byte):
4334 * gbufferedinputstream.h:
4335 New functions for efficient access to buffer and simple single byte
4338 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4339 (g_data_input_stream_read_until):
4340 * gdatainputstream.h:
4341 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4342 read_until with multiple stop chars.
4344 2007-11-27 Alexander Larsson <alexl@redhat.com>
4348 * inotify/Makefile.am:
4349 Use the user-specified giomoduledir
4351 2007-11-27 Alexander Larsson <alexl@redhat.com>
4355 Add catch-all gio.h header
4356 Don't install gdummyfile.h
4358 2007-11-26 Alexander Larsson <alexl@redhat.com>
4360 * Makefile.am (gioinclude_HEADERS):
4361 Remove trailing whitespace
4363 2007-11-26 Alexander Larsson <alexl@redhat.com>
4365 Merge gio-standalone into glib
4367 2007-11-25 Christian Kellner <gicmo@gnome.org>
4369 * gio/goutputstream.c:
4370 Fix small mistake in the docs.
4372 2007-11-21 Christian Persch <chpe@gnome.org>
4374 * gio/glocalfile.c: (g_local_file_trash):
4375 Convert filenames to UTF-8 for GError.
4376 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4377 as per xdg base dir spec.
4379 2007-11-21 Christian Persch <chpe@gnome.org>
4381 * gio/gdesktopappinfo.c:
4382 Use that g_key_file_to_data cannot fail.
4384 Use stock defines for the key file group and key names.
4387 2007-11-21 Alexander Larsson <alexl@redhat.com>
4390 (copy_stream_with_progress):
4391 Make sure we do a final progress callback with
4392 the full total size.
4394 2007-11-21 Alexander Larsson <alexl@redhat.com>
4397 Export g_file_copy_attributes
4398 Remove padding as its not needed for interfaces
4400 2007-11-20 Alexander Larsson <alexl@redhat.com>
4405 Add G_IO_ERROR_WOULD_MERGE for
4406 copy/move dir on dir with overwrite.
4408 2007-11-20 Alexander Larsson <alexl@redhat.com>
4411 * gio/glocalfileinfo.c:
4412 Add COPY_NAME (this is an optional
4413 non-modified utf8 version of the name) that
4416 2007-11-20 Alexander Larsson <alexl@redhat.com>
4418 * gio/glocalfileenumerator.c:
4419 Report errors as GIOError, not GFileError
4421 2007-11-16 Alexander Larsson <alexl@redhat.com>
4423 * gio/glocalfileoutputstream.c:
4424 * gio/gwin32appinfo.c:
4425 Fix typos in strings.
4426 Patch from Luca Ferretti <elle.uca@libero.it>
4428 2007-11-15 Alexander Larsson <alexl@redhat.com>
4431 Post release version bump
4433 === gio-standalone 0.1.2 ===
4435 2007-11-15 Alexander Larsson <alexl@redhat.com>
4437 * docs/reference/gio/Makefile.am:
4438 Fix up distcheck by removing weird
4444 2007-11-14 Alexander Larsson <alexl@redhat.com>
4446 * gio/gdesktopappinfo.c:
4447 * gio/glocaldirectorymonitor.c:
4449 * gio/glocalfileinfo.c:
4450 * gio/inotify/inotify-sub.c:
4451 * programs/gio-cat.c:
4452 * programs/gio-copy.c:
4453 * programs/gio-info.c:
4454 * programs/gio-ls.c:
4455 * programs/gio-monitor-dir.c:
4456 * programs/gio-monitor-file.c:
4457 * programs/gio-mount.c:
4458 * programs/gio-move.c:
4459 * programs/gio-rm.c:
4460 * programs/gio-save.c:
4461 * programs/gio-trash.c:
4462 Leak fixes from Kjartan Maraas
4464 2007-11-14 Alexander Larsson <alexl@redhat.com>
4466 * gio/fam/fam-helper.c:
4468 * gio/glocalfileinfo.c:
4472 * gio/inotify/inotify-diag.c:
4473 * gio/inotify/inotify-kernel.c:
4474 Various code cleanups from Kjartan Maraas
4476 2007-11-14 Alexander Larsson <alexl@redhat.com>
4478 * gio/gioscheduler.c:
4480 Set up threadpool so that we cache 2 unused
4481 idle threads for at 15 secs. This means we
4482 will reuse thread-local data (like dbus connections)
4485 2007-11-14 Alexander Larsson <alexl@redhat.com>
4487 * gio/fam/fam-helper.c:
4488 * gio/fam/gfamdirectorymonitor.c:
4489 * gio/fam/gfamfilemonitor.c:
4491 * gio/gcontenttype.c:
4492 * gio/gdatainputstream.c:
4493 * gio/gdataoutputstream.c:
4497 * gio/gfileattribute.h:
4498 * gio/gfileenumerator.c:
4500 * gio/ginputstream.c:
4503 * gio/glocalfileinfo.c:
4504 * gio/goutputstream.c:
4505 * gio/gpollfilemonitor.c:
4506 * gio/gsimpleasyncresult.c:
4507 * gio/gunixmounts.c:
4508 * gio/gunixmounts.h:
4509 * gio/inotify/ginotifydirectorymonitor.c:
4510 * gio/inotify/ginotifyfilemonitor.c:
4511 * gio/inotify/inotify-diag.c:
4512 * gio/inotify/inotify-kernel.c:
4513 * gio/inotify/inotify-path.c:
4515 * gio/test-streams.c:
4516 * programs/gio-info.c:
4517 * programs/gio-monitor-dir.c:
4518 * programs/gio-monitor-file.c:
4519 Various code cleanups from Kjartan Maraas
4521 2007-11-13 Alexander Larsson <alexl@redhat.com>
4524 Handle the uri-scheme calls for dummy files
4526 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4528 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4529 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4530 to avoid clash with the C++ keyword.
4532 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4534 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4535 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4537 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4539 * gio/glocaldirectorymonitor.c:
4540 * gio/glocalfilemonitor.c:
4541 * gio/gunionvolumemonitor.c:
4542 Don't use g_once_init_*() for initializations that could fail and
4543 could leave the initialization variable set to 0 but use GOnce.
4544 This prevents a deadlock on the second call when trying to create
4545 a monitor and no monitor type is available. Thanks to Sven Herzberg
4548 2007-11-11 Sven Herzberg <sven@imendio.com>
4550 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4551 #ifdef (make it work on MacOS X again)
4553 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4555 Fixes Changelog for last two commits (sorry guys).
4557 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4559 * gio/gbufferedinputstream.c:
4560 * gio/gdatainputstream.c:
4562 * gio/gfileoutputstream.c:
4563 * gio/gfilterinputstream.c:
4564 * gio/glocalfileinputstream.c:
4567 More consistency fixes in g*stream.c files.
4568 Significant clean of gfile's documentation, filling in of
4569 asynchronous operations documentation.
4571 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4573 * gio/gasyncresult.c:
4574 * gio/gbufferedinputstream.c:
4575 * gio/gbufferedoutputstream.c:
4576 * gio/gcancellable.c:
4577 * gio/gcontenttype.c:
4578 * gio/gdatainputstream.c:
4579 * gio/gdataoutputstream.c:
4580 * gio/gdesktopappinfo.c:
4583 * gio/gfileattribute.c:
4584 * gio/gio/gfileenumerator.c:
4586 * gio/gfileinputstream.c:
4587 * gio/gfilemonitor.c:
4588 * gio/gfileoutputstream.c:
4589 * gio/ginputstream.c:
4591 * gio/gioscheduler.c:
4592 * gio/gloadableicon.c:
4593 * gio/glocalfileoutputstream.c:
4594 * gio/gmemoryoutputstream.c:
4595 * gio/gmountoperation.c:
4596 * gio/goutputstream.c:
4598 * gio/gsimpleasyncresult.c:
4599 * gio/gunionvolumemonitor.c:
4600 * gio/gunixmounts.c:
4601 * gio/gunixvolume.c:
4605 * gio/gvolumemonitor.c:
4606 Updated documentation stubs, working towards consistency and
4609 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4611 * gio/gmemoryoutputstream.c:
4612 * gio/gmemoryoutputstream.h:
4613 Change g_memory_output_stream_set_free_on_close() to
4614 g_memory_output_stream_set_free_data() as this makes more sense and
4615 is more consistent with GMemoryInputStream.
4617 2007-11-07 Alexander Larsson <alexl@redhat.com>
4624 Change how we find the default vfs so that
4625 we can handle a gvfs failing to init
4627 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4629 * gio/gbufferedoutputstream.c:
4630 * gio/gdatainputstream.c:
4631 * gio/gdataoutputstream.c:
4632 * gio/gfileinputstream.c:
4633 * gio/gfileoutputstream.c:
4634 * gio/gfilterinputstream.c:
4635 * gio/gfilteroutputstream.c:
4636 * gio/ginputstream.c:
4637 * gio/gmemoryinputstream.c:
4638 * gio/gmemoryoutputstream.c:
4639 * gio/goutputstream.c:
4640 * gio/gsimpleasyncresult.c:
4641 * gio/gsocketinputstream.c:
4642 * gio/gsocketoutputstream.c:
4643 Add guards to the remaining public functions, add a TODO for
4644 an unimplemented function and remove some useless guards.
4646 2007-11-07 Alexander Larsson <alexl@redhat.com>
4649 Autoconf checks for the various types of
4650 getpwuid_r and getgrgid_r
4652 * gio/glocalfileinfo.c:
4653 Use the autoconf checks from above
4655 2007-11-07 Alexander Larsson <alexl@redhat.com>
4658 (g_local_file_query_filesystem_info):
4659 Some fixes for the statvfs case
4661 2007-11-07 Alexander Larsson <alexl@redhat.com>
4664 (g_local_file_query_filesystem_info):
4665 Pick the "best" of statfs / statvfs for the system
4666 if both are availible.
4668 2007-11-07 Alexander Larsson <alexl@redhat.com>
4670 Solaris fixes from Halton.Huo@Sun.COM:
4677 * gio/glocalfileinfo.c:
4678 Fix for solaris definition of getpwuid_r
4680 * gio/test-streams.c:
4681 Use G_GNUC_PRETTY_FUNCTION
4683 2007-11-07 Alexander Larsson <alexl@redhat.com>
4685 * gio/gdesktopappinfo.c:
4686 (update_default_list):
4687 Remove double semicolon.
4688 Patch from Jens Granseuer
4690 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4692 * docs/reference/gio/gio-sections.txt:
4693 * gio/gbufferedinputstream.c:
4694 * gio/gbufferedinputstream.h:
4695 * gio/gdatainputstream.c:
4696 * gio/gfileenumerator.c:
4697 * gio/gioscheduler.c:
4698 * gio/gunionvolumemonitor.c:
4700 * programs/gio-save.c:
4701 Fix typo: availible -> available. Unfortuntely this breaks API
4702 and ABI as g_buffered_input_stream_get_available() was renamed.
4704 * gio/gunixmounts.c:
4705 * gio/gbufferedinputstream.c:
4706 Add guards for public functions.
4708 2007-11-06 Ross Burton <ross@openedhand.com>
4710 * docs/reference/gio/Makefile.am:
4711 Fix invalid += usage which automake 1.10 doesn't like.
4713 2007-11-06 Alexander Larsson <alexl@redhat.com>
4716 (g_app_launch_context_class_init):
4719 Patch from Ross Burton
4721 2007-11-06 Alexander Larsson <alexl@redhat.com>
4724 Post release version bump
4726 === gio-standalone 0.1.1 ===
4728 2007-11-06 Alexander Larsson <alexl@redhat.com>
4731 Bump version to 0.1.1
4733 * gio/gsimpleasyncresult.c:
4734 (g_simple_async_result_set_from_error):
4735 Remove bogus g_return_if_fail
4737 2007-11-06 Alexander Larsson <alexl@redhat.com>
4740 The name is gio-standalone
4743 Add top src/builddir to includedir
4745 2007-11-06 Alexander Larsson <alexl@redhat.com>
4747 * docs/reference/gio/gio-sections.txt:
4749 * gio/gbufferedinputstream.c:
4750 * gio/gbufferedoutputstream.c:
4751 * gio/gcancellable.c:
4752 * gio/gdatainputstream.h:
4753 * gio/gdataoutputstream.c:
4754 * gio/gdataoutputstream.h:
4755 * gio/gdirectorymonitor.c:
4757 * gio/gfileattribute.c:
4758 * gio/gfileattribute.h:
4759 * gio/gfileenumerator.c:
4760 * gio/gfileenumerator.h:
4763 * gio/gfileinputstream.h:
4764 * gio/gfilemonitor.c:
4765 * gio/gfileoutputstream.h:
4766 * gio/glocalfilemonitor.h:
4767 * gio/glocalfileoutputstream.h:
4768 * gio/gmemoryinputstream.c:
4769 * gio/gmemoryoutputstream.c:
4770 * gio/gmountoperation.c:
4771 * gio/goutputstream.c:
4772 * gio/goutputstream.h:
4774 * gio/gsimpleasyncresult.c:
4775 * gio/gunixmounts.c:
4776 * gio/gunixmounts.h:
4778 * gio/inotify/inotify-helper.c:
4779 Fix gtk-doc warnings
4781 Patch from Ross Burton
4783 2007-11-06 Alexander Larsson <alexl@redhat.com>
4785 * gio/gfilenamecompleter.c:
4786 (g_filename_completer_get_completions):
4789 * gio/gunixvolume.c:
4790 Remove unused function
4792 Patches from Ross Burton
4794 2007-11-06 Alexander Larsson <alexl@redhat.com>
4799 Padding not needed for interfaces
4801 2007-11-06 Alexander Larsson <alexl@redhat.com>
4803 * gio/gfilemonitor.c:
4807 Make giotypes.h an internal file
4810 * gio/gbufferedinputstream.h:
4811 * gio/gbufferedoutputstream.h:
4812 * gio/gcancellable.h:
4813 * gio/gdatainputstream.h:
4814 * gio/gdataoutputstream.h:
4815 * gio/gdirectorymonitor.c:
4816 * gio/gdirectorymonitor.h:
4821 * gio/gfileattribute.h:
4822 * gio/gfileenumerator.h:
4827 * gio/gfilemonitor.c:
4828 * gio/gfilemonitor.h:
4829 * gio/gfilenamecompleter.c:
4830 * gio/gfilenamecompleter.h:
4831 * gio/gfilterinputstream.h:
4832 * gio/gfilteroutputstream.h:
4833 * gio/ginputstream.h:
4834 * gio/gmemoryinputstream.h:
4835 * gio/gmemoryoutputstream.h:
4836 * gio/gmountoperation.c:
4837 * gio/gmountoperation.h:
4838 * gio/gnativevolumemonitor.c:
4839 * gio/goutputstream.h:
4842 * gio/gsimpleasyncresult.c:
4843 * gio/gsimpleasyncresult.h:
4844 * gio/gsocketinputstream.h:
4845 * gio/gsocketoutputstream.h:
4846 * gio/gthemedicon.c:
4847 * gio/gthemedicon.h:
4851 * gio/gvolumemonitor.c:
4852 * gio/gvolumemonitor.h:
4853 Add padding in classes where it seems useful
4854 Don't include giotypes.h from public headers
4855 Move in Class definitions into c file where possible
4860 2007-11-06 Alexander Larsson <alexl@redhat.com>
4862 * docs/reference/gio/gio-docs.xml:
4863 Better structure for API docs
4865 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4868 * gio/gloadableicon.c:
4869 * gio/gsimpleasyncresult.c:
4870 * gio/gthemedicon.c:
4871 Add some more guards to public functions. Only files missing are now
4874 2007-11-06 Alexander Larsson <alexl@redhat.com>
4876 * docs/reference/gio/gio-docs.xml:
4877 Remove old files, add missing ones
4879 2007-11-06 Alexander Larsson <alexl@redhat.com>
4881 * docs/reference/gio/gio-sections.txt:
4884 Hide implementation classes
4886 * gio/gdriveprivate.h:
4887 * gio/gvolumeprivate.h:
4888 Remove non-existing function declarations
4890 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4893 Fix compilation warnings and add guards to the new functions.
4895 * gio/gasyncresult.c:
4897 Add guards to the public functions.
4900 Implement get_path().
4902 2007-11-06 Alexander Larsson <alexl@redhat.com>
4904 * gio/gfilenamecompleter.c:
4905 Make g_filename_completer_get_completions
4906 return char ** instead of GList for
4909 * docs/reference/gio/gio-docs.xml:
4910 * docs/reference/gio/gio-sections.txt:
4912 * gio/gasyncresult.c:
4913 * gio/gbufferedinputstream.c:
4914 * gio/gbufferedoutputstream.c:
4915 * gio/gcancellable.c:
4916 * gio/gcontenttype.c:
4917 * gio/gdatainputstream.c:
4918 * gio/gdataoutputstream.c:
4919 * gio/gdesktopappinfo.c:
4920 * gio/gdirectorymonitor.c:
4924 * gio/gfileattribute.c:
4925 * gio/gfileenumerator.c:
4928 * gio/gfileinputstream.c:
4929 * gio/gfilemonitor.c:
4930 * gio/gfilenamecompleter.c:
4931 * gio/gfilenamecompleter.h:
4932 * gio/gfileoutputstream.c:
4933 * gio/gfilterinputstream.c:
4935 * gio/ginputstream.c:
4937 * gio/gioscheduler.c:
4938 * gio/gloadableicon.c:
4939 * gio/glocaldirectorymonitor.c:
4941 * gio/glocalfileinputstream.c:
4942 * gio/glocalfilemonitor.c:
4943 * gio/glocalfileoutputstream.c:
4945 * gio/gmemoryinputstream.c:
4946 * gio/gmemoryoutputstream.c:
4947 * gio/gmountoperation.c:
4948 * gio/goutputstream.c:
4949 * gio/gpollfilemonitor.c:
4951 * gio/gsimpleasyncresult.c:
4952 * gio/gsocketinputstream.c:
4953 * gio/gsocketoutputstream.c:
4954 * gio/gthemedicon.c:
4955 * gio/gunionvolumemonitor.c:
4957 * gio/gunixmounts.c:
4958 * gio/gunixvolume.c:
4959 * gio/gunixvolumemonitor.c:
4963 * gio/gvolumemonitor.c:
4964 * gio/gwin32appinfo.c:
4965 Add (mostly stub) doc strings to public functions.
4966 Patch from Andrew Walton (awalton@gmail.com)
4968 2007-11-06 Alexander Larsson <alexl@redhat.com>
4970 * gio/gappinfo.[ch]:
4971 Added GAppLaunchContext object and pass that to launch.
4972 This allows simple implementation of both
4973 launch-on-screen and startup notification via a gtk+
4974 subclass of GAppLaunchContext
4976 * gio/gdesktopappinfo.c:
4977 Implement GAppLaunchContext API
4979 * gio/gwin32appinfo.c:
4982 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4984 * gio/gmountoperation.c:
4985 Add some guards to GMountOperation's public functions.
4987 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4991 * gio/gcancellable.c:
4992 * gio/gdirectorymonitor.c:
4994 * gio/gfileenumerator.c:
4995 * gio/gfilemonitor.c:,
4996 * gio/gfilenamecompleter.c:
4999 * gio/gioscheduler.c:
5003 * gio/gvolumemonitor.c:
5004 Add even more guards to various public functions.
5006 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5009 Add guards to the public functions of GAppInfo.
5011 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5013 * gio/gcontenttype.c:
5014 Add some more guards for public functions.
5016 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5018 * gio/fam/fam-module.c:
5019 * gio/fam/gfamdirectorymonitor.c:
5020 * gio/fam/gfamdirectorymonitor.h:
5021 * gio/fam/gfamfilemonitor.c:
5022 * gio/fam/gfamfilemonitor.h:
5023 * gio/inotify/ginotifydirectorymonitor.c:
5024 * gio/inotify/ginotifydirectorymonitor.h:
5025 * gio/inotify/ginotifyfilemonitor.c:
5026 * gio/inotify/ginotifyfilemonitor.h:
5027 Add proper copyright information and remove an unused variable
5028 in the GInotifyFileMonitor constructor.
5030 * gio/gcancellable.c:
5031 Add a guard for a public function and an assertion to prevent
5032 an undefined program state.
5034 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5036 * gio/gfileattribute.c:
5037 Don't run into an assertion if the given attribute value is NULL
5038 in g_file_attribute_value_get_*() but instead return a fallback
5039 value that makes sense in most situations. Passing them a attribute
5040 value with the wrong type will still run into an assertion.
5042 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5044 * gio/gfileattribute.c:
5046 Add even more guards to the public functions. Also fix the refcounting
5047 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5048 let g_file_info_list_attributes() filter the attributes by namespace
5049 instead of simply ignoring the namespace parameter.
5051 2007-11-03 Sven Herzberg <sven@imendio.com>
5053 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5054 (This makes gio work on MacOS X again)
5056 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5059 Build the gio subdirectory before the docs. Otherwise the build will
5062 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5063 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5064 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5065 Add guards to the public functions.
5067 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5069 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5070 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5071 to prevent a compiler warning.
5073 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5074 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5075 return something in the non-void function find_topdir_for().
5077 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5084 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5086 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5087 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5088 * gwin32appinfo.c (g_win32_app_info_launch):
5089 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5090 envp_for_startup_id, g_desktop_app_info_launch,
5091 g_desktop_app_info_launch_uris):
5093 Give an opaque 'startup_id' string instead of 'envp'.
5094 Support empty file lists for launching new windows.
5095 Fix infinite recursion bug when launching URIs.
5097 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5100 Add guard to the new g_file_get_uri_scheme() function.
5102 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5105 Convert a g_return_val_if_fail() to setting the GError instead as
5106 otherwise applications have to verify the parameter before otherwise
5107 and the parameter might come directly from the user.
5109 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5111 * gio/inotify/ginotify*.[ch]:
5112 Add missing copyright information.
5114 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5117 Add guards in the beginning of public functions to check for valid
5118 parameters and fix a bug in copy_stream_with_progress() that could've
5119 caused writing less bytes than reading.
5120 * gio/glocalfileinfo.c:
5121 Check for a NULL parameter and set the GError accordingly then.
5122 * gio/goutputstream.c:
5123 Fix the same bug as in gfile.c that could've caused writing less bytes
5124 than reading in g_output_stream_real_splice().
5126 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5129 Use the correct gvolumeprivate.h naming
5131 2007-11-01 Christian Kellner <gicmo@gnome.org>
5134 Remove leftover "$(daemon_sources)" entry.
5136 2007-11-01 Christian Kellner <gicmo@gnome.org>
5141 Add copyright information to source files.
5143 2007-11-01 Alexander Larsson <alexl@redhat.com>
5147 Add g_file_get_uri_scheme
5149 2007-11-01 Alexander Larsson <alexl@redhat.com>
5152 * gio/gdesktopappinfo.c:
5153 * gio/gwin32appinfo.c:
5154 Add g_app_info_get_default_for_uri_scheme.
5156 2007-11-01 Alexander Larsson <alexl@redhat.com>
5159 Correct filename for gdriveprivate.h
5161 2007-10-31 Alexander Larsson <alexl@redhat.com>
5164 Rename id:value to id:file
5167 * gio/glocalfileinfo.c:
5170 2007-10-31 Alexander Larsson <alexl@redhat.com>
5172 * gio/gunixvolume.c:
5174 Remove g_volume_get_platform_id, as thats not
5175 needed with the simpler union volume monitor
5177 2007-10-31 Alexander Larsson <alexl@redhat.com>
5180 * gio/guniondrive.[ch]: Removed.
5181 * gio/gunionvolume.[ch]: Removed.
5182 Remove GUnionDrive/Volume
5184 * gio/gunionvolumemonitor.c:
5185 Simplify union volume monitor, now we
5186 only have one native volume monitor and
5187 we use the actual volumes/drives from the
5188 child monitors instead of wrapping them
5190 * gio/gnativevolumemonitor.[ch]:
5191 Base class for native volume monitors.
5192 Includes priority and get_volume_for_mountpoint
5195 Add g_file_find_enclosing_volume
5198 Remove volume name fs attribute
5199 Add readonly fs attribute
5202 Implement readonly attribute
5203 remove volume name attribute
5204 Implement find_enclosing volume
5206 * gio/gunixmounts.c:
5207 Add a volume for "/".
5209 * gio/gunixvolume.[ch]:
5210 Set better name for /
5212 * gio/gunixvolumemonitor.[ch]:
5213 Derive from GNativeVolumeMonitor
5214 Implement get_volume_for_mountpoint
5217 GVolume typedef moved to gfile.h
5219 * gio/gvolumeprivate.h:
5220 Add g_volume_get_for_mount_path
5222 2007-10-31 Alexander Larsson <alexl@redhat.com>
5224 * gio/gunixmounts.[ch]:
5225 Add cache info to unix mount listers
5226 Make getmntent use threadsafe
5227 Add is_system_internal attribute for GUnixMount
5229 * gio/gunixvolume.c:
5230 (g_unix_volume_new):
5231 Use is_system_internal instead of own code
5233 * gio/glocaldirectorymonitor.c:
5234 * gio/gunixvolumemonitor.c:
5235 Update to new gunixmounts API
5240 2007-10-30 Alexander Larsson <alexl@redhat.com>
5243 Add volume name fsinfo attribute
5246 Read volume name info
5248 * gio/gunionvolumemonitor.c:
5249 Fix infinite loops when finalizing a union volume monitor
5251 2007-10-30 Alexander Larsson <alexl@redhat.com>
5253 * gio/goutputstream.[ch]:
5254 Add splice() with default implementation
5256 * gio/gsocketoutputstream.c:
5257 (g_socket_output_stream_write):
5258 Return error on cancellation correctly.
5260 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5262 * gio/glocalfile.c (g_local_file_trash):
5263 Do not leak a string.
5265 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5267 * gio/gfile.c (g_file_load_contents):
5268 Unref the stream after closing it.
5270 2007-10-25 Alexander Larsson <alexl@redhat.com>
5272 * gio/gioscheduler.h:
5275 2007-10-25 Alexander Larsson <alexl@redhat.com>
5279 Add g_file_has_uri_scheme and implement for local files
5281 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5283 * gio/gdesktopappinfo.c: do not leak a string.
5285 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5287 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5288 (g_local_directory_monitor_new):
5289 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5290 (g_local_file_monitor_new):
5291 Only look for the monitor type that should be used the first time
5292 and use g_qsort_with_data() instead of our own bubble sort
5295 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5298 * gio/fam/Makefile.am:
5299 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5300 * gio/fam/fam-helper.h:
5301 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5302 * gio/fam/gfamdirectorymonitor.c:
5303 * gio/fam/gfamdirectorymonitor.h:
5304 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5305 * gio/fam/gfamfilemonitor.h:
5306 * gio/glocaldirectorymonitor.c:
5307 * gio/glocaldirectorymonitor.h:
5308 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5309 * gio/glocalfilemonitor.h:
5310 * gio/inotify/Makefile.am:
5311 * gio/inotify/ginotifydirectorymonitor.c:
5312 * gio/inotify/ginotifydirectorymonitor.h:
5313 * gio/inotify/ginotifyfilemonitor.c:
5314 * gio/inotify/ginotifyfilemonitor.h:
5315 Implement the FAM and Inotify monitors as
5316 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5317 their own GIO module. GLocal(Directory|File)Monitor will use the
5318 monitor with the highest rank that is supported on that machine.
5320 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5323 Change GIO module dir to $(libdir)/gio/modules and change
5324 the log domain from GVFS to GIO. Also only export symbols starting
5325 with g_ in the resulting library.
5326 * gio/test-streams.c: (main):
5327 Set log handler for the GIO log domain.
5329 2007-10-22 Alexander Larsson <alexl@redhat.com>
5331 * gio/gfilenamecompleter.[ch]:
5332 Add g_filename_completer_set_dirs_only
5334 2007-10-22 Alexander Larsson <alexl@redhat.com>
5337 * gio/gurifuncs.[ch]:
5338 Add some simple URI helpers
5340 * gio/gfilenamecompleter.[ch]:
5341 Added object for filename (parse name actually) completion
5344 Handle ~ in parse names
5346 2007-10-17 Alexander Larsson <alexl@redhat.com>
5349 * gio/glocalfileinfo.c:
5350 Add and implement id:value attribute
5352 2007-10-17 Alexander Larsson <alexl@redhat.com>
5355 * gio/guniondrive.c:
5357 Add and implement g_drive_has_volumes
5359 2007-10-17 Alexander Larsson <alexl@redhat.com>
5362 * gio/glocalfileinfo.[ch]:
5363 Add unix:is_mountpoint and implement for local files
5365 2007-10-16 Alexander Larsson <alexl@redhat.com>
5367 * gio/gunionvolumemonitor.c:
5368 (g_union_volume_monitor_init):
5369 Fix up the unix type getting so that it works with gcc
5371 2007-10-12 Alexander Larsson <alexl@redhat.com>
5374 * gio/glocalfileinfo.c:
5375 Add thumbnail:failed to file info
5377 2007-10-12 Richard Hult <richard@imendio.com>
5379 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5380 optimizing away the get_type call (happens with some gcc versions,
5381 like the one shipped with OS X 10.4).
5383 2007-10-12 Alexander Larsson <alexl@redhat.com>
5385 * gio/glocalfileinfo.c:
5386 (_g_local_file_info_set_attribute):
5387 Fix build if not HAVE_XATTR
5388 Patch from Milosz Derezynski <internalerror@gmail.com>
5390 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5392 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5393 around for review, otherwise I would have asked you before
5396 2007-10-11 Alexander Larsson <alexl@redhat.com>
5399 Add thumbnail:path attribute
5401 * gio/glocalfileinfo.c:
5402 Implement thumbnail:path for local files
5404 2007-10-11 Alexander Larsson <alexl@redhat.com>
5406 * gio/glocalfileinfo.c:
5407 (_g_local_file_info_get):
5408 Avoid duplicate icon names
5410 2007-10-11 Alexander Larsson <alexl@redhat.com>
5412 * gio/gthemedicon.[ch]:
5413 Change g_themed_icon_get_names return type to const
5415 2007-10-10 Alexander Larsson <alexl@redhat.com>
5417 * gio/glocalfileinfo.c:
5418 Don't reference freed memory
5420 2007-10-10 Alexander Larsson <alexl@redhat.com>
5422 * gio/gfileattribute.c:
5425 * gio/glocalfileinfo.c:
5428 2007-10-10 Alexander Larsson <alexl@redhat.com>
5431 Check for NULL icons
5433 * gio/gfileattribute.c:
5434 Don't dup when getting objects (same as for string attributes)
5436 * gio/gicon.c (g_icon_equal):
5437 Safely handle NULLs in equal
5439 2007-10-10 Alexander Larsson <alexl@redhat.com>
5442 Fix c++ compilation issues
5443 Patch from Milosz Derezynski <internalerror@gmail.com>
5445 2007-10-10 Alexander Larsson <alexl@redhat.com>
5447 * programs/gio-monitor-dir.c:
5448 Don't crash if dir monitor not supported.
5450 2007-10-09 Alexander Larsson <alexl@redhat.com>
5453 Add missing G_END_DECLS
5455 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5457 * gio/gfile.c: (g_file_set_display_name),
5458 (g_file_query_settable_attributes),
5459 (g_file_query_writable_namespaces):
5460 Return NULL not FALSE on errors as the return type is a pointer.
5462 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5464 * gio/glocalfile.c: (g_local_file_monitor_file):
5465 Don't call monitor_file on the default interface vtable (which
5466 is NULL) but simply return NULL. The caller, GFile, will create a
5467 polling monitor if NULL is returned.
5469 2007-10-09 Alexander Larsson <alexl@redhat.com>
5473 * gio-unix-2.0.pc.in:
5474 Add gio-unix-2.0.pc if OS_UNIX
5477 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5479 2007-10-09 Alexander Larsson <alexl@redhat.com>
5481 * gio/gunixmounts.[ch]:
5482 Make unix mount monitoring API sane.
5483 Now its just a object with mounts_changed
5484 and mountpoints_changed signals.
5486 * gio/glocaldirectorymonitor.c:
5487 * gio/gunixvolumemonitor.c:
5488 Use new mount monitor api
5490 2007-10-09 Alexander Larsson <alexl@redhat.com>
5492 * gio/gunixmounts.[ch]:
5493 Move guess type into one call for mounts and one for mountpoints
5496 * gio/gunixvolume.c:
5499 2007-10-09 Alexander Larsson <alexl@redhat.com>
5501 * gio/gunixmounts.[ch]:
5502 Remove _ prefix in preparation to make this semi-public
5503 Hide implementation of structs
5505 * gio/glocaldirectorymonitor.c:
5507 * gio/gunixvolume.c:
5508 * gio/gunixvolumemonitor.c:
5509 Update for above API changes
5511 2007-10-08 Alexander Larsson <alexl@redhat.com>
5514 Better polling fallback. This also handles the case where we have
5515 a monitor_file implementation, but it fails.
5517 2007-10-08 Alexander Larsson <alexl@redhat.com>
5521 * gio/gunixmounts.c:
5522 * programs/gio-monitor-dir.c:
5523 * programs/gio-monitor-file.c:
5524 Added cancellable to file monitoring calls.
5525 These are really sync calls and need this.
5527 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5529 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5530 (g_local_vfs_class_init):
5531 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5532 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5534 2007-10-05 Alexander Larsson <alexl@redhat.com>
5536 * gio/gdirectorymonitorprivate.h:
5537 * gio/gfilemonitorprivate.h:
5538 * gio/gdirectorymonitor.h:
5539 * gio/gfilemonitor.h:
5540 Remove *private.h and move to the public API, so that
5541 we can do implementations outside gio (such as in gvfs)
5543 * gio/gdirectorymonitor.c:
5544 * gio/gfilemonitor.c:
5545 * gio/glocaldirectorymonitor.c:
5546 * gio/gpollfilemonitor.c:
5547 * gio/inotify/inotify-helper.c:
5548 * gio/fam/fam-helper.c:
5549 Update to the new header names
5551 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5553 * gio/gdirectorymonitor.c:
5554 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5557 2007-10-04 Alexander Larsson <alexl@redhat.com>
5559 * gio/glocalfileinfo.c (get_access_rights):
5560 Set CAN_TRASH when we can move the file.
5561 We should really also check for a parent trash dir.
5563 2007-10-04 Alexander Larsson <alexl@redhat.com>
5565 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5566 Add can_trash access attribute
5568 2007-10-04 Alexander Larsson <alexl@redhat.com>
5571 (g_local_file_trash):
5572 Create info file first. This is per-spec and allows
5573 us to actually trash directories.
5575 2007-10-02 Alexander Larsson <alexl@redhat.com>
5577 * gio/gdesktopappinfo.c:
5578 Implement the new mime support code.
5579 Always set app as handling mimetype when being set as default for it
5581 2007-10-01 Alexander Larsson <alexl@redhat.com>
5583 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5584 Fix up check for xattrs:
5586 2007-10-01 Alexander Larsson <alexl@redhat.com>
5589 (g_app_info_set_as_default_for_extension):
5590 (g_app_info_add_supports_type):
5591 (g_app_info_can_remove_supports_type):
5592 (g_app_info_remove_supports_type):
5593 Make these fail nicely if not implemented
5595 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5597 * gio/glocalfileoutputstream.c:
5598 * gio/glocalfileoutputstream.h:
5603 * programs/gio-save.c:
5604 Add a GFileCreateFlags argument to operations that can create
5607 2007-10-01 Alexander Larsson <alexl@redhat.com>
5609 * gio/gappinfo.[ch]:
5610 * gio/gdesktopappinfo.c:
5611 Add more (stubbed out) mime API needed for nautilus
5613 2007-10-01 Alexander Larsson <alexl@redhat.com>
5616 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5617 Add g_app_info_set_as_default_for_extension.
5619 * gio/gdesktopappinfo.c:
5620 Dummy for g_app_info_set_as_default_for_extension
5621 Support flags in g_app_info_create_from_commandline
5623 * gio/gwin32appinfo.c:
5625 Update for API changes
5627 * gio/gthemedicon.c:
5628 Properly NULL-terminate list of icon names
5630 2007-09-28 Alexander Larsson <alexl@redhat.com>
5632 * gio/gloadableicon.h:
5633 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5635 2007-09-28 Alexander Larsson <alexl@redhat.com>
5638 Install headers in $includedir/gio-standalone/
5640 * gio-2.0.pc.in: Added.
5641 * gio-standalone.pc.in: Removed.
5644 Renamed pkg-config file to match glib (for future move)
5645 Update to the new include dir
5648 Add more TODO comments
5650 2007-09-28 Alexander Larsson <alexl@redhat.com>
5652 * gio/gdesktopappinfo.[ch]:
5653 Expose new_from_filename
5654 Add getter for is_hidden and handle it better
5656 2007-09-28 Alexander Larsson <alexl@redhat.com>
5658 * gio/gfileinfo.[ch]:
5659 Rename g_file_size_format_for_display to
5660 g_format_file_size_for_display.
5661 Now it doesn't have the g_file prefix, so we
5662 can later move it to glib.
5664 2007-09-28 Alexander Larsson <alexl@redhat.com>
5666 * gio/gappinfo.[ch]:
5667 Add g_app_info_get_id and g_app_info_get_executable.
5668 Make all getters non-reffing
5669 Make g_app_info_launch take GFile arguments.
5670 Add must_support_uris argument to g_app_info_get_default_for_type.
5672 * gio/gwin32appinfo.c:
5673 Update to GAppInfo api changes
5675 * gio/gdesktopappinfo.c:
5676 Update to GAppInfo api changes
5677 Implement supports_xdg_startup_notify
5679 * gio/gfileicon.c (g_file_icon_get_file):
5680 Make getter non-reffing.
5685 2007-09-27 Alexander Larsson <alexl@redhat.com>
5687 * gio/gfileinfo.[ch]:
5688 Add g_file_size_format_for_display helper
5690 2007-09-27 Alexander Larsson <alexl@redhat.com>
5692 * gio/glocalfileinfo.c:
5693 Set UNIX_GID from gid, not from uid
5695 2007-09-27 Alexander Larsson <alexl@redhat.com>
5698 Add g_file_set_attributes_async
5700 2007-09-27 Alexander Larsson <alexl@redhat.com>
5702 * gio/glocalfile.c (g_local_file_set_display_name):
5703 Fix set_display_name to actually rename to the right place.
5704 Use lstat to look for existing files so we don't overwrite
5707 2007-09-26 Alexander Larsson <alexl@redhat.com>
5710 Add g_file_set_display_name_async()
5712 2007-09-26 Alexander Larsson <alexl@redhat.com>
5715 Add load_partial_contents async calls
5718 Make internal function static
5720 2007-09-26 Alexander Larsson <alexl@redhat.com>
5722 * gio/glocalfileinfo.c:
5723 Correctly detect broken symlinks
5725 2007-09-26 Alexander Larsson <alexl@redhat.com>
5727 * gio/gcancellable.c (g_cancellable_cancel):
5728 Allow cancel on NULL cancellable
5730 2007-09-25 Alexander Larsson <alexl@redhat.com>
5732 * gio/gsimpleasyncresult.c:
5733 Don't allocate g_error manually.
5734 Fixes g_slice/g_new mixup crash
5736 2007-09-25 Alexander Larsson <alexl@redhat.com>
5738 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5739 Actually set active_backend.
5740 This means the monitor will be cancelled correctly.
5742 2007-09-25 Alexander Larsson <alexl@redhat.com>
5744 * gio/gdirectorymonitor.c:
5745 Set timeout to NULL when destroying
5747 2007-09-25 Alexander Larsson <alexl@redhat.com>
5750 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5751 that is a better description of the error.
5753 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5755 * gio/gvfs.c: (g_vfs_get_local):
5756 Make the local vfs variable static. The same instance should
5759 2007-09-24 Alexander Larsson <alexl@redhat.com>
5761 * gio/glocalfileinfo.c:
5762 Pass in actual length read into sniffer, not the length
5765 2007-09-21 Alexander Larsson <alexl@redhat.com>
5767 * gio/gfileenumerator.c:
5770 * gio/gfileinputstream.c:
5771 * gio/gfileoutputstream.c:
5772 * gio/ginputstream.c:
5773 * gio/goutputstream.c:
5774 Don't crash if async callbacks are NULL
5776 2007-09-20 Alexander Larsson <alexl@redhat.com>
5779 Add async enumerate_children method and default
5782 2007-09-20 Alexander Larsson <alexl@redhat.com>
5785 Add g_file_contains_file & g_file_get_relative_path, since they
5786 were needed for nautilus.
5787 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5792 Implement new methods
5794 2007-09-17 Alexander Larsson <alexl@redhat.com>
5797 * gio/gfileinputstream.[ch]:
5798 * gio/gfileoutputstream.[ch]:
5800 * gio/glocalfileenumerator.[ch]:
5801 * gio/glocalfileinfo.[ch]:
5802 * gio/glocalfileinputstream.c:
5803 * gio/glocalfileoutputstream.c:
5804 * gio/gpollfilemonitor.c:
5805 * programs/gio-copy.c:
5806 * programs/gio-info.c:
5807 * programs/gio-move.c:
5808 Rename get_file_info to query_info() to make it clearer
5809 that these are not simple getters, but do i/o.
5811 2007-09-17 Alexander Larsson <alexl@redhat.com>
5813 * gio/gdatainputstream.[ch]:
5814 * gio/test-streams.c:
5815 Use _read_XXX instead of _get_XXX for the i/o calls
5818 2007-09-17 Alexander Larsson <alexl@redhat.com>
5821 Added needed stuff to TODO comment
5823 2007-09-17 Alexander Larsson <alexl@redhat.com>
5825 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5826 Don't error out removing the backup copy if it doesn't
5829 2007-09-14 Alexander Larsson <alexl@redhat.com>
5831 * programs/Makefile.am:
5832 * programs/gvfs-*.c:
5834 Renamed apps from gvfs-xxx to gio-xxx.
5836 2007-09-14 Alexander Larsson <alexl@redhat.com>
5839 * gio/gfileoutputstream.[ch]:
5840 * gio/glocalfileoutputstream.c:
5841 * programs/gvfs-save.c:
5842 g_file_output_stream_get_etag doesn't do i/o, so remove
5843 cancellation and error.
5845 2007-09-14 Alexander Larsson <alexl@redhat.com>
5848 Add new_etag output to replace_contents functions
5850 2007-09-14 Alexander Larsson <alexl@redhat.com>
5852 * gio/gfileoutputstream.[ch]:
5853 Add async get_file_info and default implementation
5855 2007-09-14 Alexander Larsson <alexl@redhat.com>
5857 * gio/gfileinputstream.c:
5858 Implement fallback wrapper for async get_file_info
5860 2007-09-14 Alexander Larsson <alexl@redhat.com>
5863 Add etag out argument to load_contents
5868 2007-09-14 Alexander Larsson <alexl@redhat.com>
5870 * gio/gcontenttype.c (looks_like_text):
5871 Whitespace like tab, cr and lf do not make the
5874 2007-09-14 Alexander Larsson <alexl@redhat.com>
5876 * gio/gfileinputstream.[ch]:
5877 Add async get_file_info.
5879 2007-09-13 Alexander Larsson <alexl@redhat.com>
5881 * gio/goutputstream.c (g_output_stream_write_all):
5882 Allow NULL for bytes_written
5884 2007-09-13 Alexander Larsson <alexl@redhat.com>
5886 * gio/gmemoryinputstream.[ch]:
5887 Add accessors for data
5889 2007-09-13 Alexander Larsson <alexl@redhat.com>
5891 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5892 Don't crash if length is NULL