1 2009-03-03 Alexander Larsson <alexl@redhat.com>
3 Bug 561172 – gnome-open fails on local URIs with anchors
6 Don't force uris to filenames if the uri has an anchor, because
7 that would strip the anchor.
10 Strip anchor from file:// uris when creating GFile, since
11 g_filename_from_uri doesn't handle them.
13 2009-03-03 Alexander Larsson <alexl@redhat.com>
15 Bug 562613 – Missing const modifier in string parameters
17 * gfileinputstream.[ch]:
18 * gfileoutputstream.[ch]:
19 * glocalfileinfo.[ch]:
20 Make string arguments const if used as such.
22 2009-03-03 Alexander Larsson <alexl@redhat.com>
24 * glocalfile.c (g_local_file_query_filesystem_info):
25 Handle filesystems no supporting reporting how much is free.
26 This fixes bug 573454 where the filesystem not supporting this
27 is the gvfs smb backend over the fuse filesystem.
29 2009-03-02 Matthias Clasen <mclasen@redhat.com>
31 * === Released 2.19.10 ===
33 2009-03-02 Matthias Clasen <mclasen@redhat.com>
35 * === Released 2.19.9 ===
37 2009-03-02 Matthias Clasen <mclasen@redhat.com>
39 * gioenums.h: Add a Since: tag
41 2009-03-01 Matthias Clasen <mclasen@redhat.com>
43 Bug 573658 – Deadlock in giomodule.c
45 * giomodule.c: Use a separate lock for extension point registration
46 to avoid deadlock. Discovered by Torsten Schoenfeld
48 2009-03-01 Matthias Clasen <mclasen@redhat.com>
50 * gdatainputstream.c: Fix docs
52 2009-02-27 Matthias Clasen <mclasen@redhat.com>
54 Bug 573421 – Clarify message format in GMountOperation
56 * gmountoperation.c: Document that the first line of a
57 multi-line message should be interpreted as a heading.
59 2009-02-27 David Zeuthen <davidz@redhat.com>
61 Bug 573462 – GEmblemedIcon leak
63 * gemblemedicon.c (g_emblemed_icon_finalize):
64 Avoid leaking a GList.
66 2009-02-27 Alexander Larsson <alexl@redhat.com>
70 Split out the extension point registration code to its
74 Ensure extension points are registered before extending it.
75 It might not have happened yet if g_vfs_get_local() is called.
77 2009-02-26 Alexander Larsson <alexl@redhat.com>
79 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
80 * gmemoryoutputstream.c:
81 Track actual valid size, even if we later seek back.
83 * tests/memory-output-stream.c:
86 2009-02-26 Alexander Larsson <alexl@redhat.com>
88 Bug 543183 – Clarify docs for g_file_has_prefix
90 * gfile.c: (g_file_has_prefix):
91 Clarify how the prefix matching works.
93 2009-02-26 Alexander Larsson <alexl@redhat.com>
96 Support desktop file key X-GIO-NoFuse which disables
97 use of fuse pathnames for %u and %U arguments.
99 2009-02-25 Alexander Larsson <alexl@redhat.com>
101 Bug 570073 – Add support for reading filesystems on Interix
103 * gunixmounts.c (_g_get_unix_mounts):
104 Support Interix. Patch from Fabian Groffen
106 2009-02-25 Paolo Borelli <pborelli@katamail.com>
108 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
110 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
112 2009-02-23 Alexander Larsson <alexl@redhat.com>
115 Remove accidentally commited spew
117 2009-02-20 Alexander Larsson <alexl@redhat.com>
120 (g_content_type_guess):
121 Don't ever sniff desktop files when the filename is known.
122 In other words, only allow desktop files with the .desktop extension
123 and when the filename isn't known.
124 This is a security precaution since desktop files can execute
125 arbitrary code when launched and we don't want to allow them to
126 try and hide as another type. There is no legit reason to not
127 have the .desktop extension anyway.
129 2009-02-19 Alexander Larsson <alexl@redhat.com>
131 Bug 549298 – impossible to copy files with p (pipe) flag
134 (file_copy_fallback):
135 Error out if the source file is a special file
137 2009-02-18 Alexander Larsson <alexl@redhat.com>
139 Bug 560564 – Replacing a symlink with its linked file truncates the original file
142 Add G_FILE_CREATE_REPLACE_DESTINATION
144 * glocalfileoutputstream.c:
145 (handle_overwrite_open):
146 (_g_local_file_output_stream_replace):
147 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
150 (file_copy_fallback):
151 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
154 2009-02-17 Ryan Lortie <desrt@desrt.ca>
156 * gfileinfo.c: unref the destination's attribute matcher before
159 2009-02-17 Matthias Clasen <mclasen@redhat.com>
161 * === Released 2.19.8 ===
163 2009-02-17 Matthias Clasen <mclasen@redhat.com>
165 * gio.symbols: Add missing exports for new API
167 * gdatainputstream.c: Add missing Since: tags.
169 2009-02-16 Matthias Clasen <mclasen@redhat.com>
171 * === Released 2.19.7 ===
173 2009-02-16 Matthias Clasen <mclasen@redhat.com>
175 * gmountoperation.[hc]: Add an "aborted" signal to abort a
176 mount operation from the backend side.
178 * gvolume.h: Add docs regarding the "aborted" signal.
180 2009-02-16 Ryan Lortie <desrt@desrt.ca>
182 Bug 505042 – add file attribute for actually used file size in bytes
184 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
185 "standard::allocated-size"
186 * gfileattribute.c: document
187 * glocalfileinfo.c: set the allocated size from st_blocks * 512
189 2009-02-16 Ryan Lortie <desrt@desrt.ca>
191 Bug 571598 – GAsyncResult with NULL gobject
193 * gsimpleasyncresult.c: remove various assertions and add some checks
194 to allow for a NULL source_object in GSimpleAsyncResult.
196 2009-02-11 Matthias Clasen <mclasen@redhat.com>
198 Bug 541225 – Can't compile gio on AIX : duplicate case value in
201 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
202 Reported by Nicolas Joseph
204 2009-02-04 Alexander Larsson <alexl@redhat.com>
206 Bug 566747 - URIs opened with firefox %u load as local files
208 * gdummyfile.c (g_dummy_file_get_path):
209 Dummy files are never used for local paths, so always return NULL
212 2009-02-02 Matthias Clasen <mclasen@redhat.com>
214 * === Released 2.19.6 ===
216 2009-01-31 Paolo Borelli <pborelli@katamail.com>
218 * glocalfileinfo.c: plug a tiny mem leak.
220 2009-01-29 Ryan Lortie <desrt@desrt.ca>
222 * gioerror.c (g_io_error_from_errno): handle all possible cases of
223 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
225 2009-01-28 Ryan Lortie <desrt@desrt.ca>
227 Bug 568575 – _async functions for GDataInputStream
229 * gdatainputstream.h:
230 * gdatainputstream.c: add _async versions of read_line and read_until.
232 * ../docs/reference/gio/gio-sections.txt: add new functions
233 * tests/sleepy-stream.c: new test case for async read line
234 * tests/Makefile.am: add new test
236 2009-01-22 Ryan Lortie <desrt@desrt.ca>
238 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
240 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
241 g_buffered_input_stream_fill): check for count < -1 instead of count <
242 0 and copy modified check to non-async version for consistency.
243 document the "count = -1" API.
245 2009-01-22 Ryan Lortie <desrt@desrt.ca>
247 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
249 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
250 after we have successfully read data from the base stream
252 2009-01-20 Ryan Lortie <desrt@desrt.ca>
254 Bug 568394 – dropping the last reference to a stream filter closes the
257 * gfilterinputstream.h:
258 * gfilterinputstream.c: add "close-base-stream" property and only
259 close the base stream if it is true. issue async close callbacks from
260 correct source object.
261 * gfilteroutputstream.h:
262 * gfilteroutputstream.c: add a "close-base-stream" property and only
263 close the base stream if it is true. issue async close callbacks from
264 correct source object.
265 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
266 before closing the base stream. fix invalid source tag comparison in
267 close_async (was comparing to flush_async).
268 * ../docs/reference/gio/gio-sections.txt:
270 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
271 * tests/filter-streams.c: new test cases
272 * tests/Makefile.am: add new test
273 * tests/.gitignore: add new test
275 2009-01-19 Matthias Clasen <mclasen@redhat.com>
277 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
279 2009-01-19 Matthias Clasen <mclasen@redhat.com>
281 * === Released 2.19.5 ===
283 2009-01-19 Matthias Clasen <mclasen@redhat.com>
285 * gappinfo.h: Document get_commandline vfunc
287 2009-01-19 Matthias Clasen <mclasen@redhat.com>
289 * gunixmounts.c: Some stylistic fixes.
291 2009-01-08 Matthias Clasen <mclasen@redhat.com>
293 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
294 functions in non-UTF8 locale
296 * xdgmime/xdgmimecache.c:
297 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
299 2009-01-08 Matthias Clasen <mclasen@redhat.com>
301 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
303 2009-01-07 Matthias Clasen <mclasen@redhat.com>
305 Bug 566770 – error code 0 for Too many open files is useless
307 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
308 Requested by Olivier Sessink.
310 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
312 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
313 G_IO_ERROR_TOO_MANY_OPEN_FILES.
315 2009-01-05 Matthias Clasen <mclasen@redhat.com>
317 * === Released 2.19.4 ===
319 2009-01-05 Dan Winship <danw@gnome.org>
321 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
322 "const char **" to avoid a warning.
324 * gemblem.c (g_emblem_from_tokens):
325 * gemblemedicon.c (g_emblemed_icon_from_tokens):
326 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
329 2009-01-05 Matthias Clasen <mclasen@redhat.com>
331 Bug 566064 – Add NOATIME flag to query_info_flags
333 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
334 sniffing for mime types. Based on a patch by A. Walton
336 2009-01-05 Ryan Lortie <desrt@desrt.ca>
338 * tests/.gitignore: improve
339 * tests/Makefile.am: add new simple-async-result test
340 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
342 2009-01-05 Ryan Lortie <desrt@desrt.ca>
345 * ../docs/reference/gio/gio-sections.txt:
346 * gsimpleasyncresult.h:
347 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
348 Implementation by Dan Winship. Closes #566170.
350 2008-12-31 Matthias Clasen <mclasen@redhat.com>
354 * gunixinputstream.c:
355 * gunixoutputstream.c: Add a note about being UNIX-specific.
357 2008-12-15 Matthias Clasen <mclasen@redhat.com>
359 * === Released 2.19.3 ===
361 2008-12-12 Dan Winship <danw@gnome.org>
363 * pltcheck.sh: make this work on x86_64
365 2008-12-12 Ryan Lortie <desrt@desrt.ca>
367 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
370 2008-12-12 Ryan Lortie <desrt@desrt.ca>
372 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
373 multiple mount entries match the requested path
375 2008-12-10 Alexander Larsson <alexl@redhat.com>
377 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
378 g_simple_async_result_run_in_thread
380 * gsimpleasyncresult.c:
381 Make g_simple_async_result_run_in_thread check cancellation before
382 calling out to the user in the callback. This means we guarantee
383 reporting cancels of async operations from the main threads, which
384 is probably more in line with what users expect.
386 Note that there are still no such guarantees for cancelling sync
387 operations or cancelling async operation from outside the main
388 thread. Furthermore, the exact behaviour of async implementations
389 not using run_in_thread may differ.
391 2008-12-09 Alexander Larsson <alexl@redhat.com>
393 Bug 515777 - incorrect date&time on copy
396 (g_local_file_class_init):
397 Copy mtime by default
400 Change docs about G_FILE_COPY_ALL_METADATA to not mention
403 2008-12-08 Matthias Clasen <mclasen@redhat.com>
405 Bug 558298 – Hide ecryptfs mounts
407 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
408 so that the desktop does not show both the mount and the target
409 directory. Patch by Martin Pitt
411 2008-12-08 Matthias Clasen <mclasen@redhat.com>
413 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
417 * gunixinputstream.[hc]:
418 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
419 including getters and setters. Patch by Maciej Piechotka
421 2008-12-07 Matthias Clasen <mclasen@redhat.com>
423 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
425 * tests/live-g-file.c: Support compilers that don't understand
426 ISO C varargs macros. Patch by Eric Lamarque
428 2008-12-07 Matthias Clasen <mclasen@redhat.com>
430 Bug 526320 – should not list mounts that the user doesn't have
433 gunixmounts.c: Use g_access() to check accessibility of local devices.
436 2008-12-01 Matthias Clasen <mclasen@redhat.com>
438 * === Released 2.19.2 ===
440 2008-12-01 Matthias Clasen <mclasen@redhat.com>
442 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
443 behaviour change, and update the docs instead, to avoid breaking
446 2008-12-01 Matthias Clasen <mclasen@redhat.com>
448 * === Released 2.19.1 ===
450 2008-12-01 Alexander Larsson <alexl@redhat.com>
454 * gunionvolumemonitor.c:
456 Add and document g_mount_is_shadowed plus calls
457 to set/unset a mount as shadowed
459 2008-11-28 Matthias Clasen <mclasen@redhat.com>
461 * gio/tests/g-icon.c: Comment out two failing tests
463 2008-11-28 Matthias Clasen <mclasen@redhat.com>
465 Bug 555486 – No way to recover command line from GAppInfo
468 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
469 by Hans Petter Jansson.
471 * gdesktopappinfo.c: And implement it here.
473 2008-11-28 Christian Dywan <christian@imendio.com>
475 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
477 2008-11-28 Matthias Clasen <mclasen@redhat.com>
479 Bug 559633 – gtk_image_new_from_gicon does not always work for
482 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
483 extensions on icon names. Proposed by Axel von Bertoldi.
485 2008-11-28 Matthias Clasen <mclasen@redhat.com>
487 Bug 548163 – Nautilus displays wrong error message for too long file
490 * glocalfile.c (g_local_file_set_display_name): Correctly set
491 error conditions if the new name is e.g. too long. Reported
492 by Leonardo Ferreira Fontenelle.
494 2008-11-28 Matthias Clasen <mclasen@redhat.com>
496 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
499 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
500 documented and include the line end in the returned string.
501 Pointed out by Paul Pogonyshev.
503 * tests/data-input-stream.c: Fix the read_line test to test the
504 documented behaviour.
506 2008-11-28 Matthias Clasen <mclasen@redhat.com>
508 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
509 files that have been created by g_app_info_create_from_commandline.
511 2008-11-28 Matthias Clasen <mclasen@redhat.com>
513 Bug 541715 – win32 : patch for warnings and signature problems in
516 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
519 2008-11-28 Matthias Clasen <mclasen@redhat.com>
521 Bug 562393 – g_buffered_input_stream_read_byte broken if data
524 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
525 handling of buffered content. Patch by Philip Withnall
527 * tests/buffered-input-stream.c: Add a testcase for this bug.
528 * tests/Makefile.am: And build it
530 2008-11-28 Matthias Clasen <mclasen@redhat.com>
532 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
535 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
536 '/' away. Spotted by Dan Williams.
538 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
540 Bug 561375 – Leaks mountpoint description
542 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
545 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
547 Bug 561352 – Leak of icon description
549 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
552 2008-11-14 Matthias Clasen <mclasen@redhat.com>
554 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
556 2008-11-12 Tor Lillqvist <tml@novell.com>
558 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
560 * win32/gwinhttpvfs.h: Move the set of function pointers to
561 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
562 pointer to that in the GWinHttpVfsClass.
564 * win32/gwinhttpvfs.c: Move the lookup of functions from
565 winhttp.dll into a function of its own, that stores the pointers
566 in a separate GWinHttpDllFuncs variable. Add two bookeeping
567 booleans lookup_done and funcs_found.
569 Don't call g_io_extension_point_implement() to register the
570 winhttp extension unless winhttp.dll has been successfully loaded
571 and the required functions found in it.
573 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
574 winhttp.dll correspondingly.
576 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
578 reviewed by: Alexander Larsson <alexl@redhat.com>
580 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
581 clearer about the behavior when there's no more content to read.
583 2008-10-27 Federico Mena Quintero <federico@novell.com>
585 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
587 2008-10-27 Tor Lillqvist <tml@novell.com>
589 Bug 557592 - Missing include in gwinhttpfile.c
591 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
594 2008-10-24 Matthias Clasen <mclasen@redhat.com>
596 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
598 * fam/fam-helper.c: Fix a memory leak and formatting issues.
599 Reported by Daniel Marjamäki
601 2008-10-23 Matthias Clasen <mclasen@redhat.com>
603 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
605 2008-10-23 Alexander Larsson <alexl@redhat.com>
607 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
610 (_g_local_file_info_get):
611 Don't return the fallback icon (text-x-generic) for all files.
612 This is causing problems with theme icon lookup and custom mime
613 icons, as the generic fallback overrides custom mime icons in
616 This is a slight change as applications might not get an icon wher
617 they previously did. But there is no guarantee to get on neither before
618 or after this change, so it should not break applications. Changes
619 to nautilus and gtk+ will be done to manually use the generic fallback
620 icon if no icon is found, but this is only required for rare cases.
622 2008-10-21 Alexander Larsson <alexl@redhat.com>
625 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
627 2008-10-21 Alexander Larsson <alexl@redhat.com>
629 Bug 555740 - gicon serialization
630 Based on patch from David Zeuthen
634 Add g_icon_to_string() and g_icon_new_for_string().
640 Implement icon serialization for built-in icon types
644 Added GIcon serialization test
646 2008-10-16 Matthias Clasen <mclasen@redhat.com>
648 * === Released 2.19.0 ===
650 2008-10-16 Matthias Clasen <mclasen@redhat.com>
652 Bug 556422 – g_file_enumerator_next_file: unclear whether return
653 value needs to be freed
655 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
656 the return value docs. Pointed out by Armin Burgmeier
658 2008-10-14 Matthias Clasen <mclasen@redhat.com>
660 Bug 556334 – Warning when building without selinux support
662 * glocalfileinfo.c: Avoid compiler warnings when selinux is
663 disabled. Patch by Pascal Terjan
665 2008-10-14 Matthias Clasen <mclasen@redhat.com>
667 Bug 556335 – make check fails in abicheck.sh
669 * gio.symbols: Add g_file_attribute_info_list_get_type.
670 Pointed out by Pascal Terjan.
672 2008-10-13 Alexander Larsson <alexl@redhat.com>
675 When adding an application as handling a mime type (but
676 not as the default), copy the full list of desktop ids handling
677 that type in before adding the new one on the end of the list.
678 This means we're not accidentally changing the default by overriding
679 the info from the later directories in the search path.
681 Also, fixes small leak of removed_entries.
683 2008-10-12 David Zeuthen <davidz@redhat.com>
686 * gunionvolumemonitor.c:
688 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
690 2008-10-10 Alexander Larsson <alexl@redhat.com>
692 * gfileattribute.c (escape_byte_string):
693 Upper half of byte is >> 4, not >> 8.
694 Found by Kjartan Maraas via sparse
696 2008-10-10 Matthias Clasen <mclasen@redhat.com>
698 Bug 555711 – Wrong fallback order of mimetype icons
700 * gcontenttype.c: Don't prefer generic icons over
701 default mimetype icons.
703 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
704 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
706 Patch by Krysztof Kosiński
708 2008-10-10 Matthias Clasen <mclasen@redhat.com>
710 Bug 555121 – Improved build-time handling of gio module-dir
712 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
713 * Makefile.am: Create the module dir.
715 2008-10-10 Matthias Clasen <mclasen@redhat.com>
717 * gio/glocalfileinfo.c:
718 * gio/tests/live-g-file.c:
719 * gio/gsimpleasyncresult.c: Fix gcc warnings.
721 2008-10-09 Alexander Larsson <alexl@redhat.com>
723 * gunixinputstream.c (g_unix_input_stream_read):
724 Actually return -1 in case of cancelled, not old res value.
726 2008-10-06 Colin Walters <walters@verbum.org>
728 Bug 554745 - GFileAttributeInfoList should be boxed
730 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
731 for convenience of bindings.
732 * gio/gfileattribute.h: Prototype it.
734 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
736 Bug 554970 – segfault when update-desktop-database is not available
739 * gdesktopappinfo.c (run_update_command): Have the error set before
742 2008-10-01 David Zeuthen <davidz@redhat.com>
744 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
745 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
746 instead of the gio URI (such as sftp://foo/file.avi) when using
747 g_app_info_launch() and friends. With a sufficiently recent gvfs,
748 apps using gio+gvfs will map the FUSE file:// URI back to the gio
749 URI (and thus bypass the fuse daemon) thanks the patch from bug
750 #530654. Since Nautilus is an user of g_app_info_launch() it
751 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
752 when launced via the file manager. Win. Fixes bug #528670.
754 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
755 mapping to the description of GAppInfo.
757 2008-09-30 Tor Lillqvist <tml@novell.com>
759 * tests/Makefile.am: Build desktop-app-info only on Unix.
761 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
762 g_critical(). Pass a large enough result buffer to
763 GetVolumePathNameW(). Just use MAX_PATH.
765 2008-09-29 David Zeuthen <davidz@redhat.com>
767 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
769 2008-09-26 Dan Winship <danw@gnome.org>
771 * tests/data-input-stream.c:
772 * tests/data-output-stream.c:
773 * tests/live-g-file.c:
774 * tests/memory-input-stream.c:
775 * tests/memory-output-stream.c: Use g_assert_error() and
778 2008-09-26 Matthias Clasen <mclasen@redhat.com>
780 Bug 545350 – GAppInfo deletion
781 Bug 545351 – Reset associations for content type
784 * gappinfo.[hc]: New functions g_app_info_can_delete,
785 g_app_info_delete and g_app_info_reset_type_associations.
788 * gwin32appinfo.c: Implementations of these.
791 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
793 2008-09-26 Dan Winship <danw@gnome.org>
795 Bug 505361 – gunixinputstream.c assumes poll() available
796 Bug 509446 – portable blocking gio cancellation
798 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
799 GPollFD for a cancellable (which is slightly more complicated on
802 * gunixinputstream.c (g_unix_input_stream_read):
803 * gunixoutputstream.c (g_unix_output_stream_write): Use
804 g_cancellable_make_pollfd() and g_poll() rather than using poll()
807 * tests/unix-streams.c: test of GUnixInputStream,
808 GUnixOutputStream, and GCancellable.
810 2008-09-26 Dan Winship <danw@gnome.org>
812 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
813 cast to stop a gcc warning
815 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
818 2008-09-25 Dan Winship <danw@gnome.org>
820 Bug 553426 - cancellable clarifications
822 * gcancellable.c (g_cancellable_class_init): Add a note to the
823 "cancelled" signal docs warning about thread-safety issues
824 (g_cancellable_cancel): Note that cancelling an asynchronous
825 operation takes effect asynchronously, not immediately.
827 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
829 * gioenums.h: Add new GFileCopyFlag, to leave target file with
830 default perms, instead of setting the source file perms, in a copy
833 * gfile.c (g_file_copy_attributes)
834 (build_attribute_list_for_copy)
835 (should_copy): Not copy "unix::mode" attribute if we have received
836 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
838 2008-09-20 Matthias Clasen <mclasen@redhat.com>
840 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
842 2008-09-17 Matthias Clasen <mclasen@redhat.com>
844 * === Released 2.18.1 ===
846 2008-09-16 Michael Natterer <mitch@imendio.com>
848 * gcontenttype.c (g_content_type_guess): can't assign the return
849 value of g_strdupv() to an array. Fill the array manually with
850 const strings instead (it is never freed anyway). Fixes the
851 build. Also fixed indentation.
853 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
855 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
856 Fix trivial typo to unbreak the build (there was a colon
857 instead of a semicolon at the end of a statement).
859 2008-09-15 Matthias Clasen <mclasen@redhat.com>
861 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
864 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
867 2008-09-15 Matthias Clasen <mclasen@redhat.com>
869 Bug 551681 – g_content_type_guess() too naive with filenames
871 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
872 at the end of the filename, and declare it a directory.
873 Patch by Bastien Nocera
875 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
877 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
880 * gdesktopappinfo.c: add a note in the docs clarifying what the
881 "filename" parameter really is.
883 2008-09-12 Tor Lillqvist <tml@novell.com>
885 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
886 FormatMessage() etc here. Call g_win32_error_message() instead
887 which already does all that. Besides, the code was broken as it
888 called the default "A" version of FormatMessage() but still
889 thought it produced a wide string.
891 2008-09-12 Michael Natterer <mitch@imendio.com>
893 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
894 in the documentation.
896 2008-09-08 Christian Neumair <cneumair@gnome.org>
898 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
899 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
900 Use non-blocking pipe for mount helper I/O. Fixes #550647.
902 2008-09-06 Matthias Clasen <mclasen@redhat.com>
904 Bug 551149 – xdgmime mem leak
906 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
907 a memory leak. Patch by Christian Persch
909 2008-09-04 Tor Lillqvist <tml@novell.com>
911 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
914 2008-09-02 Matthias Clasen <mclasen@redhat.com>
916 * === Released 2.18.0 ===
918 2008-09-02 Michael Natterer <mitch@imendio.com>
920 * *.h: big header formatting cleanup: indentation, vtable
921 formatting, consistent spacing in (* vfunc), trailing whitespace
922 removal. Formatting should be pretty consistent in all GIO headers
925 2008-09-02 Matthias Clasen <mclasen@redhat.com>
927 * gmount.h: Document guess_content_type sync vfunc.
929 2008-09-02 Michael Natterer <mitch@imendio.com>
931 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
932 fix parent_class member to be GFilterOutputStreamClass (not
933 GOutputStreamClass). Drop three pointers of padding, which is
934 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
935 so the class struct size stays the same.
937 2008-09-02 Matthias Clasen <mclasen@redhat.com>
939 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
941 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
942 nonexisting return values. Pointed out by Cosimo Cecchi.
944 2008-08-23 Tor Lillqvist <tml@novell.com>
946 Bug 548988 - g_file_replace fails on Windows when the target file
949 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
950 Windows, close the file before potentially renaming it (in case we
951 have been writing to a file with a temporary name).
953 (g_local_file_output_stream_close, handle_overwrite_open): Use
954 GLocalFileStat instead of plain struct stat, for passing to
955 _g_local_file_info_create_etag(). Thus also use _fstati64()
956 instead of plain fstat() on Windows.
958 2008-08-18 Matthias Clasen <mclasen@redhat.com>
960 * === Released 2.17.7 ===
962 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
964 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
967 2008-08-13 Tor Lillqvist <tml@novell.com>
969 * win32/gwinhttpvfs.c
970 * win32/gwinhttpvfs.h
971 * win32/gwinhttpfile.c
972 * win32/gwinhttpfileinputstream.c
973 * win32/gwinhttpfileoutputstream.c: Refactor some common code
974 snippets into helper functions. Check HTTP response status
975 codes. Implement g_winhttp_file_query_info(), looking at
976 Content-Length, Content-Type and Last-Modified.
978 * win32/winhttp.h: Add some symbolic constants that are not
979 publicly documented. Just a handful, so it should be OK to use
980 information from the Windows SDK's headers.
982 2008-08-13 Tor Lillqvist <tml@novell.com>
984 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
987 * win32/gwin32directorymonitor.c
988 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
990 2008-08-13 Matthias Clasen <mclasen@redhat.com>
993 * goutputstream.c: Add intro docs.
995 2008-08-13 Tor Lillqvist <tml@novell.com>
997 * win32/gwinhttpfileoutputstream.c
998 (g_winhttp_file_output_stream_write): Don't write the
999 Content-Length header ourselves, WinHttpSendRequest() takes care
1000 of that when the dwTotalLength parameter is non-zero. Increment
1001 offset by the number of actual bytes sent, although I wonder if
1002 such a scenario is possible where less than requested would be
1003 sent and accepted by the server without errors.
1005 2008-08-13 Tor Lillqvist <tml@novell.com>
1007 * win32/gwinhttpvfs.c
1008 * win32/gwinhttpvfs.h
1009 * win32/gwinhttpfile.c
1010 * win32/gwinhttpfile.h
1011 * win32/gwinhttpfileinputstream.c
1012 * win32/gwinhttpfileinputstream.h
1013 * win32/gwinhttpfileoutputstream.c
1014 * win32/gwinhttpfileoutputstream.h: New files implementing
1015 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1016 Windows. The implementation uses the WinHttp API. Both reading and
1017 writing are supported, i.e. GET and PUT requests. When writing,
1018 each write call is done using a separate PUT request with a
1019 Content-Range header. Requests for file URIs and plain pathnames
1020 are forwarded to GLocalVfs.
1022 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1023 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1024 requiring people to download the Windows SDK just for this one
1025 header is not reasonable.
1027 * win32/Makefile.am: Add above files.
1029 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1030 the plumbing for the above.
1032 2008-08-11 Sven Neumann <sven@gimp.org>
1034 * gfilenamecompleter.c
1035 * glocaldirectorymonitor.c
1037 * gunionvolumemonitor.c
1041 * gunixvolumemonitor.c
1044 * gwin32volumemonitor.c: use canonical signal names.
1046 2008-08-11 Tor Lillqvist <tml@novell.com>
1048 * Makefile.am: Put a list of the platform-dependent .la files in
1049 the subdirectories in the platform_deps Make variable, and make
1050 libgio-2.0.la depend on that, so that it gets relinked if one of
1051 the dependent libraries has changed.
1053 2008-08-11 Tor Lillqvist <tml@novell.com>
1055 * Makefile.am (platform_libadd): Remove -lwininet which had been
1056 added by mistake. We will probably eventually be using WinHTTP,
1057 not the older WinInet anyway. (Actually I am working on it.)
1059 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1061 Bug 547080 – g_file_copy leaks expected errors
1063 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1064 before trying the next fallback routine.
1066 2008-08-09 Loïc Minier <lool@dooz.org>
1068 Bug 535124 – umask 002 not being applied for new directories, new
1069 files get the correct umask
1071 * gfile.c (g_file_make_directory)
1072 (g_file_make_directory_with_parents): Document ownership and
1073 permissions of newly created directories as being the default
1074 ones of the process.
1076 2008-08-08 Loïc Minier <lool@dooz.org>
1078 Bug 535124 – umask 002 not being applied for new directories, new
1079 files get the correct umask
1081 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1084 2008-08-08 Tor Lillqvist <tml@novell.com>
1086 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1088 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1089 code that didn't actually do anything inside #if 0, and add a
1090 comment wondering what the code was supposed to do. This also gets
1091 rid of a leftover debugging printout.
1093 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1095 * gfileicon.c (g_file_icon_get_property)
1096 (g_file_icon_set_property): New functions.
1097 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1099 (g_file_icon_new): Use the property (bug #546132).
1101 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1103 * gthemedicon.c (g_themed_icon_get_property): Also handle
1104 `PROP_USE_DEFAULT_FALLBACKS'.
1105 (g_themed_icon_class_init): Make
1106 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1108 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1110 Bug 546371 – Improve docs re g_file_monitor
1112 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1114 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1116 * === Released 2.17.6 ===
1118 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1120 * === Released 2.17.5 ===
1122 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1124 Bug 546017 – Don't copy attributes when copying a symlink
1126 * gfile.c (g_file_copy_attributes): Specify
1127 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1128 g_file_set_attributes_from_info. Patch by Christian Kellner
1130 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1132 * gemblemedicon.[hc]:
1134 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1135 a bit more extensible. Work by Clemens Buss.
1137 * gioenums.h: Add GEmblemOrigin.
1140 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1142 Bug 546079 – leak in xdgmime
1144 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1146 2008-08-03 Tor Lillqvist <tml@novell.com>
1148 * win32/gwin32directorymonitor.h
1149 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1152 2008-08-03 Tor Lillqvist <tml@novell.com>
1154 * win32/gwin32directorymonitor.c
1155 (g_win32_directory_monitor_callback): Make prototype match
1156 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1157 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1160 (g_win32_directory_monitor_constructor):
1161 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1162 names in the GLib API on Windows, so convert to UTF-16 and open
1165 2008-08-03 Tor Lillqvist <tml@novell.com>
1167 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1168 user's folder under Windows
1170 * win32/gwin32directorymonitor.c
1171 (g_win32_directory_monitor_constructor): Ignore error from
1172 CreateFile() when opening directory. Instead of asserting, just
1173 store INVALID_HANDLE_VALUE then in
1174 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1175 ReadDirectoryChangesW().
1176 (g_win32_directory_monitor_cancel): Don't attempt to close
1177 directory handle if it is INVALID_HANDLE_VALUE.
1179 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1181 * gdesktopappinfo.c: Remove debug spew
1183 2008-08-01 Hans Breuer <hans@breuer.org>
1185 * makefile.msc : add gemblembedicon
1187 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1189 Bug 545457 – gdmsetup crashed with SIGSEGV in
1190 g_unix_mount_guess_should_display()
1192 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1193 crash if no mount is found.
1195 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1197 Bug 545203 – gfile.c: argument is different type.
1199 * gfile.c (open_read_async_thread): Pass a GError **
1200 to g_file_set_error_literal.
1201 Reported by Kazuki Iwamoto
1203 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1205 Bug 545157 – wrong/no list of "open with" applications for .cc and
1208 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1209 Collect all ancestors, not just direct parents. Pointed
1210 out by Bastien Nocera
1212 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1214 * Makefile.am: Install gemblemedicon.h
1216 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1218 * gemblemedicon.[hc]: Add a GIcon implementation that can
1219 add an emblem to another icon.
1226 * gfileicon.c: Small documentation additions.
1228 2008-07-28 Tor Lillqvist <tml@novell.com>
1230 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1233 2008-07-27 Tor Lillqvist <tml@novell.com>
1235 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1237 2008-07-24 David Zeuthen <davidz@redhat.com>
1241 Also export a g_mount_guess_content_type_sync() function.
1243 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1245 529694 – SELinux context setting support
1247 * gfileinfo.c: Support setting selinux attributes.
1248 Patch by Tomas Bzatek
1250 2008-07-22 Priit Laes <plaes@plaes.org>
1252 Bug 544140 - fam-helper 64-bit issue?
1254 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1256 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1258 * === Released 2.17.4 ===
1260 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1262 * gvolumemonitor.[hc]:
1263 * gmountoperation.c:
1267 * gmount.c: Documentation fixes
1269 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1271 543504 – crash in Epiphany Web Browser: Opening local file
1275 * gdesktopappinfo.c:
1282 * gvolume.c: Register types thread-safely.
1283 Patch by Christian Persch
1285 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1287 * gcontenttype.c: Remove debug spew
1289 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1291 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1294 * fen/fen-kernel.c: Remove a warning that was causing
1295 crashes. Reported by Lin Ma.
1297 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1299 Bug 543040 – async reading on dummy file will crash on
1302 * gfile.c (open_read_async_thread): Cope with read_fn being
1303 NULL. Reported by Lin Ma.
1305 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1308 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1310 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1313 * gdesktopappinfo.h:
1314 * giomodule.c: Rename a chapter id to avoid filename conflict.
1316 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1318 Bug 540616 – mem leak in filechooser button
1320 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1321 the mount entry. Reported by Chrisitan Persch
1323 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1325 * gfile.c: Small documentation fixes.
1327 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1329 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1331 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1336 * gmount.c: Documentation improvements.
1338 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1341 * gmount.[hc]: Add g_mount_guess_content_type().
1343 2008-07-06 David Zeuthen <davidz@redhat.com>
1346 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1347 is needed for easily handling adoption of foreign volumes by
1348 out-of-process volume monitors (#541793)
1350 2008-07-06 David Zeuthen <davidz@redhat.com>
1352 * gvolumemonitor.[ch]:
1353 * gunionvolumemonitor.c: Export the eject-button signal on the
1354 volume monitor class (#541794).
1356 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1358 * gappinfo.c: More doc tweaks
1360 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1362 * gappinfo.c: Clarify some docs
1364 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1366 * gdesktopappinfo.c: Fix a stupid mistake.
1368 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1370 * === Released 2.17.3 ===
1372 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1374 * gfilemonitor.c: Fix the build.
1376 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1378 Bug 536160 – Add g_file_monitor()
1381 * gfile.[hc]: Add g_file_monitor which can return either
1382 a file or a directory monitor. Proposed by Behdad Esfahbod
1384 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1386 536733 – gio build failure on Irix
1388 * glocalfile.c: Use a configure check for structfs.f_bavail.
1390 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1392 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1395 * gdesktopappinfo.[hc]: Add a function to create a
1396 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1398 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1400 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1402 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1404 * gunixmounts.c: Fix a doc typo.
1406 2008-07-01 Cody Russell <bratsche@gnome.org>
1408 * gio/gcontenttype.c:
1409 * gio/gwin32appinfo.c:
1410 * gio/gwin32volumemonitor.c:
1411 * gio/gwin32mount.c: Fixed some include problems.
1413 2008-07-01 Cody Russell <bratsche@gnome.org>
1417 Moved all relevant typedefs into these files.
1420 Updated wrt added files.
1422 Split types into separate file for easier maintainership. (#538564)
1424 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1426 Bug 540331 – g_file_append_to () documentation: can return NULL
1428 * gfile.c (g_file_append_to): Clarify docs.
1429 Patch by Jared Moore
1431 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1433 Bug 539090 – g_content_type_from_mime_type() should unalias
1435 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1436 Patch by Markus Bergman
1438 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1440 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1441 g_atomic_pointer_get
1443 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1444 on ppc and alpha. Reported by Mart Raudsepp
1446 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1448 * tests/Makefile.am:
1449 * tests/memory-output-stream.c: Add some tests for
1450 GMemoryOutputStream.
1452 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1454 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1457 * gmemoryoutputstream.c (array_resize): Handle truncation to
1458 zero correctly. Reported by Akira Tagoh
1460 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1462 * gmemoryoutputstream.c: Trivial doc fixes
1464 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1466 Bug 540802 – g_list_prepend doesn't concat lists
1468 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1469 one list to another. Pointed out by Jan Arne Petersen
1471 2008-06-28 Michael Natterer <mitch@imendio.com>
1473 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1475 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1477 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1478 to avoid problems with partial icon themes.
1480 2008-06-17 Hans Breuer <hans@breuer.org>
1482 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1483 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1484 access again on win32, see bug #538127
1485 * giomodule.c : ensure GWin32VolumeMonitor is registered
1486 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1487 * Makefile.am makefile.msc : updated
1489 2008-06-16 Hans Breuer <hans@breuer.org>
1491 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1492 and initialization in one step avoids c99ism
1494 2008-06-16 Christian Persch <chpe@gnome.org>
1497 * gio/gbufferedinputstream.c
1498 * gio/gcancellable.c
1499 * gio/gdatainputstream.c
1500 * gio/gdesktopappinfo.c
1502 * gio/gfileenumerator.c
1503 * gio/gfileinputstream.c
1504 * gio/gfileoutputstream.c
1505 * gio/ginputstream.c
1506 * gio/glocaldirectorymonitor.c
1508 * gio/glocalfileenumerator.c
1509 * gio/glocalfileinfo.c
1510 * gio/glocalfilemonitor.c
1511 * gio/glocalfileoutputstream.c
1512 * gio/gmemoryinputstream.c
1513 * gio/gmemoryoutputstream.c
1514 * gio/goutputstream.c
1515 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1518 2008-06-16 Tor Lillqvist <tml@novell.com>
1520 Bug 538362 - Get Win32 icons back in the file chooser
1522 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1523 corresponding to a file extension in the Registry. Patch by Hans
1525 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1527 2008-06-16 Tor Lillqvist <tml@novell.com>
1529 Patches by Hans Breuer:
1531 * glocalfile.c (is_xp_or_later): Handle compiling against older
1532 SDK headers with missing VerifyVersionInfo(). Conditioned on
1533 _MSC_VER, but should probably use some better test.
1534 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1535 uninitialised statfs_result variable on Win32.
1537 2008-06-16 Michael Natterer <mitch@imendio.com>
1539 * *.c: chain up unconditionally in finalize() and dispose(). Also
1540 don't dereference these function pointers when calling them since
1541 that has no meaning at all.
1543 2008-06-16 Ross Burton <ross@burtonini.com>
1545 * gfileenumerator.c:
1546 Remove check for dispose implementation as it annoys Emmanuele.
1548 2008-06-16 Ross Burton <ross@burtonini.com>
1550 Bug 536252 – GFileEnumerator should allow access to the containing
1553 * gfileenumerator.c:
1554 * gfileenumerator.h:
1556 Add g_file_enumerator_get_container() and a container writeable
1557 construct-only property. Also shuffle around typedefs to make it
1560 * glocalfileenumerator.c:
1561 * glocalfileenumerator.h:
1563 Instead of a string filename take a GFile in the constructor and
1564 use it to set the container property.
1567 Update with new API.
1569 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1571 * gfile.c: Make includes more uniform
1573 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1575 * tests/live-g-file.c (sample_struct):
1576 Use less fancy unicode filenames, so the test doesn't fail
1577 on Mac OS X (#531476).
1579 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1581 * === Released 2.17.2 ===
1583 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1585 * === Released 2.17.1 ===
1587 2008-06-11 A. Walton <awalton@gnome.org>
1589 * tests/g-file.c (test_g_file_new_null):
1590 Fix broken test case.
1592 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1594 * pltcheck.sh: We use g_clear_error now.
1596 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1598 * glocalfile.c (g_local_file_enumerate_children): Revert
1599 an unintended change.
1601 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1603 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1605 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1607 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1610 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1611 as icon for the desktop directory, also make user-home and
1612 user-desktop the preferred icons.
1614 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1617 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1618 to add a name to the front of the list.
1620 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1622 Bug 537392 – Additional colon in xattr name
1624 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1625 too. Reported by Alessandro Morandi
1627 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1629 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1632 * glocalfile.c (get_fs_type): Add afs and autofs.
1633 Patch by Danny Baumann.
1635 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1637 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1639 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1640 is no parent. (Owen Taylor, patch by Christian Neumair)
1642 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1644 * gfile.c (g_file_replace_contents): do not leak the output stream.
1646 2008-06-10 Michael Natterer <mitch@imendio.com>
1648 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1649 uninitialized memory as array index.
1651 2008-06-10 Tor Lillqvist <tml@novell.com>
1653 * gcontenttype.c (g_content_type_can_be_executable)
1654 (g_content_type_get_icon) [Win32]: Add TODO comments.
1656 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1658 * xdgmime/Makefile.am: Fix the build
1660 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1662 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1663 in the shared mime database, if available.
1665 * xdgmime/*: Sync with upstream. This brings support for
1666 glob weights, generic icons, and changes the cache format to
1669 2008-05-28 Michael Natterer <mitch@imendio.com>
1671 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1672 the global CPPFLAGS now.
1674 * tests/data-input-stream.c
1675 * tests/data-output-stream.c
1676 * tests/g-file-info.c
1678 * tests/live-g-file.c
1679 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1681 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1683 * === Released 2.17.0 ===
1685 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1686 doesn't complain about leftover files.
1688 2008-05-27 simon.zheng <simon.zheng@sun.com>
1690 * glocalfile.c: (g_local_file_query_filesystem_info):
1691 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1693 2008-05-26 Michael Natterer <mitch@imendio.com>
1695 * gmemoryoutputstream.h: declare
1696 g_memory_output_stream_get_data_size().
1698 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1700 * tests/*: Make tests work
1702 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1704 * gio.symbols: Add g_memory_output_stream_get_data_size.
1706 2008-05-25 Ross Burton <ross@burtonini.com>
1709 Fix typo in error message (#534764).
1711 2008-05-25 Ross Burton <ross@burtonini.com>
1714 Fix circular dependency loop for gioenumtypes.h (#534759).
1716 2008-05-19 Hans Breuer <hans@breuer.org>
1718 * Makefile.am : EXTRA_DIST += makefile.msc
1720 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1723 * gcontenttype.c: (g_content_type_from_mime_type):
1724 New function to create a content type from a mime type. (#527175,
1727 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1729 Bug 532965 – Should not return filesystem::free for certain file systems
1731 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1732 free space for ncpfs.
1734 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1736 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1738 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1739 st_dev might be zero.
1741 2008-05-16 Tor Lillqvist <tml@novell.com>
1743 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1744 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1746 2008-05-13 Bastien Nocera <hadess@hadess.net>
1748 * gfile.c (has_valid_scheme): A URI scheme must start with a
1749 letter, even if later more characters are allowed (#532852)
1751 2008-05-05 Michael Natterer <mitch@imendio.com>
1753 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1754 code from being checked in that breaks the build of applications
1755 which use G_DISABLE_SINGLE_INCLUDES.
1757 * makegioalias.pl: make the alias file include "glib.h" instead of
1760 * gio.symbols: whitespace change to force regeneration of the
1761 alias file after above script change.
1763 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1765 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1767 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1769 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1771 2008-04-28 David Zeuthen <davidz@redhat.com>
1773 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1774 displaying mounts in a subdirectory not accessible to the
1777 2008-04-22 Michael Natterer <mitch@imendio.com>
1779 * Makefile.am: fix library versioning (it was 0.0.0).
1781 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1783 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1784 Default disable all loggings.
1785 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1786 (port_fetch_event_cb): Fixed two macro nits.
1788 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1790 * xdgmime/xdgmime.c: Rework the timestamp checking code
1791 to protect against duplicate directories in XDG_DATA_DIRS.
1792 Fixes fd.o bug 12513, reported by Joe Shaw.
1794 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1796 Partically revert the last commit after realizing that
1797 xdg_mime_media_type_equal doesn't have to init at all.
1799 * xdgmime/xdgmime.h:
1800 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1802 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1804 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1806 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1807 reported by Joe Shaw and Federico Mena Quintero.
1809 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1810 (xdg_mime_media_type_equal): Turn into a wrapper around the
1813 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1814 functions throughout.
1816 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1818 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1819 tolerate an empty TryExec= line without failing; nautilus used
1820 to create launchers with these in previous versions. Fixes #528433
1822 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1824 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1825 after name. Fixes #527132.
1827 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1829 * gfile.c: (g_file_replace):
1832 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1834 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1836 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1837 by Christian Kellner.
1839 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1841 * gunixmounts.c: (g_unix_mount_guess_should_display):
1842 Don't list the user directory as a mount, fix potential issue
1843 when other users have a similar naming and don't special case the
1844 gvfs mounts there since that's not required (#525866)
1846 2008-03-31 Alexander Larsson <alexl@redhat.com>
1848 * glocalfile.c (get_parent):
1851 2008-03-31 A. Walton <awalton@svn.gnome.org>
1853 * gfile.c (g_file_query_file_type):
1854 Always return a GFileType enum value (#520715).
1856 2008-03-31 Alexander Larsson <alexl@redhat.com>
1858 * glocalfileenumerator.c:
1859 Read readdir() info in chunks (of 1000) and sort
1860 the chunks by inode before stat:ing.
1861 This is a 20% performance increase in testing
1862 gvfs-ls on /usr/bin with cold cache.
1864 2008-03-31 Alexander Larsson <alexl@redhat.com>
1866 * gmemoryoutputstream.c:
1867 Clarify docs for g_memory_output_stream_get_size.
1868 Add g_memory_output_stream_get_data_size.
1870 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1874 * gfile.h: Add g_file_query_file_type convenience function
1875 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1877 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1879 * gfileenumerator.c:
1880 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1882 2008-03-28 A. Walton <awalton@svn.gnome.org>
1884 * giomodule.c (_g_io_modules_ensure_loaded):
1885 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1888 2008-03-28 Alexander Larsson <alexl@redhat.com>
1891 (copy_stream_with_progress):
1894 2008-03-28 Alexander Larsson <alexl@redhat.com>
1897 (copy_stream_with_progress):
1898 (file_copy_fallback):
1899 Fallback to g_file_query_info for source size
1900 if g_file_input_stream_query_info fails. (#524579)
1902 2008-03-28 Alexander Larsson <alexl@redhat.com>
1904 * glocalfile.c (g_local_file_move):
1905 Reuse old string instead of adding new one.
1907 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1909 * fen/*.[hc]: still copyright issue. I hate copyright.
1911 2008-03-27 Alexander Larsson <alexl@redhat.com>
1913 * glocalfile.c (g_local_file_move):
1914 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1915 file over directory. This is according to the docs and what the move via
1916 copy+remove fallback does.
1918 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1920 * fen/*.[hc]: Updated copyright.
1922 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1924 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1926 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1928 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1929 not emit attribute changed events when optimizing changed events.
1930 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1933 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1935 * gmountoperation.[hc]: Small documentation additions
1937 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1939 * gunixmounts.c: (guess_mount_type):
1940 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1942 2008-03-19 Alexander Larsson <alexl@redhat.com>
1945 (copy_stream_with_progress):
1946 Bump block side for copy to 64k to minimize
1947 overhead for low latency links. (#523015)
1949 2008-03-16 Tor Lillqvist <tml@novell.com>
1951 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1952 depend on gio.def on Windows.
1954 2008-03-12 David Zeuthen <davidz@redhat.com>
1958 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1960 2008-03-14 Alexander Larsson <alexl@redhat.com>
1964 Avoid redudant tests (#521851)
1965 Patch from Josselin Mouette
1967 2008-03-14 Alexander Larsson <alexl@redhat.com>
1970 (g_file_monitor_is_cancelled):
1971 Fix C89 issue (#521672)
1972 Patch from Jens Granseuer
1974 2008-03-14 Alexander Larsson <alexl@redhat.com>
1976 * fam/fam-helper.[ch]:
1978 Shut down fam (including removing fam GSource) when
1979 module is unloaded (#521513)
1980 Patch from Joe Marcus Clarke
1982 2008-03-14 Alexander Larsson <alexl@redhat.com>
1985 (_g_io_modules_ensure_loaded):
1988 2008-03-14 Alexander Larsson <alexl@redhat.com>
1991 (g_local_file_query_filesystem_info):
1992 Use right define name for f_fstypename member check
1994 2008-03-14 Alexander Larsson <alexl@redhat.com>
1997 * fen/Makefile.am: Added.
1998 * fen/fen-data.[ch]: Added.
1999 * fen/fen-dump.[ch]: Added.
2000 * fen/fen-helper.[ch]: Added.
2001 * fen/fen-kernel.[ch]: Added.
2002 * fen/fen-missing.[ch]: Added.
2003 * fen/fen-node.[ch]: Added.
2004 * fen/fen-sub.[ch]: Added.
2005 * fen/gfendirectorymonitor.[ch]: Added.
2006 * fen/gfenfilemonitor.[ch]: Added.
2008 Added Solaris FEN file notification backend.
2009 Patch from Lin Ma <Lin.Ma@Sun.COM>
2011 2008-03-13 Tor Lillqvist <tml@novell.com>
2013 * Makefile.am: Actually use the gio.def file when linking the
2014 library on Windows. Produce .lib library for Microsoft's toolchain
2015 when possible. Install the .lib and .def file like for the other
2018 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2020 * tests/live-g-file.c:
2021 Include live-g-file in standard set of tests, making a temporary
2022 directory in source structure.
2024 Clean target directory before the tests (write mode only)
2026 2008-03-12 Tor Lillqvist <tml@novell.com>
2028 Bug 517419 - gio win32 directory monitor
2029 Implementation by Vlad Grecescu.
2032 * win32/gwin32directorymonitor.h
2033 * win32/gwin32directorymonitor.c: New files.
2035 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2037 * Makefile.am: Add the win32 subdirectory.
2039 2008-03-12 Tor Lillqvist <tml@novell.com>
2041 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2042 normal struct stat on Unix but struct _stati64 on Windows to have
2043 access to 64-bit file size information. Use that instead of struct
2044 stat in the functions declared here in this private header.
2046 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2047 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2048 warnings about unused functions and variables. Don't set
2049 meaningless attributes like inode numbers on Windows.
2051 2008-03-12 Benjamin Otte <otte@gnome.org>
2054 trim whitespace so gtk-doc groks the function name
2056 2008-03-12 Tor Lillqvist <tml@novell.com>
2058 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2059 returning FALSE, on Win32.
2061 2008-03-11 Alexander Larsson <alexl@redhat.com>
2064 * glocalfileinfo.[ch]:
2065 Correctly implement can_trash by actually
2066 looking for a trash dir, not just assuming
2069 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2071 * === Released 2.16.1 ===
2073 2008-03-11 Alexander Larsson <alexl@redhat.com>
2076 Fix crashes in new constructor and properties code
2078 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2080 * gfile.c: Minor spelling correction in documentation:
2081 existance -> existence.
2083 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2085 * === Released 2.16.0 ===
2087 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2089 * gio.symbols: Remove g_file_contains_file here, too.
2091 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2093 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2094 Samuel Cormier-Iijima)
2096 2008-03-08 Tor Lillqvist <tml@novell.com>
2098 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2101 2008-03-07 Alexander Larsson <alexl@redhat.com>
2104 (g_local_file_query_filesystem_info):
2105 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2106 Patch from Jasper Lievisse Adriaanse
2108 2008-03-06 Tor Lillqvist <tml@novell.com>
2110 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2111 comments for the *_USEC attributes.
2113 2008-03-06 Alexander Larsson <alexl@redhat.com>
2115 * gfile.c (g_file_query_exists):
2116 Add g_return_val_if_fail check (#520700)
2118 2008-03-06 Alexander Larsson <alexl@redhat.com>
2120 * gdesktopappinfo.c:
2123 * gunionvolumemonitor.c:
2126 * tests/live-g-file.c:
2127 * xdgmime/xdgmimecache.c:
2128 Fix sparse warnings (#519489)
2130 2008-03-05 Alexander Larsson <alexl@redhat.com>
2133 Make cancellation threadsafe (i.e.
2134 guarantee its only done once, and always
2137 * glocaldirectorymonitor.c:
2138 Make sure we the monitor lives while the
2139 mounts_changed callback is being called (#520484)
2141 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2143 * gbufferedinputstream.c: Fix typo in parameter
2146 2008-03-04 Alexander Larsson <alexl@redhat.com>
2149 Remove deprecated symbols we kept for one release.
2151 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2154 * goutputstream.c: Tiny documentation corrections.
2156 2008-03-03 Alexander Larsson <alexl@redhat.com>
2158 * gunionvolumemonitor.c:
2160 Fix the adopt_orphan_mount vfunc to take a
2161 volume_monitor reference in an ABI compat way.
2162 This change is not API compat, but the added
2163 arg is not used in the only user of this vfunc, so
2164 all we get is a harmless warning in gvfs (#520169)
2166 2008-03-01 Benjamin Otte <otte@gnome.org>
2169 clarify docs for g_file_delete().
2171 2008-02-29 Alexander Larsson <alexl@redhat.com>
2175 Make sure empty files get text/plain type (#518720)
2177 2008-02-27 Alexander Larsson <alexl@redhat.com>
2183 (g_unix_volume_mount):
2184 Add missing GMountMountFlags argument
2186 2008-02-26 Alexander Larsson <alexl@redhat.com>
2189 (g_local_file_delete):
2190 Handle filesystems (like ntfs-3g) that return EEXIST instead
2191 of ENOTEMPTY (#518816)
2193 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2195 * === Released 2.15.6 ===
2197 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2199 * gfile.c (g_file_find_enclosing_mount):
2200 * ginputstream.c (g_input_stream_set_pending):
2201 * glocalfile.c (g_local_file_find_enclosing_mount):
2202 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2203 * goutputstream.c (g_output_stream_set_pending):
2205 Fixup translator comments (#518578).
2207 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2209 * gfile.c (g_file_find_enclosing_mount):
2211 * glocalfile.c (g_local_file_find_enclosing_mount):
2214 Fix a few typos in translator comments and documentation.
2216 2008-02-25 Alexander Larsson <alexl@redhat.com>
2223 Add translator comments (#518578)
2225 2008-02-25 Alexander Larsson <alexl@redhat.com>
2228 Reintroduce g_file_contains_file, keep around for one
2229 unstable release cycle to avoid crashing to many apps.
2230 Make sure to delete after release.
2232 2008-02-25 Alexander Larsson <alexl@redhat.com>
2235 Remove deprecated g_file_contains_file.
2237 2008-02-25 Alexander Larsson <alexl@redhat.com>
2240 Emit actual change signals in an idle handler.
2241 This avoids reentrance and locking problems in
2242 the file notification backends.
2244 2008-02-25 Alexander Larsson <alexl@redhat.com>
2247 (g_unix_mount_guess_should_display):
2248 Remove type guessing, instead just display
2249 mounts in /media and in ~/.
2251 2008-02-25 Alexander Larsson <alexl@redhat.com>
2254 Make new strings reuse old ones.
2256 2008-02-25 Alexander Larsson <alexl@redhat.com>
2259 Implement trashing and filesystem::readonly for win32 (#517235)
2260 Patch from Yevgen Muntyan
2262 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2264 * gfileinfo.h: Documentation fixes.
2266 2008-02-22 Alexander Larsson <alexl@redhat.com>
2268 * gcontenttype.c (g_content_type_get_icon):
2269 Look at old-style gnome mime icon names too, as many
2270 have not moved to the new style.
2272 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2274 * *.c: Correct the @include in for section docs.
2276 2008-02-21 David Zeuthen <davidz@redhat.com>
2278 * glocalfileinfo.c: (_g_local_file_info_get):
2280 (g_content_type_get_icon): Implement this function by
2281 moving bits from glocalfileinfo.c
2282 (g_content_type_get_description): Unalias before getting
2283 description (#517687)
2285 * gfile.c: (g_file_class_init),
2286 (g_file_query_filesystem_info_async),
2287 (g_file_query_filesystem_info_finish),
2288 (query_filesystem_info_data_free),
2289 (query_filesystem_info_async_thread),
2290 (g_file_real_query_filesystem_info_async),
2291 (g_file_real_query_filesystem_info_finish):
2292 * gfile.h: Implement async version of
2293 g_file_query_filesystem_info()
2295 * gfileinfo.h: Add new attributes for filesystem::use-preview
2297 * gio.symbols: Update
2299 * gthemedicon.c: (g_themed_icon_append_name):
2300 * gthemedicon.h: Add new new convenience function.
2302 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2303 (get_mounts), (get_volumes), (get_connected_drives),
2304 (get_volume_for_uuid), (get_mount_for_uuid),
2305 (g_union_volume_monitor_init), (populate_union_monitor),
2306 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2307 (g_volume_monitor_adopt_orphan_mount):
2309 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2310 monitor implementations to call into the main volume monitor. Also
2311 separate object initialization and volume monitor initialization
2312 such that non-native volume monitors can properly adopt their
2315 2008-02-21 Alexander Larsson <alexl@redhat.com>
2320 2008-02-21 Alexander Larsson <alexl@redhat.com>
2323 Add more documentation about how GFiles work (from #517086)
2325 2008-02-21 Alexander Larsson <alexl@redhat.com>
2329 Add new g_file_has_prefix that does the same as g_file_contains_file.
2330 Deprecate g_file_contains_file and add a macro that converts
2331 it to g_file_has_prefix.
2332 The reason for this change is that the contains_file() name seems to
2333 imply that this does more work than what it does, but its really only
2334 a name match (from #517086)
2339 Update to match the above change.
2341 2008-02-20 Benjamin Otte <otte@gnome.org>
2343 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2344 (g_file_eject_mountable):
2345 even more cases of not returning in error path
2347 2008-02-20 Benjamin Otte <otte@gnome.org>
2349 * gfile.c: (g_file_mount_mountable):
2350 return from function in error path.
2352 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2355 Remove trailing coma in GMountMountFlags struct
2357 2008-02-18 Alexander Larsson <alexl@redhat.com>
2361 * glocalfileoutputstream.c:
2362 Use g_unlink/g_rename instead of unlink/rename;
2363 do not pass raw filenames to g_set_error. (#517239)
2364 Patch from Yevgen Muntyan.
2366 2008-02-18 Alexander Larsson <alexl@redhat.com>
2369 * glocalfileoutputstream.c:
2370 Open files with O_BINARY on windows. (#517140)
2372 2008-02-14 Alexander Larsson <alexl@redhat.com>
2374 * glocalfileoutputstream.c:
2375 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2377 2008-02-14 Alexander Larsson <alexl@redhat.com>
2380 Copy permissions with file on copy (#514084)
2381 This is what cp does and makes sure e.g. the
2382 exec permissions are kept.
2383 Its kinda weird in that it keeps the permission bits
2384 the same while the uid and gid are different. However
2385 the new uid is the user so its not a security issue,
2386 and I've heard no complaints about cp on this issue.
2388 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2390 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2392 2008-02-13 Alexander Larsson <alexl@redhat.com>
2394 * inotify/inotify-path.c:
2395 Define IN_ONLYDIR if not in header (#515346)
2397 2008-02-12 Alexander Larsson <alexl@redhat.com>
2399 * tests/live-g-file.c:
2402 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2404 * === Released 2.15.5 ===
2406 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2408 * gio.symbols: Add g_mount_mount_flags_get_type.
2410 2008-02-11 Alexander Larsson <alexl@redhat.com>
2413 (g_file_info_set_attribute_mask):
2414 (g_file_attribute_matcher_matches_id):
2415 Correctly handle NULL GAttributeMatcher meaning
2416 matches nothing. (Fixes #513492)
2418 2008-02-11 Alexander Larsson <alexl@redhat.com>
2423 Added GMountMountFlags enum and added a flags
2424 argument to all mount calls.
2426 This is an API/ABI change for future extensibility,
2427 as I think we will need at least an
2428 inhibit-autorun flag (the panel needs this).
2429 There are no flags defined yet though.
2431 2008-02-11 Alexander Larsson <alexl@redhat.com>
2434 Added new standard::description attribute.
2435 Requested by Vincent, and useful for both
2438 2008-02-11 Alexander Larsson <alexl@redhat.com>
2440 * gdesktopappinfo.c:
2443 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2445 * *.c: Documentation additions
2447 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2449 * gappinfo.h: Formatting cleanup
2450 * gappinfo.c: Fix up docs.
2452 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2454 * gunixmounts.c: Consistently use getmntent_r() and fall
2455 back to getmntent(). (#515492)
2457 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2459 * gbufferedinputstream.c:
2461 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2463 * tests/data-input-stream.c:
2464 * tests/data-output-stream.c: Portability fixes.
2466 2008-02-08 Alexander Larsson <alexl@redhat.com>
2471 Add g_volume_should_automount.
2474 2008-02-07 Tor Lillqvist <tml@novell.com>
2476 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2477 Win32, too Unix-specific.
2479 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2481 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2482 a local plt if the compiler doesn't support what we want. Bug #514702
2484 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2486 reviewed by: <delete if not using a buddy>
2489 * gunixinputstream.c:
2490 * gunixoutputstream.c:
2492 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2494 * tests/Makefile.am:
2495 * tests/live-g-file.c:
2496 * tests/live-g-file.txt:
2497 New GIO testing module working over real data
2499 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2501 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2502 Fallback to rename() if link() is not available
2503 (when no support on target filesystem)
2505 2008-02-06 Michael Natterer <mitch@imendio.com>
2507 * gfileinfo.c (g_file_info_get_icon): replace
2508 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2510 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2512 * gfile.c (g_file_create):
2513 Documentation update of error codes
2515 2008-02-06 Alexander Larsson <alexl@redhat.com>
2517 * gdesktopappinfo.c:
2518 Update to use both mimeapps.list and
2519 defaults.list as discussed on xdg list.
2521 2008-02-06 Benjamin Otte <otte@gnome.org>
2524 * gfilenamecompleter.c:
2525 Fix some typos in the documentation.
2527 2008-02-06 Alexander Larsson <alexl@redhat.com>
2529 * glocalfile.c (g_local_file_trash):
2530 Don't succeed with trash if newly created
2531 trash dir has the wrong owner. (#514696)
2533 2008-02-05 Alexander Larsson <alexl@redhat.com>
2535 * glocalfile.c (g_local_file_move):
2536 Don't spew warnings when destination is not
2539 2008-02-03 Hans Breuer <hans@breuer.org>
2541 * makefile.msc : update
2543 2008-02-01 Michael Natterer <mitch@imendio.com>
2545 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2546 return value of xdg_mime_list_mime_parents() to a variable of the
2549 2008-02-01 Alexander Larsson <alexl@redhat.com>
2551 * gappinfo.c (g_app_info_launch_uris):
2552 Actually call the launch_uris method, not
2555 2008-02-01 Alexander Larsson <alexl@redhat.com>
2557 * gdesktopappinfo.c (g_desktop_app_info_equal):
2558 Ensure appinfos with no id but same pointer value
2561 2008-02-01 Alexander Larsson <alexl@redhat.com>
2563 * gappinfo.c (g_app_info_launch_default_for_uri):
2566 2008-02-01 Alexander Larsson <alexl@redhat.com>
2570 Add g_app_info_launch_default_for_uri utility
2573 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2575 * gdesktopappinfo.c:
2576 Doc fix for g_app_info_get_default_for_uri_scheme ()
2579 2008-01-30 Alexander Larsson <alexl@redhat.com>
2582 Add doc comment about uris vs GFiles to
2585 * gdesktopappinfo.c:
2586 Ensure uris passed to g_app_info_launch_uris()
2587 are not roundtriped through GFile (as that
2588 may be slightly destructive for e.g. mailto: links)
2590 2008-01-30 Alexander Larsson <alexl@redhat.com>
2592 * tests/data-input-stream.c:
2593 * tests/data-output-stream.c:
2594 C89 fixes from Jens Granseuer (#512849)
2596 2008-01-30 Alexander Larsson <alexl@redhat.com>
2599 Fix gamin/fam difference build issue. (#509419)
2601 2008-01-29 Alexander Larsson <alexl@redhat.com>
2604 * gdesktopappinfo.c:
2605 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2607 2008-01-29 Alexander Larsson <alexl@redhat.com>
2609 * gdesktopappinfo.c:
2610 * gdesktopappinfo.h:
2611 giomodule-priv.h include moved to .c file.
2613 2008-01-29 Alexander Larsson <alexl@redhat.com>
2615 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2616 Remove unused prio/name fields.
2618 2008-01-29 Alexander Larsson <alexl@redhat.com>
2620 * gcontenttype.c (looks_like_text):
2621 Don't treat whitespace as control chars.
2623 2008-01-29 Alexander Larsson <alexl@redhat.com>
2625 * gdesktopappinfo.c:
2626 Lazily create the desktop files for appinfos created
2627 by g_app_info_create_from_commandline() when needed
2628 for mime associations. This allows run-time use
2629 of GAppInfo object without creating unnecessary
2632 2008-01-29 Alexander Larsson <alexl@redhat.com>
2635 Added new symbols to gio.symbols
2637 2008-01-29 Alexander Larsson <alexl@redhat.com>
2640 Add g_file_query_default_handler utility to easily look up
2641 the GAppInfo that handles a file.
2643 * gdesktopappinfo.[ch]:
2645 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2648 Remove unused function
2650 2008-01-29 Alexander Larsson <alexl@redhat.com>
2652 * gfileenumerator.c:
2653 Mention need to free returned value in
2654 g_file_enumerator_next_files_finish docs.
2655 Fix leak if g_file_enumerator_next_files_finish()
2658 2008-01-29 Alexander Larsson <alexl@redhat.com>
2661 (_g_unix_content_type_get_parents):
2662 Use list_parents, not get_parents from xdgmime, because
2663 the later doesn't use the cache.
2665 * xdgmime/xdgmimecache.c:
2666 (_xdg_mime_cache_list_mime_parents):
2667 Don't list the same type as parent multiple times.
2669 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2671 * === Released 2.15.4 ===
2673 2008-01-28 Alexander Larsson <alexl@redhat.com>
2676 Register local vfs with prio 0.
2679 Remove old name and prio class members
2681 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2683 * tests/g-file.c: Disable some tests that are failing in
2684 the absence of a http backend.
2686 2008-01-28 Alexander Larsson <alexl@redhat.com>
2690 Add registration hooks for extension points.
2691 Register the gio extension points.
2693 * fam/gfamdirectorymonitor.c:
2694 * fam/gfamfilemonitor.c:
2695 * glocaldirectorymonitor.[ch]:
2696 * glocalfilemonitor.[ch]:
2697 * gnativevolumemonitor.h:
2698 * gunionvolumemonitor.c:
2699 * gunixvolumemonitor.c:
2702 * inotify/ginotifydirectorymonitor.c:
2703 * inotify/ginotifyfilemonitor.c:
2704 Use the extension points registration instead
2705 of g_type_children().
2707 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2710 * gvolume.[hc]: Document new API.
2712 * gfile.c (g_file_copy_async): Fix docs
2714 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2716 * gbufferedinputstream.c:
2718 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2721 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2723 * glocalfile.c: Avoid trivial differences in translatable strings.
2725 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2727 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2728 build with gcc 3.4 (#509419)
2730 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2732 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2733 (#509994, Murray Cumming)
2735 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2737 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2738 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2739 this allows big jobs to be executed in chunks, instead of blocking
2740 the main loop for a long time.
2742 * gsimpleasyncresult.c:
2743 * giofile.c: Adapt callers.
2745 2008-01-25 Alexander Larsson <alexl@redhat.com>
2747 * gdesktopappinfo.c:
2748 Implement changes discussed on xdg list.
2749 Now we can add supported mimetypes by just using defaults.list
2750 We can also remove associations in defaults.list.
2752 2008-01-25 Alexander Larsson <alexl@redhat.com>
2754 * gdesktopappinfo.c:
2755 Don't make local copy of desktop file
2756 for mimetype changes if the file already
2757 supports the new mimetype.
2759 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2763 * gbufferedinputstream.c:
2764 * glocalfile.c: String improvements. (#511966,
2765 Theppitak Karoonboonyanan)
2767 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2769 * gioscheduler.h: Expand docs a bit.
2771 2008-01-24 Alexander Larsson <alexl@redhat.com>
2774 Add g_drive_get_identifier and
2775 g_drive_enumerate_identifiers
2778 Add g_volume_get_identifier and
2779 g_volume_enumerate_identifiers
2785 Implement identifiers for unix backend
2787 2008-01-24 Alexander Larsson <alexl@redhat.com>
2792 Add g_file_copy_async() (#511580)
2793 Based on patch from Carlos Garcia Campos
2795 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2797 * gioscheduler.c: Some documentation additions.
2799 2008-01-22 Alexander Larsson <alexl@redhat.com>
2801 * gdesktopappinfo.c:
2802 (g_desktop_app_info_new):
2803 Don't leak basename.
2805 2008-01-22 Alexander Larsson <alexl@redhat.com>
2807 * gdesktopappinfo.c:
2808 (g_desktop_app_info_new_from_filename):
2811 2008-01-22 Alexander Larsson <alexl@redhat.com>
2813 * glocalfileinfo.c (get_thumbnail_attributes):
2816 2008-01-22 Alexander Larsson <alexl@redhat.com>
2819 (canonicalize_filename):
2820 Canonicalize paths that start with more than
2824 (compare_two_files):
2825 (test_g_file_new_for_path):
2828 2008-01-22 Alexander Larsson <alexl@redhat.com>
2831 Allow UTF-8 in file:// parse names.
2833 * tests/Makefile.am:
2834 * tests/data-input-stream.c:
2835 * tests/data-output-stream.c:
2836 * tests/g-file-info.c:
2838 Added a bunch of tests from Tomas Bzatek
2840 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2842 * === Released 2.15.3 ===
2844 2008-01-21 Alexander Larsson <alexl@redhat.com>
2846 * gfileinputstream.[ch]:
2847 * gfileoutputstream.[ch]:
2849 Remove duplicated GSeekable functions. (#509990)
2850 Just use the g_seekable_xxx() calls instead.
2852 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2855 * gvolumemanager.c: Whitespace cleanups.
2857 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2858 Use the right mode when creating the file.
2860 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2862 * gfileenumerator.c:
2863 * gfileinputstream.c:
2865 * goutputstream.c: Documentation: Fixed minor typos
2866 and added more mentions of specific _finish() functions.
2868 2008-01-21 Alexander Larsson <alexl@redhat.com>
2870 * inotify/Makefile.am:
2871 * inotify/inotify-helper.c:
2872 * inotify/inotify-kernel.c:
2873 * inotify/inotify-path.c:
2874 * inotify/local_inotify.h: Removed.
2875 * inotify/local_inotify_syscalls.h: Removed.
2876 Removed the included copies of the inotify
2877 headers. We now only use the <sys/inotify.h>
2878 header which exists on modern systems.
2879 This fixes problems on ARM and SH5 (#510448)
2880 but is also generally much cleaner and future
2881 safe. For instance, if other OSes add support
2882 for inotify it should "just work".
2884 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2886 * inotify/*.c: Coding style fixes.
2887 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2888 for the 1/4 Hz timer.
2890 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2893 * gfilemonitor.[hc]:
2894 * gmemoryinputstream.c:
2895 * gmemoryoutputstream.c:
2896 * gmountoperation.c:
2897 * gthemedicon.c: Documentation updates
2899 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2901 * gfile.c: documentation: Fixed more minor
2904 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2906 * gmount.c: (g_mount_remount): documentation:
2907 Mention g_mount_remount_finish() instead of
2908 g_mount_unmount_finish().
2910 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2914 * gfile.c: Fixed some minor typos in the
2917 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2919 * gio/gvolumemonitor.c:
2920 (g_volume_monitor_get_connected_drives):
2921 (g_volume_monitor_get_volumes):
2922 (g_volume_monitor_get_mounts): Documentation:
2923 Clarify the ownership of the regurn GLists.
2925 2008-01-17 Alexander Larsson <alexl@redhat.com>
2928 Add the async find_enclosing_mount version
2929 to the header file too.
2931 2008-01-17 Alexander Larsson <alexl@redhat.com>
2934 Add async version of find_enclosing_mount
2935 with default implementation.
2937 2008-01-17 Alexander Larsson <alexl@redhat.com>
2942 Allow calls to implementation of copy and write
2943 even if the type of the file implementations is
2944 different. This can be used to implement native
2945 upload and download calls in a vfs.
2948 (g_local_file_move):
2949 Protect against the case where move is called
2950 with one file not being local.
2952 Make sure we call the progress callback once
2953 in the native move operation so that the caller
2954 knows how many bytes were copied.
2956 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2959 * gdatainputstream.c:
2961 * gfileoutputstream.c:
2966 * gunixmounts.c: Corrected some typos in the documentation:
2967 occured -> occurred.
2968 its -> it's (where appropriate).
2970 2008-01-16 Alexander Larsson <alexl@redhat.com>
2974 Add g_file_query_exists (#508771)
2976 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2981 * gvolume.c: For async functions that have no non-async
2982 version, document that the GAsyncReadyCallback may be NULL.
2985 2008-01-15 Alexander Larsson <alexl@redhat.com>
2987 * gmemoryinputstream.c:
2988 * gmemoryoutputstream.c:
2989 Don't do pointer arithmetic on void * (#508602)
2990 Patch from Kazuki IWAMOTO
2992 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2994 * === Released 2.15.2 ===
2996 2008-01-14 Alexander Larsson <alexl@redhat.com>
2998 * gfile.c (g_file_monitor_file):
2999 Don't set error here, since we fallback to polling monitor.
3001 2008-01-14 Alexander Larsson <alexl@redhat.com>
3004 (g_file_monitor_directory):
3005 (g_file_monitor_file):
3006 Add GError to file monitor calls
3008 * glocaldirectorymonitor.c:
3009 * glocaldirectorymonitor.h:
3011 * glocalfilemonitor.c:
3012 * glocalfilemonitor.h:
3014 Update for above change
3016 2008-01-14 Alexander Larsson <alexl@redhat.com>
3020 Handle root correctly in g_file_get_relative_path (#508719)
3022 2008-01-14 Alexander Larsson <alexl@redhat.com>
3025 Clean up docs and example for GAsyncResult (#508074)
3027 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3029 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3030 and correct some spelling mistakes. Bug #508108.
3032 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3034 * glocalfileinfo.c: Add a comment.
3036 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3038 * gfileinfo.c: GFileInfo description: Mention
3039 how to actually set attributes in a GFile and how to discover
3040 which attributes are settable. Bug #508378.
3042 2008-01-10 A. Walton <awalton@svn.gnome.org>
3044 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3045 (g_app_info_get_default_for_type):
3046 Check for NULL content types.
3048 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3050 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3052 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3054 * gfile.c: *_async() functions: Several small corrections
3055 to the documentation, mostly correcting copy/paste errors
3056 and improving some sentences.
3058 2008-01-09 Dan Winship <danw@gnome.org>
3060 * glocalfile.c (get_unique_filename): x86_64 fix
3062 2008-01-09 Alexander Larsson <alexl@redhat.com>
3067 Add g_unix_mount_guess_should_display and use
3068 for unix volume monitor backend.
3069 This means we more or less show what the
3070 gnome-vfs backend did.
3071 Based on patch from Padraig O'Briain
3073 2008-01-09 Alexander Larsson <alexl@redhat.com>
3077 Add g_themed_icon_new_with_default_fallbacks
3080 Use default fallbacks for icons
3082 2008-01-09 Alexander Larsson <alexl@redhat.com>
3085 * gmountoperation.[ch]:
3086 Change the API a bit so that unhandled methods
3087 get reported via the reply, rather than by
3088 the signal emission return value. This is because
3089 some handlers can't know this immediately without
3090 doing I/O, and this is an async operation that
3093 2008-01-09 Alexander Larsson <alexl@redhat.com>
3096 * fam/gfamdirectorymonitor.c:
3097 * fam/gfamfilemonitor.c:
3098 Fix double free crash (#508224)
3099 Patch from Joe Marcus Clarke
3101 008-01-07 Matthias Clasen <mclasen@redhat.com>
3103 * === Released 2.15.1 ===
3105 2008-01-07 Alexander Larsson <alexl@redhat.com>
3107 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3108 Fix warning (#507835)
3110 2008-01-07 Alexander Larsson <alexl@redhat.com>
3113 Pass --internal to glib-genmarshal
3116 * gmountoperation.c:
3118 Use better types for signal arguments (#507822)
3120 2008-01-07 Alexander Larsson <alexl@redhat.com>
3123 Build test subdir after .
3124 Remove gdirectorymonitor.[ch]
3126 * gdirectorymonitor.[ch]:
3130 Remove GDirectoryMonitor and make
3131 GFileMonitor the baseclass for both file and
3132 directory monitors. Lift the more generic
3133 rate limiting code from GDirectoryMonitor
3137 * fam/gfamdirectorymonitor.[ch]:
3138 * inotify/ginotifydirectorymonitor.[ch]:
3139 * inotify/inotify-helper.c:
3140 * glocaldirectorymonitor.[ch]:
3143 Update for the removed GDirectoryMonitor.
3145 * gmemoryoutputstream.c:
3146 Remove ununsed variable
3148 2008-01-07 Alexander Larsson <alexl@redhat.com>
3150 * gmemoryinputstream.c:
3151 Translate error strings
3154 * gmemoryoutputstream.[ch]:
3155 New implementation that avoids using GByteArray
3156 in implementation and API. (#506377)
3158 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3160 * tests/*: Add a test for memory input streams.
3162 * Makefile.am: Add tests to SUBDIRS.
3164 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3166 * glocalfilemonitor.c:
3167 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3170 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3172 * gdesktopappinfo.c: Fix a docs typo.
3174 * gfileattribute.c: Add information about extended attributes
3175 to the documentation. (#505058)
3177 2008-01-04 Alexander Larsson <alexl@redhat.com>
3180 * gmountoperation.c:
3181 Use the right type (uint) for the ask_password signal.
3183 2008-01-04 Alexander Larsson <alexl@redhat.com>
3188 Add g_app_info_supports_files()
3189 Remove desktop arg from g_app_info_should_show().
3191 * gdesktopappinfo.[ch]:
3192 Implement g_app_info_supports_files() and new should_show()
3193 Add g_desktop_app_info_set_desktop_env() to set the desktop
3194 for should_show(). (This will be set by gtk+ later)
3196 2008-01-04 Alexander Larsson <alexl@redhat.com>
3199 * gmemoryinputstream.[ch]:
3200 Improve API so that you can use multiple chunks
3201 of memory and custom destroy functions. (#506374)
3203 2008-01-03 Alexander Larsson <alexl@redhat.com>
3206 Handle NULL attribute matchers safely, as we return this
3207 for empty attribute matcher strings.
3209 2008-01-03 Alexander Larsson <alexl@redhat.com>
3211 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3212 Add /usr/local to list of internal mountpoints
3214 2008-01-03 Alexander Larsson <alexl@redhat.com>
3217 Check for HAVE_LCHOWN (#505887)
3219 2008-01-03 Alexander Larsson <alexl@redhat.com>
3223 Add define for selinux context attribute.
3224 Fix missing : -> :: namespace separator change
3225 Fix missing _ -> - name change for xattr-sys.
3228 2008-01-03 Alexander Larsson <alexl@redhat.com>
3231 Link to libglib and libgobject directly (#504879)
3232 Patch from Sebastien Bacher
3234 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3236 * gfile.c: Expanded the g_file_new_for_commandline_arg
3237 description a bit, based on the code and the docs of the
3238 other g_file_new_for_* functions.
3240 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3242 * gfilemonitor.h: Fixed typo in docs.
3244 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3246 Updates to GIO documentation. (#506395, Mikael Hermansson)
3248 * gcontenttype.c: Describe memory management for return value of
3249 g_content_types_get_registered(). Missing piece from #505815.
3250 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3251 GVolume, GDrive, GMounts, which hopefully gives the user less
3252 confusions when using this API. Following explainations from
3253 Alexander Larsson on gtk-devel-list.
3255 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3257 * gfileinfo.c: Expand the long description.
3259 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3262 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3263 fix builds with --disable-visibility. (#500273, Christian Persch)
3265 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3267 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3268 in the list of returned app infos.
3270 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3272 * gappinfo.c: Fix a cross-reference
3274 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3276 * gfileinputstream.c:
3277 * gfileoutputstream.c:
3281 * gdesktopappinfo.c:
3283 * gfileinfo.c: Documentation updates.
3285 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3287 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3290 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3292 * gcontenttype.c (g_content_types_get_registered): Don't return
3293 freed memory (#505815, Mikael Hermansson)
3295 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3297 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3298 used to detect statbuf->st_blocks. (#505042)
3300 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3302 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3303 environment handling. (#504829, Cosimo Cecchi)
3305 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3307 * gappinfo.c: Doc improvements
3309 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3312 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3314 * === Released 2.15.0 ===
3316 2007-12-20 Hans Breuer <hans@breuer.org>
3318 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3319 with symbols gwin32appinfo.obj, added gmount.obj
3320 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3322 2007-12-20 Alexander Larsson <alexl@redhat.com>
3328 * gfilenamecompleter.c:
3331 * gpollfilemonitor.c:
3332 File attribute renames:
3334 fs:: -> filesystem::
3335 id::fs -> id::filesystem
3337 2007-12-20 Alexander Larsson <alexl@redhat.com>
3346 Add GMountUnmountFlags to all unmount and
3348 Add g_mount_remount() call.
3350 2007-12-20 Alexander Larsson <alexl@redhat.com>
3352 * gvfs.c (get_default_vfs):
3353 Fix unused variable warning
3355 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3357 * pltcheck.sh: Update
3359 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3361 * gunionvolumemonitor.c:
3362 * gunixmount.c: Remove C99 comments
3364 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3366 * gio.symbols: Add some missing symbols
3368 2007-12-19 Alexander Larsson <alexl@redhat.com>
3371 Make g_io_modules_load_all_in_directory not unuse
3372 loaded modules so that users of it can do stuff
3374 Init internal "module" types.
3375 Initialize static prio and name for types so that
3376 we don't have to load modules to get it.
3378 * gnativevolumemonitor.h:
3380 Move is_supported to parent class so that
3381 non-native monitors can avoid being initialized
3382 too. (For instance GDaemonVolumeMonitor if we're
3383 not using GDaemonVfs.)
3385 * glocaldirectorymonitor.[ch]:
3386 * glocalfilemonitor.[ch]:
3387 * gunionvolumemonitor.c:
3388 * gunixvolumemonitor.c:
3390 Find plugins using the static prio+name to
3391 avoid unnecessarily loading the modules.
3393 2007-12-19 Alexander Larsson <alexl@redhat.com>
3398 2007-12-19 Alexander Larsson <alexl@redhat.com>
3400 * gunionvolumemonitor.c:
3401 Store the native type as GType, not class so that
3402 we can unload it. But still avoid unnecessarily
3405 2007-12-19 David Zeuthen <davidz@redhat.com>
3407 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3408 add signals 'disconnected' and 'eject-button' on GDrive. Add
3409 signal 'removed' on GVolume and 'unmounted' on GMount.
3411 * gdrive.c: (g_drive_base_init):
3413 * gfile.c: (g_file_mount_mountable),
3414 (g_file_mount_enclosing_volume):
3417 * gmount.c: (g_mount_base_init):
3419 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3420 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3421 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3425 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3427 * *.c: Fix up includes in the section docs.
3429 2007-12-17 Alexander Larsson <alexl@redhat.com>
3431 * gnativevolumemonitor.h:
3432 * gunionvolumemonitor.c:
3433 * gunixvolumemonitor.c:
3434 Add is_supported() to GNativeVolumeMonitorClass so
3435 that we can avoid having to create an object to see
3436 if the backend is supported at runtime.
3437 Also add name member and an env var to pick a specific
3438 volume monitor backend.
3442 Add cancellable to _g_mount_get_for_mount_path()
3444 * glocaldirectorymonitor.c:
3445 * glocalfilemonitor.c:
3446 Avoid loading and unloading modules while sorting.
3448 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3451 * gunixmounts.[hc]: Namespace waste reduction, move some
3452 g_get_unix_mount functions to the g_unix_mount namespace.
3455 * gunixvolumemonitor.c:
3457 * glocaldirectorymonitor.c: Update all callers.
3459 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3461 2007-12-17 Alexander Larsson <alexl@redhat.com>
3464 Add doc comments about what GFile operations are
3465 guaranteed to not block.
3467 2007-12-17 Alexander Larsson <alexl@redhat.com>
3470 Add missing #ifdef fixing OSX build.
3471 (#503334, patch from Richard Hult)
3473 2007-12-14 David Zeuthen <davidz@redhat.com>
3477 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3478 (g_mount_eject), (g_mount_eject_finish):
3480 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3481 (get_volume_for_uuid), (get_mount_for_uuid),
3482 (g_union_volume_monitor_class_init),
3483 (get_default_native_type_with_exclude), (get_default_native_type),
3484 (get_native_type), (update_native_type),
3485 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3486 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3487 (g_unix_mount_can_eject), (eject_unmount_cb),
3488 (eject_unmount_read_error), (eject_unmount_do),
3489 (g_unix_mount_unmount), (g_unix_mount_eject),
3490 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3491 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3492 (g_unix_mount_point_guess_can_eject):
3494 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3495 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3496 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3497 (g_unix_volume_mount), (g_unix_volume_eject),
3498 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3499 * gunixvolumemonitor.c: (get_volume_for_uuid),
3500 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3502 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3503 (g_volume_eject), (g_volume_eject_finish):
3505 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3506 (g_volume_monitor_get_mount_for_uuid):
3509 Provide eject() on both GMount and GVolume and utility functions
3510 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3511 ejected. Introduce the concept of UUID's and wire it into GVolume
3512 and GMount and provide API on GVolumeMonitor to find such
3513 instances. Also handle the case where an external
3514 GNativeVolumeMonitor fails to initialize. Lock around the
3515 _g_get_mount_for_mount_path() function such that volume monitor
3516 implementations won't have to do locking themselves.
3518 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3520 * gdesktopappinfo.c:
3526 * gvolume.h: Documentation updates
3528 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3531 * gfile.h: Doc updates
3533 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3536 * gdesktopappinfo.c: Use hash table iterators.
3538 2007-12-14 Alexander Larsson <alexl@redhat.com>
3541 * gfileattribute.[ch]:
3542 * gfileattribute-priv.h:
3543 Move GFileAttributeValue to a private header, as
3547 Make set_attribute take a type + a pointer instead
3548 of a GFileAttributeValue.
3551 Fix up for above changes.
3552 Add g_file_info_get_attribute_data to get
3553 all info in one call, g_file_info_get_attribute_status
3554 to get the status and g_file_info_get_attribute_as_string.
3558 * glocalfileinfo.[ch]:
3562 Make _guess_type static.
3564 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3567 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3568 made mkenums and friends use temporary files to avoid leaving
3569 empty generated files on failure (#503470).
3571 2007-12-14 Alexander Larsson <alexl@redhat.com>
3573 * gmountoperation.h:
3576 2007-12-14 Alexander Larsson <alexl@redhat.com>
3580 * gfileattribute.[ch]:
3583 * glocalfileoutputstream.c:
3584 * gmountoperation.[ch]:
3585 * goutputstream.[ch]:
3586 Clean up all flags enums to not have _FLAGS in them
3587 Make the names of some of the enums better.
3592 2007-12-14 Michael Natterer <mitch@imendio.com>
3594 * gio.symbols: fix g_io_scheduler symbol names.
3596 2007-12-14 Alexander Larsson <alexl@redhat.com>
3602 * gbufferedinputstream.h:
3603 * gbufferedoutputstream.h:
3606 * gdatainputstream.h:
3607 * gdataoutputstream.h:
3608 * gdesktopappinfo.h:
3609 * gdirectorymonitor.h:
3613 * gfileenumerator.h:
3616 * gfileinputstream.h:
3618 * gfilenamecompleter.h:
3619 * gfileoutputstream.h:
3620 * gfilterinputstream.h:
3621 * gfilteroutputstream.h:
3629 * gmemoryinputstream.h:
3630 * gmemoryoutputstream.h:
3632 * gmountoperation.h:
3635 * gsimpleasyncresult.h:
3637 * gunixinputstream.h:
3639 * gunixoutputstream.h:
3643 * inotify/Makefile.am:
3644 Only allow including <gio/gio.h> from apps
3646 2007-12-14 Alexander Larsson <alexl@redhat.com>
3648 * gioscheduler.[ch]:
3649 * gsimpleasyncresult.c:
3650 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3651 Split out the send_to_mainloop call into two versions instead
3652 of having the block argument.
3654 2007-12-13 Alexander Larsson <alexl@redhat.com>
3656 * gcancellable.[ch]:
3658 * gbufferedinputstream.c:
3659 * gfileenumerator.c:
3660 * gfileinputstream.c:
3661 * gfileoutputstream.c:
3665 g_push/pop_current_cancellable ->
3666 g_cancellable_push/pop_current
3668 2007-12-13 Alexander Larsson <alexl@redhat.com>
3672 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3674 2007-12-13 Alexander Larsson <alexl@redhat.com>
3676 * gmountoperation.h:
3677 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3679 2007-12-12 Alexander Larsson <alexl@redhat.com>
3682 Fix race condition when freeing proxy in
3683 g_io_job_send_to_mainloop().
3685 2007-12-12 Alexander Larsson <alexl@redhat.com>
3691 Make attribute namespace separator "::" instead of ":".
3692 Use - instead of _ as separator in attribute names.
3694 2007-12-12 Alexander Larsson <alexl@redhat.com>
3696 * gbufferedinputstream.h:
3697 * gbufferedoutputstream.h:
3698 * gdatainputstream.h:
3699 * gdataoutputstream.h:
3700 * gdirectorymonitor.h:
3701 * gfileenumerator.h:
3702 * gfileinputstream.h:
3704 * gfileoutputstream.h:
3705 * gfilterinputstream.h:
3706 * gfilteroutputstream.h:
3708 * glocalfileinputstream.h:
3709 * glocalfileoutputstream.h:
3710 * gmemoryinputstream.h:
3711 * gmemoryoutputstream.h:
3712 * gnativevolumemonitor.h:
3714 * gunixinputstream.h:
3715 * gunixoutputstream.h:
3718 s/parent/parent_instance/ in GObjects
3720 2007-12-12 Alexander Larsson <alexl@redhat.com>
3725 No need for padding for interfaces
3727 2007-12-12 Alexander Larsson <alexl@redhat.com>
3731 * gbufferedinputstream.c:
3732 * gbufferedoutputstream.c:
3735 * gdatainputstream.[ch]:
3736 * gdesktopappinfo.c:
3737 * gdirectorymonitor.c:
3739 * gfileattribute.[ch]:
3742 * gfileinputstream.h:
3743 * gfilemonitor.[ch]:
3744 * gfileoutputstream.[ch]:
3745 * gfilterinputstream.h:
3746 * gfilteroutputstream.h:
3749 * gloadableicon.[ch]:
3750 * gmemoryinputstream.c:
3751 * gmountoperation.c:
3753 Fix up a bunch of details in the docs.
3758 2007-12-11 David Zeuthen <davidz@redhat.com>
3760 Rework how volumes, drives and volume monitoring is
3761 done. Previosly the model was
3763 GDrive <1-1> GVolume
3765 where a GDrive instance represented a mount point and a GVolume
3766 instance represented a mounted file system. This patch changes it
3769 GDrive <1-N> GVolume <1-1> GMount
3771 where GMount now serves the purpose of the old GVolume and the new
3772 GVolume serves the purpose of the old GDrive. In addition the new
3773 GDrive interface is used to represent a collection of GVolume
3774 instances (typically partitions) and also contains utility to query
3775 the state of the physical drive the GDrive object represents (such
3776 as checking for media, polling the drive, ejecting the media etc.).
3778 Also implement mounting and unmounting in the Unix volume monitor
3779 backend. A subquent patch will introduce GDrive support for ejection
3783 * gdrive.c: (g_drive_is_media_check_automatic),
3784 (g_drive_is_media_removable), (g_drive_has_media),
3785 (g_drive_can_poll_for_media), (g_drive_eject),
3786 (g_drive_eject_finish), (g_drive_poll_for_media),
3787 (g_drive_poll_for_media_finish):
3789 * gfile.c: (g_file_find_enclosing_mount):
3792 * glocaldirectorymonitor.c:
3793 (g_local_directory_monitor_constructor), (mounts_changed):
3794 * glocalfile.c: (get_mount_info),
3795 (g_local_file_find_enclosing_mount),
3796 (g_local_file_file_iface_init):
3797 * gnativevolumemonitor.h:
3798 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3799 (get_connected_drives), (g_union_volume_monitor_class_init),
3800 (child_volume_added), (child_volume_removed),
3801 (child_volume_changed), (child_mount_added), (child_mount_removed),
3802 (child_mount_pre_unmount), (child_mount_changed),
3803 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3804 (g_union_volume_monitor_remove_monitor),
3805 (_g_mount_get_for_mount_path):
3806 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3807 (guess_system_internal), (_g_get_unix_mounts),
3808 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3809 (g_unix_mount_free), (g_unix_mount_compare),
3810 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3811 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3812 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3813 (type_to_icon), (g_unix_mount_guess_name),
3814 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3815 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3816 (_resolve_symlink), (_resolve_dev_root):
3818 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3819 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3820 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3821 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3822 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3823 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3824 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3825 (g_unix_volume_volume_iface_init):
3827 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3828 (get_mounts), (get_volumes), (get_connected_drives),
3829 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3830 (mountpoints_changed), (mounts_changed),
3831 (g_unix_volume_monitor_init),
3832 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3833 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3834 * gunixvolumemonitor.h:
3835 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3836 (g_volume_mount), (g_volume_mount_finish):
3838 * gvolumemonitor.c: (g_volume_monitor_class_init),
3839 (g_volume_monitor_get_connected_drives),
3840 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3843 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3845 * gmountoperation.h (GPasswordFlags): Close the gap
3847 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3849 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3851 * gdesktopappinfo.[hc]: Remove _-prefixes
3853 2007-12-10 Tor Lillqvist <tml@novell.com>
3855 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3858 2007-12-10 Alexander Larsson <alexl@redhat.com>
3860 * gfile.c (g_file_set_display_name):
3861 Don't hardcode '/' (#502727)
3863 2007-12-09 Hans Breuer <hans@breuer.org>
3865 * makefile.msc : follow lib naming convention
3866 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3867 for user and group name, tested with ../tests/gio-ls
3869 2007-12-09 A. Walton <awalton@svn.gnome.org>
3871 * gdesktopappinfo.c:
3877 * gfileenumerator.c:
3882 * gmemoryinputstream.c:
3883 * gmemoryoutputstream.c:
3885 * gsimpleasyncresult.c:
3886 More documentation cleanup and filling in missing information, bringing
3887 GIO to 99% symbol coverage.
3889 2007-12-08 Hans Breuer <hans@breuer.org>
3891 [gio compiles and links on win32, not sure how much already works]
3892 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3893 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3894 base on win32 API; prefer g_lstat() over lstat(); instead of
3895 localtime_r() use an all GLib implementation on win32;
3896 get_mount_info() still needs a win32 specifc implementation
3897 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3898 win32_get_file_user_info to get owner/group info without uid/gid
3899 * glocalfileinputstream.c : include <io.h> on win32
3900 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3901 definition, use g_win32_ftruncate() for G_OS_WIN32
3902 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3903 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3904 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3905 * makefile.msc : updated
3907 2007-12-07 Alexander Larsson <alexl@redhat.com>
3909 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3910 Avoid warning spew if error == NULL
3912 2007-12-07 Alexander Larsson <alexl@redhat.com>
3915 Update docs wrt etags
3917 2007-12-06 Alexander Larsson <alexl@redhat.com>
3920 Include sys/types.h for dev_t (#501919)
3922 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3926 Make abicheck and pltcheck pass.
3928 2007-12-05 Alexander Larsson <alexl@redhat.com>
3931 * giomodule-priv.h: Added.
3932 * glocaldirectorymonitor.c:
3933 * glocalfilemonitor.c:
3934 * gunionvolumemonitor.c:
3936 Actually add the declaration of _g_io_modules_ensure_loaded
3938 2007-12-05 Alexander Larsson <alexl@redhat.com>
3940 * gdatainputstream.c:
3945 * glocaldirectorymonitor.c:
3946 * glocalfilemonitor.c:
3947 * gunionvolumemonitor.c:
3949 Make g_io_modules_ensure_loaded a private function and
3950 don't pass in the dirname. This means we can do magic
3951 directory finding in the win32 version.
3952 Export the actual load-modules-in-directory code so that
3953 gvfs can reuse that.
3955 2007-12-05 Alexander Larsson <alexl@redhat.com>
3957 * gbufferedinputstream.c:
3958 * gbufferedoutputstream.c:
3961 * gfileenumerator.[ch]:
3962 * gfileinputstream.c:
3963 * gfileoutputstream.[ch]:
3964 * gfilterinputstream.c:
3965 * gfilteroutputstream.c:
3966 * ginputstream.[ch]:
3968 * glocalfileenumerator.c:
3969 * glocalfileinputstream.c:
3970 * glocalfileoutputstream.c:
3971 * gmemoryinputstream.c:
3972 * gmemoryoutputstream.c:
3973 * goutputstream.[ch]:
3976 * gunixinputstream.c:
3977 * gunixoutputstream.c:
3978 Rename all struct members named:
3979 read, write, close, truncate, or mount
3980 to foo_fn, as these are reserved names
3981 and could be defined as macros in libc.
3984 2007-12-04 Alexander Larsson <alexl@redhat.com>
3987 (g_output_stream_close):
3988 Only call flush if non-null.
3990 2007-11-30 Dan Winship <danw@gnome.org>
3992 * ginputstream.c (g_input_stream_set_pending): Make this take a
3993 GError and return a gboolean, and do the "outstanding operation"
3994 check (and the "stream is already closed" check) itself.
3995 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3997 * goutputstream.c (g_output_stream_set_pending)
3998 (g_output_stream_clear_pending): Likewise
4000 * gbufferedinputstream.c:
4001 * gfileinputstream.c:
4002 * gfileoutputstream.c: Update for that
4004 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4005 Like g_simple_async_report_error_in_idle, but takes a GError
4006 rather than building one.
4008 2007-11-30 Dan Winship <danw@gnome.org>
4010 * goutputstream.c: Don't cheat and unset the "pending" flag around
4011 inner calls. Instead, call the class method directly rather than
4012 the wrapper function that checks "pending"
4014 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4016 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4018 2007-12-03 Hans Breuer <hans@breuer.org>
4020 [start of port to win32/msvc]
4021 * gcancellable.c : HAVE_UNIST_H and _pipe()
4022 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4023 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4024 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4026 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4027 * glocalvfs.c : use HAVE_PWD_H
4028 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4029 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4030 * Makefile.am : added to EXTRA_DIST
4032 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4034 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4037 2007-12-03 Alexander Larsson <alexl@redhat.com>
4040 Handle OSX style xattrs API (#500506)
4042 2007-12-03 Alexander Larsson <alexl@redhat.com>
4046 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4048 2007-12-02 A. Walton <awalton@svn.gnome.org>
4052 Documentation accuracy fixes.
4054 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4056 * gioenumtypes.c.template: Fix typo.
4058 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4060 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4062 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4064 * gdirectorymonitor.c:
4065 * gfilemonitor.c: Add properties
4067 * gbufferedoutputstream.c: Don't mark buffer-size property
4070 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4072 * gbufferedoutputstream.c: Add auto-grow property.
4074 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4076 * *.c: Unify the capitalization of section headings.
4078 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4080 * gmountoperation.c: Add properties
4082 * gdatainputstream.c: Turn byte-order and newline-type into
4085 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4087 * gioenumtypes.[hc].template: Templates for enum registration
4089 * Makefile.am: Generate gioenumtypes.[hc]
4091 * gio.h: Include gioenumtypes.h
4093 * gfile.h: Add some explicit nicks.
4095 * gio.symbols: Add new symbols
4097 * pltcheck.sh: Adjust
4099 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4101 * *.c: Explain etags and link to the explanation
4103 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4105 * *.c: Explain I/O priority.
4107 * *.c: More coding style fixes.
4109 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4111 * gasyncresult.c: Add another paragraph to the intro,
4112 adjust coding style of example.
4114 2007-11-29 A. Walton <awalton@svn.gnome.org>
4117 Fixes unknown meaning in GAppLaunchContext docs.
4119 Clarify asynchronous ops.
4121 Fix entity tag docs.
4124 Provides missing gtk-doc section, fixes API docs slighly.
4125 * gsimpleasyncresult.c:
4126 Fill in missing info in docs.
4127 * gunixinputstream.c:
4128 * gunixoutputstream.c:
4129 Be more expressive in short description.
4131 Remove gtk-doc stubs for non-public API.
4133 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4135 * *.c: Coding style fixups
4137 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4139 * inotify/inotify-helper.c: Don't export the lock from libgio.
4141 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4144 * abicheck.sh: Fix copy-and-paste leftovers
4146 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4148 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4150 2007-11-28 Alexander Larsson <alexl@redhat.com>
4154 Removed unnecessary file
4156 * gdesktopappinfo.[ch]:
4159 * glocaldirectorymonitor.[ch]:
4161 * glocalfileenumerator.[ch]:
4162 * glocalfileinputstream.[ch]:
4163 * glocalfilemonitor.[ch]:
4164 * glocalfileoutputstream.[ch]:
4166 * gnativevolumemonitor.c:
4167 * gpollfilemonitor.[ch]:
4168 * gunionvolumemonitor.[ch]:
4171 * gunixvolumemonitor.[ch]:
4174 * inotify/ginotifydirectorymonitor.[ch]:
4175 * inotify/ginotifyfilemonitor.[ch]:
4176 * inotify/inotify-helper.c:
4177 Append _ to all internal functions
4181 Export symbols needed for modules
4183 2007-11-28 Alexander Larsson <alexl@redhat.com>
4186 * abicheck.sh: Added.
4187 * makegioalias.pl: Added.
4188 * pltcheck.sh: Added.
4189 * gio.symbols: Added.
4192 Initial work on adding symbol handling.
4195 Correct ifdef guard name
4198 * inotify/Makefile.am:
4199 * xdgmime/Makefile.am:
4200 Include toplevel Makefile.decl
4202 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4204 * gcontenttype.c: Move doc comments to the unix section.
4206 * *.[hc]: More trivial doc corrections.
4208 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4210 * gpollfilemonitor.c:
4214 * gdesktopappinfo.c:
4219 * gdatainputstream.c:
4220 * gdatainputstream.h:
4221 * gdataoutputstream.c:
4222 * gdataoutputstream.h:
4223 * gfileinfo.h: Doc cleanups
4225 2007-11-28 Andre Klapper <a9016009@gmx.de>
4227 * gdesktopappinfo.c: Fix a typo.
4229 2007-11-27 Andre Klapper <a9016009@gmx.de>
4231 * glocalfileoutputstream.c: Fix a typo.
4233 2007-11-27 Alexander Larsson <alexl@redhat.com>
4236 Don't include removed headers
4238 2007-11-27 Alexander Larsson <alexl@redhat.com>
4241 * gsocketinputstream.[ch]: Removed.
4242 * gsocketoutputstream.[ch]: Removed.
4243 * gunixinputstream.[ch]: Added.
4244 * gunixoutputstream.[ch]: Added.
4245 Renamed GSocket*Stream to GUnix*Stream and made
4246 it unix-only, since its not really only for sockets
4247 and it only works on unix (but is highly useful there).
4249 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4255 * gbufferedinputstream.c:
4256 * gbufferedinputstream.h:
4257 * gbufferedoutputstream.c:
4258 * gbufferedoutputstream.h:
4262 * gdatainputstream.c:
4263 * gdatainputstream.h:
4264 * gdataoutputstream.c:
4265 * gdataoutputstream.h:
4266 * gdirectorymonitor.c:
4267 * gdirectorymonitor.h:
4274 * gfileenumerator.c:
4275 * gfileenumerator.h:
4280 * gfileinputstream.c:
4281 * gfileinputstream.h:
4284 * gfilenamecompleter.c:
4285 * gfilenamecompleter.h:
4286 * gfileoutputstream.c:
4287 * gfileoutputstream.h:
4288 * gfilterinputstream.c:
4289 * gfilterinputstream.h:
4290 * gfilteroutputstream.c:
4291 * gfilteroutputstream.h:
4304 * glocalfileoutputstream.c:
4305 * gmemoryinputstream.c:
4306 * gmemoryinputstream.h:
4307 * gmemoryoutputstream.c:
4308 * gmemoryoutputstream.h:
4309 * gmountoperation.c:
4310 * gmountoperation.h:
4313 * gpollfilemonitor.c:
4316 * gsimpleasyncresult.c:
4317 * gsimpleasyncresult.h:
4318 * gsocketinputstream.c:
4319 * gsocketinputstream.h:
4320 * gsocketoutputstream.c:
4321 * gsocketoutputstream.h:
4328 * gunixvolumemonitor.c:
4337 Bumps documentation to 93% symbol coverage, touching most
4338 of the public files. Fixes broken function documentation prototypes.
4339 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4340 gtk-doc headers in private files.
4342 2007-11-27 Jürg Billeter <j@bitron.ch>
4344 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4345 (g_buffered_input_stream_read_byte):
4346 * gbufferedinputstream.h:
4347 New functions for efficient access to buffer and simple single byte
4350 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4351 (g_data_input_stream_read_until):
4352 * gdatainputstream.h:
4353 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4354 read_until with multiple stop chars.
4356 2007-11-27 Alexander Larsson <alexl@redhat.com>
4360 * inotify/Makefile.am:
4361 Use the user-specified giomoduledir
4363 2007-11-27 Alexander Larsson <alexl@redhat.com>
4367 Add catch-all gio.h header
4368 Don't install gdummyfile.h
4370 2007-11-26 Alexander Larsson <alexl@redhat.com>
4372 * Makefile.am (gioinclude_HEADERS):
4373 Remove trailing whitespace
4375 2007-11-26 Alexander Larsson <alexl@redhat.com>
4377 Merge gio-standalone into glib
4379 2007-11-25 Christian Kellner <gicmo@gnome.org>
4381 * gio/goutputstream.c:
4382 Fix small mistake in the docs.
4384 2007-11-21 Christian Persch <chpe@gnome.org>
4386 * gio/glocalfile.c: (g_local_file_trash):
4387 Convert filenames to UTF-8 for GError.
4388 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4389 as per xdg base dir spec.
4391 2007-11-21 Christian Persch <chpe@gnome.org>
4393 * gio/gdesktopappinfo.c:
4394 Use that g_key_file_to_data cannot fail.
4396 Use stock defines for the key file group and key names.
4399 2007-11-21 Alexander Larsson <alexl@redhat.com>
4402 (copy_stream_with_progress):
4403 Make sure we do a final progress callback with
4404 the full total size.
4406 2007-11-21 Alexander Larsson <alexl@redhat.com>
4409 Export g_file_copy_attributes
4410 Remove padding as its not needed for interfaces
4412 2007-11-20 Alexander Larsson <alexl@redhat.com>
4417 Add G_IO_ERROR_WOULD_MERGE for
4418 copy/move dir on dir with overwrite.
4420 2007-11-20 Alexander Larsson <alexl@redhat.com>
4423 * gio/glocalfileinfo.c:
4424 Add COPY_NAME (this is an optional
4425 non-modified utf8 version of the name) that
4428 2007-11-20 Alexander Larsson <alexl@redhat.com>
4430 * gio/glocalfileenumerator.c:
4431 Report errors as GIOError, not GFileError
4433 2007-11-16 Alexander Larsson <alexl@redhat.com>
4435 * gio/glocalfileoutputstream.c:
4436 * gio/gwin32appinfo.c:
4437 Fix typos in strings.
4438 Patch from Luca Ferretti <elle.uca@libero.it>
4440 2007-11-15 Alexander Larsson <alexl@redhat.com>
4443 Post release version bump
4445 === gio-standalone 0.1.2 ===
4447 2007-11-15 Alexander Larsson <alexl@redhat.com>
4449 * docs/reference/gio/Makefile.am:
4450 Fix up distcheck by removing weird
4456 2007-11-14 Alexander Larsson <alexl@redhat.com>
4458 * gio/gdesktopappinfo.c:
4459 * gio/glocaldirectorymonitor.c:
4461 * gio/glocalfileinfo.c:
4462 * gio/inotify/inotify-sub.c:
4463 * programs/gio-cat.c:
4464 * programs/gio-copy.c:
4465 * programs/gio-info.c:
4466 * programs/gio-ls.c:
4467 * programs/gio-monitor-dir.c:
4468 * programs/gio-monitor-file.c:
4469 * programs/gio-mount.c:
4470 * programs/gio-move.c:
4471 * programs/gio-rm.c:
4472 * programs/gio-save.c:
4473 * programs/gio-trash.c:
4474 Leak fixes from Kjartan Maraas
4476 2007-11-14 Alexander Larsson <alexl@redhat.com>
4478 * gio/fam/fam-helper.c:
4480 * gio/glocalfileinfo.c:
4484 * gio/inotify/inotify-diag.c:
4485 * gio/inotify/inotify-kernel.c:
4486 Various code cleanups from Kjartan Maraas
4488 2007-11-14 Alexander Larsson <alexl@redhat.com>
4490 * gio/gioscheduler.c:
4492 Set up threadpool so that we cache 2 unused
4493 idle threads for at 15 secs. This means we
4494 will reuse thread-local data (like dbus connections)
4497 2007-11-14 Alexander Larsson <alexl@redhat.com>
4499 * gio/fam/fam-helper.c:
4500 * gio/fam/gfamdirectorymonitor.c:
4501 * gio/fam/gfamfilemonitor.c:
4503 * gio/gcontenttype.c:
4504 * gio/gdatainputstream.c:
4505 * gio/gdataoutputstream.c:
4509 * gio/gfileattribute.h:
4510 * gio/gfileenumerator.c:
4512 * gio/ginputstream.c:
4515 * gio/glocalfileinfo.c:
4516 * gio/goutputstream.c:
4517 * gio/gpollfilemonitor.c:
4518 * gio/gsimpleasyncresult.c:
4519 * gio/gunixmounts.c:
4520 * gio/gunixmounts.h:
4521 * gio/inotify/ginotifydirectorymonitor.c:
4522 * gio/inotify/ginotifyfilemonitor.c:
4523 * gio/inotify/inotify-diag.c:
4524 * gio/inotify/inotify-kernel.c:
4525 * gio/inotify/inotify-path.c:
4527 * gio/test-streams.c:
4528 * programs/gio-info.c:
4529 * programs/gio-monitor-dir.c:
4530 * programs/gio-monitor-file.c:
4531 Various code cleanups from Kjartan Maraas
4533 2007-11-13 Alexander Larsson <alexl@redhat.com>
4536 Handle the uri-scheme calls for dummy files
4538 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4540 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4541 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4542 to avoid clash with the C++ keyword.
4544 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4546 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4547 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4549 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4551 * gio/glocaldirectorymonitor.c:
4552 * gio/glocalfilemonitor.c:
4553 * gio/gunionvolumemonitor.c:
4554 Don't use g_once_init_*() for initializations that could fail and
4555 could leave the initialization variable set to 0 but use GOnce.
4556 This prevents a deadlock on the second call when trying to create
4557 a monitor and no monitor type is available. Thanks to Sven Herzberg
4560 2007-11-11 Sven Herzberg <sven@imendio.com>
4562 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4563 #ifdef (make it work on MacOS X again)
4565 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4567 Fixes Changelog for last two commits (sorry guys).
4569 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4571 * gio/gbufferedinputstream.c:
4572 * gio/gdatainputstream.c:
4574 * gio/gfileoutputstream.c:
4575 * gio/gfilterinputstream.c:
4576 * gio/glocalfileinputstream.c:
4579 More consistency fixes in g*stream.c files.
4580 Significant clean of gfile's documentation, filling in of
4581 asynchronous operations documentation.
4583 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4585 * gio/gasyncresult.c:
4586 * gio/gbufferedinputstream.c:
4587 * gio/gbufferedoutputstream.c:
4588 * gio/gcancellable.c:
4589 * gio/gcontenttype.c:
4590 * gio/gdatainputstream.c:
4591 * gio/gdataoutputstream.c:
4592 * gio/gdesktopappinfo.c:
4595 * gio/gfileattribute.c:
4596 * gio/gio/gfileenumerator.c:
4598 * gio/gfileinputstream.c:
4599 * gio/gfilemonitor.c:
4600 * gio/gfileoutputstream.c:
4601 * gio/ginputstream.c:
4603 * gio/gioscheduler.c:
4604 * gio/gloadableicon.c:
4605 * gio/glocalfileoutputstream.c:
4606 * gio/gmemoryoutputstream.c:
4607 * gio/gmountoperation.c:
4608 * gio/goutputstream.c:
4610 * gio/gsimpleasyncresult.c:
4611 * gio/gunionvolumemonitor.c:
4612 * gio/gunixmounts.c:
4613 * gio/gunixvolume.c:
4617 * gio/gvolumemonitor.c:
4618 Updated documentation stubs, working towards consistency and
4621 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4623 * gio/gmemoryoutputstream.c:
4624 * gio/gmemoryoutputstream.h:
4625 Change g_memory_output_stream_set_free_on_close() to
4626 g_memory_output_stream_set_free_data() as this makes more sense and
4627 is more consistent with GMemoryInputStream.
4629 2007-11-07 Alexander Larsson <alexl@redhat.com>
4636 Change how we find the default vfs so that
4637 we can handle a gvfs failing to init
4639 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4641 * gio/gbufferedoutputstream.c:
4642 * gio/gdatainputstream.c:
4643 * gio/gdataoutputstream.c:
4644 * gio/gfileinputstream.c:
4645 * gio/gfileoutputstream.c:
4646 * gio/gfilterinputstream.c:
4647 * gio/gfilteroutputstream.c:
4648 * gio/ginputstream.c:
4649 * gio/gmemoryinputstream.c:
4650 * gio/gmemoryoutputstream.c:
4651 * gio/goutputstream.c:
4652 * gio/gsimpleasyncresult.c:
4653 * gio/gsocketinputstream.c:
4654 * gio/gsocketoutputstream.c:
4655 Add guards to the remaining public functions, add a TODO for
4656 an unimplemented function and remove some useless guards.
4658 2007-11-07 Alexander Larsson <alexl@redhat.com>
4661 Autoconf checks for the various types of
4662 getpwuid_r and getgrgid_r
4664 * gio/glocalfileinfo.c:
4665 Use the autoconf checks from above
4667 2007-11-07 Alexander Larsson <alexl@redhat.com>
4670 (g_local_file_query_filesystem_info):
4671 Some fixes for the statvfs case
4673 2007-11-07 Alexander Larsson <alexl@redhat.com>
4676 (g_local_file_query_filesystem_info):
4677 Pick the "best" of statfs / statvfs for the system
4678 if both are availible.
4680 2007-11-07 Alexander Larsson <alexl@redhat.com>
4682 Solaris fixes from Halton.Huo@Sun.COM:
4689 * gio/glocalfileinfo.c:
4690 Fix for solaris definition of getpwuid_r
4692 * gio/test-streams.c:
4693 Use G_GNUC_PRETTY_FUNCTION
4695 2007-11-07 Alexander Larsson <alexl@redhat.com>
4697 * gio/gdesktopappinfo.c:
4698 (update_default_list):
4699 Remove double semicolon.
4700 Patch from Jens Granseuer
4702 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4704 * docs/reference/gio/gio-sections.txt:
4705 * gio/gbufferedinputstream.c:
4706 * gio/gbufferedinputstream.h:
4707 * gio/gdatainputstream.c:
4708 * gio/gfileenumerator.c:
4709 * gio/gioscheduler.c:
4710 * gio/gunionvolumemonitor.c:
4712 * programs/gio-save.c:
4713 Fix typo: availible -> available. Unfortuntely this breaks API
4714 and ABI as g_buffered_input_stream_get_available() was renamed.
4716 * gio/gunixmounts.c:
4717 * gio/gbufferedinputstream.c:
4718 Add guards for public functions.
4720 2007-11-06 Ross Burton <ross@openedhand.com>
4722 * docs/reference/gio/Makefile.am:
4723 Fix invalid += usage which automake 1.10 doesn't like.
4725 2007-11-06 Alexander Larsson <alexl@redhat.com>
4728 (g_app_launch_context_class_init):
4731 Patch from Ross Burton
4733 2007-11-06 Alexander Larsson <alexl@redhat.com>
4736 Post release version bump
4738 === gio-standalone 0.1.1 ===
4740 2007-11-06 Alexander Larsson <alexl@redhat.com>
4743 Bump version to 0.1.1
4745 * gio/gsimpleasyncresult.c:
4746 (g_simple_async_result_set_from_error):
4747 Remove bogus g_return_if_fail
4749 2007-11-06 Alexander Larsson <alexl@redhat.com>
4752 The name is gio-standalone
4755 Add top src/builddir to includedir
4757 2007-11-06 Alexander Larsson <alexl@redhat.com>
4759 * docs/reference/gio/gio-sections.txt:
4761 * gio/gbufferedinputstream.c:
4762 * gio/gbufferedoutputstream.c:
4763 * gio/gcancellable.c:
4764 * gio/gdatainputstream.h:
4765 * gio/gdataoutputstream.c:
4766 * gio/gdataoutputstream.h:
4767 * gio/gdirectorymonitor.c:
4769 * gio/gfileattribute.c:
4770 * gio/gfileattribute.h:
4771 * gio/gfileenumerator.c:
4772 * gio/gfileenumerator.h:
4775 * gio/gfileinputstream.h:
4776 * gio/gfilemonitor.c:
4777 * gio/gfileoutputstream.h:
4778 * gio/glocalfilemonitor.h:
4779 * gio/glocalfileoutputstream.h:
4780 * gio/gmemoryinputstream.c:
4781 * gio/gmemoryoutputstream.c:
4782 * gio/gmountoperation.c:
4783 * gio/goutputstream.c:
4784 * gio/goutputstream.h:
4786 * gio/gsimpleasyncresult.c:
4787 * gio/gunixmounts.c:
4788 * gio/gunixmounts.h:
4790 * gio/inotify/inotify-helper.c:
4791 Fix gtk-doc warnings
4793 Patch from Ross Burton
4795 2007-11-06 Alexander Larsson <alexl@redhat.com>
4797 * gio/gfilenamecompleter.c:
4798 (g_filename_completer_get_completions):
4801 * gio/gunixvolume.c:
4802 Remove unused function
4804 Patches from Ross Burton
4806 2007-11-06 Alexander Larsson <alexl@redhat.com>
4811 Padding not needed for interfaces
4813 2007-11-06 Alexander Larsson <alexl@redhat.com>
4815 * gio/gfilemonitor.c:
4819 Make giotypes.h an internal file
4822 * gio/gbufferedinputstream.h:
4823 * gio/gbufferedoutputstream.h:
4824 * gio/gcancellable.h:
4825 * gio/gdatainputstream.h:
4826 * gio/gdataoutputstream.h:
4827 * gio/gdirectorymonitor.c:
4828 * gio/gdirectorymonitor.h:
4833 * gio/gfileattribute.h:
4834 * gio/gfileenumerator.h:
4839 * gio/gfilemonitor.c:
4840 * gio/gfilemonitor.h:
4841 * gio/gfilenamecompleter.c:
4842 * gio/gfilenamecompleter.h:
4843 * gio/gfilterinputstream.h:
4844 * gio/gfilteroutputstream.h:
4845 * gio/ginputstream.h:
4846 * gio/gmemoryinputstream.h:
4847 * gio/gmemoryoutputstream.h:
4848 * gio/gmountoperation.c:
4849 * gio/gmountoperation.h:
4850 * gio/gnativevolumemonitor.c:
4851 * gio/goutputstream.h:
4854 * gio/gsimpleasyncresult.c:
4855 * gio/gsimpleasyncresult.h:
4856 * gio/gsocketinputstream.h:
4857 * gio/gsocketoutputstream.h:
4858 * gio/gthemedicon.c:
4859 * gio/gthemedicon.h:
4863 * gio/gvolumemonitor.c:
4864 * gio/gvolumemonitor.h:
4865 Add padding in classes where it seems useful
4866 Don't include giotypes.h from public headers
4867 Move in Class definitions into c file where possible
4872 2007-11-06 Alexander Larsson <alexl@redhat.com>
4874 * docs/reference/gio/gio-docs.xml:
4875 Better structure for API docs
4877 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4880 * gio/gloadableicon.c:
4881 * gio/gsimpleasyncresult.c:
4882 * gio/gthemedicon.c:
4883 Add some more guards to public functions. Only files missing are now
4886 2007-11-06 Alexander Larsson <alexl@redhat.com>
4888 * docs/reference/gio/gio-docs.xml:
4889 Remove old files, add missing ones
4891 2007-11-06 Alexander Larsson <alexl@redhat.com>
4893 * docs/reference/gio/gio-sections.txt:
4896 Hide implementation classes
4898 * gio/gdriveprivate.h:
4899 * gio/gvolumeprivate.h:
4900 Remove non-existing function declarations
4902 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4905 Fix compilation warnings and add guards to the new functions.
4907 * gio/gasyncresult.c:
4909 Add guards to the public functions.
4912 Implement get_path().
4914 2007-11-06 Alexander Larsson <alexl@redhat.com>
4916 * gio/gfilenamecompleter.c:
4917 Make g_filename_completer_get_completions
4918 return char ** instead of GList for
4921 * docs/reference/gio/gio-docs.xml:
4922 * docs/reference/gio/gio-sections.txt:
4924 * gio/gasyncresult.c:
4925 * gio/gbufferedinputstream.c:
4926 * gio/gbufferedoutputstream.c:
4927 * gio/gcancellable.c:
4928 * gio/gcontenttype.c:
4929 * gio/gdatainputstream.c:
4930 * gio/gdataoutputstream.c:
4931 * gio/gdesktopappinfo.c:
4932 * gio/gdirectorymonitor.c:
4936 * gio/gfileattribute.c:
4937 * gio/gfileenumerator.c:
4940 * gio/gfileinputstream.c:
4941 * gio/gfilemonitor.c:
4942 * gio/gfilenamecompleter.c:
4943 * gio/gfilenamecompleter.h:
4944 * gio/gfileoutputstream.c:
4945 * gio/gfilterinputstream.c:
4947 * gio/ginputstream.c:
4949 * gio/gioscheduler.c:
4950 * gio/gloadableicon.c:
4951 * gio/glocaldirectorymonitor.c:
4953 * gio/glocalfileinputstream.c:
4954 * gio/glocalfilemonitor.c:
4955 * gio/glocalfileoutputstream.c:
4957 * gio/gmemoryinputstream.c:
4958 * gio/gmemoryoutputstream.c:
4959 * gio/gmountoperation.c:
4960 * gio/goutputstream.c:
4961 * gio/gpollfilemonitor.c:
4963 * gio/gsimpleasyncresult.c:
4964 * gio/gsocketinputstream.c:
4965 * gio/gsocketoutputstream.c:
4966 * gio/gthemedicon.c:
4967 * gio/gunionvolumemonitor.c:
4969 * gio/gunixmounts.c:
4970 * gio/gunixvolume.c:
4971 * gio/gunixvolumemonitor.c:
4975 * gio/gvolumemonitor.c:
4976 * gio/gwin32appinfo.c:
4977 Add (mostly stub) doc strings to public functions.
4978 Patch from Andrew Walton (awalton@gmail.com)
4980 2007-11-06 Alexander Larsson <alexl@redhat.com>
4982 * gio/gappinfo.[ch]:
4983 Added GAppLaunchContext object and pass that to launch.
4984 This allows simple implementation of both
4985 launch-on-screen and startup notification via a gtk+
4986 subclass of GAppLaunchContext
4988 * gio/gdesktopappinfo.c:
4989 Implement GAppLaunchContext API
4991 * gio/gwin32appinfo.c:
4994 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4996 * gio/gmountoperation.c:
4997 Add some guards to GMountOperation's public functions.
4999 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5003 * gio/gcancellable.c:
5004 * gio/gdirectorymonitor.c:
5006 * gio/gfileenumerator.c:
5007 * gio/gfilemonitor.c:,
5008 * gio/gfilenamecompleter.c:
5011 * gio/gioscheduler.c:
5015 * gio/gvolumemonitor.c:
5016 Add even more guards to various public functions.
5018 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5021 Add guards to the public functions of GAppInfo.
5023 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5025 * gio/gcontenttype.c:
5026 Add some more guards for public functions.
5028 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5030 * gio/fam/fam-module.c:
5031 * gio/fam/gfamdirectorymonitor.c:
5032 * gio/fam/gfamdirectorymonitor.h:
5033 * gio/fam/gfamfilemonitor.c:
5034 * gio/fam/gfamfilemonitor.h:
5035 * gio/inotify/ginotifydirectorymonitor.c:
5036 * gio/inotify/ginotifydirectorymonitor.h:
5037 * gio/inotify/ginotifyfilemonitor.c:
5038 * gio/inotify/ginotifyfilemonitor.h:
5039 Add proper copyright information and remove an unused variable
5040 in the GInotifyFileMonitor constructor.
5042 * gio/gcancellable.c:
5043 Add a guard for a public function and an assertion to prevent
5044 an undefined program state.
5046 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5048 * gio/gfileattribute.c:
5049 Don't run into an assertion if the given attribute value is NULL
5050 in g_file_attribute_value_get_*() but instead return a fallback
5051 value that makes sense in most situations. Passing them a attribute
5052 value with the wrong type will still run into an assertion.
5054 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5056 * gio/gfileattribute.c:
5058 Add even more guards to the public functions. Also fix the refcounting
5059 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5060 let g_file_info_list_attributes() filter the attributes by namespace
5061 instead of simply ignoring the namespace parameter.
5063 2007-11-03 Sven Herzberg <sven@imendio.com>
5065 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5066 (This makes gio work on MacOS X again)
5068 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5071 Build the gio subdirectory before the docs. Otherwise the build will
5074 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5075 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5076 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5077 Add guards to the public functions.
5079 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5081 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5082 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5083 to prevent a compiler warning.
5085 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5086 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5087 return something in the non-void function find_topdir_for().
5089 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5096 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5098 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5099 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5100 * gwin32appinfo.c (g_win32_app_info_launch):
5101 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5102 envp_for_startup_id, g_desktop_app_info_launch,
5103 g_desktop_app_info_launch_uris):
5105 Give an opaque 'startup_id' string instead of 'envp'.
5106 Support empty file lists for launching new windows.
5107 Fix infinite recursion bug when launching URIs.
5109 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5112 Add guard to the new g_file_get_uri_scheme() function.
5114 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5117 Convert a g_return_val_if_fail() to setting the GError instead as
5118 otherwise applications have to verify the parameter before otherwise
5119 and the parameter might come directly from the user.
5121 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5123 * gio/inotify/ginotify*.[ch]:
5124 Add missing copyright information.
5126 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5129 Add guards in the beginning of public functions to check for valid
5130 parameters and fix a bug in copy_stream_with_progress() that could've
5131 caused writing less bytes than reading.
5132 * gio/glocalfileinfo.c:
5133 Check for a NULL parameter and set the GError accordingly then.
5134 * gio/goutputstream.c:
5135 Fix the same bug as in gfile.c that could've caused writing less bytes
5136 than reading in g_output_stream_real_splice().
5138 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5141 Use the correct gvolumeprivate.h naming
5143 2007-11-01 Christian Kellner <gicmo@gnome.org>
5146 Remove leftover "$(daemon_sources)" entry.
5148 2007-11-01 Christian Kellner <gicmo@gnome.org>
5153 Add copyright information to source files.
5155 2007-11-01 Alexander Larsson <alexl@redhat.com>
5159 Add g_file_get_uri_scheme
5161 2007-11-01 Alexander Larsson <alexl@redhat.com>
5164 * gio/gdesktopappinfo.c:
5165 * gio/gwin32appinfo.c:
5166 Add g_app_info_get_default_for_uri_scheme.
5168 2007-11-01 Alexander Larsson <alexl@redhat.com>
5171 Correct filename for gdriveprivate.h
5173 2007-10-31 Alexander Larsson <alexl@redhat.com>
5176 Rename id:value to id:file
5179 * gio/glocalfileinfo.c:
5182 2007-10-31 Alexander Larsson <alexl@redhat.com>
5184 * gio/gunixvolume.c:
5186 Remove g_volume_get_platform_id, as thats not
5187 needed with the simpler union volume monitor
5189 2007-10-31 Alexander Larsson <alexl@redhat.com>
5192 * gio/guniondrive.[ch]: Removed.
5193 * gio/gunionvolume.[ch]: Removed.
5194 Remove GUnionDrive/Volume
5196 * gio/gunionvolumemonitor.c:
5197 Simplify union volume monitor, now we
5198 only have one native volume monitor and
5199 we use the actual volumes/drives from the
5200 child monitors instead of wrapping them
5202 * gio/gnativevolumemonitor.[ch]:
5203 Base class for native volume monitors.
5204 Includes priority and get_volume_for_mountpoint
5207 Add g_file_find_enclosing_volume
5210 Remove volume name fs attribute
5211 Add readonly fs attribute
5214 Implement readonly attribute
5215 remove volume name attribute
5216 Implement find_enclosing volume
5218 * gio/gunixmounts.c:
5219 Add a volume for "/".
5221 * gio/gunixvolume.[ch]:
5222 Set better name for /
5224 * gio/gunixvolumemonitor.[ch]:
5225 Derive from GNativeVolumeMonitor
5226 Implement get_volume_for_mountpoint
5229 GVolume typedef moved to gfile.h
5231 * gio/gvolumeprivate.h:
5232 Add g_volume_get_for_mount_path
5234 2007-10-31 Alexander Larsson <alexl@redhat.com>
5236 * gio/gunixmounts.[ch]:
5237 Add cache info to unix mount listers
5238 Make getmntent use threadsafe
5239 Add is_system_internal attribute for GUnixMount
5241 * gio/gunixvolume.c:
5242 (g_unix_volume_new):
5243 Use is_system_internal instead of own code
5245 * gio/glocaldirectorymonitor.c:
5246 * gio/gunixvolumemonitor.c:
5247 Update to new gunixmounts API
5252 2007-10-30 Alexander Larsson <alexl@redhat.com>
5255 Add volume name fsinfo attribute
5258 Read volume name info
5260 * gio/gunionvolumemonitor.c:
5261 Fix infinite loops when finalizing a union volume monitor
5263 2007-10-30 Alexander Larsson <alexl@redhat.com>
5265 * gio/goutputstream.[ch]:
5266 Add splice() with default implementation
5268 * gio/gsocketoutputstream.c:
5269 (g_socket_output_stream_write):
5270 Return error on cancellation correctly.
5272 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5274 * gio/glocalfile.c (g_local_file_trash):
5275 Do not leak a string.
5277 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5279 * gio/gfile.c (g_file_load_contents):
5280 Unref the stream after closing it.
5282 2007-10-25 Alexander Larsson <alexl@redhat.com>
5284 * gio/gioscheduler.h:
5287 2007-10-25 Alexander Larsson <alexl@redhat.com>
5291 Add g_file_has_uri_scheme and implement for local files
5293 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5295 * gio/gdesktopappinfo.c: do not leak a string.
5297 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5299 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5300 (g_local_directory_monitor_new):
5301 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5302 (g_local_file_monitor_new):
5303 Only look for the monitor type that should be used the first time
5304 and use g_qsort_with_data() instead of our own bubble sort
5307 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5310 * gio/fam/Makefile.am:
5311 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5312 * gio/fam/fam-helper.h:
5313 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5314 * gio/fam/gfamdirectorymonitor.c:
5315 * gio/fam/gfamdirectorymonitor.h:
5316 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5317 * gio/fam/gfamfilemonitor.h:
5318 * gio/glocaldirectorymonitor.c:
5319 * gio/glocaldirectorymonitor.h:
5320 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5321 * gio/glocalfilemonitor.h:
5322 * gio/inotify/Makefile.am:
5323 * gio/inotify/ginotifydirectorymonitor.c:
5324 * gio/inotify/ginotifydirectorymonitor.h:
5325 * gio/inotify/ginotifyfilemonitor.c:
5326 * gio/inotify/ginotifyfilemonitor.h:
5327 Implement the FAM and Inotify monitors as
5328 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5329 their own GIO module. GLocal(Directory|File)Monitor will use the
5330 monitor with the highest rank that is supported on that machine.
5332 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5335 Change GIO module dir to $(libdir)/gio/modules and change
5336 the log domain from GVFS to GIO. Also only export symbols starting
5337 with g_ in the resulting library.
5338 * gio/test-streams.c: (main):
5339 Set log handler for the GIO log domain.
5341 2007-10-22 Alexander Larsson <alexl@redhat.com>
5343 * gio/gfilenamecompleter.[ch]:
5344 Add g_filename_completer_set_dirs_only
5346 2007-10-22 Alexander Larsson <alexl@redhat.com>
5349 * gio/gurifuncs.[ch]:
5350 Add some simple URI helpers
5352 * gio/gfilenamecompleter.[ch]:
5353 Added object for filename (parse name actually) completion
5356 Handle ~ in parse names
5358 2007-10-17 Alexander Larsson <alexl@redhat.com>
5361 * gio/glocalfileinfo.c:
5362 Add and implement id:value attribute
5364 2007-10-17 Alexander Larsson <alexl@redhat.com>
5367 * gio/guniondrive.c:
5369 Add and implement g_drive_has_volumes
5371 2007-10-17 Alexander Larsson <alexl@redhat.com>
5374 * gio/glocalfileinfo.[ch]:
5375 Add unix:is_mountpoint and implement for local files
5377 2007-10-16 Alexander Larsson <alexl@redhat.com>
5379 * gio/gunionvolumemonitor.c:
5380 (g_union_volume_monitor_init):
5381 Fix up the unix type getting so that it works with gcc
5383 2007-10-12 Alexander Larsson <alexl@redhat.com>
5386 * gio/glocalfileinfo.c:
5387 Add thumbnail:failed to file info
5389 2007-10-12 Richard Hult <richard@imendio.com>
5391 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5392 optimizing away the get_type call (happens with some gcc versions,
5393 like the one shipped with OS X 10.4).
5395 2007-10-12 Alexander Larsson <alexl@redhat.com>
5397 * gio/glocalfileinfo.c:
5398 (_g_local_file_info_set_attribute):
5399 Fix build if not HAVE_XATTR
5400 Patch from Milosz Derezynski <internalerror@gmail.com>
5402 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5404 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5405 around for review, otherwise I would have asked you before
5408 2007-10-11 Alexander Larsson <alexl@redhat.com>
5411 Add thumbnail:path attribute
5413 * gio/glocalfileinfo.c:
5414 Implement thumbnail:path for local files
5416 2007-10-11 Alexander Larsson <alexl@redhat.com>
5418 * gio/glocalfileinfo.c:
5419 (_g_local_file_info_get):
5420 Avoid duplicate icon names
5422 2007-10-11 Alexander Larsson <alexl@redhat.com>
5424 * gio/gthemedicon.[ch]:
5425 Change g_themed_icon_get_names return type to const
5427 2007-10-10 Alexander Larsson <alexl@redhat.com>
5429 * gio/glocalfileinfo.c:
5430 Don't reference freed memory
5432 2007-10-10 Alexander Larsson <alexl@redhat.com>
5434 * gio/gfileattribute.c:
5437 * gio/glocalfileinfo.c:
5440 2007-10-10 Alexander Larsson <alexl@redhat.com>
5443 Check for NULL icons
5445 * gio/gfileattribute.c:
5446 Don't dup when getting objects (same as for string attributes)
5448 * gio/gicon.c (g_icon_equal):
5449 Safely handle NULLs in equal
5451 2007-10-10 Alexander Larsson <alexl@redhat.com>
5454 Fix c++ compilation issues
5455 Patch from Milosz Derezynski <internalerror@gmail.com>
5457 2007-10-10 Alexander Larsson <alexl@redhat.com>
5459 * programs/gio-monitor-dir.c:
5460 Don't crash if dir monitor not supported.
5462 2007-10-09 Alexander Larsson <alexl@redhat.com>
5465 Add missing G_END_DECLS
5467 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5469 * gio/gfile.c: (g_file_set_display_name),
5470 (g_file_query_settable_attributes),
5471 (g_file_query_writable_namespaces):
5472 Return NULL not FALSE on errors as the return type is a pointer.
5474 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5476 * gio/glocalfile.c: (g_local_file_monitor_file):
5477 Don't call monitor_file on the default interface vtable (which
5478 is NULL) but simply return NULL. The caller, GFile, will create a
5479 polling monitor if NULL is returned.
5481 2007-10-09 Alexander Larsson <alexl@redhat.com>
5485 * gio-unix-2.0.pc.in:
5486 Add gio-unix-2.0.pc if OS_UNIX
5489 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5491 2007-10-09 Alexander Larsson <alexl@redhat.com>
5493 * gio/gunixmounts.[ch]:
5494 Make unix mount monitoring API sane.
5495 Now its just a object with mounts_changed
5496 and mountpoints_changed signals.
5498 * gio/glocaldirectorymonitor.c:
5499 * gio/gunixvolumemonitor.c:
5500 Use new mount monitor api
5502 2007-10-09 Alexander Larsson <alexl@redhat.com>
5504 * gio/gunixmounts.[ch]:
5505 Move guess type into one call for mounts and one for mountpoints
5508 * gio/gunixvolume.c:
5511 2007-10-09 Alexander Larsson <alexl@redhat.com>
5513 * gio/gunixmounts.[ch]:
5514 Remove _ prefix in preparation to make this semi-public
5515 Hide implementation of structs
5517 * gio/glocaldirectorymonitor.c:
5519 * gio/gunixvolume.c:
5520 * gio/gunixvolumemonitor.c:
5521 Update for above API changes
5523 2007-10-08 Alexander Larsson <alexl@redhat.com>
5526 Better polling fallback. This also handles the case where we have
5527 a monitor_file implementation, but it fails.
5529 2007-10-08 Alexander Larsson <alexl@redhat.com>
5533 * gio/gunixmounts.c:
5534 * programs/gio-monitor-dir.c:
5535 * programs/gio-monitor-file.c:
5536 Added cancellable to file monitoring calls.
5537 These are really sync calls and need this.
5539 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5541 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5542 (g_local_vfs_class_init):
5543 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5544 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5546 2007-10-05 Alexander Larsson <alexl@redhat.com>
5548 * gio/gdirectorymonitorprivate.h:
5549 * gio/gfilemonitorprivate.h:
5550 * gio/gdirectorymonitor.h:
5551 * gio/gfilemonitor.h:
5552 Remove *private.h and move to the public API, so that
5553 we can do implementations outside gio (such as in gvfs)
5555 * gio/gdirectorymonitor.c:
5556 * gio/gfilemonitor.c:
5557 * gio/glocaldirectorymonitor.c:
5558 * gio/gpollfilemonitor.c:
5559 * gio/inotify/inotify-helper.c:
5560 * gio/fam/fam-helper.c:
5561 Update to the new header names
5563 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5565 * gio/gdirectorymonitor.c:
5566 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5569 2007-10-04 Alexander Larsson <alexl@redhat.com>
5571 * gio/glocalfileinfo.c (get_access_rights):
5572 Set CAN_TRASH when we can move the file.
5573 We should really also check for a parent trash dir.
5575 2007-10-04 Alexander Larsson <alexl@redhat.com>
5577 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5578 Add can_trash access attribute
5580 2007-10-04 Alexander Larsson <alexl@redhat.com>
5583 (g_local_file_trash):
5584 Create info file first. This is per-spec and allows
5585 us to actually trash directories.
5587 2007-10-02 Alexander Larsson <alexl@redhat.com>
5589 * gio/gdesktopappinfo.c:
5590 Implement the new mime support code.
5591 Always set app as handling mimetype when being set as default for it
5593 2007-10-01 Alexander Larsson <alexl@redhat.com>
5595 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5596 Fix up check for xattrs:
5598 2007-10-01 Alexander Larsson <alexl@redhat.com>
5601 (g_app_info_set_as_default_for_extension):
5602 (g_app_info_add_supports_type):
5603 (g_app_info_can_remove_supports_type):
5604 (g_app_info_remove_supports_type):
5605 Make these fail nicely if not implemented
5607 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5609 * gio/glocalfileoutputstream.c:
5610 * gio/glocalfileoutputstream.h:
5615 * programs/gio-save.c:
5616 Add a GFileCreateFlags argument to operations that can create
5619 2007-10-01 Alexander Larsson <alexl@redhat.com>
5621 * gio/gappinfo.[ch]:
5622 * gio/gdesktopappinfo.c:
5623 Add more (stubbed out) mime API needed for nautilus
5625 2007-10-01 Alexander Larsson <alexl@redhat.com>
5628 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5629 Add g_app_info_set_as_default_for_extension.
5631 * gio/gdesktopappinfo.c:
5632 Dummy for g_app_info_set_as_default_for_extension
5633 Support flags in g_app_info_create_from_commandline
5635 * gio/gwin32appinfo.c:
5637 Update for API changes
5639 * gio/gthemedicon.c:
5640 Properly NULL-terminate list of icon names
5642 2007-09-28 Alexander Larsson <alexl@redhat.com>
5644 * gio/gloadableicon.h:
5645 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5647 2007-09-28 Alexander Larsson <alexl@redhat.com>
5650 Install headers in $includedir/gio-standalone/
5652 * gio-2.0.pc.in: Added.
5653 * gio-standalone.pc.in: Removed.
5656 Renamed pkg-config file to match glib (for future move)
5657 Update to the new include dir
5660 Add more TODO comments
5662 2007-09-28 Alexander Larsson <alexl@redhat.com>
5664 * gio/gdesktopappinfo.[ch]:
5665 Expose new_from_filename
5666 Add getter for is_hidden and handle it better
5668 2007-09-28 Alexander Larsson <alexl@redhat.com>
5670 * gio/gfileinfo.[ch]:
5671 Rename g_file_size_format_for_display to
5672 g_format_file_size_for_display.
5673 Now it doesn't have the g_file prefix, so we
5674 can later move it to glib.
5676 2007-09-28 Alexander Larsson <alexl@redhat.com>
5678 * gio/gappinfo.[ch]:
5679 Add g_app_info_get_id and g_app_info_get_executable.
5680 Make all getters non-reffing
5681 Make g_app_info_launch take GFile arguments.
5682 Add must_support_uris argument to g_app_info_get_default_for_type.
5684 * gio/gwin32appinfo.c:
5685 Update to GAppInfo api changes
5687 * gio/gdesktopappinfo.c:
5688 Update to GAppInfo api changes
5689 Implement supports_xdg_startup_notify
5691 * gio/gfileicon.c (g_file_icon_get_file):
5692 Make getter non-reffing.
5697 2007-09-27 Alexander Larsson <alexl@redhat.com>
5699 * gio/gfileinfo.[ch]:
5700 Add g_file_size_format_for_display helper
5702 2007-09-27 Alexander Larsson <alexl@redhat.com>
5704 * gio/glocalfileinfo.c:
5705 Set UNIX_GID from gid, not from uid
5707 2007-09-27 Alexander Larsson <alexl@redhat.com>
5710 Add g_file_set_attributes_async
5712 2007-09-27 Alexander Larsson <alexl@redhat.com>
5714 * gio/glocalfile.c (g_local_file_set_display_name):
5715 Fix set_display_name to actually rename to the right place.
5716 Use lstat to look for existing files so we don't overwrite
5719 2007-09-26 Alexander Larsson <alexl@redhat.com>
5722 Add g_file_set_display_name_async()
5724 2007-09-26 Alexander Larsson <alexl@redhat.com>
5727 Add load_partial_contents async calls
5730 Make internal function static
5732 2007-09-26 Alexander Larsson <alexl@redhat.com>
5734 * gio/glocalfileinfo.c:
5735 Correctly detect broken symlinks
5737 2007-09-26 Alexander Larsson <alexl@redhat.com>
5739 * gio/gcancellable.c (g_cancellable_cancel):
5740 Allow cancel on NULL cancellable
5742 2007-09-25 Alexander Larsson <alexl@redhat.com>
5744 * gio/gsimpleasyncresult.c:
5745 Don't allocate g_error manually.
5746 Fixes g_slice/g_new mixup crash
5748 2007-09-25 Alexander Larsson <alexl@redhat.com>
5750 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5751 Actually set active_backend.
5752 This means the monitor will be cancelled correctly.
5754 2007-09-25 Alexander Larsson <alexl@redhat.com>
5756 * gio/gdirectorymonitor.c:
5757 Set timeout to NULL when destroying
5759 2007-09-25 Alexander Larsson <alexl@redhat.com>
5762 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5763 that is a better description of the error.
5765 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5767 * gio/gvfs.c: (g_vfs_get_local):
5768 Make the local vfs variable static. The same instance should
5771 2007-09-24 Alexander Larsson <alexl@redhat.com>
5773 * gio/glocalfileinfo.c:
5774 Pass in actual length read into sniffer, not the length
5777 2007-09-21 Alexander Larsson <alexl@redhat.com>
5779 * gio/gfileenumerator.c:
5782 * gio/gfileinputstream.c:
5783 * gio/gfileoutputstream.c:
5784 * gio/ginputstream.c:
5785 * gio/goutputstream.c:
5786 Don't crash if async callbacks are NULL
5788 2007-09-20 Alexander Larsson <alexl@redhat.com>
5791 Add async enumerate_children method and default
5794 2007-09-20 Alexander Larsson <alexl@redhat.com>
5797 Add g_file_contains_file & g_file_get_relative_path, since they
5798 were needed for nautilus.
5799 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5804 Implement new methods
5806 2007-09-17 Alexander Larsson <alexl@redhat.com>
5809 * gio/gfileinputstream.[ch]:
5810 * gio/gfileoutputstream.[ch]:
5812 * gio/glocalfileenumerator.[ch]:
5813 * gio/glocalfileinfo.[ch]:
5814 * gio/glocalfileinputstream.c:
5815 * gio/glocalfileoutputstream.c:
5816 * gio/gpollfilemonitor.c:
5817 * programs/gio-copy.c:
5818 * programs/gio-info.c:
5819 * programs/gio-move.c:
5820 Rename get_file_info to query_info() to make it clearer
5821 that these are not simple getters, but do i/o.
5823 2007-09-17 Alexander Larsson <alexl@redhat.com>
5825 * gio/gdatainputstream.[ch]:
5826 * gio/test-streams.c:
5827 Use _read_XXX instead of _get_XXX for the i/o calls
5830 2007-09-17 Alexander Larsson <alexl@redhat.com>
5833 Added needed stuff to TODO comment
5835 2007-09-17 Alexander Larsson <alexl@redhat.com>
5837 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5838 Don't error out removing the backup copy if it doesn't
5841 2007-09-14 Alexander Larsson <alexl@redhat.com>
5843 * programs/Makefile.am:
5844 * programs/gvfs-*.c:
5846 Renamed apps from gvfs-xxx to gio-xxx.
5848 2007-09-14 Alexander Larsson <alexl@redhat.com>
5851 * gio/gfileoutputstream.[ch]:
5852 * gio/glocalfileoutputstream.c:
5853 * programs/gvfs-save.c:
5854 g_file_output_stream_get_etag doesn't do i/o, so remove
5855 cancellation and error.
5857 2007-09-14 Alexander Larsson <alexl@redhat.com>
5860 Add new_etag output to replace_contents functions
5862 2007-09-14 Alexander Larsson <alexl@redhat.com>
5864 * gio/gfileoutputstream.[ch]:
5865 Add async get_file_info and default implementation
5867 2007-09-14 Alexander Larsson <alexl@redhat.com>
5869 * gio/gfileinputstream.c:
5870 Implement fallback wrapper for async get_file_info
5872 2007-09-14 Alexander Larsson <alexl@redhat.com>
5875 Add etag out argument to load_contents
5880 2007-09-14 Alexander Larsson <alexl@redhat.com>
5882 * gio/gcontenttype.c (looks_like_text):
5883 Whitespace like tab, cr and lf do not make the
5886 2007-09-14 Alexander Larsson <alexl@redhat.com>
5888 * gio/gfileinputstream.[ch]:
5889 Add async get_file_info.
5891 2007-09-13 Alexander Larsson <alexl@redhat.com>
5893 * gio/goutputstream.c (g_output_stream_write_all):
5894 Allow NULL for bytes_written
5896 2007-09-13 Alexander Larsson <alexl@redhat.com>
5898 * gio/gmemoryinputstream.[ch]:
5899 Add accessors for data
5901 2007-09-13 Alexander Larsson <alexl@redhat.com>
5903 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5904 Don't crash if length is NULL