1 2009-03-04 Alexander Larsson <alexl@redhat.com>
3 Bug 573843 – g_get_current_dir returns non-absolute path
5 * glocalfile.c (canonicalize_filename):
6 Handle the case where g_get_current_dir() returns a non-absolute path.
8 2009-03-04 Alexander Larsson <alexl@redhat.com>
10 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
12 * gunionvolumemonitor.c:
13 (g_union_volume_monitor_dispose):
14 Run dispose on child monitors when disposing.
16 * gunixvolumemonitor.c:
17 Remove all volumes and mount on dispose to avoid circular
18 dependencies not freeing the monitor
20 2009-03-03 Alexander Larsson <alexl@redhat.com>
22 Bug 561172 – gnome-open fails on local URIs with anchors
25 Don't force uris to filenames if the uri has an anchor, because
26 that would strip the anchor.
29 Strip anchor from file:// uris when creating GFile, since
30 g_filename_from_uri doesn't handle them.
32 2009-03-03 Alexander Larsson <alexl@redhat.com>
34 Bug 562613 – Missing const modifier in string parameters
36 * gfileinputstream.[ch]:
37 * gfileoutputstream.[ch]:
38 * glocalfileinfo.[ch]:
39 Make string arguments const if used as such.
41 2009-03-03 Alexander Larsson <alexl@redhat.com>
43 * glocalfile.c (g_local_file_query_filesystem_info):
44 Handle filesystems no supporting reporting how much is free.
45 This fixes bug 573454 where the filesystem not supporting this
46 is the gvfs smb backend over the fuse filesystem.
48 2009-03-02 Matthias Clasen <mclasen@redhat.com>
50 * === Released 2.19.10 ===
52 2009-03-02 Matthias Clasen <mclasen@redhat.com>
54 * === Released 2.19.9 ===
56 2009-03-02 Matthias Clasen <mclasen@redhat.com>
58 * gioenums.h: Add a Since: tag
60 2009-03-01 Matthias Clasen <mclasen@redhat.com>
62 Bug 573658 – Deadlock in giomodule.c
64 * giomodule.c: Use a separate lock for extension point registration
65 to avoid deadlock. Discovered by Torsten Schoenfeld
67 2009-03-01 Matthias Clasen <mclasen@redhat.com>
69 * gdatainputstream.c: Fix docs
71 2009-02-27 Matthias Clasen <mclasen@redhat.com>
73 Bug 573421 – Clarify message format in GMountOperation
75 * gmountoperation.c: Document that the first line of a
76 multi-line message should be interpreted as a heading.
78 2009-02-27 David Zeuthen <davidz@redhat.com>
80 Bug 573462 – GEmblemedIcon leak
82 * gemblemedicon.c (g_emblemed_icon_finalize):
83 Avoid leaking a GList.
85 2009-02-27 Alexander Larsson <alexl@redhat.com>
89 Split out the extension point registration code to its
93 Ensure extension points are registered before extending it.
94 It might not have happened yet if g_vfs_get_local() is called.
96 2009-02-26 Alexander Larsson <alexl@redhat.com>
98 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
99 * gmemoryoutputstream.c:
100 Track actual valid size, even if we later seek back.
102 * tests/memory-output-stream.c:
105 2009-02-26 Alexander Larsson <alexl@redhat.com>
107 Bug 543183 – Clarify docs for g_file_has_prefix
109 * gfile.c: (g_file_has_prefix):
110 Clarify how the prefix matching works.
112 2009-02-26 Alexander Larsson <alexl@redhat.com>
115 Support desktop file key X-GIO-NoFuse which disables
116 use of fuse pathnames for %u and %U arguments.
118 2009-02-25 Alexander Larsson <alexl@redhat.com>
120 Bug 570073 – Add support for reading filesystems on Interix
122 * gunixmounts.c (_g_get_unix_mounts):
123 Support Interix. Patch from Fabian Groffen
125 2009-02-25 Paolo Borelli <pborelli@katamail.com>
127 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
129 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
131 2009-02-23 Alexander Larsson <alexl@redhat.com>
134 Remove accidentally commited spew
136 2009-02-20 Alexander Larsson <alexl@redhat.com>
139 (g_content_type_guess):
140 Don't ever sniff desktop files when the filename is known.
141 In other words, only allow desktop files with the .desktop extension
142 and when the filename isn't known.
143 This is a security precaution since desktop files can execute
144 arbitrary code when launched and we don't want to allow them to
145 try and hide as another type. There is no legit reason to not
146 have the .desktop extension anyway.
148 2009-02-19 Alexander Larsson <alexl@redhat.com>
150 Bug 549298 – impossible to copy files with p (pipe) flag
153 (file_copy_fallback):
154 Error out if the source file is a special file
156 2009-02-18 Alexander Larsson <alexl@redhat.com>
158 Bug 560564 – Replacing a symlink with its linked file truncates the original file
161 Add G_FILE_CREATE_REPLACE_DESTINATION
163 * glocalfileoutputstream.c:
164 (handle_overwrite_open):
165 (_g_local_file_output_stream_replace):
166 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
169 (file_copy_fallback):
170 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
173 2009-02-17 Ryan Lortie <desrt@desrt.ca>
175 * gfileinfo.c: unref the destination's attribute matcher before
178 2009-02-17 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.19.8 ===
182 2009-02-17 Matthias Clasen <mclasen@redhat.com>
184 * gio.symbols: Add missing exports for new API
186 * gdatainputstream.c: Add missing Since: tags.
188 2009-02-16 Matthias Clasen <mclasen@redhat.com>
190 * === Released 2.19.7 ===
192 2009-02-16 Matthias Clasen <mclasen@redhat.com>
194 * gmountoperation.[hc]: Add an "aborted" signal to abort a
195 mount operation from the backend side.
197 * gvolume.h: Add docs regarding the "aborted" signal.
199 2009-02-16 Ryan Lortie <desrt@desrt.ca>
201 Bug 505042 – add file attribute for actually used file size in bytes
203 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
204 "standard::allocated-size"
205 * gfileattribute.c: document
206 * glocalfileinfo.c: set the allocated size from st_blocks * 512
208 2009-02-16 Ryan Lortie <desrt@desrt.ca>
210 Bug 571598 – GAsyncResult with NULL gobject
212 * gsimpleasyncresult.c: remove various assertions and add some checks
213 to allow for a NULL source_object in GSimpleAsyncResult.
215 2009-02-11 Matthias Clasen <mclasen@redhat.com>
217 Bug 541225 – Can't compile gio on AIX : duplicate case value in
220 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
221 Reported by Nicolas Joseph
223 2009-02-04 Alexander Larsson <alexl@redhat.com>
225 Bug 566747 - URIs opened with firefox %u load as local files
227 * gdummyfile.c (g_dummy_file_get_path):
228 Dummy files are never used for local paths, so always return NULL
231 2009-02-02 Matthias Clasen <mclasen@redhat.com>
233 * === Released 2.19.6 ===
235 2009-01-31 Paolo Borelli <pborelli@katamail.com>
237 * glocalfileinfo.c: plug a tiny mem leak.
239 2009-01-29 Ryan Lortie <desrt@desrt.ca>
241 * gioerror.c (g_io_error_from_errno): handle all possible cases of
242 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
244 2009-01-28 Ryan Lortie <desrt@desrt.ca>
246 Bug 568575 – _async functions for GDataInputStream
248 * gdatainputstream.h:
249 * gdatainputstream.c: add _async versions of read_line and read_until.
251 * ../docs/reference/gio/gio-sections.txt: add new functions
252 * tests/sleepy-stream.c: new test case for async read line
253 * tests/Makefile.am: add new test
255 2009-01-22 Ryan Lortie <desrt@desrt.ca>
257 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
259 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
260 g_buffered_input_stream_fill): check for count < -1 instead of count <
261 0 and copy modified check to non-async version for consistency.
262 document the "count = -1" API.
264 2009-01-22 Ryan Lortie <desrt@desrt.ca>
266 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
268 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
269 after we have successfully read data from the base stream
271 2009-01-20 Ryan Lortie <desrt@desrt.ca>
273 Bug 568394 – dropping the last reference to a stream filter closes the
276 * gfilterinputstream.h:
277 * gfilterinputstream.c: add "close-base-stream" property and only
278 close the base stream if it is true. issue async close callbacks from
279 correct source object.
280 * gfilteroutputstream.h:
281 * gfilteroutputstream.c: add a "close-base-stream" property and only
282 close the base stream if it is true. issue async close callbacks from
283 correct source object.
284 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
285 before closing the base stream. fix invalid source tag comparison in
286 close_async (was comparing to flush_async).
287 * ../docs/reference/gio/gio-sections.txt:
289 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
290 * tests/filter-streams.c: new test cases
291 * tests/Makefile.am: add new test
292 * tests/.gitignore: add new test
294 2009-01-19 Matthias Clasen <mclasen@redhat.com>
296 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
298 2009-01-19 Matthias Clasen <mclasen@redhat.com>
300 * === Released 2.19.5 ===
302 2009-01-19 Matthias Clasen <mclasen@redhat.com>
304 * gappinfo.h: Document get_commandline vfunc
306 2009-01-19 Matthias Clasen <mclasen@redhat.com>
308 * gunixmounts.c: Some stylistic fixes.
310 2009-01-08 Matthias Clasen <mclasen@redhat.com>
312 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
313 functions in non-UTF8 locale
315 * xdgmime/xdgmimecache.c:
316 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
318 2009-01-08 Matthias Clasen <mclasen@redhat.com>
320 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
322 2009-01-07 Matthias Clasen <mclasen@redhat.com>
324 Bug 566770 – error code 0 for Too many open files is useless
326 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
327 Requested by Olivier Sessink.
329 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
331 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
332 G_IO_ERROR_TOO_MANY_OPEN_FILES.
334 2009-01-05 Matthias Clasen <mclasen@redhat.com>
336 * === Released 2.19.4 ===
338 2009-01-05 Dan Winship <danw@gnome.org>
340 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
341 "const char **" to avoid a warning.
343 * gemblem.c (g_emblem_from_tokens):
344 * gemblemedicon.c (g_emblemed_icon_from_tokens):
345 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
348 2009-01-05 Matthias Clasen <mclasen@redhat.com>
350 Bug 566064 – Add NOATIME flag to query_info_flags
352 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
353 sniffing for mime types. Based on a patch by A. Walton
355 2009-01-05 Ryan Lortie <desrt@desrt.ca>
357 * tests/.gitignore: improve
358 * tests/Makefile.am: add new simple-async-result test
359 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
361 2009-01-05 Ryan Lortie <desrt@desrt.ca>
364 * ../docs/reference/gio/gio-sections.txt:
365 * gsimpleasyncresult.h:
366 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
367 Implementation by Dan Winship. Closes #566170.
369 2008-12-31 Matthias Clasen <mclasen@redhat.com>
373 * gunixinputstream.c:
374 * gunixoutputstream.c: Add a note about being UNIX-specific.
376 2008-12-15 Matthias Clasen <mclasen@redhat.com>
378 * === Released 2.19.3 ===
380 2008-12-12 Dan Winship <danw@gnome.org>
382 * pltcheck.sh: make this work on x86_64
384 2008-12-12 Ryan Lortie <desrt@desrt.ca>
386 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
389 2008-12-12 Ryan Lortie <desrt@desrt.ca>
391 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
392 multiple mount entries match the requested path
394 2008-12-10 Alexander Larsson <alexl@redhat.com>
396 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
397 g_simple_async_result_run_in_thread
399 * gsimpleasyncresult.c:
400 Make g_simple_async_result_run_in_thread check cancellation before
401 calling out to the user in the callback. This means we guarantee
402 reporting cancels of async operations from the main threads, which
403 is probably more in line with what users expect.
405 Note that there are still no such guarantees for cancelling sync
406 operations or cancelling async operation from outside the main
407 thread. Furthermore, the exact behaviour of async implementations
408 not using run_in_thread may differ.
410 2008-12-09 Alexander Larsson <alexl@redhat.com>
412 Bug 515777 - incorrect date&time on copy
415 (g_local_file_class_init):
416 Copy mtime by default
419 Change docs about G_FILE_COPY_ALL_METADATA to not mention
422 2008-12-08 Matthias Clasen <mclasen@redhat.com>
424 Bug 558298 – Hide ecryptfs mounts
426 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
427 so that the desktop does not show both the mount and the target
428 directory. Patch by Martin Pitt
430 2008-12-08 Matthias Clasen <mclasen@redhat.com>
432 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
436 * gunixinputstream.[hc]:
437 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
438 including getters and setters. Patch by Maciej Piechotka
440 2008-12-07 Matthias Clasen <mclasen@redhat.com>
442 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
444 * tests/live-g-file.c: Support compilers that don't understand
445 ISO C varargs macros. Patch by Eric Lamarque
447 2008-12-07 Matthias Clasen <mclasen@redhat.com>
449 Bug 526320 – should not list mounts that the user doesn't have
452 gunixmounts.c: Use g_access() to check accessibility of local devices.
455 2008-12-01 Matthias Clasen <mclasen@redhat.com>
457 * === Released 2.19.2 ===
459 2008-12-01 Matthias Clasen <mclasen@redhat.com>
461 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
462 behaviour change, and update the docs instead, to avoid breaking
465 2008-12-01 Matthias Clasen <mclasen@redhat.com>
467 * === Released 2.19.1 ===
469 2008-12-01 Alexander Larsson <alexl@redhat.com>
473 * gunionvolumemonitor.c:
475 Add and document g_mount_is_shadowed plus calls
476 to set/unset a mount as shadowed
478 2008-11-28 Matthias Clasen <mclasen@redhat.com>
480 * gio/tests/g-icon.c: Comment out two failing tests
482 2008-11-28 Matthias Clasen <mclasen@redhat.com>
484 Bug 555486 – No way to recover command line from GAppInfo
487 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
488 by Hans Petter Jansson.
490 * gdesktopappinfo.c: And implement it here.
492 2008-11-28 Christian Dywan <christian@imendio.com>
494 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
496 2008-11-28 Matthias Clasen <mclasen@redhat.com>
498 Bug 559633 – gtk_image_new_from_gicon does not always work for
501 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
502 extensions on icon names. Proposed by Axel von Bertoldi.
504 2008-11-28 Matthias Clasen <mclasen@redhat.com>
506 Bug 548163 – Nautilus displays wrong error message for too long file
509 * glocalfile.c (g_local_file_set_display_name): Correctly set
510 error conditions if the new name is e.g. too long. Reported
511 by Leonardo Ferreira Fontenelle.
513 2008-11-28 Matthias Clasen <mclasen@redhat.com>
515 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
518 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
519 documented and include the line end in the returned string.
520 Pointed out by Paul Pogonyshev.
522 * tests/data-input-stream.c: Fix the read_line test to test the
523 documented behaviour.
525 2008-11-28 Matthias Clasen <mclasen@redhat.com>
527 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
528 files that have been created by g_app_info_create_from_commandline.
530 2008-11-28 Matthias Clasen <mclasen@redhat.com>
532 Bug 541715 – win32 : patch for warnings and signature problems in
535 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
538 2008-11-28 Matthias Clasen <mclasen@redhat.com>
540 Bug 562393 – g_buffered_input_stream_read_byte broken if data
543 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
544 handling of buffered content. Patch by Philip Withnall
546 * tests/buffered-input-stream.c: Add a testcase for this bug.
547 * tests/Makefile.am: And build it
549 2008-11-28 Matthias Clasen <mclasen@redhat.com>
551 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
554 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
555 '/' away. Spotted by Dan Williams.
557 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
559 Bug 561375 – Leaks mountpoint description
561 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
564 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
566 Bug 561352 – Leak of icon description
568 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
571 2008-11-14 Matthias Clasen <mclasen@redhat.com>
573 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
575 2008-11-12 Tor Lillqvist <tml@novell.com>
577 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
579 * win32/gwinhttpvfs.h: Move the set of function pointers to
580 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
581 pointer to that in the GWinHttpVfsClass.
583 * win32/gwinhttpvfs.c: Move the lookup of functions from
584 winhttp.dll into a function of its own, that stores the pointers
585 in a separate GWinHttpDllFuncs variable. Add two bookeeping
586 booleans lookup_done and funcs_found.
588 Don't call g_io_extension_point_implement() to register the
589 winhttp extension unless winhttp.dll has been successfully loaded
590 and the required functions found in it.
592 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
593 winhttp.dll correspondingly.
595 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
597 reviewed by: Alexander Larsson <alexl@redhat.com>
599 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
600 clearer about the behavior when there's no more content to read.
602 2008-10-27 Federico Mena Quintero <federico@novell.com>
604 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
606 2008-10-27 Tor Lillqvist <tml@novell.com>
608 Bug 557592 - Missing include in gwinhttpfile.c
610 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
613 2008-10-24 Matthias Clasen <mclasen@redhat.com>
615 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
617 * fam/fam-helper.c: Fix a memory leak and formatting issues.
618 Reported by Daniel Marjamäki
620 2008-10-23 Matthias Clasen <mclasen@redhat.com>
622 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
624 2008-10-23 Alexander Larsson <alexl@redhat.com>
626 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
629 (_g_local_file_info_get):
630 Don't return the fallback icon (text-x-generic) for all files.
631 This is causing problems with theme icon lookup and custom mime
632 icons, as the generic fallback overrides custom mime icons in
635 This is a slight change as applications might not get an icon wher
636 they previously did. But there is no guarantee to get on neither before
637 or after this change, so it should not break applications. Changes
638 to nautilus and gtk+ will be done to manually use the generic fallback
639 icon if no icon is found, but this is only required for rare cases.
641 2008-10-21 Alexander Larsson <alexl@redhat.com>
644 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
646 2008-10-21 Alexander Larsson <alexl@redhat.com>
648 Bug 555740 - gicon serialization
649 Based on patch from David Zeuthen
653 Add g_icon_to_string() and g_icon_new_for_string().
659 Implement icon serialization for built-in icon types
663 Added GIcon serialization test
665 2008-10-16 Matthias Clasen <mclasen@redhat.com>
667 * === Released 2.19.0 ===
669 2008-10-16 Matthias Clasen <mclasen@redhat.com>
671 Bug 556422 – g_file_enumerator_next_file: unclear whether return
672 value needs to be freed
674 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
675 the return value docs. Pointed out by Armin Burgmeier
677 2008-10-14 Matthias Clasen <mclasen@redhat.com>
679 Bug 556334 – Warning when building without selinux support
681 * glocalfileinfo.c: Avoid compiler warnings when selinux is
682 disabled. Patch by Pascal Terjan
684 2008-10-14 Matthias Clasen <mclasen@redhat.com>
686 Bug 556335 – make check fails in abicheck.sh
688 * gio.symbols: Add g_file_attribute_info_list_get_type.
689 Pointed out by Pascal Terjan.
691 2008-10-13 Alexander Larsson <alexl@redhat.com>
694 When adding an application as handling a mime type (but
695 not as the default), copy the full list of desktop ids handling
696 that type in before adding the new one on the end of the list.
697 This means we're not accidentally changing the default by overriding
698 the info from the later directories in the search path.
700 Also, fixes small leak of removed_entries.
702 2008-10-12 David Zeuthen <davidz@redhat.com>
705 * gunionvolumemonitor.c:
707 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
709 2008-10-10 Alexander Larsson <alexl@redhat.com>
711 * gfileattribute.c (escape_byte_string):
712 Upper half of byte is >> 4, not >> 8.
713 Found by Kjartan Maraas via sparse
715 2008-10-10 Matthias Clasen <mclasen@redhat.com>
717 Bug 555711 – Wrong fallback order of mimetype icons
719 * gcontenttype.c: Don't prefer generic icons over
720 default mimetype icons.
722 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
723 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
725 Patch by Krysztof Kosiński
727 2008-10-10 Matthias Clasen <mclasen@redhat.com>
729 Bug 555121 – Improved build-time handling of gio module-dir
731 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
732 * Makefile.am: Create the module dir.
734 2008-10-10 Matthias Clasen <mclasen@redhat.com>
736 * gio/glocalfileinfo.c:
737 * gio/tests/live-g-file.c:
738 * gio/gsimpleasyncresult.c: Fix gcc warnings.
740 2008-10-09 Alexander Larsson <alexl@redhat.com>
742 * gunixinputstream.c (g_unix_input_stream_read):
743 Actually return -1 in case of cancelled, not old res value.
745 2008-10-06 Colin Walters <walters@verbum.org>
747 Bug 554745 - GFileAttributeInfoList should be boxed
749 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
750 for convenience of bindings.
751 * gio/gfileattribute.h: Prototype it.
753 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
755 Bug 554970 – segfault when update-desktop-database is not available
758 * gdesktopappinfo.c (run_update_command): Have the error set before
761 2008-10-01 David Zeuthen <davidz@redhat.com>
763 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
764 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
765 instead of the gio URI (such as sftp://foo/file.avi) when using
766 g_app_info_launch() and friends. With a sufficiently recent gvfs,
767 apps using gio+gvfs will map the FUSE file:// URI back to the gio
768 URI (and thus bypass the fuse daemon) thanks the patch from bug
769 #530654. Since Nautilus is an user of g_app_info_launch() it
770 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
771 when launced via the file manager. Win. Fixes bug #528670.
773 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
774 mapping to the description of GAppInfo.
776 2008-09-30 Tor Lillqvist <tml@novell.com>
778 * tests/Makefile.am: Build desktop-app-info only on Unix.
780 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
781 g_critical(). Pass a large enough result buffer to
782 GetVolumePathNameW(). Just use MAX_PATH.
784 2008-09-29 David Zeuthen <davidz@redhat.com>
786 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
788 2008-09-26 Dan Winship <danw@gnome.org>
790 * tests/data-input-stream.c:
791 * tests/data-output-stream.c:
792 * tests/live-g-file.c:
793 * tests/memory-input-stream.c:
794 * tests/memory-output-stream.c: Use g_assert_error() and
797 2008-09-26 Matthias Clasen <mclasen@redhat.com>
799 Bug 545350 – GAppInfo deletion
800 Bug 545351 – Reset associations for content type
803 * gappinfo.[hc]: New functions g_app_info_can_delete,
804 g_app_info_delete and g_app_info_reset_type_associations.
807 * gwin32appinfo.c: Implementations of these.
810 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
812 2008-09-26 Dan Winship <danw@gnome.org>
814 Bug 505361 – gunixinputstream.c assumes poll() available
815 Bug 509446 – portable blocking gio cancellation
817 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
818 GPollFD for a cancellable (which is slightly more complicated on
821 * gunixinputstream.c (g_unix_input_stream_read):
822 * gunixoutputstream.c (g_unix_output_stream_write): Use
823 g_cancellable_make_pollfd() and g_poll() rather than using poll()
826 * tests/unix-streams.c: test of GUnixInputStream,
827 GUnixOutputStream, and GCancellable.
829 2008-09-26 Dan Winship <danw@gnome.org>
831 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
832 cast to stop a gcc warning
834 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
837 2008-09-25 Dan Winship <danw@gnome.org>
839 Bug 553426 - cancellable clarifications
841 * gcancellable.c (g_cancellable_class_init): Add a note to the
842 "cancelled" signal docs warning about thread-safety issues
843 (g_cancellable_cancel): Note that cancelling an asynchronous
844 operation takes effect asynchronously, not immediately.
846 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
848 * gioenums.h: Add new GFileCopyFlag, to leave target file with
849 default perms, instead of setting the source file perms, in a copy
852 * gfile.c (g_file_copy_attributes)
853 (build_attribute_list_for_copy)
854 (should_copy): Not copy "unix::mode" attribute if we have received
855 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
857 2008-09-20 Matthias Clasen <mclasen@redhat.com>
859 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
861 2008-09-17 Matthias Clasen <mclasen@redhat.com>
863 * === Released 2.18.1 ===
865 2008-09-16 Michael Natterer <mitch@imendio.com>
867 * gcontenttype.c (g_content_type_guess): can't assign the return
868 value of g_strdupv() to an array. Fill the array manually with
869 const strings instead (it is never freed anyway). Fixes the
870 build. Also fixed indentation.
872 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
874 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
875 Fix trivial typo to unbreak the build (there was a colon
876 instead of a semicolon at the end of a statement).
878 2008-09-15 Matthias Clasen <mclasen@redhat.com>
880 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
883 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
886 2008-09-15 Matthias Clasen <mclasen@redhat.com>
888 Bug 551681 – g_content_type_guess() too naive with filenames
890 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
891 at the end of the filename, and declare it a directory.
892 Patch by Bastien Nocera
894 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
896 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
899 * gdesktopappinfo.c: add a note in the docs clarifying what the
900 "filename" parameter really is.
902 2008-09-12 Tor Lillqvist <tml@novell.com>
904 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
905 FormatMessage() etc here. Call g_win32_error_message() instead
906 which already does all that. Besides, the code was broken as it
907 called the default "A" version of FormatMessage() but still
908 thought it produced a wide string.
910 2008-09-12 Michael Natterer <mitch@imendio.com>
912 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
913 in the documentation.
915 2008-09-08 Christian Neumair <cneumair@gnome.org>
917 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
918 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
919 Use non-blocking pipe for mount helper I/O. Fixes #550647.
921 2008-09-06 Matthias Clasen <mclasen@redhat.com>
923 Bug 551149 – xdgmime mem leak
925 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
926 a memory leak. Patch by Christian Persch
928 2008-09-04 Tor Lillqvist <tml@novell.com>
930 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
933 2008-09-02 Matthias Clasen <mclasen@redhat.com>
935 * === Released 2.18.0 ===
937 2008-09-02 Michael Natterer <mitch@imendio.com>
939 * *.h: big header formatting cleanup: indentation, vtable
940 formatting, consistent spacing in (* vfunc), trailing whitespace
941 removal. Formatting should be pretty consistent in all GIO headers
944 2008-09-02 Matthias Clasen <mclasen@redhat.com>
946 * gmount.h: Document guess_content_type sync vfunc.
948 2008-09-02 Michael Natterer <mitch@imendio.com>
950 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
951 fix parent_class member to be GFilterOutputStreamClass (not
952 GOutputStreamClass). Drop three pointers of padding, which is
953 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
954 so the class struct size stays the same.
956 2008-09-02 Matthias Clasen <mclasen@redhat.com>
958 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
960 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
961 nonexisting return values. Pointed out by Cosimo Cecchi.
963 2008-08-23 Tor Lillqvist <tml@novell.com>
965 Bug 548988 - g_file_replace fails on Windows when the target file
968 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
969 Windows, close the file before potentially renaming it (in case we
970 have been writing to a file with a temporary name).
972 (g_local_file_output_stream_close, handle_overwrite_open): Use
973 GLocalFileStat instead of plain struct stat, for passing to
974 _g_local_file_info_create_etag(). Thus also use _fstati64()
975 instead of plain fstat() on Windows.
977 2008-08-18 Matthias Clasen <mclasen@redhat.com>
979 * === Released 2.17.7 ===
981 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
983 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
986 2008-08-13 Tor Lillqvist <tml@novell.com>
988 * win32/gwinhttpvfs.c
989 * win32/gwinhttpvfs.h
990 * win32/gwinhttpfile.c
991 * win32/gwinhttpfileinputstream.c
992 * win32/gwinhttpfileoutputstream.c: Refactor some common code
993 snippets into helper functions. Check HTTP response status
994 codes. Implement g_winhttp_file_query_info(), looking at
995 Content-Length, Content-Type and Last-Modified.
997 * win32/winhttp.h: Add some symbolic constants that are not
998 publicly documented. Just a handful, so it should be OK to use
999 information from the Windows SDK's headers.
1001 2008-08-13 Tor Lillqvist <tml@novell.com>
1003 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1006 * win32/gwin32directorymonitor.c
1007 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1009 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1012 * goutputstream.c: Add intro docs.
1014 2008-08-13 Tor Lillqvist <tml@novell.com>
1016 * win32/gwinhttpfileoutputstream.c
1017 (g_winhttp_file_output_stream_write): Don't write the
1018 Content-Length header ourselves, WinHttpSendRequest() takes care
1019 of that when the dwTotalLength parameter is non-zero. Increment
1020 offset by the number of actual bytes sent, although I wonder if
1021 such a scenario is possible where less than requested would be
1022 sent and accepted by the server without errors.
1024 2008-08-13 Tor Lillqvist <tml@novell.com>
1026 * win32/gwinhttpvfs.c
1027 * win32/gwinhttpvfs.h
1028 * win32/gwinhttpfile.c
1029 * win32/gwinhttpfile.h
1030 * win32/gwinhttpfileinputstream.c
1031 * win32/gwinhttpfileinputstream.h
1032 * win32/gwinhttpfileoutputstream.c
1033 * win32/gwinhttpfileoutputstream.h: New files implementing
1034 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1035 Windows. The implementation uses the WinHttp API. Both reading and
1036 writing are supported, i.e. GET and PUT requests. When writing,
1037 each write call is done using a separate PUT request with a
1038 Content-Range header. Requests for file URIs and plain pathnames
1039 are forwarded to GLocalVfs.
1041 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1042 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1043 requiring people to download the Windows SDK just for this one
1044 header is not reasonable.
1046 * win32/Makefile.am: Add above files.
1048 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1049 the plumbing for the above.
1051 2008-08-11 Sven Neumann <sven@gimp.org>
1053 * gfilenamecompleter.c
1054 * glocaldirectorymonitor.c
1056 * gunionvolumemonitor.c
1060 * gunixvolumemonitor.c
1063 * gwin32volumemonitor.c: use canonical signal names.
1065 2008-08-11 Tor Lillqvist <tml@novell.com>
1067 * Makefile.am: Put a list of the platform-dependent .la files in
1068 the subdirectories in the platform_deps Make variable, and make
1069 libgio-2.0.la depend on that, so that it gets relinked if one of
1070 the dependent libraries has changed.
1072 2008-08-11 Tor Lillqvist <tml@novell.com>
1074 * Makefile.am (platform_libadd): Remove -lwininet which had been
1075 added by mistake. We will probably eventually be using WinHTTP,
1076 not the older WinInet anyway. (Actually I am working on it.)
1078 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1080 Bug 547080 – g_file_copy leaks expected errors
1082 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1083 before trying the next fallback routine.
1085 2008-08-09 Loïc Minier <lool@dooz.org>
1087 Bug 535124 – umask 002 not being applied for new directories, new
1088 files get the correct umask
1090 * gfile.c (g_file_make_directory)
1091 (g_file_make_directory_with_parents): Document ownership and
1092 permissions of newly created directories as being the default
1093 ones of the process.
1095 2008-08-08 Loïc Minier <lool@dooz.org>
1097 Bug 535124 – umask 002 not being applied for new directories, new
1098 files get the correct umask
1100 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1103 2008-08-08 Tor Lillqvist <tml@novell.com>
1105 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1107 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1108 code that didn't actually do anything inside #if 0, and add a
1109 comment wondering what the code was supposed to do. This also gets
1110 rid of a leftover debugging printout.
1112 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1114 * gfileicon.c (g_file_icon_get_property)
1115 (g_file_icon_set_property): New functions.
1116 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1118 (g_file_icon_new): Use the property (bug #546132).
1120 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1122 * gthemedicon.c (g_themed_icon_get_property): Also handle
1123 `PROP_USE_DEFAULT_FALLBACKS'.
1124 (g_themed_icon_class_init): Make
1125 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1127 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1129 Bug 546371 – Improve docs re g_file_monitor
1131 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1133 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1135 * === Released 2.17.6 ===
1137 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1139 * === Released 2.17.5 ===
1141 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1143 Bug 546017 – Don't copy attributes when copying a symlink
1145 * gfile.c (g_file_copy_attributes): Specify
1146 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1147 g_file_set_attributes_from_info. Patch by Christian Kellner
1149 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1151 * gemblemedicon.[hc]:
1153 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1154 a bit more extensible. Work by Clemens Buss.
1156 * gioenums.h: Add GEmblemOrigin.
1159 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1161 Bug 546079 – leak in xdgmime
1163 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1165 2008-08-03 Tor Lillqvist <tml@novell.com>
1167 * win32/gwin32directorymonitor.h
1168 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1171 2008-08-03 Tor Lillqvist <tml@novell.com>
1173 * win32/gwin32directorymonitor.c
1174 (g_win32_directory_monitor_callback): Make prototype match
1175 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1176 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1179 (g_win32_directory_monitor_constructor):
1180 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1181 names in the GLib API on Windows, so convert to UTF-16 and open
1184 2008-08-03 Tor Lillqvist <tml@novell.com>
1186 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1187 user's folder under Windows
1189 * win32/gwin32directorymonitor.c
1190 (g_win32_directory_monitor_constructor): Ignore error from
1191 CreateFile() when opening directory. Instead of asserting, just
1192 store INVALID_HANDLE_VALUE then in
1193 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1194 ReadDirectoryChangesW().
1195 (g_win32_directory_monitor_cancel): Don't attempt to close
1196 directory handle if it is INVALID_HANDLE_VALUE.
1198 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1200 * gdesktopappinfo.c: Remove debug spew
1202 2008-08-01 Hans Breuer <hans@breuer.org>
1204 * makefile.msc : add gemblembedicon
1206 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1208 Bug 545457 – gdmsetup crashed with SIGSEGV in
1209 g_unix_mount_guess_should_display()
1211 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1212 crash if no mount is found.
1214 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1216 Bug 545203 – gfile.c: argument is different type.
1218 * gfile.c (open_read_async_thread): Pass a GError **
1219 to g_file_set_error_literal.
1220 Reported by Kazuki Iwamoto
1222 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1224 Bug 545157 – wrong/no list of "open with" applications for .cc and
1227 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1228 Collect all ancestors, not just direct parents. Pointed
1229 out by Bastien Nocera
1231 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1233 * Makefile.am: Install gemblemedicon.h
1235 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1237 * gemblemedicon.[hc]: Add a GIcon implementation that can
1238 add an emblem to another icon.
1245 * gfileicon.c: Small documentation additions.
1247 2008-07-28 Tor Lillqvist <tml@novell.com>
1249 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1252 2008-07-27 Tor Lillqvist <tml@novell.com>
1254 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1256 2008-07-24 David Zeuthen <davidz@redhat.com>
1260 Also export a g_mount_guess_content_type_sync() function.
1262 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1264 529694 – SELinux context setting support
1266 * gfileinfo.c: Support setting selinux attributes.
1267 Patch by Tomas Bzatek
1269 2008-07-22 Priit Laes <plaes@plaes.org>
1271 Bug 544140 - fam-helper 64-bit issue?
1273 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1275 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1277 * === Released 2.17.4 ===
1279 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1281 * gvolumemonitor.[hc]:
1282 * gmountoperation.c:
1286 * gmount.c: Documentation fixes
1288 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1290 543504 – crash in Epiphany Web Browser: Opening local file
1294 * gdesktopappinfo.c:
1301 * gvolume.c: Register types thread-safely.
1302 Patch by Christian Persch
1304 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1306 * gcontenttype.c: Remove debug spew
1308 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1310 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1313 * fen/fen-kernel.c: Remove a warning that was causing
1314 crashes. Reported by Lin Ma.
1316 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1318 Bug 543040 – async reading on dummy file will crash on
1321 * gfile.c (open_read_async_thread): Cope with read_fn being
1322 NULL. Reported by Lin Ma.
1324 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1327 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1329 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1332 * gdesktopappinfo.h:
1333 * giomodule.c: Rename a chapter id to avoid filename conflict.
1335 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1337 Bug 540616 – mem leak in filechooser button
1339 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1340 the mount entry. Reported by Chrisitan Persch
1342 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1344 * gfile.c: Small documentation fixes.
1346 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1348 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1350 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1355 * gmount.c: Documentation improvements.
1357 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1360 * gmount.[hc]: Add g_mount_guess_content_type().
1362 2008-07-06 David Zeuthen <davidz@redhat.com>
1365 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1366 is needed for easily handling adoption of foreign volumes by
1367 out-of-process volume monitors (#541793)
1369 2008-07-06 David Zeuthen <davidz@redhat.com>
1371 * gvolumemonitor.[ch]:
1372 * gunionvolumemonitor.c: Export the eject-button signal on the
1373 volume monitor class (#541794).
1375 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1377 * gappinfo.c: More doc tweaks
1379 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1381 * gappinfo.c: Clarify some docs
1383 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1385 * gdesktopappinfo.c: Fix a stupid mistake.
1387 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1389 * === Released 2.17.3 ===
1391 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1393 * gfilemonitor.c: Fix the build.
1395 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1397 Bug 536160 – Add g_file_monitor()
1400 * gfile.[hc]: Add g_file_monitor which can return either
1401 a file or a directory monitor. Proposed by Behdad Esfahbod
1403 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1405 536733 – gio build failure on Irix
1407 * glocalfile.c: Use a configure check for structfs.f_bavail.
1409 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1411 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1414 * gdesktopappinfo.[hc]: Add a function to create a
1415 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1417 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1419 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1421 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1423 * gunixmounts.c: Fix a doc typo.
1425 2008-07-01 Cody Russell <bratsche@gnome.org>
1427 * gio/gcontenttype.c:
1428 * gio/gwin32appinfo.c:
1429 * gio/gwin32volumemonitor.c:
1430 * gio/gwin32mount.c: Fixed some include problems.
1432 2008-07-01 Cody Russell <bratsche@gnome.org>
1436 Moved all relevant typedefs into these files.
1439 Updated wrt added files.
1441 Split types into separate file for easier maintainership. (#538564)
1443 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1445 Bug 540331 – g_file_append_to () documentation: can return NULL
1447 * gfile.c (g_file_append_to): Clarify docs.
1448 Patch by Jared Moore
1450 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1452 Bug 539090 – g_content_type_from_mime_type() should unalias
1454 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1455 Patch by Markus Bergman
1457 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1459 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1460 g_atomic_pointer_get
1462 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1463 on ppc and alpha. Reported by Mart Raudsepp
1465 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1467 * tests/Makefile.am:
1468 * tests/memory-output-stream.c: Add some tests for
1469 GMemoryOutputStream.
1471 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1473 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1476 * gmemoryoutputstream.c (array_resize): Handle truncation to
1477 zero correctly. Reported by Akira Tagoh
1479 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1481 * gmemoryoutputstream.c: Trivial doc fixes
1483 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1485 Bug 540802 – g_list_prepend doesn't concat lists
1487 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1488 one list to another. Pointed out by Jan Arne Petersen
1490 2008-06-28 Michael Natterer <mitch@imendio.com>
1492 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1494 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1496 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1497 to avoid problems with partial icon themes.
1499 2008-06-17 Hans Breuer <hans@breuer.org>
1501 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1502 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1503 access again on win32, see bug #538127
1504 * giomodule.c : ensure GWin32VolumeMonitor is registered
1505 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1506 * Makefile.am makefile.msc : updated
1508 2008-06-16 Hans Breuer <hans@breuer.org>
1510 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1511 and initialization in one step avoids c99ism
1513 2008-06-16 Christian Persch <chpe@gnome.org>
1516 * gio/gbufferedinputstream.c
1517 * gio/gcancellable.c
1518 * gio/gdatainputstream.c
1519 * gio/gdesktopappinfo.c
1521 * gio/gfileenumerator.c
1522 * gio/gfileinputstream.c
1523 * gio/gfileoutputstream.c
1524 * gio/ginputstream.c
1525 * gio/glocaldirectorymonitor.c
1527 * gio/glocalfileenumerator.c
1528 * gio/glocalfileinfo.c
1529 * gio/glocalfilemonitor.c
1530 * gio/glocalfileoutputstream.c
1531 * gio/gmemoryinputstream.c
1532 * gio/gmemoryoutputstream.c
1533 * gio/goutputstream.c
1534 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1537 2008-06-16 Tor Lillqvist <tml@novell.com>
1539 Bug 538362 - Get Win32 icons back in the file chooser
1541 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1542 corresponding to a file extension in the Registry. Patch by Hans
1544 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1546 2008-06-16 Tor Lillqvist <tml@novell.com>
1548 Patches by Hans Breuer:
1550 * glocalfile.c (is_xp_or_later): Handle compiling against older
1551 SDK headers with missing VerifyVersionInfo(). Conditioned on
1552 _MSC_VER, but should probably use some better test.
1553 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1554 uninitialised statfs_result variable on Win32.
1556 2008-06-16 Michael Natterer <mitch@imendio.com>
1558 * *.c: chain up unconditionally in finalize() and dispose(). Also
1559 don't dereference these function pointers when calling them since
1560 that has no meaning at all.
1562 2008-06-16 Ross Burton <ross@burtonini.com>
1564 * gfileenumerator.c:
1565 Remove check for dispose implementation as it annoys Emmanuele.
1567 2008-06-16 Ross Burton <ross@burtonini.com>
1569 Bug 536252 – GFileEnumerator should allow access to the containing
1572 * gfileenumerator.c:
1573 * gfileenumerator.h:
1575 Add g_file_enumerator_get_container() and a container writeable
1576 construct-only property. Also shuffle around typedefs to make it
1579 * glocalfileenumerator.c:
1580 * glocalfileenumerator.h:
1582 Instead of a string filename take a GFile in the constructor and
1583 use it to set the container property.
1586 Update with new API.
1588 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1590 * gfile.c: Make includes more uniform
1592 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1594 * tests/live-g-file.c (sample_struct):
1595 Use less fancy unicode filenames, so the test doesn't fail
1596 on Mac OS X (#531476).
1598 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1600 * === Released 2.17.2 ===
1602 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1604 * === Released 2.17.1 ===
1606 2008-06-11 A. Walton <awalton@gnome.org>
1608 * tests/g-file.c (test_g_file_new_null):
1609 Fix broken test case.
1611 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1613 * pltcheck.sh: We use g_clear_error now.
1615 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1617 * glocalfile.c (g_local_file_enumerate_children): Revert
1618 an unintended change.
1620 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1622 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1624 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1626 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1629 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1630 as icon for the desktop directory, also make user-home and
1631 user-desktop the preferred icons.
1633 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1636 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1637 to add a name to the front of the list.
1639 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1641 Bug 537392 – Additional colon in xattr name
1643 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1644 too. Reported by Alessandro Morandi
1646 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1648 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1651 * glocalfile.c (get_fs_type): Add afs and autofs.
1652 Patch by Danny Baumann.
1654 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1656 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1658 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1659 is no parent. (Owen Taylor, patch by Christian Neumair)
1661 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1663 * gfile.c (g_file_replace_contents): do not leak the output stream.
1665 2008-06-10 Michael Natterer <mitch@imendio.com>
1667 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1668 uninitialized memory as array index.
1670 2008-06-10 Tor Lillqvist <tml@novell.com>
1672 * gcontenttype.c (g_content_type_can_be_executable)
1673 (g_content_type_get_icon) [Win32]: Add TODO comments.
1675 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1677 * xdgmime/Makefile.am: Fix the build
1679 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1681 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1682 in the shared mime database, if available.
1684 * xdgmime/*: Sync with upstream. This brings support for
1685 glob weights, generic icons, and changes the cache format to
1688 2008-05-28 Michael Natterer <mitch@imendio.com>
1690 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1691 the global CPPFLAGS now.
1693 * tests/data-input-stream.c
1694 * tests/data-output-stream.c
1695 * tests/g-file-info.c
1697 * tests/live-g-file.c
1698 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1700 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1702 * === Released 2.17.0 ===
1704 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1705 doesn't complain about leftover files.
1707 2008-05-27 simon.zheng <simon.zheng@sun.com>
1709 * glocalfile.c: (g_local_file_query_filesystem_info):
1710 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1712 2008-05-26 Michael Natterer <mitch@imendio.com>
1714 * gmemoryoutputstream.h: declare
1715 g_memory_output_stream_get_data_size().
1717 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1719 * tests/*: Make tests work
1721 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1723 * gio.symbols: Add g_memory_output_stream_get_data_size.
1725 2008-05-25 Ross Burton <ross@burtonini.com>
1728 Fix typo in error message (#534764).
1730 2008-05-25 Ross Burton <ross@burtonini.com>
1733 Fix circular dependency loop for gioenumtypes.h (#534759).
1735 2008-05-19 Hans Breuer <hans@breuer.org>
1737 * Makefile.am : EXTRA_DIST += makefile.msc
1739 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1742 * gcontenttype.c: (g_content_type_from_mime_type):
1743 New function to create a content type from a mime type. (#527175,
1746 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1748 Bug 532965 – Should not return filesystem::free for certain file systems
1750 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1751 free space for ncpfs.
1753 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1755 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1757 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1758 st_dev might be zero.
1760 2008-05-16 Tor Lillqvist <tml@novell.com>
1762 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1763 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1765 2008-05-13 Bastien Nocera <hadess@hadess.net>
1767 * gfile.c (has_valid_scheme): A URI scheme must start with a
1768 letter, even if later more characters are allowed (#532852)
1770 2008-05-05 Michael Natterer <mitch@imendio.com>
1772 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1773 code from being checked in that breaks the build of applications
1774 which use G_DISABLE_SINGLE_INCLUDES.
1776 * makegioalias.pl: make the alias file include "glib.h" instead of
1779 * gio.symbols: whitespace change to force regeneration of the
1780 alias file after above script change.
1782 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1784 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1786 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1788 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1790 2008-04-28 David Zeuthen <davidz@redhat.com>
1792 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1793 displaying mounts in a subdirectory not accessible to the
1796 2008-04-22 Michael Natterer <mitch@imendio.com>
1798 * Makefile.am: fix library versioning (it was 0.0.0).
1800 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1802 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1803 Default disable all loggings.
1804 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1805 (port_fetch_event_cb): Fixed two macro nits.
1807 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1809 * xdgmime/xdgmime.c: Rework the timestamp checking code
1810 to protect against duplicate directories in XDG_DATA_DIRS.
1811 Fixes fd.o bug 12513, reported by Joe Shaw.
1813 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1815 Partically revert the last commit after realizing that
1816 xdg_mime_media_type_equal doesn't have to init at all.
1818 * xdgmime/xdgmime.h:
1819 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1821 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1823 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1825 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1826 reported by Joe Shaw and Federico Mena Quintero.
1828 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1829 (xdg_mime_media_type_equal): Turn into a wrapper around the
1832 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1833 functions throughout.
1835 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1837 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1838 tolerate an empty TryExec= line without failing; nautilus used
1839 to create launchers with these in previous versions. Fixes #528433
1841 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1843 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1844 after name. Fixes #527132.
1846 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1848 * gfile.c: (g_file_replace):
1851 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1853 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1855 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1856 by Christian Kellner.
1858 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1860 * gunixmounts.c: (g_unix_mount_guess_should_display):
1861 Don't list the user directory as a mount, fix potential issue
1862 when other users have a similar naming and don't special case the
1863 gvfs mounts there since that's not required (#525866)
1865 2008-03-31 Alexander Larsson <alexl@redhat.com>
1867 * glocalfile.c (get_parent):
1870 2008-03-31 A. Walton <awalton@svn.gnome.org>
1872 * gfile.c (g_file_query_file_type):
1873 Always return a GFileType enum value (#520715).
1875 2008-03-31 Alexander Larsson <alexl@redhat.com>
1877 * glocalfileenumerator.c:
1878 Read readdir() info in chunks (of 1000) and sort
1879 the chunks by inode before stat:ing.
1880 This is a 20% performance increase in testing
1881 gvfs-ls on /usr/bin with cold cache.
1883 2008-03-31 Alexander Larsson <alexl@redhat.com>
1885 * gmemoryoutputstream.c:
1886 Clarify docs for g_memory_output_stream_get_size.
1887 Add g_memory_output_stream_get_data_size.
1889 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1893 * gfile.h: Add g_file_query_file_type convenience function
1894 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1896 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1898 * gfileenumerator.c:
1899 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1901 2008-03-28 A. Walton <awalton@svn.gnome.org>
1903 * giomodule.c (_g_io_modules_ensure_loaded):
1904 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1907 2008-03-28 Alexander Larsson <alexl@redhat.com>
1910 (copy_stream_with_progress):
1913 2008-03-28 Alexander Larsson <alexl@redhat.com>
1916 (copy_stream_with_progress):
1917 (file_copy_fallback):
1918 Fallback to g_file_query_info for source size
1919 if g_file_input_stream_query_info fails. (#524579)
1921 2008-03-28 Alexander Larsson <alexl@redhat.com>
1923 * glocalfile.c (g_local_file_move):
1924 Reuse old string instead of adding new one.
1926 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1928 * fen/*.[hc]: still copyright issue. I hate copyright.
1930 2008-03-27 Alexander Larsson <alexl@redhat.com>
1932 * glocalfile.c (g_local_file_move):
1933 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1934 file over directory. This is according to the docs and what the move via
1935 copy+remove fallback does.
1937 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1939 * fen/*.[hc]: Updated copyright.
1941 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1943 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1945 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1947 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1948 not emit attribute changed events when optimizing changed events.
1949 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1952 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1954 * gmountoperation.[hc]: Small documentation additions
1956 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1958 * gunixmounts.c: (guess_mount_type):
1959 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1961 2008-03-19 Alexander Larsson <alexl@redhat.com>
1964 (copy_stream_with_progress):
1965 Bump block side for copy to 64k to minimize
1966 overhead for low latency links. (#523015)
1968 2008-03-16 Tor Lillqvist <tml@novell.com>
1970 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1971 depend on gio.def on Windows.
1973 2008-03-12 David Zeuthen <davidz@redhat.com>
1977 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1979 2008-03-14 Alexander Larsson <alexl@redhat.com>
1983 Avoid redudant tests (#521851)
1984 Patch from Josselin Mouette
1986 2008-03-14 Alexander Larsson <alexl@redhat.com>
1989 (g_file_monitor_is_cancelled):
1990 Fix C89 issue (#521672)
1991 Patch from Jens Granseuer
1993 2008-03-14 Alexander Larsson <alexl@redhat.com>
1995 * fam/fam-helper.[ch]:
1997 Shut down fam (including removing fam GSource) when
1998 module is unloaded (#521513)
1999 Patch from Joe Marcus Clarke
2001 2008-03-14 Alexander Larsson <alexl@redhat.com>
2004 (_g_io_modules_ensure_loaded):
2007 2008-03-14 Alexander Larsson <alexl@redhat.com>
2010 (g_local_file_query_filesystem_info):
2011 Use right define name for f_fstypename member check
2013 2008-03-14 Alexander Larsson <alexl@redhat.com>
2016 * fen/Makefile.am: Added.
2017 * fen/fen-data.[ch]: Added.
2018 * fen/fen-dump.[ch]: Added.
2019 * fen/fen-helper.[ch]: Added.
2020 * fen/fen-kernel.[ch]: Added.
2021 * fen/fen-missing.[ch]: Added.
2022 * fen/fen-node.[ch]: Added.
2023 * fen/fen-sub.[ch]: Added.
2024 * fen/gfendirectorymonitor.[ch]: Added.
2025 * fen/gfenfilemonitor.[ch]: Added.
2027 Added Solaris FEN file notification backend.
2028 Patch from Lin Ma <Lin.Ma@Sun.COM>
2030 2008-03-13 Tor Lillqvist <tml@novell.com>
2032 * Makefile.am: Actually use the gio.def file when linking the
2033 library on Windows. Produce .lib library for Microsoft's toolchain
2034 when possible. Install the .lib and .def file like for the other
2037 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2039 * tests/live-g-file.c:
2040 Include live-g-file in standard set of tests, making a temporary
2041 directory in source structure.
2043 Clean target directory before the tests (write mode only)
2045 2008-03-12 Tor Lillqvist <tml@novell.com>
2047 Bug 517419 - gio win32 directory monitor
2048 Implementation by Vlad Grecescu.
2051 * win32/gwin32directorymonitor.h
2052 * win32/gwin32directorymonitor.c: New files.
2054 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2056 * Makefile.am: Add the win32 subdirectory.
2058 2008-03-12 Tor Lillqvist <tml@novell.com>
2060 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2061 normal struct stat on Unix but struct _stati64 on Windows to have
2062 access to 64-bit file size information. Use that instead of struct
2063 stat in the functions declared here in this private header.
2065 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2066 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2067 warnings about unused functions and variables. Don't set
2068 meaningless attributes like inode numbers on Windows.
2070 2008-03-12 Benjamin Otte <otte@gnome.org>
2073 trim whitespace so gtk-doc groks the function name
2075 2008-03-12 Tor Lillqvist <tml@novell.com>
2077 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2078 returning FALSE, on Win32.
2080 2008-03-11 Alexander Larsson <alexl@redhat.com>
2083 * glocalfileinfo.[ch]:
2084 Correctly implement can_trash by actually
2085 looking for a trash dir, not just assuming
2088 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2090 * === Released 2.16.1 ===
2092 2008-03-11 Alexander Larsson <alexl@redhat.com>
2095 Fix crashes in new constructor and properties code
2097 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2099 * gfile.c: Minor spelling correction in documentation:
2100 existance -> existence.
2102 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2104 * === Released 2.16.0 ===
2106 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2108 * gio.symbols: Remove g_file_contains_file here, too.
2110 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2112 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2113 Samuel Cormier-Iijima)
2115 2008-03-08 Tor Lillqvist <tml@novell.com>
2117 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2120 2008-03-07 Alexander Larsson <alexl@redhat.com>
2123 (g_local_file_query_filesystem_info):
2124 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2125 Patch from Jasper Lievisse Adriaanse
2127 2008-03-06 Tor Lillqvist <tml@novell.com>
2129 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2130 comments for the *_USEC attributes.
2132 2008-03-06 Alexander Larsson <alexl@redhat.com>
2134 * gfile.c (g_file_query_exists):
2135 Add g_return_val_if_fail check (#520700)
2137 2008-03-06 Alexander Larsson <alexl@redhat.com>
2139 * gdesktopappinfo.c:
2142 * gunionvolumemonitor.c:
2145 * tests/live-g-file.c:
2146 * xdgmime/xdgmimecache.c:
2147 Fix sparse warnings (#519489)
2149 2008-03-05 Alexander Larsson <alexl@redhat.com>
2152 Make cancellation threadsafe (i.e.
2153 guarantee its only done once, and always
2156 * glocaldirectorymonitor.c:
2157 Make sure we the monitor lives while the
2158 mounts_changed callback is being called (#520484)
2160 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2162 * gbufferedinputstream.c: Fix typo in parameter
2165 2008-03-04 Alexander Larsson <alexl@redhat.com>
2168 Remove deprecated symbols we kept for one release.
2170 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2173 * goutputstream.c: Tiny documentation corrections.
2175 2008-03-03 Alexander Larsson <alexl@redhat.com>
2177 * gunionvolumemonitor.c:
2179 Fix the adopt_orphan_mount vfunc to take a
2180 volume_monitor reference in an ABI compat way.
2181 This change is not API compat, but the added
2182 arg is not used in the only user of this vfunc, so
2183 all we get is a harmless warning in gvfs (#520169)
2185 2008-03-01 Benjamin Otte <otte@gnome.org>
2188 clarify docs for g_file_delete().
2190 2008-02-29 Alexander Larsson <alexl@redhat.com>
2194 Make sure empty files get text/plain type (#518720)
2196 2008-02-27 Alexander Larsson <alexl@redhat.com>
2202 (g_unix_volume_mount):
2203 Add missing GMountMountFlags argument
2205 2008-02-26 Alexander Larsson <alexl@redhat.com>
2208 (g_local_file_delete):
2209 Handle filesystems (like ntfs-3g) that return EEXIST instead
2210 of ENOTEMPTY (#518816)
2212 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2214 * === Released 2.15.6 ===
2216 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2218 * gfile.c (g_file_find_enclosing_mount):
2219 * ginputstream.c (g_input_stream_set_pending):
2220 * glocalfile.c (g_local_file_find_enclosing_mount):
2221 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2222 * goutputstream.c (g_output_stream_set_pending):
2224 Fixup translator comments (#518578).
2226 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2228 * gfile.c (g_file_find_enclosing_mount):
2230 * glocalfile.c (g_local_file_find_enclosing_mount):
2233 Fix a few typos in translator comments and documentation.
2235 2008-02-25 Alexander Larsson <alexl@redhat.com>
2242 Add translator comments (#518578)
2244 2008-02-25 Alexander Larsson <alexl@redhat.com>
2247 Reintroduce g_file_contains_file, keep around for one
2248 unstable release cycle to avoid crashing to many apps.
2249 Make sure to delete after release.
2251 2008-02-25 Alexander Larsson <alexl@redhat.com>
2254 Remove deprecated g_file_contains_file.
2256 2008-02-25 Alexander Larsson <alexl@redhat.com>
2259 Emit actual change signals in an idle handler.
2260 This avoids reentrance and locking problems in
2261 the file notification backends.
2263 2008-02-25 Alexander Larsson <alexl@redhat.com>
2266 (g_unix_mount_guess_should_display):
2267 Remove type guessing, instead just display
2268 mounts in /media and in ~/.
2270 2008-02-25 Alexander Larsson <alexl@redhat.com>
2273 Make new strings reuse old ones.
2275 2008-02-25 Alexander Larsson <alexl@redhat.com>
2278 Implement trashing and filesystem::readonly for win32 (#517235)
2279 Patch from Yevgen Muntyan
2281 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2283 * gfileinfo.h: Documentation fixes.
2285 2008-02-22 Alexander Larsson <alexl@redhat.com>
2287 * gcontenttype.c (g_content_type_get_icon):
2288 Look at old-style gnome mime icon names too, as many
2289 have not moved to the new style.
2291 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2293 * *.c: Correct the @include in for section docs.
2295 2008-02-21 David Zeuthen <davidz@redhat.com>
2297 * glocalfileinfo.c: (_g_local_file_info_get):
2299 (g_content_type_get_icon): Implement this function by
2300 moving bits from glocalfileinfo.c
2301 (g_content_type_get_description): Unalias before getting
2302 description (#517687)
2304 * gfile.c: (g_file_class_init),
2305 (g_file_query_filesystem_info_async),
2306 (g_file_query_filesystem_info_finish),
2307 (query_filesystem_info_data_free),
2308 (query_filesystem_info_async_thread),
2309 (g_file_real_query_filesystem_info_async),
2310 (g_file_real_query_filesystem_info_finish):
2311 * gfile.h: Implement async version of
2312 g_file_query_filesystem_info()
2314 * gfileinfo.h: Add new attributes for filesystem::use-preview
2316 * gio.symbols: Update
2318 * gthemedicon.c: (g_themed_icon_append_name):
2319 * gthemedicon.h: Add new new convenience function.
2321 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2322 (get_mounts), (get_volumes), (get_connected_drives),
2323 (get_volume_for_uuid), (get_mount_for_uuid),
2324 (g_union_volume_monitor_init), (populate_union_monitor),
2325 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2326 (g_volume_monitor_adopt_orphan_mount):
2328 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2329 monitor implementations to call into the main volume monitor. Also
2330 separate object initialization and volume monitor initialization
2331 such that non-native volume monitors can properly adopt their
2334 2008-02-21 Alexander Larsson <alexl@redhat.com>
2339 2008-02-21 Alexander Larsson <alexl@redhat.com>
2342 Add more documentation about how GFiles work (from #517086)
2344 2008-02-21 Alexander Larsson <alexl@redhat.com>
2348 Add new g_file_has_prefix that does the same as g_file_contains_file.
2349 Deprecate g_file_contains_file and add a macro that converts
2350 it to g_file_has_prefix.
2351 The reason for this change is that the contains_file() name seems to
2352 imply that this does more work than what it does, but its really only
2353 a name match (from #517086)
2358 Update to match the above change.
2360 2008-02-20 Benjamin Otte <otte@gnome.org>
2362 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2363 (g_file_eject_mountable):
2364 even more cases of not returning in error path
2366 2008-02-20 Benjamin Otte <otte@gnome.org>
2368 * gfile.c: (g_file_mount_mountable):
2369 return from function in error path.
2371 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2374 Remove trailing coma in GMountMountFlags struct
2376 2008-02-18 Alexander Larsson <alexl@redhat.com>
2380 * glocalfileoutputstream.c:
2381 Use g_unlink/g_rename instead of unlink/rename;
2382 do not pass raw filenames to g_set_error. (#517239)
2383 Patch from Yevgen Muntyan.
2385 2008-02-18 Alexander Larsson <alexl@redhat.com>
2388 * glocalfileoutputstream.c:
2389 Open files with O_BINARY on windows. (#517140)
2391 2008-02-14 Alexander Larsson <alexl@redhat.com>
2393 * glocalfileoutputstream.c:
2394 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2396 2008-02-14 Alexander Larsson <alexl@redhat.com>
2399 Copy permissions with file on copy (#514084)
2400 This is what cp does and makes sure e.g. the
2401 exec permissions are kept.
2402 Its kinda weird in that it keeps the permission bits
2403 the same while the uid and gid are different. However
2404 the new uid is the user so its not a security issue,
2405 and I've heard no complaints about cp on this issue.
2407 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2409 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2411 2008-02-13 Alexander Larsson <alexl@redhat.com>
2413 * inotify/inotify-path.c:
2414 Define IN_ONLYDIR if not in header (#515346)
2416 2008-02-12 Alexander Larsson <alexl@redhat.com>
2418 * tests/live-g-file.c:
2421 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2423 * === Released 2.15.5 ===
2425 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2427 * gio.symbols: Add g_mount_mount_flags_get_type.
2429 2008-02-11 Alexander Larsson <alexl@redhat.com>
2432 (g_file_info_set_attribute_mask):
2433 (g_file_attribute_matcher_matches_id):
2434 Correctly handle NULL GAttributeMatcher meaning
2435 matches nothing. (Fixes #513492)
2437 2008-02-11 Alexander Larsson <alexl@redhat.com>
2442 Added GMountMountFlags enum and added a flags
2443 argument to all mount calls.
2445 This is an API/ABI change for future extensibility,
2446 as I think we will need at least an
2447 inhibit-autorun flag (the panel needs this).
2448 There are no flags defined yet though.
2450 2008-02-11 Alexander Larsson <alexl@redhat.com>
2453 Added new standard::description attribute.
2454 Requested by Vincent, and useful for both
2457 2008-02-11 Alexander Larsson <alexl@redhat.com>
2459 * gdesktopappinfo.c:
2462 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2464 * *.c: Documentation additions
2466 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2468 * gappinfo.h: Formatting cleanup
2469 * gappinfo.c: Fix up docs.
2471 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2473 * gunixmounts.c: Consistently use getmntent_r() and fall
2474 back to getmntent(). (#515492)
2476 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2478 * gbufferedinputstream.c:
2480 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2482 * tests/data-input-stream.c:
2483 * tests/data-output-stream.c: Portability fixes.
2485 2008-02-08 Alexander Larsson <alexl@redhat.com>
2490 Add g_volume_should_automount.
2493 2008-02-07 Tor Lillqvist <tml@novell.com>
2495 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2496 Win32, too Unix-specific.
2498 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2500 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2501 a local plt if the compiler doesn't support what we want. Bug #514702
2503 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2505 reviewed by: <delete if not using a buddy>
2508 * gunixinputstream.c:
2509 * gunixoutputstream.c:
2511 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2513 * tests/Makefile.am:
2514 * tests/live-g-file.c:
2515 * tests/live-g-file.txt:
2516 New GIO testing module working over real data
2518 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2520 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2521 Fallback to rename() if link() is not available
2522 (when no support on target filesystem)
2524 2008-02-06 Michael Natterer <mitch@imendio.com>
2526 * gfileinfo.c (g_file_info_get_icon): replace
2527 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2529 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2531 * gfile.c (g_file_create):
2532 Documentation update of error codes
2534 2008-02-06 Alexander Larsson <alexl@redhat.com>
2536 * gdesktopappinfo.c:
2537 Update to use both mimeapps.list and
2538 defaults.list as discussed on xdg list.
2540 2008-02-06 Benjamin Otte <otte@gnome.org>
2543 * gfilenamecompleter.c:
2544 Fix some typos in the documentation.
2546 2008-02-06 Alexander Larsson <alexl@redhat.com>
2548 * glocalfile.c (g_local_file_trash):
2549 Don't succeed with trash if newly created
2550 trash dir has the wrong owner. (#514696)
2552 2008-02-05 Alexander Larsson <alexl@redhat.com>
2554 * glocalfile.c (g_local_file_move):
2555 Don't spew warnings when destination is not
2558 2008-02-03 Hans Breuer <hans@breuer.org>
2560 * makefile.msc : update
2562 2008-02-01 Michael Natterer <mitch@imendio.com>
2564 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2565 return value of xdg_mime_list_mime_parents() to a variable of the
2568 2008-02-01 Alexander Larsson <alexl@redhat.com>
2570 * gappinfo.c (g_app_info_launch_uris):
2571 Actually call the launch_uris method, not
2574 2008-02-01 Alexander Larsson <alexl@redhat.com>
2576 * gdesktopappinfo.c (g_desktop_app_info_equal):
2577 Ensure appinfos with no id but same pointer value
2580 2008-02-01 Alexander Larsson <alexl@redhat.com>
2582 * gappinfo.c (g_app_info_launch_default_for_uri):
2585 2008-02-01 Alexander Larsson <alexl@redhat.com>
2589 Add g_app_info_launch_default_for_uri utility
2592 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2594 * gdesktopappinfo.c:
2595 Doc fix for g_app_info_get_default_for_uri_scheme ()
2598 2008-01-30 Alexander Larsson <alexl@redhat.com>
2601 Add doc comment about uris vs GFiles to
2604 * gdesktopappinfo.c:
2605 Ensure uris passed to g_app_info_launch_uris()
2606 are not roundtriped through GFile (as that
2607 may be slightly destructive for e.g. mailto: links)
2609 2008-01-30 Alexander Larsson <alexl@redhat.com>
2611 * tests/data-input-stream.c:
2612 * tests/data-output-stream.c:
2613 C89 fixes from Jens Granseuer (#512849)
2615 2008-01-30 Alexander Larsson <alexl@redhat.com>
2618 Fix gamin/fam difference build issue. (#509419)
2620 2008-01-29 Alexander Larsson <alexl@redhat.com>
2623 * gdesktopappinfo.c:
2624 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2626 2008-01-29 Alexander Larsson <alexl@redhat.com>
2628 * gdesktopappinfo.c:
2629 * gdesktopappinfo.h:
2630 giomodule-priv.h include moved to .c file.
2632 2008-01-29 Alexander Larsson <alexl@redhat.com>
2634 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2635 Remove unused prio/name fields.
2637 2008-01-29 Alexander Larsson <alexl@redhat.com>
2639 * gcontenttype.c (looks_like_text):
2640 Don't treat whitespace as control chars.
2642 2008-01-29 Alexander Larsson <alexl@redhat.com>
2644 * gdesktopappinfo.c:
2645 Lazily create the desktop files for appinfos created
2646 by g_app_info_create_from_commandline() when needed
2647 for mime associations. This allows run-time use
2648 of GAppInfo object without creating unnecessary
2651 2008-01-29 Alexander Larsson <alexl@redhat.com>
2654 Added new symbols to gio.symbols
2656 2008-01-29 Alexander Larsson <alexl@redhat.com>
2659 Add g_file_query_default_handler utility to easily look up
2660 the GAppInfo that handles a file.
2662 * gdesktopappinfo.[ch]:
2664 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2667 Remove unused function
2669 2008-01-29 Alexander Larsson <alexl@redhat.com>
2671 * gfileenumerator.c:
2672 Mention need to free returned value in
2673 g_file_enumerator_next_files_finish docs.
2674 Fix leak if g_file_enumerator_next_files_finish()
2677 2008-01-29 Alexander Larsson <alexl@redhat.com>
2680 (_g_unix_content_type_get_parents):
2681 Use list_parents, not get_parents from xdgmime, because
2682 the later doesn't use the cache.
2684 * xdgmime/xdgmimecache.c:
2685 (_xdg_mime_cache_list_mime_parents):
2686 Don't list the same type as parent multiple times.
2688 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2690 * === Released 2.15.4 ===
2692 2008-01-28 Alexander Larsson <alexl@redhat.com>
2695 Register local vfs with prio 0.
2698 Remove old name and prio class members
2700 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2702 * tests/g-file.c: Disable some tests that are failing in
2703 the absence of a http backend.
2705 2008-01-28 Alexander Larsson <alexl@redhat.com>
2709 Add registration hooks for extension points.
2710 Register the gio extension points.
2712 * fam/gfamdirectorymonitor.c:
2713 * fam/gfamfilemonitor.c:
2714 * glocaldirectorymonitor.[ch]:
2715 * glocalfilemonitor.[ch]:
2716 * gnativevolumemonitor.h:
2717 * gunionvolumemonitor.c:
2718 * gunixvolumemonitor.c:
2721 * inotify/ginotifydirectorymonitor.c:
2722 * inotify/ginotifyfilemonitor.c:
2723 Use the extension points registration instead
2724 of g_type_children().
2726 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2729 * gvolume.[hc]: Document new API.
2731 * gfile.c (g_file_copy_async): Fix docs
2733 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2735 * gbufferedinputstream.c:
2737 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2740 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2742 * glocalfile.c: Avoid trivial differences in translatable strings.
2744 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2746 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2747 build with gcc 3.4 (#509419)
2749 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2751 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2752 (#509994, Murray Cumming)
2754 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2756 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2757 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2758 this allows big jobs to be executed in chunks, instead of blocking
2759 the main loop for a long time.
2761 * gsimpleasyncresult.c:
2762 * giofile.c: Adapt callers.
2764 2008-01-25 Alexander Larsson <alexl@redhat.com>
2766 * gdesktopappinfo.c:
2767 Implement changes discussed on xdg list.
2768 Now we can add supported mimetypes by just using defaults.list
2769 We can also remove associations in defaults.list.
2771 2008-01-25 Alexander Larsson <alexl@redhat.com>
2773 * gdesktopappinfo.c:
2774 Don't make local copy of desktop file
2775 for mimetype changes if the file already
2776 supports the new mimetype.
2778 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2782 * gbufferedinputstream.c:
2783 * glocalfile.c: String improvements. (#511966,
2784 Theppitak Karoonboonyanan)
2786 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2788 * gioscheduler.h: Expand docs a bit.
2790 2008-01-24 Alexander Larsson <alexl@redhat.com>
2793 Add g_drive_get_identifier and
2794 g_drive_enumerate_identifiers
2797 Add g_volume_get_identifier and
2798 g_volume_enumerate_identifiers
2804 Implement identifiers for unix backend
2806 2008-01-24 Alexander Larsson <alexl@redhat.com>
2811 Add g_file_copy_async() (#511580)
2812 Based on patch from Carlos Garcia Campos
2814 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2816 * gioscheduler.c: Some documentation additions.
2818 2008-01-22 Alexander Larsson <alexl@redhat.com>
2820 * gdesktopappinfo.c:
2821 (g_desktop_app_info_new):
2822 Don't leak basename.
2824 2008-01-22 Alexander Larsson <alexl@redhat.com>
2826 * gdesktopappinfo.c:
2827 (g_desktop_app_info_new_from_filename):
2830 2008-01-22 Alexander Larsson <alexl@redhat.com>
2832 * glocalfileinfo.c (get_thumbnail_attributes):
2835 2008-01-22 Alexander Larsson <alexl@redhat.com>
2838 (canonicalize_filename):
2839 Canonicalize paths that start with more than
2843 (compare_two_files):
2844 (test_g_file_new_for_path):
2847 2008-01-22 Alexander Larsson <alexl@redhat.com>
2850 Allow UTF-8 in file:// parse names.
2852 * tests/Makefile.am:
2853 * tests/data-input-stream.c:
2854 * tests/data-output-stream.c:
2855 * tests/g-file-info.c:
2857 Added a bunch of tests from Tomas Bzatek
2859 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2861 * === Released 2.15.3 ===
2863 2008-01-21 Alexander Larsson <alexl@redhat.com>
2865 * gfileinputstream.[ch]:
2866 * gfileoutputstream.[ch]:
2868 Remove duplicated GSeekable functions. (#509990)
2869 Just use the g_seekable_xxx() calls instead.
2871 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2874 * gvolumemanager.c: Whitespace cleanups.
2876 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2877 Use the right mode when creating the file.
2879 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2881 * gfileenumerator.c:
2882 * gfileinputstream.c:
2884 * goutputstream.c: Documentation: Fixed minor typos
2885 and added more mentions of specific _finish() functions.
2887 2008-01-21 Alexander Larsson <alexl@redhat.com>
2889 * inotify/Makefile.am:
2890 * inotify/inotify-helper.c:
2891 * inotify/inotify-kernel.c:
2892 * inotify/inotify-path.c:
2893 * inotify/local_inotify.h: Removed.
2894 * inotify/local_inotify_syscalls.h: Removed.
2895 Removed the included copies of the inotify
2896 headers. We now only use the <sys/inotify.h>
2897 header which exists on modern systems.
2898 This fixes problems on ARM and SH5 (#510448)
2899 but is also generally much cleaner and future
2900 safe. For instance, if other OSes add support
2901 for inotify it should "just work".
2903 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2905 * inotify/*.c: Coding style fixes.
2906 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2907 for the 1/4 Hz timer.
2909 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2912 * gfilemonitor.[hc]:
2913 * gmemoryinputstream.c:
2914 * gmemoryoutputstream.c:
2915 * gmountoperation.c:
2916 * gthemedicon.c: Documentation updates
2918 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2920 * gfile.c: documentation: Fixed more minor
2923 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2925 * gmount.c: (g_mount_remount): documentation:
2926 Mention g_mount_remount_finish() instead of
2927 g_mount_unmount_finish().
2929 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2933 * gfile.c: Fixed some minor typos in the
2936 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2938 * gio/gvolumemonitor.c:
2939 (g_volume_monitor_get_connected_drives):
2940 (g_volume_monitor_get_volumes):
2941 (g_volume_monitor_get_mounts): Documentation:
2942 Clarify the ownership of the regurn GLists.
2944 2008-01-17 Alexander Larsson <alexl@redhat.com>
2947 Add the async find_enclosing_mount version
2948 to the header file too.
2950 2008-01-17 Alexander Larsson <alexl@redhat.com>
2953 Add async version of find_enclosing_mount
2954 with default implementation.
2956 2008-01-17 Alexander Larsson <alexl@redhat.com>
2961 Allow calls to implementation of copy and write
2962 even if the type of the file implementations is
2963 different. This can be used to implement native
2964 upload and download calls in a vfs.
2967 (g_local_file_move):
2968 Protect against the case where move is called
2969 with one file not being local.
2971 Make sure we call the progress callback once
2972 in the native move operation so that the caller
2973 knows how many bytes were copied.
2975 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2978 * gdatainputstream.c:
2980 * gfileoutputstream.c:
2985 * gunixmounts.c: Corrected some typos in the documentation:
2986 occured -> occurred.
2987 its -> it's (where appropriate).
2989 2008-01-16 Alexander Larsson <alexl@redhat.com>
2993 Add g_file_query_exists (#508771)
2995 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3000 * gvolume.c: For async functions that have no non-async
3001 version, document that the GAsyncReadyCallback may be NULL.
3004 2008-01-15 Alexander Larsson <alexl@redhat.com>
3006 * gmemoryinputstream.c:
3007 * gmemoryoutputstream.c:
3008 Don't do pointer arithmetic on void * (#508602)
3009 Patch from Kazuki IWAMOTO
3011 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3013 * === Released 2.15.2 ===
3015 2008-01-14 Alexander Larsson <alexl@redhat.com>
3017 * gfile.c (g_file_monitor_file):
3018 Don't set error here, since we fallback to polling monitor.
3020 2008-01-14 Alexander Larsson <alexl@redhat.com>
3023 (g_file_monitor_directory):
3024 (g_file_monitor_file):
3025 Add GError to file monitor calls
3027 * glocaldirectorymonitor.c:
3028 * glocaldirectorymonitor.h:
3030 * glocalfilemonitor.c:
3031 * glocalfilemonitor.h:
3033 Update for above change
3035 2008-01-14 Alexander Larsson <alexl@redhat.com>
3039 Handle root correctly in g_file_get_relative_path (#508719)
3041 2008-01-14 Alexander Larsson <alexl@redhat.com>
3044 Clean up docs and example for GAsyncResult (#508074)
3046 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3048 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3049 and correct some spelling mistakes. Bug #508108.
3051 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3053 * glocalfileinfo.c: Add a comment.
3055 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3057 * gfileinfo.c: GFileInfo description: Mention
3058 how to actually set attributes in a GFile and how to discover
3059 which attributes are settable. Bug #508378.
3061 2008-01-10 A. Walton <awalton@svn.gnome.org>
3063 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3064 (g_app_info_get_default_for_type):
3065 Check for NULL content types.
3067 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3069 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3071 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3073 * gfile.c: *_async() functions: Several small corrections
3074 to the documentation, mostly correcting copy/paste errors
3075 and improving some sentences.
3077 2008-01-09 Dan Winship <danw@gnome.org>
3079 * glocalfile.c (get_unique_filename): x86_64 fix
3081 2008-01-09 Alexander Larsson <alexl@redhat.com>
3086 Add g_unix_mount_guess_should_display and use
3087 for unix volume monitor backend.
3088 This means we more or less show what the
3089 gnome-vfs backend did.
3090 Based on patch from Padraig O'Briain
3092 2008-01-09 Alexander Larsson <alexl@redhat.com>
3096 Add g_themed_icon_new_with_default_fallbacks
3099 Use default fallbacks for icons
3101 2008-01-09 Alexander Larsson <alexl@redhat.com>
3104 * gmountoperation.[ch]:
3105 Change the API a bit so that unhandled methods
3106 get reported via the reply, rather than by
3107 the signal emission return value. This is because
3108 some handlers can't know this immediately without
3109 doing I/O, and this is an async operation that
3112 2008-01-09 Alexander Larsson <alexl@redhat.com>
3115 * fam/gfamdirectorymonitor.c:
3116 * fam/gfamfilemonitor.c:
3117 Fix double free crash (#508224)
3118 Patch from Joe Marcus Clarke
3120 008-01-07 Matthias Clasen <mclasen@redhat.com>
3122 * === Released 2.15.1 ===
3124 2008-01-07 Alexander Larsson <alexl@redhat.com>
3126 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3127 Fix warning (#507835)
3129 2008-01-07 Alexander Larsson <alexl@redhat.com>
3132 Pass --internal to glib-genmarshal
3135 * gmountoperation.c:
3137 Use better types for signal arguments (#507822)
3139 2008-01-07 Alexander Larsson <alexl@redhat.com>
3142 Build test subdir after .
3143 Remove gdirectorymonitor.[ch]
3145 * gdirectorymonitor.[ch]:
3149 Remove GDirectoryMonitor and make
3150 GFileMonitor the baseclass for both file and
3151 directory monitors. Lift the more generic
3152 rate limiting code from GDirectoryMonitor
3156 * fam/gfamdirectorymonitor.[ch]:
3157 * inotify/ginotifydirectorymonitor.[ch]:
3158 * inotify/inotify-helper.c:
3159 * glocaldirectorymonitor.[ch]:
3162 Update for the removed GDirectoryMonitor.
3164 * gmemoryoutputstream.c:
3165 Remove ununsed variable
3167 2008-01-07 Alexander Larsson <alexl@redhat.com>
3169 * gmemoryinputstream.c:
3170 Translate error strings
3173 * gmemoryoutputstream.[ch]:
3174 New implementation that avoids using GByteArray
3175 in implementation and API. (#506377)
3177 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3179 * tests/*: Add a test for memory input streams.
3181 * Makefile.am: Add tests to SUBDIRS.
3183 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3185 * glocalfilemonitor.c:
3186 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3189 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3191 * gdesktopappinfo.c: Fix a docs typo.
3193 * gfileattribute.c: Add information about extended attributes
3194 to the documentation. (#505058)
3196 2008-01-04 Alexander Larsson <alexl@redhat.com>
3199 * gmountoperation.c:
3200 Use the right type (uint) for the ask_password signal.
3202 2008-01-04 Alexander Larsson <alexl@redhat.com>
3207 Add g_app_info_supports_files()
3208 Remove desktop arg from g_app_info_should_show().
3210 * gdesktopappinfo.[ch]:
3211 Implement g_app_info_supports_files() and new should_show()
3212 Add g_desktop_app_info_set_desktop_env() to set the desktop
3213 for should_show(). (This will be set by gtk+ later)
3215 2008-01-04 Alexander Larsson <alexl@redhat.com>
3218 * gmemoryinputstream.[ch]:
3219 Improve API so that you can use multiple chunks
3220 of memory and custom destroy functions. (#506374)
3222 2008-01-03 Alexander Larsson <alexl@redhat.com>
3225 Handle NULL attribute matchers safely, as we return this
3226 for empty attribute matcher strings.
3228 2008-01-03 Alexander Larsson <alexl@redhat.com>
3230 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3231 Add /usr/local to list of internal mountpoints
3233 2008-01-03 Alexander Larsson <alexl@redhat.com>
3236 Check for HAVE_LCHOWN (#505887)
3238 2008-01-03 Alexander Larsson <alexl@redhat.com>
3242 Add define for selinux context attribute.
3243 Fix missing : -> :: namespace separator change
3244 Fix missing _ -> - name change for xattr-sys.
3247 2008-01-03 Alexander Larsson <alexl@redhat.com>
3250 Link to libglib and libgobject directly (#504879)
3251 Patch from Sebastien Bacher
3253 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3255 * gfile.c: Expanded the g_file_new_for_commandline_arg
3256 description a bit, based on the code and the docs of the
3257 other g_file_new_for_* functions.
3259 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3261 * gfilemonitor.h: Fixed typo in docs.
3263 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3265 Updates to GIO documentation. (#506395, Mikael Hermansson)
3267 * gcontenttype.c: Describe memory management for return value of
3268 g_content_types_get_registered(). Missing piece from #505815.
3269 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3270 GVolume, GDrive, GMounts, which hopefully gives the user less
3271 confusions when using this API. Following explainations from
3272 Alexander Larsson on gtk-devel-list.
3274 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3276 * gfileinfo.c: Expand the long description.
3278 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3281 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3282 fix builds with --disable-visibility. (#500273, Christian Persch)
3284 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3286 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3287 in the list of returned app infos.
3289 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3291 * gappinfo.c: Fix a cross-reference
3293 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3295 * gfileinputstream.c:
3296 * gfileoutputstream.c:
3300 * gdesktopappinfo.c:
3302 * gfileinfo.c: Documentation updates.
3304 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3306 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3309 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3311 * gcontenttype.c (g_content_types_get_registered): Don't return
3312 freed memory (#505815, Mikael Hermansson)
3314 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3316 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3317 used to detect statbuf->st_blocks. (#505042)
3319 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3321 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3322 environment handling. (#504829, Cosimo Cecchi)
3324 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3326 * gappinfo.c: Doc improvements
3328 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3331 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3333 * === Released 2.15.0 ===
3335 2007-12-20 Hans Breuer <hans@breuer.org>
3337 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3338 with symbols gwin32appinfo.obj, added gmount.obj
3339 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3341 2007-12-20 Alexander Larsson <alexl@redhat.com>
3347 * gfilenamecompleter.c:
3350 * gpollfilemonitor.c:
3351 File attribute renames:
3353 fs:: -> filesystem::
3354 id::fs -> id::filesystem
3356 2007-12-20 Alexander Larsson <alexl@redhat.com>
3365 Add GMountUnmountFlags to all unmount and
3367 Add g_mount_remount() call.
3369 2007-12-20 Alexander Larsson <alexl@redhat.com>
3371 * gvfs.c (get_default_vfs):
3372 Fix unused variable warning
3374 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3376 * pltcheck.sh: Update
3378 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3380 * gunionvolumemonitor.c:
3381 * gunixmount.c: Remove C99 comments
3383 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3385 * gio.symbols: Add some missing symbols
3387 2007-12-19 Alexander Larsson <alexl@redhat.com>
3390 Make g_io_modules_load_all_in_directory not unuse
3391 loaded modules so that users of it can do stuff
3393 Init internal "module" types.
3394 Initialize static prio and name for types so that
3395 we don't have to load modules to get it.
3397 * gnativevolumemonitor.h:
3399 Move is_supported to parent class so that
3400 non-native monitors can avoid being initialized
3401 too. (For instance GDaemonVolumeMonitor if we're
3402 not using GDaemonVfs.)
3404 * glocaldirectorymonitor.[ch]:
3405 * glocalfilemonitor.[ch]:
3406 * gunionvolumemonitor.c:
3407 * gunixvolumemonitor.c:
3409 Find plugins using the static prio+name to
3410 avoid unnecessarily loading the modules.
3412 2007-12-19 Alexander Larsson <alexl@redhat.com>
3417 2007-12-19 Alexander Larsson <alexl@redhat.com>
3419 * gunionvolumemonitor.c:
3420 Store the native type as GType, not class so that
3421 we can unload it. But still avoid unnecessarily
3424 2007-12-19 David Zeuthen <davidz@redhat.com>
3426 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3427 add signals 'disconnected' and 'eject-button' on GDrive. Add
3428 signal 'removed' on GVolume and 'unmounted' on GMount.
3430 * gdrive.c: (g_drive_base_init):
3432 * gfile.c: (g_file_mount_mountable),
3433 (g_file_mount_enclosing_volume):
3436 * gmount.c: (g_mount_base_init):
3438 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3439 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3440 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3444 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3446 * *.c: Fix up includes in the section docs.
3448 2007-12-17 Alexander Larsson <alexl@redhat.com>
3450 * gnativevolumemonitor.h:
3451 * gunionvolumemonitor.c:
3452 * gunixvolumemonitor.c:
3453 Add is_supported() to GNativeVolumeMonitorClass so
3454 that we can avoid having to create an object to see
3455 if the backend is supported at runtime.
3456 Also add name member and an env var to pick a specific
3457 volume monitor backend.
3461 Add cancellable to _g_mount_get_for_mount_path()
3463 * glocaldirectorymonitor.c:
3464 * glocalfilemonitor.c:
3465 Avoid loading and unloading modules while sorting.
3467 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3470 * gunixmounts.[hc]: Namespace waste reduction, move some
3471 g_get_unix_mount functions to the g_unix_mount namespace.
3474 * gunixvolumemonitor.c:
3476 * glocaldirectorymonitor.c: Update all callers.
3478 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3480 2007-12-17 Alexander Larsson <alexl@redhat.com>
3483 Add doc comments about what GFile operations are
3484 guaranteed to not block.
3486 2007-12-17 Alexander Larsson <alexl@redhat.com>
3489 Add missing #ifdef fixing OSX build.
3490 (#503334, patch from Richard Hult)
3492 2007-12-14 David Zeuthen <davidz@redhat.com>
3496 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3497 (g_mount_eject), (g_mount_eject_finish):
3499 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3500 (get_volume_for_uuid), (get_mount_for_uuid),
3501 (g_union_volume_monitor_class_init),
3502 (get_default_native_type_with_exclude), (get_default_native_type),
3503 (get_native_type), (update_native_type),
3504 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3505 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3506 (g_unix_mount_can_eject), (eject_unmount_cb),
3507 (eject_unmount_read_error), (eject_unmount_do),
3508 (g_unix_mount_unmount), (g_unix_mount_eject),
3509 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3510 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3511 (g_unix_mount_point_guess_can_eject):
3513 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3514 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3515 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3516 (g_unix_volume_mount), (g_unix_volume_eject),
3517 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3518 * gunixvolumemonitor.c: (get_volume_for_uuid),
3519 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3521 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3522 (g_volume_eject), (g_volume_eject_finish):
3524 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3525 (g_volume_monitor_get_mount_for_uuid):
3528 Provide eject() on both GMount and GVolume and utility functions
3529 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3530 ejected. Introduce the concept of UUID's and wire it into GVolume
3531 and GMount and provide API on GVolumeMonitor to find such
3532 instances. Also handle the case where an external
3533 GNativeVolumeMonitor fails to initialize. Lock around the
3534 _g_get_mount_for_mount_path() function such that volume monitor
3535 implementations won't have to do locking themselves.
3537 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3539 * gdesktopappinfo.c:
3545 * gvolume.h: Documentation updates
3547 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3550 * gfile.h: Doc updates
3552 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3555 * gdesktopappinfo.c: Use hash table iterators.
3557 2007-12-14 Alexander Larsson <alexl@redhat.com>
3560 * gfileattribute.[ch]:
3561 * gfileattribute-priv.h:
3562 Move GFileAttributeValue to a private header, as
3566 Make set_attribute take a type + a pointer instead
3567 of a GFileAttributeValue.
3570 Fix up for above changes.
3571 Add g_file_info_get_attribute_data to get
3572 all info in one call, g_file_info_get_attribute_status
3573 to get the status and g_file_info_get_attribute_as_string.
3577 * glocalfileinfo.[ch]:
3581 Make _guess_type static.
3583 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3586 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3587 made mkenums and friends use temporary files to avoid leaving
3588 empty generated files on failure (#503470).
3590 2007-12-14 Alexander Larsson <alexl@redhat.com>
3592 * gmountoperation.h:
3595 2007-12-14 Alexander Larsson <alexl@redhat.com>
3599 * gfileattribute.[ch]:
3602 * glocalfileoutputstream.c:
3603 * gmountoperation.[ch]:
3604 * goutputstream.[ch]:
3605 Clean up all flags enums to not have _FLAGS in them
3606 Make the names of some of the enums better.
3611 2007-12-14 Michael Natterer <mitch@imendio.com>
3613 * gio.symbols: fix g_io_scheduler symbol names.
3615 2007-12-14 Alexander Larsson <alexl@redhat.com>
3621 * gbufferedinputstream.h:
3622 * gbufferedoutputstream.h:
3625 * gdatainputstream.h:
3626 * gdataoutputstream.h:
3627 * gdesktopappinfo.h:
3628 * gdirectorymonitor.h:
3632 * gfileenumerator.h:
3635 * gfileinputstream.h:
3637 * gfilenamecompleter.h:
3638 * gfileoutputstream.h:
3639 * gfilterinputstream.h:
3640 * gfilteroutputstream.h:
3648 * gmemoryinputstream.h:
3649 * gmemoryoutputstream.h:
3651 * gmountoperation.h:
3654 * gsimpleasyncresult.h:
3656 * gunixinputstream.h:
3658 * gunixoutputstream.h:
3662 * inotify/Makefile.am:
3663 Only allow including <gio/gio.h> from apps
3665 2007-12-14 Alexander Larsson <alexl@redhat.com>
3667 * gioscheduler.[ch]:
3668 * gsimpleasyncresult.c:
3669 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3670 Split out the send_to_mainloop call into two versions instead
3671 of having the block argument.
3673 2007-12-13 Alexander Larsson <alexl@redhat.com>
3675 * gcancellable.[ch]:
3677 * gbufferedinputstream.c:
3678 * gfileenumerator.c:
3679 * gfileinputstream.c:
3680 * gfileoutputstream.c:
3684 g_push/pop_current_cancellable ->
3685 g_cancellable_push/pop_current
3687 2007-12-13 Alexander Larsson <alexl@redhat.com>
3691 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3693 2007-12-13 Alexander Larsson <alexl@redhat.com>
3695 * gmountoperation.h:
3696 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3698 2007-12-12 Alexander Larsson <alexl@redhat.com>
3701 Fix race condition when freeing proxy in
3702 g_io_job_send_to_mainloop().
3704 2007-12-12 Alexander Larsson <alexl@redhat.com>
3710 Make attribute namespace separator "::" instead of ":".
3711 Use - instead of _ as separator in attribute names.
3713 2007-12-12 Alexander Larsson <alexl@redhat.com>
3715 * gbufferedinputstream.h:
3716 * gbufferedoutputstream.h:
3717 * gdatainputstream.h:
3718 * gdataoutputstream.h:
3719 * gdirectorymonitor.h:
3720 * gfileenumerator.h:
3721 * gfileinputstream.h:
3723 * gfileoutputstream.h:
3724 * gfilterinputstream.h:
3725 * gfilteroutputstream.h:
3727 * glocalfileinputstream.h:
3728 * glocalfileoutputstream.h:
3729 * gmemoryinputstream.h:
3730 * gmemoryoutputstream.h:
3731 * gnativevolumemonitor.h:
3733 * gunixinputstream.h:
3734 * gunixoutputstream.h:
3737 s/parent/parent_instance/ in GObjects
3739 2007-12-12 Alexander Larsson <alexl@redhat.com>
3744 No need for padding for interfaces
3746 2007-12-12 Alexander Larsson <alexl@redhat.com>
3750 * gbufferedinputstream.c:
3751 * gbufferedoutputstream.c:
3754 * gdatainputstream.[ch]:
3755 * gdesktopappinfo.c:
3756 * gdirectorymonitor.c:
3758 * gfileattribute.[ch]:
3761 * gfileinputstream.h:
3762 * gfilemonitor.[ch]:
3763 * gfileoutputstream.[ch]:
3764 * gfilterinputstream.h:
3765 * gfilteroutputstream.h:
3768 * gloadableicon.[ch]:
3769 * gmemoryinputstream.c:
3770 * gmountoperation.c:
3772 Fix up a bunch of details in the docs.
3777 2007-12-11 David Zeuthen <davidz@redhat.com>
3779 Rework how volumes, drives and volume monitoring is
3780 done. Previosly the model was
3782 GDrive <1-1> GVolume
3784 where a GDrive instance represented a mount point and a GVolume
3785 instance represented a mounted file system. This patch changes it
3788 GDrive <1-N> GVolume <1-1> GMount
3790 where GMount now serves the purpose of the old GVolume and the new
3791 GVolume serves the purpose of the old GDrive. In addition the new
3792 GDrive interface is used to represent a collection of GVolume
3793 instances (typically partitions) and also contains utility to query
3794 the state of the physical drive the GDrive object represents (such
3795 as checking for media, polling the drive, ejecting the media etc.).
3797 Also implement mounting and unmounting in the Unix volume monitor
3798 backend. A subquent patch will introduce GDrive support for ejection
3802 * gdrive.c: (g_drive_is_media_check_automatic),
3803 (g_drive_is_media_removable), (g_drive_has_media),
3804 (g_drive_can_poll_for_media), (g_drive_eject),
3805 (g_drive_eject_finish), (g_drive_poll_for_media),
3806 (g_drive_poll_for_media_finish):
3808 * gfile.c: (g_file_find_enclosing_mount):
3811 * glocaldirectorymonitor.c:
3812 (g_local_directory_monitor_constructor), (mounts_changed):
3813 * glocalfile.c: (get_mount_info),
3814 (g_local_file_find_enclosing_mount),
3815 (g_local_file_file_iface_init):
3816 * gnativevolumemonitor.h:
3817 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3818 (get_connected_drives), (g_union_volume_monitor_class_init),
3819 (child_volume_added), (child_volume_removed),
3820 (child_volume_changed), (child_mount_added), (child_mount_removed),
3821 (child_mount_pre_unmount), (child_mount_changed),
3822 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3823 (g_union_volume_monitor_remove_monitor),
3824 (_g_mount_get_for_mount_path):
3825 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3826 (guess_system_internal), (_g_get_unix_mounts),
3827 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3828 (g_unix_mount_free), (g_unix_mount_compare),
3829 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3830 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3831 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3832 (type_to_icon), (g_unix_mount_guess_name),
3833 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3834 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3835 (_resolve_symlink), (_resolve_dev_root):
3837 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3838 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3839 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3840 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3841 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3842 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3843 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3844 (g_unix_volume_volume_iface_init):
3846 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3847 (get_mounts), (get_volumes), (get_connected_drives),
3848 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3849 (mountpoints_changed), (mounts_changed),
3850 (g_unix_volume_monitor_init),
3851 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3852 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3853 * gunixvolumemonitor.h:
3854 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3855 (g_volume_mount), (g_volume_mount_finish):
3857 * gvolumemonitor.c: (g_volume_monitor_class_init),
3858 (g_volume_monitor_get_connected_drives),
3859 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3862 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3864 * gmountoperation.h (GPasswordFlags): Close the gap
3866 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3868 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3870 * gdesktopappinfo.[hc]: Remove _-prefixes
3872 2007-12-10 Tor Lillqvist <tml@novell.com>
3874 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3877 2007-12-10 Alexander Larsson <alexl@redhat.com>
3879 * gfile.c (g_file_set_display_name):
3880 Don't hardcode '/' (#502727)
3882 2007-12-09 Hans Breuer <hans@breuer.org>
3884 * makefile.msc : follow lib naming convention
3885 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3886 for user and group name, tested with ../tests/gio-ls
3888 2007-12-09 A. Walton <awalton@svn.gnome.org>
3890 * gdesktopappinfo.c:
3896 * gfileenumerator.c:
3901 * gmemoryinputstream.c:
3902 * gmemoryoutputstream.c:
3904 * gsimpleasyncresult.c:
3905 More documentation cleanup and filling in missing information, bringing
3906 GIO to 99% symbol coverage.
3908 2007-12-08 Hans Breuer <hans@breuer.org>
3910 [gio compiles and links on win32, not sure how much already works]
3911 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3912 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3913 base on win32 API; prefer g_lstat() over lstat(); instead of
3914 localtime_r() use an all GLib implementation on win32;
3915 get_mount_info() still needs a win32 specifc implementation
3916 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3917 win32_get_file_user_info to get owner/group info without uid/gid
3918 * glocalfileinputstream.c : include <io.h> on win32
3919 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3920 definition, use g_win32_ftruncate() for G_OS_WIN32
3921 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3922 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3923 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3924 * makefile.msc : updated
3926 2007-12-07 Alexander Larsson <alexl@redhat.com>
3928 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3929 Avoid warning spew if error == NULL
3931 2007-12-07 Alexander Larsson <alexl@redhat.com>
3934 Update docs wrt etags
3936 2007-12-06 Alexander Larsson <alexl@redhat.com>
3939 Include sys/types.h for dev_t (#501919)
3941 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3945 Make abicheck and pltcheck pass.
3947 2007-12-05 Alexander Larsson <alexl@redhat.com>
3950 * giomodule-priv.h: Added.
3951 * glocaldirectorymonitor.c:
3952 * glocalfilemonitor.c:
3953 * gunionvolumemonitor.c:
3955 Actually add the declaration of _g_io_modules_ensure_loaded
3957 2007-12-05 Alexander Larsson <alexl@redhat.com>
3959 * gdatainputstream.c:
3964 * glocaldirectorymonitor.c:
3965 * glocalfilemonitor.c:
3966 * gunionvolumemonitor.c:
3968 Make g_io_modules_ensure_loaded a private function and
3969 don't pass in the dirname. This means we can do magic
3970 directory finding in the win32 version.
3971 Export the actual load-modules-in-directory code so that
3972 gvfs can reuse that.
3974 2007-12-05 Alexander Larsson <alexl@redhat.com>
3976 * gbufferedinputstream.c:
3977 * gbufferedoutputstream.c:
3980 * gfileenumerator.[ch]:
3981 * gfileinputstream.c:
3982 * gfileoutputstream.[ch]:
3983 * gfilterinputstream.c:
3984 * gfilteroutputstream.c:
3985 * ginputstream.[ch]:
3987 * glocalfileenumerator.c:
3988 * glocalfileinputstream.c:
3989 * glocalfileoutputstream.c:
3990 * gmemoryinputstream.c:
3991 * gmemoryoutputstream.c:
3992 * goutputstream.[ch]:
3995 * gunixinputstream.c:
3996 * gunixoutputstream.c:
3997 Rename all struct members named:
3998 read, write, close, truncate, or mount
3999 to foo_fn, as these are reserved names
4000 and could be defined as macros in libc.
4003 2007-12-04 Alexander Larsson <alexl@redhat.com>
4006 (g_output_stream_close):
4007 Only call flush if non-null.
4009 2007-11-30 Dan Winship <danw@gnome.org>
4011 * ginputstream.c (g_input_stream_set_pending): Make this take a
4012 GError and return a gboolean, and do the "outstanding operation"
4013 check (and the "stream is already closed" check) itself.
4014 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4016 * goutputstream.c (g_output_stream_set_pending)
4017 (g_output_stream_clear_pending): Likewise
4019 * gbufferedinputstream.c:
4020 * gfileinputstream.c:
4021 * gfileoutputstream.c: Update for that
4023 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4024 Like g_simple_async_report_error_in_idle, but takes a GError
4025 rather than building one.
4027 2007-11-30 Dan Winship <danw@gnome.org>
4029 * goutputstream.c: Don't cheat and unset the "pending" flag around
4030 inner calls. Instead, call the class method directly rather than
4031 the wrapper function that checks "pending"
4033 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4035 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4037 2007-12-03 Hans Breuer <hans@breuer.org>
4039 [start of port to win32/msvc]
4040 * gcancellable.c : HAVE_UNIST_H and _pipe()
4041 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4042 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4043 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4045 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4046 * glocalvfs.c : use HAVE_PWD_H
4047 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4048 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4049 * Makefile.am : added to EXTRA_DIST
4051 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4053 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4056 2007-12-03 Alexander Larsson <alexl@redhat.com>
4059 Handle OSX style xattrs API (#500506)
4061 2007-12-03 Alexander Larsson <alexl@redhat.com>
4065 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4067 2007-12-02 A. Walton <awalton@svn.gnome.org>
4071 Documentation accuracy fixes.
4073 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4075 * gioenumtypes.c.template: Fix typo.
4077 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4079 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4081 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4083 * gdirectorymonitor.c:
4084 * gfilemonitor.c: Add properties
4086 * gbufferedoutputstream.c: Don't mark buffer-size property
4089 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4091 * gbufferedoutputstream.c: Add auto-grow property.
4093 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4095 * *.c: Unify the capitalization of section headings.
4097 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4099 * gmountoperation.c: Add properties
4101 * gdatainputstream.c: Turn byte-order and newline-type into
4104 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4106 * gioenumtypes.[hc].template: Templates for enum registration
4108 * Makefile.am: Generate gioenumtypes.[hc]
4110 * gio.h: Include gioenumtypes.h
4112 * gfile.h: Add some explicit nicks.
4114 * gio.symbols: Add new symbols
4116 * pltcheck.sh: Adjust
4118 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4120 * *.c: Explain etags and link to the explanation
4122 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4124 * *.c: Explain I/O priority.
4126 * *.c: More coding style fixes.
4128 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4130 * gasyncresult.c: Add another paragraph to the intro,
4131 adjust coding style of example.
4133 2007-11-29 A. Walton <awalton@svn.gnome.org>
4136 Fixes unknown meaning in GAppLaunchContext docs.
4138 Clarify asynchronous ops.
4140 Fix entity tag docs.
4143 Provides missing gtk-doc section, fixes API docs slighly.
4144 * gsimpleasyncresult.c:
4145 Fill in missing info in docs.
4146 * gunixinputstream.c:
4147 * gunixoutputstream.c:
4148 Be more expressive in short description.
4150 Remove gtk-doc stubs for non-public API.
4152 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4154 * *.c: Coding style fixups
4156 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4158 * inotify/inotify-helper.c: Don't export the lock from libgio.
4160 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4163 * abicheck.sh: Fix copy-and-paste leftovers
4165 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4167 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4169 2007-11-28 Alexander Larsson <alexl@redhat.com>
4173 Removed unnecessary file
4175 * gdesktopappinfo.[ch]:
4178 * glocaldirectorymonitor.[ch]:
4180 * glocalfileenumerator.[ch]:
4181 * glocalfileinputstream.[ch]:
4182 * glocalfilemonitor.[ch]:
4183 * glocalfileoutputstream.[ch]:
4185 * gnativevolumemonitor.c:
4186 * gpollfilemonitor.[ch]:
4187 * gunionvolumemonitor.[ch]:
4190 * gunixvolumemonitor.[ch]:
4193 * inotify/ginotifydirectorymonitor.[ch]:
4194 * inotify/ginotifyfilemonitor.[ch]:
4195 * inotify/inotify-helper.c:
4196 Append _ to all internal functions
4200 Export symbols needed for modules
4202 2007-11-28 Alexander Larsson <alexl@redhat.com>
4205 * abicheck.sh: Added.
4206 * makegioalias.pl: Added.
4207 * pltcheck.sh: Added.
4208 * gio.symbols: Added.
4211 Initial work on adding symbol handling.
4214 Correct ifdef guard name
4217 * inotify/Makefile.am:
4218 * xdgmime/Makefile.am:
4219 Include toplevel Makefile.decl
4221 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4223 * gcontenttype.c: Move doc comments to the unix section.
4225 * *.[hc]: More trivial doc corrections.
4227 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4229 * gpollfilemonitor.c:
4233 * gdesktopappinfo.c:
4238 * gdatainputstream.c:
4239 * gdatainputstream.h:
4240 * gdataoutputstream.c:
4241 * gdataoutputstream.h:
4242 * gfileinfo.h: Doc cleanups
4244 2007-11-28 Andre Klapper <a9016009@gmx.de>
4246 * gdesktopappinfo.c: Fix a typo.
4248 2007-11-27 Andre Klapper <a9016009@gmx.de>
4250 * glocalfileoutputstream.c: Fix a typo.
4252 2007-11-27 Alexander Larsson <alexl@redhat.com>
4255 Don't include removed headers
4257 2007-11-27 Alexander Larsson <alexl@redhat.com>
4260 * gsocketinputstream.[ch]: Removed.
4261 * gsocketoutputstream.[ch]: Removed.
4262 * gunixinputstream.[ch]: Added.
4263 * gunixoutputstream.[ch]: Added.
4264 Renamed GSocket*Stream to GUnix*Stream and made
4265 it unix-only, since its not really only for sockets
4266 and it only works on unix (but is highly useful there).
4268 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4274 * gbufferedinputstream.c:
4275 * gbufferedinputstream.h:
4276 * gbufferedoutputstream.c:
4277 * gbufferedoutputstream.h:
4281 * gdatainputstream.c:
4282 * gdatainputstream.h:
4283 * gdataoutputstream.c:
4284 * gdataoutputstream.h:
4285 * gdirectorymonitor.c:
4286 * gdirectorymonitor.h:
4293 * gfileenumerator.c:
4294 * gfileenumerator.h:
4299 * gfileinputstream.c:
4300 * gfileinputstream.h:
4303 * gfilenamecompleter.c:
4304 * gfilenamecompleter.h:
4305 * gfileoutputstream.c:
4306 * gfileoutputstream.h:
4307 * gfilterinputstream.c:
4308 * gfilterinputstream.h:
4309 * gfilteroutputstream.c:
4310 * gfilteroutputstream.h:
4323 * glocalfileoutputstream.c:
4324 * gmemoryinputstream.c:
4325 * gmemoryinputstream.h:
4326 * gmemoryoutputstream.c:
4327 * gmemoryoutputstream.h:
4328 * gmountoperation.c:
4329 * gmountoperation.h:
4332 * gpollfilemonitor.c:
4335 * gsimpleasyncresult.c:
4336 * gsimpleasyncresult.h:
4337 * gsocketinputstream.c:
4338 * gsocketinputstream.h:
4339 * gsocketoutputstream.c:
4340 * gsocketoutputstream.h:
4347 * gunixvolumemonitor.c:
4356 Bumps documentation to 93% symbol coverage, touching most
4357 of the public files. Fixes broken function documentation prototypes.
4358 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4359 gtk-doc headers in private files.
4361 2007-11-27 Jürg Billeter <j@bitron.ch>
4363 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4364 (g_buffered_input_stream_read_byte):
4365 * gbufferedinputstream.h:
4366 New functions for efficient access to buffer and simple single byte
4369 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4370 (g_data_input_stream_read_until):
4371 * gdatainputstream.h:
4372 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4373 read_until with multiple stop chars.
4375 2007-11-27 Alexander Larsson <alexl@redhat.com>
4379 * inotify/Makefile.am:
4380 Use the user-specified giomoduledir
4382 2007-11-27 Alexander Larsson <alexl@redhat.com>
4386 Add catch-all gio.h header
4387 Don't install gdummyfile.h
4389 2007-11-26 Alexander Larsson <alexl@redhat.com>
4391 * Makefile.am (gioinclude_HEADERS):
4392 Remove trailing whitespace
4394 2007-11-26 Alexander Larsson <alexl@redhat.com>
4396 Merge gio-standalone into glib
4398 2007-11-25 Christian Kellner <gicmo@gnome.org>
4400 * gio/goutputstream.c:
4401 Fix small mistake in the docs.
4403 2007-11-21 Christian Persch <chpe@gnome.org>
4405 * gio/glocalfile.c: (g_local_file_trash):
4406 Convert filenames to UTF-8 for GError.
4407 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4408 as per xdg base dir spec.
4410 2007-11-21 Christian Persch <chpe@gnome.org>
4412 * gio/gdesktopappinfo.c:
4413 Use that g_key_file_to_data cannot fail.
4415 Use stock defines for the key file group and key names.
4418 2007-11-21 Alexander Larsson <alexl@redhat.com>
4421 (copy_stream_with_progress):
4422 Make sure we do a final progress callback with
4423 the full total size.
4425 2007-11-21 Alexander Larsson <alexl@redhat.com>
4428 Export g_file_copy_attributes
4429 Remove padding as its not needed for interfaces
4431 2007-11-20 Alexander Larsson <alexl@redhat.com>
4436 Add G_IO_ERROR_WOULD_MERGE for
4437 copy/move dir on dir with overwrite.
4439 2007-11-20 Alexander Larsson <alexl@redhat.com>
4442 * gio/glocalfileinfo.c:
4443 Add COPY_NAME (this is an optional
4444 non-modified utf8 version of the name) that
4447 2007-11-20 Alexander Larsson <alexl@redhat.com>
4449 * gio/glocalfileenumerator.c:
4450 Report errors as GIOError, not GFileError
4452 2007-11-16 Alexander Larsson <alexl@redhat.com>
4454 * gio/glocalfileoutputstream.c:
4455 * gio/gwin32appinfo.c:
4456 Fix typos in strings.
4457 Patch from Luca Ferretti <elle.uca@libero.it>
4459 2007-11-15 Alexander Larsson <alexl@redhat.com>
4462 Post release version bump
4464 === gio-standalone 0.1.2 ===
4466 2007-11-15 Alexander Larsson <alexl@redhat.com>
4468 * docs/reference/gio/Makefile.am:
4469 Fix up distcheck by removing weird
4475 2007-11-14 Alexander Larsson <alexl@redhat.com>
4477 * gio/gdesktopappinfo.c:
4478 * gio/glocaldirectorymonitor.c:
4480 * gio/glocalfileinfo.c:
4481 * gio/inotify/inotify-sub.c:
4482 * programs/gio-cat.c:
4483 * programs/gio-copy.c:
4484 * programs/gio-info.c:
4485 * programs/gio-ls.c:
4486 * programs/gio-monitor-dir.c:
4487 * programs/gio-monitor-file.c:
4488 * programs/gio-mount.c:
4489 * programs/gio-move.c:
4490 * programs/gio-rm.c:
4491 * programs/gio-save.c:
4492 * programs/gio-trash.c:
4493 Leak fixes from Kjartan Maraas
4495 2007-11-14 Alexander Larsson <alexl@redhat.com>
4497 * gio/fam/fam-helper.c:
4499 * gio/glocalfileinfo.c:
4503 * gio/inotify/inotify-diag.c:
4504 * gio/inotify/inotify-kernel.c:
4505 Various code cleanups from Kjartan Maraas
4507 2007-11-14 Alexander Larsson <alexl@redhat.com>
4509 * gio/gioscheduler.c:
4511 Set up threadpool so that we cache 2 unused
4512 idle threads for at 15 secs. This means we
4513 will reuse thread-local data (like dbus connections)
4516 2007-11-14 Alexander Larsson <alexl@redhat.com>
4518 * gio/fam/fam-helper.c:
4519 * gio/fam/gfamdirectorymonitor.c:
4520 * gio/fam/gfamfilemonitor.c:
4522 * gio/gcontenttype.c:
4523 * gio/gdatainputstream.c:
4524 * gio/gdataoutputstream.c:
4528 * gio/gfileattribute.h:
4529 * gio/gfileenumerator.c:
4531 * gio/ginputstream.c:
4534 * gio/glocalfileinfo.c:
4535 * gio/goutputstream.c:
4536 * gio/gpollfilemonitor.c:
4537 * gio/gsimpleasyncresult.c:
4538 * gio/gunixmounts.c:
4539 * gio/gunixmounts.h:
4540 * gio/inotify/ginotifydirectorymonitor.c:
4541 * gio/inotify/ginotifyfilemonitor.c:
4542 * gio/inotify/inotify-diag.c:
4543 * gio/inotify/inotify-kernel.c:
4544 * gio/inotify/inotify-path.c:
4546 * gio/test-streams.c:
4547 * programs/gio-info.c:
4548 * programs/gio-monitor-dir.c:
4549 * programs/gio-monitor-file.c:
4550 Various code cleanups from Kjartan Maraas
4552 2007-11-13 Alexander Larsson <alexl@redhat.com>
4555 Handle the uri-scheme calls for dummy files
4557 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4559 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4560 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4561 to avoid clash with the C++ keyword.
4563 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4565 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4566 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4568 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4570 * gio/glocaldirectorymonitor.c:
4571 * gio/glocalfilemonitor.c:
4572 * gio/gunionvolumemonitor.c:
4573 Don't use g_once_init_*() for initializations that could fail and
4574 could leave the initialization variable set to 0 but use GOnce.
4575 This prevents a deadlock on the second call when trying to create
4576 a monitor and no monitor type is available. Thanks to Sven Herzberg
4579 2007-11-11 Sven Herzberg <sven@imendio.com>
4581 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4582 #ifdef (make it work on MacOS X again)
4584 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4586 Fixes Changelog for last two commits (sorry guys).
4588 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4590 * gio/gbufferedinputstream.c:
4591 * gio/gdatainputstream.c:
4593 * gio/gfileoutputstream.c:
4594 * gio/gfilterinputstream.c:
4595 * gio/glocalfileinputstream.c:
4598 More consistency fixes in g*stream.c files.
4599 Significant clean of gfile's documentation, filling in of
4600 asynchronous operations documentation.
4602 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4604 * gio/gasyncresult.c:
4605 * gio/gbufferedinputstream.c:
4606 * gio/gbufferedoutputstream.c:
4607 * gio/gcancellable.c:
4608 * gio/gcontenttype.c:
4609 * gio/gdatainputstream.c:
4610 * gio/gdataoutputstream.c:
4611 * gio/gdesktopappinfo.c:
4614 * gio/gfileattribute.c:
4615 * gio/gio/gfileenumerator.c:
4617 * gio/gfileinputstream.c:
4618 * gio/gfilemonitor.c:
4619 * gio/gfileoutputstream.c:
4620 * gio/ginputstream.c:
4622 * gio/gioscheduler.c:
4623 * gio/gloadableicon.c:
4624 * gio/glocalfileoutputstream.c:
4625 * gio/gmemoryoutputstream.c:
4626 * gio/gmountoperation.c:
4627 * gio/goutputstream.c:
4629 * gio/gsimpleasyncresult.c:
4630 * gio/gunionvolumemonitor.c:
4631 * gio/gunixmounts.c:
4632 * gio/gunixvolume.c:
4636 * gio/gvolumemonitor.c:
4637 Updated documentation stubs, working towards consistency and
4640 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4642 * gio/gmemoryoutputstream.c:
4643 * gio/gmemoryoutputstream.h:
4644 Change g_memory_output_stream_set_free_on_close() to
4645 g_memory_output_stream_set_free_data() as this makes more sense and
4646 is more consistent with GMemoryInputStream.
4648 2007-11-07 Alexander Larsson <alexl@redhat.com>
4655 Change how we find the default vfs so that
4656 we can handle a gvfs failing to init
4658 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4660 * gio/gbufferedoutputstream.c:
4661 * gio/gdatainputstream.c:
4662 * gio/gdataoutputstream.c:
4663 * gio/gfileinputstream.c:
4664 * gio/gfileoutputstream.c:
4665 * gio/gfilterinputstream.c:
4666 * gio/gfilteroutputstream.c:
4667 * gio/ginputstream.c:
4668 * gio/gmemoryinputstream.c:
4669 * gio/gmemoryoutputstream.c:
4670 * gio/goutputstream.c:
4671 * gio/gsimpleasyncresult.c:
4672 * gio/gsocketinputstream.c:
4673 * gio/gsocketoutputstream.c:
4674 Add guards to the remaining public functions, add a TODO for
4675 an unimplemented function and remove some useless guards.
4677 2007-11-07 Alexander Larsson <alexl@redhat.com>
4680 Autoconf checks for the various types of
4681 getpwuid_r and getgrgid_r
4683 * gio/glocalfileinfo.c:
4684 Use the autoconf checks from above
4686 2007-11-07 Alexander Larsson <alexl@redhat.com>
4689 (g_local_file_query_filesystem_info):
4690 Some fixes for the statvfs case
4692 2007-11-07 Alexander Larsson <alexl@redhat.com>
4695 (g_local_file_query_filesystem_info):
4696 Pick the "best" of statfs / statvfs for the system
4697 if both are availible.
4699 2007-11-07 Alexander Larsson <alexl@redhat.com>
4701 Solaris fixes from Halton.Huo@Sun.COM:
4708 * gio/glocalfileinfo.c:
4709 Fix for solaris definition of getpwuid_r
4711 * gio/test-streams.c:
4712 Use G_GNUC_PRETTY_FUNCTION
4714 2007-11-07 Alexander Larsson <alexl@redhat.com>
4716 * gio/gdesktopappinfo.c:
4717 (update_default_list):
4718 Remove double semicolon.
4719 Patch from Jens Granseuer
4721 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4723 * docs/reference/gio/gio-sections.txt:
4724 * gio/gbufferedinputstream.c:
4725 * gio/gbufferedinputstream.h:
4726 * gio/gdatainputstream.c:
4727 * gio/gfileenumerator.c:
4728 * gio/gioscheduler.c:
4729 * gio/gunionvolumemonitor.c:
4731 * programs/gio-save.c:
4732 Fix typo: availible -> available. Unfortuntely this breaks API
4733 and ABI as g_buffered_input_stream_get_available() was renamed.
4735 * gio/gunixmounts.c:
4736 * gio/gbufferedinputstream.c:
4737 Add guards for public functions.
4739 2007-11-06 Ross Burton <ross@openedhand.com>
4741 * docs/reference/gio/Makefile.am:
4742 Fix invalid += usage which automake 1.10 doesn't like.
4744 2007-11-06 Alexander Larsson <alexl@redhat.com>
4747 (g_app_launch_context_class_init):
4750 Patch from Ross Burton
4752 2007-11-06 Alexander Larsson <alexl@redhat.com>
4755 Post release version bump
4757 === gio-standalone 0.1.1 ===
4759 2007-11-06 Alexander Larsson <alexl@redhat.com>
4762 Bump version to 0.1.1
4764 * gio/gsimpleasyncresult.c:
4765 (g_simple_async_result_set_from_error):
4766 Remove bogus g_return_if_fail
4768 2007-11-06 Alexander Larsson <alexl@redhat.com>
4771 The name is gio-standalone
4774 Add top src/builddir to includedir
4776 2007-11-06 Alexander Larsson <alexl@redhat.com>
4778 * docs/reference/gio/gio-sections.txt:
4780 * gio/gbufferedinputstream.c:
4781 * gio/gbufferedoutputstream.c:
4782 * gio/gcancellable.c:
4783 * gio/gdatainputstream.h:
4784 * gio/gdataoutputstream.c:
4785 * gio/gdataoutputstream.h:
4786 * gio/gdirectorymonitor.c:
4788 * gio/gfileattribute.c:
4789 * gio/gfileattribute.h:
4790 * gio/gfileenumerator.c:
4791 * gio/gfileenumerator.h:
4794 * gio/gfileinputstream.h:
4795 * gio/gfilemonitor.c:
4796 * gio/gfileoutputstream.h:
4797 * gio/glocalfilemonitor.h:
4798 * gio/glocalfileoutputstream.h:
4799 * gio/gmemoryinputstream.c:
4800 * gio/gmemoryoutputstream.c:
4801 * gio/gmountoperation.c:
4802 * gio/goutputstream.c:
4803 * gio/goutputstream.h:
4805 * gio/gsimpleasyncresult.c:
4806 * gio/gunixmounts.c:
4807 * gio/gunixmounts.h:
4809 * gio/inotify/inotify-helper.c:
4810 Fix gtk-doc warnings
4812 Patch from Ross Burton
4814 2007-11-06 Alexander Larsson <alexl@redhat.com>
4816 * gio/gfilenamecompleter.c:
4817 (g_filename_completer_get_completions):
4820 * gio/gunixvolume.c:
4821 Remove unused function
4823 Patches from Ross Burton
4825 2007-11-06 Alexander Larsson <alexl@redhat.com>
4830 Padding not needed for interfaces
4832 2007-11-06 Alexander Larsson <alexl@redhat.com>
4834 * gio/gfilemonitor.c:
4838 Make giotypes.h an internal file
4841 * gio/gbufferedinputstream.h:
4842 * gio/gbufferedoutputstream.h:
4843 * gio/gcancellable.h:
4844 * gio/gdatainputstream.h:
4845 * gio/gdataoutputstream.h:
4846 * gio/gdirectorymonitor.c:
4847 * gio/gdirectorymonitor.h:
4852 * gio/gfileattribute.h:
4853 * gio/gfileenumerator.h:
4858 * gio/gfilemonitor.c:
4859 * gio/gfilemonitor.h:
4860 * gio/gfilenamecompleter.c:
4861 * gio/gfilenamecompleter.h:
4862 * gio/gfilterinputstream.h:
4863 * gio/gfilteroutputstream.h:
4864 * gio/ginputstream.h:
4865 * gio/gmemoryinputstream.h:
4866 * gio/gmemoryoutputstream.h:
4867 * gio/gmountoperation.c:
4868 * gio/gmountoperation.h:
4869 * gio/gnativevolumemonitor.c:
4870 * gio/goutputstream.h:
4873 * gio/gsimpleasyncresult.c:
4874 * gio/gsimpleasyncresult.h:
4875 * gio/gsocketinputstream.h:
4876 * gio/gsocketoutputstream.h:
4877 * gio/gthemedicon.c:
4878 * gio/gthemedicon.h:
4882 * gio/gvolumemonitor.c:
4883 * gio/gvolumemonitor.h:
4884 Add padding in classes where it seems useful
4885 Don't include giotypes.h from public headers
4886 Move in Class definitions into c file where possible
4891 2007-11-06 Alexander Larsson <alexl@redhat.com>
4893 * docs/reference/gio/gio-docs.xml:
4894 Better structure for API docs
4896 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4899 * gio/gloadableicon.c:
4900 * gio/gsimpleasyncresult.c:
4901 * gio/gthemedicon.c:
4902 Add some more guards to public functions. Only files missing are now
4905 2007-11-06 Alexander Larsson <alexl@redhat.com>
4907 * docs/reference/gio/gio-docs.xml:
4908 Remove old files, add missing ones
4910 2007-11-06 Alexander Larsson <alexl@redhat.com>
4912 * docs/reference/gio/gio-sections.txt:
4915 Hide implementation classes
4917 * gio/gdriveprivate.h:
4918 * gio/gvolumeprivate.h:
4919 Remove non-existing function declarations
4921 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4924 Fix compilation warnings and add guards to the new functions.
4926 * gio/gasyncresult.c:
4928 Add guards to the public functions.
4931 Implement get_path().
4933 2007-11-06 Alexander Larsson <alexl@redhat.com>
4935 * gio/gfilenamecompleter.c:
4936 Make g_filename_completer_get_completions
4937 return char ** instead of GList for
4940 * docs/reference/gio/gio-docs.xml:
4941 * docs/reference/gio/gio-sections.txt:
4943 * gio/gasyncresult.c:
4944 * gio/gbufferedinputstream.c:
4945 * gio/gbufferedoutputstream.c:
4946 * gio/gcancellable.c:
4947 * gio/gcontenttype.c:
4948 * gio/gdatainputstream.c:
4949 * gio/gdataoutputstream.c:
4950 * gio/gdesktopappinfo.c:
4951 * gio/gdirectorymonitor.c:
4955 * gio/gfileattribute.c:
4956 * gio/gfileenumerator.c:
4959 * gio/gfileinputstream.c:
4960 * gio/gfilemonitor.c:
4961 * gio/gfilenamecompleter.c:
4962 * gio/gfilenamecompleter.h:
4963 * gio/gfileoutputstream.c:
4964 * gio/gfilterinputstream.c:
4966 * gio/ginputstream.c:
4968 * gio/gioscheduler.c:
4969 * gio/gloadableicon.c:
4970 * gio/glocaldirectorymonitor.c:
4972 * gio/glocalfileinputstream.c:
4973 * gio/glocalfilemonitor.c:
4974 * gio/glocalfileoutputstream.c:
4976 * gio/gmemoryinputstream.c:
4977 * gio/gmemoryoutputstream.c:
4978 * gio/gmountoperation.c:
4979 * gio/goutputstream.c:
4980 * gio/gpollfilemonitor.c:
4982 * gio/gsimpleasyncresult.c:
4983 * gio/gsocketinputstream.c:
4984 * gio/gsocketoutputstream.c:
4985 * gio/gthemedicon.c:
4986 * gio/gunionvolumemonitor.c:
4988 * gio/gunixmounts.c:
4989 * gio/gunixvolume.c:
4990 * gio/gunixvolumemonitor.c:
4994 * gio/gvolumemonitor.c:
4995 * gio/gwin32appinfo.c:
4996 Add (mostly stub) doc strings to public functions.
4997 Patch from Andrew Walton (awalton@gmail.com)
4999 2007-11-06 Alexander Larsson <alexl@redhat.com>
5001 * gio/gappinfo.[ch]:
5002 Added GAppLaunchContext object and pass that to launch.
5003 This allows simple implementation of both
5004 launch-on-screen and startup notification via a gtk+
5005 subclass of GAppLaunchContext
5007 * gio/gdesktopappinfo.c:
5008 Implement GAppLaunchContext API
5010 * gio/gwin32appinfo.c:
5013 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5015 * gio/gmountoperation.c:
5016 Add some guards to GMountOperation's public functions.
5018 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5022 * gio/gcancellable.c:
5023 * gio/gdirectorymonitor.c:
5025 * gio/gfileenumerator.c:
5026 * gio/gfilemonitor.c:,
5027 * gio/gfilenamecompleter.c:
5030 * gio/gioscheduler.c:
5034 * gio/gvolumemonitor.c:
5035 Add even more guards to various public functions.
5037 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5040 Add guards to the public functions of GAppInfo.
5042 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5044 * gio/gcontenttype.c:
5045 Add some more guards for public functions.
5047 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5049 * gio/fam/fam-module.c:
5050 * gio/fam/gfamdirectorymonitor.c:
5051 * gio/fam/gfamdirectorymonitor.h:
5052 * gio/fam/gfamfilemonitor.c:
5053 * gio/fam/gfamfilemonitor.h:
5054 * gio/inotify/ginotifydirectorymonitor.c:
5055 * gio/inotify/ginotifydirectorymonitor.h:
5056 * gio/inotify/ginotifyfilemonitor.c:
5057 * gio/inotify/ginotifyfilemonitor.h:
5058 Add proper copyright information and remove an unused variable
5059 in the GInotifyFileMonitor constructor.
5061 * gio/gcancellable.c:
5062 Add a guard for a public function and an assertion to prevent
5063 an undefined program state.
5065 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5067 * gio/gfileattribute.c:
5068 Don't run into an assertion if the given attribute value is NULL
5069 in g_file_attribute_value_get_*() but instead return a fallback
5070 value that makes sense in most situations. Passing them a attribute
5071 value with the wrong type will still run into an assertion.
5073 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5075 * gio/gfileattribute.c:
5077 Add even more guards to the public functions. Also fix the refcounting
5078 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5079 let g_file_info_list_attributes() filter the attributes by namespace
5080 instead of simply ignoring the namespace parameter.
5082 2007-11-03 Sven Herzberg <sven@imendio.com>
5084 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5085 (This makes gio work on MacOS X again)
5087 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5090 Build the gio subdirectory before the docs. Otherwise the build will
5093 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5094 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5095 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5096 Add guards to the public functions.
5098 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5100 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5101 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5102 to prevent a compiler warning.
5104 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5105 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5106 return something in the non-void function find_topdir_for().
5108 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5115 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5117 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5118 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5119 * gwin32appinfo.c (g_win32_app_info_launch):
5120 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5121 envp_for_startup_id, g_desktop_app_info_launch,
5122 g_desktop_app_info_launch_uris):
5124 Give an opaque 'startup_id' string instead of 'envp'.
5125 Support empty file lists for launching new windows.
5126 Fix infinite recursion bug when launching URIs.
5128 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5131 Add guard to the new g_file_get_uri_scheme() function.
5133 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5136 Convert a g_return_val_if_fail() to setting the GError instead as
5137 otherwise applications have to verify the parameter before otherwise
5138 and the parameter might come directly from the user.
5140 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5142 * gio/inotify/ginotify*.[ch]:
5143 Add missing copyright information.
5145 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5148 Add guards in the beginning of public functions to check for valid
5149 parameters and fix a bug in copy_stream_with_progress() that could've
5150 caused writing less bytes than reading.
5151 * gio/glocalfileinfo.c:
5152 Check for a NULL parameter and set the GError accordingly then.
5153 * gio/goutputstream.c:
5154 Fix the same bug as in gfile.c that could've caused writing less bytes
5155 than reading in g_output_stream_real_splice().
5157 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5160 Use the correct gvolumeprivate.h naming
5162 2007-11-01 Christian Kellner <gicmo@gnome.org>
5165 Remove leftover "$(daemon_sources)" entry.
5167 2007-11-01 Christian Kellner <gicmo@gnome.org>
5172 Add copyright information to source files.
5174 2007-11-01 Alexander Larsson <alexl@redhat.com>
5178 Add g_file_get_uri_scheme
5180 2007-11-01 Alexander Larsson <alexl@redhat.com>
5183 * gio/gdesktopappinfo.c:
5184 * gio/gwin32appinfo.c:
5185 Add g_app_info_get_default_for_uri_scheme.
5187 2007-11-01 Alexander Larsson <alexl@redhat.com>
5190 Correct filename for gdriveprivate.h
5192 2007-10-31 Alexander Larsson <alexl@redhat.com>
5195 Rename id:value to id:file
5198 * gio/glocalfileinfo.c:
5201 2007-10-31 Alexander Larsson <alexl@redhat.com>
5203 * gio/gunixvolume.c:
5205 Remove g_volume_get_platform_id, as thats not
5206 needed with the simpler union volume monitor
5208 2007-10-31 Alexander Larsson <alexl@redhat.com>
5211 * gio/guniondrive.[ch]: Removed.
5212 * gio/gunionvolume.[ch]: Removed.
5213 Remove GUnionDrive/Volume
5215 * gio/gunionvolumemonitor.c:
5216 Simplify union volume monitor, now we
5217 only have one native volume monitor and
5218 we use the actual volumes/drives from the
5219 child monitors instead of wrapping them
5221 * gio/gnativevolumemonitor.[ch]:
5222 Base class for native volume monitors.
5223 Includes priority and get_volume_for_mountpoint
5226 Add g_file_find_enclosing_volume
5229 Remove volume name fs attribute
5230 Add readonly fs attribute
5233 Implement readonly attribute
5234 remove volume name attribute
5235 Implement find_enclosing volume
5237 * gio/gunixmounts.c:
5238 Add a volume for "/".
5240 * gio/gunixvolume.[ch]:
5241 Set better name for /
5243 * gio/gunixvolumemonitor.[ch]:
5244 Derive from GNativeVolumeMonitor
5245 Implement get_volume_for_mountpoint
5248 GVolume typedef moved to gfile.h
5250 * gio/gvolumeprivate.h:
5251 Add g_volume_get_for_mount_path
5253 2007-10-31 Alexander Larsson <alexl@redhat.com>
5255 * gio/gunixmounts.[ch]:
5256 Add cache info to unix mount listers
5257 Make getmntent use threadsafe
5258 Add is_system_internal attribute for GUnixMount
5260 * gio/gunixvolume.c:
5261 (g_unix_volume_new):
5262 Use is_system_internal instead of own code
5264 * gio/glocaldirectorymonitor.c:
5265 * gio/gunixvolumemonitor.c:
5266 Update to new gunixmounts API
5271 2007-10-30 Alexander Larsson <alexl@redhat.com>
5274 Add volume name fsinfo attribute
5277 Read volume name info
5279 * gio/gunionvolumemonitor.c:
5280 Fix infinite loops when finalizing a union volume monitor
5282 2007-10-30 Alexander Larsson <alexl@redhat.com>
5284 * gio/goutputstream.[ch]:
5285 Add splice() with default implementation
5287 * gio/gsocketoutputstream.c:
5288 (g_socket_output_stream_write):
5289 Return error on cancellation correctly.
5291 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5293 * gio/glocalfile.c (g_local_file_trash):
5294 Do not leak a string.
5296 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5298 * gio/gfile.c (g_file_load_contents):
5299 Unref the stream after closing it.
5301 2007-10-25 Alexander Larsson <alexl@redhat.com>
5303 * gio/gioscheduler.h:
5306 2007-10-25 Alexander Larsson <alexl@redhat.com>
5310 Add g_file_has_uri_scheme and implement for local files
5312 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5314 * gio/gdesktopappinfo.c: do not leak a string.
5316 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5318 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5319 (g_local_directory_monitor_new):
5320 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5321 (g_local_file_monitor_new):
5322 Only look for the monitor type that should be used the first time
5323 and use g_qsort_with_data() instead of our own bubble sort
5326 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5329 * gio/fam/Makefile.am:
5330 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5331 * gio/fam/fam-helper.h:
5332 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5333 * gio/fam/gfamdirectorymonitor.c:
5334 * gio/fam/gfamdirectorymonitor.h:
5335 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5336 * gio/fam/gfamfilemonitor.h:
5337 * gio/glocaldirectorymonitor.c:
5338 * gio/glocaldirectorymonitor.h:
5339 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5340 * gio/glocalfilemonitor.h:
5341 * gio/inotify/Makefile.am:
5342 * gio/inotify/ginotifydirectorymonitor.c:
5343 * gio/inotify/ginotifydirectorymonitor.h:
5344 * gio/inotify/ginotifyfilemonitor.c:
5345 * gio/inotify/ginotifyfilemonitor.h:
5346 Implement the FAM and Inotify monitors as
5347 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5348 their own GIO module. GLocal(Directory|File)Monitor will use the
5349 monitor with the highest rank that is supported on that machine.
5351 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5354 Change GIO module dir to $(libdir)/gio/modules and change
5355 the log domain from GVFS to GIO. Also only export symbols starting
5356 with g_ in the resulting library.
5357 * gio/test-streams.c: (main):
5358 Set log handler for the GIO log domain.
5360 2007-10-22 Alexander Larsson <alexl@redhat.com>
5362 * gio/gfilenamecompleter.[ch]:
5363 Add g_filename_completer_set_dirs_only
5365 2007-10-22 Alexander Larsson <alexl@redhat.com>
5368 * gio/gurifuncs.[ch]:
5369 Add some simple URI helpers
5371 * gio/gfilenamecompleter.[ch]:
5372 Added object for filename (parse name actually) completion
5375 Handle ~ in parse names
5377 2007-10-17 Alexander Larsson <alexl@redhat.com>
5380 * gio/glocalfileinfo.c:
5381 Add and implement id:value attribute
5383 2007-10-17 Alexander Larsson <alexl@redhat.com>
5386 * gio/guniondrive.c:
5388 Add and implement g_drive_has_volumes
5390 2007-10-17 Alexander Larsson <alexl@redhat.com>
5393 * gio/glocalfileinfo.[ch]:
5394 Add unix:is_mountpoint and implement for local files
5396 2007-10-16 Alexander Larsson <alexl@redhat.com>
5398 * gio/gunionvolumemonitor.c:
5399 (g_union_volume_monitor_init):
5400 Fix up the unix type getting so that it works with gcc
5402 2007-10-12 Alexander Larsson <alexl@redhat.com>
5405 * gio/glocalfileinfo.c:
5406 Add thumbnail:failed to file info
5408 2007-10-12 Richard Hult <richard@imendio.com>
5410 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5411 optimizing away the get_type call (happens with some gcc versions,
5412 like the one shipped with OS X 10.4).
5414 2007-10-12 Alexander Larsson <alexl@redhat.com>
5416 * gio/glocalfileinfo.c:
5417 (_g_local_file_info_set_attribute):
5418 Fix build if not HAVE_XATTR
5419 Patch from Milosz Derezynski <internalerror@gmail.com>
5421 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5423 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5424 around for review, otherwise I would have asked you before
5427 2007-10-11 Alexander Larsson <alexl@redhat.com>
5430 Add thumbnail:path attribute
5432 * gio/glocalfileinfo.c:
5433 Implement thumbnail:path for local files
5435 2007-10-11 Alexander Larsson <alexl@redhat.com>
5437 * gio/glocalfileinfo.c:
5438 (_g_local_file_info_get):
5439 Avoid duplicate icon names
5441 2007-10-11 Alexander Larsson <alexl@redhat.com>
5443 * gio/gthemedicon.[ch]:
5444 Change g_themed_icon_get_names return type to const
5446 2007-10-10 Alexander Larsson <alexl@redhat.com>
5448 * gio/glocalfileinfo.c:
5449 Don't reference freed memory
5451 2007-10-10 Alexander Larsson <alexl@redhat.com>
5453 * gio/gfileattribute.c:
5456 * gio/glocalfileinfo.c:
5459 2007-10-10 Alexander Larsson <alexl@redhat.com>
5462 Check for NULL icons
5464 * gio/gfileattribute.c:
5465 Don't dup when getting objects (same as for string attributes)
5467 * gio/gicon.c (g_icon_equal):
5468 Safely handle NULLs in equal
5470 2007-10-10 Alexander Larsson <alexl@redhat.com>
5473 Fix c++ compilation issues
5474 Patch from Milosz Derezynski <internalerror@gmail.com>
5476 2007-10-10 Alexander Larsson <alexl@redhat.com>
5478 * programs/gio-monitor-dir.c:
5479 Don't crash if dir monitor not supported.
5481 2007-10-09 Alexander Larsson <alexl@redhat.com>
5484 Add missing G_END_DECLS
5486 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5488 * gio/gfile.c: (g_file_set_display_name),
5489 (g_file_query_settable_attributes),
5490 (g_file_query_writable_namespaces):
5491 Return NULL not FALSE on errors as the return type is a pointer.
5493 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5495 * gio/glocalfile.c: (g_local_file_monitor_file):
5496 Don't call monitor_file on the default interface vtable (which
5497 is NULL) but simply return NULL. The caller, GFile, will create a
5498 polling monitor if NULL is returned.
5500 2007-10-09 Alexander Larsson <alexl@redhat.com>
5504 * gio-unix-2.0.pc.in:
5505 Add gio-unix-2.0.pc if OS_UNIX
5508 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5510 2007-10-09 Alexander Larsson <alexl@redhat.com>
5512 * gio/gunixmounts.[ch]:
5513 Make unix mount monitoring API sane.
5514 Now its just a object with mounts_changed
5515 and mountpoints_changed signals.
5517 * gio/glocaldirectorymonitor.c:
5518 * gio/gunixvolumemonitor.c:
5519 Use new mount monitor api
5521 2007-10-09 Alexander Larsson <alexl@redhat.com>
5523 * gio/gunixmounts.[ch]:
5524 Move guess type into one call for mounts and one for mountpoints
5527 * gio/gunixvolume.c:
5530 2007-10-09 Alexander Larsson <alexl@redhat.com>
5532 * gio/gunixmounts.[ch]:
5533 Remove _ prefix in preparation to make this semi-public
5534 Hide implementation of structs
5536 * gio/glocaldirectorymonitor.c:
5538 * gio/gunixvolume.c:
5539 * gio/gunixvolumemonitor.c:
5540 Update for above API changes
5542 2007-10-08 Alexander Larsson <alexl@redhat.com>
5545 Better polling fallback. This also handles the case where we have
5546 a monitor_file implementation, but it fails.
5548 2007-10-08 Alexander Larsson <alexl@redhat.com>
5552 * gio/gunixmounts.c:
5553 * programs/gio-monitor-dir.c:
5554 * programs/gio-monitor-file.c:
5555 Added cancellable to file monitoring calls.
5556 These are really sync calls and need this.
5558 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5560 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5561 (g_local_vfs_class_init):
5562 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5563 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5565 2007-10-05 Alexander Larsson <alexl@redhat.com>
5567 * gio/gdirectorymonitorprivate.h:
5568 * gio/gfilemonitorprivate.h:
5569 * gio/gdirectorymonitor.h:
5570 * gio/gfilemonitor.h:
5571 Remove *private.h and move to the public API, so that
5572 we can do implementations outside gio (such as in gvfs)
5574 * gio/gdirectorymonitor.c:
5575 * gio/gfilemonitor.c:
5576 * gio/glocaldirectorymonitor.c:
5577 * gio/gpollfilemonitor.c:
5578 * gio/inotify/inotify-helper.c:
5579 * gio/fam/fam-helper.c:
5580 Update to the new header names
5582 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5584 * gio/gdirectorymonitor.c:
5585 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5588 2007-10-04 Alexander Larsson <alexl@redhat.com>
5590 * gio/glocalfileinfo.c (get_access_rights):
5591 Set CAN_TRASH when we can move the file.
5592 We should really also check for a parent trash dir.
5594 2007-10-04 Alexander Larsson <alexl@redhat.com>
5596 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5597 Add can_trash access attribute
5599 2007-10-04 Alexander Larsson <alexl@redhat.com>
5602 (g_local_file_trash):
5603 Create info file first. This is per-spec and allows
5604 us to actually trash directories.
5606 2007-10-02 Alexander Larsson <alexl@redhat.com>
5608 * gio/gdesktopappinfo.c:
5609 Implement the new mime support code.
5610 Always set app as handling mimetype when being set as default for it
5612 2007-10-01 Alexander Larsson <alexl@redhat.com>
5614 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5615 Fix up check for xattrs:
5617 2007-10-01 Alexander Larsson <alexl@redhat.com>
5620 (g_app_info_set_as_default_for_extension):
5621 (g_app_info_add_supports_type):
5622 (g_app_info_can_remove_supports_type):
5623 (g_app_info_remove_supports_type):
5624 Make these fail nicely if not implemented
5626 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5628 * gio/glocalfileoutputstream.c:
5629 * gio/glocalfileoutputstream.h:
5634 * programs/gio-save.c:
5635 Add a GFileCreateFlags argument to operations that can create
5638 2007-10-01 Alexander Larsson <alexl@redhat.com>
5640 * gio/gappinfo.[ch]:
5641 * gio/gdesktopappinfo.c:
5642 Add more (stubbed out) mime API needed for nautilus
5644 2007-10-01 Alexander Larsson <alexl@redhat.com>
5647 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5648 Add g_app_info_set_as_default_for_extension.
5650 * gio/gdesktopappinfo.c:
5651 Dummy for g_app_info_set_as_default_for_extension
5652 Support flags in g_app_info_create_from_commandline
5654 * gio/gwin32appinfo.c:
5656 Update for API changes
5658 * gio/gthemedicon.c:
5659 Properly NULL-terminate list of icon names
5661 2007-09-28 Alexander Larsson <alexl@redhat.com>
5663 * gio/gloadableicon.h:
5664 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5666 2007-09-28 Alexander Larsson <alexl@redhat.com>
5669 Install headers in $includedir/gio-standalone/
5671 * gio-2.0.pc.in: Added.
5672 * gio-standalone.pc.in: Removed.
5675 Renamed pkg-config file to match glib (for future move)
5676 Update to the new include dir
5679 Add more TODO comments
5681 2007-09-28 Alexander Larsson <alexl@redhat.com>
5683 * gio/gdesktopappinfo.[ch]:
5684 Expose new_from_filename
5685 Add getter for is_hidden and handle it better
5687 2007-09-28 Alexander Larsson <alexl@redhat.com>
5689 * gio/gfileinfo.[ch]:
5690 Rename g_file_size_format_for_display to
5691 g_format_file_size_for_display.
5692 Now it doesn't have the g_file prefix, so we
5693 can later move it to glib.
5695 2007-09-28 Alexander Larsson <alexl@redhat.com>
5697 * gio/gappinfo.[ch]:
5698 Add g_app_info_get_id and g_app_info_get_executable.
5699 Make all getters non-reffing
5700 Make g_app_info_launch take GFile arguments.
5701 Add must_support_uris argument to g_app_info_get_default_for_type.
5703 * gio/gwin32appinfo.c:
5704 Update to GAppInfo api changes
5706 * gio/gdesktopappinfo.c:
5707 Update to GAppInfo api changes
5708 Implement supports_xdg_startup_notify
5710 * gio/gfileicon.c (g_file_icon_get_file):
5711 Make getter non-reffing.
5716 2007-09-27 Alexander Larsson <alexl@redhat.com>
5718 * gio/gfileinfo.[ch]:
5719 Add g_file_size_format_for_display helper
5721 2007-09-27 Alexander Larsson <alexl@redhat.com>
5723 * gio/glocalfileinfo.c:
5724 Set UNIX_GID from gid, not from uid
5726 2007-09-27 Alexander Larsson <alexl@redhat.com>
5729 Add g_file_set_attributes_async
5731 2007-09-27 Alexander Larsson <alexl@redhat.com>
5733 * gio/glocalfile.c (g_local_file_set_display_name):
5734 Fix set_display_name to actually rename to the right place.
5735 Use lstat to look for existing files so we don't overwrite
5738 2007-09-26 Alexander Larsson <alexl@redhat.com>
5741 Add g_file_set_display_name_async()
5743 2007-09-26 Alexander Larsson <alexl@redhat.com>
5746 Add load_partial_contents async calls
5749 Make internal function static
5751 2007-09-26 Alexander Larsson <alexl@redhat.com>
5753 * gio/glocalfileinfo.c:
5754 Correctly detect broken symlinks
5756 2007-09-26 Alexander Larsson <alexl@redhat.com>
5758 * gio/gcancellable.c (g_cancellable_cancel):
5759 Allow cancel on NULL cancellable
5761 2007-09-25 Alexander Larsson <alexl@redhat.com>
5763 * gio/gsimpleasyncresult.c:
5764 Don't allocate g_error manually.
5765 Fixes g_slice/g_new mixup crash
5767 2007-09-25 Alexander Larsson <alexl@redhat.com>
5769 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5770 Actually set active_backend.
5771 This means the monitor will be cancelled correctly.
5773 2007-09-25 Alexander Larsson <alexl@redhat.com>
5775 * gio/gdirectorymonitor.c:
5776 Set timeout to NULL when destroying
5778 2007-09-25 Alexander Larsson <alexl@redhat.com>
5781 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5782 that is a better description of the error.
5784 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5786 * gio/gvfs.c: (g_vfs_get_local):
5787 Make the local vfs variable static. The same instance should
5790 2007-09-24 Alexander Larsson <alexl@redhat.com>
5792 * gio/glocalfileinfo.c:
5793 Pass in actual length read into sniffer, not the length
5796 2007-09-21 Alexander Larsson <alexl@redhat.com>
5798 * gio/gfileenumerator.c:
5801 * gio/gfileinputstream.c:
5802 * gio/gfileoutputstream.c:
5803 * gio/ginputstream.c:
5804 * gio/goutputstream.c:
5805 Don't crash if async callbacks are NULL
5807 2007-09-20 Alexander Larsson <alexl@redhat.com>
5810 Add async enumerate_children method and default
5813 2007-09-20 Alexander Larsson <alexl@redhat.com>
5816 Add g_file_contains_file & g_file_get_relative_path, since they
5817 were needed for nautilus.
5818 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5823 Implement new methods
5825 2007-09-17 Alexander Larsson <alexl@redhat.com>
5828 * gio/gfileinputstream.[ch]:
5829 * gio/gfileoutputstream.[ch]:
5831 * gio/glocalfileenumerator.[ch]:
5832 * gio/glocalfileinfo.[ch]:
5833 * gio/glocalfileinputstream.c:
5834 * gio/glocalfileoutputstream.c:
5835 * gio/gpollfilemonitor.c:
5836 * programs/gio-copy.c:
5837 * programs/gio-info.c:
5838 * programs/gio-move.c:
5839 Rename get_file_info to query_info() to make it clearer
5840 that these are not simple getters, but do i/o.
5842 2007-09-17 Alexander Larsson <alexl@redhat.com>
5844 * gio/gdatainputstream.[ch]:
5845 * gio/test-streams.c:
5846 Use _read_XXX instead of _get_XXX for the i/o calls
5849 2007-09-17 Alexander Larsson <alexl@redhat.com>
5852 Added needed stuff to TODO comment
5854 2007-09-17 Alexander Larsson <alexl@redhat.com>
5856 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5857 Don't error out removing the backup copy if it doesn't
5860 2007-09-14 Alexander Larsson <alexl@redhat.com>
5862 * programs/Makefile.am:
5863 * programs/gvfs-*.c:
5865 Renamed apps from gvfs-xxx to gio-xxx.
5867 2007-09-14 Alexander Larsson <alexl@redhat.com>
5870 * gio/gfileoutputstream.[ch]:
5871 * gio/glocalfileoutputstream.c:
5872 * programs/gvfs-save.c:
5873 g_file_output_stream_get_etag doesn't do i/o, so remove
5874 cancellation and error.
5876 2007-09-14 Alexander Larsson <alexl@redhat.com>
5879 Add new_etag output to replace_contents functions
5881 2007-09-14 Alexander Larsson <alexl@redhat.com>
5883 * gio/gfileoutputstream.[ch]:
5884 Add async get_file_info and default implementation
5886 2007-09-14 Alexander Larsson <alexl@redhat.com>
5888 * gio/gfileinputstream.c:
5889 Implement fallback wrapper for async get_file_info
5891 2007-09-14 Alexander Larsson <alexl@redhat.com>
5894 Add etag out argument to load_contents
5899 2007-09-14 Alexander Larsson <alexl@redhat.com>
5901 * gio/gcontenttype.c (looks_like_text):
5902 Whitespace like tab, cr and lf do not make the
5905 2007-09-14 Alexander Larsson <alexl@redhat.com>
5907 * gio/gfileinputstream.[ch]:
5908 Add async get_file_info.
5910 2007-09-13 Alexander Larsson <alexl@redhat.com>
5912 * gio/goutputstream.c (g_output_stream_write_all):
5913 Allow NULL for bytes_written
5915 2007-09-13 Alexander Larsson <alexl@redhat.com>
5917 * gio/gmemoryinputstream.[ch]:
5918 Add accessors for data
5920 2007-09-13 Alexander Larsson <alexl@redhat.com>
5922 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5923 Don't crash if length is NULL