1 2009-03-02 Matthias Clasen <mclasen@redhat.com>
3 * gioenums.h: Add a Since: tag
5 2009-03-01 Matthias Clasen <mclasen@redhat.com>
7 Bug 573658 – Deadlock in giomodule.c
9 * giomodule.c: Use a separate lock for extension point registration
10 to avoid deadlock. Discovered by Torsten Schoenfeld
12 2009-03-01 Matthias Clasen <mclasen@redhat.com>
14 * gdatainputstream.c: Fix docs
16 2009-02-27 Matthias Clasen <mclasen@redhat.com>
18 Bug 573421 – Clarify message format in GMountOperation
20 * gmountoperation.c: Document that the first line of a
21 multi-line message should be interpreted as a heading.
23 2009-02-27 David Zeuthen <davidz@redhat.com>
25 Bug 573462 – GEmblemedIcon leak
27 * gemblemedicon.c (g_emblemed_icon_finalize):
28 Avoid leaking a GList.
30 2009-02-27 Alexander Larsson <alexl@redhat.com>
34 Split out the extension point registration code to its
38 Ensure extension points are registered before extending it.
39 It might not have happened yet if g_vfs_get_local() is called.
41 2009-02-26 Alexander Larsson <alexl@redhat.com>
43 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
44 * gmemoryoutputstream.c:
45 Track actual valid size, even if we later seek back.
47 * tests/memory-output-stream.c:
50 2009-02-26 Alexander Larsson <alexl@redhat.com>
52 Bug 543183 – Clarify docs for g_file_has_prefix
54 * gfile.c: (g_file_has_prefix):
55 Clarify how the prefix matching works.
57 2009-02-26 Alexander Larsson <alexl@redhat.com>
60 Support desktop file key X-GIO-NoFuse which disables
61 use of fuse pathnames for %u and %U arguments.
63 2009-02-25 Alexander Larsson <alexl@redhat.com>
65 Bug 570073 – Add support for reading filesystems on Interix
67 * gunixmounts.c (_g_get_unix_mounts):
68 Support Interix. Patch from Fabian Groffen
70 2009-02-25 Paolo Borelli <pborelli@katamail.com>
72 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
74 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
76 2009-02-23 Alexander Larsson <alexl@redhat.com>
79 Remove accidentally commited spew
81 2009-02-20 Alexander Larsson <alexl@redhat.com>
84 (g_content_type_guess):
85 Don't ever sniff desktop files when the filename is known.
86 In other words, only allow desktop files with the .desktop extension
87 and when the filename isn't known.
88 This is a security precaution since desktop files can execute
89 arbitrary code when launched and we don't want to allow them to
90 try and hide as another type. There is no legit reason to not
91 have the .desktop extension anyway.
93 2009-02-19 Alexander Larsson <alexl@redhat.com>
95 Bug 549298 – impossible to copy files with p (pipe) flag
99 Error out if the source file is a special file
101 2009-02-18 Alexander Larsson <alexl@redhat.com>
103 Bug 560564 – Replacing a symlink with its linked file truncates the original file
106 Add G_FILE_CREATE_REPLACE_DESTINATION
108 * glocalfileoutputstream.c:
109 (handle_overwrite_open):
110 (_g_local_file_output_stream_replace):
111 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
114 (file_copy_fallback):
115 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
118 2009-02-17 Ryan Lortie <desrt@desrt.ca>
120 * gfileinfo.c: unref the destination's attribute matcher before
123 2009-02-17 Matthias Clasen <mclasen@redhat.com>
125 * === Released 2.19.8 ===
127 2009-02-17 Matthias Clasen <mclasen@redhat.com>
129 * gio.symbols: Add missing exports for new API
131 * gdatainputstream.c: Add missing Since: tags.
133 2009-02-16 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.19.7 ===
137 2009-02-16 Matthias Clasen <mclasen@redhat.com>
139 * gmountoperation.[hc]: Add an "aborted" signal to abort a
140 mount operation from the backend side.
142 * gvolume.h: Add docs regarding the "aborted" signal.
144 2009-02-16 Ryan Lortie <desrt@desrt.ca>
146 Bug 505042 – add file attribute for actually used file size in bytes
148 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
149 "standard::allocated-size"
150 * gfileattribute.c: document
151 * glocalfileinfo.c: set the allocated size from st_blocks * 512
153 2009-02-16 Ryan Lortie <desrt@desrt.ca>
155 Bug 571598 – GAsyncResult with NULL gobject
157 * gsimpleasyncresult.c: remove various assertions and add some checks
158 to allow for a NULL source_object in GSimpleAsyncResult.
160 2009-02-11 Matthias Clasen <mclasen@redhat.com>
162 Bug 541225 – Can't compile gio on AIX : duplicate case value in
165 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
166 Reported by Nicolas Joseph
168 2009-02-04 Alexander Larsson <alexl@redhat.com>
170 Bug 566747 - URIs opened with firefox %u load as local files
172 * gdummyfile.c (g_dummy_file_get_path):
173 Dummy files are never used for local paths, so always return NULL
176 2009-02-02 Matthias Clasen <mclasen@redhat.com>
178 * === Released 2.19.6 ===
180 2009-01-31 Paolo Borelli <pborelli@katamail.com>
182 * glocalfileinfo.c: plug a tiny mem leak.
184 2009-01-29 Ryan Lortie <desrt@desrt.ca>
186 * gioerror.c (g_io_error_from_errno): handle all possible cases of
187 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
189 2009-01-28 Ryan Lortie <desrt@desrt.ca>
191 Bug 568575 – _async functions for GDataInputStream
193 * gdatainputstream.h:
194 * gdatainputstream.c: add _async versions of read_line and read_until.
196 * ../docs/reference/gio/gio-sections.txt: add new functions
197 * tests/sleepy-stream.c: new test case for async read line
198 * tests/Makefile.am: add new test
200 2009-01-22 Ryan Lortie <desrt@desrt.ca>
202 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
204 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
205 g_buffered_input_stream_fill): check for count < -1 instead of count <
206 0 and copy modified check to non-async version for consistency.
207 document the "count = -1" API.
209 2009-01-22 Ryan Lortie <desrt@desrt.ca>
211 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
213 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
214 after we have successfully read data from the base stream
216 2009-01-20 Ryan Lortie <desrt@desrt.ca>
218 Bug 568394 – dropping the last reference to a stream filter closes the
221 * gfilterinputstream.h:
222 * gfilterinputstream.c: add "close-base-stream" property and only
223 close the base stream if it is true. issue async close callbacks from
224 correct source object.
225 * gfilteroutputstream.h:
226 * gfilteroutputstream.c: add a "close-base-stream" property and only
227 close the base stream if it is true. issue async close callbacks from
228 correct source object.
229 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
230 before closing the base stream. fix invalid source tag comparison in
231 close_async (was comparing to flush_async).
232 * ../docs/reference/gio/gio-sections.txt:
234 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
235 * tests/filter-streams.c: new test cases
236 * tests/Makefile.am: add new test
237 * tests/.gitignore: add new test
239 2009-01-19 Matthias Clasen <mclasen@redhat.com>
241 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
243 2009-01-19 Matthias Clasen <mclasen@redhat.com>
245 * === Released 2.19.5 ===
247 2009-01-19 Matthias Clasen <mclasen@redhat.com>
249 * gappinfo.h: Document get_commandline vfunc
251 2009-01-19 Matthias Clasen <mclasen@redhat.com>
253 * gunixmounts.c: Some stylistic fixes.
255 2009-01-08 Matthias Clasen <mclasen@redhat.com>
257 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
258 functions in non-UTF8 locale
260 * xdgmime/xdgmimecache.c:
261 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
263 2009-01-08 Matthias Clasen <mclasen@redhat.com>
265 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
267 2009-01-07 Matthias Clasen <mclasen@redhat.com>
269 Bug 566770 – error code 0 for Too many open files is useless
271 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
272 Requested by Olivier Sessink.
274 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
276 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
277 G_IO_ERROR_TOO_MANY_OPEN_FILES.
279 2009-01-05 Matthias Clasen <mclasen@redhat.com>
281 * === Released 2.19.4 ===
283 2009-01-05 Dan Winship <danw@gnome.org>
285 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
286 "const char **" to avoid a warning.
288 * gemblem.c (g_emblem_from_tokens):
289 * gemblemedicon.c (g_emblemed_icon_from_tokens):
290 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
293 2009-01-05 Matthias Clasen <mclasen@redhat.com>
295 Bug 566064 – Add NOATIME flag to query_info_flags
297 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
298 sniffing for mime types. Based on a patch by A. Walton
300 2009-01-05 Ryan Lortie <desrt@desrt.ca>
302 * tests/.gitignore: improve
303 * tests/Makefile.am: add new simple-async-result test
304 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
306 2009-01-05 Ryan Lortie <desrt@desrt.ca>
309 * ../docs/reference/gio/gio-sections.txt:
310 * gsimpleasyncresult.h:
311 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
312 Implementation by Dan Winship. Closes #566170.
314 2008-12-31 Matthias Clasen <mclasen@redhat.com>
318 * gunixinputstream.c:
319 * gunixoutputstream.c: Add a note about being UNIX-specific.
321 2008-12-15 Matthias Clasen <mclasen@redhat.com>
323 * === Released 2.19.3 ===
325 2008-12-12 Dan Winship <danw@gnome.org>
327 * pltcheck.sh: make this work on x86_64
329 2008-12-12 Ryan Lortie <desrt@desrt.ca>
331 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
334 2008-12-12 Ryan Lortie <desrt@desrt.ca>
336 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
337 multiple mount entries match the requested path
339 2008-12-10 Alexander Larsson <alexl@redhat.com>
341 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
342 g_simple_async_result_run_in_thread
344 * gsimpleasyncresult.c:
345 Make g_simple_async_result_run_in_thread check cancellation before
346 calling out to the user in the callback. This means we guarantee
347 reporting cancels of async operations from the main threads, which
348 is probably more in line with what users expect.
350 Note that there are still no such guarantees for cancelling sync
351 operations or cancelling async operation from outside the main
352 thread. Furthermore, the exact behaviour of async implementations
353 not using run_in_thread may differ.
355 2008-12-09 Alexander Larsson <alexl@redhat.com>
357 Bug 515777 - incorrect date&time on copy
360 (g_local_file_class_init):
361 Copy mtime by default
364 Change docs about G_FILE_COPY_ALL_METADATA to not mention
367 2008-12-08 Matthias Clasen <mclasen@redhat.com>
369 Bug 558298 – Hide ecryptfs mounts
371 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
372 so that the desktop does not show both the mount and the target
373 directory. Patch by Martin Pitt
375 2008-12-08 Matthias Clasen <mclasen@redhat.com>
377 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
381 * gunixinputstream.[hc]:
382 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
383 including getters and setters. Patch by Maciej Piechotka
385 2008-12-07 Matthias Clasen <mclasen@redhat.com>
387 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
389 * tests/live-g-file.c: Support compilers that don't understand
390 ISO C varargs macros. Patch by Eric Lamarque
392 2008-12-07 Matthias Clasen <mclasen@redhat.com>
394 Bug 526320 – should not list mounts that the user doesn't have
397 gunixmounts.c: Use g_access() to check accessibility of local devices.
400 2008-12-01 Matthias Clasen <mclasen@redhat.com>
402 * === Released 2.19.2 ===
404 2008-12-01 Matthias Clasen <mclasen@redhat.com>
406 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
407 behaviour change, and update the docs instead, to avoid breaking
410 2008-12-01 Matthias Clasen <mclasen@redhat.com>
412 * === Released 2.19.1 ===
414 2008-12-01 Alexander Larsson <alexl@redhat.com>
418 * gunionvolumemonitor.c:
420 Add and document g_mount_is_shadowed plus calls
421 to set/unset a mount as shadowed
423 2008-11-28 Matthias Clasen <mclasen@redhat.com>
425 * gio/tests/g-icon.c: Comment out two failing tests
427 2008-11-28 Matthias Clasen <mclasen@redhat.com>
429 Bug 555486 – No way to recover command line from GAppInfo
432 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
433 by Hans Petter Jansson.
435 * gdesktopappinfo.c: And implement it here.
437 2008-11-28 Christian Dywan <christian@imendio.com>
439 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
441 2008-11-28 Matthias Clasen <mclasen@redhat.com>
443 Bug 559633 – gtk_image_new_from_gicon does not always work for
446 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
447 extensions on icon names. Proposed by Axel von Bertoldi.
449 2008-11-28 Matthias Clasen <mclasen@redhat.com>
451 Bug 548163 – Nautilus displays wrong error message for too long file
454 * glocalfile.c (g_local_file_set_display_name): Correctly set
455 error conditions if the new name is e.g. too long. Reported
456 by Leonardo Ferreira Fontenelle.
458 2008-11-28 Matthias Clasen <mclasen@redhat.com>
460 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
463 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
464 documented and include the line end in the returned string.
465 Pointed out by Paul Pogonyshev.
467 * tests/data-input-stream.c: Fix the read_line test to test the
468 documented behaviour.
470 2008-11-28 Matthias Clasen <mclasen@redhat.com>
472 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
473 files that have been created by g_app_info_create_from_commandline.
475 2008-11-28 Matthias Clasen <mclasen@redhat.com>
477 Bug 541715 – win32 : patch for warnings and signature problems in
480 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
483 2008-11-28 Matthias Clasen <mclasen@redhat.com>
485 Bug 562393 – g_buffered_input_stream_read_byte broken if data
488 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
489 handling of buffered content. Patch by Philip Withnall
491 * tests/buffered-input-stream.c: Add a testcase for this bug.
492 * tests/Makefile.am: And build it
494 2008-11-28 Matthias Clasen <mclasen@redhat.com>
496 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
499 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
500 '/' away. Spotted by Dan Williams.
502 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
504 Bug 561375 – Leaks mountpoint description
506 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
509 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
511 Bug 561352 – Leak of icon description
513 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
516 2008-11-14 Matthias Clasen <mclasen@redhat.com>
518 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
520 2008-11-12 Tor Lillqvist <tml@novell.com>
522 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
524 * win32/gwinhttpvfs.h: Move the set of function pointers to
525 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
526 pointer to that in the GWinHttpVfsClass.
528 * win32/gwinhttpvfs.c: Move the lookup of functions from
529 winhttp.dll into a function of its own, that stores the pointers
530 in a separate GWinHttpDllFuncs variable. Add two bookeeping
531 booleans lookup_done and funcs_found.
533 Don't call g_io_extension_point_implement() to register the
534 winhttp extension unless winhttp.dll has been successfully loaded
535 and the required functions found in it.
537 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
538 winhttp.dll correspondingly.
540 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
542 reviewed by: Alexander Larsson <alexl@redhat.com>
544 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
545 clearer about the behavior when there's no more content to read.
547 2008-10-27 Federico Mena Quintero <federico@novell.com>
549 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
551 2008-10-27 Tor Lillqvist <tml@novell.com>
553 Bug 557592 - Missing include in gwinhttpfile.c
555 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
558 2008-10-24 Matthias Clasen <mclasen@redhat.com>
560 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
562 * fam/fam-helper.c: Fix a memory leak and formatting issues.
563 Reported by Daniel Marjamäki
565 2008-10-23 Matthias Clasen <mclasen@redhat.com>
567 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
569 2008-10-23 Alexander Larsson <alexl@redhat.com>
571 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
574 (_g_local_file_info_get):
575 Don't return the fallback icon (text-x-generic) for all files.
576 This is causing problems with theme icon lookup and custom mime
577 icons, as the generic fallback overrides custom mime icons in
580 This is a slight change as applications might not get an icon wher
581 they previously did. But there is no guarantee to get on neither before
582 or after this change, so it should not break applications. Changes
583 to nautilus and gtk+ will be done to manually use the generic fallback
584 icon if no icon is found, but this is only required for rare cases.
586 2008-10-21 Alexander Larsson <alexl@redhat.com>
589 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
591 2008-10-21 Alexander Larsson <alexl@redhat.com>
593 Bug 555740 - gicon serialization
594 Based on patch from David Zeuthen
598 Add g_icon_to_string() and g_icon_new_for_string().
604 Implement icon serialization for built-in icon types
608 Added GIcon serialization test
610 2008-10-16 Matthias Clasen <mclasen@redhat.com>
612 * === Released 2.19.0 ===
614 2008-10-16 Matthias Clasen <mclasen@redhat.com>
616 Bug 556422 – g_file_enumerator_next_file: unclear whether return
617 value needs to be freed
619 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
620 the return value docs. Pointed out by Armin Burgmeier
622 2008-10-14 Matthias Clasen <mclasen@redhat.com>
624 Bug 556334 – Warning when building without selinux support
626 * glocalfileinfo.c: Avoid compiler warnings when selinux is
627 disabled. Patch by Pascal Terjan
629 2008-10-14 Matthias Clasen <mclasen@redhat.com>
631 Bug 556335 – make check fails in abicheck.sh
633 * gio.symbols: Add g_file_attribute_info_list_get_type.
634 Pointed out by Pascal Terjan.
636 2008-10-13 Alexander Larsson <alexl@redhat.com>
639 When adding an application as handling a mime type (but
640 not as the default), copy the full list of desktop ids handling
641 that type in before adding the new one on the end of the list.
642 This means we're not accidentally changing the default by overriding
643 the info from the later directories in the search path.
645 Also, fixes small leak of removed_entries.
647 2008-10-12 David Zeuthen <davidz@redhat.com>
650 * gunionvolumemonitor.c:
652 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
654 2008-10-10 Alexander Larsson <alexl@redhat.com>
656 * gfileattribute.c (escape_byte_string):
657 Upper half of byte is >> 4, not >> 8.
658 Found by Kjartan Maraas via sparse
660 2008-10-10 Matthias Clasen <mclasen@redhat.com>
662 Bug 555711 – Wrong fallback order of mimetype icons
664 * gcontenttype.c: Don't prefer generic icons over
665 default mimetype icons.
667 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
668 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
670 Patch by Krysztof Kosiński
672 2008-10-10 Matthias Clasen <mclasen@redhat.com>
674 Bug 555121 – Improved build-time handling of gio module-dir
676 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
677 * Makefile.am: Create the module dir.
679 2008-10-10 Matthias Clasen <mclasen@redhat.com>
681 * gio/glocalfileinfo.c:
682 * gio/tests/live-g-file.c:
683 * gio/gsimpleasyncresult.c: Fix gcc warnings.
685 2008-10-09 Alexander Larsson <alexl@redhat.com>
687 * gunixinputstream.c (g_unix_input_stream_read):
688 Actually return -1 in case of cancelled, not old res value.
690 2008-10-06 Colin Walters <walters@verbum.org>
692 Bug 554745 - GFileAttributeInfoList should be boxed
694 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
695 for convenience of bindings.
696 * gio/gfileattribute.h: Prototype it.
698 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
700 Bug 554970 – segfault when update-desktop-database is not available
703 * gdesktopappinfo.c (run_update_command): Have the error set before
706 2008-10-01 David Zeuthen <davidz@redhat.com>
708 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
709 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
710 instead of the gio URI (such as sftp://foo/file.avi) when using
711 g_app_info_launch() and friends. With a sufficiently recent gvfs,
712 apps using gio+gvfs will map the FUSE file:// URI back to the gio
713 URI (and thus bypass the fuse daemon) thanks the patch from bug
714 #530654. Since Nautilus is an user of g_app_info_launch() it
715 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
716 when launced via the file manager. Win. Fixes bug #528670.
718 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
719 mapping to the description of GAppInfo.
721 2008-09-30 Tor Lillqvist <tml@novell.com>
723 * tests/Makefile.am: Build desktop-app-info only on Unix.
725 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
726 g_critical(). Pass a large enough result buffer to
727 GetVolumePathNameW(). Just use MAX_PATH.
729 2008-09-29 David Zeuthen <davidz@redhat.com>
731 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
733 2008-09-26 Dan Winship <danw@gnome.org>
735 * tests/data-input-stream.c:
736 * tests/data-output-stream.c:
737 * tests/live-g-file.c:
738 * tests/memory-input-stream.c:
739 * tests/memory-output-stream.c: Use g_assert_error() and
742 2008-09-26 Matthias Clasen <mclasen@redhat.com>
744 Bug 545350 – GAppInfo deletion
745 Bug 545351 – Reset associations for content type
748 * gappinfo.[hc]: New functions g_app_info_can_delete,
749 g_app_info_delete and g_app_info_reset_type_associations.
752 * gwin32appinfo.c: Implementations of these.
755 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
757 2008-09-26 Dan Winship <danw@gnome.org>
759 Bug 505361 – gunixinputstream.c assumes poll() available
760 Bug 509446 – portable blocking gio cancellation
762 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
763 GPollFD for a cancellable (which is slightly more complicated on
766 * gunixinputstream.c (g_unix_input_stream_read):
767 * gunixoutputstream.c (g_unix_output_stream_write): Use
768 g_cancellable_make_pollfd() and g_poll() rather than using poll()
771 * tests/unix-streams.c: test of GUnixInputStream,
772 GUnixOutputStream, and GCancellable.
774 2008-09-26 Dan Winship <danw@gnome.org>
776 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
777 cast to stop a gcc warning
779 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
782 2008-09-25 Dan Winship <danw@gnome.org>
784 Bug 553426 - cancellable clarifications
786 * gcancellable.c (g_cancellable_class_init): Add a note to the
787 "cancelled" signal docs warning about thread-safety issues
788 (g_cancellable_cancel): Note that cancelling an asynchronous
789 operation takes effect asynchronously, not immediately.
791 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
793 * gioenums.h: Add new GFileCopyFlag, to leave target file with
794 default perms, instead of setting the source file perms, in a copy
797 * gfile.c (g_file_copy_attributes)
798 (build_attribute_list_for_copy)
799 (should_copy): Not copy "unix::mode" attribute if we have received
800 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
802 2008-09-20 Matthias Clasen <mclasen@redhat.com>
804 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
806 2008-09-17 Matthias Clasen <mclasen@redhat.com>
808 * === Released 2.18.1 ===
810 2008-09-16 Michael Natterer <mitch@imendio.com>
812 * gcontenttype.c (g_content_type_guess): can't assign the return
813 value of g_strdupv() to an array. Fill the array manually with
814 const strings instead (it is never freed anyway). Fixes the
815 build. Also fixed indentation.
817 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
819 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
820 Fix trivial typo to unbreak the build (there was a colon
821 instead of a semicolon at the end of a statement).
823 2008-09-15 Matthias Clasen <mclasen@redhat.com>
825 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
828 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
831 2008-09-15 Matthias Clasen <mclasen@redhat.com>
833 Bug 551681 – g_content_type_guess() too naive with filenames
835 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
836 at the end of the filename, and declare it a directory.
837 Patch by Bastien Nocera
839 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
841 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
844 * gdesktopappinfo.c: add a note in the docs clarifying what the
845 "filename" parameter really is.
847 2008-09-12 Tor Lillqvist <tml@novell.com>
849 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
850 FormatMessage() etc here. Call g_win32_error_message() instead
851 which already does all that. Besides, the code was broken as it
852 called the default "A" version of FormatMessage() but still
853 thought it produced a wide string.
855 2008-09-12 Michael Natterer <mitch@imendio.com>
857 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
858 in the documentation.
860 2008-09-08 Christian Neumair <cneumair@gnome.org>
862 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
863 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
864 Use non-blocking pipe for mount helper I/O. Fixes #550647.
866 2008-09-06 Matthias Clasen <mclasen@redhat.com>
868 Bug 551149 – xdgmime mem leak
870 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
871 a memory leak. Patch by Christian Persch
873 2008-09-04 Tor Lillqvist <tml@novell.com>
875 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
878 2008-09-02 Matthias Clasen <mclasen@redhat.com>
880 * === Released 2.18.0 ===
882 2008-09-02 Michael Natterer <mitch@imendio.com>
884 * *.h: big header formatting cleanup: indentation, vtable
885 formatting, consistent spacing in (* vfunc), trailing whitespace
886 removal. Formatting should be pretty consistent in all GIO headers
889 2008-09-02 Matthias Clasen <mclasen@redhat.com>
891 * gmount.h: Document guess_content_type sync vfunc.
893 2008-09-02 Michael Natterer <mitch@imendio.com>
895 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
896 fix parent_class member to be GFilterOutputStreamClass (not
897 GOutputStreamClass). Drop three pointers of padding, which is
898 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
899 so the class struct size stays the same.
901 2008-09-02 Matthias Clasen <mclasen@redhat.com>
903 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
905 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
906 nonexisting return values. Pointed out by Cosimo Cecchi.
908 2008-08-23 Tor Lillqvist <tml@novell.com>
910 Bug 548988 - g_file_replace fails on Windows when the target file
913 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
914 Windows, close the file before potentially renaming it (in case we
915 have been writing to a file with a temporary name).
917 (g_local_file_output_stream_close, handle_overwrite_open): Use
918 GLocalFileStat instead of plain struct stat, for passing to
919 _g_local_file_info_create_etag(). Thus also use _fstati64()
920 instead of plain fstat() on Windows.
922 2008-08-18 Matthias Clasen <mclasen@redhat.com>
924 * === Released 2.17.7 ===
926 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
928 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
931 2008-08-13 Tor Lillqvist <tml@novell.com>
933 * win32/gwinhttpvfs.c
934 * win32/gwinhttpvfs.h
935 * win32/gwinhttpfile.c
936 * win32/gwinhttpfileinputstream.c
937 * win32/gwinhttpfileoutputstream.c: Refactor some common code
938 snippets into helper functions. Check HTTP response status
939 codes. Implement g_winhttp_file_query_info(), looking at
940 Content-Length, Content-Type and Last-Modified.
942 * win32/winhttp.h: Add some symbolic constants that are not
943 publicly documented. Just a handful, so it should be OK to use
944 information from the Windows SDK's headers.
946 2008-08-13 Tor Lillqvist <tml@novell.com>
948 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
951 * win32/gwin32directorymonitor.c
952 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
954 2008-08-13 Matthias Clasen <mclasen@redhat.com>
957 * goutputstream.c: Add intro docs.
959 2008-08-13 Tor Lillqvist <tml@novell.com>
961 * win32/gwinhttpfileoutputstream.c
962 (g_winhttp_file_output_stream_write): Don't write the
963 Content-Length header ourselves, WinHttpSendRequest() takes care
964 of that when the dwTotalLength parameter is non-zero. Increment
965 offset by the number of actual bytes sent, although I wonder if
966 such a scenario is possible where less than requested would be
967 sent and accepted by the server without errors.
969 2008-08-13 Tor Lillqvist <tml@novell.com>
971 * win32/gwinhttpvfs.c
972 * win32/gwinhttpvfs.h
973 * win32/gwinhttpfile.c
974 * win32/gwinhttpfile.h
975 * win32/gwinhttpfileinputstream.c
976 * win32/gwinhttpfileinputstream.h
977 * win32/gwinhttpfileoutputstream.c
978 * win32/gwinhttpfileoutputstream.h: New files implementing
979 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
980 Windows. The implementation uses the WinHttp API. Both reading and
981 writing are supported, i.e. GET and PUT requests. When writing,
982 each write call is done using a separate PUT request with a
983 Content-Range header. Requests for file URIs and plain pathnames
984 are forwarded to GLocalVfs.
986 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
987 WINE. Used as there is no <winhttp.h> bundled with mingw, and
988 requiring people to download the Windows SDK just for this one
989 header is not reasonable.
991 * win32/Makefile.am: Add above files.
993 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
994 the plumbing for the above.
996 2008-08-11 Sven Neumann <sven@gimp.org>
998 * gfilenamecompleter.c
999 * glocaldirectorymonitor.c
1001 * gunionvolumemonitor.c
1005 * gunixvolumemonitor.c
1008 * gwin32volumemonitor.c: use canonical signal names.
1010 2008-08-11 Tor Lillqvist <tml@novell.com>
1012 * Makefile.am: Put a list of the platform-dependent .la files in
1013 the subdirectories in the platform_deps Make variable, and make
1014 libgio-2.0.la depend on that, so that it gets relinked if one of
1015 the dependent libraries has changed.
1017 2008-08-11 Tor Lillqvist <tml@novell.com>
1019 * Makefile.am (platform_libadd): Remove -lwininet which had been
1020 added by mistake. We will probably eventually be using WinHTTP,
1021 not the older WinInet anyway. (Actually I am working on it.)
1023 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1025 Bug 547080 – g_file_copy leaks expected errors
1027 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1028 before trying the next fallback routine.
1030 2008-08-09 Loïc Minier <lool@dooz.org>
1032 Bug 535124 – umask 002 not being applied for new directories, new
1033 files get the correct umask
1035 * gfile.c (g_file_make_directory)
1036 (g_file_make_directory_with_parents): Document ownership and
1037 permissions of newly created directories as being the default
1038 ones of the process.
1040 2008-08-08 Loïc Minier <lool@dooz.org>
1042 Bug 535124 – umask 002 not being applied for new directories, new
1043 files get the correct umask
1045 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1048 2008-08-08 Tor Lillqvist <tml@novell.com>
1050 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1052 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1053 code that didn't actually do anything inside #if 0, and add a
1054 comment wondering what the code was supposed to do. This also gets
1055 rid of a leftover debugging printout.
1057 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1059 * gfileicon.c (g_file_icon_get_property)
1060 (g_file_icon_set_property): New functions.
1061 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1063 (g_file_icon_new): Use the property (bug #546132).
1065 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1067 * gthemedicon.c (g_themed_icon_get_property): Also handle
1068 `PROP_USE_DEFAULT_FALLBACKS'.
1069 (g_themed_icon_class_init): Make
1070 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1072 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1074 Bug 546371 – Improve docs re g_file_monitor
1076 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1078 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1080 * === Released 2.17.6 ===
1082 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1084 * === Released 2.17.5 ===
1086 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1088 Bug 546017 – Don't copy attributes when copying a symlink
1090 * gfile.c (g_file_copy_attributes): Specify
1091 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1092 g_file_set_attributes_from_info. Patch by Christian Kellner
1094 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1096 * gemblemedicon.[hc]:
1098 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1099 a bit more extensible. Work by Clemens Buss.
1101 * gioenums.h: Add GEmblemOrigin.
1104 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1106 Bug 546079 – leak in xdgmime
1108 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1110 2008-08-03 Tor Lillqvist <tml@novell.com>
1112 * win32/gwin32directorymonitor.h
1113 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1116 2008-08-03 Tor Lillqvist <tml@novell.com>
1118 * win32/gwin32directorymonitor.c
1119 (g_win32_directory_monitor_callback): Make prototype match
1120 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1121 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1124 (g_win32_directory_monitor_constructor):
1125 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1126 names in the GLib API on Windows, so convert to UTF-16 and open
1129 2008-08-03 Tor Lillqvist <tml@novell.com>
1131 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1132 user's folder under Windows
1134 * win32/gwin32directorymonitor.c
1135 (g_win32_directory_monitor_constructor): Ignore error from
1136 CreateFile() when opening directory. Instead of asserting, just
1137 store INVALID_HANDLE_VALUE then in
1138 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1139 ReadDirectoryChangesW().
1140 (g_win32_directory_monitor_cancel): Don't attempt to close
1141 directory handle if it is INVALID_HANDLE_VALUE.
1143 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1145 * gdesktopappinfo.c: Remove debug spew
1147 2008-08-01 Hans Breuer <hans@breuer.org>
1149 * makefile.msc : add gemblembedicon
1151 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1153 Bug 545457 – gdmsetup crashed with SIGSEGV in
1154 g_unix_mount_guess_should_display()
1156 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1157 crash if no mount is found.
1159 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1161 Bug 545203 – gfile.c: argument is different type.
1163 * gfile.c (open_read_async_thread): Pass a GError **
1164 to g_file_set_error_literal.
1165 Reported by Kazuki Iwamoto
1167 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1169 Bug 545157 – wrong/no list of "open with" applications for .cc and
1172 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1173 Collect all ancestors, not just direct parents. Pointed
1174 out by Bastien Nocera
1176 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1178 * Makefile.am: Install gemblemedicon.h
1180 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1182 * gemblemedicon.[hc]: Add a GIcon implementation that can
1183 add an emblem to another icon.
1190 * gfileicon.c: Small documentation additions.
1192 2008-07-28 Tor Lillqvist <tml@novell.com>
1194 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1197 2008-07-27 Tor Lillqvist <tml@novell.com>
1199 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1201 2008-07-24 David Zeuthen <davidz@redhat.com>
1205 Also export a g_mount_guess_content_type_sync() function.
1207 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1209 529694 – SELinux context setting support
1211 * gfileinfo.c: Support setting selinux attributes.
1212 Patch by Tomas Bzatek
1214 2008-07-22 Priit Laes <plaes@plaes.org>
1216 Bug 544140 - fam-helper 64-bit issue?
1218 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1220 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1222 * === Released 2.17.4 ===
1224 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1226 * gvolumemonitor.[hc]:
1227 * gmountoperation.c:
1231 * gmount.c: Documentation fixes
1233 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1235 543504 – crash in Epiphany Web Browser: Opening local file
1239 * gdesktopappinfo.c:
1246 * gvolume.c: Register types thread-safely.
1247 Patch by Christian Persch
1249 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1251 * gcontenttype.c: Remove debug spew
1253 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1255 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1258 * fen/fen-kernel.c: Remove a warning that was causing
1259 crashes. Reported by Lin Ma.
1261 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1263 Bug 543040 – async reading on dummy file will crash on
1266 * gfile.c (open_read_async_thread): Cope with read_fn being
1267 NULL. Reported by Lin Ma.
1269 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1272 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1274 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1277 * gdesktopappinfo.h:
1278 * giomodule.c: Rename a chapter id to avoid filename conflict.
1280 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1282 Bug 540616 – mem leak in filechooser button
1284 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1285 the mount entry. Reported by Chrisitan Persch
1287 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1289 * gfile.c: Small documentation fixes.
1291 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1293 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1295 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1300 * gmount.c: Documentation improvements.
1302 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1305 * gmount.[hc]: Add g_mount_guess_content_type().
1307 2008-07-06 David Zeuthen <davidz@redhat.com>
1310 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1311 is needed for easily handling adoption of foreign volumes by
1312 out-of-process volume monitors (#541793)
1314 2008-07-06 David Zeuthen <davidz@redhat.com>
1316 * gvolumemonitor.[ch]:
1317 * gunionvolumemonitor.c: Export the eject-button signal on the
1318 volume monitor class (#541794).
1320 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1322 * gappinfo.c: More doc tweaks
1324 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1326 * gappinfo.c: Clarify some docs
1328 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1330 * gdesktopappinfo.c: Fix a stupid mistake.
1332 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1334 * === Released 2.17.3 ===
1336 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1338 * gfilemonitor.c: Fix the build.
1340 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1342 Bug 536160 – Add g_file_monitor()
1345 * gfile.[hc]: Add g_file_monitor which can return either
1346 a file or a directory monitor. Proposed by Behdad Esfahbod
1348 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1350 536733 – gio build failure on Irix
1352 * glocalfile.c: Use a configure check for structfs.f_bavail.
1354 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1356 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1359 * gdesktopappinfo.[hc]: Add a function to create a
1360 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1362 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1364 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1366 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1368 * gunixmounts.c: Fix a doc typo.
1370 2008-07-01 Cody Russell <bratsche@gnome.org>
1372 * gio/gcontenttype.c:
1373 * gio/gwin32appinfo.c:
1374 * gio/gwin32volumemonitor.c:
1375 * gio/gwin32mount.c: Fixed some include problems.
1377 2008-07-01 Cody Russell <bratsche@gnome.org>
1381 Moved all relevant typedefs into these files.
1384 Updated wrt added files.
1386 Split types into separate file for easier maintainership. (#538564)
1388 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1390 Bug 540331 – g_file_append_to () documentation: can return NULL
1392 * gfile.c (g_file_append_to): Clarify docs.
1393 Patch by Jared Moore
1395 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1397 Bug 539090 – g_content_type_from_mime_type() should unalias
1399 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1400 Patch by Markus Bergman
1402 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1404 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1405 g_atomic_pointer_get
1407 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1408 on ppc and alpha. Reported by Mart Raudsepp
1410 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1412 * tests/Makefile.am:
1413 * tests/memory-output-stream.c: Add some tests for
1414 GMemoryOutputStream.
1416 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1418 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1421 * gmemoryoutputstream.c (array_resize): Handle truncation to
1422 zero correctly. Reported by Akira Tagoh
1424 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1426 * gmemoryoutputstream.c: Trivial doc fixes
1428 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1430 Bug 540802 – g_list_prepend doesn't concat lists
1432 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1433 one list to another. Pointed out by Jan Arne Petersen
1435 2008-06-28 Michael Natterer <mitch@imendio.com>
1437 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1439 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1441 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1442 to avoid problems with partial icon themes.
1444 2008-06-17 Hans Breuer <hans@breuer.org>
1446 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1447 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1448 access again on win32, see bug #538127
1449 * giomodule.c : ensure GWin32VolumeMonitor is registered
1450 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1451 * Makefile.am makefile.msc : updated
1453 2008-06-16 Hans Breuer <hans@breuer.org>
1455 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1456 and initialization in one step avoids c99ism
1458 2008-06-16 Christian Persch <chpe@gnome.org>
1461 * gio/gbufferedinputstream.c
1462 * gio/gcancellable.c
1463 * gio/gdatainputstream.c
1464 * gio/gdesktopappinfo.c
1466 * gio/gfileenumerator.c
1467 * gio/gfileinputstream.c
1468 * gio/gfileoutputstream.c
1469 * gio/ginputstream.c
1470 * gio/glocaldirectorymonitor.c
1472 * gio/glocalfileenumerator.c
1473 * gio/glocalfileinfo.c
1474 * gio/glocalfilemonitor.c
1475 * gio/glocalfileoutputstream.c
1476 * gio/gmemoryinputstream.c
1477 * gio/gmemoryoutputstream.c
1478 * gio/goutputstream.c
1479 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1482 2008-06-16 Tor Lillqvist <tml@novell.com>
1484 Bug 538362 - Get Win32 icons back in the file chooser
1486 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1487 corresponding to a file extension in the Registry. Patch by Hans
1489 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1491 2008-06-16 Tor Lillqvist <tml@novell.com>
1493 Patches by Hans Breuer:
1495 * glocalfile.c (is_xp_or_later): Handle compiling against older
1496 SDK headers with missing VerifyVersionInfo(). Conditioned on
1497 _MSC_VER, but should probably use some better test.
1498 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1499 uninitialised statfs_result variable on Win32.
1501 2008-06-16 Michael Natterer <mitch@imendio.com>
1503 * *.c: chain up unconditionally in finalize() and dispose(). Also
1504 don't dereference these function pointers when calling them since
1505 that has no meaning at all.
1507 2008-06-16 Ross Burton <ross@burtonini.com>
1509 * gfileenumerator.c:
1510 Remove check for dispose implementation as it annoys Emmanuele.
1512 2008-06-16 Ross Burton <ross@burtonini.com>
1514 Bug 536252 – GFileEnumerator should allow access to the containing
1517 * gfileenumerator.c:
1518 * gfileenumerator.h:
1520 Add g_file_enumerator_get_container() and a container writeable
1521 construct-only property. Also shuffle around typedefs to make it
1524 * glocalfileenumerator.c:
1525 * glocalfileenumerator.h:
1527 Instead of a string filename take a GFile in the constructor and
1528 use it to set the container property.
1531 Update with new API.
1533 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1535 * gfile.c: Make includes more uniform
1537 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1539 * tests/live-g-file.c (sample_struct):
1540 Use less fancy unicode filenames, so the test doesn't fail
1541 on Mac OS X (#531476).
1543 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1545 * === Released 2.17.2 ===
1547 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1549 * === Released 2.17.1 ===
1551 2008-06-11 A. Walton <awalton@gnome.org>
1553 * tests/g-file.c (test_g_file_new_null):
1554 Fix broken test case.
1556 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1558 * pltcheck.sh: We use g_clear_error now.
1560 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1562 * glocalfile.c (g_local_file_enumerate_children): Revert
1563 an unintended change.
1565 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1567 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1569 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1571 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1574 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1575 as icon for the desktop directory, also make user-home and
1576 user-desktop the preferred icons.
1578 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1581 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1582 to add a name to the front of the list.
1584 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1586 Bug 537392 – Additional colon in xattr name
1588 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1589 too. Reported by Alessandro Morandi
1591 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1593 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1596 * glocalfile.c (get_fs_type): Add afs and autofs.
1597 Patch by Danny Baumann.
1599 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1601 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1603 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1604 is no parent. (Owen Taylor, patch by Christian Neumair)
1606 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1608 * gfile.c (g_file_replace_contents): do not leak the output stream.
1610 2008-06-10 Michael Natterer <mitch@imendio.com>
1612 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1613 uninitialized memory as array index.
1615 2008-06-10 Tor Lillqvist <tml@novell.com>
1617 * gcontenttype.c (g_content_type_can_be_executable)
1618 (g_content_type_get_icon) [Win32]: Add TODO comments.
1620 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1622 * xdgmime/Makefile.am: Fix the build
1624 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1626 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1627 in the shared mime database, if available.
1629 * xdgmime/*: Sync with upstream. This brings support for
1630 glob weights, generic icons, and changes the cache format to
1633 2008-05-28 Michael Natterer <mitch@imendio.com>
1635 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1636 the global CPPFLAGS now.
1638 * tests/data-input-stream.c
1639 * tests/data-output-stream.c
1640 * tests/g-file-info.c
1642 * tests/live-g-file.c
1643 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1645 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1647 * === Released 2.17.0 ===
1649 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1650 doesn't complain about leftover files.
1652 2008-05-27 simon.zheng <simon.zheng@sun.com>
1654 * glocalfile.c: (g_local_file_query_filesystem_info):
1655 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1657 2008-05-26 Michael Natterer <mitch@imendio.com>
1659 * gmemoryoutputstream.h: declare
1660 g_memory_output_stream_get_data_size().
1662 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1664 * tests/*: Make tests work
1666 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1668 * gio.symbols: Add g_memory_output_stream_get_data_size.
1670 2008-05-25 Ross Burton <ross@burtonini.com>
1673 Fix typo in error message (#534764).
1675 2008-05-25 Ross Burton <ross@burtonini.com>
1678 Fix circular dependency loop for gioenumtypes.h (#534759).
1680 2008-05-19 Hans Breuer <hans@breuer.org>
1682 * Makefile.am : EXTRA_DIST += makefile.msc
1684 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1687 * gcontenttype.c: (g_content_type_from_mime_type):
1688 New function to create a content type from a mime type. (#527175,
1691 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1693 Bug 532965 – Should not return filesystem::free for certain file systems
1695 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1696 free space for ncpfs.
1698 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1700 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1702 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1703 st_dev might be zero.
1705 2008-05-16 Tor Lillqvist <tml@novell.com>
1707 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1708 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1710 2008-05-13 Bastien Nocera <hadess@hadess.net>
1712 * gfile.c (has_valid_scheme): A URI scheme must start with a
1713 letter, even if later more characters are allowed (#532852)
1715 2008-05-05 Michael Natterer <mitch@imendio.com>
1717 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1718 code from being checked in that breaks the build of applications
1719 which use G_DISABLE_SINGLE_INCLUDES.
1721 * makegioalias.pl: make the alias file include "glib.h" instead of
1724 * gio.symbols: whitespace change to force regeneration of the
1725 alias file after above script change.
1727 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1729 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1731 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1733 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1735 2008-04-28 David Zeuthen <davidz@redhat.com>
1737 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1738 displaying mounts in a subdirectory not accessible to the
1741 2008-04-22 Michael Natterer <mitch@imendio.com>
1743 * Makefile.am: fix library versioning (it was 0.0.0).
1745 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1747 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1748 Default disable all loggings.
1749 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1750 (port_fetch_event_cb): Fixed two macro nits.
1752 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1754 * xdgmime/xdgmime.c: Rework the timestamp checking code
1755 to protect against duplicate directories in XDG_DATA_DIRS.
1756 Fixes fd.o bug 12513, reported by Joe Shaw.
1758 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1760 Partically revert the last commit after realizing that
1761 xdg_mime_media_type_equal doesn't have to init at all.
1763 * xdgmime/xdgmime.h:
1764 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1766 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1768 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1770 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1771 reported by Joe Shaw and Federico Mena Quintero.
1773 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1774 (xdg_mime_media_type_equal): Turn into a wrapper around the
1777 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1778 functions throughout.
1780 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1782 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1783 tolerate an empty TryExec= line without failing; nautilus used
1784 to create launchers with these in previous versions. Fixes #528433
1786 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1788 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1789 after name. Fixes #527132.
1791 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1793 * gfile.c: (g_file_replace):
1796 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1798 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1800 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1801 by Christian Kellner.
1803 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1805 * gunixmounts.c: (g_unix_mount_guess_should_display):
1806 Don't list the user directory as a mount, fix potential issue
1807 when other users have a similar naming and don't special case the
1808 gvfs mounts there since that's not required (#525866)
1810 2008-03-31 Alexander Larsson <alexl@redhat.com>
1812 * glocalfile.c (get_parent):
1815 2008-03-31 A. Walton <awalton@svn.gnome.org>
1817 * gfile.c (g_file_query_file_type):
1818 Always return a GFileType enum value (#520715).
1820 2008-03-31 Alexander Larsson <alexl@redhat.com>
1822 * glocalfileenumerator.c:
1823 Read readdir() info in chunks (of 1000) and sort
1824 the chunks by inode before stat:ing.
1825 This is a 20% performance increase in testing
1826 gvfs-ls on /usr/bin with cold cache.
1828 2008-03-31 Alexander Larsson <alexl@redhat.com>
1830 * gmemoryoutputstream.c:
1831 Clarify docs for g_memory_output_stream_get_size.
1832 Add g_memory_output_stream_get_data_size.
1834 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1838 * gfile.h: Add g_file_query_file_type convenience function
1839 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1841 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1843 * gfileenumerator.c:
1844 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1846 2008-03-28 A. Walton <awalton@svn.gnome.org>
1848 * giomodule.c (_g_io_modules_ensure_loaded):
1849 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1852 2008-03-28 Alexander Larsson <alexl@redhat.com>
1855 (copy_stream_with_progress):
1858 2008-03-28 Alexander Larsson <alexl@redhat.com>
1861 (copy_stream_with_progress):
1862 (file_copy_fallback):
1863 Fallback to g_file_query_info for source size
1864 if g_file_input_stream_query_info fails. (#524579)
1866 2008-03-28 Alexander Larsson <alexl@redhat.com>
1868 * glocalfile.c (g_local_file_move):
1869 Reuse old string instead of adding new one.
1871 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1873 * fen/*.[hc]: still copyright issue. I hate copyright.
1875 2008-03-27 Alexander Larsson <alexl@redhat.com>
1877 * glocalfile.c (g_local_file_move):
1878 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1879 file over directory. This is according to the docs and what the move via
1880 copy+remove fallback does.
1882 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1884 * fen/*.[hc]: Updated copyright.
1886 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1888 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1890 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1892 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1893 not emit attribute changed events when optimizing changed events.
1894 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1897 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1899 * gmountoperation.[hc]: Small documentation additions
1901 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1903 * gunixmounts.c: (guess_mount_type):
1904 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1906 2008-03-19 Alexander Larsson <alexl@redhat.com>
1909 (copy_stream_with_progress):
1910 Bump block side for copy to 64k to minimize
1911 overhead for low latency links. (#523015)
1913 2008-03-16 Tor Lillqvist <tml@novell.com>
1915 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1916 depend on gio.def on Windows.
1918 2008-03-12 David Zeuthen <davidz@redhat.com>
1922 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1924 2008-03-14 Alexander Larsson <alexl@redhat.com>
1928 Avoid redudant tests (#521851)
1929 Patch from Josselin Mouette
1931 2008-03-14 Alexander Larsson <alexl@redhat.com>
1934 (g_file_monitor_is_cancelled):
1935 Fix C89 issue (#521672)
1936 Patch from Jens Granseuer
1938 2008-03-14 Alexander Larsson <alexl@redhat.com>
1940 * fam/fam-helper.[ch]:
1942 Shut down fam (including removing fam GSource) when
1943 module is unloaded (#521513)
1944 Patch from Joe Marcus Clarke
1946 2008-03-14 Alexander Larsson <alexl@redhat.com>
1949 (_g_io_modules_ensure_loaded):
1952 2008-03-14 Alexander Larsson <alexl@redhat.com>
1955 (g_local_file_query_filesystem_info):
1956 Use right define name for f_fstypename member check
1958 2008-03-14 Alexander Larsson <alexl@redhat.com>
1961 * fen/Makefile.am: Added.
1962 * fen/fen-data.[ch]: Added.
1963 * fen/fen-dump.[ch]: Added.
1964 * fen/fen-helper.[ch]: Added.
1965 * fen/fen-kernel.[ch]: Added.
1966 * fen/fen-missing.[ch]: Added.
1967 * fen/fen-node.[ch]: Added.
1968 * fen/fen-sub.[ch]: Added.
1969 * fen/gfendirectorymonitor.[ch]: Added.
1970 * fen/gfenfilemonitor.[ch]: Added.
1972 Added Solaris FEN file notification backend.
1973 Patch from Lin Ma <Lin.Ma@Sun.COM>
1975 2008-03-13 Tor Lillqvist <tml@novell.com>
1977 * Makefile.am: Actually use the gio.def file when linking the
1978 library on Windows. Produce .lib library for Microsoft's toolchain
1979 when possible. Install the .lib and .def file like for the other
1982 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1984 * tests/live-g-file.c:
1985 Include live-g-file in standard set of tests, making a temporary
1986 directory in source structure.
1988 Clean target directory before the tests (write mode only)
1990 2008-03-12 Tor Lillqvist <tml@novell.com>
1992 Bug 517419 - gio win32 directory monitor
1993 Implementation by Vlad Grecescu.
1996 * win32/gwin32directorymonitor.h
1997 * win32/gwin32directorymonitor.c: New files.
1999 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2001 * Makefile.am: Add the win32 subdirectory.
2003 2008-03-12 Tor Lillqvist <tml@novell.com>
2005 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2006 normal struct stat on Unix but struct _stati64 on Windows to have
2007 access to 64-bit file size information. Use that instead of struct
2008 stat in the functions declared here in this private header.
2010 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2011 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2012 warnings about unused functions and variables. Don't set
2013 meaningless attributes like inode numbers on Windows.
2015 2008-03-12 Benjamin Otte <otte@gnome.org>
2018 trim whitespace so gtk-doc groks the function name
2020 2008-03-12 Tor Lillqvist <tml@novell.com>
2022 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2023 returning FALSE, on Win32.
2025 2008-03-11 Alexander Larsson <alexl@redhat.com>
2028 * glocalfileinfo.[ch]:
2029 Correctly implement can_trash by actually
2030 looking for a trash dir, not just assuming
2033 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2035 * === Released 2.16.1 ===
2037 2008-03-11 Alexander Larsson <alexl@redhat.com>
2040 Fix crashes in new constructor and properties code
2042 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2044 * gfile.c: Minor spelling correction in documentation:
2045 existance -> existence.
2047 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2049 * === Released 2.16.0 ===
2051 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2053 * gio.symbols: Remove g_file_contains_file here, too.
2055 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2057 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2058 Samuel Cormier-Iijima)
2060 2008-03-08 Tor Lillqvist <tml@novell.com>
2062 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2065 2008-03-07 Alexander Larsson <alexl@redhat.com>
2068 (g_local_file_query_filesystem_info):
2069 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2070 Patch from Jasper Lievisse Adriaanse
2072 2008-03-06 Tor Lillqvist <tml@novell.com>
2074 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2075 comments for the *_USEC attributes.
2077 2008-03-06 Alexander Larsson <alexl@redhat.com>
2079 * gfile.c (g_file_query_exists):
2080 Add g_return_val_if_fail check (#520700)
2082 2008-03-06 Alexander Larsson <alexl@redhat.com>
2084 * gdesktopappinfo.c:
2087 * gunionvolumemonitor.c:
2090 * tests/live-g-file.c:
2091 * xdgmime/xdgmimecache.c:
2092 Fix sparse warnings (#519489)
2094 2008-03-05 Alexander Larsson <alexl@redhat.com>
2097 Make cancellation threadsafe (i.e.
2098 guarantee its only done once, and always
2101 * glocaldirectorymonitor.c:
2102 Make sure we the monitor lives while the
2103 mounts_changed callback is being called (#520484)
2105 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2107 * gbufferedinputstream.c: Fix typo in parameter
2110 2008-03-04 Alexander Larsson <alexl@redhat.com>
2113 Remove deprecated symbols we kept for one release.
2115 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2118 * goutputstream.c: Tiny documentation corrections.
2120 2008-03-03 Alexander Larsson <alexl@redhat.com>
2122 * gunionvolumemonitor.c:
2124 Fix the adopt_orphan_mount vfunc to take a
2125 volume_monitor reference in an ABI compat way.
2126 This change is not API compat, but the added
2127 arg is not used in the only user of this vfunc, so
2128 all we get is a harmless warning in gvfs (#520169)
2130 2008-03-01 Benjamin Otte <otte@gnome.org>
2133 clarify docs for g_file_delete().
2135 2008-02-29 Alexander Larsson <alexl@redhat.com>
2139 Make sure empty files get text/plain type (#518720)
2141 2008-02-27 Alexander Larsson <alexl@redhat.com>
2147 (g_unix_volume_mount):
2148 Add missing GMountMountFlags argument
2150 2008-02-26 Alexander Larsson <alexl@redhat.com>
2153 (g_local_file_delete):
2154 Handle filesystems (like ntfs-3g) that return EEXIST instead
2155 of ENOTEMPTY (#518816)
2157 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2159 * === Released 2.15.6 ===
2161 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2163 * gfile.c (g_file_find_enclosing_mount):
2164 * ginputstream.c (g_input_stream_set_pending):
2165 * glocalfile.c (g_local_file_find_enclosing_mount):
2166 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2167 * goutputstream.c (g_output_stream_set_pending):
2169 Fixup translator comments (#518578).
2171 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2173 * gfile.c (g_file_find_enclosing_mount):
2175 * glocalfile.c (g_local_file_find_enclosing_mount):
2178 Fix a few typos in translator comments and documentation.
2180 2008-02-25 Alexander Larsson <alexl@redhat.com>
2187 Add translator comments (#518578)
2189 2008-02-25 Alexander Larsson <alexl@redhat.com>
2192 Reintroduce g_file_contains_file, keep around for one
2193 unstable release cycle to avoid crashing to many apps.
2194 Make sure to delete after release.
2196 2008-02-25 Alexander Larsson <alexl@redhat.com>
2199 Remove deprecated g_file_contains_file.
2201 2008-02-25 Alexander Larsson <alexl@redhat.com>
2204 Emit actual change signals in an idle handler.
2205 This avoids reentrance and locking problems in
2206 the file notification backends.
2208 2008-02-25 Alexander Larsson <alexl@redhat.com>
2211 (g_unix_mount_guess_should_display):
2212 Remove type guessing, instead just display
2213 mounts in /media and in ~/.
2215 2008-02-25 Alexander Larsson <alexl@redhat.com>
2218 Make new strings reuse old ones.
2220 2008-02-25 Alexander Larsson <alexl@redhat.com>
2223 Implement trashing and filesystem::readonly for win32 (#517235)
2224 Patch from Yevgen Muntyan
2226 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2228 * gfileinfo.h: Documentation fixes.
2230 2008-02-22 Alexander Larsson <alexl@redhat.com>
2232 * gcontenttype.c (g_content_type_get_icon):
2233 Look at old-style gnome mime icon names too, as many
2234 have not moved to the new style.
2236 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2238 * *.c: Correct the @include in for section docs.
2240 2008-02-21 David Zeuthen <davidz@redhat.com>
2242 * glocalfileinfo.c: (_g_local_file_info_get):
2244 (g_content_type_get_icon): Implement this function by
2245 moving bits from glocalfileinfo.c
2246 (g_content_type_get_description): Unalias before getting
2247 description (#517687)
2249 * gfile.c: (g_file_class_init),
2250 (g_file_query_filesystem_info_async),
2251 (g_file_query_filesystem_info_finish),
2252 (query_filesystem_info_data_free),
2253 (query_filesystem_info_async_thread),
2254 (g_file_real_query_filesystem_info_async),
2255 (g_file_real_query_filesystem_info_finish):
2256 * gfile.h: Implement async version of
2257 g_file_query_filesystem_info()
2259 * gfileinfo.h: Add new attributes for filesystem::use-preview
2261 * gio.symbols: Update
2263 * gthemedicon.c: (g_themed_icon_append_name):
2264 * gthemedicon.h: Add new new convenience function.
2266 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2267 (get_mounts), (get_volumes), (get_connected_drives),
2268 (get_volume_for_uuid), (get_mount_for_uuid),
2269 (g_union_volume_monitor_init), (populate_union_monitor),
2270 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2271 (g_volume_monitor_adopt_orphan_mount):
2273 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2274 monitor implementations to call into the main volume monitor. Also
2275 separate object initialization and volume monitor initialization
2276 such that non-native volume monitors can properly adopt their
2279 2008-02-21 Alexander Larsson <alexl@redhat.com>
2284 2008-02-21 Alexander Larsson <alexl@redhat.com>
2287 Add more documentation about how GFiles work (from #517086)
2289 2008-02-21 Alexander Larsson <alexl@redhat.com>
2293 Add new g_file_has_prefix that does the same as g_file_contains_file.
2294 Deprecate g_file_contains_file and add a macro that converts
2295 it to g_file_has_prefix.
2296 The reason for this change is that the contains_file() name seems to
2297 imply that this does more work than what it does, but its really only
2298 a name match (from #517086)
2303 Update to match the above change.
2305 2008-02-20 Benjamin Otte <otte@gnome.org>
2307 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2308 (g_file_eject_mountable):
2309 even more cases of not returning in error path
2311 2008-02-20 Benjamin Otte <otte@gnome.org>
2313 * gfile.c: (g_file_mount_mountable):
2314 return from function in error path.
2316 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2319 Remove trailing coma in GMountMountFlags struct
2321 2008-02-18 Alexander Larsson <alexl@redhat.com>
2325 * glocalfileoutputstream.c:
2326 Use g_unlink/g_rename instead of unlink/rename;
2327 do not pass raw filenames to g_set_error. (#517239)
2328 Patch from Yevgen Muntyan.
2330 2008-02-18 Alexander Larsson <alexl@redhat.com>
2333 * glocalfileoutputstream.c:
2334 Open files with O_BINARY on windows. (#517140)
2336 2008-02-14 Alexander Larsson <alexl@redhat.com>
2338 * glocalfileoutputstream.c:
2339 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2341 2008-02-14 Alexander Larsson <alexl@redhat.com>
2344 Copy permissions with file on copy (#514084)
2345 This is what cp does and makes sure e.g. the
2346 exec permissions are kept.
2347 Its kinda weird in that it keeps the permission bits
2348 the same while the uid and gid are different. However
2349 the new uid is the user so its not a security issue,
2350 and I've heard no complaints about cp on this issue.
2352 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2354 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2356 2008-02-13 Alexander Larsson <alexl@redhat.com>
2358 * inotify/inotify-path.c:
2359 Define IN_ONLYDIR if not in header (#515346)
2361 2008-02-12 Alexander Larsson <alexl@redhat.com>
2363 * tests/live-g-file.c:
2366 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2368 * === Released 2.15.5 ===
2370 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2372 * gio.symbols: Add g_mount_mount_flags_get_type.
2374 2008-02-11 Alexander Larsson <alexl@redhat.com>
2377 (g_file_info_set_attribute_mask):
2378 (g_file_attribute_matcher_matches_id):
2379 Correctly handle NULL GAttributeMatcher meaning
2380 matches nothing. (Fixes #513492)
2382 2008-02-11 Alexander Larsson <alexl@redhat.com>
2387 Added GMountMountFlags enum and added a flags
2388 argument to all mount calls.
2390 This is an API/ABI change for future extensibility,
2391 as I think we will need at least an
2392 inhibit-autorun flag (the panel needs this).
2393 There are no flags defined yet though.
2395 2008-02-11 Alexander Larsson <alexl@redhat.com>
2398 Added new standard::description attribute.
2399 Requested by Vincent, and useful for both
2402 2008-02-11 Alexander Larsson <alexl@redhat.com>
2404 * gdesktopappinfo.c:
2407 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2409 * *.c: Documentation additions
2411 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2413 * gappinfo.h: Formatting cleanup
2414 * gappinfo.c: Fix up docs.
2416 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2418 * gunixmounts.c: Consistently use getmntent_r() and fall
2419 back to getmntent(). (#515492)
2421 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2423 * gbufferedinputstream.c:
2425 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2427 * tests/data-input-stream.c:
2428 * tests/data-output-stream.c: Portability fixes.
2430 2008-02-08 Alexander Larsson <alexl@redhat.com>
2435 Add g_volume_should_automount.
2438 2008-02-07 Tor Lillqvist <tml@novell.com>
2440 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2441 Win32, too Unix-specific.
2443 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2445 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2446 a local plt if the compiler doesn't support what we want. Bug #514702
2448 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2450 reviewed by: <delete if not using a buddy>
2453 * gunixinputstream.c:
2454 * gunixoutputstream.c:
2456 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2458 * tests/Makefile.am:
2459 * tests/live-g-file.c:
2460 * tests/live-g-file.txt:
2461 New GIO testing module working over real data
2463 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2465 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2466 Fallback to rename() if link() is not available
2467 (when no support on target filesystem)
2469 2008-02-06 Michael Natterer <mitch@imendio.com>
2471 * gfileinfo.c (g_file_info_get_icon): replace
2472 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2474 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2476 * gfile.c (g_file_create):
2477 Documentation update of error codes
2479 2008-02-06 Alexander Larsson <alexl@redhat.com>
2481 * gdesktopappinfo.c:
2482 Update to use both mimeapps.list and
2483 defaults.list as discussed on xdg list.
2485 2008-02-06 Benjamin Otte <otte@gnome.org>
2488 * gfilenamecompleter.c:
2489 Fix some typos in the documentation.
2491 2008-02-06 Alexander Larsson <alexl@redhat.com>
2493 * glocalfile.c (g_local_file_trash):
2494 Don't succeed with trash if newly created
2495 trash dir has the wrong owner. (#514696)
2497 2008-02-05 Alexander Larsson <alexl@redhat.com>
2499 * glocalfile.c (g_local_file_move):
2500 Don't spew warnings when destination is not
2503 2008-02-03 Hans Breuer <hans@breuer.org>
2505 * makefile.msc : update
2507 2008-02-01 Michael Natterer <mitch@imendio.com>
2509 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2510 return value of xdg_mime_list_mime_parents() to a variable of the
2513 2008-02-01 Alexander Larsson <alexl@redhat.com>
2515 * gappinfo.c (g_app_info_launch_uris):
2516 Actually call the launch_uris method, not
2519 2008-02-01 Alexander Larsson <alexl@redhat.com>
2521 * gdesktopappinfo.c (g_desktop_app_info_equal):
2522 Ensure appinfos with no id but same pointer value
2525 2008-02-01 Alexander Larsson <alexl@redhat.com>
2527 * gappinfo.c (g_app_info_launch_default_for_uri):
2530 2008-02-01 Alexander Larsson <alexl@redhat.com>
2534 Add g_app_info_launch_default_for_uri utility
2537 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2539 * gdesktopappinfo.c:
2540 Doc fix for g_app_info_get_default_for_uri_scheme ()
2543 2008-01-30 Alexander Larsson <alexl@redhat.com>
2546 Add doc comment about uris vs GFiles to
2549 * gdesktopappinfo.c:
2550 Ensure uris passed to g_app_info_launch_uris()
2551 are not roundtriped through GFile (as that
2552 may be slightly destructive for e.g. mailto: links)
2554 2008-01-30 Alexander Larsson <alexl@redhat.com>
2556 * tests/data-input-stream.c:
2557 * tests/data-output-stream.c:
2558 C89 fixes from Jens Granseuer (#512849)
2560 2008-01-30 Alexander Larsson <alexl@redhat.com>
2563 Fix gamin/fam difference build issue. (#509419)
2565 2008-01-29 Alexander Larsson <alexl@redhat.com>
2568 * gdesktopappinfo.c:
2569 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2571 2008-01-29 Alexander Larsson <alexl@redhat.com>
2573 * gdesktopappinfo.c:
2574 * gdesktopappinfo.h:
2575 giomodule-priv.h include moved to .c file.
2577 2008-01-29 Alexander Larsson <alexl@redhat.com>
2579 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2580 Remove unused prio/name fields.
2582 2008-01-29 Alexander Larsson <alexl@redhat.com>
2584 * gcontenttype.c (looks_like_text):
2585 Don't treat whitespace as control chars.
2587 2008-01-29 Alexander Larsson <alexl@redhat.com>
2589 * gdesktopappinfo.c:
2590 Lazily create the desktop files for appinfos created
2591 by g_app_info_create_from_commandline() when needed
2592 for mime associations. This allows run-time use
2593 of GAppInfo object without creating unnecessary
2596 2008-01-29 Alexander Larsson <alexl@redhat.com>
2599 Added new symbols to gio.symbols
2601 2008-01-29 Alexander Larsson <alexl@redhat.com>
2604 Add g_file_query_default_handler utility to easily look up
2605 the GAppInfo that handles a file.
2607 * gdesktopappinfo.[ch]:
2609 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2612 Remove unused function
2614 2008-01-29 Alexander Larsson <alexl@redhat.com>
2616 * gfileenumerator.c:
2617 Mention need to free returned value in
2618 g_file_enumerator_next_files_finish docs.
2619 Fix leak if g_file_enumerator_next_files_finish()
2622 2008-01-29 Alexander Larsson <alexl@redhat.com>
2625 (_g_unix_content_type_get_parents):
2626 Use list_parents, not get_parents from xdgmime, because
2627 the later doesn't use the cache.
2629 * xdgmime/xdgmimecache.c:
2630 (_xdg_mime_cache_list_mime_parents):
2631 Don't list the same type as parent multiple times.
2633 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2635 * === Released 2.15.4 ===
2637 2008-01-28 Alexander Larsson <alexl@redhat.com>
2640 Register local vfs with prio 0.
2643 Remove old name and prio class members
2645 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2647 * tests/g-file.c: Disable some tests that are failing in
2648 the absence of a http backend.
2650 2008-01-28 Alexander Larsson <alexl@redhat.com>
2654 Add registration hooks for extension points.
2655 Register the gio extension points.
2657 * fam/gfamdirectorymonitor.c:
2658 * fam/gfamfilemonitor.c:
2659 * glocaldirectorymonitor.[ch]:
2660 * glocalfilemonitor.[ch]:
2661 * gnativevolumemonitor.h:
2662 * gunionvolumemonitor.c:
2663 * gunixvolumemonitor.c:
2666 * inotify/ginotifydirectorymonitor.c:
2667 * inotify/ginotifyfilemonitor.c:
2668 Use the extension points registration instead
2669 of g_type_children().
2671 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2674 * gvolume.[hc]: Document new API.
2676 * gfile.c (g_file_copy_async): Fix docs
2678 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2680 * gbufferedinputstream.c:
2682 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2685 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2687 * glocalfile.c: Avoid trivial differences in translatable strings.
2689 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2691 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2692 build with gcc 3.4 (#509419)
2694 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2696 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2697 (#509994, Murray Cumming)
2699 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2701 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2702 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2703 this allows big jobs to be executed in chunks, instead of blocking
2704 the main loop for a long time.
2706 * gsimpleasyncresult.c:
2707 * giofile.c: Adapt callers.
2709 2008-01-25 Alexander Larsson <alexl@redhat.com>
2711 * gdesktopappinfo.c:
2712 Implement changes discussed on xdg list.
2713 Now we can add supported mimetypes by just using defaults.list
2714 We can also remove associations in defaults.list.
2716 2008-01-25 Alexander Larsson <alexl@redhat.com>
2718 * gdesktopappinfo.c:
2719 Don't make local copy of desktop file
2720 for mimetype changes if the file already
2721 supports the new mimetype.
2723 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2727 * gbufferedinputstream.c:
2728 * glocalfile.c: String improvements. (#511966,
2729 Theppitak Karoonboonyanan)
2731 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2733 * gioscheduler.h: Expand docs a bit.
2735 2008-01-24 Alexander Larsson <alexl@redhat.com>
2738 Add g_drive_get_identifier and
2739 g_drive_enumerate_identifiers
2742 Add g_volume_get_identifier and
2743 g_volume_enumerate_identifiers
2749 Implement identifiers for unix backend
2751 2008-01-24 Alexander Larsson <alexl@redhat.com>
2756 Add g_file_copy_async() (#511580)
2757 Based on patch from Carlos Garcia Campos
2759 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2761 * gioscheduler.c: Some documentation additions.
2763 2008-01-22 Alexander Larsson <alexl@redhat.com>
2765 * gdesktopappinfo.c:
2766 (g_desktop_app_info_new):
2767 Don't leak basename.
2769 2008-01-22 Alexander Larsson <alexl@redhat.com>
2771 * gdesktopappinfo.c:
2772 (g_desktop_app_info_new_from_filename):
2775 2008-01-22 Alexander Larsson <alexl@redhat.com>
2777 * glocalfileinfo.c (get_thumbnail_attributes):
2780 2008-01-22 Alexander Larsson <alexl@redhat.com>
2783 (canonicalize_filename):
2784 Canonicalize paths that start with more than
2788 (compare_two_files):
2789 (test_g_file_new_for_path):
2792 2008-01-22 Alexander Larsson <alexl@redhat.com>
2795 Allow UTF-8 in file:// parse names.
2797 * tests/Makefile.am:
2798 * tests/data-input-stream.c:
2799 * tests/data-output-stream.c:
2800 * tests/g-file-info.c:
2802 Added a bunch of tests from Tomas Bzatek
2804 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2806 * === Released 2.15.3 ===
2808 2008-01-21 Alexander Larsson <alexl@redhat.com>
2810 * gfileinputstream.[ch]:
2811 * gfileoutputstream.[ch]:
2813 Remove duplicated GSeekable functions. (#509990)
2814 Just use the g_seekable_xxx() calls instead.
2816 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2819 * gvolumemanager.c: Whitespace cleanups.
2821 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2822 Use the right mode when creating the file.
2824 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2826 * gfileenumerator.c:
2827 * gfileinputstream.c:
2829 * goutputstream.c: Documentation: Fixed minor typos
2830 and added more mentions of specific _finish() functions.
2832 2008-01-21 Alexander Larsson <alexl@redhat.com>
2834 * inotify/Makefile.am:
2835 * inotify/inotify-helper.c:
2836 * inotify/inotify-kernel.c:
2837 * inotify/inotify-path.c:
2838 * inotify/local_inotify.h: Removed.
2839 * inotify/local_inotify_syscalls.h: Removed.
2840 Removed the included copies of the inotify
2841 headers. We now only use the <sys/inotify.h>
2842 header which exists on modern systems.
2843 This fixes problems on ARM and SH5 (#510448)
2844 but is also generally much cleaner and future
2845 safe. For instance, if other OSes add support
2846 for inotify it should "just work".
2848 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2850 * inotify/*.c: Coding style fixes.
2851 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2852 for the 1/4 Hz timer.
2854 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2857 * gfilemonitor.[hc]:
2858 * gmemoryinputstream.c:
2859 * gmemoryoutputstream.c:
2860 * gmountoperation.c:
2861 * gthemedicon.c: Documentation updates
2863 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2865 * gfile.c: documentation: Fixed more minor
2868 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2870 * gmount.c: (g_mount_remount): documentation:
2871 Mention g_mount_remount_finish() instead of
2872 g_mount_unmount_finish().
2874 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2878 * gfile.c: Fixed some minor typos in the
2881 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2883 * gio/gvolumemonitor.c:
2884 (g_volume_monitor_get_connected_drives):
2885 (g_volume_monitor_get_volumes):
2886 (g_volume_monitor_get_mounts): Documentation:
2887 Clarify the ownership of the regurn GLists.
2889 2008-01-17 Alexander Larsson <alexl@redhat.com>
2892 Add the async find_enclosing_mount version
2893 to the header file too.
2895 2008-01-17 Alexander Larsson <alexl@redhat.com>
2898 Add async version of find_enclosing_mount
2899 with default implementation.
2901 2008-01-17 Alexander Larsson <alexl@redhat.com>
2906 Allow calls to implementation of copy and write
2907 even if the type of the file implementations is
2908 different. This can be used to implement native
2909 upload and download calls in a vfs.
2912 (g_local_file_move):
2913 Protect against the case where move is called
2914 with one file not being local.
2916 Make sure we call the progress callback once
2917 in the native move operation so that the caller
2918 knows how many bytes were copied.
2920 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2923 * gdatainputstream.c:
2925 * gfileoutputstream.c:
2930 * gunixmounts.c: Corrected some typos in the documentation:
2931 occured -> occurred.
2932 its -> it's (where appropriate).
2934 2008-01-16 Alexander Larsson <alexl@redhat.com>
2938 Add g_file_query_exists (#508771)
2940 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2945 * gvolume.c: For async functions that have no non-async
2946 version, document that the GAsyncReadyCallback may be NULL.
2949 2008-01-15 Alexander Larsson <alexl@redhat.com>
2951 * gmemoryinputstream.c:
2952 * gmemoryoutputstream.c:
2953 Don't do pointer arithmetic on void * (#508602)
2954 Patch from Kazuki IWAMOTO
2956 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2958 * === Released 2.15.2 ===
2960 2008-01-14 Alexander Larsson <alexl@redhat.com>
2962 * gfile.c (g_file_monitor_file):
2963 Don't set error here, since we fallback to polling monitor.
2965 2008-01-14 Alexander Larsson <alexl@redhat.com>
2968 (g_file_monitor_directory):
2969 (g_file_monitor_file):
2970 Add GError to file monitor calls
2972 * glocaldirectorymonitor.c:
2973 * glocaldirectorymonitor.h:
2975 * glocalfilemonitor.c:
2976 * glocalfilemonitor.h:
2978 Update for above change
2980 2008-01-14 Alexander Larsson <alexl@redhat.com>
2984 Handle root correctly in g_file_get_relative_path (#508719)
2986 2008-01-14 Alexander Larsson <alexl@redhat.com>
2989 Clean up docs and example for GAsyncResult (#508074)
2991 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2993 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2994 and correct some spelling mistakes. Bug #508108.
2996 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2998 * glocalfileinfo.c: Add a comment.
3000 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3002 * gfileinfo.c: GFileInfo description: Mention
3003 how to actually set attributes in a GFile and how to discover
3004 which attributes are settable. Bug #508378.
3006 2008-01-10 A. Walton <awalton@svn.gnome.org>
3008 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3009 (g_app_info_get_default_for_type):
3010 Check for NULL content types.
3012 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3014 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3016 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3018 * gfile.c: *_async() functions: Several small corrections
3019 to the documentation, mostly correcting copy/paste errors
3020 and improving some sentences.
3022 2008-01-09 Dan Winship <danw@gnome.org>
3024 * glocalfile.c (get_unique_filename): x86_64 fix
3026 2008-01-09 Alexander Larsson <alexl@redhat.com>
3031 Add g_unix_mount_guess_should_display and use
3032 for unix volume monitor backend.
3033 This means we more or less show what the
3034 gnome-vfs backend did.
3035 Based on patch from Padraig O'Briain
3037 2008-01-09 Alexander Larsson <alexl@redhat.com>
3041 Add g_themed_icon_new_with_default_fallbacks
3044 Use default fallbacks for icons
3046 2008-01-09 Alexander Larsson <alexl@redhat.com>
3049 * gmountoperation.[ch]:
3050 Change the API a bit so that unhandled methods
3051 get reported via the reply, rather than by
3052 the signal emission return value. This is because
3053 some handlers can't know this immediately without
3054 doing I/O, and this is an async operation that
3057 2008-01-09 Alexander Larsson <alexl@redhat.com>
3060 * fam/gfamdirectorymonitor.c:
3061 * fam/gfamfilemonitor.c:
3062 Fix double free crash (#508224)
3063 Patch from Joe Marcus Clarke
3065 008-01-07 Matthias Clasen <mclasen@redhat.com>
3067 * === Released 2.15.1 ===
3069 2008-01-07 Alexander Larsson <alexl@redhat.com>
3071 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3072 Fix warning (#507835)
3074 2008-01-07 Alexander Larsson <alexl@redhat.com>
3077 Pass --internal to glib-genmarshal
3080 * gmountoperation.c:
3082 Use better types for signal arguments (#507822)
3084 2008-01-07 Alexander Larsson <alexl@redhat.com>
3087 Build test subdir after .
3088 Remove gdirectorymonitor.[ch]
3090 * gdirectorymonitor.[ch]:
3094 Remove GDirectoryMonitor and make
3095 GFileMonitor the baseclass for both file and
3096 directory monitors. Lift the more generic
3097 rate limiting code from GDirectoryMonitor
3101 * fam/gfamdirectorymonitor.[ch]:
3102 * inotify/ginotifydirectorymonitor.[ch]:
3103 * inotify/inotify-helper.c:
3104 * glocaldirectorymonitor.[ch]:
3107 Update for the removed GDirectoryMonitor.
3109 * gmemoryoutputstream.c:
3110 Remove ununsed variable
3112 2008-01-07 Alexander Larsson <alexl@redhat.com>
3114 * gmemoryinputstream.c:
3115 Translate error strings
3118 * gmemoryoutputstream.[ch]:
3119 New implementation that avoids using GByteArray
3120 in implementation and API. (#506377)
3122 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3124 * tests/*: Add a test for memory input streams.
3126 * Makefile.am: Add tests to SUBDIRS.
3128 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3130 * glocalfilemonitor.c:
3131 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3134 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3136 * gdesktopappinfo.c: Fix a docs typo.
3138 * gfileattribute.c: Add information about extended attributes
3139 to the documentation. (#505058)
3141 2008-01-04 Alexander Larsson <alexl@redhat.com>
3144 * gmountoperation.c:
3145 Use the right type (uint) for the ask_password signal.
3147 2008-01-04 Alexander Larsson <alexl@redhat.com>
3152 Add g_app_info_supports_files()
3153 Remove desktop arg from g_app_info_should_show().
3155 * gdesktopappinfo.[ch]:
3156 Implement g_app_info_supports_files() and new should_show()
3157 Add g_desktop_app_info_set_desktop_env() to set the desktop
3158 for should_show(). (This will be set by gtk+ later)
3160 2008-01-04 Alexander Larsson <alexl@redhat.com>
3163 * gmemoryinputstream.[ch]:
3164 Improve API so that you can use multiple chunks
3165 of memory and custom destroy functions. (#506374)
3167 2008-01-03 Alexander Larsson <alexl@redhat.com>
3170 Handle NULL attribute matchers safely, as we return this
3171 for empty attribute matcher strings.
3173 2008-01-03 Alexander Larsson <alexl@redhat.com>
3175 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3176 Add /usr/local to list of internal mountpoints
3178 2008-01-03 Alexander Larsson <alexl@redhat.com>
3181 Check for HAVE_LCHOWN (#505887)
3183 2008-01-03 Alexander Larsson <alexl@redhat.com>
3187 Add define for selinux context attribute.
3188 Fix missing : -> :: namespace separator change
3189 Fix missing _ -> - name change for xattr-sys.
3192 2008-01-03 Alexander Larsson <alexl@redhat.com>
3195 Link to libglib and libgobject directly (#504879)
3196 Patch from Sebastien Bacher
3198 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3200 * gfile.c: Expanded the g_file_new_for_commandline_arg
3201 description a bit, based on the code and the docs of the
3202 other g_file_new_for_* functions.
3204 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3206 * gfilemonitor.h: Fixed typo in docs.
3208 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3210 Updates to GIO documentation. (#506395, Mikael Hermansson)
3212 * gcontenttype.c: Describe memory management for return value of
3213 g_content_types_get_registered(). Missing piece from #505815.
3214 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3215 GVolume, GDrive, GMounts, which hopefully gives the user less
3216 confusions when using this API. Following explainations from
3217 Alexander Larsson on gtk-devel-list.
3219 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3221 * gfileinfo.c: Expand the long description.
3223 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3226 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3227 fix builds with --disable-visibility. (#500273, Christian Persch)
3229 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3231 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3232 in the list of returned app infos.
3234 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3236 * gappinfo.c: Fix a cross-reference
3238 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3240 * gfileinputstream.c:
3241 * gfileoutputstream.c:
3245 * gdesktopappinfo.c:
3247 * gfileinfo.c: Documentation updates.
3249 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3251 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3254 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3256 * gcontenttype.c (g_content_types_get_registered): Don't return
3257 freed memory (#505815, Mikael Hermansson)
3259 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3261 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3262 used to detect statbuf->st_blocks. (#505042)
3264 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3266 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3267 environment handling. (#504829, Cosimo Cecchi)
3269 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3271 * gappinfo.c: Doc improvements
3273 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3276 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3278 * === Released 2.15.0 ===
3280 2007-12-20 Hans Breuer <hans@breuer.org>
3282 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3283 with symbols gwin32appinfo.obj, added gmount.obj
3284 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3286 2007-12-20 Alexander Larsson <alexl@redhat.com>
3292 * gfilenamecompleter.c:
3295 * gpollfilemonitor.c:
3296 File attribute renames:
3298 fs:: -> filesystem::
3299 id::fs -> id::filesystem
3301 2007-12-20 Alexander Larsson <alexl@redhat.com>
3310 Add GMountUnmountFlags to all unmount and
3312 Add g_mount_remount() call.
3314 2007-12-20 Alexander Larsson <alexl@redhat.com>
3316 * gvfs.c (get_default_vfs):
3317 Fix unused variable warning
3319 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3321 * pltcheck.sh: Update
3323 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3325 * gunionvolumemonitor.c:
3326 * gunixmount.c: Remove C99 comments
3328 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3330 * gio.symbols: Add some missing symbols
3332 2007-12-19 Alexander Larsson <alexl@redhat.com>
3335 Make g_io_modules_load_all_in_directory not unuse
3336 loaded modules so that users of it can do stuff
3338 Init internal "module" types.
3339 Initialize static prio and name for types so that
3340 we don't have to load modules to get it.
3342 * gnativevolumemonitor.h:
3344 Move is_supported to parent class so that
3345 non-native monitors can avoid being initialized
3346 too. (For instance GDaemonVolumeMonitor if we're
3347 not using GDaemonVfs.)
3349 * glocaldirectorymonitor.[ch]:
3350 * glocalfilemonitor.[ch]:
3351 * gunionvolumemonitor.c:
3352 * gunixvolumemonitor.c:
3354 Find plugins using the static prio+name to
3355 avoid unnecessarily loading the modules.
3357 2007-12-19 Alexander Larsson <alexl@redhat.com>
3362 2007-12-19 Alexander Larsson <alexl@redhat.com>
3364 * gunionvolumemonitor.c:
3365 Store the native type as GType, not class so that
3366 we can unload it. But still avoid unnecessarily
3369 2007-12-19 David Zeuthen <davidz@redhat.com>
3371 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3372 add signals 'disconnected' and 'eject-button' on GDrive. Add
3373 signal 'removed' on GVolume and 'unmounted' on GMount.
3375 * gdrive.c: (g_drive_base_init):
3377 * gfile.c: (g_file_mount_mountable),
3378 (g_file_mount_enclosing_volume):
3381 * gmount.c: (g_mount_base_init):
3383 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3384 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3385 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3389 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3391 * *.c: Fix up includes in the section docs.
3393 2007-12-17 Alexander Larsson <alexl@redhat.com>
3395 * gnativevolumemonitor.h:
3396 * gunionvolumemonitor.c:
3397 * gunixvolumemonitor.c:
3398 Add is_supported() to GNativeVolumeMonitorClass so
3399 that we can avoid having to create an object to see
3400 if the backend is supported at runtime.
3401 Also add name member and an env var to pick a specific
3402 volume monitor backend.
3406 Add cancellable to _g_mount_get_for_mount_path()
3408 * glocaldirectorymonitor.c:
3409 * glocalfilemonitor.c:
3410 Avoid loading and unloading modules while sorting.
3412 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3415 * gunixmounts.[hc]: Namespace waste reduction, move some
3416 g_get_unix_mount functions to the g_unix_mount namespace.
3419 * gunixvolumemonitor.c:
3421 * glocaldirectorymonitor.c: Update all callers.
3423 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3425 2007-12-17 Alexander Larsson <alexl@redhat.com>
3428 Add doc comments about what GFile operations are
3429 guaranteed to not block.
3431 2007-12-17 Alexander Larsson <alexl@redhat.com>
3434 Add missing #ifdef fixing OSX build.
3435 (#503334, patch from Richard Hult)
3437 2007-12-14 David Zeuthen <davidz@redhat.com>
3441 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3442 (g_mount_eject), (g_mount_eject_finish):
3444 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3445 (get_volume_for_uuid), (get_mount_for_uuid),
3446 (g_union_volume_monitor_class_init),
3447 (get_default_native_type_with_exclude), (get_default_native_type),
3448 (get_native_type), (update_native_type),
3449 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3450 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3451 (g_unix_mount_can_eject), (eject_unmount_cb),
3452 (eject_unmount_read_error), (eject_unmount_do),
3453 (g_unix_mount_unmount), (g_unix_mount_eject),
3454 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3455 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3456 (g_unix_mount_point_guess_can_eject):
3458 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3459 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3460 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3461 (g_unix_volume_mount), (g_unix_volume_eject),
3462 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3463 * gunixvolumemonitor.c: (get_volume_for_uuid),
3464 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3466 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3467 (g_volume_eject), (g_volume_eject_finish):
3469 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3470 (g_volume_monitor_get_mount_for_uuid):
3473 Provide eject() on both GMount and GVolume and utility functions
3474 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3475 ejected. Introduce the concept of UUID's and wire it into GVolume
3476 and GMount and provide API on GVolumeMonitor to find such
3477 instances. Also handle the case where an external
3478 GNativeVolumeMonitor fails to initialize. Lock around the
3479 _g_get_mount_for_mount_path() function such that volume monitor
3480 implementations won't have to do locking themselves.
3482 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3484 * gdesktopappinfo.c:
3490 * gvolume.h: Documentation updates
3492 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3495 * gfile.h: Doc updates
3497 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3500 * gdesktopappinfo.c: Use hash table iterators.
3502 2007-12-14 Alexander Larsson <alexl@redhat.com>
3505 * gfileattribute.[ch]:
3506 * gfileattribute-priv.h:
3507 Move GFileAttributeValue to a private header, as
3511 Make set_attribute take a type + a pointer instead
3512 of a GFileAttributeValue.
3515 Fix up for above changes.
3516 Add g_file_info_get_attribute_data to get
3517 all info in one call, g_file_info_get_attribute_status
3518 to get the status and g_file_info_get_attribute_as_string.
3522 * glocalfileinfo.[ch]:
3526 Make _guess_type static.
3528 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3531 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3532 made mkenums and friends use temporary files to avoid leaving
3533 empty generated files on failure (#503470).
3535 2007-12-14 Alexander Larsson <alexl@redhat.com>
3537 * gmountoperation.h:
3540 2007-12-14 Alexander Larsson <alexl@redhat.com>
3544 * gfileattribute.[ch]:
3547 * glocalfileoutputstream.c:
3548 * gmountoperation.[ch]:
3549 * goutputstream.[ch]:
3550 Clean up all flags enums to not have _FLAGS in them
3551 Make the names of some of the enums better.
3556 2007-12-14 Michael Natterer <mitch@imendio.com>
3558 * gio.symbols: fix g_io_scheduler symbol names.
3560 2007-12-14 Alexander Larsson <alexl@redhat.com>
3566 * gbufferedinputstream.h:
3567 * gbufferedoutputstream.h:
3570 * gdatainputstream.h:
3571 * gdataoutputstream.h:
3572 * gdesktopappinfo.h:
3573 * gdirectorymonitor.h:
3577 * gfileenumerator.h:
3580 * gfileinputstream.h:
3582 * gfilenamecompleter.h:
3583 * gfileoutputstream.h:
3584 * gfilterinputstream.h:
3585 * gfilteroutputstream.h:
3593 * gmemoryinputstream.h:
3594 * gmemoryoutputstream.h:
3596 * gmountoperation.h:
3599 * gsimpleasyncresult.h:
3601 * gunixinputstream.h:
3603 * gunixoutputstream.h:
3607 * inotify/Makefile.am:
3608 Only allow including <gio/gio.h> from apps
3610 2007-12-14 Alexander Larsson <alexl@redhat.com>
3612 * gioscheduler.[ch]:
3613 * gsimpleasyncresult.c:
3614 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3615 Split out the send_to_mainloop call into two versions instead
3616 of having the block argument.
3618 2007-12-13 Alexander Larsson <alexl@redhat.com>
3620 * gcancellable.[ch]:
3622 * gbufferedinputstream.c:
3623 * gfileenumerator.c:
3624 * gfileinputstream.c:
3625 * gfileoutputstream.c:
3629 g_push/pop_current_cancellable ->
3630 g_cancellable_push/pop_current
3632 2007-12-13 Alexander Larsson <alexl@redhat.com>
3636 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3638 2007-12-13 Alexander Larsson <alexl@redhat.com>
3640 * gmountoperation.h:
3641 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3643 2007-12-12 Alexander Larsson <alexl@redhat.com>
3646 Fix race condition when freeing proxy in
3647 g_io_job_send_to_mainloop().
3649 2007-12-12 Alexander Larsson <alexl@redhat.com>
3655 Make attribute namespace separator "::" instead of ":".
3656 Use - instead of _ as separator in attribute names.
3658 2007-12-12 Alexander Larsson <alexl@redhat.com>
3660 * gbufferedinputstream.h:
3661 * gbufferedoutputstream.h:
3662 * gdatainputstream.h:
3663 * gdataoutputstream.h:
3664 * gdirectorymonitor.h:
3665 * gfileenumerator.h:
3666 * gfileinputstream.h:
3668 * gfileoutputstream.h:
3669 * gfilterinputstream.h:
3670 * gfilteroutputstream.h:
3672 * glocalfileinputstream.h:
3673 * glocalfileoutputstream.h:
3674 * gmemoryinputstream.h:
3675 * gmemoryoutputstream.h:
3676 * gnativevolumemonitor.h:
3678 * gunixinputstream.h:
3679 * gunixoutputstream.h:
3682 s/parent/parent_instance/ in GObjects
3684 2007-12-12 Alexander Larsson <alexl@redhat.com>
3689 No need for padding for interfaces
3691 2007-12-12 Alexander Larsson <alexl@redhat.com>
3695 * gbufferedinputstream.c:
3696 * gbufferedoutputstream.c:
3699 * gdatainputstream.[ch]:
3700 * gdesktopappinfo.c:
3701 * gdirectorymonitor.c:
3703 * gfileattribute.[ch]:
3706 * gfileinputstream.h:
3707 * gfilemonitor.[ch]:
3708 * gfileoutputstream.[ch]:
3709 * gfilterinputstream.h:
3710 * gfilteroutputstream.h:
3713 * gloadableicon.[ch]:
3714 * gmemoryinputstream.c:
3715 * gmountoperation.c:
3717 Fix up a bunch of details in the docs.
3722 2007-12-11 David Zeuthen <davidz@redhat.com>
3724 Rework how volumes, drives and volume monitoring is
3725 done. Previosly the model was
3727 GDrive <1-1> GVolume
3729 where a GDrive instance represented a mount point and a GVolume
3730 instance represented a mounted file system. This patch changes it
3733 GDrive <1-N> GVolume <1-1> GMount
3735 where GMount now serves the purpose of the old GVolume and the new
3736 GVolume serves the purpose of the old GDrive. In addition the new
3737 GDrive interface is used to represent a collection of GVolume
3738 instances (typically partitions) and also contains utility to query
3739 the state of the physical drive the GDrive object represents (such
3740 as checking for media, polling the drive, ejecting the media etc.).
3742 Also implement mounting and unmounting in the Unix volume monitor
3743 backend. A subquent patch will introduce GDrive support for ejection
3747 * gdrive.c: (g_drive_is_media_check_automatic),
3748 (g_drive_is_media_removable), (g_drive_has_media),
3749 (g_drive_can_poll_for_media), (g_drive_eject),
3750 (g_drive_eject_finish), (g_drive_poll_for_media),
3751 (g_drive_poll_for_media_finish):
3753 * gfile.c: (g_file_find_enclosing_mount):
3756 * glocaldirectorymonitor.c:
3757 (g_local_directory_monitor_constructor), (mounts_changed):
3758 * glocalfile.c: (get_mount_info),
3759 (g_local_file_find_enclosing_mount),
3760 (g_local_file_file_iface_init):
3761 * gnativevolumemonitor.h:
3762 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3763 (get_connected_drives), (g_union_volume_monitor_class_init),
3764 (child_volume_added), (child_volume_removed),
3765 (child_volume_changed), (child_mount_added), (child_mount_removed),
3766 (child_mount_pre_unmount), (child_mount_changed),
3767 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3768 (g_union_volume_monitor_remove_monitor),
3769 (_g_mount_get_for_mount_path):
3770 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3771 (guess_system_internal), (_g_get_unix_mounts),
3772 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3773 (g_unix_mount_free), (g_unix_mount_compare),
3774 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3775 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3776 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3777 (type_to_icon), (g_unix_mount_guess_name),
3778 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3779 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3780 (_resolve_symlink), (_resolve_dev_root):
3782 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3783 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3784 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3785 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3786 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3787 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3788 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3789 (g_unix_volume_volume_iface_init):
3791 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3792 (get_mounts), (get_volumes), (get_connected_drives),
3793 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3794 (mountpoints_changed), (mounts_changed),
3795 (g_unix_volume_monitor_init),
3796 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3797 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3798 * gunixvolumemonitor.h:
3799 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3800 (g_volume_mount), (g_volume_mount_finish):
3802 * gvolumemonitor.c: (g_volume_monitor_class_init),
3803 (g_volume_monitor_get_connected_drives),
3804 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3807 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3809 * gmountoperation.h (GPasswordFlags): Close the gap
3811 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3813 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3815 * gdesktopappinfo.[hc]: Remove _-prefixes
3817 2007-12-10 Tor Lillqvist <tml@novell.com>
3819 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3822 2007-12-10 Alexander Larsson <alexl@redhat.com>
3824 * gfile.c (g_file_set_display_name):
3825 Don't hardcode '/' (#502727)
3827 2007-12-09 Hans Breuer <hans@breuer.org>
3829 * makefile.msc : follow lib naming convention
3830 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3831 for user and group name, tested with ../tests/gio-ls
3833 2007-12-09 A. Walton <awalton@svn.gnome.org>
3835 * gdesktopappinfo.c:
3841 * gfileenumerator.c:
3846 * gmemoryinputstream.c:
3847 * gmemoryoutputstream.c:
3849 * gsimpleasyncresult.c:
3850 More documentation cleanup and filling in missing information, bringing
3851 GIO to 99% symbol coverage.
3853 2007-12-08 Hans Breuer <hans@breuer.org>
3855 [gio compiles and links on win32, not sure how much already works]
3856 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3857 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3858 base on win32 API; prefer g_lstat() over lstat(); instead of
3859 localtime_r() use an all GLib implementation on win32;
3860 get_mount_info() still needs a win32 specifc implementation
3861 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3862 win32_get_file_user_info to get owner/group info without uid/gid
3863 * glocalfileinputstream.c : include <io.h> on win32
3864 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3865 definition, use g_win32_ftruncate() for G_OS_WIN32
3866 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3867 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3868 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3869 * makefile.msc : updated
3871 2007-12-07 Alexander Larsson <alexl@redhat.com>
3873 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3874 Avoid warning spew if error == NULL
3876 2007-12-07 Alexander Larsson <alexl@redhat.com>
3879 Update docs wrt etags
3881 2007-12-06 Alexander Larsson <alexl@redhat.com>
3884 Include sys/types.h for dev_t (#501919)
3886 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3890 Make abicheck and pltcheck pass.
3892 2007-12-05 Alexander Larsson <alexl@redhat.com>
3895 * giomodule-priv.h: Added.
3896 * glocaldirectorymonitor.c:
3897 * glocalfilemonitor.c:
3898 * gunionvolumemonitor.c:
3900 Actually add the declaration of _g_io_modules_ensure_loaded
3902 2007-12-05 Alexander Larsson <alexl@redhat.com>
3904 * gdatainputstream.c:
3909 * glocaldirectorymonitor.c:
3910 * glocalfilemonitor.c:
3911 * gunionvolumemonitor.c:
3913 Make g_io_modules_ensure_loaded a private function and
3914 don't pass in the dirname. This means we can do magic
3915 directory finding in the win32 version.
3916 Export the actual load-modules-in-directory code so that
3917 gvfs can reuse that.
3919 2007-12-05 Alexander Larsson <alexl@redhat.com>
3921 * gbufferedinputstream.c:
3922 * gbufferedoutputstream.c:
3925 * gfileenumerator.[ch]:
3926 * gfileinputstream.c:
3927 * gfileoutputstream.[ch]:
3928 * gfilterinputstream.c:
3929 * gfilteroutputstream.c:
3930 * ginputstream.[ch]:
3932 * glocalfileenumerator.c:
3933 * glocalfileinputstream.c:
3934 * glocalfileoutputstream.c:
3935 * gmemoryinputstream.c:
3936 * gmemoryoutputstream.c:
3937 * goutputstream.[ch]:
3940 * gunixinputstream.c:
3941 * gunixoutputstream.c:
3942 Rename all struct members named:
3943 read, write, close, truncate, or mount
3944 to foo_fn, as these are reserved names
3945 and could be defined as macros in libc.
3948 2007-12-04 Alexander Larsson <alexl@redhat.com>
3951 (g_output_stream_close):
3952 Only call flush if non-null.
3954 2007-11-30 Dan Winship <danw@gnome.org>
3956 * ginputstream.c (g_input_stream_set_pending): Make this take a
3957 GError and return a gboolean, and do the "outstanding operation"
3958 check (and the "stream is already closed" check) itself.
3959 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3961 * goutputstream.c (g_output_stream_set_pending)
3962 (g_output_stream_clear_pending): Likewise
3964 * gbufferedinputstream.c:
3965 * gfileinputstream.c:
3966 * gfileoutputstream.c: Update for that
3968 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3969 Like g_simple_async_report_error_in_idle, but takes a GError
3970 rather than building one.
3972 2007-11-30 Dan Winship <danw@gnome.org>
3974 * goutputstream.c: Don't cheat and unset the "pending" flag around
3975 inner calls. Instead, call the class method directly rather than
3976 the wrapper function that checks "pending"
3978 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3980 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3982 2007-12-03 Hans Breuer <hans@breuer.org>
3984 [start of port to win32/msvc]
3985 * gcancellable.c : HAVE_UNIST_H and _pipe()
3986 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3987 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3988 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3990 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3991 * glocalvfs.c : use HAVE_PWD_H
3992 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3993 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3994 * Makefile.am : added to EXTRA_DIST
3996 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3998 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4001 2007-12-03 Alexander Larsson <alexl@redhat.com>
4004 Handle OSX style xattrs API (#500506)
4006 2007-12-03 Alexander Larsson <alexl@redhat.com>
4010 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4012 2007-12-02 A. Walton <awalton@svn.gnome.org>
4016 Documentation accuracy fixes.
4018 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4020 * gioenumtypes.c.template: Fix typo.
4022 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4024 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4026 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4028 * gdirectorymonitor.c:
4029 * gfilemonitor.c: Add properties
4031 * gbufferedoutputstream.c: Don't mark buffer-size property
4034 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4036 * gbufferedoutputstream.c: Add auto-grow property.
4038 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4040 * *.c: Unify the capitalization of section headings.
4042 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4044 * gmountoperation.c: Add properties
4046 * gdatainputstream.c: Turn byte-order and newline-type into
4049 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4051 * gioenumtypes.[hc].template: Templates for enum registration
4053 * Makefile.am: Generate gioenumtypes.[hc]
4055 * gio.h: Include gioenumtypes.h
4057 * gfile.h: Add some explicit nicks.
4059 * gio.symbols: Add new symbols
4061 * pltcheck.sh: Adjust
4063 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4065 * *.c: Explain etags and link to the explanation
4067 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4069 * *.c: Explain I/O priority.
4071 * *.c: More coding style fixes.
4073 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4075 * gasyncresult.c: Add another paragraph to the intro,
4076 adjust coding style of example.
4078 2007-11-29 A. Walton <awalton@svn.gnome.org>
4081 Fixes unknown meaning in GAppLaunchContext docs.
4083 Clarify asynchronous ops.
4085 Fix entity tag docs.
4088 Provides missing gtk-doc section, fixes API docs slighly.
4089 * gsimpleasyncresult.c:
4090 Fill in missing info in docs.
4091 * gunixinputstream.c:
4092 * gunixoutputstream.c:
4093 Be more expressive in short description.
4095 Remove gtk-doc stubs for non-public API.
4097 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4099 * *.c: Coding style fixups
4101 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4103 * inotify/inotify-helper.c: Don't export the lock from libgio.
4105 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4108 * abicheck.sh: Fix copy-and-paste leftovers
4110 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4112 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4114 2007-11-28 Alexander Larsson <alexl@redhat.com>
4118 Removed unnecessary file
4120 * gdesktopappinfo.[ch]:
4123 * glocaldirectorymonitor.[ch]:
4125 * glocalfileenumerator.[ch]:
4126 * glocalfileinputstream.[ch]:
4127 * glocalfilemonitor.[ch]:
4128 * glocalfileoutputstream.[ch]:
4130 * gnativevolumemonitor.c:
4131 * gpollfilemonitor.[ch]:
4132 * gunionvolumemonitor.[ch]:
4135 * gunixvolumemonitor.[ch]:
4138 * inotify/ginotifydirectorymonitor.[ch]:
4139 * inotify/ginotifyfilemonitor.[ch]:
4140 * inotify/inotify-helper.c:
4141 Append _ to all internal functions
4145 Export symbols needed for modules
4147 2007-11-28 Alexander Larsson <alexl@redhat.com>
4150 * abicheck.sh: Added.
4151 * makegioalias.pl: Added.
4152 * pltcheck.sh: Added.
4153 * gio.symbols: Added.
4156 Initial work on adding symbol handling.
4159 Correct ifdef guard name
4162 * inotify/Makefile.am:
4163 * xdgmime/Makefile.am:
4164 Include toplevel Makefile.decl
4166 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4168 * gcontenttype.c: Move doc comments to the unix section.
4170 * *.[hc]: More trivial doc corrections.
4172 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4174 * gpollfilemonitor.c:
4178 * gdesktopappinfo.c:
4183 * gdatainputstream.c:
4184 * gdatainputstream.h:
4185 * gdataoutputstream.c:
4186 * gdataoutputstream.h:
4187 * gfileinfo.h: Doc cleanups
4189 2007-11-28 Andre Klapper <a9016009@gmx.de>
4191 * gdesktopappinfo.c: Fix a typo.
4193 2007-11-27 Andre Klapper <a9016009@gmx.de>
4195 * glocalfileoutputstream.c: Fix a typo.
4197 2007-11-27 Alexander Larsson <alexl@redhat.com>
4200 Don't include removed headers
4202 2007-11-27 Alexander Larsson <alexl@redhat.com>
4205 * gsocketinputstream.[ch]: Removed.
4206 * gsocketoutputstream.[ch]: Removed.
4207 * gunixinputstream.[ch]: Added.
4208 * gunixoutputstream.[ch]: Added.
4209 Renamed GSocket*Stream to GUnix*Stream and made
4210 it unix-only, since its not really only for sockets
4211 and it only works on unix (but is highly useful there).
4213 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4219 * gbufferedinputstream.c:
4220 * gbufferedinputstream.h:
4221 * gbufferedoutputstream.c:
4222 * gbufferedoutputstream.h:
4226 * gdatainputstream.c:
4227 * gdatainputstream.h:
4228 * gdataoutputstream.c:
4229 * gdataoutputstream.h:
4230 * gdirectorymonitor.c:
4231 * gdirectorymonitor.h:
4238 * gfileenumerator.c:
4239 * gfileenumerator.h:
4244 * gfileinputstream.c:
4245 * gfileinputstream.h:
4248 * gfilenamecompleter.c:
4249 * gfilenamecompleter.h:
4250 * gfileoutputstream.c:
4251 * gfileoutputstream.h:
4252 * gfilterinputstream.c:
4253 * gfilterinputstream.h:
4254 * gfilteroutputstream.c:
4255 * gfilteroutputstream.h:
4268 * glocalfileoutputstream.c:
4269 * gmemoryinputstream.c:
4270 * gmemoryinputstream.h:
4271 * gmemoryoutputstream.c:
4272 * gmemoryoutputstream.h:
4273 * gmountoperation.c:
4274 * gmountoperation.h:
4277 * gpollfilemonitor.c:
4280 * gsimpleasyncresult.c:
4281 * gsimpleasyncresult.h:
4282 * gsocketinputstream.c:
4283 * gsocketinputstream.h:
4284 * gsocketoutputstream.c:
4285 * gsocketoutputstream.h:
4292 * gunixvolumemonitor.c:
4301 Bumps documentation to 93% symbol coverage, touching most
4302 of the public files. Fixes broken function documentation prototypes.
4303 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4304 gtk-doc headers in private files.
4306 2007-11-27 Jürg Billeter <j@bitron.ch>
4308 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4309 (g_buffered_input_stream_read_byte):
4310 * gbufferedinputstream.h:
4311 New functions for efficient access to buffer and simple single byte
4314 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4315 (g_data_input_stream_read_until):
4316 * gdatainputstream.h:
4317 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4318 read_until with multiple stop chars.
4320 2007-11-27 Alexander Larsson <alexl@redhat.com>
4324 * inotify/Makefile.am:
4325 Use the user-specified giomoduledir
4327 2007-11-27 Alexander Larsson <alexl@redhat.com>
4331 Add catch-all gio.h header
4332 Don't install gdummyfile.h
4334 2007-11-26 Alexander Larsson <alexl@redhat.com>
4336 * Makefile.am (gioinclude_HEADERS):
4337 Remove trailing whitespace
4339 2007-11-26 Alexander Larsson <alexl@redhat.com>
4341 Merge gio-standalone into glib
4343 2007-11-25 Christian Kellner <gicmo@gnome.org>
4345 * gio/goutputstream.c:
4346 Fix small mistake in the docs.
4348 2007-11-21 Christian Persch <chpe@gnome.org>
4350 * gio/glocalfile.c: (g_local_file_trash):
4351 Convert filenames to UTF-8 for GError.
4352 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4353 as per xdg base dir spec.
4355 2007-11-21 Christian Persch <chpe@gnome.org>
4357 * gio/gdesktopappinfo.c:
4358 Use that g_key_file_to_data cannot fail.
4360 Use stock defines for the key file group and key names.
4363 2007-11-21 Alexander Larsson <alexl@redhat.com>
4366 (copy_stream_with_progress):
4367 Make sure we do a final progress callback with
4368 the full total size.
4370 2007-11-21 Alexander Larsson <alexl@redhat.com>
4373 Export g_file_copy_attributes
4374 Remove padding as its not needed for interfaces
4376 2007-11-20 Alexander Larsson <alexl@redhat.com>
4381 Add G_IO_ERROR_WOULD_MERGE for
4382 copy/move dir on dir with overwrite.
4384 2007-11-20 Alexander Larsson <alexl@redhat.com>
4387 * gio/glocalfileinfo.c:
4388 Add COPY_NAME (this is an optional
4389 non-modified utf8 version of the name) that
4392 2007-11-20 Alexander Larsson <alexl@redhat.com>
4394 * gio/glocalfileenumerator.c:
4395 Report errors as GIOError, not GFileError
4397 2007-11-16 Alexander Larsson <alexl@redhat.com>
4399 * gio/glocalfileoutputstream.c:
4400 * gio/gwin32appinfo.c:
4401 Fix typos in strings.
4402 Patch from Luca Ferretti <elle.uca@libero.it>
4404 2007-11-15 Alexander Larsson <alexl@redhat.com>
4407 Post release version bump
4409 === gio-standalone 0.1.2 ===
4411 2007-11-15 Alexander Larsson <alexl@redhat.com>
4413 * docs/reference/gio/Makefile.am:
4414 Fix up distcheck by removing weird
4420 2007-11-14 Alexander Larsson <alexl@redhat.com>
4422 * gio/gdesktopappinfo.c:
4423 * gio/glocaldirectorymonitor.c:
4425 * gio/glocalfileinfo.c:
4426 * gio/inotify/inotify-sub.c:
4427 * programs/gio-cat.c:
4428 * programs/gio-copy.c:
4429 * programs/gio-info.c:
4430 * programs/gio-ls.c:
4431 * programs/gio-monitor-dir.c:
4432 * programs/gio-monitor-file.c:
4433 * programs/gio-mount.c:
4434 * programs/gio-move.c:
4435 * programs/gio-rm.c:
4436 * programs/gio-save.c:
4437 * programs/gio-trash.c:
4438 Leak fixes from Kjartan Maraas
4440 2007-11-14 Alexander Larsson <alexl@redhat.com>
4442 * gio/fam/fam-helper.c:
4444 * gio/glocalfileinfo.c:
4448 * gio/inotify/inotify-diag.c:
4449 * gio/inotify/inotify-kernel.c:
4450 Various code cleanups from Kjartan Maraas
4452 2007-11-14 Alexander Larsson <alexl@redhat.com>
4454 * gio/gioscheduler.c:
4456 Set up threadpool so that we cache 2 unused
4457 idle threads for at 15 secs. This means we
4458 will reuse thread-local data (like dbus connections)
4461 2007-11-14 Alexander Larsson <alexl@redhat.com>
4463 * gio/fam/fam-helper.c:
4464 * gio/fam/gfamdirectorymonitor.c:
4465 * gio/fam/gfamfilemonitor.c:
4467 * gio/gcontenttype.c:
4468 * gio/gdatainputstream.c:
4469 * gio/gdataoutputstream.c:
4473 * gio/gfileattribute.h:
4474 * gio/gfileenumerator.c:
4476 * gio/ginputstream.c:
4479 * gio/glocalfileinfo.c:
4480 * gio/goutputstream.c:
4481 * gio/gpollfilemonitor.c:
4482 * gio/gsimpleasyncresult.c:
4483 * gio/gunixmounts.c:
4484 * gio/gunixmounts.h:
4485 * gio/inotify/ginotifydirectorymonitor.c:
4486 * gio/inotify/ginotifyfilemonitor.c:
4487 * gio/inotify/inotify-diag.c:
4488 * gio/inotify/inotify-kernel.c:
4489 * gio/inotify/inotify-path.c:
4491 * gio/test-streams.c:
4492 * programs/gio-info.c:
4493 * programs/gio-monitor-dir.c:
4494 * programs/gio-monitor-file.c:
4495 Various code cleanups from Kjartan Maraas
4497 2007-11-13 Alexander Larsson <alexl@redhat.com>
4500 Handle the uri-scheme calls for dummy files
4502 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4504 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4505 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4506 to avoid clash with the C++ keyword.
4508 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4510 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4511 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4513 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4515 * gio/glocaldirectorymonitor.c:
4516 * gio/glocalfilemonitor.c:
4517 * gio/gunionvolumemonitor.c:
4518 Don't use g_once_init_*() for initializations that could fail and
4519 could leave the initialization variable set to 0 but use GOnce.
4520 This prevents a deadlock on the second call when trying to create
4521 a monitor and no monitor type is available. Thanks to Sven Herzberg
4524 2007-11-11 Sven Herzberg <sven@imendio.com>
4526 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4527 #ifdef (make it work on MacOS X again)
4529 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4531 Fixes Changelog for last two commits (sorry guys).
4533 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4535 * gio/gbufferedinputstream.c:
4536 * gio/gdatainputstream.c:
4538 * gio/gfileoutputstream.c:
4539 * gio/gfilterinputstream.c:
4540 * gio/glocalfileinputstream.c:
4543 More consistency fixes in g*stream.c files.
4544 Significant clean of gfile's documentation, filling in of
4545 asynchronous operations documentation.
4547 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4549 * gio/gasyncresult.c:
4550 * gio/gbufferedinputstream.c:
4551 * gio/gbufferedoutputstream.c:
4552 * gio/gcancellable.c:
4553 * gio/gcontenttype.c:
4554 * gio/gdatainputstream.c:
4555 * gio/gdataoutputstream.c:
4556 * gio/gdesktopappinfo.c:
4559 * gio/gfileattribute.c:
4560 * gio/gio/gfileenumerator.c:
4562 * gio/gfileinputstream.c:
4563 * gio/gfilemonitor.c:
4564 * gio/gfileoutputstream.c:
4565 * gio/ginputstream.c:
4567 * gio/gioscheduler.c:
4568 * gio/gloadableicon.c:
4569 * gio/glocalfileoutputstream.c:
4570 * gio/gmemoryoutputstream.c:
4571 * gio/gmountoperation.c:
4572 * gio/goutputstream.c:
4574 * gio/gsimpleasyncresult.c:
4575 * gio/gunionvolumemonitor.c:
4576 * gio/gunixmounts.c:
4577 * gio/gunixvolume.c:
4581 * gio/gvolumemonitor.c:
4582 Updated documentation stubs, working towards consistency and
4585 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4587 * gio/gmemoryoutputstream.c:
4588 * gio/gmemoryoutputstream.h:
4589 Change g_memory_output_stream_set_free_on_close() to
4590 g_memory_output_stream_set_free_data() as this makes more sense and
4591 is more consistent with GMemoryInputStream.
4593 2007-11-07 Alexander Larsson <alexl@redhat.com>
4600 Change how we find the default vfs so that
4601 we can handle a gvfs failing to init
4603 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4605 * gio/gbufferedoutputstream.c:
4606 * gio/gdatainputstream.c:
4607 * gio/gdataoutputstream.c:
4608 * gio/gfileinputstream.c:
4609 * gio/gfileoutputstream.c:
4610 * gio/gfilterinputstream.c:
4611 * gio/gfilteroutputstream.c:
4612 * gio/ginputstream.c:
4613 * gio/gmemoryinputstream.c:
4614 * gio/gmemoryoutputstream.c:
4615 * gio/goutputstream.c:
4616 * gio/gsimpleasyncresult.c:
4617 * gio/gsocketinputstream.c:
4618 * gio/gsocketoutputstream.c:
4619 Add guards to the remaining public functions, add a TODO for
4620 an unimplemented function and remove some useless guards.
4622 2007-11-07 Alexander Larsson <alexl@redhat.com>
4625 Autoconf checks for the various types of
4626 getpwuid_r and getgrgid_r
4628 * gio/glocalfileinfo.c:
4629 Use the autoconf checks from above
4631 2007-11-07 Alexander Larsson <alexl@redhat.com>
4634 (g_local_file_query_filesystem_info):
4635 Some fixes for the statvfs case
4637 2007-11-07 Alexander Larsson <alexl@redhat.com>
4640 (g_local_file_query_filesystem_info):
4641 Pick the "best" of statfs / statvfs for the system
4642 if both are availible.
4644 2007-11-07 Alexander Larsson <alexl@redhat.com>
4646 Solaris fixes from Halton.Huo@Sun.COM:
4653 * gio/glocalfileinfo.c:
4654 Fix for solaris definition of getpwuid_r
4656 * gio/test-streams.c:
4657 Use G_GNUC_PRETTY_FUNCTION
4659 2007-11-07 Alexander Larsson <alexl@redhat.com>
4661 * gio/gdesktopappinfo.c:
4662 (update_default_list):
4663 Remove double semicolon.
4664 Patch from Jens Granseuer
4666 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4668 * docs/reference/gio/gio-sections.txt:
4669 * gio/gbufferedinputstream.c:
4670 * gio/gbufferedinputstream.h:
4671 * gio/gdatainputstream.c:
4672 * gio/gfileenumerator.c:
4673 * gio/gioscheduler.c:
4674 * gio/gunionvolumemonitor.c:
4676 * programs/gio-save.c:
4677 Fix typo: availible -> available. Unfortuntely this breaks API
4678 and ABI as g_buffered_input_stream_get_available() was renamed.
4680 * gio/gunixmounts.c:
4681 * gio/gbufferedinputstream.c:
4682 Add guards for public functions.
4684 2007-11-06 Ross Burton <ross@openedhand.com>
4686 * docs/reference/gio/Makefile.am:
4687 Fix invalid += usage which automake 1.10 doesn't like.
4689 2007-11-06 Alexander Larsson <alexl@redhat.com>
4692 (g_app_launch_context_class_init):
4695 Patch from Ross Burton
4697 2007-11-06 Alexander Larsson <alexl@redhat.com>
4700 Post release version bump
4702 === gio-standalone 0.1.1 ===
4704 2007-11-06 Alexander Larsson <alexl@redhat.com>
4707 Bump version to 0.1.1
4709 * gio/gsimpleasyncresult.c:
4710 (g_simple_async_result_set_from_error):
4711 Remove bogus g_return_if_fail
4713 2007-11-06 Alexander Larsson <alexl@redhat.com>
4716 The name is gio-standalone
4719 Add top src/builddir to includedir
4721 2007-11-06 Alexander Larsson <alexl@redhat.com>
4723 * docs/reference/gio/gio-sections.txt:
4725 * gio/gbufferedinputstream.c:
4726 * gio/gbufferedoutputstream.c:
4727 * gio/gcancellable.c:
4728 * gio/gdatainputstream.h:
4729 * gio/gdataoutputstream.c:
4730 * gio/gdataoutputstream.h:
4731 * gio/gdirectorymonitor.c:
4733 * gio/gfileattribute.c:
4734 * gio/gfileattribute.h:
4735 * gio/gfileenumerator.c:
4736 * gio/gfileenumerator.h:
4739 * gio/gfileinputstream.h:
4740 * gio/gfilemonitor.c:
4741 * gio/gfileoutputstream.h:
4742 * gio/glocalfilemonitor.h:
4743 * gio/glocalfileoutputstream.h:
4744 * gio/gmemoryinputstream.c:
4745 * gio/gmemoryoutputstream.c:
4746 * gio/gmountoperation.c:
4747 * gio/goutputstream.c:
4748 * gio/goutputstream.h:
4750 * gio/gsimpleasyncresult.c:
4751 * gio/gunixmounts.c:
4752 * gio/gunixmounts.h:
4754 * gio/inotify/inotify-helper.c:
4755 Fix gtk-doc warnings
4757 Patch from Ross Burton
4759 2007-11-06 Alexander Larsson <alexl@redhat.com>
4761 * gio/gfilenamecompleter.c:
4762 (g_filename_completer_get_completions):
4765 * gio/gunixvolume.c:
4766 Remove unused function
4768 Patches from Ross Burton
4770 2007-11-06 Alexander Larsson <alexl@redhat.com>
4775 Padding not needed for interfaces
4777 2007-11-06 Alexander Larsson <alexl@redhat.com>
4779 * gio/gfilemonitor.c:
4783 Make giotypes.h an internal file
4786 * gio/gbufferedinputstream.h:
4787 * gio/gbufferedoutputstream.h:
4788 * gio/gcancellable.h:
4789 * gio/gdatainputstream.h:
4790 * gio/gdataoutputstream.h:
4791 * gio/gdirectorymonitor.c:
4792 * gio/gdirectorymonitor.h:
4797 * gio/gfileattribute.h:
4798 * gio/gfileenumerator.h:
4803 * gio/gfilemonitor.c:
4804 * gio/gfilemonitor.h:
4805 * gio/gfilenamecompleter.c:
4806 * gio/gfilenamecompleter.h:
4807 * gio/gfilterinputstream.h:
4808 * gio/gfilteroutputstream.h:
4809 * gio/ginputstream.h:
4810 * gio/gmemoryinputstream.h:
4811 * gio/gmemoryoutputstream.h:
4812 * gio/gmountoperation.c:
4813 * gio/gmountoperation.h:
4814 * gio/gnativevolumemonitor.c:
4815 * gio/goutputstream.h:
4818 * gio/gsimpleasyncresult.c:
4819 * gio/gsimpleasyncresult.h:
4820 * gio/gsocketinputstream.h:
4821 * gio/gsocketoutputstream.h:
4822 * gio/gthemedicon.c:
4823 * gio/gthemedicon.h:
4827 * gio/gvolumemonitor.c:
4828 * gio/gvolumemonitor.h:
4829 Add padding in classes where it seems useful
4830 Don't include giotypes.h from public headers
4831 Move in Class definitions into c file where possible
4836 2007-11-06 Alexander Larsson <alexl@redhat.com>
4838 * docs/reference/gio/gio-docs.xml:
4839 Better structure for API docs
4841 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4844 * gio/gloadableicon.c:
4845 * gio/gsimpleasyncresult.c:
4846 * gio/gthemedicon.c:
4847 Add some more guards to public functions. Only files missing are now
4850 2007-11-06 Alexander Larsson <alexl@redhat.com>
4852 * docs/reference/gio/gio-docs.xml:
4853 Remove old files, add missing ones
4855 2007-11-06 Alexander Larsson <alexl@redhat.com>
4857 * docs/reference/gio/gio-sections.txt:
4860 Hide implementation classes
4862 * gio/gdriveprivate.h:
4863 * gio/gvolumeprivate.h:
4864 Remove non-existing function declarations
4866 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4869 Fix compilation warnings and add guards to the new functions.
4871 * gio/gasyncresult.c:
4873 Add guards to the public functions.
4876 Implement get_path().
4878 2007-11-06 Alexander Larsson <alexl@redhat.com>
4880 * gio/gfilenamecompleter.c:
4881 Make g_filename_completer_get_completions
4882 return char ** instead of GList for
4885 * docs/reference/gio/gio-docs.xml:
4886 * docs/reference/gio/gio-sections.txt:
4888 * gio/gasyncresult.c:
4889 * gio/gbufferedinputstream.c:
4890 * gio/gbufferedoutputstream.c:
4891 * gio/gcancellable.c:
4892 * gio/gcontenttype.c:
4893 * gio/gdatainputstream.c:
4894 * gio/gdataoutputstream.c:
4895 * gio/gdesktopappinfo.c:
4896 * gio/gdirectorymonitor.c:
4900 * gio/gfileattribute.c:
4901 * gio/gfileenumerator.c:
4904 * gio/gfileinputstream.c:
4905 * gio/gfilemonitor.c:
4906 * gio/gfilenamecompleter.c:
4907 * gio/gfilenamecompleter.h:
4908 * gio/gfileoutputstream.c:
4909 * gio/gfilterinputstream.c:
4911 * gio/ginputstream.c:
4913 * gio/gioscheduler.c:
4914 * gio/gloadableicon.c:
4915 * gio/glocaldirectorymonitor.c:
4917 * gio/glocalfileinputstream.c:
4918 * gio/glocalfilemonitor.c:
4919 * gio/glocalfileoutputstream.c:
4921 * gio/gmemoryinputstream.c:
4922 * gio/gmemoryoutputstream.c:
4923 * gio/gmountoperation.c:
4924 * gio/goutputstream.c:
4925 * gio/gpollfilemonitor.c:
4927 * gio/gsimpleasyncresult.c:
4928 * gio/gsocketinputstream.c:
4929 * gio/gsocketoutputstream.c:
4930 * gio/gthemedicon.c:
4931 * gio/gunionvolumemonitor.c:
4933 * gio/gunixmounts.c:
4934 * gio/gunixvolume.c:
4935 * gio/gunixvolumemonitor.c:
4939 * gio/gvolumemonitor.c:
4940 * gio/gwin32appinfo.c:
4941 Add (mostly stub) doc strings to public functions.
4942 Patch from Andrew Walton (awalton@gmail.com)
4944 2007-11-06 Alexander Larsson <alexl@redhat.com>
4946 * gio/gappinfo.[ch]:
4947 Added GAppLaunchContext object and pass that to launch.
4948 This allows simple implementation of both
4949 launch-on-screen and startup notification via a gtk+
4950 subclass of GAppLaunchContext
4952 * gio/gdesktopappinfo.c:
4953 Implement GAppLaunchContext API
4955 * gio/gwin32appinfo.c:
4958 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4960 * gio/gmountoperation.c:
4961 Add some guards to GMountOperation's public functions.
4963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4967 * gio/gcancellable.c:
4968 * gio/gdirectorymonitor.c:
4970 * gio/gfileenumerator.c:
4971 * gio/gfilemonitor.c:,
4972 * gio/gfilenamecompleter.c:
4975 * gio/gioscheduler.c:
4979 * gio/gvolumemonitor.c:
4980 Add even more guards to various public functions.
4982 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4985 Add guards to the public functions of GAppInfo.
4987 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4989 * gio/gcontenttype.c:
4990 Add some more guards for public functions.
4992 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4994 * gio/fam/fam-module.c:
4995 * gio/fam/gfamdirectorymonitor.c:
4996 * gio/fam/gfamdirectorymonitor.h:
4997 * gio/fam/gfamfilemonitor.c:
4998 * gio/fam/gfamfilemonitor.h:
4999 * gio/inotify/ginotifydirectorymonitor.c:
5000 * gio/inotify/ginotifydirectorymonitor.h:
5001 * gio/inotify/ginotifyfilemonitor.c:
5002 * gio/inotify/ginotifyfilemonitor.h:
5003 Add proper copyright information and remove an unused variable
5004 in the GInotifyFileMonitor constructor.
5006 * gio/gcancellable.c:
5007 Add a guard for a public function and an assertion to prevent
5008 an undefined program state.
5010 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5012 * gio/gfileattribute.c:
5013 Don't run into an assertion if the given attribute value is NULL
5014 in g_file_attribute_value_get_*() but instead return a fallback
5015 value that makes sense in most situations. Passing them a attribute
5016 value with the wrong type will still run into an assertion.
5018 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5020 * gio/gfileattribute.c:
5022 Add even more guards to the public functions. Also fix the refcounting
5023 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5024 let g_file_info_list_attributes() filter the attributes by namespace
5025 instead of simply ignoring the namespace parameter.
5027 2007-11-03 Sven Herzberg <sven@imendio.com>
5029 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5030 (This makes gio work on MacOS X again)
5032 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5035 Build the gio subdirectory before the docs. Otherwise the build will
5038 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5039 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5040 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5041 Add guards to the public functions.
5043 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5045 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5046 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5047 to prevent a compiler warning.
5049 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5050 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5051 return something in the non-void function find_topdir_for().
5053 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5060 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5062 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5063 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5064 * gwin32appinfo.c (g_win32_app_info_launch):
5065 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5066 envp_for_startup_id, g_desktop_app_info_launch,
5067 g_desktop_app_info_launch_uris):
5069 Give an opaque 'startup_id' string instead of 'envp'.
5070 Support empty file lists for launching new windows.
5071 Fix infinite recursion bug when launching URIs.
5073 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5076 Add guard to the new g_file_get_uri_scheme() function.
5078 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5081 Convert a g_return_val_if_fail() to setting the GError instead as
5082 otherwise applications have to verify the parameter before otherwise
5083 and the parameter might come directly from the user.
5085 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5087 * gio/inotify/ginotify*.[ch]:
5088 Add missing copyright information.
5090 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5093 Add guards in the beginning of public functions to check for valid
5094 parameters and fix a bug in copy_stream_with_progress() that could've
5095 caused writing less bytes than reading.
5096 * gio/glocalfileinfo.c:
5097 Check for a NULL parameter and set the GError accordingly then.
5098 * gio/goutputstream.c:
5099 Fix the same bug as in gfile.c that could've caused writing less bytes
5100 than reading in g_output_stream_real_splice().
5102 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5105 Use the correct gvolumeprivate.h naming
5107 2007-11-01 Christian Kellner <gicmo@gnome.org>
5110 Remove leftover "$(daemon_sources)" entry.
5112 2007-11-01 Christian Kellner <gicmo@gnome.org>
5117 Add copyright information to source files.
5119 2007-11-01 Alexander Larsson <alexl@redhat.com>
5123 Add g_file_get_uri_scheme
5125 2007-11-01 Alexander Larsson <alexl@redhat.com>
5128 * gio/gdesktopappinfo.c:
5129 * gio/gwin32appinfo.c:
5130 Add g_app_info_get_default_for_uri_scheme.
5132 2007-11-01 Alexander Larsson <alexl@redhat.com>
5135 Correct filename for gdriveprivate.h
5137 2007-10-31 Alexander Larsson <alexl@redhat.com>
5140 Rename id:value to id:file
5143 * gio/glocalfileinfo.c:
5146 2007-10-31 Alexander Larsson <alexl@redhat.com>
5148 * gio/gunixvolume.c:
5150 Remove g_volume_get_platform_id, as thats not
5151 needed with the simpler union volume monitor
5153 2007-10-31 Alexander Larsson <alexl@redhat.com>
5156 * gio/guniondrive.[ch]: Removed.
5157 * gio/gunionvolume.[ch]: Removed.
5158 Remove GUnionDrive/Volume
5160 * gio/gunionvolumemonitor.c:
5161 Simplify union volume monitor, now we
5162 only have one native volume monitor and
5163 we use the actual volumes/drives from the
5164 child monitors instead of wrapping them
5166 * gio/gnativevolumemonitor.[ch]:
5167 Base class for native volume monitors.
5168 Includes priority and get_volume_for_mountpoint
5171 Add g_file_find_enclosing_volume
5174 Remove volume name fs attribute
5175 Add readonly fs attribute
5178 Implement readonly attribute
5179 remove volume name attribute
5180 Implement find_enclosing volume
5182 * gio/gunixmounts.c:
5183 Add a volume for "/".
5185 * gio/gunixvolume.[ch]:
5186 Set better name for /
5188 * gio/gunixvolumemonitor.[ch]:
5189 Derive from GNativeVolumeMonitor
5190 Implement get_volume_for_mountpoint
5193 GVolume typedef moved to gfile.h
5195 * gio/gvolumeprivate.h:
5196 Add g_volume_get_for_mount_path
5198 2007-10-31 Alexander Larsson <alexl@redhat.com>
5200 * gio/gunixmounts.[ch]:
5201 Add cache info to unix mount listers
5202 Make getmntent use threadsafe
5203 Add is_system_internal attribute for GUnixMount
5205 * gio/gunixvolume.c:
5206 (g_unix_volume_new):
5207 Use is_system_internal instead of own code
5209 * gio/glocaldirectorymonitor.c:
5210 * gio/gunixvolumemonitor.c:
5211 Update to new gunixmounts API
5216 2007-10-30 Alexander Larsson <alexl@redhat.com>
5219 Add volume name fsinfo attribute
5222 Read volume name info
5224 * gio/gunionvolumemonitor.c:
5225 Fix infinite loops when finalizing a union volume monitor
5227 2007-10-30 Alexander Larsson <alexl@redhat.com>
5229 * gio/goutputstream.[ch]:
5230 Add splice() with default implementation
5232 * gio/gsocketoutputstream.c:
5233 (g_socket_output_stream_write):
5234 Return error on cancellation correctly.
5236 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5238 * gio/glocalfile.c (g_local_file_trash):
5239 Do not leak a string.
5241 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5243 * gio/gfile.c (g_file_load_contents):
5244 Unref the stream after closing it.
5246 2007-10-25 Alexander Larsson <alexl@redhat.com>
5248 * gio/gioscheduler.h:
5251 2007-10-25 Alexander Larsson <alexl@redhat.com>
5255 Add g_file_has_uri_scheme and implement for local files
5257 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5259 * gio/gdesktopappinfo.c: do not leak a string.
5261 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5263 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5264 (g_local_directory_monitor_new):
5265 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5266 (g_local_file_monitor_new):
5267 Only look for the monitor type that should be used the first time
5268 and use g_qsort_with_data() instead of our own bubble sort
5271 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5274 * gio/fam/Makefile.am:
5275 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5276 * gio/fam/fam-helper.h:
5277 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5278 * gio/fam/gfamdirectorymonitor.c:
5279 * gio/fam/gfamdirectorymonitor.h:
5280 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5281 * gio/fam/gfamfilemonitor.h:
5282 * gio/glocaldirectorymonitor.c:
5283 * gio/glocaldirectorymonitor.h:
5284 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5285 * gio/glocalfilemonitor.h:
5286 * gio/inotify/Makefile.am:
5287 * gio/inotify/ginotifydirectorymonitor.c:
5288 * gio/inotify/ginotifydirectorymonitor.h:
5289 * gio/inotify/ginotifyfilemonitor.c:
5290 * gio/inotify/ginotifyfilemonitor.h:
5291 Implement the FAM and Inotify monitors as
5292 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5293 their own GIO module. GLocal(Directory|File)Monitor will use the
5294 monitor with the highest rank that is supported on that machine.
5296 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5299 Change GIO module dir to $(libdir)/gio/modules and change
5300 the log domain from GVFS to GIO. Also only export symbols starting
5301 with g_ in the resulting library.
5302 * gio/test-streams.c: (main):
5303 Set log handler for the GIO log domain.
5305 2007-10-22 Alexander Larsson <alexl@redhat.com>
5307 * gio/gfilenamecompleter.[ch]:
5308 Add g_filename_completer_set_dirs_only
5310 2007-10-22 Alexander Larsson <alexl@redhat.com>
5313 * gio/gurifuncs.[ch]:
5314 Add some simple URI helpers
5316 * gio/gfilenamecompleter.[ch]:
5317 Added object for filename (parse name actually) completion
5320 Handle ~ in parse names
5322 2007-10-17 Alexander Larsson <alexl@redhat.com>
5325 * gio/glocalfileinfo.c:
5326 Add and implement id:value attribute
5328 2007-10-17 Alexander Larsson <alexl@redhat.com>
5331 * gio/guniondrive.c:
5333 Add and implement g_drive_has_volumes
5335 2007-10-17 Alexander Larsson <alexl@redhat.com>
5338 * gio/glocalfileinfo.[ch]:
5339 Add unix:is_mountpoint and implement for local files
5341 2007-10-16 Alexander Larsson <alexl@redhat.com>
5343 * gio/gunionvolumemonitor.c:
5344 (g_union_volume_monitor_init):
5345 Fix up the unix type getting so that it works with gcc
5347 2007-10-12 Alexander Larsson <alexl@redhat.com>
5350 * gio/glocalfileinfo.c:
5351 Add thumbnail:failed to file info
5353 2007-10-12 Richard Hult <richard@imendio.com>
5355 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5356 optimizing away the get_type call (happens with some gcc versions,
5357 like the one shipped with OS X 10.4).
5359 2007-10-12 Alexander Larsson <alexl@redhat.com>
5361 * gio/glocalfileinfo.c:
5362 (_g_local_file_info_set_attribute):
5363 Fix build if not HAVE_XATTR
5364 Patch from Milosz Derezynski <internalerror@gmail.com>
5366 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5368 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5369 around for review, otherwise I would have asked you before
5372 2007-10-11 Alexander Larsson <alexl@redhat.com>
5375 Add thumbnail:path attribute
5377 * gio/glocalfileinfo.c:
5378 Implement thumbnail:path for local files
5380 2007-10-11 Alexander Larsson <alexl@redhat.com>
5382 * gio/glocalfileinfo.c:
5383 (_g_local_file_info_get):
5384 Avoid duplicate icon names
5386 2007-10-11 Alexander Larsson <alexl@redhat.com>
5388 * gio/gthemedicon.[ch]:
5389 Change g_themed_icon_get_names return type to const
5391 2007-10-10 Alexander Larsson <alexl@redhat.com>
5393 * gio/glocalfileinfo.c:
5394 Don't reference freed memory
5396 2007-10-10 Alexander Larsson <alexl@redhat.com>
5398 * gio/gfileattribute.c:
5401 * gio/glocalfileinfo.c:
5404 2007-10-10 Alexander Larsson <alexl@redhat.com>
5407 Check for NULL icons
5409 * gio/gfileattribute.c:
5410 Don't dup when getting objects (same as for string attributes)
5412 * gio/gicon.c (g_icon_equal):
5413 Safely handle NULLs in equal
5415 2007-10-10 Alexander Larsson <alexl@redhat.com>
5418 Fix c++ compilation issues
5419 Patch from Milosz Derezynski <internalerror@gmail.com>
5421 2007-10-10 Alexander Larsson <alexl@redhat.com>
5423 * programs/gio-monitor-dir.c:
5424 Don't crash if dir monitor not supported.
5426 2007-10-09 Alexander Larsson <alexl@redhat.com>
5429 Add missing G_END_DECLS
5431 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5433 * gio/gfile.c: (g_file_set_display_name),
5434 (g_file_query_settable_attributes),
5435 (g_file_query_writable_namespaces):
5436 Return NULL not FALSE on errors as the return type is a pointer.
5438 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5440 * gio/glocalfile.c: (g_local_file_monitor_file):
5441 Don't call monitor_file on the default interface vtable (which
5442 is NULL) but simply return NULL. The caller, GFile, will create a
5443 polling monitor if NULL is returned.
5445 2007-10-09 Alexander Larsson <alexl@redhat.com>
5449 * gio-unix-2.0.pc.in:
5450 Add gio-unix-2.0.pc if OS_UNIX
5453 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5455 2007-10-09 Alexander Larsson <alexl@redhat.com>
5457 * gio/gunixmounts.[ch]:
5458 Make unix mount monitoring API sane.
5459 Now its just a object with mounts_changed
5460 and mountpoints_changed signals.
5462 * gio/glocaldirectorymonitor.c:
5463 * gio/gunixvolumemonitor.c:
5464 Use new mount monitor api
5466 2007-10-09 Alexander Larsson <alexl@redhat.com>
5468 * gio/gunixmounts.[ch]:
5469 Move guess type into one call for mounts and one for mountpoints
5472 * gio/gunixvolume.c:
5475 2007-10-09 Alexander Larsson <alexl@redhat.com>
5477 * gio/gunixmounts.[ch]:
5478 Remove _ prefix in preparation to make this semi-public
5479 Hide implementation of structs
5481 * gio/glocaldirectorymonitor.c:
5483 * gio/gunixvolume.c:
5484 * gio/gunixvolumemonitor.c:
5485 Update for above API changes
5487 2007-10-08 Alexander Larsson <alexl@redhat.com>
5490 Better polling fallback. This also handles the case where we have
5491 a monitor_file implementation, but it fails.
5493 2007-10-08 Alexander Larsson <alexl@redhat.com>
5497 * gio/gunixmounts.c:
5498 * programs/gio-monitor-dir.c:
5499 * programs/gio-monitor-file.c:
5500 Added cancellable to file monitoring calls.
5501 These are really sync calls and need this.
5503 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5505 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5506 (g_local_vfs_class_init):
5507 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5508 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5510 2007-10-05 Alexander Larsson <alexl@redhat.com>
5512 * gio/gdirectorymonitorprivate.h:
5513 * gio/gfilemonitorprivate.h:
5514 * gio/gdirectorymonitor.h:
5515 * gio/gfilemonitor.h:
5516 Remove *private.h and move to the public API, so that
5517 we can do implementations outside gio (such as in gvfs)
5519 * gio/gdirectorymonitor.c:
5520 * gio/gfilemonitor.c:
5521 * gio/glocaldirectorymonitor.c:
5522 * gio/gpollfilemonitor.c:
5523 * gio/inotify/inotify-helper.c:
5524 * gio/fam/fam-helper.c:
5525 Update to the new header names
5527 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5529 * gio/gdirectorymonitor.c:
5530 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5533 2007-10-04 Alexander Larsson <alexl@redhat.com>
5535 * gio/glocalfileinfo.c (get_access_rights):
5536 Set CAN_TRASH when we can move the file.
5537 We should really also check for a parent trash dir.
5539 2007-10-04 Alexander Larsson <alexl@redhat.com>
5541 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5542 Add can_trash access attribute
5544 2007-10-04 Alexander Larsson <alexl@redhat.com>
5547 (g_local_file_trash):
5548 Create info file first. This is per-spec and allows
5549 us to actually trash directories.
5551 2007-10-02 Alexander Larsson <alexl@redhat.com>
5553 * gio/gdesktopappinfo.c:
5554 Implement the new mime support code.
5555 Always set app as handling mimetype when being set as default for it
5557 2007-10-01 Alexander Larsson <alexl@redhat.com>
5559 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5560 Fix up check for xattrs:
5562 2007-10-01 Alexander Larsson <alexl@redhat.com>
5565 (g_app_info_set_as_default_for_extension):
5566 (g_app_info_add_supports_type):
5567 (g_app_info_can_remove_supports_type):
5568 (g_app_info_remove_supports_type):
5569 Make these fail nicely if not implemented
5571 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5573 * gio/glocalfileoutputstream.c:
5574 * gio/glocalfileoutputstream.h:
5579 * programs/gio-save.c:
5580 Add a GFileCreateFlags argument to operations that can create
5583 2007-10-01 Alexander Larsson <alexl@redhat.com>
5585 * gio/gappinfo.[ch]:
5586 * gio/gdesktopappinfo.c:
5587 Add more (stubbed out) mime API needed for nautilus
5589 2007-10-01 Alexander Larsson <alexl@redhat.com>
5592 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5593 Add g_app_info_set_as_default_for_extension.
5595 * gio/gdesktopappinfo.c:
5596 Dummy for g_app_info_set_as_default_for_extension
5597 Support flags in g_app_info_create_from_commandline
5599 * gio/gwin32appinfo.c:
5601 Update for API changes
5603 * gio/gthemedicon.c:
5604 Properly NULL-terminate list of icon names
5606 2007-09-28 Alexander Larsson <alexl@redhat.com>
5608 * gio/gloadableicon.h:
5609 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5611 2007-09-28 Alexander Larsson <alexl@redhat.com>
5614 Install headers in $includedir/gio-standalone/
5616 * gio-2.0.pc.in: Added.
5617 * gio-standalone.pc.in: Removed.
5620 Renamed pkg-config file to match glib (for future move)
5621 Update to the new include dir
5624 Add more TODO comments
5626 2007-09-28 Alexander Larsson <alexl@redhat.com>
5628 * gio/gdesktopappinfo.[ch]:
5629 Expose new_from_filename
5630 Add getter for is_hidden and handle it better
5632 2007-09-28 Alexander Larsson <alexl@redhat.com>
5634 * gio/gfileinfo.[ch]:
5635 Rename g_file_size_format_for_display to
5636 g_format_file_size_for_display.
5637 Now it doesn't have the g_file prefix, so we
5638 can later move it to glib.
5640 2007-09-28 Alexander Larsson <alexl@redhat.com>
5642 * gio/gappinfo.[ch]:
5643 Add g_app_info_get_id and g_app_info_get_executable.
5644 Make all getters non-reffing
5645 Make g_app_info_launch take GFile arguments.
5646 Add must_support_uris argument to g_app_info_get_default_for_type.
5648 * gio/gwin32appinfo.c:
5649 Update to GAppInfo api changes
5651 * gio/gdesktopappinfo.c:
5652 Update to GAppInfo api changes
5653 Implement supports_xdg_startup_notify
5655 * gio/gfileicon.c (g_file_icon_get_file):
5656 Make getter non-reffing.
5661 2007-09-27 Alexander Larsson <alexl@redhat.com>
5663 * gio/gfileinfo.[ch]:
5664 Add g_file_size_format_for_display helper
5666 2007-09-27 Alexander Larsson <alexl@redhat.com>
5668 * gio/glocalfileinfo.c:
5669 Set UNIX_GID from gid, not from uid
5671 2007-09-27 Alexander Larsson <alexl@redhat.com>
5674 Add g_file_set_attributes_async
5676 2007-09-27 Alexander Larsson <alexl@redhat.com>
5678 * gio/glocalfile.c (g_local_file_set_display_name):
5679 Fix set_display_name to actually rename to the right place.
5680 Use lstat to look for existing files so we don't overwrite
5683 2007-09-26 Alexander Larsson <alexl@redhat.com>
5686 Add g_file_set_display_name_async()
5688 2007-09-26 Alexander Larsson <alexl@redhat.com>
5691 Add load_partial_contents async calls
5694 Make internal function static
5696 2007-09-26 Alexander Larsson <alexl@redhat.com>
5698 * gio/glocalfileinfo.c:
5699 Correctly detect broken symlinks
5701 2007-09-26 Alexander Larsson <alexl@redhat.com>
5703 * gio/gcancellable.c (g_cancellable_cancel):
5704 Allow cancel on NULL cancellable
5706 2007-09-25 Alexander Larsson <alexl@redhat.com>
5708 * gio/gsimpleasyncresult.c:
5709 Don't allocate g_error manually.
5710 Fixes g_slice/g_new mixup crash
5712 2007-09-25 Alexander Larsson <alexl@redhat.com>
5714 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5715 Actually set active_backend.
5716 This means the monitor will be cancelled correctly.
5718 2007-09-25 Alexander Larsson <alexl@redhat.com>
5720 * gio/gdirectorymonitor.c:
5721 Set timeout to NULL when destroying
5723 2007-09-25 Alexander Larsson <alexl@redhat.com>
5726 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5727 that is a better description of the error.
5729 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5731 * gio/gvfs.c: (g_vfs_get_local):
5732 Make the local vfs variable static. The same instance should
5735 2007-09-24 Alexander Larsson <alexl@redhat.com>
5737 * gio/glocalfileinfo.c:
5738 Pass in actual length read into sniffer, not the length
5741 2007-09-21 Alexander Larsson <alexl@redhat.com>
5743 * gio/gfileenumerator.c:
5746 * gio/gfileinputstream.c:
5747 * gio/gfileoutputstream.c:
5748 * gio/ginputstream.c:
5749 * gio/goutputstream.c:
5750 Don't crash if async callbacks are NULL
5752 2007-09-20 Alexander Larsson <alexl@redhat.com>
5755 Add async enumerate_children method and default
5758 2007-09-20 Alexander Larsson <alexl@redhat.com>
5761 Add g_file_contains_file & g_file_get_relative_path, since they
5762 were needed for nautilus.
5763 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5768 Implement new methods
5770 2007-09-17 Alexander Larsson <alexl@redhat.com>
5773 * gio/gfileinputstream.[ch]:
5774 * gio/gfileoutputstream.[ch]:
5776 * gio/glocalfileenumerator.[ch]:
5777 * gio/glocalfileinfo.[ch]:
5778 * gio/glocalfileinputstream.c:
5779 * gio/glocalfileoutputstream.c:
5780 * gio/gpollfilemonitor.c:
5781 * programs/gio-copy.c:
5782 * programs/gio-info.c:
5783 * programs/gio-move.c:
5784 Rename get_file_info to query_info() to make it clearer
5785 that these are not simple getters, but do i/o.
5787 2007-09-17 Alexander Larsson <alexl@redhat.com>
5789 * gio/gdatainputstream.[ch]:
5790 * gio/test-streams.c:
5791 Use _read_XXX instead of _get_XXX for the i/o calls
5794 2007-09-17 Alexander Larsson <alexl@redhat.com>
5797 Added needed stuff to TODO comment
5799 2007-09-17 Alexander Larsson <alexl@redhat.com>
5801 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5802 Don't error out removing the backup copy if it doesn't
5805 2007-09-14 Alexander Larsson <alexl@redhat.com>
5807 * programs/Makefile.am:
5808 * programs/gvfs-*.c:
5810 Renamed apps from gvfs-xxx to gio-xxx.
5812 2007-09-14 Alexander Larsson <alexl@redhat.com>
5815 * gio/gfileoutputstream.[ch]:
5816 * gio/glocalfileoutputstream.c:
5817 * programs/gvfs-save.c:
5818 g_file_output_stream_get_etag doesn't do i/o, so remove
5819 cancellation and error.
5821 2007-09-14 Alexander Larsson <alexl@redhat.com>
5824 Add new_etag output to replace_contents functions
5826 2007-09-14 Alexander Larsson <alexl@redhat.com>
5828 * gio/gfileoutputstream.[ch]:
5829 Add async get_file_info and default implementation
5831 2007-09-14 Alexander Larsson <alexl@redhat.com>
5833 * gio/gfileinputstream.c:
5834 Implement fallback wrapper for async get_file_info
5836 2007-09-14 Alexander Larsson <alexl@redhat.com>
5839 Add etag out argument to load_contents
5844 2007-09-14 Alexander Larsson <alexl@redhat.com>
5846 * gio/gcontenttype.c (looks_like_text):
5847 Whitespace like tab, cr and lf do not make the
5850 2007-09-14 Alexander Larsson <alexl@redhat.com>
5852 * gio/gfileinputstream.[ch]:
5853 Add async get_file_info.
5855 2007-09-13 Alexander Larsson <alexl@redhat.com>
5857 * gio/goutputstream.c (g_output_stream_write_all):
5858 Allow NULL for bytes_written
5860 2007-09-13 Alexander Larsson <alexl@redhat.com>
5862 * gio/gmemoryinputstream.[ch]:
5863 Add accessors for data
5865 2007-09-13 Alexander Larsson <alexl@redhat.com>
5867 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5868 Don't crash if length is NULL