1 2009-02-26 Alexander Larsson <alexl@redhat.com>
3 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
4 * gmemoryoutputstream.c:
5 Track actual valid size, even if we later seek back.
7 * tests/memory-output-stream.c:
10 2009-02-26 Alexander Larsson <alexl@redhat.com>
12 Bug 543183 – Clarify docs for g_file_has_prefix
14 * gfile.c: (g_file_has_prefix):
15 Clarify how the prefix matching works.
17 2009-02-26 Alexander Larsson <alexl@redhat.com>
20 Support desktop file key X-GIO-NoFuse which disables
21 use of fuse pathnames for %u and %U arguments.
23 2009-02-25 Alexander Larsson <alexl@redhat.com>
25 Bug 570073 – Add support for reading filesystems on Interix
27 * gunixmounts.c (_g_get_unix_mounts):
28 Support Interix. Patch from Fabian Groffen
30 2009-02-25 Paolo Borelli <pborelli@katamail.com>
32 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
34 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
36 2009-02-23 Alexander Larsson <alexl@redhat.com>
39 Remove accidentally commited spew
41 2009-02-20 Alexander Larsson <alexl@redhat.com>
44 (g_content_type_guess):
45 Don't ever sniff desktop files when the filename is known.
46 In other words, only allow desktop files with the .desktop extension
47 and when the filename isn't known.
48 This is a security precaution since desktop files can execute
49 arbitrary code when launched and we don't want to allow them to
50 try and hide as another type. There is no legit reason to not
51 have the .desktop extension anyway.
53 2009-02-19 Alexander Larsson <alexl@redhat.com>
55 Bug 549298 – impossible to copy files with p (pipe) flag
59 Error out if the source file is a special file
61 2009-02-18 Alexander Larsson <alexl@redhat.com>
63 Bug 560564 – Replacing a symlink with its linked file truncates the original file
66 Add G_FILE_CREATE_REPLACE_DESTINATION
68 * glocalfileoutputstream.c:
69 (handle_overwrite_open):
70 (_g_local_file_output_stream_replace):
71 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
75 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
78 2009-02-17 Ryan Lortie <desrt@desrt.ca>
80 * gfileinfo.c: unref the destination's attribute matcher before
83 2009-02-17 Matthias Clasen <mclasen@redhat.com>
85 * === Released 2.19.8 ===
87 2009-02-17 Matthias Clasen <mclasen@redhat.com>
89 * gio.symbols: Add missing exports for new API
91 * gdatainputstream.c: Add missing Since: tags.
93 2009-02-16 Matthias Clasen <mclasen@redhat.com>
95 * === Released 2.19.7 ===
97 2009-02-16 Matthias Clasen <mclasen@redhat.com>
99 * gmountoperation.[hc]: Add an "aborted" signal to abort a
100 mount operation from the backend side.
102 * gvolume.h: Add docs regarding the "aborted" signal.
104 2009-02-16 Ryan Lortie <desrt@desrt.ca>
106 Bug 505042 – add file attribute for actually used file size in bytes
108 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
109 "standard::allocated-size"
110 * gfileattribute.c: document
111 * glocalfileinfo.c: set the allocated size from st_blocks * 512
113 2009-02-16 Ryan Lortie <desrt@desrt.ca>
115 Bug 571598 – GAsyncResult with NULL gobject
117 * gsimpleasyncresult.c: remove various assertions and add some checks
118 to allow for a NULL source_object in GSimpleAsyncResult.
120 2009-02-11 Matthias Clasen <mclasen@redhat.com>
122 Bug 541225 – Can't compile gio on AIX : duplicate case value in
125 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
126 Reported by Nicolas Joseph
128 2009-02-04 Alexander Larsson <alexl@redhat.com>
130 Bug 566747 - URIs opened with firefox %u load as local files
132 * gdummyfile.c (g_dummy_file_get_path):
133 Dummy files are never used for local paths, so always return NULL
136 2009-02-02 Matthias Clasen <mclasen@redhat.com>
138 * === Released 2.19.6 ===
140 2009-01-31 Paolo Borelli <pborelli@katamail.com>
142 * glocalfileinfo.c: plug a tiny mem leak.
144 2009-01-29 Ryan Lortie <desrt@desrt.ca>
146 * gioerror.c (g_io_error_from_errno): handle all possible cases of
147 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
149 2009-01-28 Ryan Lortie <desrt@desrt.ca>
151 Bug 568575 – _async functions for GDataInputStream
153 * gdatainputstream.h:
154 * gdatainputstream.c: add _async versions of read_line and read_until.
156 * ../docs/reference/gio/gio-sections.txt: add new functions
157 * tests/sleepy-stream.c: new test case for async read line
158 * tests/Makefile.am: add new test
160 2009-01-22 Ryan Lortie <desrt@desrt.ca>
162 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
164 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
165 g_buffered_input_stream_fill): check for count < -1 instead of count <
166 0 and copy modified check to non-async version for consistency.
167 document the "count = -1" API.
169 2009-01-22 Ryan Lortie <desrt@desrt.ca>
171 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
173 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
174 after we have successfully read data from the base stream
176 2009-01-20 Ryan Lortie <desrt@desrt.ca>
178 Bug 568394 – dropping the last reference to a stream filter closes the
181 * gfilterinputstream.h:
182 * gfilterinputstream.c: add "close-base-stream" property and only
183 close the base stream if it is true. issue async close callbacks from
184 correct source object.
185 * gfilteroutputstream.h:
186 * gfilteroutputstream.c: add a "close-base-stream" property and only
187 close the base stream if it is true. issue async close callbacks from
188 correct source object.
189 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
190 before closing the base stream. fix invalid source tag comparison in
191 close_async (was comparing to flush_async).
192 * ../docs/reference/gio/gio-sections.txt:
194 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
195 * tests/filter-streams.c: new test cases
196 * tests/Makefile.am: add new test
197 * tests/.gitignore: add new test
199 2009-01-19 Matthias Clasen <mclasen@redhat.com>
201 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
203 2009-01-19 Matthias Clasen <mclasen@redhat.com>
205 * === Released 2.19.5 ===
207 2009-01-19 Matthias Clasen <mclasen@redhat.com>
209 * gappinfo.h: Document get_commandline vfunc
211 2009-01-19 Matthias Clasen <mclasen@redhat.com>
213 * gunixmounts.c: Some stylistic fixes.
215 2009-01-08 Matthias Clasen <mclasen@redhat.com>
217 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
218 functions in non-UTF8 locale
220 * xdgmime/xdgmimecache.c:
221 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
223 2009-01-08 Matthias Clasen <mclasen@redhat.com>
225 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
227 2009-01-07 Matthias Clasen <mclasen@redhat.com>
229 Bug 566770 – error code 0 for Too many open files is useless
231 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
232 Requested by Olivier Sessink.
234 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
236 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
237 G_IO_ERROR_TOO_MANY_OPEN_FILES.
239 2009-01-05 Matthias Clasen <mclasen@redhat.com>
241 * === Released 2.19.4 ===
243 2009-01-05 Dan Winship <danw@gnome.org>
245 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
246 "const char **" to avoid a warning.
248 * gemblem.c (g_emblem_from_tokens):
249 * gemblemedicon.c (g_emblemed_icon_from_tokens):
250 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
253 2009-01-05 Matthias Clasen <mclasen@redhat.com>
255 Bug 566064 – Add NOATIME flag to query_info_flags
257 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
258 sniffing for mime types. Based on a patch by A. Walton
260 2009-01-05 Ryan Lortie <desrt@desrt.ca>
262 * tests/.gitignore: improve
263 * tests/Makefile.am: add new simple-async-result test
264 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
266 2009-01-05 Ryan Lortie <desrt@desrt.ca>
269 * ../docs/reference/gio/gio-sections.txt:
270 * gsimpleasyncresult.h:
271 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
272 Implementation by Dan Winship. Closes #566170.
274 2008-12-31 Matthias Clasen <mclasen@redhat.com>
278 * gunixinputstream.c:
279 * gunixoutputstream.c: Add a note about being UNIX-specific.
281 2008-12-15 Matthias Clasen <mclasen@redhat.com>
283 * === Released 2.19.3 ===
285 2008-12-12 Dan Winship <danw@gnome.org>
287 * pltcheck.sh: make this work on x86_64
289 2008-12-12 Ryan Lortie <desrt@desrt.ca>
291 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
294 2008-12-12 Ryan Lortie <desrt@desrt.ca>
296 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
297 multiple mount entries match the requested path
299 2008-12-10 Alexander Larsson <alexl@redhat.com>
301 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
302 g_simple_async_result_run_in_thread
304 * gsimpleasyncresult.c:
305 Make g_simple_async_result_run_in_thread check cancellation before
306 calling out to the user in the callback. This means we guarantee
307 reporting cancels of async operations from the main threads, which
308 is probably more in line with what users expect.
310 Note that there are still no such guarantees for cancelling sync
311 operations or cancelling async operation from outside the main
312 thread. Furthermore, the exact behaviour of async implementations
313 not using run_in_thread may differ.
315 2008-12-09 Alexander Larsson <alexl@redhat.com>
317 Bug 515777 - incorrect date&time on copy
320 (g_local_file_class_init):
321 Copy mtime by default
324 Change docs about G_FILE_COPY_ALL_METADATA to not mention
327 2008-12-08 Matthias Clasen <mclasen@redhat.com>
329 Bug 558298 – Hide ecryptfs mounts
331 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
332 so that the desktop does not show both the mount and the target
333 directory. Patch by Martin Pitt
335 2008-12-08 Matthias Clasen <mclasen@redhat.com>
337 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
341 * gunixinputstream.[hc]:
342 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
343 including getters and setters. Patch by Maciej Piechotka
345 2008-12-07 Matthias Clasen <mclasen@redhat.com>
347 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
349 * tests/live-g-file.c: Support compilers that don't understand
350 ISO C varargs macros. Patch by Eric Lamarque
352 2008-12-07 Matthias Clasen <mclasen@redhat.com>
354 Bug 526320 – should not list mounts that the user doesn't have
357 gunixmounts.c: Use g_access() to check accessibility of local devices.
360 2008-12-01 Matthias Clasen <mclasen@redhat.com>
362 * === Released 2.19.2 ===
364 2008-12-01 Matthias Clasen <mclasen@redhat.com>
366 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
367 behaviour change, and update the docs instead, to avoid breaking
370 2008-12-01 Matthias Clasen <mclasen@redhat.com>
372 * === Released 2.19.1 ===
374 2008-12-01 Alexander Larsson <alexl@redhat.com>
378 * gunionvolumemonitor.c:
380 Add and document g_mount_is_shadowed plus calls
381 to set/unset a mount as shadowed
383 2008-11-28 Matthias Clasen <mclasen@redhat.com>
385 * gio/tests/g-icon.c: Comment out two failing tests
387 2008-11-28 Matthias Clasen <mclasen@redhat.com>
389 Bug 555486 – No way to recover command line from GAppInfo
392 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
393 by Hans Petter Jansson.
395 * gdesktopappinfo.c: And implement it here.
397 2008-11-28 Christian Dywan <christian@imendio.com>
399 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
401 2008-11-28 Matthias Clasen <mclasen@redhat.com>
403 Bug 559633 – gtk_image_new_from_gicon does not always work for
406 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
407 extensions on icon names. Proposed by Axel von Bertoldi.
409 2008-11-28 Matthias Clasen <mclasen@redhat.com>
411 Bug 548163 – Nautilus displays wrong error message for too long file
414 * glocalfile.c (g_local_file_set_display_name): Correctly set
415 error conditions if the new name is e.g. too long. Reported
416 by Leonardo Ferreira Fontenelle.
418 2008-11-28 Matthias Clasen <mclasen@redhat.com>
420 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
423 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
424 documented and include the line end in the returned string.
425 Pointed out by Paul Pogonyshev.
427 * tests/data-input-stream.c: Fix the read_line test to test the
428 documented behaviour.
430 2008-11-28 Matthias Clasen <mclasen@redhat.com>
432 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
433 files that have been created by g_app_info_create_from_commandline.
435 2008-11-28 Matthias Clasen <mclasen@redhat.com>
437 Bug 541715 – win32 : patch for warnings and signature problems in
440 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
443 2008-11-28 Matthias Clasen <mclasen@redhat.com>
445 Bug 562393 – g_buffered_input_stream_read_byte broken if data
448 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
449 handling of buffered content. Patch by Philip Withnall
451 * tests/buffered-input-stream.c: Add a testcase for this bug.
452 * tests/Makefile.am: And build it
454 2008-11-28 Matthias Clasen <mclasen@redhat.com>
456 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
459 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
460 '/' away. Spotted by Dan Williams.
462 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
464 Bug 561375 – Leaks mountpoint description
466 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
469 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
471 Bug 561352 – Leak of icon description
473 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
476 2008-11-14 Matthias Clasen <mclasen@redhat.com>
478 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
480 2008-11-12 Tor Lillqvist <tml@novell.com>
482 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
484 * win32/gwinhttpvfs.h: Move the set of function pointers to
485 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
486 pointer to that in the GWinHttpVfsClass.
488 * win32/gwinhttpvfs.c: Move the lookup of functions from
489 winhttp.dll into a function of its own, that stores the pointers
490 in a separate GWinHttpDllFuncs variable. Add two bookeeping
491 booleans lookup_done and funcs_found.
493 Don't call g_io_extension_point_implement() to register the
494 winhttp extension unless winhttp.dll has been successfully loaded
495 and the required functions found in it.
497 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
498 winhttp.dll correspondingly.
500 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
502 reviewed by: Alexander Larsson <alexl@redhat.com>
504 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
505 clearer about the behavior when there's no more content to read.
507 2008-10-27 Federico Mena Quintero <federico@novell.com>
509 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
511 2008-10-27 Tor Lillqvist <tml@novell.com>
513 Bug 557592 - Missing include in gwinhttpfile.c
515 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
518 2008-10-24 Matthias Clasen <mclasen@redhat.com>
520 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
522 * fam/fam-helper.c: Fix a memory leak and formatting issues.
523 Reported by Daniel Marjamäki
525 2008-10-23 Matthias Clasen <mclasen@redhat.com>
527 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
529 2008-10-23 Alexander Larsson <alexl@redhat.com>
531 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
534 (_g_local_file_info_get):
535 Don't return the fallback icon (text-x-generic) for all files.
536 This is causing problems with theme icon lookup and custom mime
537 icons, as the generic fallback overrides custom mime icons in
540 This is a slight change as applications might not get an icon wher
541 they previously did. But there is no guarantee to get on neither before
542 or after this change, so it should not break applications. Changes
543 to nautilus and gtk+ will be done to manually use the generic fallback
544 icon if no icon is found, but this is only required for rare cases.
546 2008-10-21 Alexander Larsson <alexl@redhat.com>
549 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
551 2008-10-21 Alexander Larsson <alexl@redhat.com>
553 Bug 555740 - gicon serialization
554 Based on patch from David Zeuthen
558 Add g_icon_to_string() and g_icon_new_for_string().
564 Implement icon serialization for built-in icon types
568 Added GIcon serialization test
570 2008-10-16 Matthias Clasen <mclasen@redhat.com>
572 * === Released 2.19.0 ===
574 2008-10-16 Matthias Clasen <mclasen@redhat.com>
576 Bug 556422 – g_file_enumerator_next_file: unclear whether return
577 value needs to be freed
579 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
580 the return value docs. Pointed out by Armin Burgmeier
582 2008-10-14 Matthias Clasen <mclasen@redhat.com>
584 Bug 556334 – Warning when building without selinux support
586 * glocalfileinfo.c: Avoid compiler warnings when selinux is
587 disabled. Patch by Pascal Terjan
589 2008-10-14 Matthias Clasen <mclasen@redhat.com>
591 Bug 556335 – make check fails in abicheck.sh
593 * gio.symbols: Add g_file_attribute_info_list_get_type.
594 Pointed out by Pascal Terjan.
596 2008-10-13 Alexander Larsson <alexl@redhat.com>
599 When adding an application as handling a mime type (but
600 not as the default), copy the full list of desktop ids handling
601 that type in before adding the new one on the end of the list.
602 This means we're not accidentally changing the default by overriding
603 the info from the later directories in the search path.
605 Also, fixes small leak of removed_entries.
607 2008-10-12 David Zeuthen <davidz@redhat.com>
610 * gunionvolumemonitor.c:
612 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
614 2008-10-10 Alexander Larsson <alexl@redhat.com>
616 * gfileattribute.c (escape_byte_string):
617 Upper half of byte is >> 4, not >> 8.
618 Found by Kjartan Maraas via sparse
620 2008-10-10 Matthias Clasen <mclasen@redhat.com>
622 Bug 555711 – Wrong fallback order of mimetype icons
624 * gcontenttype.c: Don't prefer generic icons over
625 default mimetype icons.
627 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
628 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
630 Patch by Krysztof Kosiński
632 2008-10-10 Matthias Clasen <mclasen@redhat.com>
634 Bug 555121 – Improved build-time handling of gio module-dir
636 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
637 * Makefile.am: Create the module dir.
639 2008-10-10 Matthias Clasen <mclasen@redhat.com>
641 * gio/glocalfileinfo.c:
642 * gio/tests/live-g-file.c:
643 * gio/gsimpleasyncresult.c: Fix gcc warnings.
645 2008-10-09 Alexander Larsson <alexl@redhat.com>
647 * gunixinputstream.c (g_unix_input_stream_read):
648 Actually return -1 in case of cancelled, not old res value.
650 2008-10-06 Colin Walters <walters@verbum.org>
652 Bug 554745 - GFileAttributeInfoList should be boxed
654 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
655 for convenience of bindings.
656 * gio/gfileattribute.h: Prototype it.
658 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
660 Bug 554970 – segfault when update-desktop-database is not available
663 * gdesktopappinfo.c (run_update_command): Have the error set before
666 2008-10-01 David Zeuthen <davidz@redhat.com>
668 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
669 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
670 instead of the gio URI (such as sftp://foo/file.avi) when using
671 g_app_info_launch() and friends. With a sufficiently recent gvfs,
672 apps using gio+gvfs will map the FUSE file:// URI back to the gio
673 URI (and thus bypass the fuse daemon) thanks the patch from bug
674 #530654. Since Nautilus is an user of g_app_info_launch() it
675 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
676 when launced via the file manager. Win. Fixes bug #528670.
678 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
679 mapping to the description of GAppInfo.
681 2008-09-30 Tor Lillqvist <tml@novell.com>
683 * tests/Makefile.am: Build desktop-app-info only on Unix.
685 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
686 g_critical(). Pass a large enough result buffer to
687 GetVolumePathNameW(). Just use MAX_PATH.
689 2008-09-29 David Zeuthen <davidz@redhat.com>
691 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
693 2008-09-26 Dan Winship <danw@gnome.org>
695 * tests/data-input-stream.c:
696 * tests/data-output-stream.c:
697 * tests/live-g-file.c:
698 * tests/memory-input-stream.c:
699 * tests/memory-output-stream.c: Use g_assert_error() and
702 2008-09-26 Matthias Clasen <mclasen@redhat.com>
704 Bug 545350 – GAppInfo deletion
705 Bug 545351 – Reset associations for content type
708 * gappinfo.[hc]: New functions g_app_info_can_delete,
709 g_app_info_delete and g_app_info_reset_type_associations.
712 * gwin32appinfo.c: Implementations of these.
715 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
717 2008-09-26 Dan Winship <danw@gnome.org>
719 Bug 505361 – gunixinputstream.c assumes poll() available
720 Bug 509446 – portable blocking gio cancellation
722 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
723 GPollFD for a cancellable (which is slightly more complicated on
726 * gunixinputstream.c (g_unix_input_stream_read):
727 * gunixoutputstream.c (g_unix_output_stream_write): Use
728 g_cancellable_make_pollfd() and g_poll() rather than using poll()
731 * tests/unix-streams.c: test of GUnixInputStream,
732 GUnixOutputStream, and GCancellable.
734 2008-09-26 Dan Winship <danw@gnome.org>
736 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
737 cast to stop a gcc warning
739 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
742 2008-09-25 Dan Winship <danw@gnome.org>
744 Bug 553426 - cancellable clarifications
746 * gcancellable.c (g_cancellable_class_init): Add a note to the
747 "cancelled" signal docs warning about thread-safety issues
748 (g_cancellable_cancel): Note that cancelling an asynchronous
749 operation takes effect asynchronously, not immediately.
751 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
753 * gioenums.h: Add new GFileCopyFlag, to leave target file with
754 default perms, instead of setting the source file perms, in a copy
757 * gfile.c (g_file_copy_attributes)
758 (build_attribute_list_for_copy)
759 (should_copy): Not copy "unix::mode" attribute if we have received
760 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
762 2008-09-20 Matthias Clasen <mclasen@redhat.com>
764 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
766 2008-09-17 Matthias Clasen <mclasen@redhat.com>
768 * === Released 2.18.1 ===
770 2008-09-16 Michael Natterer <mitch@imendio.com>
772 * gcontenttype.c (g_content_type_guess): can't assign the return
773 value of g_strdupv() to an array. Fill the array manually with
774 const strings instead (it is never freed anyway). Fixes the
775 build. Also fixed indentation.
777 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
779 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
780 Fix trivial typo to unbreak the build (there was a colon
781 instead of a semicolon at the end of a statement).
783 2008-09-15 Matthias Clasen <mclasen@redhat.com>
785 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
788 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
791 2008-09-15 Matthias Clasen <mclasen@redhat.com>
793 Bug 551681 – g_content_type_guess() too naive with filenames
795 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
796 at the end of the filename, and declare it a directory.
797 Patch by Bastien Nocera
799 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
801 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
804 * gdesktopappinfo.c: add a note in the docs clarifying what the
805 "filename" parameter really is.
807 2008-09-12 Tor Lillqvist <tml@novell.com>
809 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
810 FormatMessage() etc here. Call g_win32_error_message() instead
811 which already does all that. Besides, the code was broken as it
812 called the default "A" version of FormatMessage() but still
813 thought it produced a wide string.
815 2008-09-12 Michael Natterer <mitch@imendio.com>
817 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
818 in the documentation.
820 2008-09-08 Christian Neumair <cneumair@gnome.org>
822 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
823 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
824 Use non-blocking pipe for mount helper I/O. Fixes #550647.
826 2008-09-06 Matthias Clasen <mclasen@redhat.com>
828 Bug 551149 – xdgmime mem leak
830 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
831 a memory leak. Patch by Christian Persch
833 2008-09-04 Tor Lillqvist <tml@novell.com>
835 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
838 2008-09-02 Matthias Clasen <mclasen@redhat.com>
840 * === Released 2.18.0 ===
842 2008-09-02 Michael Natterer <mitch@imendio.com>
844 * *.h: big header formatting cleanup: indentation, vtable
845 formatting, consistent spacing in (* vfunc), trailing whitespace
846 removal. Formatting should be pretty consistent in all GIO headers
849 2008-09-02 Matthias Clasen <mclasen@redhat.com>
851 * gmount.h: Document guess_content_type sync vfunc.
853 2008-09-02 Michael Natterer <mitch@imendio.com>
855 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
856 fix parent_class member to be GFilterOutputStreamClass (not
857 GOutputStreamClass). Drop three pointers of padding, which is
858 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
859 so the class struct size stays the same.
861 2008-09-02 Matthias Clasen <mclasen@redhat.com>
863 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
865 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
866 nonexisting return values. Pointed out by Cosimo Cecchi.
868 2008-08-23 Tor Lillqvist <tml@novell.com>
870 Bug 548988 - g_file_replace fails on Windows when the target file
873 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
874 Windows, close the file before potentially renaming it (in case we
875 have been writing to a file with a temporary name).
877 (g_local_file_output_stream_close, handle_overwrite_open): Use
878 GLocalFileStat instead of plain struct stat, for passing to
879 _g_local_file_info_create_etag(). Thus also use _fstati64()
880 instead of plain fstat() on Windows.
882 2008-08-18 Matthias Clasen <mclasen@redhat.com>
884 * === Released 2.17.7 ===
886 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
888 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
891 2008-08-13 Tor Lillqvist <tml@novell.com>
893 * win32/gwinhttpvfs.c
894 * win32/gwinhttpvfs.h
895 * win32/gwinhttpfile.c
896 * win32/gwinhttpfileinputstream.c
897 * win32/gwinhttpfileoutputstream.c: Refactor some common code
898 snippets into helper functions. Check HTTP response status
899 codes. Implement g_winhttp_file_query_info(), looking at
900 Content-Length, Content-Type and Last-Modified.
902 * win32/winhttp.h: Add some symbolic constants that are not
903 publicly documented. Just a handful, so it should be OK to use
904 information from the Windows SDK's headers.
906 2008-08-13 Tor Lillqvist <tml@novell.com>
908 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
911 * win32/gwin32directorymonitor.c
912 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
914 2008-08-13 Matthias Clasen <mclasen@redhat.com>
917 * goutputstream.c: Add intro docs.
919 2008-08-13 Tor Lillqvist <tml@novell.com>
921 * win32/gwinhttpfileoutputstream.c
922 (g_winhttp_file_output_stream_write): Don't write the
923 Content-Length header ourselves, WinHttpSendRequest() takes care
924 of that when the dwTotalLength parameter is non-zero. Increment
925 offset by the number of actual bytes sent, although I wonder if
926 such a scenario is possible where less than requested would be
927 sent and accepted by the server without errors.
929 2008-08-13 Tor Lillqvist <tml@novell.com>
931 * win32/gwinhttpvfs.c
932 * win32/gwinhttpvfs.h
933 * win32/gwinhttpfile.c
934 * win32/gwinhttpfile.h
935 * win32/gwinhttpfileinputstream.c
936 * win32/gwinhttpfileinputstream.h
937 * win32/gwinhttpfileoutputstream.c
938 * win32/gwinhttpfileoutputstream.h: New files implementing
939 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
940 Windows. The implementation uses the WinHttp API. Both reading and
941 writing are supported, i.e. GET and PUT requests. When writing,
942 each write call is done using a separate PUT request with a
943 Content-Range header. Requests for file URIs and plain pathnames
944 are forwarded to GLocalVfs.
946 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
947 WINE. Used as there is no <winhttp.h> bundled with mingw, and
948 requiring people to download the Windows SDK just for this one
949 header is not reasonable.
951 * win32/Makefile.am: Add above files.
953 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
954 the plumbing for the above.
956 2008-08-11 Sven Neumann <sven@gimp.org>
958 * gfilenamecompleter.c
959 * glocaldirectorymonitor.c
961 * gunionvolumemonitor.c
965 * gunixvolumemonitor.c
968 * gwin32volumemonitor.c: use canonical signal names.
970 2008-08-11 Tor Lillqvist <tml@novell.com>
972 * Makefile.am: Put a list of the platform-dependent .la files in
973 the subdirectories in the platform_deps Make variable, and make
974 libgio-2.0.la depend on that, so that it gets relinked if one of
975 the dependent libraries has changed.
977 2008-08-11 Tor Lillqvist <tml@novell.com>
979 * Makefile.am (platform_libadd): Remove -lwininet which had been
980 added by mistake. We will probably eventually be using WinHTTP,
981 not the older WinInet anyway. (Actually I am working on it.)
983 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
985 Bug 547080 – g_file_copy leaks expected errors
987 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
988 before trying the next fallback routine.
990 2008-08-09 Loïc Minier <lool@dooz.org>
992 Bug 535124 – umask 002 not being applied for new directories, new
993 files get the correct umask
995 * gfile.c (g_file_make_directory)
996 (g_file_make_directory_with_parents): Document ownership and
997 permissions of newly created directories as being the default
1000 2008-08-08 Loïc Minier <lool@dooz.org>
1002 Bug 535124 – umask 002 not being applied for new directories, new
1003 files get the correct umask
1005 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1008 2008-08-08 Tor Lillqvist <tml@novell.com>
1010 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1012 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1013 code that didn't actually do anything inside #if 0, and add a
1014 comment wondering what the code was supposed to do. This also gets
1015 rid of a leftover debugging printout.
1017 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1019 * gfileicon.c (g_file_icon_get_property)
1020 (g_file_icon_set_property): New functions.
1021 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1023 (g_file_icon_new): Use the property (bug #546132).
1025 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1027 * gthemedicon.c (g_themed_icon_get_property): Also handle
1028 `PROP_USE_DEFAULT_FALLBACKS'.
1029 (g_themed_icon_class_init): Make
1030 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1032 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1034 Bug 546371 – Improve docs re g_file_monitor
1036 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1038 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1040 * === Released 2.17.6 ===
1042 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1044 * === Released 2.17.5 ===
1046 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1048 Bug 546017 – Don't copy attributes when copying a symlink
1050 * gfile.c (g_file_copy_attributes): Specify
1051 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1052 g_file_set_attributes_from_info. Patch by Christian Kellner
1054 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1056 * gemblemedicon.[hc]:
1058 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1059 a bit more extensible. Work by Clemens Buss.
1061 * gioenums.h: Add GEmblemOrigin.
1064 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1066 Bug 546079 – leak in xdgmime
1068 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1070 2008-08-03 Tor Lillqvist <tml@novell.com>
1072 * win32/gwin32directorymonitor.h
1073 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1076 2008-08-03 Tor Lillqvist <tml@novell.com>
1078 * win32/gwin32directorymonitor.c
1079 (g_win32_directory_monitor_callback): Make prototype match
1080 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1081 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1084 (g_win32_directory_monitor_constructor):
1085 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1086 names in the GLib API on Windows, so convert to UTF-16 and open
1089 2008-08-03 Tor Lillqvist <tml@novell.com>
1091 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1092 user's folder under Windows
1094 * win32/gwin32directorymonitor.c
1095 (g_win32_directory_monitor_constructor): Ignore error from
1096 CreateFile() when opening directory. Instead of asserting, just
1097 store INVALID_HANDLE_VALUE then in
1098 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1099 ReadDirectoryChangesW().
1100 (g_win32_directory_monitor_cancel): Don't attempt to close
1101 directory handle if it is INVALID_HANDLE_VALUE.
1103 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1105 * gdesktopappinfo.c: Remove debug spew
1107 2008-08-01 Hans Breuer <hans@breuer.org>
1109 * makefile.msc : add gemblembedicon
1111 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1113 Bug 545457 – gdmsetup crashed with SIGSEGV in
1114 g_unix_mount_guess_should_display()
1116 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1117 crash if no mount is found.
1119 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1121 Bug 545203 – gfile.c: argument is different type.
1123 * gfile.c (open_read_async_thread): Pass a GError **
1124 to g_file_set_error_literal.
1125 Reported by Kazuki Iwamoto
1127 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1129 Bug 545157 – wrong/no list of "open with" applications for .cc and
1132 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1133 Collect all ancestors, not just direct parents. Pointed
1134 out by Bastien Nocera
1136 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1138 * Makefile.am: Install gemblemedicon.h
1140 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1142 * gemblemedicon.[hc]: Add a GIcon implementation that can
1143 add an emblem to another icon.
1150 * gfileicon.c: Small documentation additions.
1152 2008-07-28 Tor Lillqvist <tml@novell.com>
1154 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1157 2008-07-27 Tor Lillqvist <tml@novell.com>
1159 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1161 2008-07-24 David Zeuthen <davidz@redhat.com>
1165 Also export a g_mount_guess_content_type_sync() function.
1167 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1169 529694 – SELinux context setting support
1171 * gfileinfo.c: Support setting selinux attributes.
1172 Patch by Tomas Bzatek
1174 2008-07-22 Priit Laes <plaes@plaes.org>
1176 Bug 544140 - fam-helper 64-bit issue?
1178 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1180 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1182 * === Released 2.17.4 ===
1184 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1186 * gvolumemonitor.[hc]:
1187 * gmountoperation.c:
1191 * gmount.c: Documentation fixes
1193 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1195 543504 – crash in Epiphany Web Browser: Opening local file
1199 * gdesktopappinfo.c:
1206 * gvolume.c: Register types thread-safely.
1207 Patch by Christian Persch
1209 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1211 * gcontenttype.c: Remove debug spew
1213 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1215 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1218 * fen/fen-kernel.c: Remove a warning that was causing
1219 crashes. Reported by Lin Ma.
1221 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1223 Bug 543040 – async reading on dummy file will crash on
1226 * gfile.c (open_read_async_thread): Cope with read_fn being
1227 NULL. Reported by Lin Ma.
1229 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1232 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1234 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1237 * gdesktopappinfo.h:
1238 * giomodule.c: Rename a chapter id to avoid filename conflict.
1240 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1242 Bug 540616 – mem leak in filechooser button
1244 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1245 the mount entry. Reported by Chrisitan Persch
1247 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1249 * gfile.c: Small documentation fixes.
1251 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1253 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1255 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1260 * gmount.c: Documentation improvements.
1262 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1265 * gmount.[hc]: Add g_mount_guess_content_type().
1267 2008-07-06 David Zeuthen <davidz@redhat.com>
1270 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1271 is needed for easily handling adoption of foreign volumes by
1272 out-of-process volume monitors (#541793)
1274 2008-07-06 David Zeuthen <davidz@redhat.com>
1276 * gvolumemonitor.[ch]:
1277 * gunionvolumemonitor.c: Export the eject-button signal on the
1278 volume monitor class (#541794).
1280 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1282 * gappinfo.c: More doc tweaks
1284 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1286 * gappinfo.c: Clarify some docs
1288 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1290 * gdesktopappinfo.c: Fix a stupid mistake.
1292 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1294 * === Released 2.17.3 ===
1296 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1298 * gfilemonitor.c: Fix the build.
1300 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1302 Bug 536160 – Add g_file_monitor()
1305 * gfile.[hc]: Add g_file_monitor which can return either
1306 a file or a directory monitor. Proposed by Behdad Esfahbod
1308 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1310 536733 – gio build failure on Irix
1312 * glocalfile.c: Use a configure check for structfs.f_bavail.
1314 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1316 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1319 * gdesktopappinfo.[hc]: Add a function to create a
1320 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1322 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1324 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1326 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1328 * gunixmounts.c: Fix a doc typo.
1330 2008-07-01 Cody Russell <bratsche@gnome.org>
1332 * gio/gcontenttype.c:
1333 * gio/gwin32appinfo.c:
1334 * gio/gwin32volumemonitor.c:
1335 * gio/gwin32mount.c: Fixed some include problems.
1337 2008-07-01 Cody Russell <bratsche@gnome.org>
1341 Moved all relevant typedefs into these files.
1344 Updated wrt added files.
1346 Split types into separate file for easier maintainership. (#538564)
1348 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1350 Bug 540331 – g_file_append_to () documentation: can return NULL
1352 * gfile.c (g_file_append_to): Clarify docs.
1353 Patch by Jared Moore
1355 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1357 Bug 539090 – g_content_type_from_mime_type() should unalias
1359 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1360 Patch by Markus Bergman
1362 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1364 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1365 g_atomic_pointer_get
1367 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1368 on ppc and alpha. Reported by Mart Raudsepp
1370 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1372 * tests/Makefile.am:
1373 * tests/memory-output-stream.c: Add some tests for
1374 GMemoryOutputStream.
1376 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1378 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1381 * gmemoryoutputstream.c (array_resize): Handle truncation to
1382 zero correctly. Reported by Akira Tagoh
1384 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1386 * gmemoryoutputstream.c: Trivial doc fixes
1388 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1390 Bug 540802 – g_list_prepend doesn't concat lists
1392 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1393 one list to another. Pointed out by Jan Arne Petersen
1395 2008-06-28 Michael Natterer <mitch@imendio.com>
1397 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1399 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1401 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1402 to avoid problems with partial icon themes.
1404 2008-06-17 Hans Breuer <hans@breuer.org>
1406 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1407 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1408 access again on win32, see bug #538127
1409 * giomodule.c : ensure GWin32VolumeMonitor is registered
1410 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1411 * Makefile.am makefile.msc : updated
1413 2008-06-16 Hans Breuer <hans@breuer.org>
1415 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1416 and initialization in one step avoids c99ism
1418 2008-06-16 Christian Persch <chpe@gnome.org>
1421 * gio/gbufferedinputstream.c
1422 * gio/gcancellable.c
1423 * gio/gdatainputstream.c
1424 * gio/gdesktopappinfo.c
1426 * gio/gfileenumerator.c
1427 * gio/gfileinputstream.c
1428 * gio/gfileoutputstream.c
1429 * gio/ginputstream.c
1430 * gio/glocaldirectorymonitor.c
1432 * gio/glocalfileenumerator.c
1433 * gio/glocalfileinfo.c
1434 * gio/glocalfilemonitor.c
1435 * gio/glocalfileoutputstream.c
1436 * gio/gmemoryinputstream.c
1437 * gio/gmemoryoutputstream.c
1438 * gio/goutputstream.c
1439 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1442 2008-06-16 Tor Lillqvist <tml@novell.com>
1444 Bug 538362 - Get Win32 icons back in the file chooser
1446 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1447 corresponding to a file extension in the Registry. Patch by Hans
1449 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1451 2008-06-16 Tor Lillqvist <tml@novell.com>
1453 Patches by Hans Breuer:
1455 * glocalfile.c (is_xp_or_later): Handle compiling against older
1456 SDK headers with missing VerifyVersionInfo(). Conditioned on
1457 _MSC_VER, but should probably use some better test.
1458 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1459 uninitialised statfs_result variable on Win32.
1461 2008-06-16 Michael Natterer <mitch@imendio.com>
1463 * *.c: chain up unconditionally in finalize() and dispose(). Also
1464 don't dereference these function pointers when calling them since
1465 that has no meaning at all.
1467 2008-06-16 Ross Burton <ross@burtonini.com>
1469 * gfileenumerator.c:
1470 Remove check for dispose implementation as it annoys Emmanuele.
1472 2008-06-16 Ross Burton <ross@burtonini.com>
1474 Bug 536252 – GFileEnumerator should allow access to the containing
1477 * gfileenumerator.c:
1478 * gfileenumerator.h:
1480 Add g_file_enumerator_get_container() and a container writeable
1481 construct-only property. Also shuffle around typedefs to make it
1484 * glocalfileenumerator.c:
1485 * glocalfileenumerator.h:
1487 Instead of a string filename take a GFile in the constructor and
1488 use it to set the container property.
1491 Update with new API.
1493 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1495 * gfile.c: Make includes more uniform
1497 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1499 * tests/live-g-file.c (sample_struct):
1500 Use less fancy unicode filenames, so the test doesn't fail
1501 on Mac OS X (#531476).
1503 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1505 * === Released 2.17.2 ===
1507 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1509 * === Released 2.17.1 ===
1511 2008-06-11 A. Walton <awalton@gnome.org>
1513 * tests/g-file.c (test_g_file_new_null):
1514 Fix broken test case.
1516 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1518 * pltcheck.sh: We use g_clear_error now.
1520 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1522 * glocalfile.c (g_local_file_enumerate_children): Revert
1523 an unintended change.
1525 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1527 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1529 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1531 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1534 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1535 as icon for the desktop directory, also make user-home and
1536 user-desktop the preferred icons.
1538 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1541 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1542 to add a name to the front of the list.
1544 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1546 Bug 537392 – Additional colon in xattr name
1548 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1549 too. Reported by Alessandro Morandi
1551 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1553 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1556 * glocalfile.c (get_fs_type): Add afs and autofs.
1557 Patch by Danny Baumann.
1559 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1561 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1563 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1564 is no parent. (Owen Taylor, patch by Christian Neumair)
1566 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1568 * gfile.c (g_file_replace_contents): do not leak the output stream.
1570 2008-06-10 Michael Natterer <mitch@imendio.com>
1572 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1573 uninitialized memory as array index.
1575 2008-06-10 Tor Lillqvist <tml@novell.com>
1577 * gcontenttype.c (g_content_type_can_be_executable)
1578 (g_content_type_get_icon) [Win32]: Add TODO comments.
1580 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1582 * xdgmime/Makefile.am: Fix the build
1584 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1586 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1587 in the shared mime database, if available.
1589 * xdgmime/*: Sync with upstream. This brings support for
1590 glob weights, generic icons, and changes the cache format to
1593 2008-05-28 Michael Natterer <mitch@imendio.com>
1595 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1596 the global CPPFLAGS now.
1598 * tests/data-input-stream.c
1599 * tests/data-output-stream.c
1600 * tests/g-file-info.c
1602 * tests/live-g-file.c
1603 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1605 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1607 * === Released 2.17.0 ===
1609 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1610 doesn't complain about leftover files.
1612 2008-05-27 simon.zheng <simon.zheng@sun.com>
1614 * glocalfile.c: (g_local_file_query_filesystem_info):
1615 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1617 2008-05-26 Michael Natterer <mitch@imendio.com>
1619 * gmemoryoutputstream.h: declare
1620 g_memory_output_stream_get_data_size().
1622 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1624 * tests/*: Make tests work
1626 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1628 * gio.symbols: Add g_memory_output_stream_get_data_size.
1630 2008-05-25 Ross Burton <ross@burtonini.com>
1633 Fix typo in error message (#534764).
1635 2008-05-25 Ross Burton <ross@burtonini.com>
1638 Fix circular dependency loop for gioenumtypes.h (#534759).
1640 2008-05-19 Hans Breuer <hans@breuer.org>
1642 * Makefile.am : EXTRA_DIST += makefile.msc
1644 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1647 * gcontenttype.c: (g_content_type_from_mime_type):
1648 New function to create a content type from a mime type. (#527175,
1651 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1653 Bug 532965 – Should not return filesystem::free for certain file systems
1655 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1656 free space for ncpfs.
1658 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1660 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1662 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1663 st_dev might be zero.
1665 2008-05-16 Tor Lillqvist <tml@novell.com>
1667 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1668 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1670 2008-05-13 Bastien Nocera <hadess@hadess.net>
1672 * gfile.c (has_valid_scheme): A URI scheme must start with a
1673 letter, even if later more characters are allowed (#532852)
1675 2008-05-05 Michael Natterer <mitch@imendio.com>
1677 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1678 code from being checked in that breaks the build of applications
1679 which use G_DISABLE_SINGLE_INCLUDES.
1681 * makegioalias.pl: make the alias file include "glib.h" instead of
1684 * gio.symbols: whitespace change to force regeneration of the
1685 alias file after above script change.
1687 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1689 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1691 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1693 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1695 2008-04-28 David Zeuthen <davidz@redhat.com>
1697 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1698 displaying mounts in a subdirectory not accessible to the
1701 2008-04-22 Michael Natterer <mitch@imendio.com>
1703 * Makefile.am: fix library versioning (it was 0.0.0).
1705 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1707 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1708 Default disable all loggings.
1709 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1710 (port_fetch_event_cb): Fixed two macro nits.
1712 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1714 * xdgmime/xdgmime.c: Rework the timestamp checking code
1715 to protect against duplicate directories in XDG_DATA_DIRS.
1716 Fixes fd.o bug 12513, reported by Joe Shaw.
1718 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1720 Partically revert the last commit after realizing that
1721 xdg_mime_media_type_equal doesn't have to init at all.
1723 * xdgmime/xdgmime.h:
1724 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1726 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1728 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1730 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1731 reported by Joe Shaw and Federico Mena Quintero.
1733 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1734 (xdg_mime_media_type_equal): Turn into a wrapper around the
1737 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1738 functions throughout.
1740 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1742 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1743 tolerate an empty TryExec= line without failing; nautilus used
1744 to create launchers with these in previous versions. Fixes #528433
1746 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1748 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1749 after name. Fixes #527132.
1751 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1753 * gfile.c: (g_file_replace):
1756 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1758 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1760 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1761 by Christian Kellner.
1763 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1765 * gunixmounts.c: (g_unix_mount_guess_should_display):
1766 Don't list the user directory as a mount, fix potential issue
1767 when other users have a similar naming and don't special case the
1768 gvfs mounts there since that's not required (#525866)
1770 2008-03-31 Alexander Larsson <alexl@redhat.com>
1772 * glocalfile.c (get_parent):
1775 2008-03-31 A. Walton <awalton@svn.gnome.org>
1777 * gfile.c (g_file_query_file_type):
1778 Always return a GFileType enum value (#520715).
1780 2008-03-31 Alexander Larsson <alexl@redhat.com>
1782 * glocalfileenumerator.c:
1783 Read readdir() info in chunks (of 1000) and sort
1784 the chunks by inode before stat:ing.
1785 This is a 20% performance increase in testing
1786 gvfs-ls on /usr/bin with cold cache.
1788 2008-03-31 Alexander Larsson <alexl@redhat.com>
1790 * gmemoryoutputstream.c:
1791 Clarify docs for g_memory_output_stream_get_size.
1792 Add g_memory_output_stream_get_data_size.
1794 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1798 * gfile.h: Add g_file_query_file_type convenience function
1799 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1801 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1803 * gfileenumerator.c:
1804 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1806 2008-03-28 A. Walton <awalton@svn.gnome.org>
1808 * giomodule.c (_g_io_modules_ensure_loaded):
1809 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1812 2008-03-28 Alexander Larsson <alexl@redhat.com>
1815 (copy_stream_with_progress):
1818 2008-03-28 Alexander Larsson <alexl@redhat.com>
1821 (copy_stream_with_progress):
1822 (file_copy_fallback):
1823 Fallback to g_file_query_info for source size
1824 if g_file_input_stream_query_info fails. (#524579)
1826 2008-03-28 Alexander Larsson <alexl@redhat.com>
1828 * glocalfile.c (g_local_file_move):
1829 Reuse old string instead of adding new one.
1831 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1833 * fen/*.[hc]: still copyright issue. I hate copyright.
1835 2008-03-27 Alexander Larsson <alexl@redhat.com>
1837 * glocalfile.c (g_local_file_move):
1838 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1839 file over directory. This is according to the docs and what the move via
1840 copy+remove fallback does.
1842 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1844 * fen/*.[hc]: Updated copyright.
1846 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1848 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1850 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1852 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1853 not emit attribute changed events when optimizing changed events.
1854 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1857 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1859 * gmountoperation.[hc]: Small documentation additions
1861 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1863 * gunixmounts.c: (guess_mount_type):
1864 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1866 2008-03-19 Alexander Larsson <alexl@redhat.com>
1869 (copy_stream_with_progress):
1870 Bump block side for copy to 64k to minimize
1871 overhead for low latency links. (#523015)
1873 2008-03-16 Tor Lillqvist <tml@novell.com>
1875 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1876 depend on gio.def on Windows.
1878 2008-03-12 David Zeuthen <davidz@redhat.com>
1882 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1884 2008-03-14 Alexander Larsson <alexl@redhat.com>
1888 Avoid redudant tests (#521851)
1889 Patch from Josselin Mouette
1891 2008-03-14 Alexander Larsson <alexl@redhat.com>
1894 (g_file_monitor_is_cancelled):
1895 Fix C89 issue (#521672)
1896 Patch from Jens Granseuer
1898 2008-03-14 Alexander Larsson <alexl@redhat.com>
1900 * fam/fam-helper.[ch]:
1902 Shut down fam (including removing fam GSource) when
1903 module is unloaded (#521513)
1904 Patch from Joe Marcus Clarke
1906 2008-03-14 Alexander Larsson <alexl@redhat.com>
1909 (_g_io_modules_ensure_loaded):
1912 2008-03-14 Alexander Larsson <alexl@redhat.com>
1915 (g_local_file_query_filesystem_info):
1916 Use right define name for f_fstypename member check
1918 2008-03-14 Alexander Larsson <alexl@redhat.com>
1921 * fen/Makefile.am: Added.
1922 * fen/fen-data.[ch]: Added.
1923 * fen/fen-dump.[ch]: Added.
1924 * fen/fen-helper.[ch]: Added.
1925 * fen/fen-kernel.[ch]: Added.
1926 * fen/fen-missing.[ch]: Added.
1927 * fen/fen-node.[ch]: Added.
1928 * fen/fen-sub.[ch]: Added.
1929 * fen/gfendirectorymonitor.[ch]: Added.
1930 * fen/gfenfilemonitor.[ch]: Added.
1932 Added Solaris FEN file notification backend.
1933 Patch from Lin Ma <Lin.Ma@Sun.COM>
1935 2008-03-13 Tor Lillqvist <tml@novell.com>
1937 * Makefile.am: Actually use the gio.def file when linking the
1938 library on Windows. Produce .lib library for Microsoft's toolchain
1939 when possible. Install the .lib and .def file like for the other
1942 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1944 * tests/live-g-file.c:
1945 Include live-g-file in standard set of tests, making a temporary
1946 directory in source structure.
1948 Clean target directory before the tests (write mode only)
1950 2008-03-12 Tor Lillqvist <tml@novell.com>
1952 Bug 517419 - gio win32 directory monitor
1953 Implementation by Vlad Grecescu.
1956 * win32/gwin32directorymonitor.h
1957 * win32/gwin32directorymonitor.c: New files.
1959 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1961 * Makefile.am: Add the win32 subdirectory.
1963 2008-03-12 Tor Lillqvist <tml@novell.com>
1965 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1966 normal struct stat on Unix but struct _stati64 on Windows to have
1967 access to 64-bit file size information. Use that instead of struct
1968 stat in the functions declared here in this private header.
1970 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1971 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1972 warnings about unused functions and variables. Don't set
1973 meaningless attributes like inode numbers on Windows.
1975 2008-03-12 Benjamin Otte <otte@gnome.org>
1978 trim whitespace so gtk-doc groks the function name
1980 2008-03-12 Tor Lillqvist <tml@novell.com>
1982 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1983 returning FALSE, on Win32.
1985 2008-03-11 Alexander Larsson <alexl@redhat.com>
1988 * glocalfileinfo.[ch]:
1989 Correctly implement can_trash by actually
1990 looking for a trash dir, not just assuming
1993 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1995 * === Released 2.16.1 ===
1997 2008-03-11 Alexander Larsson <alexl@redhat.com>
2000 Fix crashes in new constructor and properties code
2002 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2004 * gfile.c: Minor spelling correction in documentation:
2005 existance -> existence.
2007 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2009 * === Released 2.16.0 ===
2011 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2013 * gio.symbols: Remove g_file_contains_file here, too.
2015 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2017 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2018 Samuel Cormier-Iijima)
2020 2008-03-08 Tor Lillqvist <tml@novell.com>
2022 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2025 2008-03-07 Alexander Larsson <alexl@redhat.com>
2028 (g_local_file_query_filesystem_info):
2029 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2030 Patch from Jasper Lievisse Adriaanse
2032 2008-03-06 Tor Lillqvist <tml@novell.com>
2034 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2035 comments for the *_USEC attributes.
2037 2008-03-06 Alexander Larsson <alexl@redhat.com>
2039 * gfile.c (g_file_query_exists):
2040 Add g_return_val_if_fail check (#520700)
2042 2008-03-06 Alexander Larsson <alexl@redhat.com>
2044 * gdesktopappinfo.c:
2047 * gunionvolumemonitor.c:
2050 * tests/live-g-file.c:
2051 * xdgmime/xdgmimecache.c:
2052 Fix sparse warnings (#519489)
2054 2008-03-05 Alexander Larsson <alexl@redhat.com>
2057 Make cancellation threadsafe (i.e.
2058 guarantee its only done once, and always
2061 * glocaldirectorymonitor.c:
2062 Make sure we the monitor lives while the
2063 mounts_changed callback is being called (#520484)
2065 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2067 * gbufferedinputstream.c: Fix typo in parameter
2070 2008-03-04 Alexander Larsson <alexl@redhat.com>
2073 Remove deprecated symbols we kept for one release.
2075 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2078 * goutputstream.c: Tiny documentation corrections.
2080 2008-03-03 Alexander Larsson <alexl@redhat.com>
2082 * gunionvolumemonitor.c:
2084 Fix the adopt_orphan_mount vfunc to take a
2085 volume_monitor reference in an ABI compat way.
2086 This change is not API compat, but the added
2087 arg is not used in the only user of this vfunc, so
2088 all we get is a harmless warning in gvfs (#520169)
2090 2008-03-01 Benjamin Otte <otte@gnome.org>
2093 clarify docs for g_file_delete().
2095 2008-02-29 Alexander Larsson <alexl@redhat.com>
2099 Make sure empty files get text/plain type (#518720)
2101 2008-02-27 Alexander Larsson <alexl@redhat.com>
2107 (g_unix_volume_mount):
2108 Add missing GMountMountFlags argument
2110 2008-02-26 Alexander Larsson <alexl@redhat.com>
2113 (g_local_file_delete):
2114 Handle filesystems (like ntfs-3g) that return EEXIST instead
2115 of ENOTEMPTY (#518816)
2117 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2119 * === Released 2.15.6 ===
2121 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2123 * gfile.c (g_file_find_enclosing_mount):
2124 * ginputstream.c (g_input_stream_set_pending):
2125 * glocalfile.c (g_local_file_find_enclosing_mount):
2126 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2127 * goutputstream.c (g_output_stream_set_pending):
2129 Fixup translator comments (#518578).
2131 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2133 * gfile.c (g_file_find_enclosing_mount):
2135 * glocalfile.c (g_local_file_find_enclosing_mount):
2138 Fix a few typos in translator comments and documentation.
2140 2008-02-25 Alexander Larsson <alexl@redhat.com>
2147 Add translator comments (#518578)
2149 2008-02-25 Alexander Larsson <alexl@redhat.com>
2152 Reintroduce g_file_contains_file, keep around for one
2153 unstable release cycle to avoid crashing to many apps.
2154 Make sure to delete after release.
2156 2008-02-25 Alexander Larsson <alexl@redhat.com>
2159 Remove deprecated g_file_contains_file.
2161 2008-02-25 Alexander Larsson <alexl@redhat.com>
2164 Emit actual change signals in an idle handler.
2165 This avoids reentrance and locking problems in
2166 the file notification backends.
2168 2008-02-25 Alexander Larsson <alexl@redhat.com>
2171 (g_unix_mount_guess_should_display):
2172 Remove type guessing, instead just display
2173 mounts in /media and in ~/.
2175 2008-02-25 Alexander Larsson <alexl@redhat.com>
2178 Make new strings reuse old ones.
2180 2008-02-25 Alexander Larsson <alexl@redhat.com>
2183 Implement trashing and filesystem::readonly for win32 (#517235)
2184 Patch from Yevgen Muntyan
2186 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2188 * gfileinfo.h: Documentation fixes.
2190 2008-02-22 Alexander Larsson <alexl@redhat.com>
2192 * gcontenttype.c (g_content_type_get_icon):
2193 Look at old-style gnome mime icon names too, as many
2194 have not moved to the new style.
2196 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2198 * *.c: Correct the @include in for section docs.
2200 2008-02-21 David Zeuthen <davidz@redhat.com>
2202 * glocalfileinfo.c: (_g_local_file_info_get):
2204 (g_content_type_get_icon): Implement this function by
2205 moving bits from glocalfileinfo.c
2206 (g_content_type_get_description): Unalias before getting
2207 description (#517687)
2209 * gfile.c: (g_file_class_init),
2210 (g_file_query_filesystem_info_async),
2211 (g_file_query_filesystem_info_finish),
2212 (query_filesystem_info_data_free),
2213 (query_filesystem_info_async_thread),
2214 (g_file_real_query_filesystem_info_async),
2215 (g_file_real_query_filesystem_info_finish):
2216 * gfile.h: Implement async version of
2217 g_file_query_filesystem_info()
2219 * gfileinfo.h: Add new attributes for filesystem::use-preview
2221 * gio.symbols: Update
2223 * gthemedicon.c: (g_themed_icon_append_name):
2224 * gthemedicon.h: Add new new convenience function.
2226 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2227 (get_mounts), (get_volumes), (get_connected_drives),
2228 (get_volume_for_uuid), (get_mount_for_uuid),
2229 (g_union_volume_monitor_init), (populate_union_monitor),
2230 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2231 (g_volume_monitor_adopt_orphan_mount):
2233 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2234 monitor implementations to call into the main volume monitor. Also
2235 separate object initialization and volume monitor initialization
2236 such that non-native volume monitors can properly adopt their
2239 2008-02-21 Alexander Larsson <alexl@redhat.com>
2244 2008-02-21 Alexander Larsson <alexl@redhat.com>
2247 Add more documentation about how GFiles work (from #517086)
2249 2008-02-21 Alexander Larsson <alexl@redhat.com>
2253 Add new g_file_has_prefix that does the same as g_file_contains_file.
2254 Deprecate g_file_contains_file and add a macro that converts
2255 it to g_file_has_prefix.
2256 The reason for this change is that the contains_file() name seems to
2257 imply that this does more work than what it does, but its really only
2258 a name match (from #517086)
2263 Update to match the above change.
2265 2008-02-20 Benjamin Otte <otte@gnome.org>
2267 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2268 (g_file_eject_mountable):
2269 even more cases of not returning in error path
2271 2008-02-20 Benjamin Otte <otte@gnome.org>
2273 * gfile.c: (g_file_mount_mountable):
2274 return from function in error path.
2276 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2279 Remove trailing coma in GMountMountFlags struct
2281 2008-02-18 Alexander Larsson <alexl@redhat.com>
2285 * glocalfileoutputstream.c:
2286 Use g_unlink/g_rename instead of unlink/rename;
2287 do not pass raw filenames to g_set_error. (#517239)
2288 Patch from Yevgen Muntyan.
2290 2008-02-18 Alexander Larsson <alexl@redhat.com>
2293 * glocalfileoutputstream.c:
2294 Open files with O_BINARY on windows. (#517140)
2296 2008-02-14 Alexander Larsson <alexl@redhat.com>
2298 * glocalfileoutputstream.c:
2299 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2301 2008-02-14 Alexander Larsson <alexl@redhat.com>
2304 Copy permissions with file on copy (#514084)
2305 This is what cp does and makes sure e.g. the
2306 exec permissions are kept.
2307 Its kinda weird in that it keeps the permission bits
2308 the same while the uid and gid are different. However
2309 the new uid is the user so its not a security issue,
2310 and I've heard no complaints about cp on this issue.
2312 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2314 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2316 2008-02-13 Alexander Larsson <alexl@redhat.com>
2318 * inotify/inotify-path.c:
2319 Define IN_ONLYDIR if not in header (#515346)
2321 2008-02-12 Alexander Larsson <alexl@redhat.com>
2323 * tests/live-g-file.c:
2326 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2328 * === Released 2.15.5 ===
2330 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2332 * gio.symbols: Add g_mount_mount_flags_get_type.
2334 2008-02-11 Alexander Larsson <alexl@redhat.com>
2337 (g_file_info_set_attribute_mask):
2338 (g_file_attribute_matcher_matches_id):
2339 Correctly handle NULL GAttributeMatcher meaning
2340 matches nothing. (Fixes #513492)
2342 2008-02-11 Alexander Larsson <alexl@redhat.com>
2347 Added GMountMountFlags enum and added a flags
2348 argument to all mount calls.
2350 This is an API/ABI change for future extensibility,
2351 as I think we will need at least an
2352 inhibit-autorun flag (the panel needs this).
2353 There are no flags defined yet though.
2355 2008-02-11 Alexander Larsson <alexl@redhat.com>
2358 Added new standard::description attribute.
2359 Requested by Vincent, and useful for both
2362 2008-02-11 Alexander Larsson <alexl@redhat.com>
2364 * gdesktopappinfo.c:
2367 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2369 * *.c: Documentation additions
2371 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2373 * gappinfo.h: Formatting cleanup
2374 * gappinfo.c: Fix up docs.
2376 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2378 * gunixmounts.c: Consistently use getmntent_r() and fall
2379 back to getmntent(). (#515492)
2381 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2383 * gbufferedinputstream.c:
2385 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2387 * tests/data-input-stream.c:
2388 * tests/data-output-stream.c: Portability fixes.
2390 2008-02-08 Alexander Larsson <alexl@redhat.com>
2395 Add g_volume_should_automount.
2398 2008-02-07 Tor Lillqvist <tml@novell.com>
2400 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2401 Win32, too Unix-specific.
2403 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2405 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2406 a local plt if the compiler doesn't support what we want. Bug #514702
2408 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2410 reviewed by: <delete if not using a buddy>
2413 * gunixinputstream.c:
2414 * gunixoutputstream.c:
2416 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2418 * tests/Makefile.am:
2419 * tests/live-g-file.c:
2420 * tests/live-g-file.txt:
2421 New GIO testing module working over real data
2423 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2425 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2426 Fallback to rename() if link() is not available
2427 (when no support on target filesystem)
2429 2008-02-06 Michael Natterer <mitch@imendio.com>
2431 * gfileinfo.c (g_file_info_get_icon): replace
2432 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2434 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2436 * gfile.c (g_file_create):
2437 Documentation update of error codes
2439 2008-02-06 Alexander Larsson <alexl@redhat.com>
2441 * gdesktopappinfo.c:
2442 Update to use both mimeapps.list and
2443 defaults.list as discussed on xdg list.
2445 2008-02-06 Benjamin Otte <otte@gnome.org>
2448 * gfilenamecompleter.c:
2449 Fix some typos in the documentation.
2451 2008-02-06 Alexander Larsson <alexl@redhat.com>
2453 * glocalfile.c (g_local_file_trash):
2454 Don't succeed with trash if newly created
2455 trash dir has the wrong owner. (#514696)
2457 2008-02-05 Alexander Larsson <alexl@redhat.com>
2459 * glocalfile.c (g_local_file_move):
2460 Don't spew warnings when destination is not
2463 2008-02-03 Hans Breuer <hans@breuer.org>
2465 * makefile.msc : update
2467 2008-02-01 Michael Natterer <mitch@imendio.com>
2469 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2470 return value of xdg_mime_list_mime_parents() to a variable of the
2473 2008-02-01 Alexander Larsson <alexl@redhat.com>
2475 * gappinfo.c (g_app_info_launch_uris):
2476 Actually call the launch_uris method, not
2479 2008-02-01 Alexander Larsson <alexl@redhat.com>
2481 * gdesktopappinfo.c (g_desktop_app_info_equal):
2482 Ensure appinfos with no id but same pointer value
2485 2008-02-01 Alexander Larsson <alexl@redhat.com>
2487 * gappinfo.c (g_app_info_launch_default_for_uri):
2490 2008-02-01 Alexander Larsson <alexl@redhat.com>
2494 Add g_app_info_launch_default_for_uri utility
2497 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2499 * gdesktopappinfo.c:
2500 Doc fix for g_app_info_get_default_for_uri_scheme ()
2503 2008-01-30 Alexander Larsson <alexl@redhat.com>
2506 Add doc comment about uris vs GFiles to
2509 * gdesktopappinfo.c:
2510 Ensure uris passed to g_app_info_launch_uris()
2511 are not roundtriped through GFile (as that
2512 may be slightly destructive for e.g. mailto: links)
2514 2008-01-30 Alexander Larsson <alexl@redhat.com>
2516 * tests/data-input-stream.c:
2517 * tests/data-output-stream.c:
2518 C89 fixes from Jens Granseuer (#512849)
2520 2008-01-30 Alexander Larsson <alexl@redhat.com>
2523 Fix gamin/fam difference build issue. (#509419)
2525 2008-01-29 Alexander Larsson <alexl@redhat.com>
2528 * gdesktopappinfo.c:
2529 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2531 2008-01-29 Alexander Larsson <alexl@redhat.com>
2533 * gdesktopappinfo.c:
2534 * gdesktopappinfo.h:
2535 giomodule-priv.h include moved to .c file.
2537 2008-01-29 Alexander Larsson <alexl@redhat.com>
2539 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2540 Remove unused prio/name fields.
2542 2008-01-29 Alexander Larsson <alexl@redhat.com>
2544 * gcontenttype.c (looks_like_text):
2545 Don't treat whitespace as control chars.
2547 2008-01-29 Alexander Larsson <alexl@redhat.com>
2549 * gdesktopappinfo.c:
2550 Lazily create the desktop files for appinfos created
2551 by g_app_info_create_from_commandline() when needed
2552 for mime associations. This allows run-time use
2553 of GAppInfo object without creating unnecessary
2556 2008-01-29 Alexander Larsson <alexl@redhat.com>
2559 Added new symbols to gio.symbols
2561 2008-01-29 Alexander Larsson <alexl@redhat.com>
2564 Add g_file_query_default_handler utility to easily look up
2565 the GAppInfo that handles a file.
2567 * gdesktopappinfo.[ch]:
2569 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2572 Remove unused function
2574 2008-01-29 Alexander Larsson <alexl@redhat.com>
2576 * gfileenumerator.c:
2577 Mention need to free returned value in
2578 g_file_enumerator_next_files_finish docs.
2579 Fix leak if g_file_enumerator_next_files_finish()
2582 2008-01-29 Alexander Larsson <alexl@redhat.com>
2585 (_g_unix_content_type_get_parents):
2586 Use list_parents, not get_parents from xdgmime, because
2587 the later doesn't use the cache.
2589 * xdgmime/xdgmimecache.c:
2590 (_xdg_mime_cache_list_mime_parents):
2591 Don't list the same type as parent multiple times.
2593 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2595 * === Released 2.15.4 ===
2597 2008-01-28 Alexander Larsson <alexl@redhat.com>
2600 Register local vfs with prio 0.
2603 Remove old name and prio class members
2605 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2607 * tests/g-file.c: Disable some tests that are failing in
2608 the absence of a http backend.
2610 2008-01-28 Alexander Larsson <alexl@redhat.com>
2614 Add registration hooks for extension points.
2615 Register the gio extension points.
2617 * fam/gfamdirectorymonitor.c:
2618 * fam/gfamfilemonitor.c:
2619 * glocaldirectorymonitor.[ch]:
2620 * glocalfilemonitor.[ch]:
2621 * gnativevolumemonitor.h:
2622 * gunionvolumemonitor.c:
2623 * gunixvolumemonitor.c:
2626 * inotify/ginotifydirectorymonitor.c:
2627 * inotify/ginotifyfilemonitor.c:
2628 Use the extension points registration instead
2629 of g_type_children().
2631 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2634 * gvolume.[hc]: Document new API.
2636 * gfile.c (g_file_copy_async): Fix docs
2638 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2640 * gbufferedinputstream.c:
2642 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2645 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2647 * glocalfile.c: Avoid trivial differences in translatable strings.
2649 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2651 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2652 build with gcc 3.4 (#509419)
2654 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2656 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2657 (#509994, Murray Cumming)
2659 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2661 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2662 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2663 this allows big jobs to be executed in chunks, instead of blocking
2664 the main loop for a long time.
2666 * gsimpleasyncresult.c:
2667 * giofile.c: Adapt callers.
2669 2008-01-25 Alexander Larsson <alexl@redhat.com>
2671 * gdesktopappinfo.c:
2672 Implement changes discussed on xdg list.
2673 Now we can add supported mimetypes by just using defaults.list
2674 We can also remove associations in defaults.list.
2676 2008-01-25 Alexander Larsson <alexl@redhat.com>
2678 * gdesktopappinfo.c:
2679 Don't make local copy of desktop file
2680 for mimetype changes if the file already
2681 supports the new mimetype.
2683 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2687 * gbufferedinputstream.c:
2688 * glocalfile.c: String improvements. (#511966,
2689 Theppitak Karoonboonyanan)
2691 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2693 * gioscheduler.h: Expand docs a bit.
2695 2008-01-24 Alexander Larsson <alexl@redhat.com>
2698 Add g_drive_get_identifier and
2699 g_drive_enumerate_identifiers
2702 Add g_volume_get_identifier and
2703 g_volume_enumerate_identifiers
2709 Implement identifiers for unix backend
2711 2008-01-24 Alexander Larsson <alexl@redhat.com>
2716 Add g_file_copy_async() (#511580)
2717 Based on patch from Carlos Garcia Campos
2719 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2721 * gioscheduler.c: Some documentation additions.
2723 2008-01-22 Alexander Larsson <alexl@redhat.com>
2725 * gdesktopappinfo.c:
2726 (g_desktop_app_info_new):
2727 Don't leak basename.
2729 2008-01-22 Alexander Larsson <alexl@redhat.com>
2731 * gdesktopappinfo.c:
2732 (g_desktop_app_info_new_from_filename):
2735 2008-01-22 Alexander Larsson <alexl@redhat.com>
2737 * glocalfileinfo.c (get_thumbnail_attributes):
2740 2008-01-22 Alexander Larsson <alexl@redhat.com>
2743 (canonicalize_filename):
2744 Canonicalize paths that start with more than
2748 (compare_two_files):
2749 (test_g_file_new_for_path):
2752 2008-01-22 Alexander Larsson <alexl@redhat.com>
2755 Allow UTF-8 in file:// parse names.
2757 * tests/Makefile.am:
2758 * tests/data-input-stream.c:
2759 * tests/data-output-stream.c:
2760 * tests/g-file-info.c:
2762 Added a bunch of tests from Tomas Bzatek
2764 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2766 * === Released 2.15.3 ===
2768 2008-01-21 Alexander Larsson <alexl@redhat.com>
2770 * gfileinputstream.[ch]:
2771 * gfileoutputstream.[ch]:
2773 Remove duplicated GSeekable functions. (#509990)
2774 Just use the g_seekable_xxx() calls instead.
2776 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2779 * gvolumemanager.c: Whitespace cleanups.
2781 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2782 Use the right mode when creating the file.
2784 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2786 * gfileenumerator.c:
2787 * gfileinputstream.c:
2789 * goutputstream.c: Documentation: Fixed minor typos
2790 and added more mentions of specific _finish() functions.
2792 2008-01-21 Alexander Larsson <alexl@redhat.com>
2794 * inotify/Makefile.am:
2795 * inotify/inotify-helper.c:
2796 * inotify/inotify-kernel.c:
2797 * inotify/inotify-path.c:
2798 * inotify/local_inotify.h: Removed.
2799 * inotify/local_inotify_syscalls.h: Removed.
2800 Removed the included copies of the inotify
2801 headers. We now only use the <sys/inotify.h>
2802 header which exists on modern systems.
2803 This fixes problems on ARM and SH5 (#510448)
2804 but is also generally much cleaner and future
2805 safe. For instance, if other OSes add support
2806 for inotify it should "just work".
2808 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2810 * inotify/*.c: Coding style fixes.
2811 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2812 for the 1/4 Hz timer.
2814 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2817 * gfilemonitor.[hc]:
2818 * gmemoryinputstream.c:
2819 * gmemoryoutputstream.c:
2820 * gmountoperation.c:
2821 * gthemedicon.c: Documentation updates
2823 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2825 * gfile.c: documentation: Fixed more minor
2828 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2830 * gmount.c: (g_mount_remount): documentation:
2831 Mention g_mount_remount_finish() instead of
2832 g_mount_unmount_finish().
2834 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2838 * gfile.c: Fixed some minor typos in the
2841 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2843 * gio/gvolumemonitor.c:
2844 (g_volume_monitor_get_connected_drives):
2845 (g_volume_monitor_get_volumes):
2846 (g_volume_monitor_get_mounts): Documentation:
2847 Clarify the ownership of the regurn GLists.
2849 2008-01-17 Alexander Larsson <alexl@redhat.com>
2852 Add the async find_enclosing_mount version
2853 to the header file too.
2855 2008-01-17 Alexander Larsson <alexl@redhat.com>
2858 Add async version of find_enclosing_mount
2859 with default implementation.
2861 2008-01-17 Alexander Larsson <alexl@redhat.com>
2866 Allow calls to implementation of copy and write
2867 even if the type of the file implementations is
2868 different. This can be used to implement native
2869 upload and download calls in a vfs.
2872 (g_local_file_move):
2873 Protect against the case where move is called
2874 with one file not being local.
2876 Make sure we call the progress callback once
2877 in the native move operation so that the caller
2878 knows how many bytes were copied.
2880 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2883 * gdatainputstream.c:
2885 * gfileoutputstream.c:
2890 * gunixmounts.c: Corrected some typos in the documentation:
2891 occured -> occurred.
2892 its -> it's (where appropriate).
2894 2008-01-16 Alexander Larsson <alexl@redhat.com>
2898 Add g_file_query_exists (#508771)
2900 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2905 * gvolume.c: For async functions that have no non-async
2906 version, document that the GAsyncReadyCallback may be NULL.
2909 2008-01-15 Alexander Larsson <alexl@redhat.com>
2911 * gmemoryinputstream.c:
2912 * gmemoryoutputstream.c:
2913 Don't do pointer arithmetic on void * (#508602)
2914 Patch from Kazuki IWAMOTO
2916 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2918 * === Released 2.15.2 ===
2920 2008-01-14 Alexander Larsson <alexl@redhat.com>
2922 * gfile.c (g_file_monitor_file):
2923 Don't set error here, since we fallback to polling monitor.
2925 2008-01-14 Alexander Larsson <alexl@redhat.com>
2928 (g_file_monitor_directory):
2929 (g_file_monitor_file):
2930 Add GError to file monitor calls
2932 * glocaldirectorymonitor.c:
2933 * glocaldirectorymonitor.h:
2935 * glocalfilemonitor.c:
2936 * glocalfilemonitor.h:
2938 Update for above change
2940 2008-01-14 Alexander Larsson <alexl@redhat.com>
2944 Handle root correctly in g_file_get_relative_path (#508719)
2946 2008-01-14 Alexander Larsson <alexl@redhat.com>
2949 Clean up docs and example for GAsyncResult (#508074)
2951 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2953 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2954 and correct some spelling mistakes. Bug #508108.
2956 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2958 * glocalfileinfo.c: Add a comment.
2960 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2962 * gfileinfo.c: GFileInfo description: Mention
2963 how to actually set attributes in a GFile and how to discover
2964 which attributes are settable. Bug #508378.
2966 2008-01-10 A. Walton <awalton@svn.gnome.org>
2968 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2969 (g_app_info_get_default_for_type):
2970 Check for NULL content types.
2972 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2974 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2976 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2978 * gfile.c: *_async() functions: Several small corrections
2979 to the documentation, mostly correcting copy/paste errors
2980 and improving some sentences.
2982 2008-01-09 Dan Winship <danw@gnome.org>
2984 * glocalfile.c (get_unique_filename): x86_64 fix
2986 2008-01-09 Alexander Larsson <alexl@redhat.com>
2991 Add g_unix_mount_guess_should_display and use
2992 for unix volume monitor backend.
2993 This means we more or less show what the
2994 gnome-vfs backend did.
2995 Based on patch from Padraig O'Briain
2997 2008-01-09 Alexander Larsson <alexl@redhat.com>
3001 Add g_themed_icon_new_with_default_fallbacks
3004 Use default fallbacks for icons
3006 2008-01-09 Alexander Larsson <alexl@redhat.com>
3009 * gmountoperation.[ch]:
3010 Change the API a bit so that unhandled methods
3011 get reported via the reply, rather than by
3012 the signal emission return value. This is because
3013 some handlers can't know this immediately without
3014 doing I/O, and this is an async operation that
3017 2008-01-09 Alexander Larsson <alexl@redhat.com>
3020 * fam/gfamdirectorymonitor.c:
3021 * fam/gfamfilemonitor.c:
3022 Fix double free crash (#508224)
3023 Patch from Joe Marcus Clarke
3025 008-01-07 Matthias Clasen <mclasen@redhat.com>
3027 * === Released 2.15.1 ===
3029 2008-01-07 Alexander Larsson <alexl@redhat.com>
3031 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3032 Fix warning (#507835)
3034 2008-01-07 Alexander Larsson <alexl@redhat.com>
3037 Pass --internal to glib-genmarshal
3040 * gmountoperation.c:
3042 Use better types for signal arguments (#507822)
3044 2008-01-07 Alexander Larsson <alexl@redhat.com>
3047 Build test subdir after .
3048 Remove gdirectorymonitor.[ch]
3050 * gdirectorymonitor.[ch]:
3054 Remove GDirectoryMonitor and make
3055 GFileMonitor the baseclass for both file and
3056 directory monitors. Lift the more generic
3057 rate limiting code from GDirectoryMonitor
3061 * fam/gfamdirectorymonitor.[ch]:
3062 * inotify/ginotifydirectorymonitor.[ch]:
3063 * inotify/inotify-helper.c:
3064 * glocaldirectorymonitor.[ch]:
3067 Update for the removed GDirectoryMonitor.
3069 * gmemoryoutputstream.c:
3070 Remove ununsed variable
3072 2008-01-07 Alexander Larsson <alexl@redhat.com>
3074 * gmemoryinputstream.c:
3075 Translate error strings
3078 * gmemoryoutputstream.[ch]:
3079 New implementation that avoids using GByteArray
3080 in implementation and API. (#506377)
3082 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3084 * tests/*: Add a test for memory input streams.
3086 * Makefile.am: Add tests to SUBDIRS.
3088 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3090 * glocalfilemonitor.c:
3091 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3094 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3096 * gdesktopappinfo.c: Fix a docs typo.
3098 * gfileattribute.c: Add information about extended attributes
3099 to the documentation. (#505058)
3101 2008-01-04 Alexander Larsson <alexl@redhat.com>
3104 * gmountoperation.c:
3105 Use the right type (uint) for the ask_password signal.
3107 2008-01-04 Alexander Larsson <alexl@redhat.com>
3112 Add g_app_info_supports_files()
3113 Remove desktop arg from g_app_info_should_show().
3115 * gdesktopappinfo.[ch]:
3116 Implement g_app_info_supports_files() and new should_show()
3117 Add g_desktop_app_info_set_desktop_env() to set the desktop
3118 for should_show(). (This will be set by gtk+ later)
3120 2008-01-04 Alexander Larsson <alexl@redhat.com>
3123 * gmemoryinputstream.[ch]:
3124 Improve API so that you can use multiple chunks
3125 of memory and custom destroy functions. (#506374)
3127 2008-01-03 Alexander Larsson <alexl@redhat.com>
3130 Handle NULL attribute matchers safely, as we return this
3131 for empty attribute matcher strings.
3133 2008-01-03 Alexander Larsson <alexl@redhat.com>
3135 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3136 Add /usr/local to list of internal mountpoints
3138 2008-01-03 Alexander Larsson <alexl@redhat.com>
3141 Check for HAVE_LCHOWN (#505887)
3143 2008-01-03 Alexander Larsson <alexl@redhat.com>
3147 Add define for selinux context attribute.
3148 Fix missing : -> :: namespace separator change
3149 Fix missing _ -> - name change for xattr-sys.
3152 2008-01-03 Alexander Larsson <alexl@redhat.com>
3155 Link to libglib and libgobject directly (#504879)
3156 Patch from Sebastien Bacher
3158 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3160 * gfile.c: Expanded the g_file_new_for_commandline_arg
3161 description a bit, based on the code and the docs of the
3162 other g_file_new_for_* functions.
3164 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3166 * gfilemonitor.h: Fixed typo in docs.
3168 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3170 Updates to GIO documentation. (#506395, Mikael Hermansson)
3172 * gcontenttype.c: Describe memory management for return value of
3173 g_content_types_get_registered(). Missing piece from #505815.
3174 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3175 GVolume, GDrive, GMounts, which hopefully gives the user less
3176 confusions when using this API. Following explainations from
3177 Alexander Larsson on gtk-devel-list.
3179 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3181 * gfileinfo.c: Expand the long description.
3183 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3186 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3187 fix builds with --disable-visibility. (#500273, Christian Persch)
3189 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3191 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3192 in the list of returned app infos.
3194 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3196 * gappinfo.c: Fix a cross-reference
3198 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3200 * gfileinputstream.c:
3201 * gfileoutputstream.c:
3205 * gdesktopappinfo.c:
3207 * gfileinfo.c: Documentation updates.
3209 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3211 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3214 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3216 * gcontenttype.c (g_content_types_get_registered): Don't return
3217 freed memory (#505815, Mikael Hermansson)
3219 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3221 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3222 used to detect statbuf->st_blocks. (#505042)
3224 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3226 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3227 environment handling. (#504829, Cosimo Cecchi)
3229 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3231 * gappinfo.c: Doc improvements
3233 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3236 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3238 * === Released 2.15.0 ===
3240 2007-12-20 Hans Breuer <hans@breuer.org>
3242 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3243 with symbols gwin32appinfo.obj, added gmount.obj
3244 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3246 2007-12-20 Alexander Larsson <alexl@redhat.com>
3252 * gfilenamecompleter.c:
3255 * gpollfilemonitor.c:
3256 File attribute renames:
3258 fs:: -> filesystem::
3259 id::fs -> id::filesystem
3261 2007-12-20 Alexander Larsson <alexl@redhat.com>
3270 Add GMountUnmountFlags to all unmount and
3272 Add g_mount_remount() call.
3274 2007-12-20 Alexander Larsson <alexl@redhat.com>
3276 * gvfs.c (get_default_vfs):
3277 Fix unused variable warning
3279 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3281 * pltcheck.sh: Update
3283 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3285 * gunionvolumemonitor.c:
3286 * gunixmount.c: Remove C99 comments
3288 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3290 * gio.symbols: Add some missing symbols
3292 2007-12-19 Alexander Larsson <alexl@redhat.com>
3295 Make g_io_modules_load_all_in_directory not unuse
3296 loaded modules so that users of it can do stuff
3298 Init internal "module" types.
3299 Initialize static prio and name for types so that
3300 we don't have to load modules to get it.
3302 * gnativevolumemonitor.h:
3304 Move is_supported to parent class so that
3305 non-native monitors can avoid being initialized
3306 too. (For instance GDaemonVolumeMonitor if we're
3307 not using GDaemonVfs.)
3309 * glocaldirectorymonitor.[ch]:
3310 * glocalfilemonitor.[ch]:
3311 * gunionvolumemonitor.c:
3312 * gunixvolumemonitor.c:
3314 Find plugins using the static prio+name to
3315 avoid unnecessarily loading the modules.
3317 2007-12-19 Alexander Larsson <alexl@redhat.com>
3322 2007-12-19 Alexander Larsson <alexl@redhat.com>
3324 * gunionvolumemonitor.c:
3325 Store the native type as GType, not class so that
3326 we can unload it. But still avoid unnecessarily
3329 2007-12-19 David Zeuthen <davidz@redhat.com>
3331 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3332 add signals 'disconnected' and 'eject-button' on GDrive. Add
3333 signal 'removed' on GVolume and 'unmounted' on GMount.
3335 * gdrive.c: (g_drive_base_init):
3337 * gfile.c: (g_file_mount_mountable),
3338 (g_file_mount_enclosing_volume):
3341 * gmount.c: (g_mount_base_init):
3343 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3344 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3345 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3349 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3351 * *.c: Fix up includes in the section docs.
3353 2007-12-17 Alexander Larsson <alexl@redhat.com>
3355 * gnativevolumemonitor.h:
3356 * gunionvolumemonitor.c:
3357 * gunixvolumemonitor.c:
3358 Add is_supported() to GNativeVolumeMonitorClass so
3359 that we can avoid having to create an object to see
3360 if the backend is supported at runtime.
3361 Also add name member and an env var to pick a specific
3362 volume monitor backend.
3366 Add cancellable to _g_mount_get_for_mount_path()
3368 * glocaldirectorymonitor.c:
3369 * glocalfilemonitor.c:
3370 Avoid loading and unloading modules while sorting.
3372 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3375 * gunixmounts.[hc]: Namespace waste reduction, move some
3376 g_get_unix_mount functions to the g_unix_mount namespace.
3379 * gunixvolumemonitor.c:
3381 * glocaldirectorymonitor.c: Update all callers.
3383 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3385 2007-12-17 Alexander Larsson <alexl@redhat.com>
3388 Add doc comments about what GFile operations are
3389 guaranteed to not block.
3391 2007-12-17 Alexander Larsson <alexl@redhat.com>
3394 Add missing #ifdef fixing OSX build.
3395 (#503334, patch from Richard Hult)
3397 2007-12-14 David Zeuthen <davidz@redhat.com>
3401 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3402 (g_mount_eject), (g_mount_eject_finish):
3404 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3405 (get_volume_for_uuid), (get_mount_for_uuid),
3406 (g_union_volume_monitor_class_init),
3407 (get_default_native_type_with_exclude), (get_default_native_type),
3408 (get_native_type), (update_native_type),
3409 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3410 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3411 (g_unix_mount_can_eject), (eject_unmount_cb),
3412 (eject_unmount_read_error), (eject_unmount_do),
3413 (g_unix_mount_unmount), (g_unix_mount_eject),
3414 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3415 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3416 (g_unix_mount_point_guess_can_eject):
3418 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3419 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3420 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3421 (g_unix_volume_mount), (g_unix_volume_eject),
3422 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3423 * gunixvolumemonitor.c: (get_volume_for_uuid),
3424 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3426 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3427 (g_volume_eject), (g_volume_eject_finish):
3429 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3430 (g_volume_monitor_get_mount_for_uuid):
3433 Provide eject() on both GMount and GVolume and utility functions
3434 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3435 ejected. Introduce the concept of UUID's and wire it into GVolume
3436 and GMount and provide API on GVolumeMonitor to find such
3437 instances. Also handle the case where an external
3438 GNativeVolumeMonitor fails to initialize. Lock around the
3439 _g_get_mount_for_mount_path() function such that volume monitor
3440 implementations won't have to do locking themselves.
3442 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3444 * gdesktopappinfo.c:
3450 * gvolume.h: Documentation updates
3452 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3455 * gfile.h: Doc updates
3457 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3460 * gdesktopappinfo.c: Use hash table iterators.
3462 2007-12-14 Alexander Larsson <alexl@redhat.com>
3465 * gfileattribute.[ch]:
3466 * gfileattribute-priv.h:
3467 Move GFileAttributeValue to a private header, as
3471 Make set_attribute take a type + a pointer instead
3472 of a GFileAttributeValue.
3475 Fix up for above changes.
3476 Add g_file_info_get_attribute_data to get
3477 all info in one call, g_file_info_get_attribute_status
3478 to get the status and g_file_info_get_attribute_as_string.
3482 * glocalfileinfo.[ch]:
3486 Make _guess_type static.
3488 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3491 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3492 made mkenums and friends use temporary files to avoid leaving
3493 empty generated files on failure (#503470).
3495 2007-12-14 Alexander Larsson <alexl@redhat.com>
3497 * gmountoperation.h:
3500 2007-12-14 Alexander Larsson <alexl@redhat.com>
3504 * gfileattribute.[ch]:
3507 * glocalfileoutputstream.c:
3508 * gmountoperation.[ch]:
3509 * goutputstream.[ch]:
3510 Clean up all flags enums to not have _FLAGS in them
3511 Make the names of some of the enums better.
3516 2007-12-14 Michael Natterer <mitch@imendio.com>
3518 * gio.symbols: fix g_io_scheduler symbol names.
3520 2007-12-14 Alexander Larsson <alexl@redhat.com>
3526 * gbufferedinputstream.h:
3527 * gbufferedoutputstream.h:
3530 * gdatainputstream.h:
3531 * gdataoutputstream.h:
3532 * gdesktopappinfo.h:
3533 * gdirectorymonitor.h:
3537 * gfileenumerator.h:
3540 * gfileinputstream.h:
3542 * gfilenamecompleter.h:
3543 * gfileoutputstream.h:
3544 * gfilterinputstream.h:
3545 * gfilteroutputstream.h:
3553 * gmemoryinputstream.h:
3554 * gmemoryoutputstream.h:
3556 * gmountoperation.h:
3559 * gsimpleasyncresult.h:
3561 * gunixinputstream.h:
3563 * gunixoutputstream.h:
3567 * inotify/Makefile.am:
3568 Only allow including <gio/gio.h> from apps
3570 2007-12-14 Alexander Larsson <alexl@redhat.com>
3572 * gioscheduler.[ch]:
3573 * gsimpleasyncresult.c:
3574 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3575 Split out the send_to_mainloop call into two versions instead
3576 of having the block argument.
3578 2007-12-13 Alexander Larsson <alexl@redhat.com>
3580 * gcancellable.[ch]:
3582 * gbufferedinputstream.c:
3583 * gfileenumerator.c:
3584 * gfileinputstream.c:
3585 * gfileoutputstream.c:
3589 g_push/pop_current_cancellable ->
3590 g_cancellable_push/pop_current
3592 2007-12-13 Alexander Larsson <alexl@redhat.com>
3596 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3598 2007-12-13 Alexander Larsson <alexl@redhat.com>
3600 * gmountoperation.h:
3601 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3603 2007-12-12 Alexander Larsson <alexl@redhat.com>
3606 Fix race condition when freeing proxy in
3607 g_io_job_send_to_mainloop().
3609 2007-12-12 Alexander Larsson <alexl@redhat.com>
3615 Make attribute namespace separator "::" instead of ":".
3616 Use - instead of _ as separator in attribute names.
3618 2007-12-12 Alexander Larsson <alexl@redhat.com>
3620 * gbufferedinputstream.h:
3621 * gbufferedoutputstream.h:
3622 * gdatainputstream.h:
3623 * gdataoutputstream.h:
3624 * gdirectorymonitor.h:
3625 * gfileenumerator.h:
3626 * gfileinputstream.h:
3628 * gfileoutputstream.h:
3629 * gfilterinputstream.h:
3630 * gfilteroutputstream.h:
3632 * glocalfileinputstream.h:
3633 * glocalfileoutputstream.h:
3634 * gmemoryinputstream.h:
3635 * gmemoryoutputstream.h:
3636 * gnativevolumemonitor.h:
3638 * gunixinputstream.h:
3639 * gunixoutputstream.h:
3642 s/parent/parent_instance/ in GObjects
3644 2007-12-12 Alexander Larsson <alexl@redhat.com>
3649 No need for padding for interfaces
3651 2007-12-12 Alexander Larsson <alexl@redhat.com>
3655 * gbufferedinputstream.c:
3656 * gbufferedoutputstream.c:
3659 * gdatainputstream.[ch]:
3660 * gdesktopappinfo.c:
3661 * gdirectorymonitor.c:
3663 * gfileattribute.[ch]:
3666 * gfileinputstream.h:
3667 * gfilemonitor.[ch]:
3668 * gfileoutputstream.[ch]:
3669 * gfilterinputstream.h:
3670 * gfilteroutputstream.h:
3673 * gloadableicon.[ch]:
3674 * gmemoryinputstream.c:
3675 * gmountoperation.c:
3677 Fix up a bunch of details in the docs.
3682 2007-12-11 David Zeuthen <davidz@redhat.com>
3684 Rework how volumes, drives and volume monitoring is
3685 done. Previosly the model was
3687 GDrive <1-1> GVolume
3689 where a GDrive instance represented a mount point and a GVolume
3690 instance represented a mounted file system. This patch changes it
3693 GDrive <1-N> GVolume <1-1> GMount
3695 where GMount now serves the purpose of the old GVolume and the new
3696 GVolume serves the purpose of the old GDrive. In addition the new
3697 GDrive interface is used to represent a collection of GVolume
3698 instances (typically partitions) and also contains utility to query
3699 the state of the physical drive the GDrive object represents (such
3700 as checking for media, polling the drive, ejecting the media etc.).
3702 Also implement mounting and unmounting in the Unix volume monitor
3703 backend. A subquent patch will introduce GDrive support for ejection
3707 * gdrive.c: (g_drive_is_media_check_automatic),
3708 (g_drive_is_media_removable), (g_drive_has_media),
3709 (g_drive_can_poll_for_media), (g_drive_eject),
3710 (g_drive_eject_finish), (g_drive_poll_for_media),
3711 (g_drive_poll_for_media_finish):
3713 * gfile.c: (g_file_find_enclosing_mount):
3716 * glocaldirectorymonitor.c:
3717 (g_local_directory_monitor_constructor), (mounts_changed):
3718 * glocalfile.c: (get_mount_info),
3719 (g_local_file_find_enclosing_mount),
3720 (g_local_file_file_iface_init):
3721 * gnativevolumemonitor.h:
3722 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3723 (get_connected_drives), (g_union_volume_monitor_class_init),
3724 (child_volume_added), (child_volume_removed),
3725 (child_volume_changed), (child_mount_added), (child_mount_removed),
3726 (child_mount_pre_unmount), (child_mount_changed),
3727 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3728 (g_union_volume_monitor_remove_monitor),
3729 (_g_mount_get_for_mount_path):
3730 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3731 (guess_system_internal), (_g_get_unix_mounts),
3732 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3733 (g_unix_mount_free), (g_unix_mount_compare),
3734 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3735 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3736 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3737 (type_to_icon), (g_unix_mount_guess_name),
3738 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3739 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3740 (_resolve_symlink), (_resolve_dev_root):
3742 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3743 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3744 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3745 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3746 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3747 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3748 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3749 (g_unix_volume_volume_iface_init):
3751 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3752 (get_mounts), (get_volumes), (get_connected_drives),
3753 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3754 (mountpoints_changed), (mounts_changed),
3755 (g_unix_volume_monitor_init),
3756 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3757 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3758 * gunixvolumemonitor.h:
3759 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3760 (g_volume_mount), (g_volume_mount_finish):
3762 * gvolumemonitor.c: (g_volume_monitor_class_init),
3763 (g_volume_monitor_get_connected_drives),
3764 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3767 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3769 * gmountoperation.h (GPasswordFlags): Close the gap
3771 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3773 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3775 * gdesktopappinfo.[hc]: Remove _-prefixes
3777 2007-12-10 Tor Lillqvist <tml@novell.com>
3779 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3782 2007-12-10 Alexander Larsson <alexl@redhat.com>
3784 * gfile.c (g_file_set_display_name):
3785 Don't hardcode '/' (#502727)
3787 2007-12-09 Hans Breuer <hans@breuer.org>
3789 * makefile.msc : follow lib naming convention
3790 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3791 for user and group name, tested with ../tests/gio-ls
3793 2007-12-09 A. Walton <awalton@svn.gnome.org>
3795 * gdesktopappinfo.c:
3801 * gfileenumerator.c:
3806 * gmemoryinputstream.c:
3807 * gmemoryoutputstream.c:
3809 * gsimpleasyncresult.c:
3810 More documentation cleanup and filling in missing information, bringing
3811 GIO to 99% symbol coverage.
3813 2007-12-08 Hans Breuer <hans@breuer.org>
3815 [gio compiles and links on win32, not sure how much already works]
3816 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3817 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3818 base on win32 API; prefer g_lstat() over lstat(); instead of
3819 localtime_r() use an all GLib implementation on win32;
3820 get_mount_info() still needs a win32 specifc implementation
3821 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3822 win32_get_file_user_info to get owner/group info without uid/gid
3823 * glocalfileinputstream.c : include <io.h> on win32
3824 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3825 definition, use g_win32_ftruncate() for G_OS_WIN32
3826 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3827 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3828 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3829 * makefile.msc : updated
3831 2007-12-07 Alexander Larsson <alexl@redhat.com>
3833 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3834 Avoid warning spew if error == NULL
3836 2007-12-07 Alexander Larsson <alexl@redhat.com>
3839 Update docs wrt etags
3841 2007-12-06 Alexander Larsson <alexl@redhat.com>
3844 Include sys/types.h for dev_t (#501919)
3846 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3850 Make abicheck and pltcheck pass.
3852 2007-12-05 Alexander Larsson <alexl@redhat.com>
3855 * giomodule-priv.h: Added.
3856 * glocaldirectorymonitor.c:
3857 * glocalfilemonitor.c:
3858 * gunionvolumemonitor.c:
3860 Actually add the declaration of _g_io_modules_ensure_loaded
3862 2007-12-05 Alexander Larsson <alexl@redhat.com>
3864 * gdatainputstream.c:
3869 * glocaldirectorymonitor.c:
3870 * glocalfilemonitor.c:
3871 * gunionvolumemonitor.c:
3873 Make g_io_modules_ensure_loaded a private function and
3874 don't pass in the dirname. This means we can do magic
3875 directory finding in the win32 version.
3876 Export the actual load-modules-in-directory code so that
3877 gvfs can reuse that.
3879 2007-12-05 Alexander Larsson <alexl@redhat.com>
3881 * gbufferedinputstream.c:
3882 * gbufferedoutputstream.c:
3885 * gfileenumerator.[ch]:
3886 * gfileinputstream.c:
3887 * gfileoutputstream.[ch]:
3888 * gfilterinputstream.c:
3889 * gfilteroutputstream.c:
3890 * ginputstream.[ch]:
3892 * glocalfileenumerator.c:
3893 * glocalfileinputstream.c:
3894 * glocalfileoutputstream.c:
3895 * gmemoryinputstream.c:
3896 * gmemoryoutputstream.c:
3897 * goutputstream.[ch]:
3900 * gunixinputstream.c:
3901 * gunixoutputstream.c:
3902 Rename all struct members named:
3903 read, write, close, truncate, or mount
3904 to foo_fn, as these are reserved names
3905 and could be defined as macros in libc.
3908 2007-12-04 Alexander Larsson <alexl@redhat.com>
3911 (g_output_stream_close):
3912 Only call flush if non-null.
3914 2007-11-30 Dan Winship <danw@gnome.org>
3916 * ginputstream.c (g_input_stream_set_pending): Make this take a
3917 GError and return a gboolean, and do the "outstanding operation"
3918 check (and the "stream is already closed" check) itself.
3919 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3921 * goutputstream.c (g_output_stream_set_pending)
3922 (g_output_stream_clear_pending): Likewise
3924 * gbufferedinputstream.c:
3925 * gfileinputstream.c:
3926 * gfileoutputstream.c: Update for that
3928 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3929 Like g_simple_async_report_error_in_idle, but takes a GError
3930 rather than building one.
3932 2007-11-30 Dan Winship <danw@gnome.org>
3934 * goutputstream.c: Don't cheat and unset the "pending" flag around
3935 inner calls. Instead, call the class method directly rather than
3936 the wrapper function that checks "pending"
3938 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3940 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3942 2007-12-03 Hans Breuer <hans@breuer.org>
3944 [start of port to win32/msvc]
3945 * gcancellable.c : HAVE_UNIST_H and _pipe()
3946 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3947 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3948 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3950 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3951 * glocalvfs.c : use HAVE_PWD_H
3952 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3953 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3954 * Makefile.am : added to EXTRA_DIST
3956 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3958 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3961 2007-12-03 Alexander Larsson <alexl@redhat.com>
3964 Handle OSX style xattrs API (#500506)
3966 2007-12-03 Alexander Larsson <alexl@redhat.com>
3970 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3972 2007-12-02 A. Walton <awalton@svn.gnome.org>
3976 Documentation accuracy fixes.
3978 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3980 * gioenumtypes.c.template: Fix typo.
3982 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3984 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3986 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3988 * gdirectorymonitor.c:
3989 * gfilemonitor.c: Add properties
3991 * gbufferedoutputstream.c: Don't mark buffer-size property
3994 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3996 * gbufferedoutputstream.c: Add auto-grow property.
3998 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4000 * *.c: Unify the capitalization of section headings.
4002 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4004 * gmountoperation.c: Add properties
4006 * gdatainputstream.c: Turn byte-order and newline-type into
4009 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4011 * gioenumtypes.[hc].template: Templates for enum registration
4013 * Makefile.am: Generate gioenumtypes.[hc]
4015 * gio.h: Include gioenumtypes.h
4017 * gfile.h: Add some explicit nicks.
4019 * gio.symbols: Add new symbols
4021 * pltcheck.sh: Adjust
4023 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4025 * *.c: Explain etags and link to the explanation
4027 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4029 * *.c: Explain I/O priority.
4031 * *.c: More coding style fixes.
4033 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4035 * gasyncresult.c: Add another paragraph to the intro,
4036 adjust coding style of example.
4038 2007-11-29 A. Walton <awalton@svn.gnome.org>
4041 Fixes unknown meaning in GAppLaunchContext docs.
4043 Clarify asynchronous ops.
4045 Fix entity tag docs.
4048 Provides missing gtk-doc section, fixes API docs slighly.
4049 * gsimpleasyncresult.c:
4050 Fill in missing info in docs.
4051 * gunixinputstream.c:
4052 * gunixoutputstream.c:
4053 Be more expressive in short description.
4055 Remove gtk-doc stubs for non-public API.
4057 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4059 * *.c: Coding style fixups
4061 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4063 * inotify/inotify-helper.c: Don't export the lock from libgio.
4065 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4068 * abicheck.sh: Fix copy-and-paste leftovers
4070 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4072 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4074 2007-11-28 Alexander Larsson <alexl@redhat.com>
4078 Removed unnecessary file
4080 * gdesktopappinfo.[ch]:
4083 * glocaldirectorymonitor.[ch]:
4085 * glocalfileenumerator.[ch]:
4086 * glocalfileinputstream.[ch]:
4087 * glocalfilemonitor.[ch]:
4088 * glocalfileoutputstream.[ch]:
4090 * gnativevolumemonitor.c:
4091 * gpollfilemonitor.[ch]:
4092 * gunionvolumemonitor.[ch]:
4095 * gunixvolumemonitor.[ch]:
4098 * inotify/ginotifydirectorymonitor.[ch]:
4099 * inotify/ginotifyfilemonitor.[ch]:
4100 * inotify/inotify-helper.c:
4101 Append _ to all internal functions
4105 Export symbols needed for modules
4107 2007-11-28 Alexander Larsson <alexl@redhat.com>
4110 * abicheck.sh: Added.
4111 * makegioalias.pl: Added.
4112 * pltcheck.sh: Added.
4113 * gio.symbols: Added.
4116 Initial work on adding symbol handling.
4119 Correct ifdef guard name
4122 * inotify/Makefile.am:
4123 * xdgmime/Makefile.am:
4124 Include toplevel Makefile.decl
4126 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4128 * gcontenttype.c: Move doc comments to the unix section.
4130 * *.[hc]: More trivial doc corrections.
4132 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4134 * gpollfilemonitor.c:
4138 * gdesktopappinfo.c:
4143 * gdatainputstream.c:
4144 * gdatainputstream.h:
4145 * gdataoutputstream.c:
4146 * gdataoutputstream.h:
4147 * gfileinfo.h: Doc cleanups
4149 2007-11-28 Andre Klapper <a9016009@gmx.de>
4151 * gdesktopappinfo.c: Fix a typo.
4153 2007-11-27 Andre Klapper <a9016009@gmx.de>
4155 * glocalfileoutputstream.c: Fix a typo.
4157 2007-11-27 Alexander Larsson <alexl@redhat.com>
4160 Don't include removed headers
4162 2007-11-27 Alexander Larsson <alexl@redhat.com>
4165 * gsocketinputstream.[ch]: Removed.
4166 * gsocketoutputstream.[ch]: Removed.
4167 * gunixinputstream.[ch]: Added.
4168 * gunixoutputstream.[ch]: Added.
4169 Renamed GSocket*Stream to GUnix*Stream and made
4170 it unix-only, since its not really only for sockets
4171 and it only works on unix (but is highly useful there).
4173 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4179 * gbufferedinputstream.c:
4180 * gbufferedinputstream.h:
4181 * gbufferedoutputstream.c:
4182 * gbufferedoutputstream.h:
4186 * gdatainputstream.c:
4187 * gdatainputstream.h:
4188 * gdataoutputstream.c:
4189 * gdataoutputstream.h:
4190 * gdirectorymonitor.c:
4191 * gdirectorymonitor.h:
4198 * gfileenumerator.c:
4199 * gfileenumerator.h:
4204 * gfileinputstream.c:
4205 * gfileinputstream.h:
4208 * gfilenamecompleter.c:
4209 * gfilenamecompleter.h:
4210 * gfileoutputstream.c:
4211 * gfileoutputstream.h:
4212 * gfilterinputstream.c:
4213 * gfilterinputstream.h:
4214 * gfilteroutputstream.c:
4215 * gfilteroutputstream.h:
4228 * glocalfileoutputstream.c:
4229 * gmemoryinputstream.c:
4230 * gmemoryinputstream.h:
4231 * gmemoryoutputstream.c:
4232 * gmemoryoutputstream.h:
4233 * gmountoperation.c:
4234 * gmountoperation.h:
4237 * gpollfilemonitor.c:
4240 * gsimpleasyncresult.c:
4241 * gsimpleasyncresult.h:
4242 * gsocketinputstream.c:
4243 * gsocketinputstream.h:
4244 * gsocketoutputstream.c:
4245 * gsocketoutputstream.h:
4252 * gunixvolumemonitor.c:
4261 Bumps documentation to 93% symbol coverage, touching most
4262 of the public files. Fixes broken function documentation prototypes.
4263 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4264 gtk-doc headers in private files.
4266 2007-11-27 Jürg Billeter <j@bitron.ch>
4268 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4269 (g_buffered_input_stream_read_byte):
4270 * gbufferedinputstream.h:
4271 New functions for efficient access to buffer and simple single byte
4274 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4275 (g_data_input_stream_read_until):
4276 * gdatainputstream.h:
4277 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4278 read_until with multiple stop chars.
4280 2007-11-27 Alexander Larsson <alexl@redhat.com>
4284 * inotify/Makefile.am:
4285 Use the user-specified giomoduledir
4287 2007-11-27 Alexander Larsson <alexl@redhat.com>
4291 Add catch-all gio.h header
4292 Don't install gdummyfile.h
4294 2007-11-26 Alexander Larsson <alexl@redhat.com>
4296 * Makefile.am (gioinclude_HEADERS):
4297 Remove trailing whitespace
4299 2007-11-26 Alexander Larsson <alexl@redhat.com>
4301 Merge gio-standalone into glib
4303 2007-11-25 Christian Kellner <gicmo@gnome.org>
4305 * gio/goutputstream.c:
4306 Fix small mistake in the docs.
4308 2007-11-21 Christian Persch <chpe@gnome.org>
4310 * gio/glocalfile.c: (g_local_file_trash):
4311 Convert filenames to UTF-8 for GError.
4312 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4313 as per xdg base dir spec.
4315 2007-11-21 Christian Persch <chpe@gnome.org>
4317 * gio/gdesktopappinfo.c:
4318 Use that g_key_file_to_data cannot fail.
4320 Use stock defines for the key file group and key names.
4323 2007-11-21 Alexander Larsson <alexl@redhat.com>
4326 (copy_stream_with_progress):
4327 Make sure we do a final progress callback with
4328 the full total size.
4330 2007-11-21 Alexander Larsson <alexl@redhat.com>
4333 Export g_file_copy_attributes
4334 Remove padding as its not needed for interfaces
4336 2007-11-20 Alexander Larsson <alexl@redhat.com>
4341 Add G_IO_ERROR_WOULD_MERGE for
4342 copy/move dir on dir with overwrite.
4344 2007-11-20 Alexander Larsson <alexl@redhat.com>
4347 * gio/glocalfileinfo.c:
4348 Add COPY_NAME (this is an optional
4349 non-modified utf8 version of the name) that
4352 2007-11-20 Alexander Larsson <alexl@redhat.com>
4354 * gio/glocalfileenumerator.c:
4355 Report errors as GIOError, not GFileError
4357 2007-11-16 Alexander Larsson <alexl@redhat.com>
4359 * gio/glocalfileoutputstream.c:
4360 * gio/gwin32appinfo.c:
4361 Fix typos in strings.
4362 Patch from Luca Ferretti <elle.uca@libero.it>
4364 2007-11-15 Alexander Larsson <alexl@redhat.com>
4367 Post release version bump
4369 === gio-standalone 0.1.2 ===
4371 2007-11-15 Alexander Larsson <alexl@redhat.com>
4373 * docs/reference/gio/Makefile.am:
4374 Fix up distcheck by removing weird
4380 2007-11-14 Alexander Larsson <alexl@redhat.com>
4382 * gio/gdesktopappinfo.c:
4383 * gio/glocaldirectorymonitor.c:
4385 * gio/glocalfileinfo.c:
4386 * gio/inotify/inotify-sub.c:
4387 * programs/gio-cat.c:
4388 * programs/gio-copy.c:
4389 * programs/gio-info.c:
4390 * programs/gio-ls.c:
4391 * programs/gio-monitor-dir.c:
4392 * programs/gio-monitor-file.c:
4393 * programs/gio-mount.c:
4394 * programs/gio-move.c:
4395 * programs/gio-rm.c:
4396 * programs/gio-save.c:
4397 * programs/gio-trash.c:
4398 Leak fixes from Kjartan Maraas
4400 2007-11-14 Alexander Larsson <alexl@redhat.com>
4402 * gio/fam/fam-helper.c:
4404 * gio/glocalfileinfo.c:
4408 * gio/inotify/inotify-diag.c:
4409 * gio/inotify/inotify-kernel.c:
4410 Various code cleanups from Kjartan Maraas
4412 2007-11-14 Alexander Larsson <alexl@redhat.com>
4414 * gio/gioscheduler.c:
4416 Set up threadpool so that we cache 2 unused
4417 idle threads for at 15 secs. This means we
4418 will reuse thread-local data (like dbus connections)
4421 2007-11-14 Alexander Larsson <alexl@redhat.com>
4423 * gio/fam/fam-helper.c:
4424 * gio/fam/gfamdirectorymonitor.c:
4425 * gio/fam/gfamfilemonitor.c:
4427 * gio/gcontenttype.c:
4428 * gio/gdatainputstream.c:
4429 * gio/gdataoutputstream.c:
4433 * gio/gfileattribute.h:
4434 * gio/gfileenumerator.c:
4436 * gio/ginputstream.c:
4439 * gio/glocalfileinfo.c:
4440 * gio/goutputstream.c:
4441 * gio/gpollfilemonitor.c:
4442 * gio/gsimpleasyncresult.c:
4443 * gio/gunixmounts.c:
4444 * gio/gunixmounts.h:
4445 * gio/inotify/ginotifydirectorymonitor.c:
4446 * gio/inotify/ginotifyfilemonitor.c:
4447 * gio/inotify/inotify-diag.c:
4448 * gio/inotify/inotify-kernel.c:
4449 * gio/inotify/inotify-path.c:
4451 * gio/test-streams.c:
4452 * programs/gio-info.c:
4453 * programs/gio-monitor-dir.c:
4454 * programs/gio-monitor-file.c:
4455 Various code cleanups from Kjartan Maraas
4457 2007-11-13 Alexander Larsson <alexl@redhat.com>
4460 Handle the uri-scheme calls for dummy files
4462 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4464 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4465 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4466 to avoid clash with the C++ keyword.
4468 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4470 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4471 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4473 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4475 * gio/glocaldirectorymonitor.c:
4476 * gio/glocalfilemonitor.c:
4477 * gio/gunionvolumemonitor.c:
4478 Don't use g_once_init_*() for initializations that could fail and
4479 could leave the initialization variable set to 0 but use GOnce.
4480 This prevents a deadlock on the second call when trying to create
4481 a monitor and no monitor type is available. Thanks to Sven Herzberg
4484 2007-11-11 Sven Herzberg <sven@imendio.com>
4486 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4487 #ifdef (make it work on MacOS X again)
4489 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4491 Fixes Changelog for last two commits (sorry guys).
4493 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4495 * gio/gbufferedinputstream.c:
4496 * gio/gdatainputstream.c:
4498 * gio/gfileoutputstream.c:
4499 * gio/gfilterinputstream.c:
4500 * gio/glocalfileinputstream.c:
4503 More consistency fixes in g*stream.c files.
4504 Significant clean of gfile's documentation, filling in of
4505 asynchronous operations documentation.
4507 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4509 * gio/gasyncresult.c:
4510 * gio/gbufferedinputstream.c:
4511 * gio/gbufferedoutputstream.c:
4512 * gio/gcancellable.c:
4513 * gio/gcontenttype.c:
4514 * gio/gdatainputstream.c:
4515 * gio/gdataoutputstream.c:
4516 * gio/gdesktopappinfo.c:
4519 * gio/gfileattribute.c:
4520 * gio/gio/gfileenumerator.c:
4522 * gio/gfileinputstream.c:
4523 * gio/gfilemonitor.c:
4524 * gio/gfileoutputstream.c:
4525 * gio/ginputstream.c:
4527 * gio/gioscheduler.c:
4528 * gio/gloadableicon.c:
4529 * gio/glocalfileoutputstream.c:
4530 * gio/gmemoryoutputstream.c:
4531 * gio/gmountoperation.c:
4532 * gio/goutputstream.c:
4534 * gio/gsimpleasyncresult.c:
4535 * gio/gunionvolumemonitor.c:
4536 * gio/gunixmounts.c:
4537 * gio/gunixvolume.c:
4541 * gio/gvolumemonitor.c:
4542 Updated documentation stubs, working towards consistency and
4545 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4547 * gio/gmemoryoutputstream.c:
4548 * gio/gmemoryoutputstream.h:
4549 Change g_memory_output_stream_set_free_on_close() to
4550 g_memory_output_stream_set_free_data() as this makes more sense and
4551 is more consistent with GMemoryInputStream.
4553 2007-11-07 Alexander Larsson <alexl@redhat.com>
4560 Change how we find the default vfs so that
4561 we can handle a gvfs failing to init
4563 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4565 * gio/gbufferedoutputstream.c:
4566 * gio/gdatainputstream.c:
4567 * gio/gdataoutputstream.c:
4568 * gio/gfileinputstream.c:
4569 * gio/gfileoutputstream.c:
4570 * gio/gfilterinputstream.c:
4571 * gio/gfilteroutputstream.c:
4572 * gio/ginputstream.c:
4573 * gio/gmemoryinputstream.c:
4574 * gio/gmemoryoutputstream.c:
4575 * gio/goutputstream.c:
4576 * gio/gsimpleasyncresult.c:
4577 * gio/gsocketinputstream.c:
4578 * gio/gsocketoutputstream.c:
4579 Add guards to the remaining public functions, add a TODO for
4580 an unimplemented function and remove some useless guards.
4582 2007-11-07 Alexander Larsson <alexl@redhat.com>
4585 Autoconf checks for the various types of
4586 getpwuid_r and getgrgid_r
4588 * gio/glocalfileinfo.c:
4589 Use the autoconf checks from above
4591 2007-11-07 Alexander Larsson <alexl@redhat.com>
4594 (g_local_file_query_filesystem_info):
4595 Some fixes for the statvfs case
4597 2007-11-07 Alexander Larsson <alexl@redhat.com>
4600 (g_local_file_query_filesystem_info):
4601 Pick the "best" of statfs / statvfs for the system
4602 if both are availible.
4604 2007-11-07 Alexander Larsson <alexl@redhat.com>
4606 Solaris fixes from Halton.Huo@Sun.COM:
4613 * gio/glocalfileinfo.c:
4614 Fix for solaris definition of getpwuid_r
4616 * gio/test-streams.c:
4617 Use G_GNUC_PRETTY_FUNCTION
4619 2007-11-07 Alexander Larsson <alexl@redhat.com>
4621 * gio/gdesktopappinfo.c:
4622 (update_default_list):
4623 Remove double semicolon.
4624 Patch from Jens Granseuer
4626 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4628 * docs/reference/gio/gio-sections.txt:
4629 * gio/gbufferedinputstream.c:
4630 * gio/gbufferedinputstream.h:
4631 * gio/gdatainputstream.c:
4632 * gio/gfileenumerator.c:
4633 * gio/gioscheduler.c:
4634 * gio/gunionvolumemonitor.c:
4636 * programs/gio-save.c:
4637 Fix typo: availible -> available. Unfortuntely this breaks API
4638 and ABI as g_buffered_input_stream_get_available() was renamed.
4640 * gio/gunixmounts.c:
4641 * gio/gbufferedinputstream.c:
4642 Add guards for public functions.
4644 2007-11-06 Ross Burton <ross@openedhand.com>
4646 * docs/reference/gio/Makefile.am:
4647 Fix invalid += usage which automake 1.10 doesn't like.
4649 2007-11-06 Alexander Larsson <alexl@redhat.com>
4652 (g_app_launch_context_class_init):
4655 Patch from Ross Burton
4657 2007-11-06 Alexander Larsson <alexl@redhat.com>
4660 Post release version bump
4662 === gio-standalone 0.1.1 ===
4664 2007-11-06 Alexander Larsson <alexl@redhat.com>
4667 Bump version to 0.1.1
4669 * gio/gsimpleasyncresult.c:
4670 (g_simple_async_result_set_from_error):
4671 Remove bogus g_return_if_fail
4673 2007-11-06 Alexander Larsson <alexl@redhat.com>
4676 The name is gio-standalone
4679 Add top src/builddir to includedir
4681 2007-11-06 Alexander Larsson <alexl@redhat.com>
4683 * docs/reference/gio/gio-sections.txt:
4685 * gio/gbufferedinputstream.c:
4686 * gio/gbufferedoutputstream.c:
4687 * gio/gcancellable.c:
4688 * gio/gdatainputstream.h:
4689 * gio/gdataoutputstream.c:
4690 * gio/gdataoutputstream.h:
4691 * gio/gdirectorymonitor.c:
4693 * gio/gfileattribute.c:
4694 * gio/gfileattribute.h:
4695 * gio/gfileenumerator.c:
4696 * gio/gfileenumerator.h:
4699 * gio/gfileinputstream.h:
4700 * gio/gfilemonitor.c:
4701 * gio/gfileoutputstream.h:
4702 * gio/glocalfilemonitor.h:
4703 * gio/glocalfileoutputstream.h:
4704 * gio/gmemoryinputstream.c:
4705 * gio/gmemoryoutputstream.c:
4706 * gio/gmountoperation.c:
4707 * gio/goutputstream.c:
4708 * gio/goutputstream.h:
4710 * gio/gsimpleasyncresult.c:
4711 * gio/gunixmounts.c:
4712 * gio/gunixmounts.h:
4714 * gio/inotify/inotify-helper.c:
4715 Fix gtk-doc warnings
4717 Patch from Ross Burton
4719 2007-11-06 Alexander Larsson <alexl@redhat.com>
4721 * gio/gfilenamecompleter.c:
4722 (g_filename_completer_get_completions):
4725 * gio/gunixvolume.c:
4726 Remove unused function
4728 Patches from Ross Burton
4730 2007-11-06 Alexander Larsson <alexl@redhat.com>
4735 Padding not needed for interfaces
4737 2007-11-06 Alexander Larsson <alexl@redhat.com>
4739 * gio/gfilemonitor.c:
4743 Make giotypes.h an internal file
4746 * gio/gbufferedinputstream.h:
4747 * gio/gbufferedoutputstream.h:
4748 * gio/gcancellable.h:
4749 * gio/gdatainputstream.h:
4750 * gio/gdataoutputstream.h:
4751 * gio/gdirectorymonitor.c:
4752 * gio/gdirectorymonitor.h:
4757 * gio/gfileattribute.h:
4758 * gio/gfileenumerator.h:
4763 * gio/gfilemonitor.c:
4764 * gio/gfilemonitor.h:
4765 * gio/gfilenamecompleter.c:
4766 * gio/gfilenamecompleter.h:
4767 * gio/gfilterinputstream.h:
4768 * gio/gfilteroutputstream.h:
4769 * gio/ginputstream.h:
4770 * gio/gmemoryinputstream.h:
4771 * gio/gmemoryoutputstream.h:
4772 * gio/gmountoperation.c:
4773 * gio/gmountoperation.h:
4774 * gio/gnativevolumemonitor.c:
4775 * gio/goutputstream.h:
4778 * gio/gsimpleasyncresult.c:
4779 * gio/gsimpleasyncresult.h:
4780 * gio/gsocketinputstream.h:
4781 * gio/gsocketoutputstream.h:
4782 * gio/gthemedicon.c:
4783 * gio/gthemedicon.h:
4787 * gio/gvolumemonitor.c:
4788 * gio/gvolumemonitor.h:
4789 Add padding in classes where it seems useful
4790 Don't include giotypes.h from public headers
4791 Move in Class definitions into c file where possible
4796 2007-11-06 Alexander Larsson <alexl@redhat.com>
4798 * docs/reference/gio/gio-docs.xml:
4799 Better structure for API docs
4801 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4804 * gio/gloadableicon.c:
4805 * gio/gsimpleasyncresult.c:
4806 * gio/gthemedicon.c:
4807 Add some more guards to public functions. Only files missing are now
4810 2007-11-06 Alexander Larsson <alexl@redhat.com>
4812 * docs/reference/gio/gio-docs.xml:
4813 Remove old files, add missing ones
4815 2007-11-06 Alexander Larsson <alexl@redhat.com>
4817 * docs/reference/gio/gio-sections.txt:
4820 Hide implementation classes
4822 * gio/gdriveprivate.h:
4823 * gio/gvolumeprivate.h:
4824 Remove non-existing function declarations
4826 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4829 Fix compilation warnings and add guards to the new functions.
4831 * gio/gasyncresult.c:
4833 Add guards to the public functions.
4836 Implement get_path().
4838 2007-11-06 Alexander Larsson <alexl@redhat.com>
4840 * gio/gfilenamecompleter.c:
4841 Make g_filename_completer_get_completions
4842 return char ** instead of GList for
4845 * docs/reference/gio/gio-docs.xml:
4846 * docs/reference/gio/gio-sections.txt:
4848 * gio/gasyncresult.c:
4849 * gio/gbufferedinputstream.c:
4850 * gio/gbufferedoutputstream.c:
4851 * gio/gcancellable.c:
4852 * gio/gcontenttype.c:
4853 * gio/gdatainputstream.c:
4854 * gio/gdataoutputstream.c:
4855 * gio/gdesktopappinfo.c:
4856 * gio/gdirectorymonitor.c:
4860 * gio/gfileattribute.c:
4861 * gio/gfileenumerator.c:
4864 * gio/gfileinputstream.c:
4865 * gio/gfilemonitor.c:
4866 * gio/gfilenamecompleter.c:
4867 * gio/gfilenamecompleter.h:
4868 * gio/gfileoutputstream.c:
4869 * gio/gfilterinputstream.c:
4871 * gio/ginputstream.c:
4873 * gio/gioscheduler.c:
4874 * gio/gloadableicon.c:
4875 * gio/glocaldirectorymonitor.c:
4877 * gio/glocalfileinputstream.c:
4878 * gio/glocalfilemonitor.c:
4879 * gio/glocalfileoutputstream.c:
4881 * gio/gmemoryinputstream.c:
4882 * gio/gmemoryoutputstream.c:
4883 * gio/gmountoperation.c:
4884 * gio/goutputstream.c:
4885 * gio/gpollfilemonitor.c:
4887 * gio/gsimpleasyncresult.c:
4888 * gio/gsocketinputstream.c:
4889 * gio/gsocketoutputstream.c:
4890 * gio/gthemedicon.c:
4891 * gio/gunionvolumemonitor.c:
4893 * gio/gunixmounts.c:
4894 * gio/gunixvolume.c:
4895 * gio/gunixvolumemonitor.c:
4899 * gio/gvolumemonitor.c:
4900 * gio/gwin32appinfo.c:
4901 Add (mostly stub) doc strings to public functions.
4902 Patch from Andrew Walton (awalton@gmail.com)
4904 2007-11-06 Alexander Larsson <alexl@redhat.com>
4906 * gio/gappinfo.[ch]:
4907 Added GAppLaunchContext object and pass that to launch.
4908 This allows simple implementation of both
4909 launch-on-screen and startup notification via a gtk+
4910 subclass of GAppLaunchContext
4912 * gio/gdesktopappinfo.c:
4913 Implement GAppLaunchContext API
4915 * gio/gwin32appinfo.c:
4918 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4920 * gio/gmountoperation.c:
4921 Add some guards to GMountOperation's public functions.
4923 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4927 * gio/gcancellable.c:
4928 * gio/gdirectorymonitor.c:
4930 * gio/gfileenumerator.c:
4931 * gio/gfilemonitor.c:,
4932 * gio/gfilenamecompleter.c:
4935 * gio/gioscheduler.c:
4939 * gio/gvolumemonitor.c:
4940 Add even more guards to various public functions.
4942 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4945 Add guards to the public functions of GAppInfo.
4947 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4949 * gio/gcontenttype.c:
4950 Add some more guards for public functions.
4952 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4954 * gio/fam/fam-module.c:
4955 * gio/fam/gfamdirectorymonitor.c:
4956 * gio/fam/gfamdirectorymonitor.h:
4957 * gio/fam/gfamfilemonitor.c:
4958 * gio/fam/gfamfilemonitor.h:
4959 * gio/inotify/ginotifydirectorymonitor.c:
4960 * gio/inotify/ginotifydirectorymonitor.h:
4961 * gio/inotify/ginotifyfilemonitor.c:
4962 * gio/inotify/ginotifyfilemonitor.h:
4963 Add proper copyright information and remove an unused variable
4964 in the GInotifyFileMonitor constructor.
4966 * gio/gcancellable.c:
4967 Add a guard for a public function and an assertion to prevent
4968 an undefined program state.
4970 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4972 * gio/gfileattribute.c:
4973 Don't run into an assertion if the given attribute value is NULL
4974 in g_file_attribute_value_get_*() but instead return a fallback
4975 value that makes sense in most situations. Passing them a attribute
4976 value with the wrong type will still run into an assertion.
4978 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4980 * gio/gfileattribute.c:
4982 Add even more guards to the public functions. Also fix the refcounting
4983 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4984 let g_file_info_list_attributes() filter the attributes by namespace
4985 instead of simply ignoring the namespace parameter.
4987 2007-11-03 Sven Herzberg <sven@imendio.com>
4989 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4990 (This makes gio work on MacOS X again)
4992 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4995 Build the gio subdirectory before the docs. Otherwise the build will
4998 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4999 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5000 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5001 Add guards to the public functions.
5003 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5005 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5006 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5007 to prevent a compiler warning.
5009 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5010 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5011 return something in the non-void function find_topdir_for().
5013 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5020 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5022 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5023 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5024 * gwin32appinfo.c (g_win32_app_info_launch):
5025 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5026 envp_for_startup_id, g_desktop_app_info_launch,
5027 g_desktop_app_info_launch_uris):
5029 Give an opaque 'startup_id' string instead of 'envp'.
5030 Support empty file lists for launching new windows.
5031 Fix infinite recursion bug when launching URIs.
5033 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5036 Add guard to the new g_file_get_uri_scheme() function.
5038 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5041 Convert a g_return_val_if_fail() to setting the GError instead as
5042 otherwise applications have to verify the parameter before otherwise
5043 and the parameter might come directly from the user.
5045 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5047 * gio/inotify/ginotify*.[ch]:
5048 Add missing copyright information.
5050 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5053 Add guards in the beginning of public functions to check for valid
5054 parameters and fix a bug in copy_stream_with_progress() that could've
5055 caused writing less bytes than reading.
5056 * gio/glocalfileinfo.c:
5057 Check for a NULL parameter and set the GError accordingly then.
5058 * gio/goutputstream.c:
5059 Fix the same bug as in gfile.c that could've caused writing less bytes
5060 than reading in g_output_stream_real_splice().
5062 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5065 Use the correct gvolumeprivate.h naming
5067 2007-11-01 Christian Kellner <gicmo@gnome.org>
5070 Remove leftover "$(daemon_sources)" entry.
5072 2007-11-01 Christian Kellner <gicmo@gnome.org>
5077 Add copyright information to source files.
5079 2007-11-01 Alexander Larsson <alexl@redhat.com>
5083 Add g_file_get_uri_scheme
5085 2007-11-01 Alexander Larsson <alexl@redhat.com>
5088 * gio/gdesktopappinfo.c:
5089 * gio/gwin32appinfo.c:
5090 Add g_app_info_get_default_for_uri_scheme.
5092 2007-11-01 Alexander Larsson <alexl@redhat.com>
5095 Correct filename for gdriveprivate.h
5097 2007-10-31 Alexander Larsson <alexl@redhat.com>
5100 Rename id:value to id:file
5103 * gio/glocalfileinfo.c:
5106 2007-10-31 Alexander Larsson <alexl@redhat.com>
5108 * gio/gunixvolume.c:
5110 Remove g_volume_get_platform_id, as thats not
5111 needed with the simpler union volume monitor
5113 2007-10-31 Alexander Larsson <alexl@redhat.com>
5116 * gio/guniondrive.[ch]: Removed.
5117 * gio/gunionvolume.[ch]: Removed.
5118 Remove GUnionDrive/Volume
5120 * gio/gunionvolumemonitor.c:
5121 Simplify union volume monitor, now we
5122 only have one native volume monitor and
5123 we use the actual volumes/drives from the
5124 child monitors instead of wrapping them
5126 * gio/gnativevolumemonitor.[ch]:
5127 Base class for native volume monitors.
5128 Includes priority and get_volume_for_mountpoint
5131 Add g_file_find_enclosing_volume
5134 Remove volume name fs attribute
5135 Add readonly fs attribute
5138 Implement readonly attribute
5139 remove volume name attribute
5140 Implement find_enclosing volume
5142 * gio/gunixmounts.c:
5143 Add a volume for "/".
5145 * gio/gunixvolume.[ch]:
5146 Set better name for /
5148 * gio/gunixvolumemonitor.[ch]:
5149 Derive from GNativeVolumeMonitor
5150 Implement get_volume_for_mountpoint
5153 GVolume typedef moved to gfile.h
5155 * gio/gvolumeprivate.h:
5156 Add g_volume_get_for_mount_path
5158 2007-10-31 Alexander Larsson <alexl@redhat.com>
5160 * gio/gunixmounts.[ch]:
5161 Add cache info to unix mount listers
5162 Make getmntent use threadsafe
5163 Add is_system_internal attribute for GUnixMount
5165 * gio/gunixvolume.c:
5166 (g_unix_volume_new):
5167 Use is_system_internal instead of own code
5169 * gio/glocaldirectorymonitor.c:
5170 * gio/gunixvolumemonitor.c:
5171 Update to new gunixmounts API
5176 2007-10-30 Alexander Larsson <alexl@redhat.com>
5179 Add volume name fsinfo attribute
5182 Read volume name info
5184 * gio/gunionvolumemonitor.c:
5185 Fix infinite loops when finalizing a union volume monitor
5187 2007-10-30 Alexander Larsson <alexl@redhat.com>
5189 * gio/goutputstream.[ch]:
5190 Add splice() with default implementation
5192 * gio/gsocketoutputstream.c:
5193 (g_socket_output_stream_write):
5194 Return error on cancellation correctly.
5196 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5198 * gio/glocalfile.c (g_local_file_trash):
5199 Do not leak a string.
5201 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5203 * gio/gfile.c (g_file_load_contents):
5204 Unref the stream after closing it.
5206 2007-10-25 Alexander Larsson <alexl@redhat.com>
5208 * gio/gioscheduler.h:
5211 2007-10-25 Alexander Larsson <alexl@redhat.com>
5215 Add g_file_has_uri_scheme and implement for local files
5217 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5219 * gio/gdesktopappinfo.c: do not leak a string.
5221 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5223 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5224 (g_local_directory_monitor_new):
5225 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5226 (g_local_file_monitor_new):
5227 Only look for the monitor type that should be used the first time
5228 and use g_qsort_with_data() instead of our own bubble sort
5231 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5234 * gio/fam/Makefile.am:
5235 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5236 * gio/fam/fam-helper.h:
5237 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5238 * gio/fam/gfamdirectorymonitor.c:
5239 * gio/fam/gfamdirectorymonitor.h:
5240 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5241 * gio/fam/gfamfilemonitor.h:
5242 * gio/glocaldirectorymonitor.c:
5243 * gio/glocaldirectorymonitor.h:
5244 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5245 * gio/glocalfilemonitor.h:
5246 * gio/inotify/Makefile.am:
5247 * gio/inotify/ginotifydirectorymonitor.c:
5248 * gio/inotify/ginotifydirectorymonitor.h:
5249 * gio/inotify/ginotifyfilemonitor.c:
5250 * gio/inotify/ginotifyfilemonitor.h:
5251 Implement the FAM and Inotify monitors as
5252 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5253 their own GIO module. GLocal(Directory|File)Monitor will use the
5254 monitor with the highest rank that is supported on that machine.
5256 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5259 Change GIO module dir to $(libdir)/gio/modules and change
5260 the log domain from GVFS to GIO. Also only export symbols starting
5261 with g_ in the resulting library.
5262 * gio/test-streams.c: (main):
5263 Set log handler for the GIO log domain.
5265 2007-10-22 Alexander Larsson <alexl@redhat.com>
5267 * gio/gfilenamecompleter.[ch]:
5268 Add g_filename_completer_set_dirs_only
5270 2007-10-22 Alexander Larsson <alexl@redhat.com>
5273 * gio/gurifuncs.[ch]:
5274 Add some simple URI helpers
5276 * gio/gfilenamecompleter.[ch]:
5277 Added object for filename (parse name actually) completion
5280 Handle ~ in parse names
5282 2007-10-17 Alexander Larsson <alexl@redhat.com>
5285 * gio/glocalfileinfo.c:
5286 Add and implement id:value attribute
5288 2007-10-17 Alexander Larsson <alexl@redhat.com>
5291 * gio/guniondrive.c:
5293 Add and implement g_drive_has_volumes
5295 2007-10-17 Alexander Larsson <alexl@redhat.com>
5298 * gio/glocalfileinfo.[ch]:
5299 Add unix:is_mountpoint and implement for local files
5301 2007-10-16 Alexander Larsson <alexl@redhat.com>
5303 * gio/gunionvolumemonitor.c:
5304 (g_union_volume_monitor_init):
5305 Fix up the unix type getting so that it works with gcc
5307 2007-10-12 Alexander Larsson <alexl@redhat.com>
5310 * gio/glocalfileinfo.c:
5311 Add thumbnail:failed to file info
5313 2007-10-12 Richard Hult <richard@imendio.com>
5315 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5316 optimizing away the get_type call (happens with some gcc versions,
5317 like the one shipped with OS X 10.4).
5319 2007-10-12 Alexander Larsson <alexl@redhat.com>
5321 * gio/glocalfileinfo.c:
5322 (_g_local_file_info_set_attribute):
5323 Fix build if not HAVE_XATTR
5324 Patch from Milosz Derezynski <internalerror@gmail.com>
5326 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5328 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5329 around for review, otherwise I would have asked you before
5332 2007-10-11 Alexander Larsson <alexl@redhat.com>
5335 Add thumbnail:path attribute
5337 * gio/glocalfileinfo.c:
5338 Implement thumbnail:path for local files
5340 2007-10-11 Alexander Larsson <alexl@redhat.com>
5342 * gio/glocalfileinfo.c:
5343 (_g_local_file_info_get):
5344 Avoid duplicate icon names
5346 2007-10-11 Alexander Larsson <alexl@redhat.com>
5348 * gio/gthemedicon.[ch]:
5349 Change g_themed_icon_get_names return type to const
5351 2007-10-10 Alexander Larsson <alexl@redhat.com>
5353 * gio/glocalfileinfo.c:
5354 Don't reference freed memory
5356 2007-10-10 Alexander Larsson <alexl@redhat.com>
5358 * gio/gfileattribute.c:
5361 * gio/glocalfileinfo.c:
5364 2007-10-10 Alexander Larsson <alexl@redhat.com>
5367 Check for NULL icons
5369 * gio/gfileattribute.c:
5370 Don't dup when getting objects (same as for string attributes)
5372 * gio/gicon.c (g_icon_equal):
5373 Safely handle NULLs in equal
5375 2007-10-10 Alexander Larsson <alexl@redhat.com>
5378 Fix c++ compilation issues
5379 Patch from Milosz Derezynski <internalerror@gmail.com>
5381 2007-10-10 Alexander Larsson <alexl@redhat.com>
5383 * programs/gio-monitor-dir.c:
5384 Don't crash if dir monitor not supported.
5386 2007-10-09 Alexander Larsson <alexl@redhat.com>
5389 Add missing G_END_DECLS
5391 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5393 * gio/gfile.c: (g_file_set_display_name),
5394 (g_file_query_settable_attributes),
5395 (g_file_query_writable_namespaces):
5396 Return NULL not FALSE on errors as the return type is a pointer.
5398 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5400 * gio/glocalfile.c: (g_local_file_monitor_file):
5401 Don't call monitor_file on the default interface vtable (which
5402 is NULL) but simply return NULL. The caller, GFile, will create a
5403 polling monitor if NULL is returned.
5405 2007-10-09 Alexander Larsson <alexl@redhat.com>
5409 * gio-unix-2.0.pc.in:
5410 Add gio-unix-2.0.pc if OS_UNIX
5413 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5415 2007-10-09 Alexander Larsson <alexl@redhat.com>
5417 * gio/gunixmounts.[ch]:
5418 Make unix mount monitoring API sane.
5419 Now its just a object with mounts_changed
5420 and mountpoints_changed signals.
5422 * gio/glocaldirectorymonitor.c:
5423 * gio/gunixvolumemonitor.c:
5424 Use new mount monitor api
5426 2007-10-09 Alexander Larsson <alexl@redhat.com>
5428 * gio/gunixmounts.[ch]:
5429 Move guess type into one call for mounts and one for mountpoints
5432 * gio/gunixvolume.c:
5435 2007-10-09 Alexander Larsson <alexl@redhat.com>
5437 * gio/gunixmounts.[ch]:
5438 Remove _ prefix in preparation to make this semi-public
5439 Hide implementation of structs
5441 * gio/glocaldirectorymonitor.c:
5443 * gio/gunixvolume.c:
5444 * gio/gunixvolumemonitor.c:
5445 Update for above API changes
5447 2007-10-08 Alexander Larsson <alexl@redhat.com>
5450 Better polling fallback. This also handles the case where we have
5451 a monitor_file implementation, but it fails.
5453 2007-10-08 Alexander Larsson <alexl@redhat.com>
5457 * gio/gunixmounts.c:
5458 * programs/gio-monitor-dir.c:
5459 * programs/gio-monitor-file.c:
5460 Added cancellable to file monitoring calls.
5461 These are really sync calls and need this.
5463 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5465 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5466 (g_local_vfs_class_init):
5467 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5468 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5470 2007-10-05 Alexander Larsson <alexl@redhat.com>
5472 * gio/gdirectorymonitorprivate.h:
5473 * gio/gfilemonitorprivate.h:
5474 * gio/gdirectorymonitor.h:
5475 * gio/gfilemonitor.h:
5476 Remove *private.h and move to the public API, so that
5477 we can do implementations outside gio (such as in gvfs)
5479 * gio/gdirectorymonitor.c:
5480 * gio/gfilemonitor.c:
5481 * gio/glocaldirectorymonitor.c:
5482 * gio/gpollfilemonitor.c:
5483 * gio/inotify/inotify-helper.c:
5484 * gio/fam/fam-helper.c:
5485 Update to the new header names
5487 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5489 * gio/gdirectorymonitor.c:
5490 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5493 2007-10-04 Alexander Larsson <alexl@redhat.com>
5495 * gio/glocalfileinfo.c (get_access_rights):
5496 Set CAN_TRASH when we can move the file.
5497 We should really also check for a parent trash dir.
5499 2007-10-04 Alexander Larsson <alexl@redhat.com>
5501 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5502 Add can_trash access attribute
5504 2007-10-04 Alexander Larsson <alexl@redhat.com>
5507 (g_local_file_trash):
5508 Create info file first. This is per-spec and allows
5509 us to actually trash directories.
5511 2007-10-02 Alexander Larsson <alexl@redhat.com>
5513 * gio/gdesktopappinfo.c:
5514 Implement the new mime support code.
5515 Always set app as handling mimetype when being set as default for it
5517 2007-10-01 Alexander Larsson <alexl@redhat.com>
5519 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5520 Fix up check for xattrs:
5522 2007-10-01 Alexander Larsson <alexl@redhat.com>
5525 (g_app_info_set_as_default_for_extension):
5526 (g_app_info_add_supports_type):
5527 (g_app_info_can_remove_supports_type):
5528 (g_app_info_remove_supports_type):
5529 Make these fail nicely if not implemented
5531 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5533 * gio/glocalfileoutputstream.c:
5534 * gio/glocalfileoutputstream.h:
5539 * programs/gio-save.c:
5540 Add a GFileCreateFlags argument to operations that can create
5543 2007-10-01 Alexander Larsson <alexl@redhat.com>
5545 * gio/gappinfo.[ch]:
5546 * gio/gdesktopappinfo.c:
5547 Add more (stubbed out) mime API needed for nautilus
5549 2007-10-01 Alexander Larsson <alexl@redhat.com>
5552 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5553 Add g_app_info_set_as_default_for_extension.
5555 * gio/gdesktopappinfo.c:
5556 Dummy for g_app_info_set_as_default_for_extension
5557 Support flags in g_app_info_create_from_commandline
5559 * gio/gwin32appinfo.c:
5561 Update for API changes
5563 * gio/gthemedicon.c:
5564 Properly NULL-terminate list of icon names
5566 2007-09-28 Alexander Larsson <alexl@redhat.com>
5568 * gio/gloadableicon.h:
5569 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5571 2007-09-28 Alexander Larsson <alexl@redhat.com>
5574 Install headers in $includedir/gio-standalone/
5576 * gio-2.0.pc.in: Added.
5577 * gio-standalone.pc.in: Removed.
5580 Renamed pkg-config file to match glib (for future move)
5581 Update to the new include dir
5584 Add more TODO comments
5586 2007-09-28 Alexander Larsson <alexl@redhat.com>
5588 * gio/gdesktopappinfo.[ch]:
5589 Expose new_from_filename
5590 Add getter for is_hidden and handle it better
5592 2007-09-28 Alexander Larsson <alexl@redhat.com>
5594 * gio/gfileinfo.[ch]:
5595 Rename g_file_size_format_for_display to
5596 g_format_file_size_for_display.
5597 Now it doesn't have the g_file prefix, so we
5598 can later move it to glib.
5600 2007-09-28 Alexander Larsson <alexl@redhat.com>
5602 * gio/gappinfo.[ch]:
5603 Add g_app_info_get_id and g_app_info_get_executable.
5604 Make all getters non-reffing
5605 Make g_app_info_launch take GFile arguments.
5606 Add must_support_uris argument to g_app_info_get_default_for_type.
5608 * gio/gwin32appinfo.c:
5609 Update to GAppInfo api changes
5611 * gio/gdesktopappinfo.c:
5612 Update to GAppInfo api changes
5613 Implement supports_xdg_startup_notify
5615 * gio/gfileicon.c (g_file_icon_get_file):
5616 Make getter non-reffing.
5621 2007-09-27 Alexander Larsson <alexl@redhat.com>
5623 * gio/gfileinfo.[ch]:
5624 Add g_file_size_format_for_display helper
5626 2007-09-27 Alexander Larsson <alexl@redhat.com>
5628 * gio/glocalfileinfo.c:
5629 Set UNIX_GID from gid, not from uid
5631 2007-09-27 Alexander Larsson <alexl@redhat.com>
5634 Add g_file_set_attributes_async
5636 2007-09-27 Alexander Larsson <alexl@redhat.com>
5638 * gio/glocalfile.c (g_local_file_set_display_name):
5639 Fix set_display_name to actually rename to the right place.
5640 Use lstat to look for existing files so we don't overwrite
5643 2007-09-26 Alexander Larsson <alexl@redhat.com>
5646 Add g_file_set_display_name_async()
5648 2007-09-26 Alexander Larsson <alexl@redhat.com>
5651 Add load_partial_contents async calls
5654 Make internal function static
5656 2007-09-26 Alexander Larsson <alexl@redhat.com>
5658 * gio/glocalfileinfo.c:
5659 Correctly detect broken symlinks
5661 2007-09-26 Alexander Larsson <alexl@redhat.com>
5663 * gio/gcancellable.c (g_cancellable_cancel):
5664 Allow cancel on NULL cancellable
5666 2007-09-25 Alexander Larsson <alexl@redhat.com>
5668 * gio/gsimpleasyncresult.c:
5669 Don't allocate g_error manually.
5670 Fixes g_slice/g_new mixup crash
5672 2007-09-25 Alexander Larsson <alexl@redhat.com>
5674 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5675 Actually set active_backend.
5676 This means the monitor will be cancelled correctly.
5678 2007-09-25 Alexander Larsson <alexl@redhat.com>
5680 * gio/gdirectorymonitor.c:
5681 Set timeout to NULL when destroying
5683 2007-09-25 Alexander Larsson <alexl@redhat.com>
5686 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5687 that is a better description of the error.
5689 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5691 * gio/gvfs.c: (g_vfs_get_local):
5692 Make the local vfs variable static. The same instance should
5695 2007-09-24 Alexander Larsson <alexl@redhat.com>
5697 * gio/glocalfileinfo.c:
5698 Pass in actual length read into sniffer, not the length
5701 2007-09-21 Alexander Larsson <alexl@redhat.com>
5703 * gio/gfileenumerator.c:
5706 * gio/gfileinputstream.c:
5707 * gio/gfileoutputstream.c:
5708 * gio/ginputstream.c:
5709 * gio/goutputstream.c:
5710 Don't crash if async callbacks are NULL
5712 2007-09-20 Alexander Larsson <alexl@redhat.com>
5715 Add async enumerate_children method and default
5718 2007-09-20 Alexander Larsson <alexl@redhat.com>
5721 Add g_file_contains_file & g_file_get_relative_path, since they
5722 were needed for nautilus.
5723 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5728 Implement new methods
5730 2007-09-17 Alexander Larsson <alexl@redhat.com>
5733 * gio/gfileinputstream.[ch]:
5734 * gio/gfileoutputstream.[ch]:
5736 * gio/glocalfileenumerator.[ch]:
5737 * gio/glocalfileinfo.[ch]:
5738 * gio/glocalfileinputstream.c:
5739 * gio/glocalfileoutputstream.c:
5740 * gio/gpollfilemonitor.c:
5741 * programs/gio-copy.c:
5742 * programs/gio-info.c:
5743 * programs/gio-move.c:
5744 Rename get_file_info to query_info() to make it clearer
5745 that these are not simple getters, but do i/o.
5747 2007-09-17 Alexander Larsson <alexl@redhat.com>
5749 * gio/gdatainputstream.[ch]:
5750 * gio/test-streams.c:
5751 Use _read_XXX instead of _get_XXX for the i/o calls
5754 2007-09-17 Alexander Larsson <alexl@redhat.com>
5757 Added needed stuff to TODO comment
5759 2007-09-17 Alexander Larsson <alexl@redhat.com>
5761 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5762 Don't error out removing the backup copy if it doesn't
5765 2007-09-14 Alexander Larsson <alexl@redhat.com>
5767 * programs/Makefile.am:
5768 * programs/gvfs-*.c:
5770 Renamed apps from gvfs-xxx to gio-xxx.
5772 2007-09-14 Alexander Larsson <alexl@redhat.com>
5775 * gio/gfileoutputstream.[ch]:
5776 * gio/glocalfileoutputstream.c:
5777 * programs/gvfs-save.c:
5778 g_file_output_stream_get_etag doesn't do i/o, so remove
5779 cancellation and error.
5781 2007-09-14 Alexander Larsson <alexl@redhat.com>
5784 Add new_etag output to replace_contents functions
5786 2007-09-14 Alexander Larsson <alexl@redhat.com>
5788 * gio/gfileoutputstream.[ch]:
5789 Add async get_file_info and default implementation
5791 2007-09-14 Alexander Larsson <alexl@redhat.com>
5793 * gio/gfileinputstream.c:
5794 Implement fallback wrapper for async get_file_info
5796 2007-09-14 Alexander Larsson <alexl@redhat.com>
5799 Add etag out argument to load_contents
5804 2007-09-14 Alexander Larsson <alexl@redhat.com>
5806 * gio/gcontenttype.c (looks_like_text):
5807 Whitespace like tab, cr and lf do not make the
5810 2007-09-14 Alexander Larsson <alexl@redhat.com>
5812 * gio/gfileinputstream.[ch]:
5813 Add async get_file_info.
5815 2007-09-13 Alexander Larsson <alexl@redhat.com>
5817 * gio/goutputstream.c (g_output_stream_write_all):
5818 Allow NULL for bytes_written
5820 2007-09-13 Alexander Larsson <alexl@redhat.com>
5822 * gio/gmemoryinputstream.[ch]:
5823 Add accessors for data
5825 2007-09-13 Alexander Larsson <alexl@redhat.com>
5827 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5828 Don't crash if length is NULL