1 2009-03-17 Alexander Larsson <alexl@redhat.com>
3 * glocalfileinputstream.c:
4 * glocalfileoutputstream.c:
5 fix attributes argument of query_info methods to
8 2009-03-16 Alexander Larsson <alexl@redhat.com>
10 Bug 575555 – Use fsync() when replacing files to avoid data loss on crash
12 * glocalfileoutputstream.c:
13 (g_local_file_output_stream_close):
14 (_g_local_file_output_stream_replace):
15 fsync temp file before closing if replacing target file
17 2009-03-13 Matthias Clasen <mclasen@redhat.com>
19 * === Released 2.20.0 ===
21 2009-03-04 Alexander Larsson <alexl@redhat.com>
23 Bug 573843 – g_get_current_dir returns non-absolute path
25 * glocalfile.c (canonicalize_filename):
26 Handle the case where g_get_current_dir() returns a non-absolute path.
28 2009-03-04 Alexander Larsson <alexl@redhat.com>
30 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
32 * gunionvolumemonitor.c:
33 (g_union_volume_monitor_dispose):
34 Run dispose on child monitors when disposing.
36 * gunixvolumemonitor.c:
37 Remove all volumes and mount on dispose to avoid circular
38 dependencies not freeing the monitor
40 2009-03-03 Alexander Larsson <alexl@redhat.com>
42 Bug 561172 – gnome-open fails on local URIs with anchors
45 Don't force uris to filenames if the uri has an anchor, because
46 that would strip the anchor.
49 Strip anchor from file:// uris when creating GFile, since
50 g_filename_from_uri doesn't handle them.
52 2009-03-03 Alexander Larsson <alexl@redhat.com>
54 Bug 562613 – Missing const modifier in string parameters
56 * gfileinputstream.[ch]:
57 * gfileoutputstream.[ch]:
58 * glocalfileinfo.[ch]:
59 Make string arguments const if used as such.
61 2009-03-03 Alexander Larsson <alexl@redhat.com>
63 * glocalfile.c (g_local_file_query_filesystem_info):
64 Handle filesystems no supporting reporting how much is free.
65 This fixes bug 573454 where the filesystem not supporting this
66 is the gvfs smb backend over the fuse filesystem.
68 2009-03-02 Matthias Clasen <mclasen@redhat.com>
70 * === Released 2.19.10 ===
72 2009-03-02 Matthias Clasen <mclasen@redhat.com>
74 * === Released 2.19.9 ===
76 2009-03-02 Matthias Clasen <mclasen@redhat.com>
78 * gioenums.h: Add a Since: tag
80 2009-03-01 Matthias Clasen <mclasen@redhat.com>
82 Bug 573658 – Deadlock in giomodule.c
84 * giomodule.c: Use a separate lock for extension point registration
85 to avoid deadlock. Discovered by Torsten Schoenfeld
87 2009-03-01 Matthias Clasen <mclasen@redhat.com>
89 * gdatainputstream.c: Fix docs
91 2009-02-27 Matthias Clasen <mclasen@redhat.com>
93 Bug 573421 – Clarify message format in GMountOperation
95 * gmountoperation.c: Document that the first line of a
96 multi-line message should be interpreted as a heading.
98 2009-02-27 David Zeuthen <davidz@redhat.com>
100 Bug 573462 – GEmblemedIcon leak
102 * gemblemedicon.c (g_emblemed_icon_finalize):
103 Avoid leaking a GList.
105 2009-02-27 Alexander Larsson <alexl@redhat.com>
109 Split out the extension point registration code to its
113 Ensure extension points are registered before extending it.
114 It might not have happened yet if g_vfs_get_local() is called.
116 2009-02-26 Alexander Larsson <alexl@redhat.com>
118 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
119 * gmemoryoutputstream.c:
120 Track actual valid size, even if we later seek back.
122 * tests/memory-output-stream.c:
125 2009-02-26 Alexander Larsson <alexl@redhat.com>
127 Bug 543183 – Clarify docs for g_file_has_prefix
129 * gfile.c: (g_file_has_prefix):
130 Clarify how the prefix matching works.
132 2009-02-26 Alexander Larsson <alexl@redhat.com>
135 Support desktop file key X-GIO-NoFuse which disables
136 use of fuse pathnames for %u and %U arguments.
138 2009-02-25 Alexander Larsson <alexl@redhat.com>
140 Bug 570073 – Add support for reading filesystems on Interix
142 * gunixmounts.c (_g_get_unix_mounts):
143 Support Interix. Patch from Fabian Groffen
145 2009-02-25 Paolo Borelli <pborelli@katamail.com>
147 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
149 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
151 2009-02-23 Alexander Larsson <alexl@redhat.com>
154 Remove accidentally commited spew
156 2009-02-20 Alexander Larsson <alexl@redhat.com>
159 (g_content_type_guess):
160 Don't ever sniff desktop files when the filename is known.
161 In other words, only allow desktop files with the .desktop extension
162 and when the filename isn't known.
163 This is a security precaution since desktop files can execute
164 arbitrary code when launched and we don't want to allow them to
165 try and hide as another type. There is no legit reason to not
166 have the .desktop extension anyway.
168 2009-02-19 Alexander Larsson <alexl@redhat.com>
170 Bug 549298 – impossible to copy files with p (pipe) flag
173 (file_copy_fallback):
174 Error out if the source file is a special file
176 2009-02-18 Alexander Larsson <alexl@redhat.com>
178 Bug 560564 – Replacing a symlink with its linked file truncates the original file
181 Add G_FILE_CREATE_REPLACE_DESTINATION
183 * glocalfileoutputstream.c:
184 (handle_overwrite_open):
185 (_g_local_file_output_stream_replace):
186 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
189 (file_copy_fallback):
190 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
193 2009-02-17 Ryan Lortie <desrt@desrt.ca>
195 * gfileinfo.c: unref the destination's attribute matcher before
198 2009-02-17 Matthias Clasen <mclasen@redhat.com>
200 * === Released 2.19.8 ===
202 2009-02-17 Matthias Clasen <mclasen@redhat.com>
204 * gio.symbols: Add missing exports for new API
206 * gdatainputstream.c: Add missing Since: tags.
208 2009-02-16 Matthias Clasen <mclasen@redhat.com>
210 * === Released 2.19.7 ===
212 2009-02-16 Matthias Clasen <mclasen@redhat.com>
214 * gmountoperation.[hc]: Add an "aborted" signal to abort a
215 mount operation from the backend side.
217 * gvolume.h: Add docs regarding the "aborted" signal.
219 2009-02-16 Ryan Lortie <desrt@desrt.ca>
221 Bug 505042 – add file attribute for actually used file size in bytes
223 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
224 "standard::allocated-size"
225 * gfileattribute.c: document
226 * glocalfileinfo.c: set the allocated size from st_blocks * 512
228 2009-02-16 Ryan Lortie <desrt@desrt.ca>
230 Bug 571598 – GAsyncResult with NULL gobject
232 * gsimpleasyncresult.c: remove various assertions and add some checks
233 to allow for a NULL source_object in GSimpleAsyncResult.
235 2009-02-11 Matthias Clasen <mclasen@redhat.com>
237 Bug 541225 – Can't compile gio on AIX : duplicate case value in
240 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
241 Reported by Nicolas Joseph
243 2009-02-04 Alexander Larsson <alexl@redhat.com>
245 Bug 566747 - URIs opened with firefox %u load as local files
247 * gdummyfile.c (g_dummy_file_get_path):
248 Dummy files are never used for local paths, so always return NULL
251 2009-02-02 Matthias Clasen <mclasen@redhat.com>
253 * === Released 2.19.6 ===
255 2009-01-31 Paolo Borelli <pborelli@katamail.com>
257 * glocalfileinfo.c: plug a tiny mem leak.
259 2009-01-29 Ryan Lortie <desrt@desrt.ca>
261 * gioerror.c (g_io_error_from_errno): handle all possible cases of
262 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
264 2009-01-28 Ryan Lortie <desrt@desrt.ca>
266 Bug 568575 – _async functions for GDataInputStream
268 * gdatainputstream.h:
269 * gdatainputstream.c: add _async versions of read_line and read_until.
271 * ../docs/reference/gio/gio-sections.txt: add new functions
272 * tests/sleepy-stream.c: new test case for async read line
273 * tests/Makefile.am: add new test
275 2009-01-22 Ryan Lortie <desrt@desrt.ca>
277 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
279 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
280 g_buffered_input_stream_fill): check for count < -1 instead of count <
281 0 and copy modified check to non-async version for consistency.
282 document the "count = -1" API.
284 2009-01-22 Ryan Lortie <desrt@desrt.ca>
286 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
288 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
289 after we have successfully read data from the base stream
291 2009-01-20 Ryan Lortie <desrt@desrt.ca>
293 Bug 568394 – dropping the last reference to a stream filter closes the
296 * gfilterinputstream.h:
297 * gfilterinputstream.c: add "close-base-stream" property and only
298 close the base stream if it is true. issue async close callbacks from
299 correct source object.
300 * gfilteroutputstream.h:
301 * gfilteroutputstream.c: add a "close-base-stream" property and only
302 close the base stream if it is true. issue async close callbacks from
303 correct source object.
304 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
305 before closing the base stream. fix invalid source tag comparison in
306 close_async (was comparing to flush_async).
307 * ../docs/reference/gio/gio-sections.txt:
309 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
310 * tests/filter-streams.c: new test cases
311 * tests/Makefile.am: add new test
312 * tests/.gitignore: add new test
314 2009-01-19 Matthias Clasen <mclasen@redhat.com>
316 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
318 2009-01-19 Matthias Clasen <mclasen@redhat.com>
320 * === Released 2.19.5 ===
322 2009-01-19 Matthias Clasen <mclasen@redhat.com>
324 * gappinfo.h: Document get_commandline vfunc
326 2009-01-19 Matthias Clasen <mclasen@redhat.com>
328 * gunixmounts.c: Some stylistic fixes.
330 2009-01-08 Matthias Clasen <mclasen@redhat.com>
332 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
333 functions in non-UTF8 locale
335 * xdgmime/xdgmimecache.c:
336 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
338 2009-01-08 Matthias Clasen <mclasen@redhat.com>
340 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
342 2009-01-07 Matthias Clasen <mclasen@redhat.com>
344 Bug 566770 – error code 0 for Too many open files is useless
346 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
347 Requested by Olivier Sessink.
349 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
351 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
352 G_IO_ERROR_TOO_MANY_OPEN_FILES.
354 2009-01-05 Matthias Clasen <mclasen@redhat.com>
356 * === Released 2.19.4 ===
358 2009-01-05 Dan Winship <danw@gnome.org>
360 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
361 "const char **" to avoid a warning.
363 * gemblem.c (g_emblem_from_tokens):
364 * gemblemedicon.c (g_emblemed_icon_from_tokens):
365 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
368 2009-01-05 Matthias Clasen <mclasen@redhat.com>
370 Bug 566064 – Add NOATIME flag to query_info_flags
372 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
373 sniffing for mime types. Based on a patch by A. Walton
375 2009-01-05 Ryan Lortie <desrt@desrt.ca>
377 * tests/.gitignore: improve
378 * tests/Makefile.am: add new simple-async-result test
379 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
381 2009-01-05 Ryan Lortie <desrt@desrt.ca>
384 * ../docs/reference/gio/gio-sections.txt:
385 * gsimpleasyncresult.h:
386 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
387 Implementation by Dan Winship. Closes #566170.
389 2008-12-31 Matthias Clasen <mclasen@redhat.com>
393 * gunixinputstream.c:
394 * gunixoutputstream.c: Add a note about being UNIX-specific.
396 2008-12-15 Matthias Clasen <mclasen@redhat.com>
398 * === Released 2.19.3 ===
400 2008-12-12 Dan Winship <danw@gnome.org>
402 * pltcheck.sh: make this work on x86_64
404 2008-12-12 Ryan Lortie <desrt@desrt.ca>
406 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
409 2008-12-12 Ryan Lortie <desrt@desrt.ca>
411 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
412 multiple mount entries match the requested path
414 2008-12-10 Alexander Larsson <alexl@redhat.com>
416 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
417 g_simple_async_result_run_in_thread
419 * gsimpleasyncresult.c:
420 Make g_simple_async_result_run_in_thread check cancellation before
421 calling out to the user in the callback. This means we guarantee
422 reporting cancels of async operations from the main threads, which
423 is probably more in line with what users expect.
425 Note that there are still no such guarantees for cancelling sync
426 operations or cancelling async operation from outside the main
427 thread. Furthermore, the exact behaviour of async implementations
428 not using run_in_thread may differ.
430 2008-12-09 Alexander Larsson <alexl@redhat.com>
432 Bug 515777 - incorrect date&time on copy
435 (g_local_file_class_init):
436 Copy mtime by default
439 Change docs about G_FILE_COPY_ALL_METADATA to not mention
442 2008-12-08 Matthias Clasen <mclasen@redhat.com>
444 Bug 558298 – Hide ecryptfs mounts
446 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
447 so that the desktop does not show both the mount and the target
448 directory. Patch by Martin Pitt
450 2008-12-08 Matthias Clasen <mclasen@redhat.com>
452 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
456 * gunixinputstream.[hc]:
457 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
458 including getters and setters. Patch by Maciej Piechotka
460 2008-12-07 Matthias Clasen <mclasen@redhat.com>
462 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
464 * tests/live-g-file.c: Support compilers that don't understand
465 ISO C varargs macros. Patch by Eric Lamarque
467 2008-12-07 Matthias Clasen <mclasen@redhat.com>
469 Bug 526320 – should not list mounts that the user doesn't have
472 gunixmounts.c: Use g_access() to check accessibility of local devices.
475 2008-12-01 Matthias Clasen <mclasen@redhat.com>
477 * === Released 2.19.2 ===
479 2008-12-01 Matthias Clasen <mclasen@redhat.com>
481 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
482 behaviour change, and update the docs instead, to avoid breaking
485 2008-12-01 Matthias Clasen <mclasen@redhat.com>
487 * === Released 2.19.1 ===
489 2008-12-01 Alexander Larsson <alexl@redhat.com>
493 * gunionvolumemonitor.c:
495 Add and document g_mount_is_shadowed plus calls
496 to set/unset a mount as shadowed
498 2008-11-28 Matthias Clasen <mclasen@redhat.com>
500 * gio/tests/g-icon.c: Comment out two failing tests
502 2008-11-28 Matthias Clasen <mclasen@redhat.com>
504 Bug 555486 – No way to recover command line from GAppInfo
507 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
508 by Hans Petter Jansson.
510 * gdesktopappinfo.c: And implement it here.
512 2008-11-28 Christian Dywan <christian@imendio.com>
514 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
516 2008-11-28 Matthias Clasen <mclasen@redhat.com>
518 Bug 559633 – gtk_image_new_from_gicon does not always work for
521 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
522 extensions on icon names. Proposed by Axel von Bertoldi.
524 2008-11-28 Matthias Clasen <mclasen@redhat.com>
526 Bug 548163 – Nautilus displays wrong error message for too long file
529 * glocalfile.c (g_local_file_set_display_name): Correctly set
530 error conditions if the new name is e.g. too long. Reported
531 by Leonardo Ferreira Fontenelle.
533 2008-11-28 Matthias Clasen <mclasen@redhat.com>
535 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
538 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
539 documented and include the line end in the returned string.
540 Pointed out by Paul Pogonyshev.
542 * tests/data-input-stream.c: Fix the read_line test to test the
543 documented behaviour.
545 2008-11-28 Matthias Clasen <mclasen@redhat.com>
547 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
548 files that have been created by g_app_info_create_from_commandline.
550 2008-11-28 Matthias Clasen <mclasen@redhat.com>
552 Bug 541715 – win32 : patch for warnings and signature problems in
555 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
558 2008-11-28 Matthias Clasen <mclasen@redhat.com>
560 Bug 562393 – g_buffered_input_stream_read_byte broken if data
563 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
564 handling of buffered content. Patch by Philip Withnall
566 * tests/buffered-input-stream.c: Add a testcase for this bug.
567 * tests/Makefile.am: And build it
569 2008-11-28 Matthias Clasen <mclasen@redhat.com>
571 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
574 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
575 '/' away. Spotted by Dan Williams.
577 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
579 Bug 561375 – Leaks mountpoint description
581 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
584 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
586 Bug 561352 – Leak of icon description
588 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
591 2008-11-14 Matthias Clasen <mclasen@redhat.com>
593 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
595 2008-11-12 Tor Lillqvist <tml@novell.com>
597 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
599 * win32/gwinhttpvfs.h: Move the set of function pointers to
600 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
601 pointer to that in the GWinHttpVfsClass.
603 * win32/gwinhttpvfs.c: Move the lookup of functions from
604 winhttp.dll into a function of its own, that stores the pointers
605 in a separate GWinHttpDllFuncs variable. Add two bookeeping
606 booleans lookup_done and funcs_found.
608 Don't call g_io_extension_point_implement() to register the
609 winhttp extension unless winhttp.dll has been successfully loaded
610 and the required functions found in it.
612 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
613 winhttp.dll correspondingly.
615 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
617 reviewed by: Alexander Larsson <alexl@redhat.com>
619 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
620 clearer about the behavior when there's no more content to read.
622 2008-10-27 Federico Mena Quintero <federico@novell.com>
624 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
626 2008-10-27 Tor Lillqvist <tml@novell.com>
628 Bug 557592 - Missing include in gwinhttpfile.c
630 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
633 2008-10-24 Matthias Clasen <mclasen@redhat.com>
635 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
637 * fam/fam-helper.c: Fix a memory leak and formatting issues.
638 Reported by Daniel Marjamäki
640 2008-10-23 Matthias Clasen <mclasen@redhat.com>
642 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
644 2008-10-23 Alexander Larsson <alexl@redhat.com>
646 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
649 (_g_local_file_info_get):
650 Don't return the fallback icon (text-x-generic) for all files.
651 This is causing problems with theme icon lookup and custom mime
652 icons, as the generic fallback overrides custom mime icons in
655 This is a slight change as applications might not get an icon wher
656 they previously did. But there is no guarantee to get on neither before
657 or after this change, so it should not break applications. Changes
658 to nautilus and gtk+ will be done to manually use the generic fallback
659 icon if no icon is found, but this is only required for rare cases.
661 2008-10-21 Alexander Larsson <alexl@redhat.com>
664 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
666 2008-10-21 Alexander Larsson <alexl@redhat.com>
668 Bug 555740 - gicon serialization
669 Based on patch from David Zeuthen
673 Add g_icon_to_string() and g_icon_new_for_string().
679 Implement icon serialization for built-in icon types
683 Added GIcon serialization test
685 2008-10-16 Matthias Clasen <mclasen@redhat.com>
687 * === Released 2.19.0 ===
689 2008-10-16 Matthias Clasen <mclasen@redhat.com>
691 Bug 556422 – g_file_enumerator_next_file: unclear whether return
692 value needs to be freed
694 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
695 the return value docs. Pointed out by Armin Burgmeier
697 2008-10-14 Matthias Clasen <mclasen@redhat.com>
699 Bug 556334 – Warning when building without selinux support
701 * glocalfileinfo.c: Avoid compiler warnings when selinux is
702 disabled. Patch by Pascal Terjan
704 2008-10-14 Matthias Clasen <mclasen@redhat.com>
706 Bug 556335 – make check fails in abicheck.sh
708 * gio.symbols: Add g_file_attribute_info_list_get_type.
709 Pointed out by Pascal Terjan.
711 2008-10-13 Alexander Larsson <alexl@redhat.com>
714 When adding an application as handling a mime type (but
715 not as the default), copy the full list of desktop ids handling
716 that type in before adding the new one on the end of the list.
717 This means we're not accidentally changing the default by overriding
718 the info from the later directories in the search path.
720 Also, fixes small leak of removed_entries.
722 2008-10-12 David Zeuthen <davidz@redhat.com>
725 * gunionvolumemonitor.c:
727 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
729 2008-10-10 Alexander Larsson <alexl@redhat.com>
731 * gfileattribute.c (escape_byte_string):
732 Upper half of byte is >> 4, not >> 8.
733 Found by Kjartan Maraas via sparse
735 2008-10-10 Matthias Clasen <mclasen@redhat.com>
737 Bug 555711 – Wrong fallback order of mimetype icons
739 * gcontenttype.c: Don't prefer generic icons over
740 default mimetype icons.
742 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
743 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
745 Patch by Krysztof Kosiński
747 2008-10-10 Matthias Clasen <mclasen@redhat.com>
749 Bug 555121 – Improved build-time handling of gio module-dir
751 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
752 * Makefile.am: Create the module dir.
754 2008-10-10 Matthias Clasen <mclasen@redhat.com>
756 * gio/glocalfileinfo.c:
757 * gio/tests/live-g-file.c:
758 * gio/gsimpleasyncresult.c: Fix gcc warnings.
760 2008-10-09 Alexander Larsson <alexl@redhat.com>
762 * gunixinputstream.c (g_unix_input_stream_read):
763 Actually return -1 in case of cancelled, not old res value.
765 2008-10-06 Colin Walters <walters@verbum.org>
767 Bug 554745 - GFileAttributeInfoList should be boxed
769 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
770 for convenience of bindings.
771 * gio/gfileattribute.h: Prototype it.
773 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
775 Bug 554970 – segfault when update-desktop-database is not available
778 * gdesktopappinfo.c (run_update_command): Have the error set before
781 2008-10-01 David Zeuthen <davidz@redhat.com>
783 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
784 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
785 instead of the gio URI (such as sftp://foo/file.avi) when using
786 g_app_info_launch() and friends. With a sufficiently recent gvfs,
787 apps using gio+gvfs will map the FUSE file:// URI back to the gio
788 URI (and thus bypass the fuse daemon) thanks the patch from bug
789 #530654. Since Nautilus is an user of g_app_info_launch() it
790 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
791 when launced via the file manager. Win. Fixes bug #528670.
793 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
794 mapping to the description of GAppInfo.
796 2008-09-30 Tor Lillqvist <tml@novell.com>
798 * tests/Makefile.am: Build desktop-app-info only on Unix.
800 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
801 g_critical(). Pass a large enough result buffer to
802 GetVolumePathNameW(). Just use MAX_PATH.
804 2008-09-29 David Zeuthen <davidz@redhat.com>
806 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
808 2008-09-26 Dan Winship <danw@gnome.org>
810 * tests/data-input-stream.c:
811 * tests/data-output-stream.c:
812 * tests/live-g-file.c:
813 * tests/memory-input-stream.c:
814 * tests/memory-output-stream.c: Use g_assert_error() and
817 2008-09-26 Matthias Clasen <mclasen@redhat.com>
819 Bug 545350 – GAppInfo deletion
820 Bug 545351 – Reset associations for content type
823 * gappinfo.[hc]: New functions g_app_info_can_delete,
824 g_app_info_delete and g_app_info_reset_type_associations.
827 * gwin32appinfo.c: Implementations of these.
830 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
832 2008-09-26 Dan Winship <danw@gnome.org>
834 Bug 505361 – gunixinputstream.c assumes poll() available
835 Bug 509446 – portable blocking gio cancellation
837 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
838 GPollFD for a cancellable (which is slightly more complicated on
841 * gunixinputstream.c (g_unix_input_stream_read):
842 * gunixoutputstream.c (g_unix_output_stream_write): Use
843 g_cancellable_make_pollfd() and g_poll() rather than using poll()
846 * tests/unix-streams.c: test of GUnixInputStream,
847 GUnixOutputStream, and GCancellable.
849 2008-09-26 Dan Winship <danw@gnome.org>
851 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
852 cast to stop a gcc warning
854 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
857 2008-09-25 Dan Winship <danw@gnome.org>
859 Bug 553426 - cancellable clarifications
861 * gcancellable.c (g_cancellable_class_init): Add a note to the
862 "cancelled" signal docs warning about thread-safety issues
863 (g_cancellable_cancel): Note that cancelling an asynchronous
864 operation takes effect asynchronously, not immediately.
866 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
868 * gioenums.h: Add new GFileCopyFlag, to leave target file with
869 default perms, instead of setting the source file perms, in a copy
872 * gfile.c (g_file_copy_attributes)
873 (build_attribute_list_for_copy)
874 (should_copy): Not copy "unix::mode" attribute if we have received
875 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
877 2008-09-20 Matthias Clasen <mclasen@redhat.com>
879 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
881 2008-09-17 Matthias Clasen <mclasen@redhat.com>
883 * === Released 2.18.1 ===
885 2008-09-16 Michael Natterer <mitch@imendio.com>
887 * gcontenttype.c (g_content_type_guess): can't assign the return
888 value of g_strdupv() to an array. Fill the array manually with
889 const strings instead (it is never freed anyway). Fixes the
890 build. Also fixed indentation.
892 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
894 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
895 Fix trivial typo to unbreak the build (there was a colon
896 instead of a semicolon at the end of a statement).
898 2008-09-15 Matthias Clasen <mclasen@redhat.com>
900 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
903 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
906 2008-09-15 Matthias Clasen <mclasen@redhat.com>
908 Bug 551681 – g_content_type_guess() too naive with filenames
910 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
911 at the end of the filename, and declare it a directory.
912 Patch by Bastien Nocera
914 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
916 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
919 * gdesktopappinfo.c: add a note in the docs clarifying what the
920 "filename" parameter really is.
922 2008-09-12 Tor Lillqvist <tml@novell.com>
924 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
925 FormatMessage() etc here. Call g_win32_error_message() instead
926 which already does all that. Besides, the code was broken as it
927 called the default "A" version of FormatMessage() but still
928 thought it produced a wide string.
930 2008-09-12 Michael Natterer <mitch@imendio.com>
932 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
933 in the documentation.
935 2008-09-08 Christian Neumair <cneumair@gnome.org>
937 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
938 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
939 Use non-blocking pipe for mount helper I/O. Fixes #550647.
941 2008-09-06 Matthias Clasen <mclasen@redhat.com>
943 Bug 551149 – xdgmime mem leak
945 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
946 a memory leak. Patch by Christian Persch
948 2008-09-04 Tor Lillqvist <tml@novell.com>
950 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
953 2008-09-02 Matthias Clasen <mclasen@redhat.com>
955 * === Released 2.18.0 ===
957 2008-09-02 Michael Natterer <mitch@imendio.com>
959 * *.h: big header formatting cleanup: indentation, vtable
960 formatting, consistent spacing in (* vfunc), trailing whitespace
961 removal. Formatting should be pretty consistent in all GIO headers
964 2008-09-02 Matthias Clasen <mclasen@redhat.com>
966 * gmount.h: Document guess_content_type sync vfunc.
968 2008-09-02 Michael Natterer <mitch@imendio.com>
970 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
971 fix parent_class member to be GFilterOutputStreamClass (not
972 GOutputStreamClass). Drop three pointers of padding, which is
973 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
974 so the class struct size stays the same.
976 2008-09-02 Matthias Clasen <mclasen@redhat.com>
978 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
980 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
981 nonexisting return values. Pointed out by Cosimo Cecchi.
983 2008-08-23 Tor Lillqvist <tml@novell.com>
985 Bug 548988 - g_file_replace fails on Windows when the target file
988 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
989 Windows, close the file before potentially renaming it (in case we
990 have been writing to a file with a temporary name).
992 (g_local_file_output_stream_close, handle_overwrite_open): Use
993 GLocalFileStat instead of plain struct stat, for passing to
994 _g_local_file_info_create_etag(). Thus also use _fstati64()
995 instead of plain fstat() on Windows.
997 2008-08-18 Matthias Clasen <mclasen@redhat.com>
999 * === Released 2.17.7 ===
1001 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
1003 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
1006 2008-08-13 Tor Lillqvist <tml@novell.com>
1008 * win32/gwinhttpvfs.c
1009 * win32/gwinhttpvfs.h
1010 * win32/gwinhttpfile.c
1011 * win32/gwinhttpfileinputstream.c
1012 * win32/gwinhttpfileoutputstream.c: Refactor some common code
1013 snippets into helper functions. Check HTTP response status
1014 codes. Implement g_winhttp_file_query_info(), looking at
1015 Content-Length, Content-Type and Last-Modified.
1017 * win32/winhttp.h: Add some symbolic constants that are not
1018 publicly documented. Just a handful, so it should be OK to use
1019 information from the Windows SDK's headers.
1021 2008-08-13 Tor Lillqvist <tml@novell.com>
1023 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1026 * win32/gwin32directorymonitor.c
1027 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1029 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1032 * goutputstream.c: Add intro docs.
1034 2008-08-13 Tor Lillqvist <tml@novell.com>
1036 * win32/gwinhttpfileoutputstream.c
1037 (g_winhttp_file_output_stream_write): Don't write the
1038 Content-Length header ourselves, WinHttpSendRequest() takes care
1039 of that when the dwTotalLength parameter is non-zero. Increment
1040 offset by the number of actual bytes sent, although I wonder if
1041 such a scenario is possible where less than requested would be
1042 sent and accepted by the server without errors.
1044 2008-08-13 Tor Lillqvist <tml@novell.com>
1046 * win32/gwinhttpvfs.c
1047 * win32/gwinhttpvfs.h
1048 * win32/gwinhttpfile.c
1049 * win32/gwinhttpfile.h
1050 * win32/gwinhttpfileinputstream.c
1051 * win32/gwinhttpfileinputstream.h
1052 * win32/gwinhttpfileoutputstream.c
1053 * win32/gwinhttpfileoutputstream.h: New files implementing
1054 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1055 Windows. The implementation uses the WinHttp API. Both reading and
1056 writing are supported, i.e. GET and PUT requests. When writing,
1057 each write call is done using a separate PUT request with a
1058 Content-Range header. Requests for file URIs and plain pathnames
1059 are forwarded to GLocalVfs.
1061 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1062 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1063 requiring people to download the Windows SDK just for this one
1064 header is not reasonable.
1066 * win32/Makefile.am: Add above files.
1068 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1069 the plumbing for the above.
1071 2008-08-11 Sven Neumann <sven@gimp.org>
1073 * gfilenamecompleter.c
1074 * glocaldirectorymonitor.c
1076 * gunionvolumemonitor.c
1080 * gunixvolumemonitor.c
1083 * gwin32volumemonitor.c: use canonical signal names.
1085 2008-08-11 Tor Lillqvist <tml@novell.com>
1087 * Makefile.am: Put a list of the platform-dependent .la files in
1088 the subdirectories in the platform_deps Make variable, and make
1089 libgio-2.0.la depend on that, so that it gets relinked if one of
1090 the dependent libraries has changed.
1092 2008-08-11 Tor Lillqvist <tml@novell.com>
1094 * Makefile.am (platform_libadd): Remove -lwininet which had been
1095 added by mistake. We will probably eventually be using WinHTTP,
1096 not the older WinInet anyway. (Actually I am working on it.)
1098 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1100 Bug 547080 – g_file_copy leaks expected errors
1102 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1103 before trying the next fallback routine.
1105 2008-08-09 Loïc Minier <lool@dooz.org>
1107 Bug 535124 – umask 002 not being applied for new directories, new
1108 files get the correct umask
1110 * gfile.c (g_file_make_directory)
1111 (g_file_make_directory_with_parents): Document ownership and
1112 permissions of newly created directories as being the default
1113 ones of the process.
1115 2008-08-08 Loïc Minier <lool@dooz.org>
1117 Bug 535124 – umask 002 not being applied for new directories, new
1118 files get the correct umask
1120 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1123 2008-08-08 Tor Lillqvist <tml@novell.com>
1125 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1127 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1128 code that didn't actually do anything inside #if 0, and add a
1129 comment wondering what the code was supposed to do. This also gets
1130 rid of a leftover debugging printout.
1132 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1134 * gfileicon.c (g_file_icon_get_property)
1135 (g_file_icon_set_property): New functions.
1136 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1138 (g_file_icon_new): Use the property (bug #546132).
1140 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1142 * gthemedicon.c (g_themed_icon_get_property): Also handle
1143 `PROP_USE_DEFAULT_FALLBACKS'.
1144 (g_themed_icon_class_init): Make
1145 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1147 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1149 Bug 546371 – Improve docs re g_file_monitor
1151 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1153 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1155 * === Released 2.17.6 ===
1157 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1159 * === Released 2.17.5 ===
1161 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1163 Bug 546017 – Don't copy attributes when copying a symlink
1165 * gfile.c (g_file_copy_attributes): Specify
1166 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1167 g_file_set_attributes_from_info. Patch by Christian Kellner
1169 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1171 * gemblemedicon.[hc]:
1173 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1174 a bit more extensible. Work by Clemens Buss.
1176 * gioenums.h: Add GEmblemOrigin.
1179 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1181 Bug 546079 – leak in xdgmime
1183 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1185 2008-08-03 Tor Lillqvist <tml@novell.com>
1187 * win32/gwin32directorymonitor.h
1188 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1191 2008-08-03 Tor Lillqvist <tml@novell.com>
1193 * win32/gwin32directorymonitor.c
1194 (g_win32_directory_monitor_callback): Make prototype match
1195 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1196 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1199 (g_win32_directory_monitor_constructor):
1200 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1201 names in the GLib API on Windows, so convert to UTF-16 and open
1204 2008-08-03 Tor Lillqvist <tml@novell.com>
1206 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1207 user's folder under Windows
1209 * win32/gwin32directorymonitor.c
1210 (g_win32_directory_monitor_constructor): Ignore error from
1211 CreateFile() when opening directory. Instead of asserting, just
1212 store INVALID_HANDLE_VALUE then in
1213 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1214 ReadDirectoryChangesW().
1215 (g_win32_directory_monitor_cancel): Don't attempt to close
1216 directory handle if it is INVALID_HANDLE_VALUE.
1218 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1220 * gdesktopappinfo.c: Remove debug spew
1222 2008-08-01 Hans Breuer <hans@breuer.org>
1224 * makefile.msc : add gemblembedicon
1226 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1228 Bug 545457 – gdmsetup crashed with SIGSEGV in
1229 g_unix_mount_guess_should_display()
1231 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1232 crash if no mount is found.
1234 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1236 Bug 545203 – gfile.c: argument is different type.
1238 * gfile.c (open_read_async_thread): Pass a GError **
1239 to g_file_set_error_literal.
1240 Reported by Kazuki Iwamoto
1242 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1244 Bug 545157 – wrong/no list of "open with" applications for .cc and
1247 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1248 Collect all ancestors, not just direct parents. Pointed
1249 out by Bastien Nocera
1251 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1253 * Makefile.am: Install gemblemedicon.h
1255 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1257 * gemblemedicon.[hc]: Add a GIcon implementation that can
1258 add an emblem to another icon.
1265 * gfileicon.c: Small documentation additions.
1267 2008-07-28 Tor Lillqvist <tml@novell.com>
1269 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1272 2008-07-27 Tor Lillqvist <tml@novell.com>
1274 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1276 2008-07-24 David Zeuthen <davidz@redhat.com>
1280 Also export a g_mount_guess_content_type_sync() function.
1282 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1284 529694 – SELinux context setting support
1286 * gfileinfo.c: Support setting selinux attributes.
1287 Patch by Tomas Bzatek
1289 2008-07-22 Priit Laes <plaes@plaes.org>
1291 Bug 544140 - fam-helper 64-bit issue?
1293 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1295 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1297 * === Released 2.17.4 ===
1299 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1301 * gvolumemonitor.[hc]:
1302 * gmountoperation.c:
1306 * gmount.c: Documentation fixes
1308 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1310 543504 – crash in Epiphany Web Browser: Opening local file
1314 * gdesktopappinfo.c:
1321 * gvolume.c: Register types thread-safely.
1322 Patch by Christian Persch
1324 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1326 * gcontenttype.c: Remove debug spew
1328 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1330 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1333 * fen/fen-kernel.c: Remove a warning that was causing
1334 crashes. Reported by Lin Ma.
1336 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1338 Bug 543040 – async reading on dummy file will crash on
1341 * gfile.c (open_read_async_thread): Cope with read_fn being
1342 NULL. Reported by Lin Ma.
1344 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1347 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1349 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1352 * gdesktopappinfo.h:
1353 * giomodule.c: Rename a chapter id to avoid filename conflict.
1355 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1357 Bug 540616 – mem leak in filechooser button
1359 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1360 the mount entry. Reported by Chrisitan Persch
1362 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1364 * gfile.c: Small documentation fixes.
1366 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1368 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1370 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1375 * gmount.c: Documentation improvements.
1377 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1380 * gmount.[hc]: Add g_mount_guess_content_type().
1382 2008-07-06 David Zeuthen <davidz@redhat.com>
1385 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1386 is needed for easily handling adoption of foreign volumes by
1387 out-of-process volume monitors (#541793)
1389 2008-07-06 David Zeuthen <davidz@redhat.com>
1391 * gvolumemonitor.[ch]:
1392 * gunionvolumemonitor.c: Export the eject-button signal on the
1393 volume monitor class (#541794).
1395 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1397 * gappinfo.c: More doc tweaks
1399 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1401 * gappinfo.c: Clarify some docs
1403 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1405 * gdesktopappinfo.c: Fix a stupid mistake.
1407 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1409 * === Released 2.17.3 ===
1411 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1413 * gfilemonitor.c: Fix the build.
1415 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1417 Bug 536160 – Add g_file_monitor()
1420 * gfile.[hc]: Add g_file_monitor which can return either
1421 a file or a directory monitor. Proposed by Behdad Esfahbod
1423 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1425 536733 – gio build failure on Irix
1427 * glocalfile.c: Use a configure check for structfs.f_bavail.
1429 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1431 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1434 * gdesktopappinfo.[hc]: Add a function to create a
1435 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1437 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1439 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1441 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1443 * gunixmounts.c: Fix a doc typo.
1445 2008-07-01 Cody Russell <bratsche@gnome.org>
1447 * gio/gcontenttype.c:
1448 * gio/gwin32appinfo.c:
1449 * gio/gwin32volumemonitor.c:
1450 * gio/gwin32mount.c: Fixed some include problems.
1452 2008-07-01 Cody Russell <bratsche@gnome.org>
1456 Moved all relevant typedefs into these files.
1459 Updated wrt added files.
1461 Split types into separate file for easier maintainership. (#538564)
1463 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1465 Bug 540331 – g_file_append_to () documentation: can return NULL
1467 * gfile.c (g_file_append_to): Clarify docs.
1468 Patch by Jared Moore
1470 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1472 Bug 539090 – g_content_type_from_mime_type() should unalias
1474 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1475 Patch by Markus Bergman
1477 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1479 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1480 g_atomic_pointer_get
1482 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1483 on ppc and alpha. Reported by Mart Raudsepp
1485 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1487 * tests/Makefile.am:
1488 * tests/memory-output-stream.c: Add some tests for
1489 GMemoryOutputStream.
1491 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1493 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1496 * gmemoryoutputstream.c (array_resize): Handle truncation to
1497 zero correctly. Reported by Akira Tagoh
1499 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1501 * gmemoryoutputstream.c: Trivial doc fixes
1503 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1505 Bug 540802 – g_list_prepend doesn't concat lists
1507 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1508 one list to another. Pointed out by Jan Arne Petersen
1510 2008-06-28 Michael Natterer <mitch@imendio.com>
1512 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1514 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1516 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1517 to avoid problems with partial icon themes.
1519 2008-06-17 Hans Breuer <hans@breuer.org>
1521 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1522 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1523 access again on win32, see bug #538127
1524 * giomodule.c : ensure GWin32VolumeMonitor is registered
1525 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1526 * Makefile.am makefile.msc : updated
1528 2008-06-16 Hans Breuer <hans@breuer.org>
1530 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1531 and initialization in one step avoids c99ism
1533 2008-06-16 Christian Persch <chpe@gnome.org>
1536 * gio/gbufferedinputstream.c
1537 * gio/gcancellable.c
1538 * gio/gdatainputstream.c
1539 * gio/gdesktopappinfo.c
1541 * gio/gfileenumerator.c
1542 * gio/gfileinputstream.c
1543 * gio/gfileoutputstream.c
1544 * gio/ginputstream.c
1545 * gio/glocaldirectorymonitor.c
1547 * gio/glocalfileenumerator.c
1548 * gio/glocalfileinfo.c
1549 * gio/glocalfilemonitor.c
1550 * gio/glocalfileoutputstream.c
1551 * gio/gmemoryinputstream.c
1552 * gio/gmemoryoutputstream.c
1553 * gio/goutputstream.c
1554 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1557 2008-06-16 Tor Lillqvist <tml@novell.com>
1559 Bug 538362 - Get Win32 icons back in the file chooser
1561 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1562 corresponding to a file extension in the Registry. Patch by Hans
1564 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1566 2008-06-16 Tor Lillqvist <tml@novell.com>
1568 Patches by Hans Breuer:
1570 * glocalfile.c (is_xp_or_later): Handle compiling against older
1571 SDK headers with missing VerifyVersionInfo(). Conditioned on
1572 _MSC_VER, but should probably use some better test.
1573 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1574 uninitialised statfs_result variable on Win32.
1576 2008-06-16 Michael Natterer <mitch@imendio.com>
1578 * *.c: chain up unconditionally in finalize() and dispose(). Also
1579 don't dereference these function pointers when calling them since
1580 that has no meaning at all.
1582 2008-06-16 Ross Burton <ross@burtonini.com>
1584 * gfileenumerator.c:
1585 Remove check for dispose implementation as it annoys Emmanuele.
1587 2008-06-16 Ross Burton <ross@burtonini.com>
1589 Bug 536252 – GFileEnumerator should allow access to the containing
1592 * gfileenumerator.c:
1593 * gfileenumerator.h:
1595 Add g_file_enumerator_get_container() and a container writeable
1596 construct-only property. Also shuffle around typedefs to make it
1599 * glocalfileenumerator.c:
1600 * glocalfileenumerator.h:
1602 Instead of a string filename take a GFile in the constructor and
1603 use it to set the container property.
1606 Update with new API.
1608 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1610 * gfile.c: Make includes more uniform
1612 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1614 * tests/live-g-file.c (sample_struct):
1615 Use less fancy unicode filenames, so the test doesn't fail
1616 on Mac OS X (#531476).
1618 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1620 * === Released 2.17.2 ===
1622 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1624 * === Released 2.17.1 ===
1626 2008-06-11 A. Walton <awalton@gnome.org>
1628 * tests/g-file.c (test_g_file_new_null):
1629 Fix broken test case.
1631 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1633 * pltcheck.sh: We use g_clear_error now.
1635 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1637 * glocalfile.c (g_local_file_enumerate_children): Revert
1638 an unintended change.
1640 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1642 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1644 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1646 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1649 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1650 as icon for the desktop directory, also make user-home and
1651 user-desktop the preferred icons.
1653 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1656 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1657 to add a name to the front of the list.
1659 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1661 Bug 537392 – Additional colon in xattr name
1663 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1664 too. Reported by Alessandro Morandi
1666 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1668 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1671 * glocalfile.c (get_fs_type): Add afs and autofs.
1672 Patch by Danny Baumann.
1674 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1676 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1678 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1679 is no parent. (Owen Taylor, patch by Christian Neumair)
1681 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1683 * gfile.c (g_file_replace_contents): do not leak the output stream.
1685 2008-06-10 Michael Natterer <mitch@imendio.com>
1687 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1688 uninitialized memory as array index.
1690 2008-06-10 Tor Lillqvist <tml@novell.com>
1692 * gcontenttype.c (g_content_type_can_be_executable)
1693 (g_content_type_get_icon) [Win32]: Add TODO comments.
1695 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1697 * xdgmime/Makefile.am: Fix the build
1699 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1701 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1702 in the shared mime database, if available.
1704 * xdgmime/*: Sync with upstream. This brings support for
1705 glob weights, generic icons, and changes the cache format to
1708 2008-05-28 Michael Natterer <mitch@imendio.com>
1710 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1711 the global CPPFLAGS now.
1713 * tests/data-input-stream.c
1714 * tests/data-output-stream.c
1715 * tests/g-file-info.c
1717 * tests/live-g-file.c
1718 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1720 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1722 * === Released 2.17.0 ===
1724 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1725 doesn't complain about leftover files.
1727 2008-05-27 simon.zheng <simon.zheng@sun.com>
1729 * glocalfile.c: (g_local_file_query_filesystem_info):
1730 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1732 2008-05-26 Michael Natterer <mitch@imendio.com>
1734 * gmemoryoutputstream.h: declare
1735 g_memory_output_stream_get_data_size().
1737 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1739 * tests/*: Make tests work
1741 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1743 * gio.symbols: Add g_memory_output_stream_get_data_size.
1745 2008-05-25 Ross Burton <ross@burtonini.com>
1748 Fix typo in error message (#534764).
1750 2008-05-25 Ross Burton <ross@burtonini.com>
1753 Fix circular dependency loop for gioenumtypes.h (#534759).
1755 2008-05-19 Hans Breuer <hans@breuer.org>
1757 * Makefile.am : EXTRA_DIST += makefile.msc
1759 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1762 * gcontenttype.c: (g_content_type_from_mime_type):
1763 New function to create a content type from a mime type. (#527175,
1766 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1768 Bug 532965 – Should not return filesystem::free for certain file systems
1770 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1771 free space for ncpfs.
1773 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1775 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1777 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1778 st_dev might be zero.
1780 2008-05-16 Tor Lillqvist <tml@novell.com>
1782 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1783 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1785 2008-05-13 Bastien Nocera <hadess@hadess.net>
1787 * gfile.c (has_valid_scheme): A URI scheme must start with a
1788 letter, even if later more characters are allowed (#532852)
1790 2008-05-05 Michael Natterer <mitch@imendio.com>
1792 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1793 code from being checked in that breaks the build of applications
1794 which use G_DISABLE_SINGLE_INCLUDES.
1796 * makegioalias.pl: make the alias file include "glib.h" instead of
1799 * gio.symbols: whitespace change to force regeneration of the
1800 alias file after above script change.
1802 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1804 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1806 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1808 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1810 2008-04-28 David Zeuthen <davidz@redhat.com>
1812 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1813 displaying mounts in a subdirectory not accessible to the
1816 2008-04-22 Michael Natterer <mitch@imendio.com>
1818 * Makefile.am: fix library versioning (it was 0.0.0).
1820 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1822 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1823 Default disable all loggings.
1824 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1825 (port_fetch_event_cb): Fixed two macro nits.
1827 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1829 * xdgmime/xdgmime.c: Rework the timestamp checking code
1830 to protect against duplicate directories in XDG_DATA_DIRS.
1831 Fixes fd.o bug 12513, reported by Joe Shaw.
1833 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1835 Partically revert the last commit after realizing that
1836 xdg_mime_media_type_equal doesn't have to init at all.
1838 * xdgmime/xdgmime.h:
1839 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1841 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1843 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1845 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1846 reported by Joe Shaw and Federico Mena Quintero.
1848 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1849 (xdg_mime_media_type_equal): Turn into a wrapper around the
1852 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1853 functions throughout.
1855 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1857 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1858 tolerate an empty TryExec= line without failing; nautilus used
1859 to create launchers with these in previous versions. Fixes #528433
1861 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1863 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1864 after name. Fixes #527132.
1866 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1868 * gfile.c: (g_file_replace):
1871 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1873 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1875 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1876 by Christian Kellner.
1878 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1880 * gunixmounts.c: (g_unix_mount_guess_should_display):
1881 Don't list the user directory as a mount, fix potential issue
1882 when other users have a similar naming and don't special case the
1883 gvfs mounts there since that's not required (#525866)
1885 2008-03-31 Alexander Larsson <alexl@redhat.com>
1887 * glocalfile.c (get_parent):
1890 2008-03-31 A. Walton <awalton@svn.gnome.org>
1892 * gfile.c (g_file_query_file_type):
1893 Always return a GFileType enum value (#520715).
1895 2008-03-31 Alexander Larsson <alexl@redhat.com>
1897 * glocalfileenumerator.c:
1898 Read readdir() info in chunks (of 1000) and sort
1899 the chunks by inode before stat:ing.
1900 This is a 20% performance increase in testing
1901 gvfs-ls on /usr/bin with cold cache.
1903 2008-03-31 Alexander Larsson <alexl@redhat.com>
1905 * gmemoryoutputstream.c:
1906 Clarify docs for g_memory_output_stream_get_size.
1907 Add g_memory_output_stream_get_data_size.
1909 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1913 * gfile.h: Add g_file_query_file_type convenience function
1914 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1916 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1918 * gfileenumerator.c:
1919 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1921 2008-03-28 A. Walton <awalton@svn.gnome.org>
1923 * giomodule.c (_g_io_modules_ensure_loaded):
1924 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1927 2008-03-28 Alexander Larsson <alexl@redhat.com>
1930 (copy_stream_with_progress):
1933 2008-03-28 Alexander Larsson <alexl@redhat.com>
1936 (copy_stream_with_progress):
1937 (file_copy_fallback):
1938 Fallback to g_file_query_info for source size
1939 if g_file_input_stream_query_info fails. (#524579)
1941 2008-03-28 Alexander Larsson <alexl@redhat.com>
1943 * glocalfile.c (g_local_file_move):
1944 Reuse old string instead of adding new one.
1946 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1948 * fen/*.[hc]: still copyright issue. I hate copyright.
1950 2008-03-27 Alexander Larsson <alexl@redhat.com>
1952 * glocalfile.c (g_local_file_move):
1953 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1954 file over directory. This is according to the docs and what the move via
1955 copy+remove fallback does.
1957 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1959 * fen/*.[hc]: Updated copyright.
1961 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1963 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1965 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1967 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1968 not emit attribute changed events when optimizing changed events.
1969 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1972 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1974 * gmountoperation.[hc]: Small documentation additions
1976 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1978 * gunixmounts.c: (guess_mount_type):
1979 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1981 2008-03-19 Alexander Larsson <alexl@redhat.com>
1984 (copy_stream_with_progress):
1985 Bump block side for copy to 64k to minimize
1986 overhead for low latency links. (#523015)
1988 2008-03-16 Tor Lillqvist <tml@novell.com>
1990 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1991 depend on gio.def on Windows.
1993 2008-03-12 David Zeuthen <davidz@redhat.com>
1997 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1999 2008-03-14 Alexander Larsson <alexl@redhat.com>
2003 Avoid redudant tests (#521851)
2004 Patch from Josselin Mouette
2006 2008-03-14 Alexander Larsson <alexl@redhat.com>
2009 (g_file_monitor_is_cancelled):
2010 Fix C89 issue (#521672)
2011 Patch from Jens Granseuer
2013 2008-03-14 Alexander Larsson <alexl@redhat.com>
2015 * fam/fam-helper.[ch]:
2017 Shut down fam (including removing fam GSource) when
2018 module is unloaded (#521513)
2019 Patch from Joe Marcus Clarke
2021 2008-03-14 Alexander Larsson <alexl@redhat.com>
2024 (_g_io_modules_ensure_loaded):
2027 2008-03-14 Alexander Larsson <alexl@redhat.com>
2030 (g_local_file_query_filesystem_info):
2031 Use right define name for f_fstypename member check
2033 2008-03-14 Alexander Larsson <alexl@redhat.com>
2036 * fen/Makefile.am: Added.
2037 * fen/fen-data.[ch]: Added.
2038 * fen/fen-dump.[ch]: Added.
2039 * fen/fen-helper.[ch]: Added.
2040 * fen/fen-kernel.[ch]: Added.
2041 * fen/fen-missing.[ch]: Added.
2042 * fen/fen-node.[ch]: Added.
2043 * fen/fen-sub.[ch]: Added.
2044 * fen/gfendirectorymonitor.[ch]: Added.
2045 * fen/gfenfilemonitor.[ch]: Added.
2047 Added Solaris FEN file notification backend.
2048 Patch from Lin Ma <Lin.Ma@Sun.COM>
2050 2008-03-13 Tor Lillqvist <tml@novell.com>
2052 * Makefile.am: Actually use the gio.def file when linking the
2053 library on Windows. Produce .lib library for Microsoft's toolchain
2054 when possible. Install the .lib and .def file like for the other
2057 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2059 * tests/live-g-file.c:
2060 Include live-g-file in standard set of tests, making a temporary
2061 directory in source structure.
2063 Clean target directory before the tests (write mode only)
2065 2008-03-12 Tor Lillqvist <tml@novell.com>
2067 Bug 517419 - gio win32 directory monitor
2068 Implementation by Vlad Grecescu.
2071 * win32/gwin32directorymonitor.h
2072 * win32/gwin32directorymonitor.c: New files.
2074 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2076 * Makefile.am: Add the win32 subdirectory.
2078 2008-03-12 Tor Lillqvist <tml@novell.com>
2080 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2081 normal struct stat on Unix but struct _stati64 on Windows to have
2082 access to 64-bit file size information. Use that instead of struct
2083 stat in the functions declared here in this private header.
2085 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2086 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2087 warnings about unused functions and variables. Don't set
2088 meaningless attributes like inode numbers on Windows.
2090 2008-03-12 Benjamin Otte <otte@gnome.org>
2093 trim whitespace so gtk-doc groks the function name
2095 2008-03-12 Tor Lillqvist <tml@novell.com>
2097 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2098 returning FALSE, on Win32.
2100 2008-03-11 Alexander Larsson <alexl@redhat.com>
2103 * glocalfileinfo.[ch]:
2104 Correctly implement can_trash by actually
2105 looking for a trash dir, not just assuming
2108 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2110 * === Released 2.16.1 ===
2112 2008-03-11 Alexander Larsson <alexl@redhat.com>
2115 Fix crashes in new constructor and properties code
2117 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2119 * gfile.c: Minor spelling correction in documentation:
2120 existance -> existence.
2122 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2124 * === Released 2.16.0 ===
2126 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2128 * gio.symbols: Remove g_file_contains_file here, too.
2130 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2132 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2133 Samuel Cormier-Iijima)
2135 2008-03-08 Tor Lillqvist <tml@novell.com>
2137 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2140 2008-03-07 Alexander Larsson <alexl@redhat.com>
2143 (g_local_file_query_filesystem_info):
2144 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2145 Patch from Jasper Lievisse Adriaanse
2147 2008-03-06 Tor Lillqvist <tml@novell.com>
2149 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2150 comments for the *_USEC attributes.
2152 2008-03-06 Alexander Larsson <alexl@redhat.com>
2154 * gfile.c (g_file_query_exists):
2155 Add g_return_val_if_fail check (#520700)
2157 2008-03-06 Alexander Larsson <alexl@redhat.com>
2159 * gdesktopappinfo.c:
2162 * gunionvolumemonitor.c:
2165 * tests/live-g-file.c:
2166 * xdgmime/xdgmimecache.c:
2167 Fix sparse warnings (#519489)
2169 2008-03-05 Alexander Larsson <alexl@redhat.com>
2172 Make cancellation threadsafe (i.e.
2173 guarantee its only done once, and always
2176 * glocaldirectorymonitor.c:
2177 Make sure we the monitor lives while the
2178 mounts_changed callback is being called (#520484)
2180 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2182 * gbufferedinputstream.c: Fix typo in parameter
2185 2008-03-04 Alexander Larsson <alexl@redhat.com>
2188 Remove deprecated symbols we kept for one release.
2190 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2193 * goutputstream.c: Tiny documentation corrections.
2195 2008-03-03 Alexander Larsson <alexl@redhat.com>
2197 * gunionvolumemonitor.c:
2199 Fix the adopt_orphan_mount vfunc to take a
2200 volume_monitor reference in an ABI compat way.
2201 This change is not API compat, but the added
2202 arg is not used in the only user of this vfunc, so
2203 all we get is a harmless warning in gvfs (#520169)
2205 2008-03-01 Benjamin Otte <otte@gnome.org>
2208 clarify docs for g_file_delete().
2210 2008-02-29 Alexander Larsson <alexl@redhat.com>
2214 Make sure empty files get text/plain type (#518720)
2216 2008-02-27 Alexander Larsson <alexl@redhat.com>
2222 (g_unix_volume_mount):
2223 Add missing GMountMountFlags argument
2225 2008-02-26 Alexander Larsson <alexl@redhat.com>
2228 (g_local_file_delete):
2229 Handle filesystems (like ntfs-3g) that return EEXIST instead
2230 of ENOTEMPTY (#518816)
2232 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2234 * === Released 2.15.6 ===
2236 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2238 * gfile.c (g_file_find_enclosing_mount):
2239 * ginputstream.c (g_input_stream_set_pending):
2240 * glocalfile.c (g_local_file_find_enclosing_mount):
2241 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2242 * goutputstream.c (g_output_stream_set_pending):
2244 Fixup translator comments (#518578).
2246 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2248 * gfile.c (g_file_find_enclosing_mount):
2250 * glocalfile.c (g_local_file_find_enclosing_mount):
2253 Fix a few typos in translator comments and documentation.
2255 2008-02-25 Alexander Larsson <alexl@redhat.com>
2262 Add translator comments (#518578)
2264 2008-02-25 Alexander Larsson <alexl@redhat.com>
2267 Reintroduce g_file_contains_file, keep around for one
2268 unstable release cycle to avoid crashing to many apps.
2269 Make sure to delete after release.
2271 2008-02-25 Alexander Larsson <alexl@redhat.com>
2274 Remove deprecated g_file_contains_file.
2276 2008-02-25 Alexander Larsson <alexl@redhat.com>
2279 Emit actual change signals in an idle handler.
2280 This avoids reentrance and locking problems in
2281 the file notification backends.
2283 2008-02-25 Alexander Larsson <alexl@redhat.com>
2286 (g_unix_mount_guess_should_display):
2287 Remove type guessing, instead just display
2288 mounts in /media and in ~/.
2290 2008-02-25 Alexander Larsson <alexl@redhat.com>
2293 Make new strings reuse old ones.
2295 2008-02-25 Alexander Larsson <alexl@redhat.com>
2298 Implement trashing and filesystem::readonly for win32 (#517235)
2299 Patch from Yevgen Muntyan
2301 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2303 * gfileinfo.h: Documentation fixes.
2305 2008-02-22 Alexander Larsson <alexl@redhat.com>
2307 * gcontenttype.c (g_content_type_get_icon):
2308 Look at old-style gnome mime icon names too, as many
2309 have not moved to the new style.
2311 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2313 * *.c: Correct the @include in for section docs.
2315 2008-02-21 David Zeuthen <davidz@redhat.com>
2317 * glocalfileinfo.c: (_g_local_file_info_get):
2319 (g_content_type_get_icon): Implement this function by
2320 moving bits from glocalfileinfo.c
2321 (g_content_type_get_description): Unalias before getting
2322 description (#517687)
2324 * gfile.c: (g_file_class_init),
2325 (g_file_query_filesystem_info_async),
2326 (g_file_query_filesystem_info_finish),
2327 (query_filesystem_info_data_free),
2328 (query_filesystem_info_async_thread),
2329 (g_file_real_query_filesystem_info_async),
2330 (g_file_real_query_filesystem_info_finish):
2331 * gfile.h: Implement async version of
2332 g_file_query_filesystem_info()
2334 * gfileinfo.h: Add new attributes for filesystem::use-preview
2336 * gio.symbols: Update
2338 * gthemedicon.c: (g_themed_icon_append_name):
2339 * gthemedicon.h: Add new new convenience function.
2341 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2342 (get_mounts), (get_volumes), (get_connected_drives),
2343 (get_volume_for_uuid), (get_mount_for_uuid),
2344 (g_union_volume_monitor_init), (populate_union_monitor),
2345 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2346 (g_volume_monitor_adopt_orphan_mount):
2348 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2349 monitor implementations to call into the main volume monitor. Also
2350 separate object initialization and volume monitor initialization
2351 such that non-native volume monitors can properly adopt their
2354 2008-02-21 Alexander Larsson <alexl@redhat.com>
2359 2008-02-21 Alexander Larsson <alexl@redhat.com>
2362 Add more documentation about how GFiles work (from #517086)
2364 2008-02-21 Alexander Larsson <alexl@redhat.com>
2368 Add new g_file_has_prefix that does the same as g_file_contains_file.
2369 Deprecate g_file_contains_file and add a macro that converts
2370 it to g_file_has_prefix.
2371 The reason for this change is that the contains_file() name seems to
2372 imply that this does more work than what it does, but its really only
2373 a name match (from #517086)
2378 Update to match the above change.
2380 2008-02-20 Benjamin Otte <otte@gnome.org>
2382 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2383 (g_file_eject_mountable):
2384 even more cases of not returning in error path
2386 2008-02-20 Benjamin Otte <otte@gnome.org>
2388 * gfile.c: (g_file_mount_mountable):
2389 return from function in error path.
2391 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2394 Remove trailing coma in GMountMountFlags struct
2396 2008-02-18 Alexander Larsson <alexl@redhat.com>
2400 * glocalfileoutputstream.c:
2401 Use g_unlink/g_rename instead of unlink/rename;
2402 do not pass raw filenames to g_set_error. (#517239)
2403 Patch from Yevgen Muntyan.
2405 2008-02-18 Alexander Larsson <alexl@redhat.com>
2408 * glocalfileoutputstream.c:
2409 Open files with O_BINARY on windows. (#517140)
2411 2008-02-14 Alexander Larsson <alexl@redhat.com>
2413 * glocalfileoutputstream.c:
2414 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2416 2008-02-14 Alexander Larsson <alexl@redhat.com>
2419 Copy permissions with file on copy (#514084)
2420 This is what cp does and makes sure e.g. the
2421 exec permissions are kept.
2422 Its kinda weird in that it keeps the permission bits
2423 the same while the uid and gid are different. However
2424 the new uid is the user so its not a security issue,
2425 and I've heard no complaints about cp on this issue.
2427 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2429 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2431 2008-02-13 Alexander Larsson <alexl@redhat.com>
2433 * inotify/inotify-path.c:
2434 Define IN_ONLYDIR if not in header (#515346)
2436 2008-02-12 Alexander Larsson <alexl@redhat.com>
2438 * tests/live-g-file.c:
2441 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2443 * === Released 2.15.5 ===
2445 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2447 * gio.symbols: Add g_mount_mount_flags_get_type.
2449 2008-02-11 Alexander Larsson <alexl@redhat.com>
2452 (g_file_info_set_attribute_mask):
2453 (g_file_attribute_matcher_matches_id):
2454 Correctly handle NULL GAttributeMatcher meaning
2455 matches nothing. (Fixes #513492)
2457 2008-02-11 Alexander Larsson <alexl@redhat.com>
2462 Added GMountMountFlags enum and added a flags
2463 argument to all mount calls.
2465 This is an API/ABI change for future extensibility,
2466 as I think we will need at least an
2467 inhibit-autorun flag (the panel needs this).
2468 There are no flags defined yet though.
2470 2008-02-11 Alexander Larsson <alexl@redhat.com>
2473 Added new standard::description attribute.
2474 Requested by Vincent, and useful for both
2477 2008-02-11 Alexander Larsson <alexl@redhat.com>
2479 * gdesktopappinfo.c:
2482 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2484 * *.c: Documentation additions
2486 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2488 * gappinfo.h: Formatting cleanup
2489 * gappinfo.c: Fix up docs.
2491 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2493 * gunixmounts.c: Consistently use getmntent_r() and fall
2494 back to getmntent(). (#515492)
2496 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2498 * gbufferedinputstream.c:
2500 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2502 * tests/data-input-stream.c:
2503 * tests/data-output-stream.c: Portability fixes.
2505 2008-02-08 Alexander Larsson <alexl@redhat.com>
2510 Add g_volume_should_automount.
2513 2008-02-07 Tor Lillqvist <tml@novell.com>
2515 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2516 Win32, too Unix-specific.
2518 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2520 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2521 a local plt if the compiler doesn't support what we want. Bug #514702
2523 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2525 reviewed by: <delete if not using a buddy>
2528 * gunixinputstream.c:
2529 * gunixoutputstream.c:
2531 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2533 * tests/Makefile.am:
2534 * tests/live-g-file.c:
2535 * tests/live-g-file.txt:
2536 New GIO testing module working over real data
2538 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2540 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2541 Fallback to rename() if link() is not available
2542 (when no support on target filesystem)
2544 2008-02-06 Michael Natterer <mitch@imendio.com>
2546 * gfileinfo.c (g_file_info_get_icon): replace
2547 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2549 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2551 * gfile.c (g_file_create):
2552 Documentation update of error codes
2554 2008-02-06 Alexander Larsson <alexl@redhat.com>
2556 * gdesktopappinfo.c:
2557 Update to use both mimeapps.list and
2558 defaults.list as discussed on xdg list.
2560 2008-02-06 Benjamin Otte <otte@gnome.org>
2563 * gfilenamecompleter.c:
2564 Fix some typos in the documentation.
2566 2008-02-06 Alexander Larsson <alexl@redhat.com>
2568 * glocalfile.c (g_local_file_trash):
2569 Don't succeed with trash if newly created
2570 trash dir has the wrong owner. (#514696)
2572 2008-02-05 Alexander Larsson <alexl@redhat.com>
2574 * glocalfile.c (g_local_file_move):
2575 Don't spew warnings when destination is not
2578 2008-02-03 Hans Breuer <hans@breuer.org>
2580 * makefile.msc : update
2582 2008-02-01 Michael Natterer <mitch@imendio.com>
2584 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2585 return value of xdg_mime_list_mime_parents() to a variable of the
2588 2008-02-01 Alexander Larsson <alexl@redhat.com>
2590 * gappinfo.c (g_app_info_launch_uris):
2591 Actually call the launch_uris method, not
2594 2008-02-01 Alexander Larsson <alexl@redhat.com>
2596 * gdesktopappinfo.c (g_desktop_app_info_equal):
2597 Ensure appinfos with no id but same pointer value
2600 2008-02-01 Alexander Larsson <alexl@redhat.com>
2602 * gappinfo.c (g_app_info_launch_default_for_uri):
2605 2008-02-01 Alexander Larsson <alexl@redhat.com>
2609 Add g_app_info_launch_default_for_uri utility
2612 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2614 * gdesktopappinfo.c:
2615 Doc fix for g_app_info_get_default_for_uri_scheme ()
2618 2008-01-30 Alexander Larsson <alexl@redhat.com>
2621 Add doc comment about uris vs GFiles to
2624 * gdesktopappinfo.c:
2625 Ensure uris passed to g_app_info_launch_uris()
2626 are not roundtriped through GFile (as that
2627 may be slightly destructive for e.g. mailto: links)
2629 2008-01-30 Alexander Larsson <alexl@redhat.com>
2631 * tests/data-input-stream.c:
2632 * tests/data-output-stream.c:
2633 C89 fixes from Jens Granseuer (#512849)
2635 2008-01-30 Alexander Larsson <alexl@redhat.com>
2638 Fix gamin/fam difference build issue. (#509419)
2640 2008-01-29 Alexander Larsson <alexl@redhat.com>
2643 * gdesktopappinfo.c:
2644 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2646 2008-01-29 Alexander Larsson <alexl@redhat.com>
2648 * gdesktopappinfo.c:
2649 * gdesktopappinfo.h:
2650 giomodule-priv.h include moved to .c file.
2652 2008-01-29 Alexander Larsson <alexl@redhat.com>
2654 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2655 Remove unused prio/name fields.
2657 2008-01-29 Alexander Larsson <alexl@redhat.com>
2659 * gcontenttype.c (looks_like_text):
2660 Don't treat whitespace as control chars.
2662 2008-01-29 Alexander Larsson <alexl@redhat.com>
2664 * gdesktopappinfo.c:
2665 Lazily create the desktop files for appinfos created
2666 by g_app_info_create_from_commandline() when needed
2667 for mime associations. This allows run-time use
2668 of GAppInfo object without creating unnecessary
2671 2008-01-29 Alexander Larsson <alexl@redhat.com>
2674 Added new symbols to gio.symbols
2676 2008-01-29 Alexander Larsson <alexl@redhat.com>
2679 Add g_file_query_default_handler utility to easily look up
2680 the GAppInfo that handles a file.
2682 * gdesktopappinfo.[ch]:
2684 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2687 Remove unused function
2689 2008-01-29 Alexander Larsson <alexl@redhat.com>
2691 * gfileenumerator.c:
2692 Mention need to free returned value in
2693 g_file_enumerator_next_files_finish docs.
2694 Fix leak if g_file_enumerator_next_files_finish()
2697 2008-01-29 Alexander Larsson <alexl@redhat.com>
2700 (_g_unix_content_type_get_parents):
2701 Use list_parents, not get_parents from xdgmime, because
2702 the later doesn't use the cache.
2704 * xdgmime/xdgmimecache.c:
2705 (_xdg_mime_cache_list_mime_parents):
2706 Don't list the same type as parent multiple times.
2708 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2710 * === Released 2.15.4 ===
2712 2008-01-28 Alexander Larsson <alexl@redhat.com>
2715 Register local vfs with prio 0.
2718 Remove old name and prio class members
2720 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2722 * tests/g-file.c: Disable some tests that are failing in
2723 the absence of a http backend.
2725 2008-01-28 Alexander Larsson <alexl@redhat.com>
2729 Add registration hooks for extension points.
2730 Register the gio extension points.
2732 * fam/gfamdirectorymonitor.c:
2733 * fam/gfamfilemonitor.c:
2734 * glocaldirectorymonitor.[ch]:
2735 * glocalfilemonitor.[ch]:
2736 * gnativevolumemonitor.h:
2737 * gunionvolumemonitor.c:
2738 * gunixvolumemonitor.c:
2741 * inotify/ginotifydirectorymonitor.c:
2742 * inotify/ginotifyfilemonitor.c:
2743 Use the extension points registration instead
2744 of g_type_children().
2746 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2749 * gvolume.[hc]: Document new API.
2751 * gfile.c (g_file_copy_async): Fix docs
2753 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2755 * gbufferedinputstream.c:
2757 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2760 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2762 * glocalfile.c: Avoid trivial differences in translatable strings.
2764 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2766 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2767 build with gcc 3.4 (#509419)
2769 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2771 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2772 (#509994, Murray Cumming)
2774 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2776 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2777 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2778 this allows big jobs to be executed in chunks, instead of blocking
2779 the main loop for a long time.
2781 * gsimpleasyncresult.c:
2782 * giofile.c: Adapt callers.
2784 2008-01-25 Alexander Larsson <alexl@redhat.com>
2786 * gdesktopappinfo.c:
2787 Implement changes discussed on xdg list.
2788 Now we can add supported mimetypes by just using defaults.list
2789 We can also remove associations in defaults.list.
2791 2008-01-25 Alexander Larsson <alexl@redhat.com>
2793 * gdesktopappinfo.c:
2794 Don't make local copy of desktop file
2795 for mimetype changes if the file already
2796 supports the new mimetype.
2798 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2802 * gbufferedinputstream.c:
2803 * glocalfile.c: String improvements. (#511966,
2804 Theppitak Karoonboonyanan)
2806 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2808 * gioscheduler.h: Expand docs a bit.
2810 2008-01-24 Alexander Larsson <alexl@redhat.com>
2813 Add g_drive_get_identifier and
2814 g_drive_enumerate_identifiers
2817 Add g_volume_get_identifier and
2818 g_volume_enumerate_identifiers
2824 Implement identifiers for unix backend
2826 2008-01-24 Alexander Larsson <alexl@redhat.com>
2831 Add g_file_copy_async() (#511580)
2832 Based on patch from Carlos Garcia Campos
2834 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2836 * gioscheduler.c: Some documentation additions.
2838 2008-01-22 Alexander Larsson <alexl@redhat.com>
2840 * gdesktopappinfo.c:
2841 (g_desktop_app_info_new):
2842 Don't leak basename.
2844 2008-01-22 Alexander Larsson <alexl@redhat.com>
2846 * gdesktopappinfo.c:
2847 (g_desktop_app_info_new_from_filename):
2850 2008-01-22 Alexander Larsson <alexl@redhat.com>
2852 * glocalfileinfo.c (get_thumbnail_attributes):
2855 2008-01-22 Alexander Larsson <alexl@redhat.com>
2858 (canonicalize_filename):
2859 Canonicalize paths that start with more than
2863 (compare_two_files):
2864 (test_g_file_new_for_path):
2867 2008-01-22 Alexander Larsson <alexl@redhat.com>
2870 Allow UTF-8 in file:// parse names.
2872 * tests/Makefile.am:
2873 * tests/data-input-stream.c:
2874 * tests/data-output-stream.c:
2875 * tests/g-file-info.c:
2877 Added a bunch of tests from Tomas Bzatek
2879 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2881 * === Released 2.15.3 ===
2883 2008-01-21 Alexander Larsson <alexl@redhat.com>
2885 * gfileinputstream.[ch]:
2886 * gfileoutputstream.[ch]:
2888 Remove duplicated GSeekable functions. (#509990)
2889 Just use the g_seekable_xxx() calls instead.
2891 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2894 * gvolumemanager.c: Whitespace cleanups.
2896 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2897 Use the right mode when creating the file.
2899 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2901 * gfileenumerator.c:
2902 * gfileinputstream.c:
2904 * goutputstream.c: Documentation: Fixed minor typos
2905 and added more mentions of specific _finish() functions.
2907 2008-01-21 Alexander Larsson <alexl@redhat.com>
2909 * inotify/Makefile.am:
2910 * inotify/inotify-helper.c:
2911 * inotify/inotify-kernel.c:
2912 * inotify/inotify-path.c:
2913 * inotify/local_inotify.h: Removed.
2914 * inotify/local_inotify_syscalls.h: Removed.
2915 Removed the included copies of the inotify
2916 headers. We now only use the <sys/inotify.h>
2917 header which exists on modern systems.
2918 This fixes problems on ARM and SH5 (#510448)
2919 but is also generally much cleaner and future
2920 safe. For instance, if other OSes add support
2921 for inotify it should "just work".
2923 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2925 * inotify/*.c: Coding style fixes.
2926 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2927 for the 1/4 Hz timer.
2929 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2932 * gfilemonitor.[hc]:
2933 * gmemoryinputstream.c:
2934 * gmemoryoutputstream.c:
2935 * gmountoperation.c:
2936 * gthemedicon.c: Documentation updates
2938 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2940 * gfile.c: documentation: Fixed more minor
2943 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2945 * gmount.c: (g_mount_remount): documentation:
2946 Mention g_mount_remount_finish() instead of
2947 g_mount_unmount_finish().
2949 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2953 * gfile.c: Fixed some minor typos in the
2956 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2958 * gio/gvolumemonitor.c:
2959 (g_volume_monitor_get_connected_drives):
2960 (g_volume_monitor_get_volumes):
2961 (g_volume_monitor_get_mounts): Documentation:
2962 Clarify the ownership of the regurn GLists.
2964 2008-01-17 Alexander Larsson <alexl@redhat.com>
2967 Add the async find_enclosing_mount version
2968 to the header file too.
2970 2008-01-17 Alexander Larsson <alexl@redhat.com>
2973 Add async version of find_enclosing_mount
2974 with default implementation.
2976 2008-01-17 Alexander Larsson <alexl@redhat.com>
2981 Allow calls to implementation of copy and write
2982 even if the type of the file implementations is
2983 different. This can be used to implement native
2984 upload and download calls in a vfs.
2987 (g_local_file_move):
2988 Protect against the case where move is called
2989 with one file not being local.
2991 Make sure we call the progress callback once
2992 in the native move operation so that the caller
2993 knows how many bytes were copied.
2995 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2998 * gdatainputstream.c:
3000 * gfileoutputstream.c:
3005 * gunixmounts.c: Corrected some typos in the documentation:
3006 occured -> occurred.
3007 its -> it's (where appropriate).
3009 2008-01-16 Alexander Larsson <alexl@redhat.com>
3013 Add g_file_query_exists (#508771)
3015 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3020 * gvolume.c: For async functions that have no non-async
3021 version, document that the GAsyncReadyCallback may be NULL.
3024 2008-01-15 Alexander Larsson <alexl@redhat.com>
3026 * gmemoryinputstream.c:
3027 * gmemoryoutputstream.c:
3028 Don't do pointer arithmetic on void * (#508602)
3029 Patch from Kazuki IWAMOTO
3031 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3033 * === Released 2.15.2 ===
3035 2008-01-14 Alexander Larsson <alexl@redhat.com>
3037 * gfile.c (g_file_monitor_file):
3038 Don't set error here, since we fallback to polling monitor.
3040 2008-01-14 Alexander Larsson <alexl@redhat.com>
3043 (g_file_monitor_directory):
3044 (g_file_monitor_file):
3045 Add GError to file monitor calls
3047 * glocaldirectorymonitor.c:
3048 * glocaldirectorymonitor.h:
3050 * glocalfilemonitor.c:
3051 * glocalfilemonitor.h:
3053 Update for above change
3055 2008-01-14 Alexander Larsson <alexl@redhat.com>
3059 Handle root correctly in g_file_get_relative_path (#508719)
3061 2008-01-14 Alexander Larsson <alexl@redhat.com>
3064 Clean up docs and example for GAsyncResult (#508074)
3066 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3068 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3069 and correct some spelling mistakes. Bug #508108.
3071 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3073 * glocalfileinfo.c: Add a comment.
3075 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3077 * gfileinfo.c: GFileInfo description: Mention
3078 how to actually set attributes in a GFile and how to discover
3079 which attributes are settable. Bug #508378.
3081 2008-01-10 A. Walton <awalton@svn.gnome.org>
3083 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3084 (g_app_info_get_default_for_type):
3085 Check for NULL content types.
3087 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3089 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3091 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3093 * gfile.c: *_async() functions: Several small corrections
3094 to the documentation, mostly correcting copy/paste errors
3095 and improving some sentences.
3097 2008-01-09 Dan Winship <danw@gnome.org>
3099 * glocalfile.c (get_unique_filename): x86_64 fix
3101 2008-01-09 Alexander Larsson <alexl@redhat.com>
3106 Add g_unix_mount_guess_should_display and use
3107 for unix volume monitor backend.
3108 This means we more or less show what the
3109 gnome-vfs backend did.
3110 Based on patch from Padraig O'Briain
3112 2008-01-09 Alexander Larsson <alexl@redhat.com>
3116 Add g_themed_icon_new_with_default_fallbacks
3119 Use default fallbacks for icons
3121 2008-01-09 Alexander Larsson <alexl@redhat.com>
3124 * gmountoperation.[ch]:
3125 Change the API a bit so that unhandled methods
3126 get reported via the reply, rather than by
3127 the signal emission return value. This is because
3128 some handlers can't know this immediately without
3129 doing I/O, and this is an async operation that
3132 2008-01-09 Alexander Larsson <alexl@redhat.com>
3135 * fam/gfamdirectorymonitor.c:
3136 * fam/gfamfilemonitor.c:
3137 Fix double free crash (#508224)
3138 Patch from Joe Marcus Clarke
3140 008-01-07 Matthias Clasen <mclasen@redhat.com>
3142 * === Released 2.15.1 ===
3144 2008-01-07 Alexander Larsson <alexl@redhat.com>
3146 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3147 Fix warning (#507835)
3149 2008-01-07 Alexander Larsson <alexl@redhat.com>
3152 Pass --internal to glib-genmarshal
3155 * gmountoperation.c:
3157 Use better types for signal arguments (#507822)
3159 2008-01-07 Alexander Larsson <alexl@redhat.com>
3162 Build test subdir after .
3163 Remove gdirectorymonitor.[ch]
3165 * gdirectorymonitor.[ch]:
3169 Remove GDirectoryMonitor and make
3170 GFileMonitor the baseclass for both file and
3171 directory monitors. Lift the more generic
3172 rate limiting code from GDirectoryMonitor
3176 * fam/gfamdirectorymonitor.[ch]:
3177 * inotify/ginotifydirectorymonitor.[ch]:
3178 * inotify/inotify-helper.c:
3179 * glocaldirectorymonitor.[ch]:
3182 Update for the removed GDirectoryMonitor.
3184 * gmemoryoutputstream.c:
3185 Remove ununsed variable
3187 2008-01-07 Alexander Larsson <alexl@redhat.com>
3189 * gmemoryinputstream.c:
3190 Translate error strings
3193 * gmemoryoutputstream.[ch]:
3194 New implementation that avoids using GByteArray
3195 in implementation and API. (#506377)
3197 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3199 * tests/*: Add a test for memory input streams.
3201 * Makefile.am: Add tests to SUBDIRS.
3203 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3205 * glocalfilemonitor.c:
3206 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3209 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3211 * gdesktopappinfo.c: Fix a docs typo.
3213 * gfileattribute.c: Add information about extended attributes
3214 to the documentation. (#505058)
3216 2008-01-04 Alexander Larsson <alexl@redhat.com>
3219 * gmountoperation.c:
3220 Use the right type (uint) for the ask_password signal.
3222 2008-01-04 Alexander Larsson <alexl@redhat.com>
3227 Add g_app_info_supports_files()
3228 Remove desktop arg from g_app_info_should_show().
3230 * gdesktopappinfo.[ch]:
3231 Implement g_app_info_supports_files() and new should_show()
3232 Add g_desktop_app_info_set_desktop_env() to set the desktop
3233 for should_show(). (This will be set by gtk+ later)
3235 2008-01-04 Alexander Larsson <alexl@redhat.com>
3238 * gmemoryinputstream.[ch]:
3239 Improve API so that you can use multiple chunks
3240 of memory and custom destroy functions. (#506374)
3242 2008-01-03 Alexander Larsson <alexl@redhat.com>
3245 Handle NULL attribute matchers safely, as we return this
3246 for empty attribute matcher strings.
3248 2008-01-03 Alexander Larsson <alexl@redhat.com>
3250 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3251 Add /usr/local to list of internal mountpoints
3253 2008-01-03 Alexander Larsson <alexl@redhat.com>
3256 Check for HAVE_LCHOWN (#505887)
3258 2008-01-03 Alexander Larsson <alexl@redhat.com>
3262 Add define for selinux context attribute.
3263 Fix missing : -> :: namespace separator change
3264 Fix missing _ -> - name change for xattr-sys.
3267 2008-01-03 Alexander Larsson <alexl@redhat.com>
3270 Link to libglib and libgobject directly (#504879)
3271 Patch from Sebastien Bacher
3273 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3275 * gfile.c: Expanded the g_file_new_for_commandline_arg
3276 description a bit, based on the code and the docs of the
3277 other g_file_new_for_* functions.
3279 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3281 * gfilemonitor.h: Fixed typo in docs.
3283 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3285 Updates to GIO documentation. (#506395, Mikael Hermansson)
3287 * gcontenttype.c: Describe memory management for return value of
3288 g_content_types_get_registered(). Missing piece from #505815.
3289 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3290 GVolume, GDrive, GMounts, which hopefully gives the user less
3291 confusions when using this API. Following explainations from
3292 Alexander Larsson on gtk-devel-list.
3294 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3296 * gfileinfo.c: Expand the long description.
3298 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3301 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3302 fix builds with --disable-visibility. (#500273, Christian Persch)
3304 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3306 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3307 in the list of returned app infos.
3309 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3311 * gappinfo.c: Fix a cross-reference
3313 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3315 * gfileinputstream.c:
3316 * gfileoutputstream.c:
3320 * gdesktopappinfo.c:
3322 * gfileinfo.c: Documentation updates.
3324 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3326 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3329 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3331 * gcontenttype.c (g_content_types_get_registered): Don't return
3332 freed memory (#505815, Mikael Hermansson)
3334 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3336 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3337 used to detect statbuf->st_blocks. (#505042)
3339 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3341 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3342 environment handling. (#504829, Cosimo Cecchi)
3344 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3346 * gappinfo.c: Doc improvements
3348 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3351 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3353 * === Released 2.15.0 ===
3355 2007-12-20 Hans Breuer <hans@breuer.org>
3357 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3358 with symbols gwin32appinfo.obj, added gmount.obj
3359 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3361 2007-12-20 Alexander Larsson <alexl@redhat.com>
3367 * gfilenamecompleter.c:
3370 * gpollfilemonitor.c:
3371 File attribute renames:
3373 fs:: -> filesystem::
3374 id::fs -> id::filesystem
3376 2007-12-20 Alexander Larsson <alexl@redhat.com>
3385 Add GMountUnmountFlags to all unmount and
3387 Add g_mount_remount() call.
3389 2007-12-20 Alexander Larsson <alexl@redhat.com>
3391 * gvfs.c (get_default_vfs):
3392 Fix unused variable warning
3394 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3396 * pltcheck.sh: Update
3398 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3400 * gunionvolumemonitor.c:
3401 * gunixmount.c: Remove C99 comments
3403 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3405 * gio.symbols: Add some missing symbols
3407 2007-12-19 Alexander Larsson <alexl@redhat.com>
3410 Make g_io_modules_load_all_in_directory not unuse
3411 loaded modules so that users of it can do stuff
3413 Init internal "module" types.
3414 Initialize static prio and name for types so that
3415 we don't have to load modules to get it.
3417 * gnativevolumemonitor.h:
3419 Move is_supported to parent class so that
3420 non-native monitors can avoid being initialized
3421 too. (For instance GDaemonVolumeMonitor if we're
3422 not using GDaemonVfs.)
3424 * glocaldirectorymonitor.[ch]:
3425 * glocalfilemonitor.[ch]:
3426 * gunionvolumemonitor.c:
3427 * gunixvolumemonitor.c:
3429 Find plugins using the static prio+name to
3430 avoid unnecessarily loading the modules.
3432 2007-12-19 Alexander Larsson <alexl@redhat.com>
3437 2007-12-19 Alexander Larsson <alexl@redhat.com>
3439 * gunionvolumemonitor.c:
3440 Store the native type as GType, not class so that
3441 we can unload it. But still avoid unnecessarily
3444 2007-12-19 David Zeuthen <davidz@redhat.com>
3446 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3447 add signals 'disconnected' and 'eject-button' on GDrive. Add
3448 signal 'removed' on GVolume and 'unmounted' on GMount.
3450 * gdrive.c: (g_drive_base_init):
3452 * gfile.c: (g_file_mount_mountable),
3453 (g_file_mount_enclosing_volume):
3456 * gmount.c: (g_mount_base_init):
3458 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3459 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3460 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3464 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3466 * *.c: Fix up includes in the section docs.
3468 2007-12-17 Alexander Larsson <alexl@redhat.com>
3470 * gnativevolumemonitor.h:
3471 * gunionvolumemonitor.c:
3472 * gunixvolumemonitor.c:
3473 Add is_supported() to GNativeVolumeMonitorClass so
3474 that we can avoid having to create an object to see
3475 if the backend is supported at runtime.
3476 Also add name member and an env var to pick a specific
3477 volume monitor backend.
3481 Add cancellable to _g_mount_get_for_mount_path()
3483 * glocaldirectorymonitor.c:
3484 * glocalfilemonitor.c:
3485 Avoid loading and unloading modules while sorting.
3487 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3490 * gunixmounts.[hc]: Namespace waste reduction, move some
3491 g_get_unix_mount functions to the g_unix_mount namespace.
3494 * gunixvolumemonitor.c:
3496 * glocaldirectorymonitor.c: Update all callers.
3498 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3500 2007-12-17 Alexander Larsson <alexl@redhat.com>
3503 Add doc comments about what GFile operations are
3504 guaranteed to not block.
3506 2007-12-17 Alexander Larsson <alexl@redhat.com>
3509 Add missing #ifdef fixing OSX build.
3510 (#503334, patch from Richard Hult)
3512 2007-12-14 David Zeuthen <davidz@redhat.com>
3516 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3517 (g_mount_eject), (g_mount_eject_finish):
3519 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3520 (get_volume_for_uuid), (get_mount_for_uuid),
3521 (g_union_volume_monitor_class_init),
3522 (get_default_native_type_with_exclude), (get_default_native_type),
3523 (get_native_type), (update_native_type),
3524 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3525 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3526 (g_unix_mount_can_eject), (eject_unmount_cb),
3527 (eject_unmount_read_error), (eject_unmount_do),
3528 (g_unix_mount_unmount), (g_unix_mount_eject),
3529 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3530 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3531 (g_unix_mount_point_guess_can_eject):
3533 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3534 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3535 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3536 (g_unix_volume_mount), (g_unix_volume_eject),
3537 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3538 * gunixvolumemonitor.c: (get_volume_for_uuid),
3539 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3541 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3542 (g_volume_eject), (g_volume_eject_finish):
3544 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3545 (g_volume_monitor_get_mount_for_uuid):
3548 Provide eject() on both GMount and GVolume and utility functions
3549 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3550 ejected. Introduce the concept of UUID's and wire it into GVolume
3551 and GMount and provide API on GVolumeMonitor to find such
3552 instances. Also handle the case where an external
3553 GNativeVolumeMonitor fails to initialize. Lock around the
3554 _g_get_mount_for_mount_path() function such that volume monitor
3555 implementations won't have to do locking themselves.
3557 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3559 * gdesktopappinfo.c:
3565 * gvolume.h: Documentation updates
3567 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3570 * gfile.h: Doc updates
3572 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3575 * gdesktopappinfo.c: Use hash table iterators.
3577 2007-12-14 Alexander Larsson <alexl@redhat.com>
3580 * gfileattribute.[ch]:
3581 * gfileattribute-priv.h:
3582 Move GFileAttributeValue to a private header, as
3586 Make set_attribute take a type + a pointer instead
3587 of a GFileAttributeValue.
3590 Fix up for above changes.
3591 Add g_file_info_get_attribute_data to get
3592 all info in one call, g_file_info_get_attribute_status
3593 to get the status and g_file_info_get_attribute_as_string.
3597 * glocalfileinfo.[ch]:
3601 Make _guess_type static.
3603 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3606 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3607 made mkenums and friends use temporary files to avoid leaving
3608 empty generated files on failure (#503470).
3610 2007-12-14 Alexander Larsson <alexl@redhat.com>
3612 * gmountoperation.h:
3615 2007-12-14 Alexander Larsson <alexl@redhat.com>
3619 * gfileattribute.[ch]:
3622 * glocalfileoutputstream.c:
3623 * gmountoperation.[ch]:
3624 * goutputstream.[ch]:
3625 Clean up all flags enums to not have _FLAGS in them
3626 Make the names of some of the enums better.
3631 2007-12-14 Michael Natterer <mitch@imendio.com>
3633 * gio.symbols: fix g_io_scheduler symbol names.
3635 2007-12-14 Alexander Larsson <alexl@redhat.com>
3641 * gbufferedinputstream.h:
3642 * gbufferedoutputstream.h:
3645 * gdatainputstream.h:
3646 * gdataoutputstream.h:
3647 * gdesktopappinfo.h:
3648 * gdirectorymonitor.h:
3652 * gfileenumerator.h:
3655 * gfileinputstream.h:
3657 * gfilenamecompleter.h:
3658 * gfileoutputstream.h:
3659 * gfilterinputstream.h:
3660 * gfilteroutputstream.h:
3668 * gmemoryinputstream.h:
3669 * gmemoryoutputstream.h:
3671 * gmountoperation.h:
3674 * gsimpleasyncresult.h:
3676 * gunixinputstream.h:
3678 * gunixoutputstream.h:
3682 * inotify/Makefile.am:
3683 Only allow including <gio/gio.h> from apps
3685 2007-12-14 Alexander Larsson <alexl@redhat.com>
3687 * gioscheduler.[ch]:
3688 * gsimpleasyncresult.c:
3689 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3690 Split out the send_to_mainloop call into two versions instead
3691 of having the block argument.
3693 2007-12-13 Alexander Larsson <alexl@redhat.com>
3695 * gcancellable.[ch]:
3697 * gbufferedinputstream.c:
3698 * gfileenumerator.c:
3699 * gfileinputstream.c:
3700 * gfileoutputstream.c:
3704 g_push/pop_current_cancellable ->
3705 g_cancellable_push/pop_current
3707 2007-12-13 Alexander Larsson <alexl@redhat.com>
3711 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3713 2007-12-13 Alexander Larsson <alexl@redhat.com>
3715 * gmountoperation.h:
3716 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3718 2007-12-12 Alexander Larsson <alexl@redhat.com>
3721 Fix race condition when freeing proxy in
3722 g_io_job_send_to_mainloop().
3724 2007-12-12 Alexander Larsson <alexl@redhat.com>
3730 Make attribute namespace separator "::" instead of ":".
3731 Use - instead of _ as separator in attribute names.
3733 2007-12-12 Alexander Larsson <alexl@redhat.com>
3735 * gbufferedinputstream.h:
3736 * gbufferedoutputstream.h:
3737 * gdatainputstream.h:
3738 * gdataoutputstream.h:
3739 * gdirectorymonitor.h:
3740 * gfileenumerator.h:
3741 * gfileinputstream.h:
3743 * gfileoutputstream.h:
3744 * gfilterinputstream.h:
3745 * gfilteroutputstream.h:
3747 * glocalfileinputstream.h:
3748 * glocalfileoutputstream.h:
3749 * gmemoryinputstream.h:
3750 * gmemoryoutputstream.h:
3751 * gnativevolumemonitor.h:
3753 * gunixinputstream.h:
3754 * gunixoutputstream.h:
3757 s/parent/parent_instance/ in GObjects
3759 2007-12-12 Alexander Larsson <alexl@redhat.com>
3764 No need for padding for interfaces
3766 2007-12-12 Alexander Larsson <alexl@redhat.com>
3770 * gbufferedinputstream.c:
3771 * gbufferedoutputstream.c:
3774 * gdatainputstream.[ch]:
3775 * gdesktopappinfo.c:
3776 * gdirectorymonitor.c:
3778 * gfileattribute.[ch]:
3781 * gfileinputstream.h:
3782 * gfilemonitor.[ch]:
3783 * gfileoutputstream.[ch]:
3784 * gfilterinputstream.h:
3785 * gfilteroutputstream.h:
3788 * gloadableicon.[ch]:
3789 * gmemoryinputstream.c:
3790 * gmountoperation.c:
3792 Fix up a bunch of details in the docs.
3797 2007-12-11 David Zeuthen <davidz@redhat.com>
3799 Rework how volumes, drives and volume monitoring is
3800 done. Previosly the model was
3802 GDrive <1-1> GVolume
3804 where a GDrive instance represented a mount point and a GVolume
3805 instance represented a mounted file system. This patch changes it
3808 GDrive <1-N> GVolume <1-1> GMount
3810 where GMount now serves the purpose of the old GVolume and the new
3811 GVolume serves the purpose of the old GDrive. In addition the new
3812 GDrive interface is used to represent a collection of GVolume
3813 instances (typically partitions) and also contains utility to query
3814 the state of the physical drive the GDrive object represents (such
3815 as checking for media, polling the drive, ejecting the media etc.).
3817 Also implement mounting and unmounting in the Unix volume monitor
3818 backend. A subquent patch will introduce GDrive support for ejection
3822 * gdrive.c: (g_drive_is_media_check_automatic),
3823 (g_drive_is_media_removable), (g_drive_has_media),
3824 (g_drive_can_poll_for_media), (g_drive_eject),
3825 (g_drive_eject_finish), (g_drive_poll_for_media),
3826 (g_drive_poll_for_media_finish):
3828 * gfile.c: (g_file_find_enclosing_mount):
3831 * glocaldirectorymonitor.c:
3832 (g_local_directory_monitor_constructor), (mounts_changed):
3833 * glocalfile.c: (get_mount_info),
3834 (g_local_file_find_enclosing_mount),
3835 (g_local_file_file_iface_init):
3836 * gnativevolumemonitor.h:
3837 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3838 (get_connected_drives), (g_union_volume_monitor_class_init),
3839 (child_volume_added), (child_volume_removed),
3840 (child_volume_changed), (child_mount_added), (child_mount_removed),
3841 (child_mount_pre_unmount), (child_mount_changed),
3842 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3843 (g_union_volume_monitor_remove_monitor),
3844 (_g_mount_get_for_mount_path):
3845 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3846 (guess_system_internal), (_g_get_unix_mounts),
3847 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3848 (g_unix_mount_free), (g_unix_mount_compare),
3849 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3850 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3851 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3852 (type_to_icon), (g_unix_mount_guess_name),
3853 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3854 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3855 (_resolve_symlink), (_resolve_dev_root):
3857 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3858 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3859 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3860 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3861 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3862 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3863 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3864 (g_unix_volume_volume_iface_init):
3866 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3867 (get_mounts), (get_volumes), (get_connected_drives),
3868 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3869 (mountpoints_changed), (mounts_changed),
3870 (g_unix_volume_monitor_init),
3871 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3872 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3873 * gunixvolumemonitor.h:
3874 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3875 (g_volume_mount), (g_volume_mount_finish):
3877 * gvolumemonitor.c: (g_volume_monitor_class_init),
3878 (g_volume_monitor_get_connected_drives),
3879 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3882 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3884 * gmountoperation.h (GPasswordFlags): Close the gap
3886 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3888 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3890 * gdesktopappinfo.[hc]: Remove _-prefixes
3892 2007-12-10 Tor Lillqvist <tml@novell.com>
3894 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3897 2007-12-10 Alexander Larsson <alexl@redhat.com>
3899 * gfile.c (g_file_set_display_name):
3900 Don't hardcode '/' (#502727)
3902 2007-12-09 Hans Breuer <hans@breuer.org>
3904 * makefile.msc : follow lib naming convention
3905 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3906 for user and group name, tested with ../tests/gio-ls
3908 2007-12-09 A. Walton <awalton@svn.gnome.org>
3910 * gdesktopappinfo.c:
3916 * gfileenumerator.c:
3921 * gmemoryinputstream.c:
3922 * gmemoryoutputstream.c:
3924 * gsimpleasyncresult.c:
3925 More documentation cleanup and filling in missing information, bringing
3926 GIO to 99% symbol coverage.
3928 2007-12-08 Hans Breuer <hans@breuer.org>
3930 [gio compiles and links on win32, not sure how much already works]
3931 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3932 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3933 base on win32 API; prefer g_lstat() over lstat(); instead of
3934 localtime_r() use an all GLib implementation on win32;
3935 get_mount_info() still needs a win32 specifc implementation
3936 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3937 win32_get_file_user_info to get owner/group info without uid/gid
3938 * glocalfileinputstream.c : include <io.h> on win32
3939 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3940 definition, use g_win32_ftruncate() for G_OS_WIN32
3941 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3942 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3943 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3944 * makefile.msc : updated
3946 2007-12-07 Alexander Larsson <alexl@redhat.com>
3948 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3949 Avoid warning spew if error == NULL
3951 2007-12-07 Alexander Larsson <alexl@redhat.com>
3954 Update docs wrt etags
3956 2007-12-06 Alexander Larsson <alexl@redhat.com>
3959 Include sys/types.h for dev_t (#501919)
3961 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3965 Make abicheck and pltcheck pass.
3967 2007-12-05 Alexander Larsson <alexl@redhat.com>
3970 * giomodule-priv.h: Added.
3971 * glocaldirectorymonitor.c:
3972 * glocalfilemonitor.c:
3973 * gunionvolumemonitor.c:
3975 Actually add the declaration of _g_io_modules_ensure_loaded
3977 2007-12-05 Alexander Larsson <alexl@redhat.com>
3979 * gdatainputstream.c:
3984 * glocaldirectorymonitor.c:
3985 * glocalfilemonitor.c:
3986 * gunionvolumemonitor.c:
3988 Make g_io_modules_ensure_loaded a private function and
3989 don't pass in the dirname. This means we can do magic
3990 directory finding in the win32 version.
3991 Export the actual load-modules-in-directory code so that
3992 gvfs can reuse that.
3994 2007-12-05 Alexander Larsson <alexl@redhat.com>
3996 * gbufferedinputstream.c:
3997 * gbufferedoutputstream.c:
4000 * gfileenumerator.[ch]:
4001 * gfileinputstream.c:
4002 * gfileoutputstream.[ch]:
4003 * gfilterinputstream.c:
4004 * gfilteroutputstream.c:
4005 * ginputstream.[ch]:
4007 * glocalfileenumerator.c:
4008 * glocalfileinputstream.c:
4009 * glocalfileoutputstream.c:
4010 * gmemoryinputstream.c:
4011 * gmemoryoutputstream.c:
4012 * goutputstream.[ch]:
4015 * gunixinputstream.c:
4016 * gunixoutputstream.c:
4017 Rename all struct members named:
4018 read, write, close, truncate, or mount
4019 to foo_fn, as these are reserved names
4020 and could be defined as macros in libc.
4023 2007-12-04 Alexander Larsson <alexl@redhat.com>
4026 (g_output_stream_close):
4027 Only call flush if non-null.
4029 2007-11-30 Dan Winship <danw@gnome.org>
4031 * ginputstream.c (g_input_stream_set_pending): Make this take a
4032 GError and return a gboolean, and do the "outstanding operation"
4033 check (and the "stream is already closed" check) itself.
4034 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4036 * goutputstream.c (g_output_stream_set_pending)
4037 (g_output_stream_clear_pending): Likewise
4039 * gbufferedinputstream.c:
4040 * gfileinputstream.c:
4041 * gfileoutputstream.c: Update for that
4043 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4044 Like g_simple_async_report_error_in_idle, but takes a GError
4045 rather than building one.
4047 2007-11-30 Dan Winship <danw@gnome.org>
4049 * goutputstream.c: Don't cheat and unset the "pending" flag around
4050 inner calls. Instead, call the class method directly rather than
4051 the wrapper function that checks "pending"
4053 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4055 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4057 2007-12-03 Hans Breuer <hans@breuer.org>
4059 [start of port to win32/msvc]
4060 * gcancellable.c : HAVE_UNIST_H and _pipe()
4061 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4062 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4063 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4065 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4066 * glocalvfs.c : use HAVE_PWD_H
4067 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4068 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4069 * Makefile.am : added to EXTRA_DIST
4071 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4073 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4076 2007-12-03 Alexander Larsson <alexl@redhat.com>
4079 Handle OSX style xattrs API (#500506)
4081 2007-12-03 Alexander Larsson <alexl@redhat.com>
4085 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4087 2007-12-02 A. Walton <awalton@svn.gnome.org>
4091 Documentation accuracy fixes.
4093 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4095 * gioenumtypes.c.template: Fix typo.
4097 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4099 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4101 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4103 * gdirectorymonitor.c:
4104 * gfilemonitor.c: Add properties
4106 * gbufferedoutputstream.c: Don't mark buffer-size property
4109 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4111 * gbufferedoutputstream.c: Add auto-grow property.
4113 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4115 * *.c: Unify the capitalization of section headings.
4117 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4119 * gmountoperation.c: Add properties
4121 * gdatainputstream.c: Turn byte-order and newline-type into
4124 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4126 * gioenumtypes.[hc].template: Templates for enum registration
4128 * Makefile.am: Generate gioenumtypes.[hc]
4130 * gio.h: Include gioenumtypes.h
4132 * gfile.h: Add some explicit nicks.
4134 * gio.symbols: Add new symbols
4136 * pltcheck.sh: Adjust
4138 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4140 * *.c: Explain etags and link to the explanation
4142 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4144 * *.c: Explain I/O priority.
4146 * *.c: More coding style fixes.
4148 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4150 * gasyncresult.c: Add another paragraph to the intro,
4151 adjust coding style of example.
4153 2007-11-29 A. Walton <awalton@svn.gnome.org>
4156 Fixes unknown meaning in GAppLaunchContext docs.
4158 Clarify asynchronous ops.
4160 Fix entity tag docs.
4163 Provides missing gtk-doc section, fixes API docs slighly.
4164 * gsimpleasyncresult.c:
4165 Fill in missing info in docs.
4166 * gunixinputstream.c:
4167 * gunixoutputstream.c:
4168 Be more expressive in short description.
4170 Remove gtk-doc stubs for non-public API.
4172 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4174 * *.c: Coding style fixups
4176 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4178 * inotify/inotify-helper.c: Don't export the lock from libgio.
4180 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4183 * abicheck.sh: Fix copy-and-paste leftovers
4185 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4187 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4189 2007-11-28 Alexander Larsson <alexl@redhat.com>
4193 Removed unnecessary file
4195 * gdesktopappinfo.[ch]:
4198 * glocaldirectorymonitor.[ch]:
4200 * glocalfileenumerator.[ch]:
4201 * glocalfileinputstream.[ch]:
4202 * glocalfilemonitor.[ch]:
4203 * glocalfileoutputstream.[ch]:
4205 * gnativevolumemonitor.c:
4206 * gpollfilemonitor.[ch]:
4207 * gunionvolumemonitor.[ch]:
4210 * gunixvolumemonitor.[ch]:
4213 * inotify/ginotifydirectorymonitor.[ch]:
4214 * inotify/ginotifyfilemonitor.[ch]:
4215 * inotify/inotify-helper.c:
4216 Append _ to all internal functions
4220 Export symbols needed for modules
4222 2007-11-28 Alexander Larsson <alexl@redhat.com>
4225 * abicheck.sh: Added.
4226 * makegioalias.pl: Added.
4227 * pltcheck.sh: Added.
4228 * gio.symbols: Added.
4231 Initial work on adding symbol handling.
4234 Correct ifdef guard name
4237 * inotify/Makefile.am:
4238 * xdgmime/Makefile.am:
4239 Include toplevel Makefile.decl
4241 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4243 * gcontenttype.c: Move doc comments to the unix section.
4245 * *.[hc]: More trivial doc corrections.
4247 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4249 * gpollfilemonitor.c:
4253 * gdesktopappinfo.c:
4258 * gdatainputstream.c:
4259 * gdatainputstream.h:
4260 * gdataoutputstream.c:
4261 * gdataoutputstream.h:
4262 * gfileinfo.h: Doc cleanups
4264 2007-11-28 Andre Klapper <a9016009@gmx.de>
4266 * gdesktopappinfo.c: Fix a typo.
4268 2007-11-27 Andre Klapper <a9016009@gmx.de>
4270 * glocalfileoutputstream.c: Fix a typo.
4272 2007-11-27 Alexander Larsson <alexl@redhat.com>
4275 Don't include removed headers
4277 2007-11-27 Alexander Larsson <alexl@redhat.com>
4280 * gsocketinputstream.[ch]: Removed.
4281 * gsocketoutputstream.[ch]: Removed.
4282 * gunixinputstream.[ch]: Added.
4283 * gunixoutputstream.[ch]: Added.
4284 Renamed GSocket*Stream to GUnix*Stream and made
4285 it unix-only, since its not really only for sockets
4286 and it only works on unix (but is highly useful there).
4288 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4294 * gbufferedinputstream.c:
4295 * gbufferedinputstream.h:
4296 * gbufferedoutputstream.c:
4297 * gbufferedoutputstream.h:
4301 * gdatainputstream.c:
4302 * gdatainputstream.h:
4303 * gdataoutputstream.c:
4304 * gdataoutputstream.h:
4305 * gdirectorymonitor.c:
4306 * gdirectorymonitor.h:
4313 * gfileenumerator.c:
4314 * gfileenumerator.h:
4319 * gfileinputstream.c:
4320 * gfileinputstream.h:
4323 * gfilenamecompleter.c:
4324 * gfilenamecompleter.h:
4325 * gfileoutputstream.c:
4326 * gfileoutputstream.h:
4327 * gfilterinputstream.c:
4328 * gfilterinputstream.h:
4329 * gfilteroutputstream.c:
4330 * gfilteroutputstream.h:
4343 * glocalfileoutputstream.c:
4344 * gmemoryinputstream.c:
4345 * gmemoryinputstream.h:
4346 * gmemoryoutputstream.c:
4347 * gmemoryoutputstream.h:
4348 * gmountoperation.c:
4349 * gmountoperation.h:
4352 * gpollfilemonitor.c:
4355 * gsimpleasyncresult.c:
4356 * gsimpleasyncresult.h:
4357 * gsocketinputstream.c:
4358 * gsocketinputstream.h:
4359 * gsocketoutputstream.c:
4360 * gsocketoutputstream.h:
4367 * gunixvolumemonitor.c:
4376 Bumps documentation to 93% symbol coverage, touching most
4377 of the public files. Fixes broken function documentation prototypes.
4378 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4379 gtk-doc headers in private files.
4381 2007-11-27 Jürg Billeter <j@bitron.ch>
4383 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4384 (g_buffered_input_stream_read_byte):
4385 * gbufferedinputstream.h:
4386 New functions for efficient access to buffer and simple single byte
4389 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4390 (g_data_input_stream_read_until):
4391 * gdatainputstream.h:
4392 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4393 read_until with multiple stop chars.
4395 2007-11-27 Alexander Larsson <alexl@redhat.com>
4399 * inotify/Makefile.am:
4400 Use the user-specified giomoduledir
4402 2007-11-27 Alexander Larsson <alexl@redhat.com>
4406 Add catch-all gio.h header
4407 Don't install gdummyfile.h
4409 2007-11-26 Alexander Larsson <alexl@redhat.com>
4411 * Makefile.am (gioinclude_HEADERS):
4412 Remove trailing whitespace
4414 2007-11-26 Alexander Larsson <alexl@redhat.com>
4416 Merge gio-standalone into glib
4418 2007-11-25 Christian Kellner <gicmo@gnome.org>
4420 * gio/goutputstream.c:
4421 Fix small mistake in the docs.
4423 2007-11-21 Christian Persch <chpe@gnome.org>
4425 * gio/glocalfile.c: (g_local_file_trash):
4426 Convert filenames to UTF-8 for GError.
4427 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4428 as per xdg base dir spec.
4430 2007-11-21 Christian Persch <chpe@gnome.org>
4432 * gio/gdesktopappinfo.c:
4433 Use that g_key_file_to_data cannot fail.
4435 Use stock defines for the key file group and key names.
4438 2007-11-21 Alexander Larsson <alexl@redhat.com>
4441 (copy_stream_with_progress):
4442 Make sure we do a final progress callback with
4443 the full total size.
4445 2007-11-21 Alexander Larsson <alexl@redhat.com>
4448 Export g_file_copy_attributes
4449 Remove padding as its not needed for interfaces
4451 2007-11-20 Alexander Larsson <alexl@redhat.com>
4456 Add G_IO_ERROR_WOULD_MERGE for
4457 copy/move dir on dir with overwrite.
4459 2007-11-20 Alexander Larsson <alexl@redhat.com>
4462 * gio/glocalfileinfo.c:
4463 Add COPY_NAME (this is an optional
4464 non-modified utf8 version of the name) that
4467 2007-11-20 Alexander Larsson <alexl@redhat.com>
4469 * gio/glocalfileenumerator.c:
4470 Report errors as GIOError, not GFileError
4472 2007-11-16 Alexander Larsson <alexl@redhat.com>
4474 * gio/glocalfileoutputstream.c:
4475 * gio/gwin32appinfo.c:
4476 Fix typos in strings.
4477 Patch from Luca Ferretti <elle.uca@libero.it>
4479 2007-11-15 Alexander Larsson <alexl@redhat.com>
4482 Post release version bump
4484 === gio-standalone 0.1.2 ===
4486 2007-11-15 Alexander Larsson <alexl@redhat.com>
4488 * docs/reference/gio/Makefile.am:
4489 Fix up distcheck by removing weird
4495 2007-11-14 Alexander Larsson <alexl@redhat.com>
4497 * gio/gdesktopappinfo.c:
4498 * gio/glocaldirectorymonitor.c:
4500 * gio/glocalfileinfo.c:
4501 * gio/inotify/inotify-sub.c:
4502 * programs/gio-cat.c:
4503 * programs/gio-copy.c:
4504 * programs/gio-info.c:
4505 * programs/gio-ls.c:
4506 * programs/gio-monitor-dir.c:
4507 * programs/gio-monitor-file.c:
4508 * programs/gio-mount.c:
4509 * programs/gio-move.c:
4510 * programs/gio-rm.c:
4511 * programs/gio-save.c:
4512 * programs/gio-trash.c:
4513 Leak fixes from Kjartan Maraas
4515 2007-11-14 Alexander Larsson <alexl@redhat.com>
4517 * gio/fam/fam-helper.c:
4519 * gio/glocalfileinfo.c:
4523 * gio/inotify/inotify-diag.c:
4524 * gio/inotify/inotify-kernel.c:
4525 Various code cleanups from Kjartan Maraas
4527 2007-11-14 Alexander Larsson <alexl@redhat.com>
4529 * gio/gioscheduler.c:
4531 Set up threadpool so that we cache 2 unused
4532 idle threads for at 15 secs. This means we
4533 will reuse thread-local data (like dbus connections)
4536 2007-11-14 Alexander Larsson <alexl@redhat.com>
4538 * gio/fam/fam-helper.c:
4539 * gio/fam/gfamdirectorymonitor.c:
4540 * gio/fam/gfamfilemonitor.c:
4542 * gio/gcontenttype.c:
4543 * gio/gdatainputstream.c:
4544 * gio/gdataoutputstream.c:
4548 * gio/gfileattribute.h:
4549 * gio/gfileenumerator.c:
4551 * gio/ginputstream.c:
4554 * gio/glocalfileinfo.c:
4555 * gio/goutputstream.c:
4556 * gio/gpollfilemonitor.c:
4557 * gio/gsimpleasyncresult.c:
4558 * gio/gunixmounts.c:
4559 * gio/gunixmounts.h:
4560 * gio/inotify/ginotifydirectorymonitor.c:
4561 * gio/inotify/ginotifyfilemonitor.c:
4562 * gio/inotify/inotify-diag.c:
4563 * gio/inotify/inotify-kernel.c:
4564 * gio/inotify/inotify-path.c:
4566 * gio/test-streams.c:
4567 * programs/gio-info.c:
4568 * programs/gio-monitor-dir.c:
4569 * programs/gio-monitor-file.c:
4570 Various code cleanups from Kjartan Maraas
4572 2007-11-13 Alexander Larsson <alexl@redhat.com>
4575 Handle the uri-scheme calls for dummy files
4577 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4579 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4580 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4581 to avoid clash with the C++ keyword.
4583 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4585 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4586 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4588 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4590 * gio/glocaldirectorymonitor.c:
4591 * gio/glocalfilemonitor.c:
4592 * gio/gunionvolumemonitor.c:
4593 Don't use g_once_init_*() for initializations that could fail and
4594 could leave the initialization variable set to 0 but use GOnce.
4595 This prevents a deadlock on the second call when trying to create
4596 a monitor and no monitor type is available. Thanks to Sven Herzberg
4599 2007-11-11 Sven Herzberg <sven@imendio.com>
4601 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4602 #ifdef (make it work on MacOS X again)
4604 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4606 Fixes Changelog for last two commits (sorry guys).
4608 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4610 * gio/gbufferedinputstream.c:
4611 * gio/gdatainputstream.c:
4613 * gio/gfileoutputstream.c:
4614 * gio/gfilterinputstream.c:
4615 * gio/glocalfileinputstream.c:
4618 More consistency fixes in g*stream.c files.
4619 Significant clean of gfile's documentation, filling in of
4620 asynchronous operations documentation.
4622 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4624 * gio/gasyncresult.c:
4625 * gio/gbufferedinputstream.c:
4626 * gio/gbufferedoutputstream.c:
4627 * gio/gcancellable.c:
4628 * gio/gcontenttype.c:
4629 * gio/gdatainputstream.c:
4630 * gio/gdataoutputstream.c:
4631 * gio/gdesktopappinfo.c:
4634 * gio/gfileattribute.c:
4635 * gio/gio/gfileenumerator.c:
4637 * gio/gfileinputstream.c:
4638 * gio/gfilemonitor.c:
4639 * gio/gfileoutputstream.c:
4640 * gio/ginputstream.c:
4642 * gio/gioscheduler.c:
4643 * gio/gloadableicon.c:
4644 * gio/glocalfileoutputstream.c:
4645 * gio/gmemoryoutputstream.c:
4646 * gio/gmountoperation.c:
4647 * gio/goutputstream.c:
4649 * gio/gsimpleasyncresult.c:
4650 * gio/gunionvolumemonitor.c:
4651 * gio/gunixmounts.c:
4652 * gio/gunixvolume.c:
4656 * gio/gvolumemonitor.c:
4657 Updated documentation stubs, working towards consistency and
4660 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4662 * gio/gmemoryoutputstream.c:
4663 * gio/gmemoryoutputstream.h:
4664 Change g_memory_output_stream_set_free_on_close() to
4665 g_memory_output_stream_set_free_data() as this makes more sense and
4666 is more consistent with GMemoryInputStream.
4668 2007-11-07 Alexander Larsson <alexl@redhat.com>
4675 Change how we find the default vfs so that
4676 we can handle a gvfs failing to init
4678 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4680 * gio/gbufferedoutputstream.c:
4681 * gio/gdatainputstream.c:
4682 * gio/gdataoutputstream.c:
4683 * gio/gfileinputstream.c:
4684 * gio/gfileoutputstream.c:
4685 * gio/gfilterinputstream.c:
4686 * gio/gfilteroutputstream.c:
4687 * gio/ginputstream.c:
4688 * gio/gmemoryinputstream.c:
4689 * gio/gmemoryoutputstream.c:
4690 * gio/goutputstream.c:
4691 * gio/gsimpleasyncresult.c:
4692 * gio/gsocketinputstream.c:
4693 * gio/gsocketoutputstream.c:
4694 Add guards to the remaining public functions, add a TODO for
4695 an unimplemented function and remove some useless guards.
4697 2007-11-07 Alexander Larsson <alexl@redhat.com>
4700 Autoconf checks for the various types of
4701 getpwuid_r and getgrgid_r
4703 * gio/glocalfileinfo.c:
4704 Use the autoconf checks from above
4706 2007-11-07 Alexander Larsson <alexl@redhat.com>
4709 (g_local_file_query_filesystem_info):
4710 Some fixes for the statvfs case
4712 2007-11-07 Alexander Larsson <alexl@redhat.com>
4715 (g_local_file_query_filesystem_info):
4716 Pick the "best" of statfs / statvfs for the system
4717 if both are availible.
4719 2007-11-07 Alexander Larsson <alexl@redhat.com>
4721 Solaris fixes from Halton.Huo@Sun.COM:
4728 * gio/glocalfileinfo.c:
4729 Fix for solaris definition of getpwuid_r
4731 * gio/test-streams.c:
4732 Use G_GNUC_PRETTY_FUNCTION
4734 2007-11-07 Alexander Larsson <alexl@redhat.com>
4736 * gio/gdesktopappinfo.c:
4737 (update_default_list):
4738 Remove double semicolon.
4739 Patch from Jens Granseuer
4741 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4743 * docs/reference/gio/gio-sections.txt:
4744 * gio/gbufferedinputstream.c:
4745 * gio/gbufferedinputstream.h:
4746 * gio/gdatainputstream.c:
4747 * gio/gfileenumerator.c:
4748 * gio/gioscheduler.c:
4749 * gio/gunionvolumemonitor.c:
4751 * programs/gio-save.c:
4752 Fix typo: availible -> available. Unfortuntely this breaks API
4753 and ABI as g_buffered_input_stream_get_available() was renamed.
4755 * gio/gunixmounts.c:
4756 * gio/gbufferedinputstream.c:
4757 Add guards for public functions.
4759 2007-11-06 Ross Burton <ross@openedhand.com>
4761 * docs/reference/gio/Makefile.am:
4762 Fix invalid += usage which automake 1.10 doesn't like.
4764 2007-11-06 Alexander Larsson <alexl@redhat.com>
4767 (g_app_launch_context_class_init):
4770 Patch from Ross Burton
4772 2007-11-06 Alexander Larsson <alexl@redhat.com>
4775 Post release version bump
4777 === gio-standalone 0.1.1 ===
4779 2007-11-06 Alexander Larsson <alexl@redhat.com>
4782 Bump version to 0.1.1
4784 * gio/gsimpleasyncresult.c:
4785 (g_simple_async_result_set_from_error):
4786 Remove bogus g_return_if_fail
4788 2007-11-06 Alexander Larsson <alexl@redhat.com>
4791 The name is gio-standalone
4794 Add top src/builddir to includedir
4796 2007-11-06 Alexander Larsson <alexl@redhat.com>
4798 * docs/reference/gio/gio-sections.txt:
4800 * gio/gbufferedinputstream.c:
4801 * gio/gbufferedoutputstream.c:
4802 * gio/gcancellable.c:
4803 * gio/gdatainputstream.h:
4804 * gio/gdataoutputstream.c:
4805 * gio/gdataoutputstream.h:
4806 * gio/gdirectorymonitor.c:
4808 * gio/gfileattribute.c:
4809 * gio/gfileattribute.h:
4810 * gio/gfileenumerator.c:
4811 * gio/gfileenumerator.h:
4814 * gio/gfileinputstream.h:
4815 * gio/gfilemonitor.c:
4816 * gio/gfileoutputstream.h:
4817 * gio/glocalfilemonitor.h:
4818 * gio/glocalfileoutputstream.h:
4819 * gio/gmemoryinputstream.c:
4820 * gio/gmemoryoutputstream.c:
4821 * gio/gmountoperation.c:
4822 * gio/goutputstream.c:
4823 * gio/goutputstream.h:
4825 * gio/gsimpleasyncresult.c:
4826 * gio/gunixmounts.c:
4827 * gio/gunixmounts.h:
4829 * gio/inotify/inotify-helper.c:
4830 Fix gtk-doc warnings
4832 Patch from Ross Burton
4834 2007-11-06 Alexander Larsson <alexl@redhat.com>
4836 * gio/gfilenamecompleter.c:
4837 (g_filename_completer_get_completions):
4840 * gio/gunixvolume.c:
4841 Remove unused function
4843 Patches from Ross Burton
4845 2007-11-06 Alexander Larsson <alexl@redhat.com>
4850 Padding not needed for interfaces
4852 2007-11-06 Alexander Larsson <alexl@redhat.com>
4854 * gio/gfilemonitor.c:
4858 Make giotypes.h an internal file
4861 * gio/gbufferedinputstream.h:
4862 * gio/gbufferedoutputstream.h:
4863 * gio/gcancellable.h:
4864 * gio/gdatainputstream.h:
4865 * gio/gdataoutputstream.h:
4866 * gio/gdirectorymonitor.c:
4867 * gio/gdirectorymonitor.h:
4872 * gio/gfileattribute.h:
4873 * gio/gfileenumerator.h:
4878 * gio/gfilemonitor.c:
4879 * gio/gfilemonitor.h:
4880 * gio/gfilenamecompleter.c:
4881 * gio/gfilenamecompleter.h:
4882 * gio/gfilterinputstream.h:
4883 * gio/gfilteroutputstream.h:
4884 * gio/ginputstream.h:
4885 * gio/gmemoryinputstream.h:
4886 * gio/gmemoryoutputstream.h:
4887 * gio/gmountoperation.c:
4888 * gio/gmountoperation.h:
4889 * gio/gnativevolumemonitor.c:
4890 * gio/goutputstream.h:
4893 * gio/gsimpleasyncresult.c:
4894 * gio/gsimpleasyncresult.h:
4895 * gio/gsocketinputstream.h:
4896 * gio/gsocketoutputstream.h:
4897 * gio/gthemedicon.c:
4898 * gio/gthemedicon.h:
4902 * gio/gvolumemonitor.c:
4903 * gio/gvolumemonitor.h:
4904 Add padding in classes where it seems useful
4905 Don't include giotypes.h from public headers
4906 Move in Class definitions into c file where possible
4911 2007-11-06 Alexander Larsson <alexl@redhat.com>
4913 * docs/reference/gio/gio-docs.xml:
4914 Better structure for API docs
4916 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4919 * gio/gloadableicon.c:
4920 * gio/gsimpleasyncresult.c:
4921 * gio/gthemedicon.c:
4922 Add some more guards to public functions. Only files missing are now
4925 2007-11-06 Alexander Larsson <alexl@redhat.com>
4927 * docs/reference/gio/gio-docs.xml:
4928 Remove old files, add missing ones
4930 2007-11-06 Alexander Larsson <alexl@redhat.com>
4932 * docs/reference/gio/gio-sections.txt:
4935 Hide implementation classes
4937 * gio/gdriveprivate.h:
4938 * gio/gvolumeprivate.h:
4939 Remove non-existing function declarations
4941 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4944 Fix compilation warnings and add guards to the new functions.
4946 * gio/gasyncresult.c:
4948 Add guards to the public functions.
4951 Implement get_path().
4953 2007-11-06 Alexander Larsson <alexl@redhat.com>
4955 * gio/gfilenamecompleter.c:
4956 Make g_filename_completer_get_completions
4957 return char ** instead of GList for
4960 * docs/reference/gio/gio-docs.xml:
4961 * docs/reference/gio/gio-sections.txt:
4963 * gio/gasyncresult.c:
4964 * gio/gbufferedinputstream.c:
4965 * gio/gbufferedoutputstream.c:
4966 * gio/gcancellable.c:
4967 * gio/gcontenttype.c:
4968 * gio/gdatainputstream.c:
4969 * gio/gdataoutputstream.c:
4970 * gio/gdesktopappinfo.c:
4971 * gio/gdirectorymonitor.c:
4975 * gio/gfileattribute.c:
4976 * gio/gfileenumerator.c:
4979 * gio/gfileinputstream.c:
4980 * gio/gfilemonitor.c:
4981 * gio/gfilenamecompleter.c:
4982 * gio/gfilenamecompleter.h:
4983 * gio/gfileoutputstream.c:
4984 * gio/gfilterinputstream.c:
4986 * gio/ginputstream.c:
4988 * gio/gioscheduler.c:
4989 * gio/gloadableicon.c:
4990 * gio/glocaldirectorymonitor.c:
4992 * gio/glocalfileinputstream.c:
4993 * gio/glocalfilemonitor.c:
4994 * gio/glocalfileoutputstream.c:
4996 * gio/gmemoryinputstream.c:
4997 * gio/gmemoryoutputstream.c:
4998 * gio/gmountoperation.c:
4999 * gio/goutputstream.c:
5000 * gio/gpollfilemonitor.c:
5002 * gio/gsimpleasyncresult.c:
5003 * gio/gsocketinputstream.c:
5004 * gio/gsocketoutputstream.c:
5005 * gio/gthemedicon.c:
5006 * gio/gunionvolumemonitor.c:
5008 * gio/gunixmounts.c:
5009 * gio/gunixvolume.c:
5010 * gio/gunixvolumemonitor.c:
5014 * gio/gvolumemonitor.c:
5015 * gio/gwin32appinfo.c:
5016 Add (mostly stub) doc strings to public functions.
5017 Patch from Andrew Walton (awalton@gmail.com)
5019 2007-11-06 Alexander Larsson <alexl@redhat.com>
5021 * gio/gappinfo.[ch]:
5022 Added GAppLaunchContext object and pass that to launch.
5023 This allows simple implementation of both
5024 launch-on-screen and startup notification via a gtk+
5025 subclass of GAppLaunchContext
5027 * gio/gdesktopappinfo.c:
5028 Implement GAppLaunchContext API
5030 * gio/gwin32appinfo.c:
5033 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5035 * gio/gmountoperation.c:
5036 Add some guards to GMountOperation's public functions.
5038 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5042 * gio/gcancellable.c:
5043 * gio/gdirectorymonitor.c:
5045 * gio/gfileenumerator.c:
5046 * gio/gfilemonitor.c:,
5047 * gio/gfilenamecompleter.c:
5050 * gio/gioscheduler.c:
5054 * gio/gvolumemonitor.c:
5055 Add even more guards to various public functions.
5057 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5060 Add guards to the public functions of GAppInfo.
5062 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5064 * gio/gcontenttype.c:
5065 Add some more guards for public functions.
5067 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5069 * gio/fam/fam-module.c:
5070 * gio/fam/gfamdirectorymonitor.c:
5071 * gio/fam/gfamdirectorymonitor.h:
5072 * gio/fam/gfamfilemonitor.c:
5073 * gio/fam/gfamfilemonitor.h:
5074 * gio/inotify/ginotifydirectorymonitor.c:
5075 * gio/inotify/ginotifydirectorymonitor.h:
5076 * gio/inotify/ginotifyfilemonitor.c:
5077 * gio/inotify/ginotifyfilemonitor.h:
5078 Add proper copyright information and remove an unused variable
5079 in the GInotifyFileMonitor constructor.
5081 * gio/gcancellable.c:
5082 Add a guard for a public function and an assertion to prevent
5083 an undefined program state.
5085 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5087 * gio/gfileattribute.c:
5088 Don't run into an assertion if the given attribute value is NULL
5089 in g_file_attribute_value_get_*() but instead return a fallback
5090 value that makes sense in most situations. Passing them a attribute
5091 value with the wrong type will still run into an assertion.
5093 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5095 * gio/gfileattribute.c:
5097 Add even more guards to the public functions. Also fix the refcounting
5098 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5099 let g_file_info_list_attributes() filter the attributes by namespace
5100 instead of simply ignoring the namespace parameter.
5102 2007-11-03 Sven Herzberg <sven@imendio.com>
5104 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5105 (This makes gio work on MacOS X again)
5107 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5110 Build the gio subdirectory before the docs. Otherwise the build will
5113 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5114 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5115 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5116 Add guards to the public functions.
5118 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5120 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5121 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5122 to prevent a compiler warning.
5124 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5125 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5126 return something in the non-void function find_topdir_for().
5128 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5135 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5137 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5138 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5139 * gwin32appinfo.c (g_win32_app_info_launch):
5140 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5141 envp_for_startup_id, g_desktop_app_info_launch,
5142 g_desktop_app_info_launch_uris):
5144 Give an opaque 'startup_id' string instead of 'envp'.
5145 Support empty file lists for launching new windows.
5146 Fix infinite recursion bug when launching URIs.
5148 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5151 Add guard to the new g_file_get_uri_scheme() function.
5153 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5156 Convert a g_return_val_if_fail() to setting the GError instead as
5157 otherwise applications have to verify the parameter before otherwise
5158 and the parameter might come directly from the user.
5160 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5162 * gio/inotify/ginotify*.[ch]:
5163 Add missing copyright information.
5165 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5168 Add guards in the beginning of public functions to check for valid
5169 parameters and fix a bug in copy_stream_with_progress() that could've
5170 caused writing less bytes than reading.
5171 * gio/glocalfileinfo.c:
5172 Check for a NULL parameter and set the GError accordingly then.
5173 * gio/goutputstream.c:
5174 Fix the same bug as in gfile.c that could've caused writing less bytes
5175 than reading in g_output_stream_real_splice().
5177 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5180 Use the correct gvolumeprivate.h naming
5182 2007-11-01 Christian Kellner <gicmo@gnome.org>
5185 Remove leftover "$(daemon_sources)" entry.
5187 2007-11-01 Christian Kellner <gicmo@gnome.org>
5192 Add copyright information to source files.
5194 2007-11-01 Alexander Larsson <alexl@redhat.com>
5198 Add g_file_get_uri_scheme
5200 2007-11-01 Alexander Larsson <alexl@redhat.com>
5203 * gio/gdesktopappinfo.c:
5204 * gio/gwin32appinfo.c:
5205 Add g_app_info_get_default_for_uri_scheme.
5207 2007-11-01 Alexander Larsson <alexl@redhat.com>
5210 Correct filename for gdriveprivate.h
5212 2007-10-31 Alexander Larsson <alexl@redhat.com>
5215 Rename id:value to id:file
5218 * gio/glocalfileinfo.c:
5221 2007-10-31 Alexander Larsson <alexl@redhat.com>
5223 * gio/gunixvolume.c:
5225 Remove g_volume_get_platform_id, as thats not
5226 needed with the simpler union volume monitor
5228 2007-10-31 Alexander Larsson <alexl@redhat.com>
5231 * gio/guniondrive.[ch]: Removed.
5232 * gio/gunionvolume.[ch]: Removed.
5233 Remove GUnionDrive/Volume
5235 * gio/gunionvolumemonitor.c:
5236 Simplify union volume monitor, now we
5237 only have one native volume monitor and
5238 we use the actual volumes/drives from the
5239 child monitors instead of wrapping them
5241 * gio/gnativevolumemonitor.[ch]:
5242 Base class for native volume monitors.
5243 Includes priority and get_volume_for_mountpoint
5246 Add g_file_find_enclosing_volume
5249 Remove volume name fs attribute
5250 Add readonly fs attribute
5253 Implement readonly attribute
5254 remove volume name attribute
5255 Implement find_enclosing volume
5257 * gio/gunixmounts.c:
5258 Add a volume for "/".
5260 * gio/gunixvolume.[ch]:
5261 Set better name for /
5263 * gio/gunixvolumemonitor.[ch]:
5264 Derive from GNativeVolumeMonitor
5265 Implement get_volume_for_mountpoint
5268 GVolume typedef moved to gfile.h
5270 * gio/gvolumeprivate.h:
5271 Add g_volume_get_for_mount_path
5273 2007-10-31 Alexander Larsson <alexl@redhat.com>
5275 * gio/gunixmounts.[ch]:
5276 Add cache info to unix mount listers
5277 Make getmntent use threadsafe
5278 Add is_system_internal attribute for GUnixMount
5280 * gio/gunixvolume.c:
5281 (g_unix_volume_new):
5282 Use is_system_internal instead of own code
5284 * gio/glocaldirectorymonitor.c:
5285 * gio/gunixvolumemonitor.c:
5286 Update to new gunixmounts API
5291 2007-10-30 Alexander Larsson <alexl@redhat.com>
5294 Add volume name fsinfo attribute
5297 Read volume name info
5299 * gio/gunionvolumemonitor.c:
5300 Fix infinite loops when finalizing a union volume monitor
5302 2007-10-30 Alexander Larsson <alexl@redhat.com>
5304 * gio/goutputstream.[ch]:
5305 Add splice() with default implementation
5307 * gio/gsocketoutputstream.c:
5308 (g_socket_output_stream_write):
5309 Return error on cancellation correctly.
5311 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5313 * gio/glocalfile.c (g_local_file_trash):
5314 Do not leak a string.
5316 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5318 * gio/gfile.c (g_file_load_contents):
5319 Unref the stream after closing it.
5321 2007-10-25 Alexander Larsson <alexl@redhat.com>
5323 * gio/gioscheduler.h:
5326 2007-10-25 Alexander Larsson <alexl@redhat.com>
5330 Add g_file_has_uri_scheme and implement for local files
5332 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5334 * gio/gdesktopappinfo.c: do not leak a string.
5336 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5338 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5339 (g_local_directory_monitor_new):
5340 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5341 (g_local_file_monitor_new):
5342 Only look for the monitor type that should be used the first time
5343 and use g_qsort_with_data() instead of our own bubble sort
5346 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5349 * gio/fam/Makefile.am:
5350 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5351 * gio/fam/fam-helper.h:
5352 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5353 * gio/fam/gfamdirectorymonitor.c:
5354 * gio/fam/gfamdirectorymonitor.h:
5355 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5356 * gio/fam/gfamfilemonitor.h:
5357 * gio/glocaldirectorymonitor.c:
5358 * gio/glocaldirectorymonitor.h:
5359 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5360 * gio/glocalfilemonitor.h:
5361 * gio/inotify/Makefile.am:
5362 * gio/inotify/ginotifydirectorymonitor.c:
5363 * gio/inotify/ginotifydirectorymonitor.h:
5364 * gio/inotify/ginotifyfilemonitor.c:
5365 * gio/inotify/ginotifyfilemonitor.h:
5366 Implement the FAM and Inotify monitors as
5367 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5368 their own GIO module. GLocal(Directory|File)Monitor will use the
5369 monitor with the highest rank that is supported on that machine.
5371 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5374 Change GIO module dir to $(libdir)/gio/modules and change
5375 the log domain from GVFS to GIO. Also only export symbols starting
5376 with g_ in the resulting library.
5377 * gio/test-streams.c: (main):
5378 Set log handler for the GIO log domain.
5380 2007-10-22 Alexander Larsson <alexl@redhat.com>
5382 * gio/gfilenamecompleter.[ch]:
5383 Add g_filename_completer_set_dirs_only
5385 2007-10-22 Alexander Larsson <alexl@redhat.com>
5388 * gio/gurifuncs.[ch]:
5389 Add some simple URI helpers
5391 * gio/gfilenamecompleter.[ch]:
5392 Added object for filename (parse name actually) completion
5395 Handle ~ in parse names
5397 2007-10-17 Alexander Larsson <alexl@redhat.com>
5400 * gio/glocalfileinfo.c:
5401 Add and implement id:value attribute
5403 2007-10-17 Alexander Larsson <alexl@redhat.com>
5406 * gio/guniondrive.c:
5408 Add and implement g_drive_has_volumes
5410 2007-10-17 Alexander Larsson <alexl@redhat.com>
5413 * gio/glocalfileinfo.[ch]:
5414 Add unix:is_mountpoint and implement for local files
5416 2007-10-16 Alexander Larsson <alexl@redhat.com>
5418 * gio/gunionvolumemonitor.c:
5419 (g_union_volume_monitor_init):
5420 Fix up the unix type getting so that it works with gcc
5422 2007-10-12 Alexander Larsson <alexl@redhat.com>
5425 * gio/glocalfileinfo.c:
5426 Add thumbnail:failed to file info
5428 2007-10-12 Richard Hult <richard@imendio.com>
5430 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5431 optimizing away the get_type call (happens with some gcc versions,
5432 like the one shipped with OS X 10.4).
5434 2007-10-12 Alexander Larsson <alexl@redhat.com>
5436 * gio/glocalfileinfo.c:
5437 (_g_local_file_info_set_attribute):
5438 Fix build if not HAVE_XATTR
5439 Patch from Milosz Derezynski <internalerror@gmail.com>
5441 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5443 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5444 around for review, otherwise I would have asked you before
5447 2007-10-11 Alexander Larsson <alexl@redhat.com>
5450 Add thumbnail:path attribute
5452 * gio/glocalfileinfo.c:
5453 Implement thumbnail:path for local files
5455 2007-10-11 Alexander Larsson <alexl@redhat.com>
5457 * gio/glocalfileinfo.c:
5458 (_g_local_file_info_get):
5459 Avoid duplicate icon names
5461 2007-10-11 Alexander Larsson <alexl@redhat.com>
5463 * gio/gthemedicon.[ch]:
5464 Change g_themed_icon_get_names return type to const
5466 2007-10-10 Alexander Larsson <alexl@redhat.com>
5468 * gio/glocalfileinfo.c:
5469 Don't reference freed memory
5471 2007-10-10 Alexander Larsson <alexl@redhat.com>
5473 * gio/gfileattribute.c:
5476 * gio/glocalfileinfo.c:
5479 2007-10-10 Alexander Larsson <alexl@redhat.com>
5482 Check for NULL icons
5484 * gio/gfileattribute.c:
5485 Don't dup when getting objects (same as for string attributes)
5487 * gio/gicon.c (g_icon_equal):
5488 Safely handle NULLs in equal
5490 2007-10-10 Alexander Larsson <alexl@redhat.com>
5493 Fix c++ compilation issues
5494 Patch from Milosz Derezynski <internalerror@gmail.com>
5496 2007-10-10 Alexander Larsson <alexl@redhat.com>
5498 * programs/gio-monitor-dir.c:
5499 Don't crash if dir monitor not supported.
5501 2007-10-09 Alexander Larsson <alexl@redhat.com>
5504 Add missing G_END_DECLS
5506 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5508 * gio/gfile.c: (g_file_set_display_name),
5509 (g_file_query_settable_attributes),
5510 (g_file_query_writable_namespaces):
5511 Return NULL not FALSE on errors as the return type is a pointer.
5513 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5515 * gio/glocalfile.c: (g_local_file_monitor_file):
5516 Don't call monitor_file on the default interface vtable (which
5517 is NULL) but simply return NULL. The caller, GFile, will create a
5518 polling monitor if NULL is returned.
5520 2007-10-09 Alexander Larsson <alexl@redhat.com>
5524 * gio-unix-2.0.pc.in:
5525 Add gio-unix-2.0.pc if OS_UNIX
5528 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5530 2007-10-09 Alexander Larsson <alexl@redhat.com>
5532 * gio/gunixmounts.[ch]:
5533 Make unix mount monitoring API sane.
5534 Now its just a object with mounts_changed
5535 and mountpoints_changed signals.
5537 * gio/glocaldirectorymonitor.c:
5538 * gio/gunixvolumemonitor.c:
5539 Use new mount monitor api
5541 2007-10-09 Alexander Larsson <alexl@redhat.com>
5543 * gio/gunixmounts.[ch]:
5544 Move guess type into one call for mounts and one for mountpoints
5547 * gio/gunixvolume.c:
5550 2007-10-09 Alexander Larsson <alexl@redhat.com>
5552 * gio/gunixmounts.[ch]:
5553 Remove _ prefix in preparation to make this semi-public
5554 Hide implementation of structs
5556 * gio/glocaldirectorymonitor.c:
5558 * gio/gunixvolume.c:
5559 * gio/gunixvolumemonitor.c:
5560 Update for above API changes
5562 2007-10-08 Alexander Larsson <alexl@redhat.com>
5565 Better polling fallback. This also handles the case where we have
5566 a monitor_file implementation, but it fails.
5568 2007-10-08 Alexander Larsson <alexl@redhat.com>
5572 * gio/gunixmounts.c:
5573 * programs/gio-monitor-dir.c:
5574 * programs/gio-monitor-file.c:
5575 Added cancellable to file monitoring calls.
5576 These are really sync calls and need this.
5578 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5580 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5581 (g_local_vfs_class_init):
5582 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5583 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5585 2007-10-05 Alexander Larsson <alexl@redhat.com>
5587 * gio/gdirectorymonitorprivate.h:
5588 * gio/gfilemonitorprivate.h:
5589 * gio/gdirectorymonitor.h:
5590 * gio/gfilemonitor.h:
5591 Remove *private.h and move to the public API, so that
5592 we can do implementations outside gio (such as in gvfs)
5594 * gio/gdirectorymonitor.c:
5595 * gio/gfilemonitor.c:
5596 * gio/glocaldirectorymonitor.c:
5597 * gio/gpollfilemonitor.c:
5598 * gio/inotify/inotify-helper.c:
5599 * gio/fam/fam-helper.c:
5600 Update to the new header names
5602 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5604 * gio/gdirectorymonitor.c:
5605 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5608 2007-10-04 Alexander Larsson <alexl@redhat.com>
5610 * gio/glocalfileinfo.c (get_access_rights):
5611 Set CAN_TRASH when we can move the file.
5612 We should really also check for a parent trash dir.
5614 2007-10-04 Alexander Larsson <alexl@redhat.com>
5616 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5617 Add can_trash access attribute
5619 2007-10-04 Alexander Larsson <alexl@redhat.com>
5622 (g_local_file_trash):
5623 Create info file first. This is per-spec and allows
5624 us to actually trash directories.
5626 2007-10-02 Alexander Larsson <alexl@redhat.com>
5628 * gio/gdesktopappinfo.c:
5629 Implement the new mime support code.
5630 Always set app as handling mimetype when being set as default for it
5632 2007-10-01 Alexander Larsson <alexl@redhat.com>
5634 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5635 Fix up check for xattrs:
5637 2007-10-01 Alexander Larsson <alexl@redhat.com>
5640 (g_app_info_set_as_default_for_extension):
5641 (g_app_info_add_supports_type):
5642 (g_app_info_can_remove_supports_type):
5643 (g_app_info_remove_supports_type):
5644 Make these fail nicely if not implemented
5646 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5648 * gio/glocalfileoutputstream.c:
5649 * gio/glocalfileoutputstream.h:
5654 * programs/gio-save.c:
5655 Add a GFileCreateFlags argument to operations that can create
5658 2007-10-01 Alexander Larsson <alexl@redhat.com>
5660 * gio/gappinfo.[ch]:
5661 * gio/gdesktopappinfo.c:
5662 Add more (stubbed out) mime API needed for nautilus
5664 2007-10-01 Alexander Larsson <alexl@redhat.com>
5667 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5668 Add g_app_info_set_as_default_for_extension.
5670 * gio/gdesktopappinfo.c:
5671 Dummy for g_app_info_set_as_default_for_extension
5672 Support flags in g_app_info_create_from_commandline
5674 * gio/gwin32appinfo.c:
5676 Update for API changes
5678 * gio/gthemedicon.c:
5679 Properly NULL-terminate list of icon names
5681 2007-09-28 Alexander Larsson <alexl@redhat.com>
5683 * gio/gloadableicon.h:
5684 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5686 2007-09-28 Alexander Larsson <alexl@redhat.com>
5689 Install headers in $includedir/gio-standalone/
5691 * gio-2.0.pc.in: Added.
5692 * gio-standalone.pc.in: Removed.
5695 Renamed pkg-config file to match glib (for future move)
5696 Update to the new include dir
5699 Add more TODO comments
5701 2007-09-28 Alexander Larsson <alexl@redhat.com>
5703 * gio/gdesktopappinfo.[ch]:
5704 Expose new_from_filename
5705 Add getter for is_hidden and handle it better
5707 2007-09-28 Alexander Larsson <alexl@redhat.com>
5709 * gio/gfileinfo.[ch]:
5710 Rename g_file_size_format_for_display to
5711 g_format_file_size_for_display.
5712 Now it doesn't have the g_file prefix, so we
5713 can later move it to glib.
5715 2007-09-28 Alexander Larsson <alexl@redhat.com>
5717 * gio/gappinfo.[ch]:
5718 Add g_app_info_get_id and g_app_info_get_executable.
5719 Make all getters non-reffing
5720 Make g_app_info_launch take GFile arguments.
5721 Add must_support_uris argument to g_app_info_get_default_for_type.
5723 * gio/gwin32appinfo.c:
5724 Update to GAppInfo api changes
5726 * gio/gdesktopappinfo.c:
5727 Update to GAppInfo api changes
5728 Implement supports_xdg_startup_notify
5730 * gio/gfileicon.c (g_file_icon_get_file):
5731 Make getter non-reffing.
5736 2007-09-27 Alexander Larsson <alexl@redhat.com>
5738 * gio/gfileinfo.[ch]:
5739 Add g_file_size_format_for_display helper
5741 2007-09-27 Alexander Larsson <alexl@redhat.com>
5743 * gio/glocalfileinfo.c:
5744 Set UNIX_GID from gid, not from uid
5746 2007-09-27 Alexander Larsson <alexl@redhat.com>
5749 Add g_file_set_attributes_async
5751 2007-09-27 Alexander Larsson <alexl@redhat.com>
5753 * gio/glocalfile.c (g_local_file_set_display_name):
5754 Fix set_display_name to actually rename to the right place.
5755 Use lstat to look for existing files so we don't overwrite
5758 2007-09-26 Alexander Larsson <alexl@redhat.com>
5761 Add g_file_set_display_name_async()
5763 2007-09-26 Alexander Larsson <alexl@redhat.com>
5766 Add load_partial_contents async calls
5769 Make internal function static
5771 2007-09-26 Alexander Larsson <alexl@redhat.com>
5773 * gio/glocalfileinfo.c:
5774 Correctly detect broken symlinks
5776 2007-09-26 Alexander Larsson <alexl@redhat.com>
5778 * gio/gcancellable.c (g_cancellable_cancel):
5779 Allow cancel on NULL cancellable
5781 2007-09-25 Alexander Larsson <alexl@redhat.com>
5783 * gio/gsimpleasyncresult.c:
5784 Don't allocate g_error manually.
5785 Fixes g_slice/g_new mixup crash
5787 2007-09-25 Alexander Larsson <alexl@redhat.com>
5789 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5790 Actually set active_backend.
5791 This means the monitor will be cancelled correctly.
5793 2007-09-25 Alexander Larsson <alexl@redhat.com>
5795 * gio/gdirectorymonitor.c:
5796 Set timeout to NULL when destroying
5798 2007-09-25 Alexander Larsson <alexl@redhat.com>
5801 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5802 that is a better description of the error.
5804 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5806 * gio/gvfs.c: (g_vfs_get_local):
5807 Make the local vfs variable static. The same instance should
5810 2007-09-24 Alexander Larsson <alexl@redhat.com>
5812 * gio/glocalfileinfo.c:
5813 Pass in actual length read into sniffer, not the length
5816 2007-09-21 Alexander Larsson <alexl@redhat.com>
5818 * gio/gfileenumerator.c:
5821 * gio/gfileinputstream.c:
5822 * gio/gfileoutputstream.c:
5823 * gio/ginputstream.c:
5824 * gio/goutputstream.c:
5825 Don't crash if async callbacks are NULL
5827 2007-09-20 Alexander Larsson <alexl@redhat.com>
5830 Add async enumerate_children method and default
5833 2007-09-20 Alexander Larsson <alexl@redhat.com>
5836 Add g_file_contains_file & g_file_get_relative_path, since they
5837 were needed for nautilus.
5838 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5843 Implement new methods
5845 2007-09-17 Alexander Larsson <alexl@redhat.com>
5848 * gio/gfileinputstream.[ch]:
5849 * gio/gfileoutputstream.[ch]:
5851 * gio/glocalfileenumerator.[ch]:
5852 * gio/glocalfileinfo.[ch]:
5853 * gio/glocalfileinputstream.c:
5854 * gio/glocalfileoutputstream.c:
5855 * gio/gpollfilemonitor.c:
5856 * programs/gio-copy.c:
5857 * programs/gio-info.c:
5858 * programs/gio-move.c:
5859 Rename get_file_info to query_info() to make it clearer
5860 that these are not simple getters, but do i/o.
5862 2007-09-17 Alexander Larsson <alexl@redhat.com>
5864 * gio/gdatainputstream.[ch]:
5865 * gio/test-streams.c:
5866 Use _read_XXX instead of _get_XXX for the i/o calls
5869 2007-09-17 Alexander Larsson <alexl@redhat.com>
5872 Added needed stuff to TODO comment
5874 2007-09-17 Alexander Larsson <alexl@redhat.com>
5876 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5877 Don't error out removing the backup copy if it doesn't
5880 2007-09-14 Alexander Larsson <alexl@redhat.com>
5882 * programs/Makefile.am:
5883 * programs/gvfs-*.c:
5885 Renamed apps from gvfs-xxx to gio-xxx.
5887 2007-09-14 Alexander Larsson <alexl@redhat.com>
5890 * gio/gfileoutputstream.[ch]:
5891 * gio/glocalfileoutputstream.c:
5892 * programs/gvfs-save.c:
5893 g_file_output_stream_get_etag doesn't do i/o, so remove
5894 cancellation and error.
5896 2007-09-14 Alexander Larsson <alexl@redhat.com>
5899 Add new_etag output to replace_contents functions
5901 2007-09-14 Alexander Larsson <alexl@redhat.com>
5903 * gio/gfileoutputstream.[ch]:
5904 Add async get_file_info and default implementation
5906 2007-09-14 Alexander Larsson <alexl@redhat.com>
5908 * gio/gfileinputstream.c:
5909 Implement fallback wrapper for async get_file_info
5911 2007-09-14 Alexander Larsson <alexl@redhat.com>
5914 Add etag out argument to load_contents
5919 2007-09-14 Alexander Larsson <alexl@redhat.com>
5921 * gio/gcontenttype.c (looks_like_text):
5922 Whitespace like tab, cr and lf do not make the
5925 2007-09-14 Alexander Larsson <alexl@redhat.com>
5927 * gio/gfileinputstream.[ch]:
5928 Add async get_file_info.
5930 2007-09-13 Alexander Larsson <alexl@redhat.com>
5932 * gio/goutputstream.c (g_output_stream_write_all):
5933 Allow NULL for bytes_written
5935 2007-09-13 Alexander Larsson <alexl@redhat.com>
5937 * gio/gmemoryinputstream.[ch]:
5938 Add accessors for data
5940 2007-09-13 Alexander Larsson <alexl@redhat.com>
5942 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5943 Don't crash if length is NULL