1 === ChangeLog discontinued ===
3 With the move to git, GLib is switching from a ChangeLog file
4 to relying on commit messages to provide change history. Please
5 see README.commits for guidance on the expected message format.
7 2009-03-26 Carlos Garnacho <carlosg@gnome.org>
9 Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
11 * gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb)
12 (eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before
13 actually trying to unmount.
15 2009-03-17 Colin Walters <walters@redhat.com>
17 Bug 575708 - runaway inotify madness ...
19 * gfilemonitor.c: Queue up events in a local list and
20 fire one idle, instead of queuing lots of individual
21 idles which has bad performance behavior.
23 2009-03-17 Alexander Larsson <alexl@redhat.com>
25 * glocalfileinputstream.c:
26 * glocalfileoutputstream.c:
27 fix attributes argument of query_info methods to
30 2009-03-16 Alexander Larsson <alexl@redhat.com>
32 Bug 575555 – Use fsync() when replacing files to avoid data loss on crash
34 * glocalfileoutputstream.c:
35 (g_local_file_output_stream_close):
36 (_g_local_file_output_stream_replace):
37 fsync temp file before closing if replacing target file
39 2009-03-13 Matthias Clasen <mclasen@redhat.com>
41 * === Released 2.20.0 ===
43 2009-03-04 Alexander Larsson <alexl@redhat.com>
45 Bug 573843 – g_get_current_dir returns non-absolute path
47 * glocalfile.c (canonicalize_filename):
48 Handle the case where g_get_current_dir() returns a non-absolute path.
50 2009-03-04 Alexander Larsson <alexl@redhat.com>
52 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
54 * gunionvolumemonitor.c:
55 (g_union_volume_monitor_dispose):
56 Run dispose on child monitors when disposing.
58 * gunixvolumemonitor.c:
59 Remove all volumes and mount on dispose to avoid circular
60 dependencies not freeing the monitor
62 2009-03-03 Alexander Larsson <alexl@redhat.com>
64 Bug 561172 – gnome-open fails on local URIs with anchors
67 Don't force uris to filenames if the uri has an anchor, because
68 that would strip the anchor.
71 Strip anchor from file:// uris when creating GFile, since
72 g_filename_from_uri doesn't handle them.
74 2009-03-03 Alexander Larsson <alexl@redhat.com>
76 Bug 562613 – Missing const modifier in string parameters
78 * gfileinputstream.[ch]:
79 * gfileoutputstream.[ch]:
80 * glocalfileinfo.[ch]:
81 Make string arguments const if used as such.
83 2009-03-03 Alexander Larsson <alexl@redhat.com>
85 * glocalfile.c (g_local_file_query_filesystem_info):
86 Handle filesystems no supporting reporting how much is free.
87 This fixes bug 573454 where the filesystem not supporting this
88 is the gvfs smb backend over the fuse filesystem.
90 2009-03-02 Matthias Clasen <mclasen@redhat.com>
92 * === Released 2.19.10 ===
94 2009-03-02 Matthias Clasen <mclasen@redhat.com>
96 * === Released 2.19.9 ===
98 2009-03-02 Matthias Clasen <mclasen@redhat.com>
100 * gioenums.h: Add a Since: tag
102 2009-03-01 Matthias Clasen <mclasen@redhat.com>
104 Bug 573658 – Deadlock in giomodule.c
106 * giomodule.c: Use a separate lock for extension point registration
107 to avoid deadlock. Discovered by Torsten Schoenfeld
109 2009-03-01 Matthias Clasen <mclasen@redhat.com>
111 * gdatainputstream.c: Fix docs
113 2009-02-27 Matthias Clasen <mclasen@redhat.com>
115 Bug 573421 – Clarify message format in GMountOperation
117 * gmountoperation.c: Document that the first line of a
118 multi-line message should be interpreted as a heading.
120 2009-02-27 David Zeuthen <davidz@redhat.com>
122 Bug 573462 – GEmblemedIcon leak
124 * gemblemedicon.c (g_emblemed_icon_finalize):
125 Avoid leaking a GList.
127 2009-02-27 Alexander Larsson <alexl@redhat.com>
131 Split out the extension point registration code to its
135 Ensure extension points are registered before extending it.
136 It might not have happened yet if g_vfs_get_local() is called.
138 2009-02-26 Alexander Larsson <alexl@redhat.com>
140 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
141 * gmemoryoutputstream.c:
142 Track actual valid size, even if we later seek back.
144 * tests/memory-output-stream.c:
147 2009-02-26 Alexander Larsson <alexl@redhat.com>
149 Bug 543183 – Clarify docs for g_file_has_prefix
151 * gfile.c: (g_file_has_prefix):
152 Clarify how the prefix matching works.
154 2009-02-26 Alexander Larsson <alexl@redhat.com>
157 Support desktop file key X-GIO-NoFuse which disables
158 use of fuse pathnames for %u and %U arguments.
160 2009-02-25 Alexander Larsson <alexl@redhat.com>
162 Bug 570073 – Add support for reading filesystems on Interix
164 * gunixmounts.c (_g_get_unix_mounts):
165 Support Interix. Patch from Fabian Groffen
167 2009-02-25 Paolo Borelli <pborelli@katamail.com>
169 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
171 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
173 2009-02-23 Alexander Larsson <alexl@redhat.com>
176 Remove accidentally commited spew
178 2009-02-20 Alexander Larsson <alexl@redhat.com>
181 (g_content_type_guess):
182 Don't ever sniff desktop files when the filename is known.
183 In other words, only allow desktop files with the .desktop extension
184 and when the filename isn't known.
185 This is a security precaution since desktop files can execute
186 arbitrary code when launched and we don't want to allow them to
187 try and hide as another type. There is no legit reason to not
188 have the .desktop extension anyway.
190 2009-02-19 Alexander Larsson <alexl@redhat.com>
192 Bug 549298 – impossible to copy files with p (pipe) flag
195 (file_copy_fallback):
196 Error out if the source file is a special file
198 2009-02-18 Alexander Larsson <alexl@redhat.com>
200 Bug 560564 – Replacing a symlink with its linked file truncates the original file
203 Add G_FILE_CREATE_REPLACE_DESTINATION
205 * glocalfileoutputstream.c:
206 (handle_overwrite_open):
207 (_g_local_file_output_stream_replace):
208 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
211 (file_copy_fallback):
212 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
215 2009-02-17 Ryan Lortie <desrt@desrt.ca>
217 * gfileinfo.c: unref the destination's attribute matcher before
220 2009-02-17 Matthias Clasen <mclasen@redhat.com>
222 * === Released 2.19.8 ===
224 2009-02-17 Matthias Clasen <mclasen@redhat.com>
226 * gio.symbols: Add missing exports for new API
228 * gdatainputstream.c: Add missing Since: tags.
230 2009-02-16 Matthias Clasen <mclasen@redhat.com>
232 * === Released 2.19.7 ===
234 2009-02-16 Matthias Clasen <mclasen@redhat.com>
236 * gmountoperation.[hc]: Add an "aborted" signal to abort a
237 mount operation from the backend side.
239 * gvolume.h: Add docs regarding the "aborted" signal.
241 2009-02-16 Ryan Lortie <desrt@desrt.ca>
243 Bug 505042 – add file attribute for actually used file size in bytes
245 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
246 "standard::allocated-size"
247 * gfileattribute.c: document
248 * glocalfileinfo.c: set the allocated size from st_blocks * 512
250 2009-02-16 Ryan Lortie <desrt@desrt.ca>
252 Bug 571598 – GAsyncResult with NULL gobject
254 * gsimpleasyncresult.c: remove various assertions and add some checks
255 to allow for a NULL source_object in GSimpleAsyncResult.
257 2009-02-11 Matthias Clasen <mclasen@redhat.com>
259 Bug 541225 – Can't compile gio on AIX : duplicate case value in
262 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
263 Reported by Nicolas Joseph
265 2009-02-04 Alexander Larsson <alexl@redhat.com>
267 Bug 566747 - URIs opened with firefox %u load as local files
269 * gdummyfile.c (g_dummy_file_get_path):
270 Dummy files are never used for local paths, so always return NULL
273 2009-02-02 Matthias Clasen <mclasen@redhat.com>
275 * === Released 2.19.6 ===
277 2009-01-31 Paolo Borelli <pborelli@katamail.com>
279 * glocalfileinfo.c: plug a tiny mem leak.
281 2009-01-29 Ryan Lortie <desrt@desrt.ca>
283 * gioerror.c (g_io_error_from_errno): handle all possible cases of
284 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
286 2009-01-28 Ryan Lortie <desrt@desrt.ca>
288 Bug 568575 – _async functions for GDataInputStream
290 * gdatainputstream.h:
291 * gdatainputstream.c: add _async versions of read_line and read_until.
293 * ../docs/reference/gio/gio-sections.txt: add new functions
294 * tests/sleepy-stream.c: new test case for async read line
295 * tests/Makefile.am: add new test
297 2009-01-22 Ryan Lortie <desrt@desrt.ca>
299 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
301 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
302 g_buffered_input_stream_fill): check for count < -1 instead of count <
303 0 and copy modified check to non-async version for consistency.
304 document the "count = -1" API.
306 2009-01-22 Ryan Lortie <desrt@desrt.ca>
308 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
310 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
311 after we have successfully read data from the base stream
313 2009-01-20 Ryan Lortie <desrt@desrt.ca>
315 Bug 568394 – dropping the last reference to a stream filter closes the
318 * gfilterinputstream.h:
319 * gfilterinputstream.c: add "close-base-stream" property and only
320 close the base stream if it is true. issue async close callbacks from
321 correct source object.
322 * gfilteroutputstream.h:
323 * gfilteroutputstream.c: add a "close-base-stream" property and only
324 close the base stream if it is true. issue async close callbacks from
325 correct source object.
326 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
327 before closing the base stream. fix invalid source tag comparison in
328 close_async (was comparing to flush_async).
329 * ../docs/reference/gio/gio-sections.txt:
331 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
332 * tests/filter-streams.c: new test cases
333 * tests/Makefile.am: add new test
334 * tests/.gitignore: add new test
336 2009-01-19 Matthias Clasen <mclasen@redhat.com>
338 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
340 2009-01-19 Matthias Clasen <mclasen@redhat.com>
342 * === Released 2.19.5 ===
344 2009-01-19 Matthias Clasen <mclasen@redhat.com>
346 * gappinfo.h: Document get_commandline vfunc
348 2009-01-19 Matthias Clasen <mclasen@redhat.com>
350 * gunixmounts.c: Some stylistic fixes.
352 2009-01-08 Matthias Clasen <mclasen@redhat.com>
354 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
355 functions in non-UTF8 locale
357 * xdgmime/xdgmimecache.c:
358 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
360 2009-01-08 Matthias Clasen <mclasen@redhat.com>
362 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
364 2009-01-07 Matthias Clasen <mclasen@redhat.com>
366 Bug 566770 – error code 0 for Too many open files is useless
368 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
369 Requested by Olivier Sessink.
371 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
373 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
374 G_IO_ERROR_TOO_MANY_OPEN_FILES.
376 2009-01-05 Matthias Clasen <mclasen@redhat.com>
378 * === Released 2.19.4 ===
380 2009-01-05 Dan Winship <danw@gnome.org>
382 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
383 "const char **" to avoid a warning.
385 * gemblem.c (g_emblem_from_tokens):
386 * gemblemedicon.c (g_emblemed_icon_from_tokens):
387 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
390 2009-01-05 Matthias Clasen <mclasen@redhat.com>
392 Bug 566064 – Add NOATIME flag to query_info_flags
394 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
395 sniffing for mime types. Based on a patch by A. Walton
397 2009-01-05 Ryan Lortie <desrt@desrt.ca>
399 * tests/.gitignore: improve
400 * tests/Makefile.am: add new simple-async-result test
401 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
403 2009-01-05 Ryan Lortie <desrt@desrt.ca>
406 * ../docs/reference/gio/gio-sections.txt:
407 * gsimpleasyncresult.h:
408 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
409 Implementation by Dan Winship. Closes #566170.
411 2008-12-31 Matthias Clasen <mclasen@redhat.com>
415 * gunixinputstream.c:
416 * gunixoutputstream.c: Add a note about being UNIX-specific.
418 2008-12-15 Matthias Clasen <mclasen@redhat.com>
420 * === Released 2.19.3 ===
422 2008-12-12 Dan Winship <danw@gnome.org>
424 * pltcheck.sh: make this work on x86_64
426 2008-12-12 Ryan Lortie <desrt@desrt.ca>
428 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
431 2008-12-12 Ryan Lortie <desrt@desrt.ca>
433 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
434 multiple mount entries match the requested path
436 2008-12-10 Alexander Larsson <alexl@redhat.com>
438 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
439 g_simple_async_result_run_in_thread
441 * gsimpleasyncresult.c:
442 Make g_simple_async_result_run_in_thread check cancellation before
443 calling out to the user in the callback. This means we guarantee
444 reporting cancels of async operations from the main threads, which
445 is probably more in line with what users expect.
447 Note that there are still no such guarantees for cancelling sync
448 operations or cancelling async operation from outside the main
449 thread. Furthermore, the exact behaviour of async implementations
450 not using run_in_thread may differ.
452 2008-12-09 Alexander Larsson <alexl@redhat.com>
454 Bug 515777 - incorrect date&time on copy
457 (g_local_file_class_init):
458 Copy mtime by default
461 Change docs about G_FILE_COPY_ALL_METADATA to not mention
464 2008-12-08 Matthias Clasen <mclasen@redhat.com>
466 Bug 558298 – Hide ecryptfs mounts
468 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
469 so that the desktop does not show both the mount and the target
470 directory. Patch by Martin Pitt
472 2008-12-08 Matthias Clasen <mclasen@redhat.com>
474 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
478 * gunixinputstream.[hc]:
479 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
480 including getters and setters. Patch by Maciej Piechotka
482 2008-12-07 Matthias Clasen <mclasen@redhat.com>
484 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
486 * tests/live-g-file.c: Support compilers that don't understand
487 ISO C varargs macros. Patch by Eric Lamarque
489 2008-12-07 Matthias Clasen <mclasen@redhat.com>
491 Bug 526320 – should not list mounts that the user doesn't have
494 gunixmounts.c: Use g_access() to check accessibility of local devices.
497 2008-12-01 Matthias Clasen <mclasen@redhat.com>
499 * === Released 2.19.2 ===
501 2008-12-01 Matthias Clasen <mclasen@redhat.com>
503 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
504 behaviour change, and update the docs instead, to avoid breaking
507 2008-12-01 Matthias Clasen <mclasen@redhat.com>
509 * === Released 2.19.1 ===
511 2008-12-01 Alexander Larsson <alexl@redhat.com>
515 * gunionvolumemonitor.c:
517 Add and document g_mount_is_shadowed plus calls
518 to set/unset a mount as shadowed
520 2008-11-28 Matthias Clasen <mclasen@redhat.com>
522 * gio/tests/g-icon.c: Comment out two failing tests
524 2008-11-28 Matthias Clasen <mclasen@redhat.com>
526 Bug 555486 – No way to recover command line from GAppInfo
529 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
530 by Hans Petter Jansson.
532 * gdesktopappinfo.c: And implement it here.
534 2008-11-28 Christian Dywan <christian@imendio.com>
536 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
538 2008-11-28 Matthias Clasen <mclasen@redhat.com>
540 Bug 559633 – gtk_image_new_from_gicon does not always work for
543 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
544 extensions on icon names. Proposed by Axel von Bertoldi.
546 2008-11-28 Matthias Clasen <mclasen@redhat.com>
548 Bug 548163 – Nautilus displays wrong error message for too long file
551 * glocalfile.c (g_local_file_set_display_name): Correctly set
552 error conditions if the new name is e.g. too long. Reported
553 by Leonardo Ferreira Fontenelle.
555 2008-11-28 Matthias Clasen <mclasen@redhat.com>
557 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
560 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
561 documented and include the line end in the returned string.
562 Pointed out by Paul Pogonyshev.
564 * tests/data-input-stream.c: Fix the read_line test to test the
565 documented behaviour.
567 2008-11-28 Matthias Clasen <mclasen@redhat.com>
569 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
570 files that have been created by g_app_info_create_from_commandline.
572 2008-11-28 Matthias Clasen <mclasen@redhat.com>
574 Bug 541715 – win32 : patch for warnings and signature problems in
577 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
580 2008-11-28 Matthias Clasen <mclasen@redhat.com>
582 Bug 562393 – g_buffered_input_stream_read_byte broken if data
585 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
586 handling of buffered content. Patch by Philip Withnall
588 * tests/buffered-input-stream.c: Add a testcase for this bug.
589 * tests/Makefile.am: And build it
591 2008-11-28 Matthias Clasen <mclasen@redhat.com>
593 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
596 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
597 '/' away. Spotted by Dan Williams.
599 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
601 Bug 561375 – Leaks mountpoint description
603 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
606 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
608 Bug 561352 – Leak of icon description
610 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
613 2008-11-14 Matthias Clasen <mclasen@redhat.com>
615 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
617 2008-11-12 Tor Lillqvist <tml@novell.com>
619 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
621 * win32/gwinhttpvfs.h: Move the set of function pointers to
622 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
623 pointer to that in the GWinHttpVfsClass.
625 * win32/gwinhttpvfs.c: Move the lookup of functions from
626 winhttp.dll into a function of its own, that stores the pointers
627 in a separate GWinHttpDllFuncs variable. Add two bookeeping
628 booleans lookup_done and funcs_found.
630 Don't call g_io_extension_point_implement() to register the
631 winhttp extension unless winhttp.dll has been successfully loaded
632 and the required functions found in it.
634 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
635 winhttp.dll correspondingly.
637 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
639 reviewed by: Alexander Larsson <alexl@redhat.com>
641 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
642 clearer about the behavior when there's no more content to read.
644 2008-10-27 Federico Mena Quintero <federico@novell.com>
646 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
648 2008-10-27 Tor Lillqvist <tml@novell.com>
650 Bug 557592 - Missing include in gwinhttpfile.c
652 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
655 2008-10-24 Matthias Clasen <mclasen@redhat.com>
657 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
659 * fam/fam-helper.c: Fix a memory leak and formatting issues.
660 Reported by Daniel Marjamäki
662 2008-10-23 Matthias Clasen <mclasen@redhat.com>
664 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
666 2008-10-23 Alexander Larsson <alexl@redhat.com>
668 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
671 (_g_local_file_info_get):
672 Don't return the fallback icon (text-x-generic) for all files.
673 This is causing problems with theme icon lookup and custom mime
674 icons, as the generic fallback overrides custom mime icons in
677 This is a slight change as applications might not get an icon wher
678 they previously did. But there is no guarantee to get on neither before
679 or after this change, so it should not break applications. Changes
680 to nautilus and gtk+ will be done to manually use the generic fallback
681 icon if no icon is found, but this is only required for rare cases.
683 2008-10-21 Alexander Larsson <alexl@redhat.com>
686 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
688 2008-10-21 Alexander Larsson <alexl@redhat.com>
690 Bug 555740 - gicon serialization
691 Based on patch from David Zeuthen
695 Add g_icon_to_string() and g_icon_new_for_string().
701 Implement icon serialization for built-in icon types
705 Added GIcon serialization test
707 2008-10-16 Matthias Clasen <mclasen@redhat.com>
709 * === Released 2.19.0 ===
711 2008-10-16 Matthias Clasen <mclasen@redhat.com>
713 Bug 556422 – g_file_enumerator_next_file: unclear whether return
714 value needs to be freed
716 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
717 the return value docs. Pointed out by Armin Burgmeier
719 2008-10-14 Matthias Clasen <mclasen@redhat.com>
721 Bug 556334 – Warning when building without selinux support
723 * glocalfileinfo.c: Avoid compiler warnings when selinux is
724 disabled. Patch by Pascal Terjan
726 2008-10-14 Matthias Clasen <mclasen@redhat.com>
728 Bug 556335 – make check fails in abicheck.sh
730 * gio.symbols: Add g_file_attribute_info_list_get_type.
731 Pointed out by Pascal Terjan.
733 2008-10-13 Alexander Larsson <alexl@redhat.com>
736 When adding an application as handling a mime type (but
737 not as the default), copy the full list of desktop ids handling
738 that type in before adding the new one on the end of the list.
739 This means we're not accidentally changing the default by overriding
740 the info from the later directories in the search path.
742 Also, fixes small leak of removed_entries.
744 2008-10-12 David Zeuthen <davidz@redhat.com>
747 * gunionvolumemonitor.c:
749 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
751 2008-10-10 Alexander Larsson <alexl@redhat.com>
753 * gfileattribute.c (escape_byte_string):
754 Upper half of byte is >> 4, not >> 8.
755 Found by Kjartan Maraas via sparse
757 2008-10-10 Matthias Clasen <mclasen@redhat.com>
759 Bug 555711 – Wrong fallback order of mimetype icons
761 * gcontenttype.c: Don't prefer generic icons over
762 default mimetype icons.
764 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
765 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
767 Patch by Krysztof Kosiński
769 2008-10-10 Matthias Clasen <mclasen@redhat.com>
771 Bug 555121 – Improved build-time handling of gio module-dir
773 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
774 * Makefile.am: Create the module dir.
776 2008-10-10 Matthias Clasen <mclasen@redhat.com>
778 * gio/glocalfileinfo.c:
779 * gio/tests/live-g-file.c:
780 * gio/gsimpleasyncresult.c: Fix gcc warnings.
782 2008-10-09 Alexander Larsson <alexl@redhat.com>
784 * gunixinputstream.c (g_unix_input_stream_read):
785 Actually return -1 in case of cancelled, not old res value.
787 2008-10-06 Colin Walters <walters@verbum.org>
789 Bug 554745 - GFileAttributeInfoList should be boxed
791 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
792 for convenience of bindings.
793 * gio/gfileattribute.h: Prototype it.
795 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
797 Bug 554970 – segfault when update-desktop-database is not available
800 * gdesktopappinfo.c (run_update_command): Have the error set before
803 2008-10-01 David Zeuthen <davidz@redhat.com>
805 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
806 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
807 instead of the gio URI (such as sftp://foo/file.avi) when using
808 g_app_info_launch() and friends. With a sufficiently recent gvfs,
809 apps using gio+gvfs will map the FUSE file:// URI back to the gio
810 URI (and thus bypass the fuse daemon) thanks the patch from bug
811 #530654. Since Nautilus is an user of g_app_info_launch() it
812 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
813 when launced via the file manager. Win. Fixes bug #528670.
815 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
816 mapping to the description of GAppInfo.
818 2008-09-30 Tor Lillqvist <tml@novell.com>
820 * tests/Makefile.am: Build desktop-app-info only on Unix.
822 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
823 g_critical(). Pass a large enough result buffer to
824 GetVolumePathNameW(). Just use MAX_PATH.
826 2008-09-29 David Zeuthen <davidz@redhat.com>
828 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
830 2008-09-26 Dan Winship <danw@gnome.org>
832 * tests/data-input-stream.c:
833 * tests/data-output-stream.c:
834 * tests/live-g-file.c:
835 * tests/memory-input-stream.c:
836 * tests/memory-output-stream.c: Use g_assert_error() and
839 2008-09-26 Matthias Clasen <mclasen@redhat.com>
841 Bug 545350 – GAppInfo deletion
842 Bug 545351 – Reset associations for content type
845 * gappinfo.[hc]: New functions g_app_info_can_delete,
846 g_app_info_delete and g_app_info_reset_type_associations.
849 * gwin32appinfo.c: Implementations of these.
852 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
854 2008-09-26 Dan Winship <danw@gnome.org>
856 Bug 505361 – gunixinputstream.c assumes poll() available
857 Bug 509446 – portable blocking gio cancellation
859 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
860 GPollFD for a cancellable (which is slightly more complicated on
863 * gunixinputstream.c (g_unix_input_stream_read):
864 * gunixoutputstream.c (g_unix_output_stream_write): Use
865 g_cancellable_make_pollfd() and g_poll() rather than using poll()
868 * tests/unix-streams.c: test of GUnixInputStream,
869 GUnixOutputStream, and GCancellable.
871 2008-09-26 Dan Winship <danw@gnome.org>
873 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
874 cast to stop a gcc warning
876 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
879 2008-09-25 Dan Winship <danw@gnome.org>
881 Bug 553426 - cancellable clarifications
883 * gcancellable.c (g_cancellable_class_init): Add a note to the
884 "cancelled" signal docs warning about thread-safety issues
885 (g_cancellable_cancel): Note that cancelling an asynchronous
886 operation takes effect asynchronously, not immediately.
888 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
890 * gioenums.h: Add new GFileCopyFlag, to leave target file with
891 default perms, instead of setting the source file perms, in a copy
894 * gfile.c (g_file_copy_attributes)
895 (build_attribute_list_for_copy)
896 (should_copy): Not copy "unix::mode" attribute if we have received
897 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
899 2008-09-20 Matthias Clasen <mclasen@redhat.com>
901 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
903 2008-09-17 Matthias Clasen <mclasen@redhat.com>
905 * === Released 2.18.1 ===
907 2008-09-16 Michael Natterer <mitch@imendio.com>
909 * gcontenttype.c (g_content_type_guess): can't assign the return
910 value of g_strdupv() to an array. Fill the array manually with
911 const strings instead (it is never freed anyway). Fixes the
912 build. Also fixed indentation.
914 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
916 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
917 Fix trivial typo to unbreak the build (there was a colon
918 instead of a semicolon at the end of a statement).
920 2008-09-15 Matthias Clasen <mclasen@redhat.com>
922 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
925 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
928 2008-09-15 Matthias Clasen <mclasen@redhat.com>
930 Bug 551681 – g_content_type_guess() too naive with filenames
932 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
933 at the end of the filename, and declare it a directory.
934 Patch by Bastien Nocera
936 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
938 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
941 * gdesktopappinfo.c: add a note in the docs clarifying what the
942 "filename" parameter really is.
944 2008-09-12 Tor Lillqvist <tml@novell.com>
946 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
947 FormatMessage() etc here. Call g_win32_error_message() instead
948 which already does all that. Besides, the code was broken as it
949 called the default "A" version of FormatMessage() but still
950 thought it produced a wide string.
952 2008-09-12 Michael Natterer <mitch@imendio.com>
954 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
955 in the documentation.
957 2008-09-08 Christian Neumair <cneumair@gnome.org>
959 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
960 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
961 Use non-blocking pipe for mount helper I/O. Fixes #550647.
963 2008-09-06 Matthias Clasen <mclasen@redhat.com>
965 Bug 551149 – xdgmime mem leak
967 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
968 a memory leak. Patch by Christian Persch
970 2008-09-04 Tor Lillqvist <tml@novell.com>
972 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
975 2008-09-02 Matthias Clasen <mclasen@redhat.com>
977 * === Released 2.18.0 ===
979 2008-09-02 Michael Natterer <mitch@imendio.com>
981 * *.h: big header formatting cleanup: indentation, vtable
982 formatting, consistent spacing in (* vfunc), trailing whitespace
983 removal. Formatting should be pretty consistent in all GIO headers
986 2008-09-02 Matthias Clasen <mclasen@redhat.com>
988 * gmount.h: Document guess_content_type sync vfunc.
990 2008-09-02 Michael Natterer <mitch@imendio.com>
992 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
993 fix parent_class member to be GFilterOutputStreamClass (not
994 GOutputStreamClass). Drop three pointers of padding, which is
995 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
996 so the class struct size stays the same.
998 2008-09-02 Matthias Clasen <mclasen@redhat.com>
1000 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
1002 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
1003 nonexisting return values. Pointed out by Cosimo Cecchi.
1005 2008-08-23 Tor Lillqvist <tml@novell.com>
1007 Bug 548988 - g_file_replace fails on Windows when the target file
1010 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
1011 Windows, close the file before potentially renaming it (in case we
1012 have been writing to a file with a temporary name).
1014 (g_local_file_output_stream_close, handle_overwrite_open): Use
1015 GLocalFileStat instead of plain struct stat, for passing to
1016 _g_local_file_info_create_etag(). Thus also use _fstati64()
1017 instead of plain fstat() on Windows.
1019 2008-08-18 Matthias Clasen <mclasen@redhat.com>
1021 * === Released 2.17.7 ===
1023 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
1025 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
1028 2008-08-13 Tor Lillqvist <tml@novell.com>
1030 * win32/gwinhttpvfs.c
1031 * win32/gwinhttpvfs.h
1032 * win32/gwinhttpfile.c
1033 * win32/gwinhttpfileinputstream.c
1034 * win32/gwinhttpfileoutputstream.c: Refactor some common code
1035 snippets into helper functions. Check HTTP response status
1036 codes. Implement g_winhttp_file_query_info(), looking at
1037 Content-Length, Content-Type and Last-Modified.
1039 * win32/winhttp.h: Add some symbolic constants that are not
1040 publicly documented. Just a handful, so it should be OK to use
1041 information from the Windows SDK's headers.
1043 2008-08-13 Tor Lillqvist <tml@novell.com>
1045 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1048 * win32/gwin32directorymonitor.c
1049 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1051 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1054 * goutputstream.c: Add intro docs.
1056 2008-08-13 Tor Lillqvist <tml@novell.com>
1058 * win32/gwinhttpfileoutputstream.c
1059 (g_winhttp_file_output_stream_write): Don't write the
1060 Content-Length header ourselves, WinHttpSendRequest() takes care
1061 of that when the dwTotalLength parameter is non-zero. Increment
1062 offset by the number of actual bytes sent, although I wonder if
1063 such a scenario is possible where less than requested would be
1064 sent and accepted by the server without errors.
1066 2008-08-13 Tor Lillqvist <tml@novell.com>
1068 * win32/gwinhttpvfs.c
1069 * win32/gwinhttpvfs.h
1070 * win32/gwinhttpfile.c
1071 * win32/gwinhttpfile.h
1072 * win32/gwinhttpfileinputstream.c
1073 * win32/gwinhttpfileinputstream.h
1074 * win32/gwinhttpfileoutputstream.c
1075 * win32/gwinhttpfileoutputstream.h: New files implementing
1076 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1077 Windows. The implementation uses the WinHttp API. Both reading and
1078 writing are supported, i.e. GET and PUT requests. When writing,
1079 each write call is done using a separate PUT request with a
1080 Content-Range header. Requests for file URIs and plain pathnames
1081 are forwarded to GLocalVfs.
1083 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1084 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1085 requiring people to download the Windows SDK just for this one
1086 header is not reasonable.
1088 * win32/Makefile.am: Add above files.
1090 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1091 the plumbing for the above.
1093 2008-08-11 Sven Neumann <sven@gimp.org>
1095 * gfilenamecompleter.c
1096 * glocaldirectorymonitor.c
1098 * gunionvolumemonitor.c
1102 * gunixvolumemonitor.c
1105 * gwin32volumemonitor.c: use canonical signal names.
1107 2008-08-11 Tor Lillqvist <tml@novell.com>
1109 * Makefile.am: Put a list of the platform-dependent .la files in
1110 the subdirectories in the platform_deps Make variable, and make
1111 libgio-2.0.la depend on that, so that it gets relinked if one of
1112 the dependent libraries has changed.
1114 2008-08-11 Tor Lillqvist <tml@novell.com>
1116 * Makefile.am (platform_libadd): Remove -lwininet which had been
1117 added by mistake. We will probably eventually be using WinHTTP,
1118 not the older WinInet anyway. (Actually I am working on it.)
1120 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1122 Bug 547080 – g_file_copy leaks expected errors
1124 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1125 before trying the next fallback routine.
1127 2008-08-09 Loïc Minier <lool@dooz.org>
1129 Bug 535124 – umask 002 not being applied for new directories, new
1130 files get the correct umask
1132 * gfile.c (g_file_make_directory)
1133 (g_file_make_directory_with_parents): Document ownership and
1134 permissions of newly created directories as being the default
1135 ones of the process.
1137 2008-08-08 Loïc Minier <lool@dooz.org>
1139 Bug 535124 – umask 002 not being applied for new directories, new
1140 files get the correct umask
1142 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1145 2008-08-08 Tor Lillqvist <tml@novell.com>
1147 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1149 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1150 code that didn't actually do anything inside #if 0, and add a
1151 comment wondering what the code was supposed to do. This also gets
1152 rid of a leftover debugging printout.
1154 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1156 * gfileicon.c (g_file_icon_get_property)
1157 (g_file_icon_set_property): New functions.
1158 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1160 (g_file_icon_new): Use the property (bug #546132).
1162 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1164 * gthemedicon.c (g_themed_icon_get_property): Also handle
1165 `PROP_USE_DEFAULT_FALLBACKS'.
1166 (g_themed_icon_class_init): Make
1167 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1169 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1171 Bug 546371 – Improve docs re g_file_monitor
1173 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1175 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1177 * === Released 2.17.6 ===
1179 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1181 * === Released 2.17.5 ===
1183 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1185 Bug 546017 – Don't copy attributes when copying a symlink
1187 * gfile.c (g_file_copy_attributes): Specify
1188 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1189 g_file_set_attributes_from_info. Patch by Christian Kellner
1191 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1193 * gemblemedicon.[hc]:
1195 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1196 a bit more extensible. Work by Clemens Buss.
1198 * gioenums.h: Add GEmblemOrigin.
1201 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1203 Bug 546079 – leak in xdgmime
1205 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1207 2008-08-03 Tor Lillqvist <tml@novell.com>
1209 * win32/gwin32directorymonitor.h
1210 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1213 2008-08-03 Tor Lillqvist <tml@novell.com>
1215 * win32/gwin32directorymonitor.c
1216 (g_win32_directory_monitor_callback): Make prototype match
1217 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1218 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1221 (g_win32_directory_monitor_constructor):
1222 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1223 names in the GLib API on Windows, so convert to UTF-16 and open
1226 2008-08-03 Tor Lillqvist <tml@novell.com>
1228 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1229 user's folder under Windows
1231 * win32/gwin32directorymonitor.c
1232 (g_win32_directory_monitor_constructor): Ignore error from
1233 CreateFile() when opening directory. Instead of asserting, just
1234 store INVALID_HANDLE_VALUE then in
1235 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1236 ReadDirectoryChangesW().
1237 (g_win32_directory_monitor_cancel): Don't attempt to close
1238 directory handle if it is INVALID_HANDLE_VALUE.
1240 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1242 * gdesktopappinfo.c: Remove debug spew
1244 2008-08-01 Hans Breuer <hans@breuer.org>
1246 * makefile.msc : add gemblembedicon
1248 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1250 Bug 545457 – gdmsetup crashed with SIGSEGV in
1251 g_unix_mount_guess_should_display()
1253 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1254 crash if no mount is found.
1256 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1258 Bug 545203 – gfile.c: argument is different type.
1260 * gfile.c (open_read_async_thread): Pass a GError **
1261 to g_file_set_error_literal.
1262 Reported by Kazuki Iwamoto
1264 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1266 Bug 545157 – wrong/no list of "open with" applications for .cc and
1269 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1270 Collect all ancestors, not just direct parents. Pointed
1271 out by Bastien Nocera
1273 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1275 * Makefile.am: Install gemblemedicon.h
1277 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1279 * gemblemedicon.[hc]: Add a GIcon implementation that can
1280 add an emblem to another icon.
1287 * gfileicon.c: Small documentation additions.
1289 2008-07-28 Tor Lillqvist <tml@novell.com>
1291 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1294 2008-07-27 Tor Lillqvist <tml@novell.com>
1296 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1298 2008-07-24 David Zeuthen <davidz@redhat.com>
1302 Also export a g_mount_guess_content_type_sync() function.
1304 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1306 529694 – SELinux context setting support
1308 * gfileinfo.c: Support setting selinux attributes.
1309 Patch by Tomas Bzatek
1311 2008-07-22 Priit Laes <plaes@plaes.org>
1313 Bug 544140 - fam-helper 64-bit issue?
1315 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1317 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1319 * === Released 2.17.4 ===
1321 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1323 * gvolumemonitor.[hc]:
1324 * gmountoperation.c:
1328 * gmount.c: Documentation fixes
1330 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1332 543504 – crash in Epiphany Web Browser: Opening local file
1336 * gdesktopappinfo.c:
1343 * gvolume.c: Register types thread-safely.
1344 Patch by Christian Persch
1346 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1348 * gcontenttype.c: Remove debug spew
1350 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1352 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1355 * fen/fen-kernel.c: Remove a warning that was causing
1356 crashes. Reported by Lin Ma.
1358 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1360 Bug 543040 – async reading on dummy file will crash on
1363 * gfile.c (open_read_async_thread): Cope with read_fn being
1364 NULL. Reported by Lin Ma.
1366 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1369 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1371 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1374 * gdesktopappinfo.h:
1375 * giomodule.c: Rename a chapter id to avoid filename conflict.
1377 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1379 Bug 540616 – mem leak in filechooser button
1381 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1382 the mount entry. Reported by Chrisitan Persch
1384 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1386 * gfile.c: Small documentation fixes.
1388 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1390 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1392 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1397 * gmount.c: Documentation improvements.
1399 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1402 * gmount.[hc]: Add g_mount_guess_content_type().
1404 2008-07-06 David Zeuthen <davidz@redhat.com>
1407 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1408 is needed for easily handling adoption of foreign volumes by
1409 out-of-process volume monitors (#541793)
1411 2008-07-06 David Zeuthen <davidz@redhat.com>
1413 * gvolumemonitor.[ch]:
1414 * gunionvolumemonitor.c: Export the eject-button signal on the
1415 volume monitor class (#541794).
1417 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1419 * gappinfo.c: More doc tweaks
1421 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1423 * gappinfo.c: Clarify some docs
1425 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1427 * gdesktopappinfo.c: Fix a stupid mistake.
1429 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1431 * === Released 2.17.3 ===
1433 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1435 * gfilemonitor.c: Fix the build.
1437 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1439 Bug 536160 – Add g_file_monitor()
1442 * gfile.[hc]: Add g_file_monitor which can return either
1443 a file or a directory monitor. Proposed by Behdad Esfahbod
1445 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1447 536733 – gio build failure on Irix
1449 * glocalfile.c: Use a configure check for structfs.f_bavail.
1451 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1453 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1456 * gdesktopappinfo.[hc]: Add a function to create a
1457 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1459 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1461 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1463 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1465 * gunixmounts.c: Fix a doc typo.
1467 2008-07-01 Cody Russell <bratsche@gnome.org>
1469 * gio/gcontenttype.c:
1470 * gio/gwin32appinfo.c:
1471 * gio/gwin32volumemonitor.c:
1472 * gio/gwin32mount.c: Fixed some include problems.
1474 2008-07-01 Cody Russell <bratsche@gnome.org>
1478 Moved all relevant typedefs into these files.
1481 Updated wrt added files.
1483 Split types into separate file for easier maintainership. (#538564)
1485 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1487 Bug 540331 – g_file_append_to () documentation: can return NULL
1489 * gfile.c (g_file_append_to): Clarify docs.
1490 Patch by Jared Moore
1492 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1494 Bug 539090 – g_content_type_from_mime_type() should unalias
1496 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1497 Patch by Markus Bergman
1499 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1501 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1502 g_atomic_pointer_get
1504 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1505 on ppc and alpha. Reported by Mart Raudsepp
1507 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1509 * tests/Makefile.am:
1510 * tests/memory-output-stream.c: Add some tests for
1511 GMemoryOutputStream.
1513 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1515 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1518 * gmemoryoutputstream.c (array_resize): Handle truncation to
1519 zero correctly. Reported by Akira Tagoh
1521 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1523 * gmemoryoutputstream.c: Trivial doc fixes
1525 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1527 Bug 540802 – g_list_prepend doesn't concat lists
1529 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1530 one list to another. Pointed out by Jan Arne Petersen
1532 2008-06-28 Michael Natterer <mitch@imendio.com>
1534 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1536 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1538 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1539 to avoid problems with partial icon themes.
1541 2008-06-17 Hans Breuer <hans@breuer.org>
1543 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1544 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1545 access again on win32, see bug #538127
1546 * giomodule.c : ensure GWin32VolumeMonitor is registered
1547 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1548 * Makefile.am makefile.msc : updated
1550 2008-06-16 Hans Breuer <hans@breuer.org>
1552 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1553 and initialization in one step avoids c99ism
1555 2008-06-16 Christian Persch <chpe@gnome.org>
1558 * gio/gbufferedinputstream.c
1559 * gio/gcancellable.c
1560 * gio/gdatainputstream.c
1561 * gio/gdesktopappinfo.c
1563 * gio/gfileenumerator.c
1564 * gio/gfileinputstream.c
1565 * gio/gfileoutputstream.c
1566 * gio/ginputstream.c
1567 * gio/glocaldirectorymonitor.c
1569 * gio/glocalfileenumerator.c
1570 * gio/glocalfileinfo.c
1571 * gio/glocalfilemonitor.c
1572 * gio/glocalfileoutputstream.c
1573 * gio/gmemoryinputstream.c
1574 * gio/gmemoryoutputstream.c
1575 * gio/goutputstream.c
1576 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1579 2008-06-16 Tor Lillqvist <tml@novell.com>
1581 Bug 538362 - Get Win32 icons back in the file chooser
1583 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1584 corresponding to a file extension in the Registry. Patch by Hans
1586 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1588 2008-06-16 Tor Lillqvist <tml@novell.com>
1590 Patches by Hans Breuer:
1592 * glocalfile.c (is_xp_or_later): Handle compiling against older
1593 SDK headers with missing VerifyVersionInfo(). Conditioned on
1594 _MSC_VER, but should probably use some better test.
1595 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1596 uninitialised statfs_result variable on Win32.
1598 2008-06-16 Michael Natterer <mitch@imendio.com>
1600 * *.c: chain up unconditionally in finalize() and dispose(). Also
1601 don't dereference these function pointers when calling them since
1602 that has no meaning at all.
1604 2008-06-16 Ross Burton <ross@burtonini.com>
1606 * gfileenumerator.c:
1607 Remove check for dispose implementation as it annoys Emmanuele.
1609 2008-06-16 Ross Burton <ross@burtonini.com>
1611 Bug 536252 – GFileEnumerator should allow access to the containing
1614 * gfileenumerator.c:
1615 * gfileenumerator.h:
1617 Add g_file_enumerator_get_container() and a container writeable
1618 construct-only property. Also shuffle around typedefs to make it
1621 * glocalfileenumerator.c:
1622 * glocalfileenumerator.h:
1624 Instead of a string filename take a GFile in the constructor and
1625 use it to set the container property.
1628 Update with new API.
1630 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1632 * gfile.c: Make includes more uniform
1634 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1636 * tests/live-g-file.c (sample_struct):
1637 Use less fancy unicode filenames, so the test doesn't fail
1638 on Mac OS X (#531476).
1640 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1642 * === Released 2.17.2 ===
1644 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1646 * === Released 2.17.1 ===
1648 2008-06-11 A. Walton <awalton@gnome.org>
1650 * tests/g-file.c (test_g_file_new_null):
1651 Fix broken test case.
1653 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1655 * pltcheck.sh: We use g_clear_error now.
1657 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1659 * glocalfile.c (g_local_file_enumerate_children): Revert
1660 an unintended change.
1662 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1664 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1666 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1668 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1671 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1672 as icon for the desktop directory, also make user-home and
1673 user-desktop the preferred icons.
1675 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1678 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1679 to add a name to the front of the list.
1681 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1683 Bug 537392 – Additional colon in xattr name
1685 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1686 too. Reported by Alessandro Morandi
1688 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1690 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1693 * glocalfile.c (get_fs_type): Add afs and autofs.
1694 Patch by Danny Baumann.
1696 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1698 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1700 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1701 is no parent. (Owen Taylor, patch by Christian Neumair)
1703 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1705 * gfile.c (g_file_replace_contents): do not leak the output stream.
1707 2008-06-10 Michael Natterer <mitch@imendio.com>
1709 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1710 uninitialized memory as array index.
1712 2008-06-10 Tor Lillqvist <tml@novell.com>
1714 * gcontenttype.c (g_content_type_can_be_executable)
1715 (g_content_type_get_icon) [Win32]: Add TODO comments.
1717 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1719 * xdgmime/Makefile.am: Fix the build
1721 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1723 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1724 in the shared mime database, if available.
1726 * xdgmime/*: Sync with upstream. This brings support for
1727 glob weights, generic icons, and changes the cache format to
1730 2008-05-28 Michael Natterer <mitch@imendio.com>
1732 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1733 the global CPPFLAGS now.
1735 * tests/data-input-stream.c
1736 * tests/data-output-stream.c
1737 * tests/g-file-info.c
1739 * tests/live-g-file.c
1740 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1742 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1744 * === Released 2.17.0 ===
1746 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1747 doesn't complain about leftover files.
1749 2008-05-27 simon.zheng <simon.zheng@sun.com>
1751 * glocalfile.c: (g_local_file_query_filesystem_info):
1752 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1754 2008-05-26 Michael Natterer <mitch@imendio.com>
1756 * gmemoryoutputstream.h: declare
1757 g_memory_output_stream_get_data_size().
1759 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1761 * tests/*: Make tests work
1763 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1765 * gio.symbols: Add g_memory_output_stream_get_data_size.
1767 2008-05-25 Ross Burton <ross@burtonini.com>
1770 Fix typo in error message (#534764).
1772 2008-05-25 Ross Burton <ross@burtonini.com>
1775 Fix circular dependency loop for gioenumtypes.h (#534759).
1777 2008-05-19 Hans Breuer <hans@breuer.org>
1779 * Makefile.am : EXTRA_DIST += makefile.msc
1781 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1784 * gcontenttype.c: (g_content_type_from_mime_type):
1785 New function to create a content type from a mime type. (#527175,
1788 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1790 Bug 532965 – Should not return filesystem::free for certain file systems
1792 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1793 free space for ncpfs.
1795 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1797 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1799 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1800 st_dev might be zero.
1802 2008-05-16 Tor Lillqvist <tml@novell.com>
1804 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1805 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1807 2008-05-13 Bastien Nocera <hadess@hadess.net>
1809 * gfile.c (has_valid_scheme): A URI scheme must start with a
1810 letter, even if later more characters are allowed (#532852)
1812 2008-05-05 Michael Natterer <mitch@imendio.com>
1814 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1815 code from being checked in that breaks the build of applications
1816 which use G_DISABLE_SINGLE_INCLUDES.
1818 * makegioalias.pl: make the alias file include "glib.h" instead of
1821 * gio.symbols: whitespace change to force regeneration of the
1822 alias file after above script change.
1824 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1826 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1828 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1830 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1832 2008-04-28 David Zeuthen <davidz@redhat.com>
1834 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1835 displaying mounts in a subdirectory not accessible to the
1838 2008-04-22 Michael Natterer <mitch@imendio.com>
1840 * Makefile.am: fix library versioning (it was 0.0.0).
1842 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1844 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1845 Default disable all loggings.
1846 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1847 (port_fetch_event_cb): Fixed two macro nits.
1849 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1851 * xdgmime/xdgmime.c: Rework the timestamp checking code
1852 to protect against duplicate directories in XDG_DATA_DIRS.
1853 Fixes fd.o bug 12513, reported by Joe Shaw.
1855 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1857 Partically revert the last commit after realizing that
1858 xdg_mime_media_type_equal doesn't have to init at all.
1860 * xdgmime/xdgmime.h:
1861 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1863 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1865 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1867 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1868 reported by Joe Shaw and Federico Mena Quintero.
1870 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1871 (xdg_mime_media_type_equal): Turn into a wrapper around the
1874 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1875 functions throughout.
1877 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1879 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1880 tolerate an empty TryExec= line without failing; nautilus used
1881 to create launchers with these in previous versions. Fixes #528433
1883 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1885 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1886 after name. Fixes #527132.
1888 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1890 * gfile.c: (g_file_replace):
1893 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1895 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1897 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1898 by Christian Kellner.
1900 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1902 * gunixmounts.c: (g_unix_mount_guess_should_display):
1903 Don't list the user directory as a mount, fix potential issue
1904 when other users have a similar naming and don't special case the
1905 gvfs mounts there since that's not required (#525866)
1907 2008-03-31 Alexander Larsson <alexl@redhat.com>
1909 * glocalfile.c (get_parent):
1912 2008-03-31 A. Walton <awalton@svn.gnome.org>
1914 * gfile.c (g_file_query_file_type):
1915 Always return a GFileType enum value (#520715).
1917 2008-03-31 Alexander Larsson <alexl@redhat.com>
1919 * glocalfileenumerator.c:
1920 Read readdir() info in chunks (of 1000) and sort
1921 the chunks by inode before stat:ing.
1922 This is a 20% performance increase in testing
1923 gvfs-ls on /usr/bin with cold cache.
1925 2008-03-31 Alexander Larsson <alexl@redhat.com>
1927 * gmemoryoutputstream.c:
1928 Clarify docs for g_memory_output_stream_get_size.
1929 Add g_memory_output_stream_get_data_size.
1931 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1935 * gfile.h: Add g_file_query_file_type convenience function
1936 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1938 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1940 * gfileenumerator.c:
1941 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1943 2008-03-28 A. Walton <awalton@svn.gnome.org>
1945 * giomodule.c (_g_io_modules_ensure_loaded):
1946 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1949 2008-03-28 Alexander Larsson <alexl@redhat.com>
1952 (copy_stream_with_progress):
1955 2008-03-28 Alexander Larsson <alexl@redhat.com>
1958 (copy_stream_with_progress):
1959 (file_copy_fallback):
1960 Fallback to g_file_query_info for source size
1961 if g_file_input_stream_query_info fails. (#524579)
1963 2008-03-28 Alexander Larsson <alexl@redhat.com>
1965 * glocalfile.c (g_local_file_move):
1966 Reuse old string instead of adding new one.
1968 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1970 * fen/*.[hc]: still copyright issue. I hate copyright.
1972 2008-03-27 Alexander Larsson <alexl@redhat.com>
1974 * glocalfile.c (g_local_file_move):
1975 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1976 file over directory. This is according to the docs and what the move via
1977 copy+remove fallback does.
1979 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1981 * fen/*.[hc]: Updated copyright.
1983 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1985 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1987 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1989 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1990 not emit attribute changed events when optimizing changed events.
1991 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1994 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1996 * gmountoperation.[hc]: Small documentation additions
1998 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
2000 * gunixmounts.c: (guess_mount_type):
2001 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
2003 2008-03-19 Alexander Larsson <alexl@redhat.com>
2006 (copy_stream_with_progress):
2007 Bump block side for copy to 64k to minimize
2008 overhead for low latency links. (#523015)
2010 2008-03-16 Tor Lillqvist <tml@novell.com>
2012 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
2013 depend on gio.def on Windows.
2015 2008-03-12 David Zeuthen <davidz@redhat.com>
2019 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
2021 2008-03-14 Alexander Larsson <alexl@redhat.com>
2025 Avoid redudant tests (#521851)
2026 Patch from Josselin Mouette
2028 2008-03-14 Alexander Larsson <alexl@redhat.com>
2031 (g_file_monitor_is_cancelled):
2032 Fix C89 issue (#521672)
2033 Patch from Jens Granseuer
2035 2008-03-14 Alexander Larsson <alexl@redhat.com>
2037 * fam/fam-helper.[ch]:
2039 Shut down fam (including removing fam GSource) when
2040 module is unloaded (#521513)
2041 Patch from Joe Marcus Clarke
2043 2008-03-14 Alexander Larsson <alexl@redhat.com>
2046 (_g_io_modules_ensure_loaded):
2049 2008-03-14 Alexander Larsson <alexl@redhat.com>
2052 (g_local_file_query_filesystem_info):
2053 Use right define name for f_fstypename member check
2055 2008-03-14 Alexander Larsson <alexl@redhat.com>
2058 * fen/Makefile.am: Added.
2059 * fen/fen-data.[ch]: Added.
2060 * fen/fen-dump.[ch]: Added.
2061 * fen/fen-helper.[ch]: Added.
2062 * fen/fen-kernel.[ch]: Added.
2063 * fen/fen-missing.[ch]: Added.
2064 * fen/fen-node.[ch]: Added.
2065 * fen/fen-sub.[ch]: Added.
2066 * fen/gfendirectorymonitor.[ch]: Added.
2067 * fen/gfenfilemonitor.[ch]: Added.
2069 Added Solaris FEN file notification backend.
2070 Patch from Lin Ma <Lin.Ma@Sun.COM>
2072 2008-03-13 Tor Lillqvist <tml@novell.com>
2074 * Makefile.am: Actually use the gio.def file when linking the
2075 library on Windows. Produce .lib library for Microsoft's toolchain
2076 when possible. Install the .lib and .def file like for the other
2079 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2081 * tests/live-g-file.c:
2082 Include live-g-file in standard set of tests, making a temporary
2083 directory in source structure.
2085 Clean target directory before the tests (write mode only)
2087 2008-03-12 Tor Lillqvist <tml@novell.com>
2089 Bug 517419 - gio win32 directory monitor
2090 Implementation by Vlad Grecescu.
2093 * win32/gwin32directorymonitor.h
2094 * win32/gwin32directorymonitor.c: New files.
2096 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2098 * Makefile.am: Add the win32 subdirectory.
2100 2008-03-12 Tor Lillqvist <tml@novell.com>
2102 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2103 normal struct stat on Unix but struct _stati64 on Windows to have
2104 access to 64-bit file size information. Use that instead of struct
2105 stat in the functions declared here in this private header.
2107 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2108 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2109 warnings about unused functions and variables. Don't set
2110 meaningless attributes like inode numbers on Windows.
2112 2008-03-12 Benjamin Otte <otte@gnome.org>
2115 trim whitespace so gtk-doc groks the function name
2117 2008-03-12 Tor Lillqvist <tml@novell.com>
2119 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2120 returning FALSE, on Win32.
2122 2008-03-11 Alexander Larsson <alexl@redhat.com>
2125 * glocalfileinfo.[ch]:
2126 Correctly implement can_trash by actually
2127 looking for a trash dir, not just assuming
2130 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2132 * === Released 2.16.1 ===
2134 2008-03-11 Alexander Larsson <alexl@redhat.com>
2137 Fix crashes in new constructor and properties code
2139 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2141 * gfile.c: Minor spelling correction in documentation:
2142 existance -> existence.
2144 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2146 * === Released 2.16.0 ===
2148 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2150 * gio.symbols: Remove g_file_contains_file here, too.
2152 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2154 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2155 Samuel Cormier-Iijima)
2157 2008-03-08 Tor Lillqvist <tml@novell.com>
2159 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2162 2008-03-07 Alexander Larsson <alexl@redhat.com>
2165 (g_local_file_query_filesystem_info):
2166 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2167 Patch from Jasper Lievisse Adriaanse
2169 2008-03-06 Tor Lillqvist <tml@novell.com>
2171 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2172 comments for the *_USEC attributes.
2174 2008-03-06 Alexander Larsson <alexl@redhat.com>
2176 * gfile.c (g_file_query_exists):
2177 Add g_return_val_if_fail check (#520700)
2179 2008-03-06 Alexander Larsson <alexl@redhat.com>
2181 * gdesktopappinfo.c:
2184 * gunionvolumemonitor.c:
2187 * tests/live-g-file.c:
2188 * xdgmime/xdgmimecache.c:
2189 Fix sparse warnings (#519489)
2191 2008-03-05 Alexander Larsson <alexl@redhat.com>
2194 Make cancellation threadsafe (i.e.
2195 guarantee its only done once, and always
2198 * glocaldirectorymonitor.c:
2199 Make sure we the monitor lives while the
2200 mounts_changed callback is being called (#520484)
2202 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2204 * gbufferedinputstream.c: Fix typo in parameter
2207 2008-03-04 Alexander Larsson <alexl@redhat.com>
2210 Remove deprecated symbols we kept for one release.
2212 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2215 * goutputstream.c: Tiny documentation corrections.
2217 2008-03-03 Alexander Larsson <alexl@redhat.com>
2219 * gunionvolumemonitor.c:
2221 Fix the adopt_orphan_mount vfunc to take a
2222 volume_monitor reference in an ABI compat way.
2223 This change is not API compat, but the added
2224 arg is not used in the only user of this vfunc, so
2225 all we get is a harmless warning in gvfs (#520169)
2227 2008-03-01 Benjamin Otte <otte@gnome.org>
2230 clarify docs for g_file_delete().
2232 2008-02-29 Alexander Larsson <alexl@redhat.com>
2236 Make sure empty files get text/plain type (#518720)
2238 2008-02-27 Alexander Larsson <alexl@redhat.com>
2244 (g_unix_volume_mount):
2245 Add missing GMountMountFlags argument
2247 2008-02-26 Alexander Larsson <alexl@redhat.com>
2250 (g_local_file_delete):
2251 Handle filesystems (like ntfs-3g) that return EEXIST instead
2252 of ENOTEMPTY (#518816)
2254 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2256 * === Released 2.15.6 ===
2258 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2260 * gfile.c (g_file_find_enclosing_mount):
2261 * ginputstream.c (g_input_stream_set_pending):
2262 * glocalfile.c (g_local_file_find_enclosing_mount):
2263 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2264 * goutputstream.c (g_output_stream_set_pending):
2266 Fixup translator comments (#518578).
2268 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2270 * gfile.c (g_file_find_enclosing_mount):
2272 * glocalfile.c (g_local_file_find_enclosing_mount):
2275 Fix a few typos in translator comments and documentation.
2277 2008-02-25 Alexander Larsson <alexl@redhat.com>
2284 Add translator comments (#518578)
2286 2008-02-25 Alexander Larsson <alexl@redhat.com>
2289 Reintroduce g_file_contains_file, keep around for one
2290 unstable release cycle to avoid crashing to many apps.
2291 Make sure to delete after release.
2293 2008-02-25 Alexander Larsson <alexl@redhat.com>
2296 Remove deprecated g_file_contains_file.
2298 2008-02-25 Alexander Larsson <alexl@redhat.com>
2301 Emit actual change signals in an idle handler.
2302 This avoids reentrance and locking problems in
2303 the file notification backends.
2305 2008-02-25 Alexander Larsson <alexl@redhat.com>
2308 (g_unix_mount_guess_should_display):
2309 Remove type guessing, instead just display
2310 mounts in /media and in ~/.
2312 2008-02-25 Alexander Larsson <alexl@redhat.com>
2315 Make new strings reuse old ones.
2317 2008-02-25 Alexander Larsson <alexl@redhat.com>
2320 Implement trashing and filesystem::readonly for win32 (#517235)
2321 Patch from Yevgen Muntyan
2323 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2325 * gfileinfo.h: Documentation fixes.
2327 2008-02-22 Alexander Larsson <alexl@redhat.com>
2329 * gcontenttype.c (g_content_type_get_icon):
2330 Look at old-style gnome mime icon names too, as many
2331 have not moved to the new style.
2333 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2335 * *.c: Correct the @include in for section docs.
2337 2008-02-21 David Zeuthen <davidz@redhat.com>
2339 * glocalfileinfo.c: (_g_local_file_info_get):
2341 (g_content_type_get_icon): Implement this function by
2342 moving bits from glocalfileinfo.c
2343 (g_content_type_get_description): Unalias before getting
2344 description (#517687)
2346 * gfile.c: (g_file_class_init),
2347 (g_file_query_filesystem_info_async),
2348 (g_file_query_filesystem_info_finish),
2349 (query_filesystem_info_data_free),
2350 (query_filesystem_info_async_thread),
2351 (g_file_real_query_filesystem_info_async),
2352 (g_file_real_query_filesystem_info_finish):
2353 * gfile.h: Implement async version of
2354 g_file_query_filesystem_info()
2356 * gfileinfo.h: Add new attributes for filesystem::use-preview
2358 * gio.symbols: Update
2360 * gthemedicon.c: (g_themed_icon_append_name):
2361 * gthemedicon.h: Add new new convenience function.
2363 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2364 (get_mounts), (get_volumes), (get_connected_drives),
2365 (get_volume_for_uuid), (get_mount_for_uuid),
2366 (g_union_volume_monitor_init), (populate_union_monitor),
2367 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2368 (g_volume_monitor_adopt_orphan_mount):
2370 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2371 monitor implementations to call into the main volume monitor. Also
2372 separate object initialization and volume monitor initialization
2373 such that non-native volume monitors can properly adopt their
2376 2008-02-21 Alexander Larsson <alexl@redhat.com>
2381 2008-02-21 Alexander Larsson <alexl@redhat.com>
2384 Add more documentation about how GFiles work (from #517086)
2386 2008-02-21 Alexander Larsson <alexl@redhat.com>
2390 Add new g_file_has_prefix that does the same as g_file_contains_file.
2391 Deprecate g_file_contains_file and add a macro that converts
2392 it to g_file_has_prefix.
2393 The reason for this change is that the contains_file() name seems to
2394 imply that this does more work than what it does, but its really only
2395 a name match (from #517086)
2400 Update to match the above change.
2402 2008-02-20 Benjamin Otte <otte@gnome.org>
2404 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2405 (g_file_eject_mountable):
2406 even more cases of not returning in error path
2408 2008-02-20 Benjamin Otte <otte@gnome.org>
2410 * gfile.c: (g_file_mount_mountable):
2411 return from function in error path.
2413 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2416 Remove trailing coma in GMountMountFlags struct
2418 2008-02-18 Alexander Larsson <alexl@redhat.com>
2422 * glocalfileoutputstream.c:
2423 Use g_unlink/g_rename instead of unlink/rename;
2424 do not pass raw filenames to g_set_error. (#517239)
2425 Patch from Yevgen Muntyan.
2427 2008-02-18 Alexander Larsson <alexl@redhat.com>
2430 * glocalfileoutputstream.c:
2431 Open files with O_BINARY on windows. (#517140)
2433 2008-02-14 Alexander Larsson <alexl@redhat.com>
2435 * glocalfileoutputstream.c:
2436 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2438 2008-02-14 Alexander Larsson <alexl@redhat.com>
2441 Copy permissions with file on copy (#514084)
2442 This is what cp does and makes sure e.g. the
2443 exec permissions are kept.
2444 Its kinda weird in that it keeps the permission bits
2445 the same while the uid and gid are different. However
2446 the new uid is the user so its not a security issue,
2447 and I've heard no complaints about cp on this issue.
2449 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2451 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2453 2008-02-13 Alexander Larsson <alexl@redhat.com>
2455 * inotify/inotify-path.c:
2456 Define IN_ONLYDIR if not in header (#515346)
2458 2008-02-12 Alexander Larsson <alexl@redhat.com>
2460 * tests/live-g-file.c:
2463 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2465 * === Released 2.15.5 ===
2467 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2469 * gio.symbols: Add g_mount_mount_flags_get_type.
2471 2008-02-11 Alexander Larsson <alexl@redhat.com>
2474 (g_file_info_set_attribute_mask):
2475 (g_file_attribute_matcher_matches_id):
2476 Correctly handle NULL GAttributeMatcher meaning
2477 matches nothing. (Fixes #513492)
2479 2008-02-11 Alexander Larsson <alexl@redhat.com>
2484 Added GMountMountFlags enum and added a flags
2485 argument to all mount calls.
2487 This is an API/ABI change for future extensibility,
2488 as I think we will need at least an
2489 inhibit-autorun flag (the panel needs this).
2490 There are no flags defined yet though.
2492 2008-02-11 Alexander Larsson <alexl@redhat.com>
2495 Added new standard::description attribute.
2496 Requested by Vincent, and useful for both
2499 2008-02-11 Alexander Larsson <alexl@redhat.com>
2501 * gdesktopappinfo.c:
2504 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2506 * *.c: Documentation additions
2508 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2510 * gappinfo.h: Formatting cleanup
2511 * gappinfo.c: Fix up docs.
2513 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2515 * gunixmounts.c: Consistently use getmntent_r() and fall
2516 back to getmntent(). (#515492)
2518 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2520 * gbufferedinputstream.c:
2522 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2524 * tests/data-input-stream.c:
2525 * tests/data-output-stream.c: Portability fixes.
2527 2008-02-08 Alexander Larsson <alexl@redhat.com>
2532 Add g_volume_should_automount.
2535 2008-02-07 Tor Lillqvist <tml@novell.com>
2537 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2538 Win32, too Unix-specific.
2540 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2542 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2543 a local plt if the compiler doesn't support what we want. Bug #514702
2545 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2547 reviewed by: <delete if not using a buddy>
2550 * gunixinputstream.c:
2551 * gunixoutputstream.c:
2553 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2555 * tests/Makefile.am:
2556 * tests/live-g-file.c:
2557 * tests/live-g-file.txt:
2558 New GIO testing module working over real data
2560 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2562 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2563 Fallback to rename() if link() is not available
2564 (when no support on target filesystem)
2566 2008-02-06 Michael Natterer <mitch@imendio.com>
2568 * gfileinfo.c (g_file_info_get_icon): replace
2569 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2571 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2573 * gfile.c (g_file_create):
2574 Documentation update of error codes
2576 2008-02-06 Alexander Larsson <alexl@redhat.com>
2578 * gdesktopappinfo.c:
2579 Update to use both mimeapps.list and
2580 defaults.list as discussed on xdg list.
2582 2008-02-06 Benjamin Otte <otte@gnome.org>
2585 * gfilenamecompleter.c:
2586 Fix some typos in the documentation.
2588 2008-02-06 Alexander Larsson <alexl@redhat.com>
2590 * glocalfile.c (g_local_file_trash):
2591 Don't succeed with trash if newly created
2592 trash dir has the wrong owner. (#514696)
2594 2008-02-05 Alexander Larsson <alexl@redhat.com>
2596 * glocalfile.c (g_local_file_move):
2597 Don't spew warnings when destination is not
2600 2008-02-03 Hans Breuer <hans@breuer.org>
2602 * makefile.msc : update
2604 2008-02-01 Michael Natterer <mitch@imendio.com>
2606 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2607 return value of xdg_mime_list_mime_parents() to a variable of the
2610 2008-02-01 Alexander Larsson <alexl@redhat.com>
2612 * gappinfo.c (g_app_info_launch_uris):
2613 Actually call the launch_uris method, not
2616 2008-02-01 Alexander Larsson <alexl@redhat.com>
2618 * gdesktopappinfo.c (g_desktop_app_info_equal):
2619 Ensure appinfos with no id but same pointer value
2622 2008-02-01 Alexander Larsson <alexl@redhat.com>
2624 * gappinfo.c (g_app_info_launch_default_for_uri):
2627 2008-02-01 Alexander Larsson <alexl@redhat.com>
2631 Add g_app_info_launch_default_for_uri utility
2634 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2636 * gdesktopappinfo.c:
2637 Doc fix for g_app_info_get_default_for_uri_scheme ()
2640 2008-01-30 Alexander Larsson <alexl@redhat.com>
2643 Add doc comment about uris vs GFiles to
2646 * gdesktopappinfo.c:
2647 Ensure uris passed to g_app_info_launch_uris()
2648 are not roundtriped through GFile (as that
2649 may be slightly destructive for e.g. mailto: links)
2651 2008-01-30 Alexander Larsson <alexl@redhat.com>
2653 * tests/data-input-stream.c:
2654 * tests/data-output-stream.c:
2655 C89 fixes from Jens Granseuer (#512849)
2657 2008-01-30 Alexander Larsson <alexl@redhat.com>
2660 Fix gamin/fam difference build issue. (#509419)
2662 2008-01-29 Alexander Larsson <alexl@redhat.com>
2665 * gdesktopappinfo.c:
2666 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2668 2008-01-29 Alexander Larsson <alexl@redhat.com>
2670 * gdesktopappinfo.c:
2671 * gdesktopappinfo.h:
2672 giomodule-priv.h include moved to .c file.
2674 2008-01-29 Alexander Larsson <alexl@redhat.com>
2676 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2677 Remove unused prio/name fields.
2679 2008-01-29 Alexander Larsson <alexl@redhat.com>
2681 * gcontenttype.c (looks_like_text):
2682 Don't treat whitespace as control chars.
2684 2008-01-29 Alexander Larsson <alexl@redhat.com>
2686 * gdesktopappinfo.c:
2687 Lazily create the desktop files for appinfos created
2688 by g_app_info_create_from_commandline() when needed
2689 for mime associations. This allows run-time use
2690 of GAppInfo object without creating unnecessary
2693 2008-01-29 Alexander Larsson <alexl@redhat.com>
2696 Added new symbols to gio.symbols
2698 2008-01-29 Alexander Larsson <alexl@redhat.com>
2701 Add g_file_query_default_handler utility to easily look up
2702 the GAppInfo that handles a file.
2704 * gdesktopappinfo.[ch]:
2706 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2709 Remove unused function
2711 2008-01-29 Alexander Larsson <alexl@redhat.com>
2713 * gfileenumerator.c:
2714 Mention need to free returned value in
2715 g_file_enumerator_next_files_finish docs.
2716 Fix leak if g_file_enumerator_next_files_finish()
2719 2008-01-29 Alexander Larsson <alexl@redhat.com>
2722 (_g_unix_content_type_get_parents):
2723 Use list_parents, not get_parents from xdgmime, because
2724 the later doesn't use the cache.
2726 * xdgmime/xdgmimecache.c:
2727 (_xdg_mime_cache_list_mime_parents):
2728 Don't list the same type as parent multiple times.
2730 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2732 * === Released 2.15.4 ===
2734 2008-01-28 Alexander Larsson <alexl@redhat.com>
2737 Register local vfs with prio 0.
2740 Remove old name and prio class members
2742 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2744 * tests/g-file.c: Disable some tests that are failing in
2745 the absence of a http backend.
2747 2008-01-28 Alexander Larsson <alexl@redhat.com>
2751 Add registration hooks for extension points.
2752 Register the gio extension points.
2754 * fam/gfamdirectorymonitor.c:
2755 * fam/gfamfilemonitor.c:
2756 * glocaldirectorymonitor.[ch]:
2757 * glocalfilemonitor.[ch]:
2758 * gnativevolumemonitor.h:
2759 * gunionvolumemonitor.c:
2760 * gunixvolumemonitor.c:
2763 * inotify/ginotifydirectorymonitor.c:
2764 * inotify/ginotifyfilemonitor.c:
2765 Use the extension points registration instead
2766 of g_type_children().
2768 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2771 * gvolume.[hc]: Document new API.
2773 * gfile.c (g_file_copy_async): Fix docs
2775 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2777 * gbufferedinputstream.c:
2779 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2782 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2784 * glocalfile.c: Avoid trivial differences in translatable strings.
2786 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2788 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2789 build with gcc 3.4 (#509419)
2791 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2793 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2794 (#509994, Murray Cumming)
2796 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2798 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2799 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2800 this allows big jobs to be executed in chunks, instead of blocking
2801 the main loop for a long time.
2803 * gsimpleasyncresult.c:
2804 * giofile.c: Adapt callers.
2806 2008-01-25 Alexander Larsson <alexl@redhat.com>
2808 * gdesktopappinfo.c:
2809 Implement changes discussed on xdg list.
2810 Now we can add supported mimetypes by just using defaults.list
2811 We can also remove associations in defaults.list.
2813 2008-01-25 Alexander Larsson <alexl@redhat.com>
2815 * gdesktopappinfo.c:
2816 Don't make local copy of desktop file
2817 for mimetype changes if the file already
2818 supports the new mimetype.
2820 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2824 * gbufferedinputstream.c:
2825 * glocalfile.c: String improvements. (#511966,
2826 Theppitak Karoonboonyanan)
2828 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2830 * gioscheduler.h: Expand docs a bit.
2832 2008-01-24 Alexander Larsson <alexl@redhat.com>
2835 Add g_drive_get_identifier and
2836 g_drive_enumerate_identifiers
2839 Add g_volume_get_identifier and
2840 g_volume_enumerate_identifiers
2846 Implement identifiers for unix backend
2848 2008-01-24 Alexander Larsson <alexl@redhat.com>
2853 Add g_file_copy_async() (#511580)
2854 Based on patch from Carlos Garcia Campos
2856 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2858 * gioscheduler.c: Some documentation additions.
2860 2008-01-22 Alexander Larsson <alexl@redhat.com>
2862 * gdesktopappinfo.c:
2863 (g_desktop_app_info_new):
2864 Don't leak basename.
2866 2008-01-22 Alexander Larsson <alexl@redhat.com>
2868 * gdesktopappinfo.c:
2869 (g_desktop_app_info_new_from_filename):
2872 2008-01-22 Alexander Larsson <alexl@redhat.com>
2874 * glocalfileinfo.c (get_thumbnail_attributes):
2877 2008-01-22 Alexander Larsson <alexl@redhat.com>
2880 (canonicalize_filename):
2881 Canonicalize paths that start with more than
2885 (compare_two_files):
2886 (test_g_file_new_for_path):
2889 2008-01-22 Alexander Larsson <alexl@redhat.com>
2892 Allow UTF-8 in file:// parse names.
2894 * tests/Makefile.am:
2895 * tests/data-input-stream.c:
2896 * tests/data-output-stream.c:
2897 * tests/g-file-info.c:
2899 Added a bunch of tests from Tomas Bzatek
2901 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2903 * === Released 2.15.3 ===
2905 2008-01-21 Alexander Larsson <alexl@redhat.com>
2907 * gfileinputstream.[ch]:
2908 * gfileoutputstream.[ch]:
2910 Remove duplicated GSeekable functions. (#509990)
2911 Just use the g_seekable_xxx() calls instead.
2913 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2916 * gvolumemanager.c: Whitespace cleanups.
2918 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2919 Use the right mode when creating the file.
2921 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2923 * gfileenumerator.c:
2924 * gfileinputstream.c:
2926 * goutputstream.c: Documentation: Fixed minor typos
2927 and added more mentions of specific _finish() functions.
2929 2008-01-21 Alexander Larsson <alexl@redhat.com>
2931 * inotify/Makefile.am:
2932 * inotify/inotify-helper.c:
2933 * inotify/inotify-kernel.c:
2934 * inotify/inotify-path.c:
2935 * inotify/local_inotify.h: Removed.
2936 * inotify/local_inotify_syscalls.h: Removed.
2937 Removed the included copies of the inotify
2938 headers. We now only use the <sys/inotify.h>
2939 header which exists on modern systems.
2940 This fixes problems on ARM and SH5 (#510448)
2941 but is also generally much cleaner and future
2942 safe. For instance, if other OSes add support
2943 for inotify it should "just work".
2945 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2947 * inotify/*.c: Coding style fixes.
2948 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2949 for the 1/4 Hz timer.
2951 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2954 * gfilemonitor.[hc]:
2955 * gmemoryinputstream.c:
2956 * gmemoryoutputstream.c:
2957 * gmountoperation.c:
2958 * gthemedicon.c: Documentation updates
2960 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2962 * gfile.c: documentation: Fixed more minor
2965 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2967 * gmount.c: (g_mount_remount): documentation:
2968 Mention g_mount_remount_finish() instead of
2969 g_mount_unmount_finish().
2971 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2975 * gfile.c: Fixed some minor typos in the
2978 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2980 * gio/gvolumemonitor.c:
2981 (g_volume_monitor_get_connected_drives):
2982 (g_volume_monitor_get_volumes):
2983 (g_volume_monitor_get_mounts): Documentation:
2984 Clarify the ownership of the regurn GLists.
2986 2008-01-17 Alexander Larsson <alexl@redhat.com>
2989 Add the async find_enclosing_mount version
2990 to the header file too.
2992 2008-01-17 Alexander Larsson <alexl@redhat.com>
2995 Add async version of find_enclosing_mount
2996 with default implementation.
2998 2008-01-17 Alexander Larsson <alexl@redhat.com>
3003 Allow calls to implementation of copy and write
3004 even if the type of the file implementations is
3005 different. This can be used to implement native
3006 upload and download calls in a vfs.
3009 (g_local_file_move):
3010 Protect against the case where move is called
3011 with one file not being local.
3013 Make sure we call the progress callback once
3014 in the native move operation so that the caller
3015 knows how many bytes were copied.
3017 2008-01-16 Murray Cumming <murrayc@murrayc.com>
3020 * gdatainputstream.c:
3022 * gfileoutputstream.c:
3027 * gunixmounts.c: Corrected some typos in the documentation:
3028 occured -> occurred.
3029 its -> it's (where appropriate).
3031 2008-01-16 Alexander Larsson <alexl@redhat.com>
3035 Add g_file_query_exists (#508771)
3037 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3042 * gvolume.c: For async functions that have no non-async
3043 version, document that the GAsyncReadyCallback may be NULL.
3046 2008-01-15 Alexander Larsson <alexl@redhat.com>
3048 * gmemoryinputstream.c:
3049 * gmemoryoutputstream.c:
3050 Don't do pointer arithmetic on void * (#508602)
3051 Patch from Kazuki IWAMOTO
3053 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3055 * === Released 2.15.2 ===
3057 2008-01-14 Alexander Larsson <alexl@redhat.com>
3059 * gfile.c (g_file_monitor_file):
3060 Don't set error here, since we fallback to polling monitor.
3062 2008-01-14 Alexander Larsson <alexl@redhat.com>
3065 (g_file_monitor_directory):
3066 (g_file_monitor_file):
3067 Add GError to file monitor calls
3069 * glocaldirectorymonitor.c:
3070 * glocaldirectorymonitor.h:
3072 * glocalfilemonitor.c:
3073 * glocalfilemonitor.h:
3075 Update for above change
3077 2008-01-14 Alexander Larsson <alexl@redhat.com>
3081 Handle root correctly in g_file_get_relative_path (#508719)
3083 2008-01-14 Alexander Larsson <alexl@redhat.com>
3086 Clean up docs and example for GAsyncResult (#508074)
3088 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3090 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3091 and correct some spelling mistakes. Bug #508108.
3093 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3095 * glocalfileinfo.c: Add a comment.
3097 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3099 * gfileinfo.c: GFileInfo description: Mention
3100 how to actually set attributes in a GFile and how to discover
3101 which attributes are settable. Bug #508378.
3103 2008-01-10 A. Walton <awalton@svn.gnome.org>
3105 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3106 (g_app_info_get_default_for_type):
3107 Check for NULL content types.
3109 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3111 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3113 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3115 * gfile.c: *_async() functions: Several small corrections
3116 to the documentation, mostly correcting copy/paste errors
3117 and improving some sentences.
3119 2008-01-09 Dan Winship <danw@gnome.org>
3121 * glocalfile.c (get_unique_filename): x86_64 fix
3123 2008-01-09 Alexander Larsson <alexl@redhat.com>
3128 Add g_unix_mount_guess_should_display and use
3129 for unix volume monitor backend.
3130 This means we more or less show what the
3131 gnome-vfs backend did.
3132 Based on patch from Padraig O'Briain
3134 2008-01-09 Alexander Larsson <alexl@redhat.com>
3138 Add g_themed_icon_new_with_default_fallbacks
3141 Use default fallbacks for icons
3143 2008-01-09 Alexander Larsson <alexl@redhat.com>
3146 * gmountoperation.[ch]:
3147 Change the API a bit so that unhandled methods
3148 get reported via the reply, rather than by
3149 the signal emission return value. This is because
3150 some handlers can't know this immediately without
3151 doing I/O, and this is an async operation that
3154 2008-01-09 Alexander Larsson <alexl@redhat.com>
3157 * fam/gfamdirectorymonitor.c:
3158 * fam/gfamfilemonitor.c:
3159 Fix double free crash (#508224)
3160 Patch from Joe Marcus Clarke
3162 008-01-07 Matthias Clasen <mclasen@redhat.com>
3164 * === Released 2.15.1 ===
3166 2008-01-07 Alexander Larsson <alexl@redhat.com>
3168 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3169 Fix warning (#507835)
3171 2008-01-07 Alexander Larsson <alexl@redhat.com>
3174 Pass --internal to glib-genmarshal
3177 * gmountoperation.c:
3179 Use better types for signal arguments (#507822)
3181 2008-01-07 Alexander Larsson <alexl@redhat.com>
3184 Build test subdir after .
3185 Remove gdirectorymonitor.[ch]
3187 * gdirectorymonitor.[ch]:
3191 Remove GDirectoryMonitor and make
3192 GFileMonitor the baseclass for both file and
3193 directory monitors. Lift the more generic
3194 rate limiting code from GDirectoryMonitor
3198 * fam/gfamdirectorymonitor.[ch]:
3199 * inotify/ginotifydirectorymonitor.[ch]:
3200 * inotify/inotify-helper.c:
3201 * glocaldirectorymonitor.[ch]:
3204 Update for the removed GDirectoryMonitor.
3206 * gmemoryoutputstream.c:
3207 Remove ununsed variable
3209 2008-01-07 Alexander Larsson <alexl@redhat.com>
3211 * gmemoryinputstream.c:
3212 Translate error strings
3215 * gmemoryoutputstream.[ch]:
3216 New implementation that avoids using GByteArray
3217 in implementation and API. (#506377)
3219 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3221 * tests/*: Add a test for memory input streams.
3223 * Makefile.am: Add tests to SUBDIRS.
3225 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3227 * glocalfilemonitor.c:
3228 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3231 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3233 * gdesktopappinfo.c: Fix a docs typo.
3235 * gfileattribute.c: Add information about extended attributes
3236 to the documentation. (#505058)
3238 2008-01-04 Alexander Larsson <alexl@redhat.com>
3241 * gmountoperation.c:
3242 Use the right type (uint) for the ask_password signal.
3244 2008-01-04 Alexander Larsson <alexl@redhat.com>
3249 Add g_app_info_supports_files()
3250 Remove desktop arg from g_app_info_should_show().
3252 * gdesktopappinfo.[ch]:
3253 Implement g_app_info_supports_files() and new should_show()
3254 Add g_desktop_app_info_set_desktop_env() to set the desktop
3255 for should_show(). (This will be set by gtk+ later)
3257 2008-01-04 Alexander Larsson <alexl@redhat.com>
3260 * gmemoryinputstream.[ch]:
3261 Improve API so that you can use multiple chunks
3262 of memory and custom destroy functions. (#506374)
3264 2008-01-03 Alexander Larsson <alexl@redhat.com>
3267 Handle NULL attribute matchers safely, as we return this
3268 for empty attribute matcher strings.
3270 2008-01-03 Alexander Larsson <alexl@redhat.com>
3272 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3273 Add /usr/local to list of internal mountpoints
3275 2008-01-03 Alexander Larsson <alexl@redhat.com>
3278 Check for HAVE_LCHOWN (#505887)
3280 2008-01-03 Alexander Larsson <alexl@redhat.com>
3284 Add define for selinux context attribute.
3285 Fix missing : -> :: namespace separator change
3286 Fix missing _ -> - name change for xattr-sys.
3289 2008-01-03 Alexander Larsson <alexl@redhat.com>
3292 Link to libglib and libgobject directly (#504879)
3293 Patch from Sebastien Bacher
3295 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3297 * gfile.c: Expanded the g_file_new_for_commandline_arg
3298 description a bit, based on the code and the docs of the
3299 other g_file_new_for_* functions.
3301 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3303 * gfilemonitor.h: Fixed typo in docs.
3305 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3307 Updates to GIO documentation. (#506395, Mikael Hermansson)
3309 * gcontenttype.c: Describe memory management for return value of
3310 g_content_types_get_registered(). Missing piece from #505815.
3311 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3312 GVolume, GDrive, GMounts, which hopefully gives the user less
3313 confusions when using this API. Following explainations from
3314 Alexander Larsson on gtk-devel-list.
3316 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3318 * gfileinfo.c: Expand the long description.
3320 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3323 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3324 fix builds with --disable-visibility. (#500273, Christian Persch)
3326 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3328 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3329 in the list of returned app infos.
3331 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3333 * gappinfo.c: Fix a cross-reference
3335 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3337 * gfileinputstream.c:
3338 * gfileoutputstream.c:
3342 * gdesktopappinfo.c:
3344 * gfileinfo.c: Documentation updates.
3346 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3348 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3351 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3353 * gcontenttype.c (g_content_types_get_registered): Don't return
3354 freed memory (#505815, Mikael Hermansson)
3356 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3358 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3359 used to detect statbuf->st_blocks. (#505042)
3361 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3363 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3364 environment handling. (#504829, Cosimo Cecchi)
3366 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3368 * gappinfo.c: Doc improvements
3370 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3373 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3375 * === Released 2.15.0 ===
3377 2007-12-20 Hans Breuer <hans@breuer.org>
3379 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3380 with symbols gwin32appinfo.obj, added gmount.obj
3381 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3383 2007-12-20 Alexander Larsson <alexl@redhat.com>
3389 * gfilenamecompleter.c:
3392 * gpollfilemonitor.c:
3393 File attribute renames:
3395 fs:: -> filesystem::
3396 id::fs -> id::filesystem
3398 2007-12-20 Alexander Larsson <alexl@redhat.com>
3407 Add GMountUnmountFlags to all unmount and
3409 Add g_mount_remount() call.
3411 2007-12-20 Alexander Larsson <alexl@redhat.com>
3413 * gvfs.c (get_default_vfs):
3414 Fix unused variable warning
3416 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3418 * pltcheck.sh: Update
3420 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3422 * gunionvolumemonitor.c:
3423 * gunixmount.c: Remove C99 comments
3425 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3427 * gio.symbols: Add some missing symbols
3429 2007-12-19 Alexander Larsson <alexl@redhat.com>
3432 Make g_io_modules_load_all_in_directory not unuse
3433 loaded modules so that users of it can do stuff
3435 Init internal "module" types.
3436 Initialize static prio and name for types so that
3437 we don't have to load modules to get it.
3439 * gnativevolumemonitor.h:
3441 Move is_supported to parent class so that
3442 non-native monitors can avoid being initialized
3443 too. (For instance GDaemonVolumeMonitor if we're
3444 not using GDaemonVfs.)
3446 * glocaldirectorymonitor.[ch]:
3447 * glocalfilemonitor.[ch]:
3448 * gunionvolumemonitor.c:
3449 * gunixvolumemonitor.c:
3451 Find plugins using the static prio+name to
3452 avoid unnecessarily loading the modules.
3454 2007-12-19 Alexander Larsson <alexl@redhat.com>
3459 2007-12-19 Alexander Larsson <alexl@redhat.com>
3461 * gunionvolumemonitor.c:
3462 Store the native type as GType, not class so that
3463 we can unload it. But still avoid unnecessarily
3466 2007-12-19 David Zeuthen <davidz@redhat.com>
3468 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3469 add signals 'disconnected' and 'eject-button' on GDrive. Add
3470 signal 'removed' on GVolume and 'unmounted' on GMount.
3472 * gdrive.c: (g_drive_base_init):
3474 * gfile.c: (g_file_mount_mountable),
3475 (g_file_mount_enclosing_volume):
3478 * gmount.c: (g_mount_base_init):
3480 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3481 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3482 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3486 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3488 * *.c: Fix up includes in the section docs.
3490 2007-12-17 Alexander Larsson <alexl@redhat.com>
3492 * gnativevolumemonitor.h:
3493 * gunionvolumemonitor.c:
3494 * gunixvolumemonitor.c:
3495 Add is_supported() to GNativeVolumeMonitorClass so
3496 that we can avoid having to create an object to see
3497 if the backend is supported at runtime.
3498 Also add name member and an env var to pick a specific
3499 volume monitor backend.
3503 Add cancellable to _g_mount_get_for_mount_path()
3505 * glocaldirectorymonitor.c:
3506 * glocalfilemonitor.c:
3507 Avoid loading and unloading modules while sorting.
3509 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3512 * gunixmounts.[hc]: Namespace waste reduction, move some
3513 g_get_unix_mount functions to the g_unix_mount namespace.
3516 * gunixvolumemonitor.c:
3518 * glocaldirectorymonitor.c: Update all callers.
3520 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3522 2007-12-17 Alexander Larsson <alexl@redhat.com>
3525 Add doc comments about what GFile operations are
3526 guaranteed to not block.
3528 2007-12-17 Alexander Larsson <alexl@redhat.com>
3531 Add missing #ifdef fixing OSX build.
3532 (#503334, patch from Richard Hult)
3534 2007-12-14 David Zeuthen <davidz@redhat.com>
3538 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3539 (g_mount_eject), (g_mount_eject_finish):
3541 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3542 (get_volume_for_uuid), (get_mount_for_uuid),
3543 (g_union_volume_monitor_class_init),
3544 (get_default_native_type_with_exclude), (get_default_native_type),
3545 (get_native_type), (update_native_type),
3546 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3547 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3548 (g_unix_mount_can_eject), (eject_unmount_cb),
3549 (eject_unmount_read_error), (eject_unmount_do),
3550 (g_unix_mount_unmount), (g_unix_mount_eject),
3551 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3552 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3553 (g_unix_mount_point_guess_can_eject):
3555 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3556 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3557 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3558 (g_unix_volume_mount), (g_unix_volume_eject),
3559 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3560 * gunixvolumemonitor.c: (get_volume_for_uuid),
3561 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3563 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3564 (g_volume_eject), (g_volume_eject_finish):
3566 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3567 (g_volume_monitor_get_mount_for_uuid):
3570 Provide eject() on both GMount and GVolume and utility functions
3571 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3572 ejected. Introduce the concept of UUID's and wire it into GVolume
3573 and GMount and provide API on GVolumeMonitor to find such
3574 instances. Also handle the case where an external
3575 GNativeVolumeMonitor fails to initialize. Lock around the
3576 _g_get_mount_for_mount_path() function such that volume monitor
3577 implementations won't have to do locking themselves.
3579 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3581 * gdesktopappinfo.c:
3587 * gvolume.h: Documentation updates
3589 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3592 * gfile.h: Doc updates
3594 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3597 * gdesktopappinfo.c: Use hash table iterators.
3599 2007-12-14 Alexander Larsson <alexl@redhat.com>
3602 * gfileattribute.[ch]:
3603 * gfileattribute-priv.h:
3604 Move GFileAttributeValue to a private header, as
3608 Make set_attribute take a type + a pointer instead
3609 of a GFileAttributeValue.
3612 Fix up for above changes.
3613 Add g_file_info_get_attribute_data to get
3614 all info in one call, g_file_info_get_attribute_status
3615 to get the status and g_file_info_get_attribute_as_string.
3619 * glocalfileinfo.[ch]:
3623 Make _guess_type static.
3625 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3628 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3629 made mkenums and friends use temporary files to avoid leaving
3630 empty generated files on failure (#503470).
3632 2007-12-14 Alexander Larsson <alexl@redhat.com>
3634 * gmountoperation.h:
3637 2007-12-14 Alexander Larsson <alexl@redhat.com>
3641 * gfileattribute.[ch]:
3644 * glocalfileoutputstream.c:
3645 * gmountoperation.[ch]:
3646 * goutputstream.[ch]:
3647 Clean up all flags enums to not have _FLAGS in them
3648 Make the names of some of the enums better.
3653 2007-12-14 Michael Natterer <mitch@imendio.com>
3655 * gio.symbols: fix g_io_scheduler symbol names.
3657 2007-12-14 Alexander Larsson <alexl@redhat.com>
3663 * gbufferedinputstream.h:
3664 * gbufferedoutputstream.h:
3667 * gdatainputstream.h:
3668 * gdataoutputstream.h:
3669 * gdesktopappinfo.h:
3670 * gdirectorymonitor.h:
3674 * gfileenumerator.h:
3677 * gfileinputstream.h:
3679 * gfilenamecompleter.h:
3680 * gfileoutputstream.h:
3681 * gfilterinputstream.h:
3682 * gfilteroutputstream.h:
3690 * gmemoryinputstream.h:
3691 * gmemoryoutputstream.h:
3693 * gmountoperation.h:
3696 * gsimpleasyncresult.h:
3698 * gunixinputstream.h:
3700 * gunixoutputstream.h:
3704 * inotify/Makefile.am:
3705 Only allow including <gio/gio.h> from apps
3707 2007-12-14 Alexander Larsson <alexl@redhat.com>
3709 * gioscheduler.[ch]:
3710 * gsimpleasyncresult.c:
3711 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3712 Split out the send_to_mainloop call into two versions instead
3713 of having the block argument.
3715 2007-12-13 Alexander Larsson <alexl@redhat.com>
3717 * gcancellable.[ch]:
3719 * gbufferedinputstream.c:
3720 * gfileenumerator.c:
3721 * gfileinputstream.c:
3722 * gfileoutputstream.c:
3726 g_push/pop_current_cancellable ->
3727 g_cancellable_push/pop_current
3729 2007-12-13 Alexander Larsson <alexl@redhat.com>
3733 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3735 2007-12-13 Alexander Larsson <alexl@redhat.com>
3737 * gmountoperation.h:
3738 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3740 2007-12-12 Alexander Larsson <alexl@redhat.com>
3743 Fix race condition when freeing proxy in
3744 g_io_job_send_to_mainloop().
3746 2007-12-12 Alexander Larsson <alexl@redhat.com>
3752 Make attribute namespace separator "::" instead of ":".
3753 Use - instead of _ as separator in attribute names.
3755 2007-12-12 Alexander Larsson <alexl@redhat.com>
3757 * gbufferedinputstream.h:
3758 * gbufferedoutputstream.h:
3759 * gdatainputstream.h:
3760 * gdataoutputstream.h:
3761 * gdirectorymonitor.h:
3762 * gfileenumerator.h:
3763 * gfileinputstream.h:
3765 * gfileoutputstream.h:
3766 * gfilterinputstream.h:
3767 * gfilteroutputstream.h:
3769 * glocalfileinputstream.h:
3770 * glocalfileoutputstream.h:
3771 * gmemoryinputstream.h:
3772 * gmemoryoutputstream.h:
3773 * gnativevolumemonitor.h:
3775 * gunixinputstream.h:
3776 * gunixoutputstream.h:
3779 s/parent/parent_instance/ in GObjects
3781 2007-12-12 Alexander Larsson <alexl@redhat.com>
3786 No need for padding for interfaces
3788 2007-12-12 Alexander Larsson <alexl@redhat.com>
3792 * gbufferedinputstream.c:
3793 * gbufferedoutputstream.c:
3796 * gdatainputstream.[ch]:
3797 * gdesktopappinfo.c:
3798 * gdirectorymonitor.c:
3800 * gfileattribute.[ch]:
3803 * gfileinputstream.h:
3804 * gfilemonitor.[ch]:
3805 * gfileoutputstream.[ch]:
3806 * gfilterinputstream.h:
3807 * gfilteroutputstream.h:
3810 * gloadableicon.[ch]:
3811 * gmemoryinputstream.c:
3812 * gmountoperation.c:
3814 Fix up a bunch of details in the docs.
3819 2007-12-11 David Zeuthen <davidz@redhat.com>
3821 Rework how volumes, drives and volume monitoring is
3822 done. Previosly the model was
3824 GDrive <1-1> GVolume
3826 where a GDrive instance represented a mount point and a GVolume
3827 instance represented a mounted file system. This patch changes it
3830 GDrive <1-N> GVolume <1-1> GMount
3832 where GMount now serves the purpose of the old GVolume and the new
3833 GVolume serves the purpose of the old GDrive. In addition the new
3834 GDrive interface is used to represent a collection of GVolume
3835 instances (typically partitions) and also contains utility to query
3836 the state of the physical drive the GDrive object represents (such
3837 as checking for media, polling the drive, ejecting the media etc.).
3839 Also implement mounting and unmounting in the Unix volume monitor
3840 backend. A subquent patch will introduce GDrive support for ejection
3844 * gdrive.c: (g_drive_is_media_check_automatic),
3845 (g_drive_is_media_removable), (g_drive_has_media),
3846 (g_drive_can_poll_for_media), (g_drive_eject),
3847 (g_drive_eject_finish), (g_drive_poll_for_media),
3848 (g_drive_poll_for_media_finish):
3850 * gfile.c: (g_file_find_enclosing_mount):
3853 * glocaldirectorymonitor.c:
3854 (g_local_directory_monitor_constructor), (mounts_changed):
3855 * glocalfile.c: (get_mount_info),
3856 (g_local_file_find_enclosing_mount),
3857 (g_local_file_file_iface_init):
3858 * gnativevolumemonitor.h:
3859 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3860 (get_connected_drives), (g_union_volume_monitor_class_init),
3861 (child_volume_added), (child_volume_removed),
3862 (child_volume_changed), (child_mount_added), (child_mount_removed),
3863 (child_mount_pre_unmount), (child_mount_changed),
3864 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3865 (g_union_volume_monitor_remove_monitor),
3866 (_g_mount_get_for_mount_path):
3867 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3868 (guess_system_internal), (_g_get_unix_mounts),
3869 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3870 (g_unix_mount_free), (g_unix_mount_compare),
3871 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3872 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3873 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3874 (type_to_icon), (g_unix_mount_guess_name),
3875 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3876 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3877 (_resolve_symlink), (_resolve_dev_root):
3879 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3880 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3881 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3882 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3883 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3884 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3885 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3886 (g_unix_volume_volume_iface_init):
3888 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3889 (get_mounts), (get_volumes), (get_connected_drives),
3890 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3891 (mountpoints_changed), (mounts_changed),
3892 (g_unix_volume_monitor_init),
3893 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3894 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3895 * gunixvolumemonitor.h:
3896 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3897 (g_volume_mount), (g_volume_mount_finish):
3899 * gvolumemonitor.c: (g_volume_monitor_class_init),
3900 (g_volume_monitor_get_connected_drives),
3901 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3904 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3906 * gmountoperation.h (GPasswordFlags): Close the gap
3908 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3910 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3912 * gdesktopappinfo.[hc]: Remove _-prefixes
3914 2007-12-10 Tor Lillqvist <tml@novell.com>
3916 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3919 2007-12-10 Alexander Larsson <alexl@redhat.com>
3921 * gfile.c (g_file_set_display_name):
3922 Don't hardcode '/' (#502727)
3924 2007-12-09 Hans Breuer <hans@breuer.org>
3926 * makefile.msc : follow lib naming convention
3927 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3928 for user and group name, tested with ../tests/gio-ls
3930 2007-12-09 A. Walton <awalton@svn.gnome.org>
3932 * gdesktopappinfo.c:
3938 * gfileenumerator.c:
3943 * gmemoryinputstream.c:
3944 * gmemoryoutputstream.c:
3946 * gsimpleasyncresult.c:
3947 More documentation cleanup and filling in missing information, bringing
3948 GIO to 99% symbol coverage.
3950 2007-12-08 Hans Breuer <hans@breuer.org>
3952 [gio compiles and links on win32, not sure how much already works]
3953 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3954 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3955 base on win32 API; prefer g_lstat() over lstat(); instead of
3956 localtime_r() use an all GLib implementation on win32;
3957 get_mount_info() still needs a win32 specifc implementation
3958 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3959 win32_get_file_user_info to get owner/group info without uid/gid
3960 * glocalfileinputstream.c : include <io.h> on win32
3961 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3962 definition, use g_win32_ftruncate() for G_OS_WIN32
3963 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3964 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3965 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3966 * makefile.msc : updated
3968 2007-12-07 Alexander Larsson <alexl@redhat.com>
3970 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3971 Avoid warning spew if error == NULL
3973 2007-12-07 Alexander Larsson <alexl@redhat.com>
3976 Update docs wrt etags
3978 2007-12-06 Alexander Larsson <alexl@redhat.com>
3981 Include sys/types.h for dev_t (#501919)
3983 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3987 Make abicheck and pltcheck pass.
3989 2007-12-05 Alexander Larsson <alexl@redhat.com>
3992 * giomodule-priv.h: Added.
3993 * glocaldirectorymonitor.c:
3994 * glocalfilemonitor.c:
3995 * gunionvolumemonitor.c:
3997 Actually add the declaration of _g_io_modules_ensure_loaded
3999 2007-12-05 Alexander Larsson <alexl@redhat.com>
4001 * gdatainputstream.c:
4006 * glocaldirectorymonitor.c:
4007 * glocalfilemonitor.c:
4008 * gunionvolumemonitor.c:
4010 Make g_io_modules_ensure_loaded a private function and
4011 don't pass in the dirname. This means we can do magic
4012 directory finding in the win32 version.
4013 Export the actual load-modules-in-directory code so that
4014 gvfs can reuse that.
4016 2007-12-05 Alexander Larsson <alexl@redhat.com>
4018 * gbufferedinputstream.c:
4019 * gbufferedoutputstream.c:
4022 * gfileenumerator.[ch]:
4023 * gfileinputstream.c:
4024 * gfileoutputstream.[ch]:
4025 * gfilterinputstream.c:
4026 * gfilteroutputstream.c:
4027 * ginputstream.[ch]:
4029 * glocalfileenumerator.c:
4030 * glocalfileinputstream.c:
4031 * glocalfileoutputstream.c:
4032 * gmemoryinputstream.c:
4033 * gmemoryoutputstream.c:
4034 * goutputstream.[ch]:
4037 * gunixinputstream.c:
4038 * gunixoutputstream.c:
4039 Rename all struct members named:
4040 read, write, close, truncate, or mount
4041 to foo_fn, as these are reserved names
4042 and could be defined as macros in libc.
4045 2007-12-04 Alexander Larsson <alexl@redhat.com>
4048 (g_output_stream_close):
4049 Only call flush if non-null.
4051 2007-11-30 Dan Winship <danw@gnome.org>
4053 * ginputstream.c (g_input_stream_set_pending): Make this take a
4054 GError and return a gboolean, and do the "outstanding operation"
4055 check (and the "stream is already closed" check) itself.
4056 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4058 * goutputstream.c (g_output_stream_set_pending)
4059 (g_output_stream_clear_pending): Likewise
4061 * gbufferedinputstream.c:
4062 * gfileinputstream.c:
4063 * gfileoutputstream.c: Update for that
4065 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4066 Like g_simple_async_report_error_in_idle, but takes a GError
4067 rather than building one.
4069 2007-11-30 Dan Winship <danw@gnome.org>
4071 * goutputstream.c: Don't cheat and unset the "pending" flag around
4072 inner calls. Instead, call the class method directly rather than
4073 the wrapper function that checks "pending"
4075 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4077 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4079 2007-12-03 Hans Breuer <hans@breuer.org>
4081 [start of port to win32/msvc]
4082 * gcancellable.c : HAVE_UNIST_H and _pipe()
4083 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4084 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4085 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4087 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4088 * glocalvfs.c : use HAVE_PWD_H
4089 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4090 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4091 * Makefile.am : added to EXTRA_DIST
4093 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4095 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4098 2007-12-03 Alexander Larsson <alexl@redhat.com>
4101 Handle OSX style xattrs API (#500506)
4103 2007-12-03 Alexander Larsson <alexl@redhat.com>
4107 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4109 2007-12-02 A. Walton <awalton@svn.gnome.org>
4113 Documentation accuracy fixes.
4115 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4117 * gioenumtypes.c.template: Fix typo.
4119 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4121 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4123 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4125 * gdirectorymonitor.c:
4126 * gfilemonitor.c: Add properties
4128 * gbufferedoutputstream.c: Don't mark buffer-size property
4131 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4133 * gbufferedoutputstream.c: Add auto-grow property.
4135 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4137 * *.c: Unify the capitalization of section headings.
4139 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4141 * gmountoperation.c: Add properties
4143 * gdatainputstream.c: Turn byte-order and newline-type into
4146 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4148 * gioenumtypes.[hc].template: Templates for enum registration
4150 * Makefile.am: Generate gioenumtypes.[hc]
4152 * gio.h: Include gioenumtypes.h
4154 * gfile.h: Add some explicit nicks.
4156 * gio.symbols: Add new symbols
4158 * pltcheck.sh: Adjust
4160 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4162 * *.c: Explain etags and link to the explanation
4164 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4166 * *.c: Explain I/O priority.
4168 * *.c: More coding style fixes.
4170 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4172 * gasyncresult.c: Add another paragraph to the intro,
4173 adjust coding style of example.
4175 2007-11-29 A. Walton <awalton@svn.gnome.org>
4178 Fixes unknown meaning in GAppLaunchContext docs.
4180 Clarify asynchronous ops.
4182 Fix entity tag docs.
4185 Provides missing gtk-doc section, fixes API docs slighly.
4186 * gsimpleasyncresult.c:
4187 Fill in missing info in docs.
4188 * gunixinputstream.c:
4189 * gunixoutputstream.c:
4190 Be more expressive in short description.
4192 Remove gtk-doc stubs for non-public API.
4194 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4196 * *.c: Coding style fixups
4198 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4200 * inotify/inotify-helper.c: Don't export the lock from libgio.
4202 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4205 * abicheck.sh: Fix copy-and-paste leftovers
4207 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4209 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4211 2007-11-28 Alexander Larsson <alexl@redhat.com>
4215 Removed unnecessary file
4217 * gdesktopappinfo.[ch]:
4220 * glocaldirectorymonitor.[ch]:
4222 * glocalfileenumerator.[ch]:
4223 * glocalfileinputstream.[ch]:
4224 * glocalfilemonitor.[ch]:
4225 * glocalfileoutputstream.[ch]:
4227 * gnativevolumemonitor.c:
4228 * gpollfilemonitor.[ch]:
4229 * gunionvolumemonitor.[ch]:
4232 * gunixvolumemonitor.[ch]:
4235 * inotify/ginotifydirectorymonitor.[ch]:
4236 * inotify/ginotifyfilemonitor.[ch]:
4237 * inotify/inotify-helper.c:
4238 Append _ to all internal functions
4242 Export symbols needed for modules
4244 2007-11-28 Alexander Larsson <alexl@redhat.com>
4247 * abicheck.sh: Added.
4248 * makegioalias.pl: Added.
4249 * pltcheck.sh: Added.
4250 * gio.symbols: Added.
4253 Initial work on adding symbol handling.
4256 Correct ifdef guard name
4259 * inotify/Makefile.am:
4260 * xdgmime/Makefile.am:
4261 Include toplevel Makefile.decl
4263 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4265 * gcontenttype.c: Move doc comments to the unix section.
4267 * *.[hc]: More trivial doc corrections.
4269 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4271 * gpollfilemonitor.c:
4275 * gdesktopappinfo.c:
4280 * gdatainputstream.c:
4281 * gdatainputstream.h:
4282 * gdataoutputstream.c:
4283 * gdataoutputstream.h:
4284 * gfileinfo.h: Doc cleanups
4286 2007-11-28 Andre Klapper <a9016009@gmx.de>
4288 * gdesktopappinfo.c: Fix a typo.
4290 2007-11-27 Andre Klapper <a9016009@gmx.de>
4292 * glocalfileoutputstream.c: Fix a typo.
4294 2007-11-27 Alexander Larsson <alexl@redhat.com>
4297 Don't include removed headers
4299 2007-11-27 Alexander Larsson <alexl@redhat.com>
4302 * gsocketinputstream.[ch]: Removed.
4303 * gsocketoutputstream.[ch]: Removed.
4304 * gunixinputstream.[ch]: Added.
4305 * gunixoutputstream.[ch]: Added.
4306 Renamed GSocket*Stream to GUnix*Stream and made
4307 it unix-only, since its not really only for sockets
4308 and it only works on unix (but is highly useful there).
4310 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4316 * gbufferedinputstream.c:
4317 * gbufferedinputstream.h:
4318 * gbufferedoutputstream.c:
4319 * gbufferedoutputstream.h:
4323 * gdatainputstream.c:
4324 * gdatainputstream.h:
4325 * gdataoutputstream.c:
4326 * gdataoutputstream.h:
4327 * gdirectorymonitor.c:
4328 * gdirectorymonitor.h:
4335 * gfileenumerator.c:
4336 * gfileenumerator.h:
4341 * gfileinputstream.c:
4342 * gfileinputstream.h:
4345 * gfilenamecompleter.c:
4346 * gfilenamecompleter.h:
4347 * gfileoutputstream.c:
4348 * gfileoutputstream.h:
4349 * gfilterinputstream.c:
4350 * gfilterinputstream.h:
4351 * gfilteroutputstream.c:
4352 * gfilteroutputstream.h:
4365 * glocalfileoutputstream.c:
4366 * gmemoryinputstream.c:
4367 * gmemoryinputstream.h:
4368 * gmemoryoutputstream.c:
4369 * gmemoryoutputstream.h:
4370 * gmountoperation.c:
4371 * gmountoperation.h:
4374 * gpollfilemonitor.c:
4377 * gsimpleasyncresult.c:
4378 * gsimpleasyncresult.h:
4379 * gsocketinputstream.c:
4380 * gsocketinputstream.h:
4381 * gsocketoutputstream.c:
4382 * gsocketoutputstream.h:
4389 * gunixvolumemonitor.c:
4398 Bumps documentation to 93% symbol coverage, touching most
4399 of the public files. Fixes broken function documentation prototypes.
4400 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4401 gtk-doc headers in private files.
4403 2007-11-27 Jürg Billeter <j@bitron.ch>
4405 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4406 (g_buffered_input_stream_read_byte):
4407 * gbufferedinputstream.h:
4408 New functions for efficient access to buffer and simple single byte
4411 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4412 (g_data_input_stream_read_until):
4413 * gdatainputstream.h:
4414 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4415 read_until with multiple stop chars.
4417 2007-11-27 Alexander Larsson <alexl@redhat.com>
4421 * inotify/Makefile.am:
4422 Use the user-specified giomoduledir
4424 2007-11-27 Alexander Larsson <alexl@redhat.com>
4428 Add catch-all gio.h header
4429 Don't install gdummyfile.h
4431 2007-11-26 Alexander Larsson <alexl@redhat.com>
4433 * Makefile.am (gioinclude_HEADERS):
4434 Remove trailing whitespace
4436 2007-11-26 Alexander Larsson <alexl@redhat.com>
4438 Merge gio-standalone into glib
4440 2007-11-25 Christian Kellner <gicmo@gnome.org>
4442 * gio/goutputstream.c:
4443 Fix small mistake in the docs.
4445 2007-11-21 Christian Persch <chpe@gnome.org>
4447 * gio/glocalfile.c: (g_local_file_trash):
4448 Convert filenames to UTF-8 for GError.
4449 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4450 as per xdg base dir spec.
4452 2007-11-21 Christian Persch <chpe@gnome.org>
4454 * gio/gdesktopappinfo.c:
4455 Use that g_key_file_to_data cannot fail.
4457 Use stock defines for the key file group and key names.
4460 2007-11-21 Alexander Larsson <alexl@redhat.com>
4463 (copy_stream_with_progress):
4464 Make sure we do a final progress callback with
4465 the full total size.
4467 2007-11-21 Alexander Larsson <alexl@redhat.com>
4470 Export g_file_copy_attributes
4471 Remove padding as its not needed for interfaces
4473 2007-11-20 Alexander Larsson <alexl@redhat.com>
4478 Add G_IO_ERROR_WOULD_MERGE for
4479 copy/move dir on dir with overwrite.
4481 2007-11-20 Alexander Larsson <alexl@redhat.com>
4484 * gio/glocalfileinfo.c:
4485 Add COPY_NAME (this is an optional
4486 non-modified utf8 version of the name) that
4489 2007-11-20 Alexander Larsson <alexl@redhat.com>
4491 * gio/glocalfileenumerator.c:
4492 Report errors as GIOError, not GFileError
4494 2007-11-16 Alexander Larsson <alexl@redhat.com>
4496 * gio/glocalfileoutputstream.c:
4497 * gio/gwin32appinfo.c:
4498 Fix typos in strings.
4499 Patch from Luca Ferretti <elle.uca@libero.it>
4501 2007-11-15 Alexander Larsson <alexl@redhat.com>
4504 Post release version bump
4506 === gio-standalone 0.1.2 ===
4508 2007-11-15 Alexander Larsson <alexl@redhat.com>
4510 * docs/reference/gio/Makefile.am:
4511 Fix up distcheck by removing weird
4517 2007-11-14 Alexander Larsson <alexl@redhat.com>
4519 * gio/gdesktopappinfo.c:
4520 * gio/glocaldirectorymonitor.c:
4522 * gio/glocalfileinfo.c:
4523 * gio/inotify/inotify-sub.c:
4524 * programs/gio-cat.c:
4525 * programs/gio-copy.c:
4526 * programs/gio-info.c:
4527 * programs/gio-ls.c:
4528 * programs/gio-monitor-dir.c:
4529 * programs/gio-monitor-file.c:
4530 * programs/gio-mount.c:
4531 * programs/gio-move.c:
4532 * programs/gio-rm.c:
4533 * programs/gio-save.c:
4534 * programs/gio-trash.c:
4535 Leak fixes from Kjartan Maraas
4537 2007-11-14 Alexander Larsson <alexl@redhat.com>
4539 * gio/fam/fam-helper.c:
4541 * gio/glocalfileinfo.c:
4545 * gio/inotify/inotify-diag.c:
4546 * gio/inotify/inotify-kernel.c:
4547 Various code cleanups from Kjartan Maraas
4549 2007-11-14 Alexander Larsson <alexl@redhat.com>
4551 * gio/gioscheduler.c:
4553 Set up threadpool so that we cache 2 unused
4554 idle threads for at 15 secs. This means we
4555 will reuse thread-local data (like dbus connections)
4558 2007-11-14 Alexander Larsson <alexl@redhat.com>
4560 * gio/fam/fam-helper.c:
4561 * gio/fam/gfamdirectorymonitor.c:
4562 * gio/fam/gfamfilemonitor.c:
4564 * gio/gcontenttype.c:
4565 * gio/gdatainputstream.c:
4566 * gio/gdataoutputstream.c:
4570 * gio/gfileattribute.h:
4571 * gio/gfileenumerator.c:
4573 * gio/ginputstream.c:
4576 * gio/glocalfileinfo.c:
4577 * gio/goutputstream.c:
4578 * gio/gpollfilemonitor.c:
4579 * gio/gsimpleasyncresult.c:
4580 * gio/gunixmounts.c:
4581 * gio/gunixmounts.h:
4582 * gio/inotify/ginotifydirectorymonitor.c:
4583 * gio/inotify/ginotifyfilemonitor.c:
4584 * gio/inotify/inotify-diag.c:
4585 * gio/inotify/inotify-kernel.c:
4586 * gio/inotify/inotify-path.c:
4588 * gio/test-streams.c:
4589 * programs/gio-info.c:
4590 * programs/gio-monitor-dir.c:
4591 * programs/gio-monitor-file.c:
4592 Various code cleanups from Kjartan Maraas
4594 2007-11-13 Alexander Larsson <alexl@redhat.com>
4597 Handle the uri-scheme calls for dummy files
4599 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4601 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4602 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4603 to avoid clash with the C++ keyword.
4605 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4607 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4608 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4610 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4612 * gio/glocaldirectorymonitor.c:
4613 * gio/glocalfilemonitor.c:
4614 * gio/gunionvolumemonitor.c:
4615 Don't use g_once_init_*() for initializations that could fail and
4616 could leave the initialization variable set to 0 but use GOnce.
4617 This prevents a deadlock on the second call when trying to create
4618 a monitor and no monitor type is available. Thanks to Sven Herzberg
4621 2007-11-11 Sven Herzberg <sven@imendio.com>
4623 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4624 #ifdef (make it work on MacOS X again)
4626 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4628 Fixes Changelog for last two commits (sorry guys).
4630 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4632 * gio/gbufferedinputstream.c:
4633 * gio/gdatainputstream.c:
4635 * gio/gfileoutputstream.c:
4636 * gio/gfilterinputstream.c:
4637 * gio/glocalfileinputstream.c:
4640 More consistency fixes in g*stream.c files.
4641 Significant clean of gfile's documentation, filling in of
4642 asynchronous operations documentation.
4644 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4646 * gio/gasyncresult.c:
4647 * gio/gbufferedinputstream.c:
4648 * gio/gbufferedoutputstream.c:
4649 * gio/gcancellable.c:
4650 * gio/gcontenttype.c:
4651 * gio/gdatainputstream.c:
4652 * gio/gdataoutputstream.c:
4653 * gio/gdesktopappinfo.c:
4656 * gio/gfileattribute.c:
4657 * gio/gio/gfileenumerator.c:
4659 * gio/gfileinputstream.c:
4660 * gio/gfilemonitor.c:
4661 * gio/gfileoutputstream.c:
4662 * gio/ginputstream.c:
4664 * gio/gioscheduler.c:
4665 * gio/gloadableicon.c:
4666 * gio/glocalfileoutputstream.c:
4667 * gio/gmemoryoutputstream.c:
4668 * gio/gmountoperation.c:
4669 * gio/goutputstream.c:
4671 * gio/gsimpleasyncresult.c:
4672 * gio/gunionvolumemonitor.c:
4673 * gio/gunixmounts.c:
4674 * gio/gunixvolume.c:
4678 * gio/gvolumemonitor.c:
4679 Updated documentation stubs, working towards consistency and
4682 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4684 * gio/gmemoryoutputstream.c:
4685 * gio/gmemoryoutputstream.h:
4686 Change g_memory_output_stream_set_free_on_close() to
4687 g_memory_output_stream_set_free_data() as this makes more sense and
4688 is more consistent with GMemoryInputStream.
4690 2007-11-07 Alexander Larsson <alexl@redhat.com>
4697 Change how we find the default vfs so that
4698 we can handle a gvfs failing to init
4700 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4702 * gio/gbufferedoutputstream.c:
4703 * gio/gdatainputstream.c:
4704 * gio/gdataoutputstream.c:
4705 * gio/gfileinputstream.c:
4706 * gio/gfileoutputstream.c:
4707 * gio/gfilterinputstream.c:
4708 * gio/gfilteroutputstream.c:
4709 * gio/ginputstream.c:
4710 * gio/gmemoryinputstream.c:
4711 * gio/gmemoryoutputstream.c:
4712 * gio/goutputstream.c:
4713 * gio/gsimpleasyncresult.c:
4714 * gio/gsocketinputstream.c:
4715 * gio/gsocketoutputstream.c:
4716 Add guards to the remaining public functions, add a TODO for
4717 an unimplemented function and remove some useless guards.
4719 2007-11-07 Alexander Larsson <alexl@redhat.com>
4722 Autoconf checks for the various types of
4723 getpwuid_r and getgrgid_r
4725 * gio/glocalfileinfo.c:
4726 Use the autoconf checks from above
4728 2007-11-07 Alexander Larsson <alexl@redhat.com>
4731 (g_local_file_query_filesystem_info):
4732 Some fixes for the statvfs case
4734 2007-11-07 Alexander Larsson <alexl@redhat.com>
4737 (g_local_file_query_filesystem_info):
4738 Pick the "best" of statfs / statvfs for the system
4739 if both are availible.
4741 2007-11-07 Alexander Larsson <alexl@redhat.com>
4743 Solaris fixes from Halton.Huo@Sun.COM:
4750 * gio/glocalfileinfo.c:
4751 Fix for solaris definition of getpwuid_r
4753 * gio/test-streams.c:
4754 Use G_GNUC_PRETTY_FUNCTION
4756 2007-11-07 Alexander Larsson <alexl@redhat.com>
4758 * gio/gdesktopappinfo.c:
4759 (update_default_list):
4760 Remove double semicolon.
4761 Patch from Jens Granseuer
4763 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4765 * docs/reference/gio/gio-sections.txt:
4766 * gio/gbufferedinputstream.c:
4767 * gio/gbufferedinputstream.h:
4768 * gio/gdatainputstream.c:
4769 * gio/gfileenumerator.c:
4770 * gio/gioscheduler.c:
4771 * gio/gunionvolumemonitor.c:
4773 * programs/gio-save.c:
4774 Fix typo: availible -> available. Unfortuntely this breaks API
4775 and ABI as g_buffered_input_stream_get_available() was renamed.
4777 * gio/gunixmounts.c:
4778 * gio/gbufferedinputstream.c:
4779 Add guards for public functions.
4781 2007-11-06 Ross Burton <ross@openedhand.com>
4783 * docs/reference/gio/Makefile.am:
4784 Fix invalid += usage which automake 1.10 doesn't like.
4786 2007-11-06 Alexander Larsson <alexl@redhat.com>
4789 (g_app_launch_context_class_init):
4792 Patch from Ross Burton
4794 2007-11-06 Alexander Larsson <alexl@redhat.com>
4797 Post release version bump
4799 === gio-standalone 0.1.1 ===
4801 2007-11-06 Alexander Larsson <alexl@redhat.com>
4804 Bump version to 0.1.1
4806 * gio/gsimpleasyncresult.c:
4807 (g_simple_async_result_set_from_error):
4808 Remove bogus g_return_if_fail
4810 2007-11-06 Alexander Larsson <alexl@redhat.com>
4813 The name is gio-standalone
4816 Add top src/builddir to includedir
4818 2007-11-06 Alexander Larsson <alexl@redhat.com>
4820 * docs/reference/gio/gio-sections.txt:
4822 * gio/gbufferedinputstream.c:
4823 * gio/gbufferedoutputstream.c:
4824 * gio/gcancellable.c:
4825 * gio/gdatainputstream.h:
4826 * gio/gdataoutputstream.c:
4827 * gio/gdataoutputstream.h:
4828 * gio/gdirectorymonitor.c:
4830 * gio/gfileattribute.c:
4831 * gio/gfileattribute.h:
4832 * gio/gfileenumerator.c:
4833 * gio/gfileenumerator.h:
4836 * gio/gfileinputstream.h:
4837 * gio/gfilemonitor.c:
4838 * gio/gfileoutputstream.h:
4839 * gio/glocalfilemonitor.h:
4840 * gio/glocalfileoutputstream.h:
4841 * gio/gmemoryinputstream.c:
4842 * gio/gmemoryoutputstream.c:
4843 * gio/gmountoperation.c:
4844 * gio/goutputstream.c:
4845 * gio/goutputstream.h:
4847 * gio/gsimpleasyncresult.c:
4848 * gio/gunixmounts.c:
4849 * gio/gunixmounts.h:
4851 * gio/inotify/inotify-helper.c:
4852 Fix gtk-doc warnings
4854 Patch from Ross Burton
4856 2007-11-06 Alexander Larsson <alexl@redhat.com>
4858 * gio/gfilenamecompleter.c:
4859 (g_filename_completer_get_completions):
4862 * gio/gunixvolume.c:
4863 Remove unused function
4865 Patches from Ross Burton
4867 2007-11-06 Alexander Larsson <alexl@redhat.com>
4872 Padding not needed for interfaces
4874 2007-11-06 Alexander Larsson <alexl@redhat.com>
4876 * gio/gfilemonitor.c:
4880 Make giotypes.h an internal file
4883 * gio/gbufferedinputstream.h:
4884 * gio/gbufferedoutputstream.h:
4885 * gio/gcancellable.h:
4886 * gio/gdatainputstream.h:
4887 * gio/gdataoutputstream.h:
4888 * gio/gdirectorymonitor.c:
4889 * gio/gdirectorymonitor.h:
4894 * gio/gfileattribute.h:
4895 * gio/gfileenumerator.h:
4900 * gio/gfilemonitor.c:
4901 * gio/gfilemonitor.h:
4902 * gio/gfilenamecompleter.c:
4903 * gio/gfilenamecompleter.h:
4904 * gio/gfilterinputstream.h:
4905 * gio/gfilteroutputstream.h:
4906 * gio/ginputstream.h:
4907 * gio/gmemoryinputstream.h:
4908 * gio/gmemoryoutputstream.h:
4909 * gio/gmountoperation.c:
4910 * gio/gmountoperation.h:
4911 * gio/gnativevolumemonitor.c:
4912 * gio/goutputstream.h:
4915 * gio/gsimpleasyncresult.c:
4916 * gio/gsimpleasyncresult.h:
4917 * gio/gsocketinputstream.h:
4918 * gio/gsocketoutputstream.h:
4919 * gio/gthemedicon.c:
4920 * gio/gthemedicon.h:
4924 * gio/gvolumemonitor.c:
4925 * gio/gvolumemonitor.h:
4926 Add padding in classes where it seems useful
4927 Don't include giotypes.h from public headers
4928 Move in Class definitions into c file where possible
4933 2007-11-06 Alexander Larsson <alexl@redhat.com>
4935 * docs/reference/gio/gio-docs.xml:
4936 Better structure for API docs
4938 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4941 * gio/gloadableicon.c:
4942 * gio/gsimpleasyncresult.c:
4943 * gio/gthemedicon.c:
4944 Add some more guards to public functions. Only files missing are now
4947 2007-11-06 Alexander Larsson <alexl@redhat.com>
4949 * docs/reference/gio/gio-docs.xml:
4950 Remove old files, add missing ones
4952 2007-11-06 Alexander Larsson <alexl@redhat.com>
4954 * docs/reference/gio/gio-sections.txt:
4957 Hide implementation classes
4959 * gio/gdriveprivate.h:
4960 * gio/gvolumeprivate.h:
4961 Remove non-existing function declarations
4963 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4966 Fix compilation warnings and add guards to the new functions.
4968 * gio/gasyncresult.c:
4970 Add guards to the public functions.
4973 Implement get_path().
4975 2007-11-06 Alexander Larsson <alexl@redhat.com>
4977 * gio/gfilenamecompleter.c:
4978 Make g_filename_completer_get_completions
4979 return char ** instead of GList for
4982 * docs/reference/gio/gio-docs.xml:
4983 * docs/reference/gio/gio-sections.txt:
4985 * gio/gasyncresult.c:
4986 * gio/gbufferedinputstream.c:
4987 * gio/gbufferedoutputstream.c:
4988 * gio/gcancellable.c:
4989 * gio/gcontenttype.c:
4990 * gio/gdatainputstream.c:
4991 * gio/gdataoutputstream.c:
4992 * gio/gdesktopappinfo.c:
4993 * gio/gdirectorymonitor.c:
4997 * gio/gfileattribute.c:
4998 * gio/gfileenumerator.c:
5001 * gio/gfileinputstream.c:
5002 * gio/gfilemonitor.c:
5003 * gio/gfilenamecompleter.c:
5004 * gio/gfilenamecompleter.h:
5005 * gio/gfileoutputstream.c:
5006 * gio/gfilterinputstream.c:
5008 * gio/ginputstream.c:
5010 * gio/gioscheduler.c:
5011 * gio/gloadableicon.c:
5012 * gio/glocaldirectorymonitor.c:
5014 * gio/glocalfileinputstream.c:
5015 * gio/glocalfilemonitor.c:
5016 * gio/glocalfileoutputstream.c:
5018 * gio/gmemoryinputstream.c:
5019 * gio/gmemoryoutputstream.c:
5020 * gio/gmountoperation.c:
5021 * gio/goutputstream.c:
5022 * gio/gpollfilemonitor.c:
5024 * gio/gsimpleasyncresult.c:
5025 * gio/gsocketinputstream.c:
5026 * gio/gsocketoutputstream.c:
5027 * gio/gthemedicon.c:
5028 * gio/gunionvolumemonitor.c:
5030 * gio/gunixmounts.c:
5031 * gio/gunixvolume.c:
5032 * gio/gunixvolumemonitor.c:
5036 * gio/gvolumemonitor.c:
5037 * gio/gwin32appinfo.c:
5038 Add (mostly stub) doc strings to public functions.
5039 Patch from Andrew Walton (awalton@gmail.com)
5041 2007-11-06 Alexander Larsson <alexl@redhat.com>
5043 * gio/gappinfo.[ch]:
5044 Added GAppLaunchContext object and pass that to launch.
5045 This allows simple implementation of both
5046 launch-on-screen and startup notification via a gtk+
5047 subclass of GAppLaunchContext
5049 * gio/gdesktopappinfo.c:
5050 Implement GAppLaunchContext API
5052 * gio/gwin32appinfo.c:
5055 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5057 * gio/gmountoperation.c:
5058 Add some guards to GMountOperation's public functions.
5060 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5064 * gio/gcancellable.c:
5065 * gio/gdirectorymonitor.c:
5067 * gio/gfileenumerator.c:
5068 * gio/gfilemonitor.c:,
5069 * gio/gfilenamecompleter.c:
5072 * gio/gioscheduler.c:
5076 * gio/gvolumemonitor.c:
5077 Add even more guards to various public functions.
5079 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5082 Add guards to the public functions of GAppInfo.
5084 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5086 * gio/gcontenttype.c:
5087 Add some more guards for public functions.
5089 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5091 * gio/fam/fam-module.c:
5092 * gio/fam/gfamdirectorymonitor.c:
5093 * gio/fam/gfamdirectorymonitor.h:
5094 * gio/fam/gfamfilemonitor.c:
5095 * gio/fam/gfamfilemonitor.h:
5096 * gio/inotify/ginotifydirectorymonitor.c:
5097 * gio/inotify/ginotifydirectorymonitor.h:
5098 * gio/inotify/ginotifyfilemonitor.c:
5099 * gio/inotify/ginotifyfilemonitor.h:
5100 Add proper copyright information and remove an unused variable
5101 in the GInotifyFileMonitor constructor.
5103 * gio/gcancellable.c:
5104 Add a guard for a public function and an assertion to prevent
5105 an undefined program state.
5107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5109 * gio/gfileattribute.c:
5110 Don't run into an assertion if the given attribute value is NULL
5111 in g_file_attribute_value_get_*() but instead return a fallback
5112 value that makes sense in most situations. Passing them a attribute
5113 value with the wrong type will still run into an assertion.
5115 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5117 * gio/gfileattribute.c:
5119 Add even more guards to the public functions. Also fix the refcounting
5120 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5121 let g_file_info_list_attributes() filter the attributes by namespace
5122 instead of simply ignoring the namespace parameter.
5124 2007-11-03 Sven Herzberg <sven@imendio.com>
5126 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5127 (This makes gio work on MacOS X again)
5129 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5132 Build the gio subdirectory before the docs. Otherwise the build will
5135 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5136 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5137 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5138 Add guards to the public functions.
5140 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5142 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5143 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5144 to prevent a compiler warning.
5146 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5147 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5148 return something in the non-void function find_topdir_for().
5150 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5157 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5159 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5160 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5161 * gwin32appinfo.c (g_win32_app_info_launch):
5162 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5163 envp_for_startup_id, g_desktop_app_info_launch,
5164 g_desktop_app_info_launch_uris):
5166 Give an opaque 'startup_id' string instead of 'envp'.
5167 Support empty file lists for launching new windows.
5168 Fix infinite recursion bug when launching URIs.
5170 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5173 Add guard to the new g_file_get_uri_scheme() function.
5175 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5178 Convert a g_return_val_if_fail() to setting the GError instead as
5179 otherwise applications have to verify the parameter before otherwise
5180 and the parameter might come directly from the user.
5182 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5184 * gio/inotify/ginotify*.[ch]:
5185 Add missing copyright information.
5187 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5190 Add guards in the beginning of public functions to check for valid
5191 parameters and fix a bug in copy_stream_with_progress() that could've
5192 caused writing less bytes than reading.
5193 * gio/glocalfileinfo.c:
5194 Check for a NULL parameter and set the GError accordingly then.
5195 * gio/goutputstream.c:
5196 Fix the same bug as in gfile.c that could've caused writing less bytes
5197 than reading in g_output_stream_real_splice().
5199 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5202 Use the correct gvolumeprivate.h naming
5204 2007-11-01 Christian Kellner <gicmo@gnome.org>
5207 Remove leftover "$(daemon_sources)" entry.
5209 2007-11-01 Christian Kellner <gicmo@gnome.org>
5214 Add copyright information to source files.
5216 2007-11-01 Alexander Larsson <alexl@redhat.com>
5220 Add g_file_get_uri_scheme
5222 2007-11-01 Alexander Larsson <alexl@redhat.com>
5225 * gio/gdesktopappinfo.c:
5226 * gio/gwin32appinfo.c:
5227 Add g_app_info_get_default_for_uri_scheme.
5229 2007-11-01 Alexander Larsson <alexl@redhat.com>
5232 Correct filename for gdriveprivate.h
5234 2007-10-31 Alexander Larsson <alexl@redhat.com>
5237 Rename id:value to id:file
5240 * gio/glocalfileinfo.c:
5243 2007-10-31 Alexander Larsson <alexl@redhat.com>
5245 * gio/gunixvolume.c:
5247 Remove g_volume_get_platform_id, as thats not
5248 needed with the simpler union volume monitor
5250 2007-10-31 Alexander Larsson <alexl@redhat.com>
5253 * gio/guniondrive.[ch]: Removed.
5254 * gio/gunionvolume.[ch]: Removed.
5255 Remove GUnionDrive/Volume
5257 * gio/gunionvolumemonitor.c:
5258 Simplify union volume monitor, now we
5259 only have one native volume monitor and
5260 we use the actual volumes/drives from the
5261 child monitors instead of wrapping them
5263 * gio/gnativevolumemonitor.[ch]:
5264 Base class for native volume monitors.
5265 Includes priority and get_volume_for_mountpoint
5268 Add g_file_find_enclosing_volume
5271 Remove volume name fs attribute
5272 Add readonly fs attribute
5275 Implement readonly attribute
5276 remove volume name attribute
5277 Implement find_enclosing volume
5279 * gio/gunixmounts.c:
5280 Add a volume for "/".
5282 * gio/gunixvolume.[ch]:
5283 Set better name for /
5285 * gio/gunixvolumemonitor.[ch]:
5286 Derive from GNativeVolumeMonitor
5287 Implement get_volume_for_mountpoint
5290 GVolume typedef moved to gfile.h
5292 * gio/gvolumeprivate.h:
5293 Add g_volume_get_for_mount_path
5295 2007-10-31 Alexander Larsson <alexl@redhat.com>
5297 * gio/gunixmounts.[ch]:
5298 Add cache info to unix mount listers
5299 Make getmntent use threadsafe
5300 Add is_system_internal attribute for GUnixMount
5302 * gio/gunixvolume.c:
5303 (g_unix_volume_new):
5304 Use is_system_internal instead of own code
5306 * gio/glocaldirectorymonitor.c:
5307 * gio/gunixvolumemonitor.c:
5308 Update to new gunixmounts API
5313 2007-10-30 Alexander Larsson <alexl@redhat.com>
5316 Add volume name fsinfo attribute
5319 Read volume name info
5321 * gio/gunionvolumemonitor.c:
5322 Fix infinite loops when finalizing a union volume monitor
5324 2007-10-30 Alexander Larsson <alexl@redhat.com>
5326 * gio/goutputstream.[ch]:
5327 Add splice() with default implementation
5329 * gio/gsocketoutputstream.c:
5330 (g_socket_output_stream_write):
5331 Return error on cancellation correctly.
5333 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5335 * gio/glocalfile.c (g_local_file_trash):
5336 Do not leak a string.
5338 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5340 * gio/gfile.c (g_file_load_contents):
5341 Unref the stream after closing it.
5343 2007-10-25 Alexander Larsson <alexl@redhat.com>
5345 * gio/gioscheduler.h:
5348 2007-10-25 Alexander Larsson <alexl@redhat.com>
5352 Add g_file_has_uri_scheme and implement for local files
5354 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5356 * gio/gdesktopappinfo.c: do not leak a string.
5358 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5360 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5361 (g_local_directory_monitor_new):
5362 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5363 (g_local_file_monitor_new):
5364 Only look for the monitor type that should be used the first time
5365 and use g_qsort_with_data() instead of our own bubble sort
5368 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5371 * gio/fam/Makefile.am:
5372 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5373 * gio/fam/fam-helper.h:
5374 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5375 * gio/fam/gfamdirectorymonitor.c:
5376 * gio/fam/gfamdirectorymonitor.h:
5377 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5378 * gio/fam/gfamfilemonitor.h:
5379 * gio/glocaldirectorymonitor.c:
5380 * gio/glocaldirectorymonitor.h:
5381 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5382 * gio/glocalfilemonitor.h:
5383 * gio/inotify/Makefile.am:
5384 * gio/inotify/ginotifydirectorymonitor.c:
5385 * gio/inotify/ginotifydirectorymonitor.h:
5386 * gio/inotify/ginotifyfilemonitor.c:
5387 * gio/inotify/ginotifyfilemonitor.h:
5388 Implement the FAM and Inotify monitors as
5389 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5390 their own GIO module. GLocal(Directory|File)Monitor will use the
5391 monitor with the highest rank that is supported on that machine.
5393 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5396 Change GIO module dir to $(libdir)/gio/modules and change
5397 the log domain from GVFS to GIO. Also only export symbols starting
5398 with g_ in the resulting library.
5399 * gio/test-streams.c: (main):
5400 Set log handler for the GIO log domain.
5402 2007-10-22 Alexander Larsson <alexl@redhat.com>
5404 * gio/gfilenamecompleter.[ch]:
5405 Add g_filename_completer_set_dirs_only
5407 2007-10-22 Alexander Larsson <alexl@redhat.com>
5410 * gio/gurifuncs.[ch]:
5411 Add some simple URI helpers
5413 * gio/gfilenamecompleter.[ch]:
5414 Added object for filename (parse name actually) completion
5417 Handle ~ in parse names
5419 2007-10-17 Alexander Larsson <alexl@redhat.com>
5422 * gio/glocalfileinfo.c:
5423 Add and implement id:value attribute
5425 2007-10-17 Alexander Larsson <alexl@redhat.com>
5428 * gio/guniondrive.c:
5430 Add and implement g_drive_has_volumes
5432 2007-10-17 Alexander Larsson <alexl@redhat.com>
5435 * gio/glocalfileinfo.[ch]:
5436 Add unix:is_mountpoint and implement for local files
5438 2007-10-16 Alexander Larsson <alexl@redhat.com>
5440 * gio/gunionvolumemonitor.c:
5441 (g_union_volume_monitor_init):
5442 Fix up the unix type getting so that it works with gcc
5444 2007-10-12 Alexander Larsson <alexl@redhat.com>
5447 * gio/glocalfileinfo.c:
5448 Add thumbnail:failed to file info
5450 2007-10-12 Richard Hult <richard@imendio.com>
5452 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5453 optimizing away the get_type call (happens with some gcc versions,
5454 like the one shipped with OS X 10.4).
5456 2007-10-12 Alexander Larsson <alexl@redhat.com>
5458 * gio/glocalfileinfo.c:
5459 (_g_local_file_info_set_attribute):
5460 Fix build if not HAVE_XATTR
5461 Patch from Milosz Derezynski <internalerror@gmail.com>
5463 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5465 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5466 around for review, otherwise I would have asked you before
5469 2007-10-11 Alexander Larsson <alexl@redhat.com>
5472 Add thumbnail:path attribute
5474 * gio/glocalfileinfo.c:
5475 Implement thumbnail:path for local files
5477 2007-10-11 Alexander Larsson <alexl@redhat.com>
5479 * gio/glocalfileinfo.c:
5480 (_g_local_file_info_get):
5481 Avoid duplicate icon names
5483 2007-10-11 Alexander Larsson <alexl@redhat.com>
5485 * gio/gthemedicon.[ch]:
5486 Change g_themed_icon_get_names return type to const
5488 2007-10-10 Alexander Larsson <alexl@redhat.com>
5490 * gio/glocalfileinfo.c:
5491 Don't reference freed memory
5493 2007-10-10 Alexander Larsson <alexl@redhat.com>
5495 * gio/gfileattribute.c:
5498 * gio/glocalfileinfo.c:
5501 2007-10-10 Alexander Larsson <alexl@redhat.com>
5504 Check for NULL icons
5506 * gio/gfileattribute.c:
5507 Don't dup when getting objects (same as for string attributes)
5509 * gio/gicon.c (g_icon_equal):
5510 Safely handle NULLs in equal
5512 2007-10-10 Alexander Larsson <alexl@redhat.com>
5515 Fix c++ compilation issues
5516 Patch from Milosz Derezynski <internalerror@gmail.com>
5518 2007-10-10 Alexander Larsson <alexl@redhat.com>
5520 * programs/gio-monitor-dir.c:
5521 Don't crash if dir monitor not supported.
5523 2007-10-09 Alexander Larsson <alexl@redhat.com>
5526 Add missing G_END_DECLS
5528 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5530 * gio/gfile.c: (g_file_set_display_name),
5531 (g_file_query_settable_attributes),
5532 (g_file_query_writable_namespaces):
5533 Return NULL not FALSE on errors as the return type is a pointer.
5535 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5537 * gio/glocalfile.c: (g_local_file_monitor_file):
5538 Don't call monitor_file on the default interface vtable (which
5539 is NULL) but simply return NULL. The caller, GFile, will create a
5540 polling monitor if NULL is returned.
5542 2007-10-09 Alexander Larsson <alexl@redhat.com>
5546 * gio-unix-2.0.pc.in:
5547 Add gio-unix-2.0.pc if OS_UNIX
5550 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5552 2007-10-09 Alexander Larsson <alexl@redhat.com>
5554 * gio/gunixmounts.[ch]:
5555 Make unix mount monitoring API sane.
5556 Now its just a object with mounts_changed
5557 and mountpoints_changed signals.
5559 * gio/glocaldirectorymonitor.c:
5560 * gio/gunixvolumemonitor.c:
5561 Use new mount monitor api
5563 2007-10-09 Alexander Larsson <alexl@redhat.com>
5565 * gio/gunixmounts.[ch]:
5566 Move guess type into one call for mounts and one for mountpoints
5569 * gio/gunixvolume.c:
5572 2007-10-09 Alexander Larsson <alexl@redhat.com>
5574 * gio/gunixmounts.[ch]:
5575 Remove _ prefix in preparation to make this semi-public
5576 Hide implementation of structs
5578 * gio/glocaldirectorymonitor.c:
5580 * gio/gunixvolume.c:
5581 * gio/gunixvolumemonitor.c:
5582 Update for above API changes
5584 2007-10-08 Alexander Larsson <alexl@redhat.com>
5587 Better polling fallback. This also handles the case where we have
5588 a monitor_file implementation, but it fails.
5590 2007-10-08 Alexander Larsson <alexl@redhat.com>
5594 * gio/gunixmounts.c:
5595 * programs/gio-monitor-dir.c:
5596 * programs/gio-monitor-file.c:
5597 Added cancellable to file monitoring calls.
5598 These are really sync calls and need this.
5600 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5602 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5603 (g_local_vfs_class_init):
5604 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5605 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5607 2007-10-05 Alexander Larsson <alexl@redhat.com>
5609 * gio/gdirectorymonitorprivate.h:
5610 * gio/gfilemonitorprivate.h:
5611 * gio/gdirectorymonitor.h:
5612 * gio/gfilemonitor.h:
5613 Remove *private.h and move to the public API, so that
5614 we can do implementations outside gio (such as in gvfs)
5616 * gio/gdirectorymonitor.c:
5617 * gio/gfilemonitor.c:
5618 * gio/glocaldirectorymonitor.c:
5619 * gio/gpollfilemonitor.c:
5620 * gio/inotify/inotify-helper.c:
5621 * gio/fam/fam-helper.c:
5622 Update to the new header names
5624 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5626 * gio/gdirectorymonitor.c:
5627 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5630 2007-10-04 Alexander Larsson <alexl@redhat.com>
5632 * gio/glocalfileinfo.c (get_access_rights):
5633 Set CAN_TRASH when we can move the file.
5634 We should really also check for a parent trash dir.
5636 2007-10-04 Alexander Larsson <alexl@redhat.com>
5638 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5639 Add can_trash access attribute
5641 2007-10-04 Alexander Larsson <alexl@redhat.com>
5644 (g_local_file_trash):
5645 Create info file first. This is per-spec and allows
5646 us to actually trash directories.
5648 2007-10-02 Alexander Larsson <alexl@redhat.com>
5650 * gio/gdesktopappinfo.c:
5651 Implement the new mime support code.
5652 Always set app as handling mimetype when being set as default for it
5654 2007-10-01 Alexander Larsson <alexl@redhat.com>
5656 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5657 Fix up check for xattrs:
5659 2007-10-01 Alexander Larsson <alexl@redhat.com>
5662 (g_app_info_set_as_default_for_extension):
5663 (g_app_info_add_supports_type):
5664 (g_app_info_can_remove_supports_type):
5665 (g_app_info_remove_supports_type):
5666 Make these fail nicely if not implemented
5668 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5670 * gio/glocalfileoutputstream.c:
5671 * gio/glocalfileoutputstream.h:
5676 * programs/gio-save.c:
5677 Add a GFileCreateFlags argument to operations that can create
5680 2007-10-01 Alexander Larsson <alexl@redhat.com>
5682 * gio/gappinfo.[ch]:
5683 * gio/gdesktopappinfo.c:
5684 Add more (stubbed out) mime API needed for nautilus
5686 2007-10-01 Alexander Larsson <alexl@redhat.com>
5689 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5690 Add g_app_info_set_as_default_for_extension.
5692 * gio/gdesktopappinfo.c:
5693 Dummy for g_app_info_set_as_default_for_extension
5694 Support flags in g_app_info_create_from_commandline
5696 * gio/gwin32appinfo.c:
5698 Update for API changes
5700 * gio/gthemedicon.c:
5701 Properly NULL-terminate list of icon names
5703 2007-09-28 Alexander Larsson <alexl@redhat.com>
5705 * gio/gloadableicon.h:
5706 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5708 2007-09-28 Alexander Larsson <alexl@redhat.com>
5711 Install headers in $includedir/gio-standalone/
5713 * gio-2.0.pc.in: Added.
5714 * gio-standalone.pc.in: Removed.
5717 Renamed pkg-config file to match glib (for future move)
5718 Update to the new include dir
5721 Add more TODO comments
5723 2007-09-28 Alexander Larsson <alexl@redhat.com>
5725 * gio/gdesktopappinfo.[ch]:
5726 Expose new_from_filename
5727 Add getter for is_hidden and handle it better
5729 2007-09-28 Alexander Larsson <alexl@redhat.com>
5731 * gio/gfileinfo.[ch]:
5732 Rename g_file_size_format_for_display to
5733 g_format_file_size_for_display.
5734 Now it doesn't have the g_file prefix, so we
5735 can later move it to glib.
5737 2007-09-28 Alexander Larsson <alexl@redhat.com>
5739 * gio/gappinfo.[ch]:
5740 Add g_app_info_get_id and g_app_info_get_executable.
5741 Make all getters non-reffing
5742 Make g_app_info_launch take GFile arguments.
5743 Add must_support_uris argument to g_app_info_get_default_for_type.
5745 * gio/gwin32appinfo.c:
5746 Update to GAppInfo api changes
5748 * gio/gdesktopappinfo.c:
5749 Update to GAppInfo api changes
5750 Implement supports_xdg_startup_notify
5752 * gio/gfileicon.c (g_file_icon_get_file):
5753 Make getter non-reffing.
5758 2007-09-27 Alexander Larsson <alexl@redhat.com>
5760 * gio/gfileinfo.[ch]:
5761 Add g_file_size_format_for_display helper
5763 2007-09-27 Alexander Larsson <alexl@redhat.com>
5765 * gio/glocalfileinfo.c:
5766 Set UNIX_GID from gid, not from uid
5768 2007-09-27 Alexander Larsson <alexl@redhat.com>
5771 Add g_file_set_attributes_async
5773 2007-09-27 Alexander Larsson <alexl@redhat.com>
5775 * gio/glocalfile.c (g_local_file_set_display_name):
5776 Fix set_display_name to actually rename to the right place.
5777 Use lstat to look for existing files so we don't overwrite
5780 2007-09-26 Alexander Larsson <alexl@redhat.com>
5783 Add g_file_set_display_name_async()
5785 2007-09-26 Alexander Larsson <alexl@redhat.com>
5788 Add load_partial_contents async calls
5791 Make internal function static
5793 2007-09-26 Alexander Larsson <alexl@redhat.com>
5795 * gio/glocalfileinfo.c:
5796 Correctly detect broken symlinks
5798 2007-09-26 Alexander Larsson <alexl@redhat.com>
5800 * gio/gcancellable.c (g_cancellable_cancel):
5801 Allow cancel on NULL cancellable
5803 2007-09-25 Alexander Larsson <alexl@redhat.com>
5805 * gio/gsimpleasyncresult.c:
5806 Don't allocate g_error manually.
5807 Fixes g_slice/g_new mixup crash
5809 2007-09-25 Alexander Larsson <alexl@redhat.com>
5811 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5812 Actually set active_backend.
5813 This means the monitor will be cancelled correctly.
5815 2007-09-25 Alexander Larsson <alexl@redhat.com>
5817 * gio/gdirectorymonitor.c:
5818 Set timeout to NULL when destroying
5820 2007-09-25 Alexander Larsson <alexl@redhat.com>
5823 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5824 that is a better description of the error.
5826 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5828 * gio/gvfs.c: (g_vfs_get_local):
5829 Make the local vfs variable static. The same instance should
5832 2007-09-24 Alexander Larsson <alexl@redhat.com>
5834 * gio/glocalfileinfo.c:
5835 Pass in actual length read into sniffer, not the length
5838 2007-09-21 Alexander Larsson <alexl@redhat.com>
5840 * gio/gfileenumerator.c:
5843 * gio/gfileinputstream.c:
5844 * gio/gfileoutputstream.c:
5845 * gio/ginputstream.c:
5846 * gio/goutputstream.c:
5847 Don't crash if async callbacks are NULL
5849 2007-09-20 Alexander Larsson <alexl@redhat.com>
5852 Add async enumerate_children method and default
5855 2007-09-20 Alexander Larsson <alexl@redhat.com>
5858 Add g_file_contains_file & g_file_get_relative_path, since they
5859 were needed for nautilus.
5860 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5865 Implement new methods
5867 2007-09-17 Alexander Larsson <alexl@redhat.com>
5870 * gio/gfileinputstream.[ch]:
5871 * gio/gfileoutputstream.[ch]:
5873 * gio/glocalfileenumerator.[ch]:
5874 * gio/glocalfileinfo.[ch]:
5875 * gio/glocalfileinputstream.c:
5876 * gio/glocalfileoutputstream.c:
5877 * gio/gpollfilemonitor.c:
5878 * programs/gio-copy.c:
5879 * programs/gio-info.c:
5880 * programs/gio-move.c:
5881 Rename get_file_info to query_info() to make it clearer
5882 that these are not simple getters, but do i/o.
5884 2007-09-17 Alexander Larsson <alexl@redhat.com>
5886 * gio/gdatainputstream.[ch]:
5887 * gio/test-streams.c:
5888 Use _read_XXX instead of _get_XXX for the i/o calls
5891 2007-09-17 Alexander Larsson <alexl@redhat.com>
5894 Added needed stuff to TODO comment
5896 2007-09-17 Alexander Larsson <alexl@redhat.com>
5898 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5899 Don't error out removing the backup copy if it doesn't
5902 2007-09-14 Alexander Larsson <alexl@redhat.com>
5904 * programs/Makefile.am:
5905 * programs/gvfs-*.c:
5907 Renamed apps from gvfs-xxx to gio-xxx.
5909 2007-09-14 Alexander Larsson <alexl@redhat.com>
5912 * gio/gfileoutputstream.[ch]:
5913 * gio/glocalfileoutputstream.c:
5914 * programs/gvfs-save.c:
5915 g_file_output_stream_get_etag doesn't do i/o, so remove
5916 cancellation and error.
5918 2007-09-14 Alexander Larsson <alexl@redhat.com>
5921 Add new_etag output to replace_contents functions
5923 2007-09-14 Alexander Larsson <alexl@redhat.com>
5925 * gio/gfileoutputstream.[ch]:
5926 Add async get_file_info and default implementation
5928 2007-09-14 Alexander Larsson <alexl@redhat.com>
5930 * gio/gfileinputstream.c:
5931 Implement fallback wrapper for async get_file_info
5933 2007-09-14 Alexander Larsson <alexl@redhat.com>
5936 Add etag out argument to load_contents
5941 2007-09-14 Alexander Larsson <alexl@redhat.com>
5943 * gio/gcontenttype.c (looks_like_text):
5944 Whitespace like tab, cr and lf do not make the
5947 2007-09-14 Alexander Larsson <alexl@redhat.com>
5949 * gio/gfileinputstream.[ch]:
5950 Add async get_file_info.
5952 2007-09-13 Alexander Larsson <alexl@redhat.com>
5954 * gio/goutputstream.c (g_output_stream_write_all):
5955 Allow NULL for bytes_written
5957 2007-09-13 Alexander Larsson <alexl@redhat.com>
5959 * gio/gmemoryinputstream.[ch]:
5960 Add accessors for data
5962 2007-09-13 Alexander Larsson <alexl@redhat.com>
5964 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5965 Don't crash if length is NULL