1 2009-03-17 Colin Walters <walters@redhat.com>
3 Bug 575708 - runaway inotify madness ...
5 * gfilemonitor.c: Queue up events in a local list and
6 fire one idle, instead of queuing lots of individual
7 idles which has bad performance behavior.
9 2009-03-17 Alexander Larsson <alexl@redhat.com>
11 * glocalfileinputstream.c:
12 * glocalfileoutputstream.c:
13 fix attributes argument of query_info methods to
16 2009-03-16 Alexander Larsson <alexl@redhat.com>
18 Bug 575555 – Use fsync() when replacing files to avoid data loss on crash
20 * glocalfileoutputstream.c:
21 (g_local_file_output_stream_close):
22 (_g_local_file_output_stream_replace):
23 fsync temp file before closing if replacing target file
25 2009-03-13 Matthias Clasen <mclasen@redhat.com>
27 * === Released 2.20.0 ===
29 2009-03-04 Alexander Larsson <alexl@redhat.com>
31 Bug 573843 – g_get_current_dir returns non-absolute path
33 * glocalfile.c (canonicalize_filename):
34 Handle the case where g_get_current_dir() returns a non-absolute path.
36 2009-03-04 Alexander Larsson <alexl@redhat.com>
38 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
40 * gunionvolumemonitor.c:
41 (g_union_volume_monitor_dispose):
42 Run dispose on child monitors when disposing.
44 * gunixvolumemonitor.c:
45 Remove all volumes and mount on dispose to avoid circular
46 dependencies not freeing the monitor
48 2009-03-03 Alexander Larsson <alexl@redhat.com>
50 Bug 561172 – gnome-open fails on local URIs with anchors
53 Don't force uris to filenames if the uri has an anchor, because
54 that would strip the anchor.
57 Strip anchor from file:// uris when creating GFile, since
58 g_filename_from_uri doesn't handle them.
60 2009-03-03 Alexander Larsson <alexl@redhat.com>
62 Bug 562613 – Missing const modifier in string parameters
64 * gfileinputstream.[ch]:
65 * gfileoutputstream.[ch]:
66 * glocalfileinfo.[ch]:
67 Make string arguments const if used as such.
69 2009-03-03 Alexander Larsson <alexl@redhat.com>
71 * glocalfile.c (g_local_file_query_filesystem_info):
72 Handle filesystems no supporting reporting how much is free.
73 This fixes bug 573454 where the filesystem not supporting this
74 is the gvfs smb backend over the fuse filesystem.
76 2009-03-02 Matthias Clasen <mclasen@redhat.com>
78 * === Released 2.19.10 ===
80 2009-03-02 Matthias Clasen <mclasen@redhat.com>
82 * === Released 2.19.9 ===
84 2009-03-02 Matthias Clasen <mclasen@redhat.com>
86 * gioenums.h: Add a Since: tag
88 2009-03-01 Matthias Clasen <mclasen@redhat.com>
90 Bug 573658 – Deadlock in giomodule.c
92 * giomodule.c: Use a separate lock for extension point registration
93 to avoid deadlock. Discovered by Torsten Schoenfeld
95 2009-03-01 Matthias Clasen <mclasen@redhat.com>
97 * gdatainputstream.c: Fix docs
99 2009-02-27 Matthias Clasen <mclasen@redhat.com>
101 Bug 573421 – Clarify message format in GMountOperation
103 * gmountoperation.c: Document that the first line of a
104 multi-line message should be interpreted as a heading.
106 2009-02-27 David Zeuthen <davidz@redhat.com>
108 Bug 573462 – GEmblemedIcon leak
110 * gemblemedicon.c (g_emblemed_icon_finalize):
111 Avoid leaking a GList.
113 2009-02-27 Alexander Larsson <alexl@redhat.com>
117 Split out the extension point registration code to its
121 Ensure extension points are registered before extending it.
122 It might not have happened yet if g_vfs_get_local() is called.
124 2009-02-26 Alexander Larsson <alexl@redhat.com>
126 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
127 * gmemoryoutputstream.c:
128 Track actual valid size, even if we later seek back.
130 * tests/memory-output-stream.c:
133 2009-02-26 Alexander Larsson <alexl@redhat.com>
135 Bug 543183 – Clarify docs for g_file_has_prefix
137 * gfile.c: (g_file_has_prefix):
138 Clarify how the prefix matching works.
140 2009-02-26 Alexander Larsson <alexl@redhat.com>
143 Support desktop file key X-GIO-NoFuse which disables
144 use of fuse pathnames for %u and %U arguments.
146 2009-02-25 Alexander Larsson <alexl@redhat.com>
148 Bug 570073 – Add support for reading filesystems on Interix
150 * gunixmounts.c (_g_get_unix_mounts):
151 Support Interix. Patch from Fabian Groffen
153 2009-02-25 Paolo Borelli <pborelli@katamail.com>
155 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
157 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
159 2009-02-23 Alexander Larsson <alexl@redhat.com>
162 Remove accidentally commited spew
164 2009-02-20 Alexander Larsson <alexl@redhat.com>
167 (g_content_type_guess):
168 Don't ever sniff desktop files when the filename is known.
169 In other words, only allow desktop files with the .desktop extension
170 and when the filename isn't known.
171 This is a security precaution since desktop files can execute
172 arbitrary code when launched and we don't want to allow them to
173 try and hide as another type. There is no legit reason to not
174 have the .desktop extension anyway.
176 2009-02-19 Alexander Larsson <alexl@redhat.com>
178 Bug 549298 – impossible to copy files with p (pipe) flag
181 (file_copy_fallback):
182 Error out if the source file is a special file
184 2009-02-18 Alexander Larsson <alexl@redhat.com>
186 Bug 560564 – Replacing a symlink with its linked file truncates the original file
189 Add G_FILE_CREATE_REPLACE_DESTINATION
191 * glocalfileoutputstream.c:
192 (handle_overwrite_open):
193 (_g_local_file_output_stream_replace):
194 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
197 (file_copy_fallback):
198 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
201 2009-02-17 Ryan Lortie <desrt@desrt.ca>
203 * gfileinfo.c: unref the destination's attribute matcher before
206 2009-02-17 Matthias Clasen <mclasen@redhat.com>
208 * === Released 2.19.8 ===
210 2009-02-17 Matthias Clasen <mclasen@redhat.com>
212 * gio.symbols: Add missing exports for new API
214 * gdatainputstream.c: Add missing Since: tags.
216 2009-02-16 Matthias Clasen <mclasen@redhat.com>
218 * === Released 2.19.7 ===
220 2009-02-16 Matthias Clasen <mclasen@redhat.com>
222 * gmountoperation.[hc]: Add an "aborted" signal to abort a
223 mount operation from the backend side.
225 * gvolume.h: Add docs regarding the "aborted" signal.
227 2009-02-16 Ryan Lortie <desrt@desrt.ca>
229 Bug 505042 – add file attribute for actually used file size in bytes
231 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
232 "standard::allocated-size"
233 * gfileattribute.c: document
234 * glocalfileinfo.c: set the allocated size from st_blocks * 512
236 2009-02-16 Ryan Lortie <desrt@desrt.ca>
238 Bug 571598 – GAsyncResult with NULL gobject
240 * gsimpleasyncresult.c: remove various assertions and add some checks
241 to allow for a NULL source_object in GSimpleAsyncResult.
243 2009-02-11 Matthias Clasen <mclasen@redhat.com>
245 Bug 541225 – Can't compile gio on AIX : duplicate case value in
248 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
249 Reported by Nicolas Joseph
251 2009-02-04 Alexander Larsson <alexl@redhat.com>
253 Bug 566747 - URIs opened with firefox %u load as local files
255 * gdummyfile.c (g_dummy_file_get_path):
256 Dummy files are never used for local paths, so always return NULL
259 2009-02-02 Matthias Clasen <mclasen@redhat.com>
261 * === Released 2.19.6 ===
263 2009-01-31 Paolo Borelli <pborelli@katamail.com>
265 * glocalfileinfo.c: plug a tiny mem leak.
267 2009-01-29 Ryan Lortie <desrt@desrt.ca>
269 * gioerror.c (g_io_error_from_errno): handle all possible cases of
270 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
272 2009-01-28 Ryan Lortie <desrt@desrt.ca>
274 Bug 568575 – _async functions for GDataInputStream
276 * gdatainputstream.h:
277 * gdatainputstream.c: add _async versions of read_line and read_until.
279 * ../docs/reference/gio/gio-sections.txt: add new functions
280 * tests/sleepy-stream.c: new test case for async read line
281 * tests/Makefile.am: add new test
283 2009-01-22 Ryan Lortie <desrt@desrt.ca>
285 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
287 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
288 g_buffered_input_stream_fill): check for count < -1 instead of count <
289 0 and copy modified check to non-async version for consistency.
290 document the "count = -1" API.
292 2009-01-22 Ryan Lortie <desrt@desrt.ca>
294 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
296 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
297 after we have successfully read data from the base stream
299 2009-01-20 Ryan Lortie <desrt@desrt.ca>
301 Bug 568394 – dropping the last reference to a stream filter closes the
304 * gfilterinputstream.h:
305 * gfilterinputstream.c: add "close-base-stream" property and only
306 close the base stream if it is true. issue async close callbacks from
307 correct source object.
308 * gfilteroutputstream.h:
309 * gfilteroutputstream.c: add a "close-base-stream" property and only
310 close the base stream if it is true. issue async close callbacks from
311 correct source object.
312 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
313 before closing the base stream. fix invalid source tag comparison in
314 close_async (was comparing to flush_async).
315 * ../docs/reference/gio/gio-sections.txt:
317 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
318 * tests/filter-streams.c: new test cases
319 * tests/Makefile.am: add new test
320 * tests/.gitignore: add new test
322 2009-01-19 Matthias Clasen <mclasen@redhat.com>
324 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
326 2009-01-19 Matthias Clasen <mclasen@redhat.com>
328 * === Released 2.19.5 ===
330 2009-01-19 Matthias Clasen <mclasen@redhat.com>
332 * gappinfo.h: Document get_commandline vfunc
334 2009-01-19 Matthias Clasen <mclasen@redhat.com>
336 * gunixmounts.c: Some stylistic fixes.
338 2009-01-08 Matthias Clasen <mclasen@redhat.com>
340 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
341 functions in non-UTF8 locale
343 * xdgmime/xdgmimecache.c:
344 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
346 2009-01-08 Matthias Clasen <mclasen@redhat.com>
348 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
350 2009-01-07 Matthias Clasen <mclasen@redhat.com>
352 Bug 566770 – error code 0 for Too many open files is useless
354 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
355 Requested by Olivier Sessink.
357 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
359 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
360 G_IO_ERROR_TOO_MANY_OPEN_FILES.
362 2009-01-05 Matthias Clasen <mclasen@redhat.com>
364 * === Released 2.19.4 ===
366 2009-01-05 Dan Winship <danw@gnome.org>
368 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
369 "const char **" to avoid a warning.
371 * gemblem.c (g_emblem_from_tokens):
372 * gemblemedicon.c (g_emblemed_icon_from_tokens):
373 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
376 2009-01-05 Matthias Clasen <mclasen@redhat.com>
378 Bug 566064 – Add NOATIME flag to query_info_flags
380 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
381 sniffing for mime types. Based on a patch by A. Walton
383 2009-01-05 Ryan Lortie <desrt@desrt.ca>
385 * tests/.gitignore: improve
386 * tests/Makefile.am: add new simple-async-result test
387 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
389 2009-01-05 Ryan Lortie <desrt@desrt.ca>
392 * ../docs/reference/gio/gio-sections.txt:
393 * gsimpleasyncresult.h:
394 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
395 Implementation by Dan Winship. Closes #566170.
397 2008-12-31 Matthias Clasen <mclasen@redhat.com>
401 * gunixinputstream.c:
402 * gunixoutputstream.c: Add a note about being UNIX-specific.
404 2008-12-15 Matthias Clasen <mclasen@redhat.com>
406 * === Released 2.19.3 ===
408 2008-12-12 Dan Winship <danw@gnome.org>
410 * pltcheck.sh: make this work on x86_64
412 2008-12-12 Ryan Lortie <desrt@desrt.ca>
414 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
417 2008-12-12 Ryan Lortie <desrt@desrt.ca>
419 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
420 multiple mount entries match the requested path
422 2008-12-10 Alexander Larsson <alexl@redhat.com>
424 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
425 g_simple_async_result_run_in_thread
427 * gsimpleasyncresult.c:
428 Make g_simple_async_result_run_in_thread check cancellation before
429 calling out to the user in the callback. This means we guarantee
430 reporting cancels of async operations from the main threads, which
431 is probably more in line with what users expect.
433 Note that there are still no such guarantees for cancelling sync
434 operations or cancelling async operation from outside the main
435 thread. Furthermore, the exact behaviour of async implementations
436 not using run_in_thread may differ.
438 2008-12-09 Alexander Larsson <alexl@redhat.com>
440 Bug 515777 - incorrect date&time on copy
443 (g_local_file_class_init):
444 Copy mtime by default
447 Change docs about G_FILE_COPY_ALL_METADATA to not mention
450 2008-12-08 Matthias Clasen <mclasen@redhat.com>
452 Bug 558298 – Hide ecryptfs mounts
454 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
455 so that the desktop does not show both the mount and the target
456 directory. Patch by Martin Pitt
458 2008-12-08 Matthias Clasen <mclasen@redhat.com>
460 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
464 * gunixinputstream.[hc]:
465 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
466 including getters and setters. Patch by Maciej Piechotka
468 2008-12-07 Matthias Clasen <mclasen@redhat.com>
470 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
472 * tests/live-g-file.c: Support compilers that don't understand
473 ISO C varargs macros. Patch by Eric Lamarque
475 2008-12-07 Matthias Clasen <mclasen@redhat.com>
477 Bug 526320 – should not list mounts that the user doesn't have
480 gunixmounts.c: Use g_access() to check accessibility of local devices.
483 2008-12-01 Matthias Clasen <mclasen@redhat.com>
485 * === Released 2.19.2 ===
487 2008-12-01 Matthias Clasen <mclasen@redhat.com>
489 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
490 behaviour change, and update the docs instead, to avoid breaking
493 2008-12-01 Matthias Clasen <mclasen@redhat.com>
495 * === Released 2.19.1 ===
497 2008-12-01 Alexander Larsson <alexl@redhat.com>
501 * gunionvolumemonitor.c:
503 Add and document g_mount_is_shadowed plus calls
504 to set/unset a mount as shadowed
506 2008-11-28 Matthias Clasen <mclasen@redhat.com>
508 * gio/tests/g-icon.c: Comment out two failing tests
510 2008-11-28 Matthias Clasen <mclasen@redhat.com>
512 Bug 555486 – No way to recover command line from GAppInfo
515 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
516 by Hans Petter Jansson.
518 * gdesktopappinfo.c: And implement it here.
520 2008-11-28 Christian Dywan <christian@imendio.com>
522 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
524 2008-11-28 Matthias Clasen <mclasen@redhat.com>
526 Bug 559633 – gtk_image_new_from_gicon does not always work for
529 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
530 extensions on icon names. Proposed by Axel von Bertoldi.
532 2008-11-28 Matthias Clasen <mclasen@redhat.com>
534 Bug 548163 – Nautilus displays wrong error message for too long file
537 * glocalfile.c (g_local_file_set_display_name): Correctly set
538 error conditions if the new name is e.g. too long. Reported
539 by Leonardo Ferreira Fontenelle.
541 2008-11-28 Matthias Clasen <mclasen@redhat.com>
543 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
546 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
547 documented and include the line end in the returned string.
548 Pointed out by Paul Pogonyshev.
550 * tests/data-input-stream.c: Fix the read_line test to test the
551 documented behaviour.
553 2008-11-28 Matthias Clasen <mclasen@redhat.com>
555 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
556 files that have been created by g_app_info_create_from_commandline.
558 2008-11-28 Matthias Clasen <mclasen@redhat.com>
560 Bug 541715 – win32 : patch for warnings and signature problems in
563 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
566 2008-11-28 Matthias Clasen <mclasen@redhat.com>
568 Bug 562393 – g_buffered_input_stream_read_byte broken if data
571 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
572 handling of buffered content. Patch by Philip Withnall
574 * tests/buffered-input-stream.c: Add a testcase for this bug.
575 * tests/Makefile.am: And build it
577 2008-11-28 Matthias Clasen <mclasen@redhat.com>
579 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
582 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
583 '/' away. Spotted by Dan Williams.
585 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
587 Bug 561375 – Leaks mountpoint description
589 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
592 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
594 Bug 561352 – Leak of icon description
596 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
599 2008-11-14 Matthias Clasen <mclasen@redhat.com>
601 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
603 2008-11-12 Tor Lillqvist <tml@novell.com>
605 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
607 * win32/gwinhttpvfs.h: Move the set of function pointers to
608 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
609 pointer to that in the GWinHttpVfsClass.
611 * win32/gwinhttpvfs.c: Move the lookup of functions from
612 winhttp.dll into a function of its own, that stores the pointers
613 in a separate GWinHttpDllFuncs variable. Add two bookeeping
614 booleans lookup_done and funcs_found.
616 Don't call g_io_extension_point_implement() to register the
617 winhttp extension unless winhttp.dll has been successfully loaded
618 and the required functions found in it.
620 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
621 winhttp.dll correspondingly.
623 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
625 reviewed by: Alexander Larsson <alexl@redhat.com>
627 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
628 clearer about the behavior when there's no more content to read.
630 2008-10-27 Federico Mena Quintero <federico@novell.com>
632 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
634 2008-10-27 Tor Lillqvist <tml@novell.com>
636 Bug 557592 - Missing include in gwinhttpfile.c
638 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
641 2008-10-24 Matthias Clasen <mclasen@redhat.com>
643 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
645 * fam/fam-helper.c: Fix a memory leak and formatting issues.
646 Reported by Daniel Marjamäki
648 2008-10-23 Matthias Clasen <mclasen@redhat.com>
650 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
652 2008-10-23 Alexander Larsson <alexl@redhat.com>
654 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
657 (_g_local_file_info_get):
658 Don't return the fallback icon (text-x-generic) for all files.
659 This is causing problems with theme icon lookup and custom mime
660 icons, as the generic fallback overrides custom mime icons in
663 This is a slight change as applications might not get an icon wher
664 they previously did. But there is no guarantee to get on neither before
665 or after this change, so it should not break applications. Changes
666 to nautilus and gtk+ will be done to manually use the generic fallback
667 icon if no icon is found, but this is only required for rare cases.
669 2008-10-21 Alexander Larsson <alexl@redhat.com>
672 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
674 2008-10-21 Alexander Larsson <alexl@redhat.com>
676 Bug 555740 - gicon serialization
677 Based on patch from David Zeuthen
681 Add g_icon_to_string() and g_icon_new_for_string().
687 Implement icon serialization for built-in icon types
691 Added GIcon serialization test
693 2008-10-16 Matthias Clasen <mclasen@redhat.com>
695 * === Released 2.19.0 ===
697 2008-10-16 Matthias Clasen <mclasen@redhat.com>
699 Bug 556422 – g_file_enumerator_next_file: unclear whether return
700 value needs to be freed
702 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
703 the return value docs. Pointed out by Armin Burgmeier
705 2008-10-14 Matthias Clasen <mclasen@redhat.com>
707 Bug 556334 – Warning when building without selinux support
709 * glocalfileinfo.c: Avoid compiler warnings when selinux is
710 disabled. Patch by Pascal Terjan
712 2008-10-14 Matthias Clasen <mclasen@redhat.com>
714 Bug 556335 – make check fails in abicheck.sh
716 * gio.symbols: Add g_file_attribute_info_list_get_type.
717 Pointed out by Pascal Terjan.
719 2008-10-13 Alexander Larsson <alexl@redhat.com>
722 When adding an application as handling a mime type (but
723 not as the default), copy the full list of desktop ids handling
724 that type in before adding the new one on the end of the list.
725 This means we're not accidentally changing the default by overriding
726 the info from the later directories in the search path.
728 Also, fixes small leak of removed_entries.
730 2008-10-12 David Zeuthen <davidz@redhat.com>
733 * gunionvolumemonitor.c:
735 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
737 2008-10-10 Alexander Larsson <alexl@redhat.com>
739 * gfileattribute.c (escape_byte_string):
740 Upper half of byte is >> 4, not >> 8.
741 Found by Kjartan Maraas via sparse
743 2008-10-10 Matthias Clasen <mclasen@redhat.com>
745 Bug 555711 – Wrong fallback order of mimetype icons
747 * gcontenttype.c: Don't prefer generic icons over
748 default mimetype icons.
750 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
751 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
753 Patch by Krysztof Kosiński
755 2008-10-10 Matthias Clasen <mclasen@redhat.com>
757 Bug 555121 – Improved build-time handling of gio module-dir
759 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
760 * Makefile.am: Create the module dir.
762 2008-10-10 Matthias Clasen <mclasen@redhat.com>
764 * gio/glocalfileinfo.c:
765 * gio/tests/live-g-file.c:
766 * gio/gsimpleasyncresult.c: Fix gcc warnings.
768 2008-10-09 Alexander Larsson <alexl@redhat.com>
770 * gunixinputstream.c (g_unix_input_stream_read):
771 Actually return -1 in case of cancelled, not old res value.
773 2008-10-06 Colin Walters <walters@verbum.org>
775 Bug 554745 - GFileAttributeInfoList should be boxed
777 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
778 for convenience of bindings.
779 * gio/gfileattribute.h: Prototype it.
781 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
783 Bug 554970 – segfault when update-desktop-database is not available
786 * gdesktopappinfo.c (run_update_command): Have the error set before
789 2008-10-01 David Zeuthen <davidz@redhat.com>
791 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
792 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
793 instead of the gio URI (such as sftp://foo/file.avi) when using
794 g_app_info_launch() and friends. With a sufficiently recent gvfs,
795 apps using gio+gvfs will map the FUSE file:// URI back to the gio
796 URI (and thus bypass the fuse daemon) thanks the patch from bug
797 #530654. Since Nautilus is an user of g_app_info_launch() it
798 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
799 when launced via the file manager. Win. Fixes bug #528670.
801 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
802 mapping to the description of GAppInfo.
804 2008-09-30 Tor Lillqvist <tml@novell.com>
806 * tests/Makefile.am: Build desktop-app-info only on Unix.
808 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
809 g_critical(). Pass a large enough result buffer to
810 GetVolumePathNameW(). Just use MAX_PATH.
812 2008-09-29 David Zeuthen <davidz@redhat.com>
814 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
816 2008-09-26 Dan Winship <danw@gnome.org>
818 * tests/data-input-stream.c:
819 * tests/data-output-stream.c:
820 * tests/live-g-file.c:
821 * tests/memory-input-stream.c:
822 * tests/memory-output-stream.c: Use g_assert_error() and
825 2008-09-26 Matthias Clasen <mclasen@redhat.com>
827 Bug 545350 – GAppInfo deletion
828 Bug 545351 – Reset associations for content type
831 * gappinfo.[hc]: New functions g_app_info_can_delete,
832 g_app_info_delete and g_app_info_reset_type_associations.
835 * gwin32appinfo.c: Implementations of these.
838 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
840 2008-09-26 Dan Winship <danw@gnome.org>
842 Bug 505361 – gunixinputstream.c assumes poll() available
843 Bug 509446 – portable blocking gio cancellation
845 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
846 GPollFD for a cancellable (which is slightly more complicated on
849 * gunixinputstream.c (g_unix_input_stream_read):
850 * gunixoutputstream.c (g_unix_output_stream_write): Use
851 g_cancellable_make_pollfd() and g_poll() rather than using poll()
854 * tests/unix-streams.c: test of GUnixInputStream,
855 GUnixOutputStream, and GCancellable.
857 2008-09-26 Dan Winship <danw@gnome.org>
859 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
860 cast to stop a gcc warning
862 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
865 2008-09-25 Dan Winship <danw@gnome.org>
867 Bug 553426 - cancellable clarifications
869 * gcancellable.c (g_cancellable_class_init): Add a note to the
870 "cancelled" signal docs warning about thread-safety issues
871 (g_cancellable_cancel): Note that cancelling an asynchronous
872 operation takes effect asynchronously, not immediately.
874 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
876 * gioenums.h: Add new GFileCopyFlag, to leave target file with
877 default perms, instead of setting the source file perms, in a copy
880 * gfile.c (g_file_copy_attributes)
881 (build_attribute_list_for_copy)
882 (should_copy): Not copy "unix::mode" attribute if we have received
883 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
885 2008-09-20 Matthias Clasen <mclasen@redhat.com>
887 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
889 2008-09-17 Matthias Clasen <mclasen@redhat.com>
891 * === Released 2.18.1 ===
893 2008-09-16 Michael Natterer <mitch@imendio.com>
895 * gcontenttype.c (g_content_type_guess): can't assign the return
896 value of g_strdupv() to an array. Fill the array manually with
897 const strings instead (it is never freed anyway). Fixes the
898 build. Also fixed indentation.
900 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
902 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
903 Fix trivial typo to unbreak the build (there was a colon
904 instead of a semicolon at the end of a statement).
906 2008-09-15 Matthias Clasen <mclasen@redhat.com>
908 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
911 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
914 2008-09-15 Matthias Clasen <mclasen@redhat.com>
916 Bug 551681 – g_content_type_guess() too naive with filenames
918 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
919 at the end of the filename, and declare it a directory.
920 Patch by Bastien Nocera
922 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
924 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
927 * gdesktopappinfo.c: add a note in the docs clarifying what the
928 "filename" parameter really is.
930 2008-09-12 Tor Lillqvist <tml@novell.com>
932 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
933 FormatMessage() etc here. Call g_win32_error_message() instead
934 which already does all that. Besides, the code was broken as it
935 called the default "A" version of FormatMessage() but still
936 thought it produced a wide string.
938 2008-09-12 Michael Natterer <mitch@imendio.com>
940 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
941 in the documentation.
943 2008-09-08 Christian Neumair <cneumair@gnome.org>
945 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
946 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
947 Use non-blocking pipe for mount helper I/O. Fixes #550647.
949 2008-09-06 Matthias Clasen <mclasen@redhat.com>
951 Bug 551149 – xdgmime mem leak
953 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
954 a memory leak. Patch by Christian Persch
956 2008-09-04 Tor Lillqvist <tml@novell.com>
958 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
961 2008-09-02 Matthias Clasen <mclasen@redhat.com>
963 * === Released 2.18.0 ===
965 2008-09-02 Michael Natterer <mitch@imendio.com>
967 * *.h: big header formatting cleanup: indentation, vtable
968 formatting, consistent spacing in (* vfunc), trailing whitespace
969 removal. Formatting should be pretty consistent in all GIO headers
972 2008-09-02 Matthias Clasen <mclasen@redhat.com>
974 * gmount.h: Document guess_content_type sync vfunc.
976 2008-09-02 Michael Natterer <mitch@imendio.com>
978 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
979 fix parent_class member to be GFilterOutputStreamClass (not
980 GOutputStreamClass). Drop three pointers of padding, which is
981 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
982 so the class struct size stays the same.
984 2008-09-02 Matthias Clasen <mclasen@redhat.com>
986 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
988 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
989 nonexisting return values. Pointed out by Cosimo Cecchi.
991 2008-08-23 Tor Lillqvist <tml@novell.com>
993 Bug 548988 - g_file_replace fails on Windows when the target file
996 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
997 Windows, close the file before potentially renaming it (in case we
998 have been writing to a file with a temporary name).
1000 (g_local_file_output_stream_close, handle_overwrite_open): Use
1001 GLocalFileStat instead of plain struct stat, for passing to
1002 _g_local_file_info_create_etag(). Thus also use _fstati64()
1003 instead of plain fstat() on Windows.
1005 2008-08-18 Matthias Clasen <mclasen@redhat.com>
1007 * === Released 2.17.7 ===
1009 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
1011 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
1014 2008-08-13 Tor Lillqvist <tml@novell.com>
1016 * win32/gwinhttpvfs.c
1017 * win32/gwinhttpvfs.h
1018 * win32/gwinhttpfile.c
1019 * win32/gwinhttpfileinputstream.c
1020 * win32/gwinhttpfileoutputstream.c: Refactor some common code
1021 snippets into helper functions. Check HTTP response status
1022 codes. Implement g_winhttp_file_query_info(), looking at
1023 Content-Length, Content-Type and Last-Modified.
1025 * win32/winhttp.h: Add some symbolic constants that are not
1026 publicly documented. Just a handful, so it should be OK to use
1027 information from the Windows SDK's headers.
1029 2008-08-13 Tor Lillqvist <tml@novell.com>
1031 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1034 * win32/gwin32directorymonitor.c
1035 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1037 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1040 * goutputstream.c: Add intro docs.
1042 2008-08-13 Tor Lillqvist <tml@novell.com>
1044 * win32/gwinhttpfileoutputstream.c
1045 (g_winhttp_file_output_stream_write): Don't write the
1046 Content-Length header ourselves, WinHttpSendRequest() takes care
1047 of that when the dwTotalLength parameter is non-zero. Increment
1048 offset by the number of actual bytes sent, although I wonder if
1049 such a scenario is possible where less than requested would be
1050 sent and accepted by the server without errors.
1052 2008-08-13 Tor Lillqvist <tml@novell.com>
1054 * win32/gwinhttpvfs.c
1055 * win32/gwinhttpvfs.h
1056 * win32/gwinhttpfile.c
1057 * win32/gwinhttpfile.h
1058 * win32/gwinhttpfileinputstream.c
1059 * win32/gwinhttpfileinputstream.h
1060 * win32/gwinhttpfileoutputstream.c
1061 * win32/gwinhttpfileoutputstream.h: New files implementing
1062 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1063 Windows. The implementation uses the WinHttp API. Both reading and
1064 writing are supported, i.e. GET and PUT requests. When writing,
1065 each write call is done using a separate PUT request with a
1066 Content-Range header. Requests for file URIs and plain pathnames
1067 are forwarded to GLocalVfs.
1069 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1070 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1071 requiring people to download the Windows SDK just for this one
1072 header is not reasonable.
1074 * win32/Makefile.am: Add above files.
1076 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1077 the plumbing for the above.
1079 2008-08-11 Sven Neumann <sven@gimp.org>
1081 * gfilenamecompleter.c
1082 * glocaldirectorymonitor.c
1084 * gunionvolumemonitor.c
1088 * gunixvolumemonitor.c
1091 * gwin32volumemonitor.c: use canonical signal names.
1093 2008-08-11 Tor Lillqvist <tml@novell.com>
1095 * Makefile.am: Put a list of the platform-dependent .la files in
1096 the subdirectories in the platform_deps Make variable, and make
1097 libgio-2.0.la depend on that, so that it gets relinked if one of
1098 the dependent libraries has changed.
1100 2008-08-11 Tor Lillqvist <tml@novell.com>
1102 * Makefile.am (platform_libadd): Remove -lwininet which had been
1103 added by mistake. We will probably eventually be using WinHTTP,
1104 not the older WinInet anyway. (Actually I am working on it.)
1106 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1108 Bug 547080 – g_file_copy leaks expected errors
1110 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1111 before trying the next fallback routine.
1113 2008-08-09 Loïc Minier <lool@dooz.org>
1115 Bug 535124 – umask 002 not being applied for new directories, new
1116 files get the correct umask
1118 * gfile.c (g_file_make_directory)
1119 (g_file_make_directory_with_parents): Document ownership and
1120 permissions of newly created directories as being the default
1121 ones of the process.
1123 2008-08-08 Loïc Minier <lool@dooz.org>
1125 Bug 535124 – umask 002 not being applied for new directories, new
1126 files get the correct umask
1128 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1131 2008-08-08 Tor Lillqvist <tml@novell.com>
1133 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1135 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1136 code that didn't actually do anything inside #if 0, and add a
1137 comment wondering what the code was supposed to do. This also gets
1138 rid of a leftover debugging printout.
1140 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1142 * gfileicon.c (g_file_icon_get_property)
1143 (g_file_icon_set_property): New functions.
1144 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1146 (g_file_icon_new): Use the property (bug #546132).
1148 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1150 * gthemedicon.c (g_themed_icon_get_property): Also handle
1151 `PROP_USE_DEFAULT_FALLBACKS'.
1152 (g_themed_icon_class_init): Make
1153 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1155 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1157 Bug 546371 – Improve docs re g_file_monitor
1159 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1161 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1163 * === Released 2.17.6 ===
1165 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1167 * === Released 2.17.5 ===
1169 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1171 Bug 546017 – Don't copy attributes when copying a symlink
1173 * gfile.c (g_file_copy_attributes): Specify
1174 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1175 g_file_set_attributes_from_info. Patch by Christian Kellner
1177 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1179 * gemblemedicon.[hc]:
1181 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1182 a bit more extensible. Work by Clemens Buss.
1184 * gioenums.h: Add GEmblemOrigin.
1187 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1189 Bug 546079 – leak in xdgmime
1191 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1193 2008-08-03 Tor Lillqvist <tml@novell.com>
1195 * win32/gwin32directorymonitor.h
1196 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1199 2008-08-03 Tor Lillqvist <tml@novell.com>
1201 * win32/gwin32directorymonitor.c
1202 (g_win32_directory_monitor_callback): Make prototype match
1203 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1204 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1207 (g_win32_directory_monitor_constructor):
1208 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1209 names in the GLib API on Windows, so convert to UTF-16 and open
1212 2008-08-03 Tor Lillqvist <tml@novell.com>
1214 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1215 user's folder under Windows
1217 * win32/gwin32directorymonitor.c
1218 (g_win32_directory_monitor_constructor): Ignore error from
1219 CreateFile() when opening directory. Instead of asserting, just
1220 store INVALID_HANDLE_VALUE then in
1221 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1222 ReadDirectoryChangesW().
1223 (g_win32_directory_monitor_cancel): Don't attempt to close
1224 directory handle if it is INVALID_HANDLE_VALUE.
1226 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1228 * gdesktopappinfo.c: Remove debug spew
1230 2008-08-01 Hans Breuer <hans@breuer.org>
1232 * makefile.msc : add gemblembedicon
1234 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1236 Bug 545457 – gdmsetup crashed with SIGSEGV in
1237 g_unix_mount_guess_should_display()
1239 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1240 crash if no mount is found.
1242 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1244 Bug 545203 – gfile.c: argument is different type.
1246 * gfile.c (open_read_async_thread): Pass a GError **
1247 to g_file_set_error_literal.
1248 Reported by Kazuki Iwamoto
1250 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1252 Bug 545157 – wrong/no list of "open with" applications for .cc and
1255 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1256 Collect all ancestors, not just direct parents. Pointed
1257 out by Bastien Nocera
1259 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1261 * Makefile.am: Install gemblemedicon.h
1263 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1265 * gemblemedicon.[hc]: Add a GIcon implementation that can
1266 add an emblem to another icon.
1273 * gfileicon.c: Small documentation additions.
1275 2008-07-28 Tor Lillqvist <tml@novell.com>
1277 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1280 2008-07-27 Tor Lillqvist <tml@novell.com>
1282 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1284 2008-07-24 David Zeuthen <davidz@redhat.com>
1288 Also export a g_mount_guess_content_type_sync() function.
1290 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1292 529694 – SELinux context setting support
1294 * gfileinfo.c: Support setting selinux attributes.
1295 Patch by Tomas Bzatek
1297 2008-07-22 Priit Laes <plaes@plaes.org>
1299 Bug 544140 - fam-helper 64-bit issue?
1301 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1303 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1305 * === Released 2.17.4 ===
1307 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1309 * gvolumemonitor.[hc]:
1310 * gmountoperation.c:
1314 * gmount.c: Documentation fixes
1316 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1318 543504 – crash in Epiphany Web Browser: Opening local file
1322 * gdesktopappinfo.c:
1329 * gvolume.c: Register types thread-safely.
1330 Patch by Christian Persch
1332 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1334 * gcontenttype.c: Remove debug spew
1336 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1338 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1341 * fen/fen-kernel.c: Remove a warning that was causing
1342 crashes. Reported by Lin Ma.
1344 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1346 Bug 543040 – async reading on dummy file will crash on
1349 * gfile.c (open_read_async_thread): Cope with read_fn being
1350 NULL. Reported by Lin Ma.
1352 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1355 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1357 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1360 * gdesktopappinfo.h:
1361 * giomodule.c: Rename a chapter id to avoid filename conflict.
1363 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1365 Bug 540616 – mem leak in filechooser button
1367 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1368 the mount entry. Reported by Chrisitan Persch
1370 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1372 * gfile.c: Small documentation fixes.
1374 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1376 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1378 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1383 * gmount.c: Documentation improvements.
1385 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1388 * gmount.[hc]: Add g_mount_guess_content_type().
1390 2008-07-06 David Zeuthen <davidz@redhat.com>
1393 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1394 is needed for easily handling adoption of foreign volumes by
1395 out-of-process volume monitors (#541793)
1397 2008-07-06 David Zeuthen <davidz@redhat.com>
1399 * gvolumemonitor.[ch]:
1400 * gunionvolumemonitor.c: Export the eject-button signal on the
1401 volume monitor class (#541794).
1403 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1405 * gappinfo.c: More doc tweaks
1407 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1409 * gappinfo.c: Clarify some docs
1411 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1413 * gdesktopappinfo.c: Fix a stupid mistake.
1415 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1417 * === Released 2.17.3 ===
1419 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1421 * gfilemonitor.c: Fix the build.
1423 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1425 Bug 536160 – Add g_file_monitor()
1428 * gfile.[hc]: Add g_file_monitor which can return either
1429 a file or a directory monitor. Proposed by Behdad Esfahbod
1431 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1433 536733 – gio build failure on Irix
1435 * glocalfile.c: Use a configure check for structfs.f_bavail.
1437 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1439 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1442 * gdesktopappinfo.[hc]: Add a function to create a
1443 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1445 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1447 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1449 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1451 * gunixmounts.c: Fix a doc typo.
1453 2008-07-01 Cody Russell <bratsche@gnome.org>
1455 * gio/gcontenttype.c:
1456 * gio/gwin32appinfo.c:
1457 * gio/gwin32volumemonitor.c:
1458 * gio/gwin32mount.c: Fixed some include problems.
1460 2008-07-01 Cody Russell <bratsche@gnome.org>
1464 Moved all relevant typedefs into these files.
1467 Updated wrt added files.
1469 Split types into separate file for easier maintainership. (#538564)
1471 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1473 Bug 540331 – g_file_append_to () documentation: can return NULL
1475 * gfile.c (g_file_append_to): Clarify docs.
1476 Patch by Jared Moore
1478 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1480 Bug 539090 – g_content_type_from_mime_type() should unalias
1482 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1483 Patch by Markus Bergman
1485 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1487 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1488 g_atomic_pointer_get
1490 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1491 on ppc and alpha. Reported by Mart Raudsepp
1493 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1495 * tests/Makefile.am:
1496 * tests/memory-output-stream.c: Add some tests for
1497 GMemoryOutputStream.
1499 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1501 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1504 * gmemoryoutputstream.c (array_resize): Handle truncation to
1505 zero correctly. Reported by Akira Tagoh
1507 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1509 * gmemoryoutputstream.c: Trivial doc fixes
1511 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1513 Bug 540802 – g_list_prepend doesn't concat lists
1515 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1516 one list to another. Pointed out by Jan Arne Petersen
1518 2008-06-28 Michael Natterer <mitch@imendio.com>
1520 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1522 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1524 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1525 to avoid problems with partial icon themes.
1527 2008-06-17 Hans Breuer <hans@breuer.org>
1529 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1530 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1531 access again on win32, see bug #538127
1532 * giomodule.c : ensure GWin32VolumeMonitor is registered
1533 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1534 * Makefile.am makefile.msc : updated
1536 2008-06-16 Hans Breuer <hans@breuer.org>
1538 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1539 and initialization in one step avoids c99ism
1541 2008-06-16 Christian Persch <chpe@gnome.org>
1544 * gio/gbufferedinputstream.c
1545 * gio/gcancellable.c
1546 * gio/gdatainputstream.c
1547 * gio/gdesktopappinfo.c
1549 * gio/gfileenumerator.c
1550 * gio/gfileinputstream.c
1551 * gio/gfileoutputstream.c
1552 * gio/ginputstream.c
1553 * gio/glocaldirectorymonitor.c
1555 * gio/glocalfileenumerator.c
1556 * gio/glocalfileinfo.c
1557 * gio/glocalfilemonitor.c
1558 * gio/glocalfileoutputstream.c
1559 * gio/gmemoryinputstream.c
1560 * gio/gmemoryoutputstream.c
1561 * gio/goutputstream.c
1562 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1565 2008-06-16 Tor Lillqvist <tml@novell.com>
1567 Bug 538362 - Get Win32 icons back in the file chooser
1569 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1570 corresponding to a file extension in the Registry. Patch by Hans
1572 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1574 2008-06-16 Tor Lillqvist <tml@novell.com>
1576 Patches by Hans Breuer:
1578 * glocalfile.c (is_xp_or_later): Handle compiling against older
1579 SDK headers with missing VerifyVersionInfo(). Conditioned on
1580 _MSC_VER, but should probably use some better test.
1581 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1582 uninitialised statfs_result variable on Win32.
1584 2008-06-16 Michael Natterer <mitch@imendio.com>
1586 * *.c: chain up unconditionally in finalize() and dispose(). Also
1587 don't dereference these function pointers when calling them since
1588 that has no meaning at all.
1590 2008-06-16 Ross Burton <ross@burtonini.com>
1592 * gfileenumerator.c:
1593 Remove check for dispose implementation as it annoys Emmanuele.
1595 2008-06-16 Ross Burton <ross@burtonini.com>
1597 Bug 536252 – GFileEnumerator should allow access to the containing
1600 * gfileenumerator.c:
1601 * gfileenumerator.h:
1603 Add g_file_enumerator_get_container() and a container writeable
1604 construct-only property. Also shuffle around typedefs to make it
1607 * glocalfileenumerator.c:
1608 * glocalfileenumerator.h:
1610 Instead of a string filename take a GFile in the constructor and
1611 use it to set the container property.
1614 Update with new API.
1616 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1618 * gfile.c: Make includes more uniform
1620 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1622 * tests/live-g-file.c (sample_struct):
1623 Use less fancy unicode filenames, so the test doesn't fail
1624 on Mac OS X (#531476).
1626 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1628 * === Released 2.17.2 ===
1630 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1632 * === Released 2.17.1 ===
1634 2008-06-11 A. Walton <awalton@gnome.org>
1636 * tests/g-file.c (test_g_file_new_null):
1637 Fix broken test case.
1639 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1641 * pltcheck.sh: We use g_clear_error now.
1643 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1645 * glocalfile.c (g_local_file_enumerate_children): Revert
1646 an unintended change.
1648 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1650 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1652 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1654 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1657 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1658 as icon for the desktop directory, also make user-home and
1659 user-desktop the preferred icons.
1661 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1664 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1665 to add a name to the front of the list.
1667 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1669 Bug 537392 – Additional colon in xattr name
1671 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1672 too. Reported by Alessandro Morandi
1674 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1676 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1679 * glocalfile.c (get_fs_type): Add afs and autofs.
1680 Patch by Danny Baumann.
1682 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1684 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1686 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1687 is no parent. (Owen Taylor, patch by Christian Neumair)
1689 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1691 * gfile.c (g_file_replace_contents): do not leak the output stream.
1693 2008-06-10 Michael Natterer <mitch@imendio.com>
1695 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1696 uninitialized memory as array index.
1698 2008-06-10 Tor Lillqvist <tml@novell.com>
1700 * gcontenttype.c (g_content_type_can_be_executable)
1701 (g_content_type_get_icon) [Win32]: Add TODO comments.
1703 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1705 * xdgmime/Makefile.am: Fix the build
1707 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1709 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1710 in the shared mime database, if available.
1712 * xdgmime/*: Sync with upstream. This brings support for
1713 glob weights, generic icons, and changes the cache format to
1716 2008-05-28 Michael Natterer <mitch@imendio.com>
1718 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1719 the global CPPFLAGS now.
1721 * tests/data-input-stream.c
1722 * tests/data-output-stream.c
1723 * tests/g-file-info.c
1725 * tests/live-g-file.c
1726 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1728 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1730 * === Released 2.17.0 ===
1732 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1733 doesn't complain about leftover files.
1735 2008-05-27 simon.zheng <simon.zheng@sun.com>
1737 * glocalfile.c: (g_local_file_query_filesystem_info):
1738 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1740 2008-05-26 Michael Natterer <mitch@imendio.com>
1742 * gmemoryoutputstream.h: declare
1743 g_memory_output_stream_get_data_size().
1745 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1747 * tests/*: Make tests work
1749 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1751 * gio.symbols: Add g_memory_output_stream_get_data_size.
1753 2008-05-25 Ross Burton <ross@burtonini.com>
1756 Fix typo in error message (#534764).
1758 2008-05-25 Ross Burton <ross@burtonini.com>
1761 Fix circular dependency loop for gioenumtypes.h (#534759).
1763 2008-05-19 Hans Breuer <hans@breuer.org>
1765 * Makefile.am : EXTRA_DIST += makefile.msc
1767 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1770 * gcontenttype.c: (g_content_type_from_mime_type):
1771 New function to create a content type from a mime type. (#527175,
1774 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1776 Bug 532965 – Should not return filesystem::free for certain file systems
1778 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1779 free space for ncpfs.
1781 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1783 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1785 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1786 st_dev might be zero.
1788 2008-05-16 Tor Lillqvist <tml@novell.com>
1790 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1791 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1793 2008-05-13 Bastien Nocera <hadess@hadess.net>
1795 * gfile.c (has_valid_scheme): A URI scheme must start with a
1796 letter, even if later more characters are allowed (#532852)
1798 2008-05-05 Michael Natterer <mitch@imendio.com>
1800 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1801 code from being checked in that breaks the build of applications
1802 which use G_DISABLE_SINGLE_INCLUDES.
1804 * makegioalias.pl: make the alias file include "glib.h" instead of
1807 * gio.symbols: whitespace change to force regeneration of the
1808 alias file after above script change.
1810 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1812 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1814 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1816 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1818 2008-04-28 David Zeuthen <davidz@redhat.com>
1820 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1821 displaying mounts in a subdirectory not accessible to the
1824 2008-04-22 Michael Natterer <mitch@imendio.com>
1826 * Makefile.am: fix library versioning (it was 0.0.0).
1828 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1830 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1831 Default disable all loggings.
1832 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1833 (port_fetch_event_cb): Fixed two macro nits.
1835 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1837 * xdgmime/xdgmime.c: Rework the timestamp checking code
1838 to protect against duplicate directories in XDG_DATA_DIRS.
1839 Fixes fd.o bug 12513, reported by Joe Shaw.
1841 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1843 Partically revert the last commit after realizing that
1844 xdg_mime_media_type_equal doesn't have to init at all.
1846 * xdgmime/xdgmime.h:
1847 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1849 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1851 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1853 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1854 reported by Joe Shaw and Federico Mena Quintero.
1856 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1857 (xdg_mime_media_type_equal): Turn into a wrapper around the
1860 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1861 functions throughout.
1863 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1865 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1866 tolerate an empty TryExec= line without failing; nautilus used
1867 to create launchers with these in previous versions. Fixes #528433
1869 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1871 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1872 after name. Fixes #527132.
1874 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1876 * gfile.c: (g_file_replace):
1879 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1881 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1883 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1884 by Christian Kellner.
1886 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1888 * gunixmounts.c: (g_unix_mount_guess_should_display):
1889 Don't list the user directory as a mount, fix potential issue
1890 when other users have a similar naming and don't special case the
1891 gvfs mounts there since that's not required (#525866)
1893 2008-03-31 Alexander Larsson <alexl@redhat.com>
1895 * glocalfile.c (get_parent):
1898 2008-03-31 A. Walton <awalton@svn.gnome.org>
1900 * gfile.c (g_file_query_file_type):
1901 Always return a GFileType enum value (#520715).
1903 2008-03-31 Alexander Larsson <alexl@redhat.com>
1905 * glocalfileenumerator.c:
1906 Read readdir() info in chunks (of 1000) and sort
1907 the chunks by inode before stat:ing.
1908 This is a 20% performance increase in testing
1909 gvfs-ls on /usr/bin with cold cache.
1911 2008-03-31 Alexander Larsson <alexl@redhat.com>
1913 * gmemoryoutputstream.c:
1914 Clarify docs for g_memory_output_stream_get_size.
1915 Add g_memory_output_stream_get_data_size.
1917 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1921 * gfile.h: Add g_file_query_file_type convenience function
1922 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1924 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1926 * gfileenumerator.c:
1927 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1929 2008-03-28 A. Walton <awalton@svn.gnome.org>
1931 * giomodule.c (_g_io_modules_ensure_loaded):
1932 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1935 2008-03-28 Alexander Larsson <alexl@redhat.com>
1938 (copy_stream_with_progress):
1941 2008-03-28 Alexander Larsson <alexl@redhat.com>
1944 (copy_stream_with_progress):
1945 (file_copy_fallback):
1946 Fallback to g_file_query_info for source size
1947 if g_file_input_stream_query_info fails. (#524579)
1949 2008-03-28 Alexander Larsson <alexl@redhat.com>
1951 * glocalfile.c (g_local_file_move):
1952 Reuse old string instead of adding new one.
1954 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1956 * fen/*.[hc]: still copyright issue. I hate copyright.
1958 2008-03-27 Alexander Larsson <alexl@redhat.com>
1960 * glocalfile.c (g_local_file_move):
1961 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1962 file over directory. This is according to the docs and what the move via
1963 copy+remove fallback does.
1965 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1967 * fen/*.[hc]: Updated copyright.
1969 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1971 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1973 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1975 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1976 not emit attribute changed events when optimizing changed events.
1977 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1980 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1982 * gmountoperation.[hc]: Small documentation additions
1984 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1986 * gunixmounts.c: (guess_mount_type):
1987 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1989 2008-03-19 Alexander Larsson <alexl@redhat.com>
1992 (copy_stream_with_progress):
1993 Bump block side for copy to 64k to minimize
1994 overhead for low latency links. (#523015)
1996 2008-03-16 Tor Lillqvist <tml@novell.com>
1998 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1999 depend on gio.def on Windows.
2001 2008-03-12 David Zeuthen <davidz@redhat.com>
2005 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
2007 2008-03-14 Alexander Larsson <alexl@redhat.com>
2011 Avoid redudant tests (#521851)
2012 Patch from Josselin Mouette
2014 2008-03-14 Alexander Larsson <alexl@redhat.com>
2017 (g_file_monitor_is_cancelled):
2018 Fix C89 issue (#521672)
2019 Patch from Jens Granseuer
2021 2008-03-14 Alexander Larsson <alexl@redhat.com>
2023 * fam/fam-helper.[ch]:
2025 Shut down fam (including removing fam GSource) when
2026 module is unloaded (#521513)
2027 Patch from Joe Marcus Clarke
2029 2008-03-14 Alexander Larsson <alexl@redhat.com>
2032 (_g_io_modules_ensure_loaded):
2035 2008-03-14 Alexander Larsson <alexl@redhat.com>
2038 (g_local_file_query_filesystem_info):
2039 Use right define name for f_fstypename member check
2041 2008-03-14 Alexander Larsson <alexl@redhat.com>
2044 * fen/Makefile.am: Added.
2045 * fen/fen-data.[ch]: Added.
2046 * fen/fen-dump.[ch]: Added.
2047 * fen/fen-helper.[ch]: Added.
2048 * fen/fen-kernel.[ch]: Added.
2049 * fen/fen-missing.[ch]: Added.
2050 * fen/fen-node.[ch]: Added.
2051 * fen/fen-sub.[ch]: Added.
2052 * fen/gfendirectorymonitor.[ch]: Added.
2053 * fen/gfenfilemonitor.[ch]: Added.
2055 Added Solaris FEN file notification backend.
2056 Patch from Lin Ma <Lin.Ma@Sun.COM>
2058 2008-03-13 Tor Lillqvist <tml@novell.com>
2060 * Makefile.am: Actually use the gio.def file when linking the
2061 library on Windows. Produce .lib library for Microsoft's toolchain
2062 when possible. Install the .lib and .def file like for the other
2065 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2067 * tests/live-g-file.c:
2068 Include live-g-file in standard set of tests, making a temporary
2069 directory in source structure.
2071 Clean target directory before the tests (write mode only)
2073 2008-03-12 Tor Lillqvist <tml@novell.com>
2075 Bug 517419 - gio win32 directory monitor
2076 Implementation by Vlad Grecescu.
2079 * win32/gwin32directorymonitor.h
2080 * win32/gwin32directorymonitor.c: New files.
2082 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2084 * Makefile.am: Add the win32 subdirectory.
2086 2008-03-12 Tor Lillqvist <tml@novell.com>
2088 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2089 normal struct stat on Unix but struct _stati64 on Windows to have
2090 access to 64-bit file size information. Use that instead of struct
2091 stat in the functions declared here in this private header.
2093 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2094 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2095 warnings about unused functions and variables. Don't set
2096 meaningless attributes like inode numbers on Windows.
2098 2008-03-12 Benjamin Otte <otte@gnome.org>
2101 trim whitespace so gtk-doc groks the function name
2103 2008-03-12 Tor Lillqvist <tml@novell.com>
2105 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2106 returning FALSE, on Win32.
2108 2008-03-11 Alexander Larsson <alexl@redhat.com>
2111 * glocalfileinfo.[ch]:
2112 Correctly implement can_trash by actually
2113 looking for a trash dir, not just assuming
2116 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2118 * === Released 2.16.1 ===
2120 2008-03-11 Alexander Larsson <alexl@redhat.com>
2123 Fix crashes in new constructor and properties code
2125 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2127 * gfile.c: Minor spelling correction in documentation:
2128 existance -> existence.
2130 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2132 * === Released 2.16.0 ===
2134 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2136 * gio.symbols: Remove g_file_contains_file here, too.
2138 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2140 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2141 Samuel Cormier-Iijima)
2143 2008-03-08 Tor Lillqvist <tml@novell.com>
2145 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2148 2008-03-07 Alexander Larsson <alexl@redhat.com>
2151 (g_local_file_query_filesystem_info):
2152 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2153 Patch from Jasper Lievisse Adriaanse
2155 2008-03-06 Tor Lillqvist <tml@novell.com>
2157 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2158 comments for the *_USEC attributes.
2160 2008-03-06 Alexander Larsson <alexl@redhat.com>
2162 * gfile.c (g_file_query_exists):
2163 Add g_return_val_if_fail check (#520700)
2165 2008-03-06 Alexander Larsson <alexl@redhat.com>
2167 * gdesktopappinfo.c:
2170 * gunionvolumemonitor.c:
2173 * tests/live-g-file.c:
2174 * xdgmime/xdgmimecache.c:
2175 Fix sparse warnings (#519489)
2177 2008-03-05 Alexander Larsson <alexl@redhat.com>
2180 Make cancellation threadsafe (i.e.
2181 guarantee its only done once, and always
2184 * glocaldirectorymonitor.c:
2185 Make sure we the monitor lives while the
2186 mounts_changed callback is being called (#520484)
2188 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2190 * gbufferedinputstream.c: Fix typo in parameter
2193 2008-03-04 Alexander Larsson <alexl@redhat.com>
2196 Remove deprecated symbols we kept for one release.
2198 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2201 * goutputstream.c: Tiny documentation corrections.
2203 2008-03-03 Alexander Larsson <alexl@redhat.com>
2205 * gunionvolumemonitor.c:
2207 Fix the adopt_orphan_mount vfunc to take a
2208 volume_monitor reference in an ABI compat way.
2209 This change is not API compat, but the added
2210 arg is not used in the only user of this vfunc, so
2211 all we get is a harmless warning in gvfs (#520169)
2213 2008-03-01 Benjamin Otte <otte@gnome.org>
2216 clarify docs for g_file_delete().
2218 2008-02-29 Alexander Larsson <alexl@redhat.com>
2222 Make sure empty files get text/plain type (#518720)
2224 2008-02-27 Alexander Larsson <alexl@redhat.com>
2230 (g_unix_volume_mount):
2231 Add missing GMountMountFlags argument
2233 2008-02-26 Alexander Larsson <alexl@redhat.com>
2236 (g_local_file_delete):
2237 Handle filesystems (like ntfs-3g) that return EEXIST instead
2238 of ENOTEMPTY (#518816)
2240 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2242 * === Released 2.15.6 ===
2244 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2246 * gfile.c (g_file_find_enclosing_mount):
2247 * ginputstream.c (g_input_stream_set_pending):
2248 * glocalfile.c (g_local_file_find_enclosing_mount):
2249 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2250 * goutputstream.c (g_output_stream_set_pending):
2252 Fixup translator comments (#518578).
2254 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2256 * gfile.c (g_file_find_enclosing_mount):
2258 * glocalfile.c (g_local_file_find_enclosing_mount):
2261 Fix a few typos in translator comments and documentation.
2263 2008-02-25 Alexander Larsson <alexl@redhat.com>
2270 Add translator comments (#518578)
2272 2008-02-25 Alexander Larsson <alexl@redhat.com>
2275 Reintroduce g_file_contains_file, keep around for one
2276 unstable release cycle to avoid crashing to many apps.
2277 Make sure to delete after release.
2279 2008-02-25 Alexander Larsson <alexl@redhat.com>
2282 Remove deprecated g_file_contains_file.
2284 2008-02-25 Alexander Larsson <alexl@redhat.com>
2287 Emit actual change signals in an idle handler.
2288 This avoids reentrance and locking problems in
2289 the file notification backends.
2291 2008-02-25 Alexander Larsson <alexl@redhat.com>
2294 (g_unix_mount_guess_should_display):
2295 Remove type guessing, instead just display
2296 mounts in /media and in ~/.
2298 2008-02-25 Alexander Larsson <alexl@redhat.com>
2301 Make new strings reuse old ones.
2303 2008-02-25 Alexander Larsson <alexl@redhat.com>
2306 Implement trashing and filesystem::readonly for win32 (#517235)
2307 Patch from Yevgen Muntyan
2309 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2311 * gfileinfo.h: Documentation fixes.
2313 2008-02-22 Alexander Larsson <alexl@redhat.com>
2315 * gcontenttype.c (g_content_type_get_icon):
2316 Look at old-style gnome mime icon names too, as many
2317 have not moved to the new style.
2319 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2321 * *.c: Correct the @include in for section docs.
2323 2008-02-21 David Zeuthen <davidz@redhat.com>
2325 * glocalfileinfo.c: (_g_local_file_info_get):
2327 (g_content_type_get_icon): Implement this function by
2328 moving bits from glocalfileinfo.c
2329 (g_content_type_get_description): Unalias before getting
2330 description (#517687)
2332 * gfile.c: (g_file_class_init),
2333 (g_file_query_filesystem_info_async),
2334 (g_file_query_filesystem_info_finish),
2335 (query_filesystem_info_data_free),
2336 (query_filesystem_info_async_thread),
2337 (g_file_real_query_filesystem_info_async),
2338 (g_file_real_query_filesystem_info_finish):
2339 * gfile.h: Implement async version of
2340 g_file_query_filesystem_info()
2342 * gfileinfo.h: Add new attributes for filesystem::use-preview
2344 * gio.symbols: Update
2346 * gthemedicon.c: (g_themed_icon_append_name):
2347 * gthemedicon.h: Add new new convenience function.
2349 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2350 (get_mounts), (get_volumes), (get_connected_drives),
2351 (get_volume_for_uuid), (get_mount_for_uuid),
2352 (g_union_volume_monitor_init), (populate_union_monitor),
2353 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2354 (g_volume_monitor_adopt_orphan_mount):
2356 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2357 monitor implementations to call into the main volume monitor. Also
2358 separate object initialization and volume monitor initialization
2359 such that non-native volume monitors can properly adopt their
2362 2008-02-21 Alexander Larsson <alexl@redhat.com>
2367 2008-02-21 Alexander Larsson <alexl@redhat.com>
2370 Add more documentation about how GFiles work (from #517086)
2372 2008-02-21 Alexander Larsson <alexl@redhat.com>
2376 Add new g_file_has_prefix that does the same as g_file_contains_file.
2377 Deprecate g_file_contains_file and add a macro that converts
2378 it to g_file_has_prefix.
2379 The reason for this change is that the contains_file() name seems to
2380 imply that this does more work than what it does, but its really only
2381 a name match (from #517086)
2386 Update to match the above change.
2388 2008-02-20 Benjamin Otte <otte@gnome.org>
2390 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2391 (g_file_eject_mountable):
2392 even more cases of not returning in error path
2394 2008-02-20 Benjamin Otte <otte@gnome.org>
2396 * gfile.c: (g_file_mount_mountable):
2397 return from function in error path.
2399 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2402 Remove trailing coma in GMountMountFlags struct
2404 2008-02-18 Alexander Larsson <alexl@redhat.com>
2408 * glocalfileoutputstream.c:
2409 Use g_unlink/g_rename instead of unlink/rename;
2410 do not pass raw filenames to g_set_error. (#517239)
2411 Patch from Yevgen Muntyan.
2413 2008-02-18 Alexander Larsson <alexl@redhat.com>
2416 * glocalfileoutputstream.c:
2417 Open files with O_BINARY on windows. (#517140)
2419 2008-02-14 Alexander Larsson <alexl@redhat.com>
2421 * glocalfileoutputstream.c:
2422 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2424 2008-02-14 Alexander Larsson <alexl@redhat.com>
2427 Copy permissions with file on copy (#514084)
2428 This is what cp does and makes sure e.g. the
2429 exec permissions are kept.
2430 Its kinda weird in that it keeps the permission bits
2431 the same while the uid and gid are different. However
2432 the new uid is the user so its not a security issue,
2433 and I've heard no complaints about cp on this issue.
2435 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2437 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2439 2008-02-13 Alexander Larsson <alexl@redhat.com>
2441 * inotify/inotify-path.c:
2442 Define IN_ONLYDIR if not in header (#515346)
2444 2008-02-12 Alexander Larsson <alexl@redhat.com>
2446 * tests/live-g-file.c:
2449 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2451 * === Released 2.15.5 ===
2453 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2455 * gio.symbols: Add g_mount_mount_flags_get_type.
2457 2008-02-11 Alexander Larsson <alexl@redhat.com>
2460 (g_file_info_set_attribute_mask):
2461 (g_file_attribute_matcher_matches_id):
2462 Correctly handle NULL GAttributeMatcher meaning
2463 matches nothing. (Fixes #513492)
2465 2008-02-11 Alexander Larsson <alexl@redhat.com>
2470 Added GMountMountFlags enum and added a flags
2471 argument to all mount calls.
2473 This is an API/ABI change for future extensibility,
2474 as I think we will need at least an
2475 inhibit-autorun flag (the panel needs this).
2476 There are no flags defined yet though.
2478 2008-02-11 Alexander Larsson <alexl@redhat.com>
2481 Added new standard::description attribute.
2482 Requested by Vincent, and useful for both
2485 2008-02-11 Alexander Larsson <alexl@redhat.com>
2487 * gdesktopappinfo.c:
2490 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2492 * *.c: Documentation additions
2494 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2496 * gappinfo.h: Formatting cleanup
2497 * gappinfo.c: Fix up docs.
2499 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2501 * gunixmounts.c: Consistently use getmntent_r() and fall
2502 back to getmntent(). (#515492)
2504 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2506 * gbufferedinputstream.c:
2508 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2510 * tests/data-input-stream.c:
2511 * tests/data-output-stream.c: Portability fixes.
2513 2008-02-08 Alexander Larsson <alexl@redhat.com>
2518 Add g_volume_should_automount.
2521 2008-02-07 Tor Lillqvist <tml@novell.com>
2523 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2524 Win32, too Unix-specific.
2526 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2528 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2529 a local plt if the compiler doesn't support what we want. Bug #514702
2531 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2533 reviewed by: <delete if not using a buddy>
2536 * gunixinputstream.c:
2537 * gunixoutputstream.c:
2539 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2541 * tests/Makefile.am:
2542 * tests/live-g-file.c:
2543 * tests/live-g-file.txt:
2544 New GIO testing module working over real data
2546 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2548 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2549 Fallback to rename() if link() is not available
2550 (when no support on target filesystem)
2552 2008-02-06 Michael Natterer <mitch@imendio.com>
2554 * gfileinfo.c (g_file_info_get_icon): replace
2555 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2557 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2559 * gfile.c (g_file_create):
2560 Documentation update of error codes
2562 2008-02-06 Alexander Larsson <alexl@redhat.com>
2564 * gdesktopappinfo.c:
2565 Update to use both mimeapps.list and
2566 defaults.list as discussed on xdg list.
2568 2008-02-06 Benjamin Otte <otte@gnome.org>
2571 * gfilenamecompleter.c:
2572 Fix some typos in the documentation.
2574 2008-02-06 Alexander Larsson <alexl@redhat.com>
2576 * glocalfile.c (g_local_file_trash):
2577 Don't succeed with trash if newly created
2578 trash dir has the wrong owner. (#514696)
2580 2008-02-05 Alexander Larsson <alexl@redhat.com>
2582 * glocalfile.c (g_local_file_move):
2583 Don't spew warnings when destination is not
2586 2008-02-03 Hans Breuer <hans@breuer.org>
2588 * makefile.msc : update
2590 2008-02-01 Michael Natterer <mitch@imendio.com>
2592 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2593 return value of xdg_mime_list_mime_parents() to a variable of the
2596 2008-02-01 Alexander Larsson <alexl@redhat.com>
2598 * gappinfo.c (g_app_info_launch_uris):
2599 Actually call the launch_uris method, not
2602 2008-02-01 Alexander Larsson <alexl@redhat.com>
2604 * gdesktopappinfo.c (g_desktop_app_info_equal):
2605 Ensure appinfos with no id but same pointer value
2608 2008-02-01 Alexander Larsson <alexl@redhat.com>
2610 * gappinfo.c (g_app_info_launch_default_for_uri):
2613 2008-02-01 Alexander Larsson <alexl@redhat.com>
2617 Add g_app_info_launch_default_for_uri utility
2620 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2622 * gdesktopappinfo.c:
2623 Doc fix for g_app_info_get_default_for_uri_scheme ()
2626 2008-01-30 Alexander Larsson <alexl@redhat.com>
2629 Add doc comment about uris vs GFiles to
2632 * gdesktopappinfo.c:
2633 Ensure uris passed to g_app_info_launch_uris()
2634 are not roundtriped through GFile (as that
2635 may be slightly destructive for e.g. mailto: links)
2637 2008-01-30 Alexander Larsson <alexl@redhat.com>
2639 * tests/data-input-stream.c:
2640 * tests/data-output-stream.c:
2641 C89 fixes from Jens Granseuer (#512849)
2643 2008-01-30 Alexander Larsson <alexl@redhat.com>
2646 Fix gamin/fam difference build issue. (#509419)
2648 2008-01-29 Alexander Larsson <alexl@redhat.com>
2651 * gdesktopappinfo.c:
2652 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2654 2008-01-29 Alexander Larsson <alexl@redhat.com>
2656 * gdesktopappinfo.c:
2657 * gdesktopappinfo.h:
2658 giomodule-priv.h include moved to .c file.
2660 2008-01-29 Alexander Larsson <alexl@redhat.com>
2662 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2663 Remove unused prio/name fields.
2665 2008-01-29 Alexander Larsson <alexl@redhat.com>
2667 * gcontenttype.c (looks_like_text):
2668 Don't treat whitespace as control chars.
2670 2008-01-29 Alexander Larsson <alexl@redhat.com>
2672 * gdesktopappinfo.c:
2673 Lazily create the desktop files for appinfos created
2674 by g_app_info_create_from_commandline() when needed
2675 for mime associations. This allows run-time use
2676 of GAppInfo object without creating unnecessary
2679 2008-01-29 Alexander Larsson <alexl@redhat.com>
2682 Added new symbols to gio.symbols
2684 2008-01-29 Alexander Larsson <alexl@redhat.com>
2687 Add g_file_query_default_handler utility to easily look up
2688 the GAppInfo that handles a file.
2690 * gdesktopappinfo.[ch]:
2692 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2695 Remove unused function
2697 2008-01-29 Alexander Larsson <alexl@redhat.com>
2699 * gfileenumerator.c:
2700 Mention need to free returned value in
2701 g_file_enumerator_next_files_finish docs.
2702 Fix leak if g_file_enumerator_next_files_finish()
2705 2008-01-29 Alexander Larsson <alexl@redhat.com>
2708 (_g_unix_content_type_get_parents):
2709 Use list_parents, not get_parents from xdgmime, because
2710 the later doesn't use the cache.
2712 * xdgmime/xdgmimecache.c:
2713 (_xdg_mime_cache_list_mime_parents):
2714 Don't list the same type as parent multiple times.
2716 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2718 * === Released 2.15.4 ===
2720 2008-01-28 Alexander Larsson <alexl@redhat.com>
2723 Register local vfs with prio 0.
2726 Remove old name and prio class members
2728 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2730 * tests/g-file.c: Disable some tests that are failing in
2731 the absence of a http backend.
2733 2008-01-28 Alexander Larsson <alexl@redhat.com>
2737 Add registration hooks for extension points.
2738 Register the gio extension points.
2740 * fam/gfamdirectorymonitor.c:
2741 * fam/gfamfilemonitor.c:
2742 * glocaldirectorymonitor.[ch]:
2743 * glocalfilemonitor.[ch]:
2744 * gnativevolumemonitor.h:
2745 * gunionvolumemonitor.c:
2746 * gunixvolumemonitor.c:
2749 * inotify/ginotifydirectorymonitor.c:
2750 * inotify/ginotifyfilemonitor.c:
2751 Use the extension points registration instead
2752 of g_type_children().
2754 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2757 * gvolume.[hc]: Document new API.
2759 * gfile.c (g_file_copy_async): Fix docs
2761 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2763 * gbufferedinputstream.c:
2765 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2768 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2770 * glocalfile.c: Avoid trivial differences in translatable strings.
2772 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2774 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2775 build with gcc 3.4 (#509419)
2777 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2779 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2780 (#509994, Murray Cumming)
2782 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2784 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2785 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2786 this allows big jobs to be executed in chunks, instead of blocking
2787 the main loop for a long time.
2789 * gsimpleasyncresult.c:
2790 * giofile.c: Adapt callers.
2792 2008-01-25 Alexander Larsson <alexl@redhat.com>
2794 * gdesktopappinfo.c:
2795 Implement changes discussed on xdg list.
2796 Now we can add supported mimetypes by just using defaults.list
2797 We can also remove associations in defaults.list.
2799 2008-01-25 Alexander Larsson <alexl@redhat.com>
2801 * gdesktopappinfo.c:
2802 Don't make local copy of desktop file
2803 for mimetype changes if the file already
2804 supports the new mimetype.
2806 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2810 * gbufferedinputstream.c:
2811 * glocalfile.c: String improvements. (#511966,
2812 Theppitak Karoonboonyanan)
2814 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2816 * gioscheduler.h: Expand docs a bit.
2818 2008-01-24 Alexander Larsson <alexl@redhat.com>
2821 Add g_drive_get_identifier and
2822 g_drive_enumerate_identifiers
2825 Add g_volume_get_identifier and
2826 g_volume_enumerate_identifiers
2832 Implement identifiers for unix backend
2834 2008-01-24 Alexander Larsson <alexl@redhat.com>
2839 Add g_file_copy_async() (#511580)
2840 Based on patch from Carlos Garcia Campos
2842 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2844 * gioscheduler.c: Some documentation additions.
2846 2008-01-22 Alexander Larsson <alexl@redhat.com>
2848 * gdesktopappinfo.c:
2849 (g_desktop_app_info_new):
2850 Don't leak basename.
2852 2008-01-22 Alexander Larsson <alexl@redhat.com>
2854 * gdesktopappinfo.c:
2855 (g_desktop_app_info_new_from_filename):
2858 2008-01-22 Alexander Larsson <alexl@redhat.com>
2860 * glocalfileinfo.c (get_thumbnail_attributes):
2863 2008-01-22 Alexander Larsson <alexl@redhat.com>
2866 (canonicalize_filename):
2867 Canonicalize paths that start with more than
2871 (compare_two_files):
2872 (test_g_file_new_for_path):
2875 2008-01-22 Alexander Larsson <alexl@redhat.com>
2878 Allow UTF-8 in file:// parse names.
2880 * tests/Makefile.am:
2881 * tests/data-input-stream.c:
2882 * tests/data-output-stream.c:
2883 * tests/g-file-info.c:
2885 Added a bunch of tests from Tomas Bzatek
2887 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2889 * === Released 2.15.3 ===
2891 2008-01-21 Alexander Larsson <alexl@redhat.com>
2893 * gfileinputstream.[ch]:
2894 * gfileoutputstream.[ch]:
2896 Remove duplicated GSeekable functions. (#509990)
2897 Just use the g_seekable_xxx() calls instead.
2899 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2902 * gvolumemanager.c: Whitespace cleanups.
2904 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2905 Use the right mode when creating the file.
2907 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2909 * gfileenumerator.c:
2910 * gfileinputstream.c:
2912 * goutputstream.c: Documentation: Fixed minor typos
2913 and added more mentions of specific _finish() functions.
2915 2008-01-21 Alexander Larsson <alexl@redhat.com>
2917 * inotify/Makefile.am:
2918 * inotify/inotify-helper.c:
2919 * inotify/inotify-kernel.c:
2920 * inotify/inotify-path.c:
2921 * inotify/local_inotify.h: Removed.
2922 * inotify/local_inotify_syscalls.h: Removed.
2923 Removed the included copies of the inotify
2924 headers. We now only use the <sys/inotify.h>
2925 header which exists on modern systems.
2926 This fixes problems on ARM and SH5 (#510448)
2927 but is also generally much cleaner and future
2928 safe. For instance, if other OSes add support
2929 for inotify it should "just work".
2931 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2933 * inotify/*.c: Coding style fixes.
2934 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2935 for the 1/4 Hz timer.
2937 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2940 * gfilemonitor.[hc]:
2941 * gmemoryinputstream.c:
2942 * gmemoryoutputstream.c:
2943 * gmountoperation.c:
2944 * gthemedicon.c: Documentation updates
2946 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2948 * gfile.c: documentation: Fixed more minor
2951 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2953 * gmount.c: (g_mount_remount): documentation:
2954 Mention g_mount_remount_finish() instead of
2955 g_mount_unmount_finish().
2957 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2961 * gfile.c: Fixed some minor typos in the
2964 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2966 * gio/gvolumemonitor.c:
2967 (g_volume_monitor_get_connected_drives):
2968 (g_volume_monitor_get_volumes):
2969 (g_volume_monitor_get_mounts): Documentation:
2970 Clarify the ownership of the regurn GLists.
2972 2008-01-17 Alexander Larsson <alexl@redhat.com>
2975 Add the async find_enclosing_mount version
2976 to the header file too.
2978 2008-01-17 Alexander Larsson <alexl@redhat.com>
2981 Add async version of find_enclosing_mount
2982 with default implementation.
2984 2008-01-17 Alexander Larsson <alexl@redhat.com>
2989 Allow calls to implementation of copy and write
2990 even if the type of the file implementations is
2991 different. This can be used to implement native
2992 upload and download calls in a vfs.
2995 (g_local_file_move):
2996 Protect against the case where move is called
2997 with one file not being local.
2999 Make sure we call the progress callback once
3000 in the native move operation so that the caller
3001 knows how many bytes were copied.
3003 2008-01-16 Murray Cumming <murrayc@murrayc.com>
3006 * gdatainputstream.c:
3008 * gfileoutputstream.c:
3013 * gunixmounts.c: Corrected some typos in the documentation:
3014 occured -> occurred.
3015 its -> it's (where appropriate).
3017 2008-01-16 Alexander Larsson <alexl@redhat.com>
3021 Add g_file_query_exists (#508771)
3023 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3028 * gvolume.c: For async functions that have no non-async
3029 version, document that the GAsyncReadyCallback may be NULL.
3032 2008-01-15 Alexander Larsson <alexl@redhat.com>
3034 * gmemoryinputstream.c:
3035 * gmemoryoutputstream.c:
3036 Don't do pointer arithmetic on void * (#508602)
3037 Patch from Kazuki IWAMOTO
3039 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3041 * === Released 2.15.2 ===
3043 2008-01-14 Alexander Larsson <alexl@redhat.com>
3045 * gfile.c (g_file_monitor_file):
3046 Don't set error here, since we fallback to polling monitor.
3048 2008-01-14 Alexander Larsson <alexl@redhat.com>
3051 (g_file_monitor_directory):
3052 (g_file_monitor_file):
3053 Add GError to file monitor calls
3055 * glocaldirectorymonitor.c:
3056 * glocaldirectorymonitor.h:
3058 * glocalfilemonitor.c:
3059 * glocalfilemonitor.h:
3061 Update for above change
3063 2008-01-14 Alexander Larsson <alexl@redhat.com>
3067 Handle root correctly in g_file_get_relative_path (#508719)
3069 2008-01-14 Alexander Larsson <alexl@redhat.com>
3072 Clean up docs and example for GAsyncResult (#508074)
3074 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3076 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3077 and correct some spelling mistakes. Bug #508108.
3079 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3081 * glocalfileinfo.c: Add a comment.
3083 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3085 * gfileinfo.c: GFileInfo description: Mention
3086 how to actually set attributes in a GFile and how to discover
3087 which attributes are settable. Bug #508378.
3089 2008-01-10 A. Walton <awalton@svn.gnome.org>
3091 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3092 (g_app_info_get_default_for_type):
3093 Check for NULL content types.
3095 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3097 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3099 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3101 * gfile.c: *_async() functions: Several small corrections
3102 to the documentation, mostly correcting copy/paste errors
3103 and improving some sentences.
3105 2008-01-09 Dan Winship <danw@gnome.org>
3107 * glocalfile.c (get_unique_filename): x86_64 fix
3109 2008-01-09 Alexander Larsson <alexl@redhat.com>
3114 Add g_unix_mount_guess_should_display and use
3115 for unix volume monitor backend.
3116 This means we more or less show what the
3117 gnome-vfs backend did.
3118 Based on patch from Padraig O'Briain
3120 2008-01-09 Alexander Larsson <alexl@redhat.com>
3124 Add g_themed_icon_new_with_default_fallbacks
3127 Use default fallbacks for icons
3129 2008-01-09 Alexander Larsson <alexl@redhat.com>
3132 * gmountoperation.[ch]:
3133 Change the API a bit so that unhandled methods
3134 get reported via the reply, rather than by
3135 the signal emission return value. This is because
3136 some handlers can't know this immediately without
3137 doing I/O, and this is an async operation that
3140 2008-01-09 Alexander Larsson <alexl@redhat.com>
3143 * fam/gfamdirectorymonitor.c:
3144 * fam/gfamfilemonitor.c:
3145 Fix double free crash (#508224)
3146 Patch from Joe Marcus Clarke
3148 008-01-07 Matthias Clasen <mclasen@redhat.com>
3150 * === Released 2.15.1 ===
3152 2008-01-07 Alexander Larsson <alexl@redhat.com>
3154 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3155 Fix warning (#507835)
3157 2008-01-07 Alexander Larsson <alexl@redhat.com>
3160 Pass --internal to glib-genmarshal
3163 * gmountoperation.c:
3165 Use better types for signal arguments (#507822)
3167 2008-01-07 Alexander Larsson <alexl@redhat.com>
3170 Build test subdir after .
3171 Remove gdirectorymonitor.[ch]
3173 * gdirectorymonitor.[ch]:
3177 Remove GDirectoryMonitor and make
3178 GFileMonitor the baseclass for both file and
3179 directory monitors. Lift the more generic
3180 rate limiting code from GDirectoryMonitor
3184 * fam/gfamdirectorymonitor.[ch]:
3185 * inotify/ginotifydirectorymonitor.[ch]:
3186 * inotify/inotify-helper.c:
3187 * glocaldirectorymonitor.[ch]:
3190 Update for the removed GDirectoryMonitor.
3192 * gmemoryoutputstream.c:
3193 Remove ununsed variable
3195 2008-01-07 Alexander Larsson <alexl@redhat.com>
3197 * gmemoryinputstream.c:
3198 Translate error strings
3201 * gmemoryoutputstream.[ch]:
3202 New implementation that avoids using GByteArray
3203 in implementation and API. (#506377)
3205 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3207 * tests/*: Add a test for memory input streams.
3209 * Makefile.am: Add tests to SUBDIRS.
3211 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3213 * glocalfilemonitor.c:
3214 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3217 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3219 * gdesktopappinfo.c: Fix a docs typo.
3221 * gfileattribute.c: Add information about extended attributes
3222 to the documentation. (#505058)
3224 2008-01-04 Alexander Larsson <alexl@redhat.com>
3227 * gmountoperation.c:
3228 Use the right type (uint) for the ask_password signal.
3230 2008-01-04 Alexander Larsson <alexl@redhat.com>
3235 Add g_app_info_supports_files()
3236 Remove desktop arg from g_app_info_should_show().
3238 * gdesktopappinfo.[ch]:
3239 Implement g_app_info_supports_files() and new should_show()
3240 Add g_desktop_app_info_set_desktop_env() to set the desktop
3241 for should_show(). (This will be set by gtk+ later)
3243 2008-01-04 Alexander Larsson <alexl@redhat.com>
3246 * gmemoryinputstream.[ch]:
3247 Improve API so that you can use multiple chunks
3248 of memory and custom destroy functions. (#506374)
3250 2008-01-03 Alexander Larsson <alexl@redhat.com>
3253 Handle NULL attribute matchers safely, as we return this
3254 for empty attribute matcher strings.
3256 2008-01-03 Alexander Larsson <alexl@redhat.com>
3258 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3259 Add /usr/local to list of internal mountpoints
3261 2008-01-03 Alexander Larsson <alexl@redhat.com>
3264 Check for HAVE_LCHOWN (#505887)
3266 2008-01-03 Alexander Larsson <alexl@redhat.com>
3270 Add define for selinux context attribute.
3271 Fix missing : -> :: namespace separator change
3272 Fix missing _ -> - name change for xattr-sys.
3275 2008-01-03 Alexander Larsson <alexl@redhat.com>
3278 Link to libglib and libgobject directly (#504879)
3279 Patch from Sebastien Bacher
3281 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3283 * gfile.c: Expanded the g_file_new_for_commandline_arg
3284 description a bit, based on the code and the docs of the
3285 other g_file_new_for_* functions.
3287 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3289 * gfilemonitor.h: Fixed typo in docs.
3291 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3293 Updates to GIO documentation. (#506395, Mikael Hermansson)
3295 * gcontenttype.c: Describe memory management for return value of
3296 g_content_types_get_registered(). Missing piece from #505815.
3297 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3298 GVolume, GDrive, GMounts, which hopefully gives the user less
3299 confusions when using this API. Following explainations from
3300 Alexander Larsson on gtk-devel-list.
3302 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3304 * gfileinfo.c: Expand the long description.
3306 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3309 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3310 fix builds with --disable-visibility. (#500273, Christian Persch)
3312 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3314 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3315 in the list of returned app infos.
3317 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3319 * gappinfo.c: Fix a cross-reference
3321 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3323 * gfileinputstream.c:
3324 * gfileoutputstream.c:
3328 * gdesktopappinfo.c:
3330 * gfileinfo.c: Documentation updates.
3332 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3334 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3337 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3339 * gcontenttype.c (g_content_types_get_registered): Don't return
3340 freed memory (#505815, Mikael Hermansson)
3342 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3344 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3345 used to detect statbuf->st_blocks. (#505042)
3347 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3349 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3350 environment handling. (#504829, Cosimo Cecchi)
3352 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3354 * gappinfo.c: Doc improvements
3356 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3359 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3361 * === Released 2.15.0 ===
3363 2007-12-20 Hans Breuer <hans@breuer.org>
3365 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3366 with symbols gwin32appinfo.obj, added gmount.obj
3367 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3369 2007-12-20 Alexander Larsson <alexl@redhat.com>
3375 * gfilenamecompleter.c:
3378 * gpollfilemonitor.c:
3379 File attribute renames:
3381 fs:: -> filesystem::
3382 id::fs -> id::filesystem
3384 2007-12-20 Alexander Larsson <alexl@redhat.com>
3393 Add GMountUnmountFlags to all unmount and
3395 Add g_mount_remount() call.
3397 2007-12-20 Alexander Larsson <alexl@redhat.com>
3399 * gvfs.c (get_default_vfs):
3400 Fix unused variable warning
3402 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3404 * pltcheck.sh: Update
3406 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3408 * gunionvolumemonitor.c:
3409 * gunixmount.c: Remove C99 comments
3411 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3413 * gio.symbols: Add some missing symbols
3415 2007-12-19 Alexander Larsson <alexl@redhat.com>
3418 Make g_io_modules_load_all_in_directory not unuse
3419 loaded modules so that users of it can do stuff
3421 Init internal "module" types.
3422 Initialize static prio and name for types so that
3423 we don't have to load modules to get it.
3425 * gnativevolumemonitor.h:
3427 Move is_supported to parent class so that
3428 non-native monitors can avoid being initialized
3429 too. (For instance GDaemonVolumeMonitor if we're
3430 not using GDaemonVfs.)
3432 * glocaldirectorymonitor.[ch]:
3433 * glocalfilemonitor.[ch]:
3434 * gunionvolumemonitor.c:
3435 * gunixvolumemonitor.c:
3437 Find plugins using the static prio+name to
3438 avoid unnecessarily loading the modules.
3440 2007-12-19 Alexander Larsson <alexl@redhat.com>
3445 2007-12-19 Alexander Larsson <alexl@redhat.com>
3447 * gunionvolumemonitor.c:
3448 Store the native type as GType, not class so that
3449 we can unload it. But still avoid unnecessarily
3452 2007-12-19 David Zeuthen <davidz@redhat.com>
3454 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3455 add signals 'disconnected' and 'eject-button' on GDrive. Add
3456 signal 'removed' on GVolume and 'unmounted' on GMount.
3458 * gdrive.c: (g_drive_base_init):
3460 * gfile.c: (g_file_mount_mountable),
3461 (g_file_mount_enclosing_volume):
3464 * gmount.c: (g_mount_base_init):
3466 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3467 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3468 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3472 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3474 * *.c: Fix up includes in the section docs.
3476 2007-12-17 Alexander Larsson <alexl@redhat.com>
3478 * gnativevolumemonitor.h:
3479 * gunionvolumemonitor.c:
3480 * gunixvolumemonitor.c:
3481 Add is_supported() to GNativeVolumeMonitorClass so
3482 that we can avoid having to create an object to see
3483 if the backend is supported at runtime.
3484 Also add name member and an env var to pick a specific
3485 volume monitor backend.
3489 Add cancellable to _g_mount_get_for_mount_path()
3491 * glocaldirectorymonitor.c:
3492 * glocalfilemonitor.c:
3493 Avoid loading and unloading modules while sorting.
3495 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3498 * gunixmounts.[hc]: Namespace waste reduction, move some
3499 g_get_unix_mount functions to the g_unix_mount namespace.
3502 * gunixvolumemonitor.c:
3504 * glocaldirectorymonitor.c: Update all callers.
3506 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3508 2007-12-17 Alexander Larsson <alexl@redhat.com>
3511 Add doc comments about what GFile operations are
3512 guaranteed to not block.
3514 2007-12-17 Alexander Larsson <alexl@redhat.com>
3517 Add missing #ifdef fixing OSX build.
3518 (#503334, patch from Richard Hult)
3520 2007-12-14 David Zeuthen <davidz@redhat.com>
3524 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3525 (g_mount_eject), (g_mount_eject_finish):
3527 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3528 (get_volume_for_uuid), (get_mount_for_uuid),
3529 (g_union_volume_monitor_class_init),
3530 (get_default_native_type_with_exclude), (get_default_native_type),
3531 (get_native_type), (update_native_type),
3532 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3533 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3534 (g_unix_mount_can_eject), (eject_unmount_cb),
3535 (eject_unmount_read_error), (eject_unmount_do),
3536 (g_unix_mount_unmount), (g_unix_mount_eject),
3537 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3538 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3539 (g_unix_mount_point_guess_can_eject):
3541 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3542 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3543 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3544 (g_unix_volume_mount), (g_unix_volume_eject),
3545 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3546 * gunixvolumemonitor.c: (get_volume_for_uuid),
3547 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3549 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3550 (g_volume_eject), (g_volume_eject_finish):
3552 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3553 (g_volume_monitor_get_mount_for_uuid):
3556 Provide eject() on both GMount and GVolume and utility functions
3557 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3558 ejected. Introduce the concept of UUID's and wire it into GVolume
3559 and GMount and provide API on GVolumeMonitor to find such
3560 instances. Also handle the case where an external
3561 GNativeVolumeMonitor fails to initialize. Lock around the
3562 _g_get_mount_for_mount_path() function such that volume monitor
3563 implementations won't have to do locking themselves.
3565 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3567 * gdesktopappinfo.c:
3573 * gvolume.h: Documentation updates
3575 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3578 * gfile.h: Doc updates
3580 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3583 * gdesktopappinfo.c: Use hash table iterators.
3585 2007-12-14 Alexander Larsson <alexl@redhat.com>
3588 * gfileattribute.[ch]:
3589 * gfileattribute-priv.h:
3590 Move GFileAttributeValue to a private header, as
3594 Make set_attribute take a type + a pointer instead
3595 of a GFileAttributeValue.
3598 Fix up for above changes.
3599 Add g_file_info_get_attribute_data to get
3600 all info in one call, g_file_info_get_attribute_status
3601 to get the status and g_file_info_get_attribute_as_string.
3605 * glocalfileinfo.[ch]:
3609 Make _guess_type static.
3611 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3614 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3615 made mkenums and friends use temporary files to avoid leaving
3616 empty generated files on failure (#503470).
3618 2007-12-14 Alexander Larsson <alexl@redhat.com>
3620 * gmountoperation.h:
3623 2007-12-14 Alexander Larsson <alexl@redhat.com>
3627 * gfileattribute.[ch]:
3630 * glocalfileoutputstream.c:
3631 * gmountoperation.[ch]:
3632 * goutputstream.[ch]:
3633 Clean up all flags enums to not have _FLAGS in them
3634 Make the names of some of the enums better.
3639 2007-12-14 Michael Natterer <mitch@imendio.com>
3641 * gio.symbols: fix g_io_scheduler symbol names.
3643 2007-12-14 Alexander Larsson <alexl@redhat.com>
3649 * gbufferedinputstream.h:
3650 * gbufferedoutputstream.h:
3653 * gdatainputstream.h:
3654 * gdataoutputstream.h:
3655 * gdesktopappinfo.h:
3656 * gdirectorymonitor.h:
3660 * gfileenumerator.h:
3663 * gfileinputstream.h:
3665 * gfilenamecompleter.h:
3666 * gfileoutputstream.h:
3667 * gfilterinputstream.h:
3668 * gfilteroutputstream.h:
3676 * gmemoryinputstream.h:
3677 * gmemoryoutputstream.h:
3679 * gmountoperation.h:
3682 * gsimpleasyncresult.h:
3684 * gunixinputstream.h:
3686 * gunixoutputstream.h:
3690 * inotify/Makefile.am:
3691 Only allow including <gio/gio.h> from apps
3693 2007-12-14 Alexander Larsson <alexl@redhat.com>
3695 * gioscheduler.[ch]:
3696 * gsimpleasyncresult.c:
3697 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3698 Split out the send_to_mainloop call into two versions instead
3699 of having the block argument.
3701 2007-12-13 Alexander Larsson <alexl@redhat.com>
3703 * gcancellable.[ch]:
3705 * gbufferedinputstream.c:
3706 * gfileenumerator.c:
3707 * gfileinputstream.c:
3708 * gfileoutputstream.c:
3712 g_push/pop_current_cancellable ->
3713 g_cancellable_push/pop_current
3715 2007-12-13 Alexander Larsson <alexl@redhat.com>
3719 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3721 2007-12-13 Alexander Larsson <alexl@redhat.com>
3723 * gmountoperation.h:
3724 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3726 2007-12-12 Alexander Larsson <alexl@redhat.com>
3729 Fix race condition when freeing proxy in
3730 g_io_job_send_to_mainloop().
3732 2007-12-12 Alexander Larsson <alexl@redhat.com>
3738 Make attribute namespace separator "::" instead of ":".
3739 Use - instead of _ as separator in attribute names.
3741 2007-12-12 Alexander Larsson <alexl@redhat.com>
3743 * gbufferedinputstream.h:
3744 * gbufferedoutputstream.h:
3745 * gdatainputstream.h:
3746 * gdataoutputstream.h:
3747 * gdirectorymonitor.h:
3748 * gfileenumerator.h:
3749 * gfileinputstream.h:
3751 * gfileoutputstream.h:
3752 * gfilterinputstream.h:
3753 * gfilteroutputstream.h:
3755 * glocalfileinputstream.h:
3756 * glocalfileoutputstream.h:
3757 * gmemoryinputstream.h:
3758 * gmemoryoutputstream.h:
3759 * gnativevolumemonitor.h:
3761 * gunixinputstream.h:
3762 * gunixoutputstream.h:
3765 s/parent/parent_instance/ in GObjects
3767 2007-12-12 Alexander Larsson <alexl@redhat.com>
3772 No need for padding for interfaces
3774 2007-12-12 Alexander Larsson <alexl@redhat.com>
3778 * gbufferedinputstream.c:
3779 * gbufferedoutputstream.c:
3782 * gdatainputstream.[ch]:
3783 * gdesktopappinfo.c:
3784 * gdirectorymonitor.c:
3786 * gfileattribute.[ch]:
3789 * gfileinputstream.h:
3790 * gfilemonitor.[ch]:
3791 * gfileoutputstream.[ch]:
3792 * gfilterinputstream.h:
3793 * gfilteroutputstream.h:
3796 * gloadableicon.[ch]:
3797 * gmemoryinputstream.c:
3798 * gmountoperation.c:
3800 Fix up a bunch of details in the docs.
3805 2007-12-11 David Zeuthen <davidz@redhat.com>
3807 Rework how volumes, drives and volume monitoring is
3808 done. Previosly the model was
3810 GDrive <1-1> GVolume
3812 where a GDrive instance represented a mount point and a GVolume
3813 instance represented a mounted file system. This patch changes it
3816 GDrive <1-N> GVolume <1-1> GMount
3818 where GMount now serves the purpose of the old GVolume and the new
3819 GVolume serves the purpose of the old GDrive. In addition the new
3820 GDrive interface is used to represent a collection of GVolume
3821 instances (typically partitions) and also contains utility to query
3822 the state of the physical drive the GDrive object represents (such
3823 as checking for media, polling the drive, ejecting the media etc.).
3825 Also implement mounting and unmounting in the Unix volume monitor
3826 backend. A subquent patch will introduce GDrive support for ejection
3830 * gdrive.c: (g_drive_is_media_check_automatic),
3831 (g_drive_is_media_removable), (g_drive_has_media),
3832 (g_drive_can_poll_for_media), (g_drive_eject),
3833 (g_drive_eject_finish), (g_drive_poll_for_media),
3834 (g_drive_poll_for_media_finish):
3836 * gfile.c: (g_file_find_enclosing_mount):
3839 * glocaldirectorymonitor.c:
3840 (g_local_directory_monitor_constructor), (mounts_changed):
3841 * glocalfile.c: (get_mount_info),
3842 (g_local_file_find_enclosing_mount),
3843 (g_local_file_file_iface_init):
3844 * gnativevolumemonitor.h:
3845 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3846 (get_connected_drives), (g_union_volume_monitor_class_init),
3847 (child_volume_added), (child_volume_removed),
3848 (child_volume_changed), (child_mount_added), (child_mount_removed),
3849 (child_mount_pre_unmount), (child_mount_changed),
3850 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3851 (g_union_volume_monitor_remove_monitor),
3852 (_g_mount_get_for_mount_path):
3853 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3854 (guess_system_internal), (_g_get_unix_mounts),
3855 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3856 (g_unix_mount_free), (g_unix_mount_compare),
3857 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3858 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3859 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3860 (type_to_icon), (g_unix_mount_guess_name),
3861 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3862 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3863 (_resolve_symlink), (_resolve_dev_root):
3865 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3866 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3867 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3868 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3869 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3870 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3871 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3872 (g_unix_volume_volume_iface_init):
3874 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3875 (get_mounts), (get_volumes), (get_connected_drives),
3876 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3877 (mountpoints_changed), (mounts_changed),
3878 (g_unix_volume_monitor_init),
3879 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3880 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3881 * gunixvolumemonitor.h:
3882 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3883 (g_volume_mount), (g_volume_mount_finish):
3885 * gvolumemonitor.c: (g_volume_monitor_class_init),
3886 (g_volume_monitor_get_connected_drives),
3887 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3890 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3892 * gmountoperation.h (GPasswordFlags): Close the gap
3894 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3896 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3898 * gdesktopappinfo.[hc]: Remove _-prefixes
3900 2007-12-10 Tor Lillqvist <tml@novell.com>
3902 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3905 2007-12-10 Alexander Larsson <alexl@redhat.com>
3907 * gfile.c (g_file_set_display_name):
3908 Don't hardcode '/' (#502727)
3910 2007-12-09 Hans Breuer <hans@breuer.org>
3912 * makefile.msc : follow lib naming convention
3913 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3914 for user and group name, tested with ../tests/gio-ls
3916 2007-12-09 A. Walton <awalton@svn.gnome.org>
3918 * gdesktopappinfo.c:
3924 * gfileenumerator.c:
3929 * gmemoryinputstream.c:
3930 * gmemoryoutputstream.c:
3932 * gsimpleasyncresult.c:
3933 More documentation cleanup and filling in missing information, bringing
3934 GIO to 99% symbol coverage.
3936 2007-12-08 Hans Breuer <hans@breuer.org>
3938 [gio compiles and links on win32, not sure how much already works]
3939 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3940 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3941 base on win32 API; prefer g_lstat() over lstat(); instead of
3942 localtime_r() use an all GLib implementation on win32;
3943 get_mount_info() still needs a win32 specifc implementation
3944 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3945 win32_get_file_user_info to get owner/group info without uid/gid
3946 * glocalfileinputstream.c : include <io.h> on win32
3947 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3948 definition, use g_win32_ftruncate() for G_OS_WIN32
3949 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3950 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3951 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3952 * makefile.msc : updated
3954 2007-12-07 Alexander Larsson <alexl@redhat.com>
3956 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3957 Avoid warning spew if error == NULL
3959 2007-12-07 Alexander Larsson <alexl@redhat.com>
3962 Update docs wrt etags
3964 2007-12-06 Alexander Larsson <alexl@redhat.com>
3967 Include sys/types.h for dev_t (#501919)
3969 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3973 Make abicheck and pltcheck pass.
3975 2007-12-05 Alexander Larsson <alexl@redhat.com>
3978 * giomodule-priv.h: Added.
3979 * glocaldirectorymonitor.c:
3980 * glocalfilemonitor.c:
3981 * gunionvolumemonitor.c:
3983 Actually add the declaration of _g_io_modules_ensure_loaded
3985 2007-12-05 Alexander Larsson <alexl@redhat.com>
3987 * gdatainputstream.c:
3992 * glocaldirectorymonitor.c:
3993 * glocalfilemonitor.c:
3994 * gunionvolumemonitor.c:
3996 Make g_io_modules_ensure_loaded a private function and
3997 don't pass in the dirname. This means we can do magic
3998 directory finding in the win32 version.
3999 Export the actual load-modules-in-directory code so that
4000 gvfs can reuse that.
4002 2007-12-05 Alexander Larsson <alexl@redhat.com>
4004 * gbufferedinputstream.c:
4005 * gbufferedoutputstream.c:
4008 * gfileenumerator.[ch]:
4009 * gfileinputstream.c:
4010 * gfileoutputstream.[ch]:
4011 * gfilterinputstream.c:
4012 * gfilteroutputstream.c:
4013 * ginputstream.[ch]:
4015 * glocalfileenumerator.c:
4016 * glocalfileinputstream.c:
4017 * glocalfileoutputstream.c:
4018 * gmemoryinputstream.c:
4019 * gmemoryoutputstream.c:
4020 * goutputstream.[ch]:
4023 * gunixinputstream.c:
4024 * gunixoutputstream.c:
4025 Rename all struct members named:
4026 read, write, close, truncate, or mount
4027 to foo_fn, as these are reserved names
4028 and could be defined as macros in libc.
4031 2007-12-04 Alexander Larsson <alexl@redhat.com>
4034 (g_output_stream_close):
4035 Only call flush if non-null.
4037 2007-11-30 Dan Winship <danw@gnome.org>
4039 * ginputstream.c (g_input_stream_set_pending): Make this take a
4040 GError and return a gboolean, and do the "outstanding operation"
4041 check (and the "stream is already closed" check) itself.
4042 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4044 * goutputstream.c (g_output_stream_set_pending)
4045 (g_output_stream_clear_pending): Likewise
4047 * gbufferedinputstream.c:
4048 * gfileinputstream.c:
4049 * gfileoutputstream.c: Update for that
4051 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4052 Like g_simple_async_report_error_in_idle, but takes a GError
4053 rather than building one.
4055 2007-11-30 Dan Winship <danw@gnome.org>
4057 * goutputstream.c: Don't cheat and unset the "pending" flag around
4058 inner calls. Instead, call the class method directly rather than
4059 the wrapper function that checks "pending"
4061 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4063 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4065 2007-12-03 Hans Breuer <hans@breuer.org>
4067 [start of port to win32/msvc]
4068 * gcancellable.c : HAVE_UNIST_H and _pipe()
4069 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4070 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4071 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4073 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4074 * glocalvfs.c : use HAVE_PWD_H
4075 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4076 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4077 * Makefile.am : added to EXTRA_DIST
4079 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4081 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4084 2007-12-03 Alexander Larsson <alexl@redhat.com>
4087 Handle OSX style xattrs API (#500506)
4089 2007-12-03 Alexander Larsson <alexl@redhat.com>
4093 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4095 2007-12-02 A. Walton <awalton@svn.gnome.org>
4099 Documentation accuracy fixes.
4101 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4103 * gioenumtypes.c.template: Fix typo.
4105 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4107 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4109 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4111 * gdirectorymonitor.c:
4112 * gfilemonitor.c: Add properties
4114 * gbufferedoutputstream.c: Don't mark buffer-size property
4117 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4119 * gbufferedoutputstream.c: Add auto-grow property.
4121 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4123 * *.c: Unify the capitalization of section headings.
4125 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4127 * gmountoperation.c: Add properties
4129 * gdatainputstream.c: Turn byte-order and newline-type into
4132 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4134 * gioenumtypes.[hc].template: Templates for enum registration
4136 * Makefile.am: Generate gioenumtypes.[hc]
4138 * gio.h: Include gioenumtypes.h
4140 * gfile.h: Add some explicit nicks.
4142 * gio.symbols: Add new symbols
4144 * pltcheck.sh: Adjust
4146 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4148 * *.c: Explain etags and link to the explanation
4150 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4152 * *.c: Explain I/O priority.
4154 * *.c: More coding style fixes.
4156 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4158 * gasyncresult.c: Add another paragraph to the intro,
4159 adjust coding style of example.
4161 2007-11-29 A. Walton <awalton@svn.gnome.org>
4164 Fixes unknown meaning in GAppLaunchContext docs.
4166 Clarify asynchronous ops.
4168 Fix entity tag docs.
4171 Provides missing gtk-doc section, fixes API docs slighly.
4172 * gsimpleasyncresult.c:
4173 Fill in missing info in docs.
4174 * gunixinputstream.c:
4175 * gunixoutputstream.c:
4176 Be more expressive in short description.
4178 Remove gtk-doc stubs for non-public API.
4180 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4182 * *.c: Coding style fixups
4184 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4186 * inotify/inotify-helper.c: Don't export the lock from libgio.
4188 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4191 * abicheck.sh: Fix copy-and-paste leftovers
4193 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4195 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4197 2007-11-28 Alexander Larsson <alexl@redhat.com>
4201 Removed unnecessary file
4203 * gdesktopappinfo.[ch]:
4206 * glocaldirectorymonitor.[ch]:
4208 * glocalfileenumerator.[ch]:
4209 * glocalfileinputstream.[ch]:
4210 * glocalfilemonitor.[ch]:
4211 * glocalfileoutputstream.[ch]:
4213 * gnativevolumemonitor.c:
4214 * gpollfilemonitor.[ch]:
4215 * gunionvolumemonitor.[ch]:
4218 * gunixvolumemonitor.[ch]:
4221 * inotify/ginotifydirectorymonitor.[ch]:
4222 * inotify/ginotifyfilemonitor.[ch]:
4223 * inotify/inotify-helper.c:
4224 Append _ to all internal functions
4228 Export symbols needed for modules
4230 2007-11-28 Alexander Larsson <alexl@redhat.com>
4233 * abicheck.sh: Added.
4234 * makegioalias.pl: Added.
4235 * pltcheck.sh: Added.
4236 * gio.symbols: Added.
4239 Initial work on adding symbol handling.
4242 Correct ifdef guard name
4245 * inotify/Makefile.am:
4246 * xdgmime/Makefile.am:
4247 Include toplevel Makefile.decl
4249 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4251 * gcontenttype.c: Move doc comments to the unix section.
4253 * *.[hc]: More trivial doc corrections.
4255 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4257 * gpollfilemonitor.c:
4261 * gdesktopappinfo.c:
4266 * gdatainputstream.c:
4267 * gdatainputstream.h:
4268 * gdataoutputstream.c:
4269 * gdataoutputstream.h:
4270 * gfileinfo.h: Doc cleanups
4272 2007-11-28 Andre Klapper <a9016009@gmx.de>
4274 * gdesktopappinfo.c: Fix a typo.
4276 2007-11-27 Andre Klapper <a9016009@gmx.de>
4278 * glocalfileoutputstream.c: Fix a typo.
4280 2007-11-27 Alexander Larsson <alexl@redhat.com>
4283 Don't include removed headers
4285 2007-11-27 Alexander Larsson <alexl@redhat.com>
4288 * gsocketinputstream.[ch]: Removed.
4289 * gsocketoutputstream.[ch]: Removed.
4290 * gunixinputstream.[ch]: Added.
4291 * gunixoutputstream.[ch]: Added.
4292 Renamed GSocket*Stream to GUnix*Stream and made
4293 it unix-only, since its not really only for sockets
4294 and it only works on unix (but is highly useful there).
4296 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4302 * gbufferedinputstream.c:
4303 * gbufferedinputstream.h:
4304 * gbufferedoutputstream.c:
4305 * gbufferedoutputstream.h:
4309 * gdatainputstream.c:
4310 * gdatainputstream.h:
4311 * gdataoutputstream.c:
4312 * gdataoutputstream.h:
4313 * gdirectorymonitor.c:
4314 * gdirectorymonitor.h:
4321 * gfileenumerator.c:
4322 * gfileenumerator.h:
4327 * gfileinputstream.c:
4328 * gfileinputstream.h:
4331 * gfilenamecompleter.c:
4332 * gfilenamecompleter.h:
4333 * gfileoutputstream.c:
4334 * gfileoutputstream.h:
4335 * gfilterinputstream.c:
4336 * gfilterinputstream.h:
4337 * gfilteroutputstream.c:
4338 * gfilteroutputstream.h:
4351 * glocalfileoutputstream.c:
4352 * gmemoryinputstream.c:
4353 * gmemoryinputstream.h:
4354 * gmemoryoutputstream.c:
4355 * gmemoryoutputstream.h:
4356 * gmountoperation.c:
4357 * gmountoperation.h:
4360 * gpollfilemonitor.c:
4363 * gsimpleasyncresult.c:
4364 * gsimpleasyncresult.h:
4365 * gsocketinputstream.c:
4366 * gsocketinputstream.h:
4367 * gsocketoutputstream.c:
4368 * gsocketoutputstream.h:
4375 * gunixvolumemonitor.c:
4384 Bumps documentation to 93% symbol coverage, touching most
4385 of the public files. Fixes broken function documentation prototypes.
4386 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4387 gtk-doc headers in private files.
4389 2007-11-27 Jürg Billeter <j@bitron.ch>
4391 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4392 (g_buffered_input_stream_read_byte):
4393 * gbufferedinputstream.h:
4394 New functions for efficient access to buffer and simple single byte
4397 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4398 (g_data_input_stream_read_until):
4399 * gdatainputstream.h:
4400 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4401 read_until with multiple stop chars.
4403 2007-11-27 Alexander Larsson <alexl@redhat.com>
4407 * inotify/Makefile.am:
4408 Use the user-specified giomoduledir
4410 2007-11-27 Alexander Larsson <alexl@redhat.com>
4414 Add catch-all gio.h header
4415 Don't install gdummyfile.h
4417 2007-11-26 Alexander Larsson <alexl@redhat.com>
4419 * Makefile.am (gioinclude_HEADERS):
4420 Remove trailing whitespace
4422 2007-11-26 Alexander Larsson <alexl@redhat.com>
4424 Merge gio-standalone into glib
4426 2007-11-25 Christian Kellner <gicmo@gnome.org>
4428 * gio/goutputstream.c:
4429 Fix small mistake in the docs.
4431 2007-11-21 Christian Persch <chpe@gnome.org>
4433 * gio/glocalfile.c: (g_local_file_trash):
4434 Convert filenames to UTF-8 for GError.
4435 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4436 as per xdg base dir spec.
4438 2007-11-21 Christian Persch <chpe@gnome.org>
4440 * gio/gdesktopappinfo.c:
4441 Use that g_key_file_to_data cannot fail.
4443 Use stock defines for the key file group and key names.
4446 2007-11-21 Alexander Larsson <alexl@redhat.com>
4449 (copy_stream_with_progress):
4450 Make sure we do a final progress callback with
4451 the full total size.
4453 2007-11-21 Alexander Larsson <alexl@redhat.com>
4456 Export g_file_copy_attributes
4457 Remove padding as its not needed for interfaces
4459 2007-11-20 Alexander Larsson <alexl@redhat.com>
4464 Add G_IO_ERROR_WOULD_MERGE for
4465 copy/move dir on dir with overwrite.
4467 2007-11-20 Alexander Larsson <alexl@redhat.com>
4470 * gio/glocalfileinfo.c:
4471 Add COPY_NAME (this is an optional
4472 non-modified utf8 version of the name) that
4475 2007-11-20 Alexander Larsson <alexl@redhat.com>
4477 * gio/glocalfileenumerator.c:
4478 Report errors as GIOError, not GFileError
4480 2007-11-16 Alexander Larsson <alexl@redhat.com>
4482 * gio/glocalfileoutputstream.c:
4483 * gio/gwin32appinfo.c:
4484 Fix typos in strings.
4485 Patch from Luca Ferretti <elle.uca@libero.it>
4487 2007-11-15 Alexander Larsson <alexl@redhat.com>
4490 Post release version bump
4492 === gio-standalone 0.1.2 ===
4494 2007-11-15 Alexander Larsson <alexl@redhat.com>
4496 * docs/reference/gio/Makefile.am:
4497 Fix up distcheck by removing weird
4503 2007-11-14 Alexander Larsson <alexl@redhat.com>
4505 * gio/gdesktopappinfo.c:
4506 * gio/glocaldirectorymonitor.c:
4508 * gio/glocalfileinfo.c:
4509 * gio/inotify/inotify-sub.c:
4510 * programs/gio-cat.c:
4511 * programs/gio-copy.c:
4512 * programs/gio-info.c:
4513 * programs/gio-ls.c:
4514 * programs/gio-monitor-dir.c:
4515 * programs/gio-monitor-file.c:
4516 * programs/gio-mount.c:
4517 * programs/gio-move.c:
4518 * programs/gio-rm.c:
4519 * programs/gio-save.c:
4520 * programs/gio-trash.c:
4521 Leak fixes from Kjartan Maraas
4523 2007-11-14 Alexander Larsson <alexl@redhat.com>
4525 * gio/fam/fam-helper.c:
4527 * gio/glocalfileinfo.c:
4531 * gio/inotify/inotify-diag.c:
4532 * gio/inotify/inotify-kernel.c:
4533 Various code cleanups from Kjartan Maraas
4535 2007-11-14 Alexander Larsson <alexl@redhat.com>
4537 * gio/gioscheduler.c:
4539 Set up threadpool so that we cache 2 unused
4540 idle threads for at 15 secs. This means we
4541 will reuse thread-local data (like dbus connections)
4544 2007-11-14 Alexander Larsson <alexl@redhat.com>
4546 * gio/fam/fam-helper.c:
4547 * gio/fam/gfamdirectorymonitor.c:
4548 * gio/fam/gfamfilemonitor.c:
4550 * gio/gcontenttype.c:
4551 * gio/gdatainputstream.c:
4552 * gio/gdataoutputstream.c:
4556 * gio/gfileattribute.h:
4557 * gio/gfileenumerator.c:
4559 * gio/ginputstream.c:
4562 * gio/glocalfileinfo.c:
4563 * gio/goutputstream.c:
4564 * gio/gpollfilemonitor.c:
4565 * gio/gsimpleasyncresult.c:
4566 * gio/gunixmounts.c:
4567 * gio/gunixmounts.h:
4568 * gio/inotify/ginotifydirectorymonitor.c:
4569 * gio/inotify/ginotifyfilemonitor.c:
4570 * gio/inotify/inotify-diag.c:
4571 * gio/inotify/inotify-kernel.c:
4572 * gio/inotify/inotify-path.c:
4574 * gio/test-streams.c:
4575 * programs/gio-info.c:
4576 * programs/gio-monitor-dir.c:
4577 * programs/gio-monitor-file.c:
4578 Various code cleanups from Kjartan Maraas
4580 2007-11-13 Alexander Larsson <alexl@redhat.com>
4583 Handle the uri-scheme calls for dummy files
4585 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4587 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4588 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4589 to avoid clash with the C++ keyword.
4591 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4593 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4594 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4596 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4598 * gio/glocaldirectorymonitor.c:
4599 * gio/glocalfilemonitor.c:
4600 * gio/gunionvolumemonitor.c:
4601 Don't use g_once_init_*() for initializations that could fail and
4602 could leave the initialization variable set to 0 but use GOnce.
4603 This prevents a deadlock on the second call when trying to create
4604 a monitor and no monitor type is available. Thanks to Sven Herzberg
4607 2007-11-11 Sven Herzberg <sven@imendio.com>
4609 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4610 #ifdef (make it work on MacOS X again)
4612 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4614 Fixes Changelog for last two commits (sorry guys).
4616 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4618 * gio/gbufferedinputstream.c:
4619 * gio/gdatainputstream.c:
4621 * gio/gfileoutputstream.c:
4622 * gio/gfilterinputstream.c:
4623 * gio/glocalfileinputstream.c:
4626 More consistency fixes in g*stream.c files.
4627 Significant clean of gfile's documentation, filling in of
4628 asynchronous operations documentation.
4630 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4632 * gio/gasyncresult.c:
4633 * gio/gbufferedinputstream.c:
4634 * gio/gbufferedoutputstream.c:
4635 * gio/gcancellable.c:
4636 * gio/gcontenttype.c:
4637 * gio/gdatainputstream.c:
4638 * gio/gdataoutputstream.c:
4639 * gio/gdesktopappinfo.c:
4642 * gio/gfileattribute.c:
4643 * gio/gio/gfileenumerator.c:
4645 * gio/gfileinputstream.c:
4646 * gio/gfilemonitor.c:
4647 * gio/gfileoutputstream.c:
4648 * gio/ginputstream.c:
4650 * gio/gioscheduler.c:
4651 * gio/gloadableicon.c:
4652 * gio/glocalfileoutputstream.c:
4653 * gio/gmemoryoutputstream.c:
4654 * gio/gmountoperation.c:
4655 * gio/goutputstream.c:
4657 * gio/gsimpleasyncresult.c:
4658 * gio/gunionvolumemonitor.c:
4659 * gio/gunixmounts.c:
4660 * gio/gunixvolume.c:
4664 * gio/gvolumemonitor.c:
4665 Updated documentation stubs, working towards consistency and
4668 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4670 * gio/gmemoryoutputstream.c:
4671 * gio/gmemoryoutputstream.h:
4672 Change g_memory_output_stream_set_free_on_close() to
4673 g_memory_output_stream_set_free_data() as this makes more sense and
4674 is more consistent with GMemoryInputStream.
4676 2007-11-07 Alexander Larsson <alexl@redhat.com>
4683 Change how we find the default vfs so that
4684 we can handle a gvfs failing to init
4686 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4688 * gio/gbufferedoutputstream.c:
4689 * gio/gdatainputstream.c:
4690 * gio/gdataoutputstream.c:
4691 * gio/gfileinputstream.c:
4692 * gio/gfileoutputstream.c:
4693 * gio/gfilterinputstream.c:
4694 * gio/gfilteroutputstream.c:
4695 * gio/ginputstream.c:
4696 * gio/gmemoryinputstream.c:
4697 * gio/gmemoryoutputstream.c:
4698 * gio/goutputstream.c:
4699 * gio/gsimpleasyncresult.c:
4700 * gio/gsocketinputstream.c:
4701 * gio/gsocketoutputstream.c:
4702 Add guards to the remaining public functions, add a TODO for
4703 an unimplemented function and remove some useless guards.
4705 2007-11-07 Alexander Larsson <alexl@redhat.com>
4708 Autoconf checks for the various types of
4709 getpwuid_r and getgrgid_r
4711 * gio/glocalfileinfo.c:
4712 Use the autoconf checks from above
4714 2007-11-07 Alexander Larsson <alexl@redhat.com>
4717 (g_local_file_query_filesystem_info):
4718 Some fixes for the statvfs case
4720 2007-11-07 Alexander Larsson <alexl@redhat.com>
4723 (g_local_file_query_filesystem_info):
4724 Pick the "best" of statfs / statvfs for the system
4725 if both are availible.
4727 2007-11-07 Alexander Larsson <alexl@redhat.com>
4729 Solaris fixes from Halton.Huo@Sun.COM:
4736 * gio/glocalfileinfo.c:
4737 Fix for solaris definition of getpwuid_r
4739 * gio/test-streams.c:
4740 Use G_GNUC_PRETTY_FUNCTION
4742 2007-11-07 Alexander Larsson <alexl@redhat.com>
4744 * gio/gdesktopappinfo.c:
4745 (update_default_list):
4746 Remove double semicolon.
4747 Patch from Jens Granseuer
4749 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4751 * docs/reference/gio/gio-sections.txt:
4752 * gio/gbufferedinputstream.c:
4753 * gio/gbufferedinputstream.h:
4754 * gio/gdatainputstream.c:
4755 * gio/gfileenumerator.c:
4756 * gio/gioscheduler.c:
4757 * gio/gunionvolumemonitor.c:
4759 * programs/gio-save.c:
4760 Fix typo: availible -> available. Unfortuntely this breaks API
4761 and ABI as g_buffered_input_stream_get_available() was renamed.
4763 * gio/gunixmounts.c:
4764 * gio/gbufferedinputstream.c:
4765 Add guards for public functions.
4767 2007-11-06 Ross Burton <ross@openedhand.com>
4769 * docs/reference/gio/Makefile.am:
4770 Fix invalid += usage which automake 1.10 doesn't like.
4772 2007-11-06 Alexander Larsson <alexl@redhat.com>
4775 (g_app_launch_context_class_init):
4778 Patch from Ross Burton
4780 2007-11-06 Alexander Larsson <alexl@redhat.com>
4783 Post release version bump
4785 === gio-standalone 0.1.1 ===
4787 2007-11-06 Alexander Larsson <alexl@redhat.com>
4790 Bump version to 0.1.1
4792 * gio/gsimpleasyncresult.c:
4793 (g_simple_async_result_set_from_error):
4794 Remove bogus g_return_if_fail
4796 2007-11-06 Alexander Larsson <alexl@redhat.com>
4799 The name is gio-standalone
4802 Add top src/builddir to includedir
4804 2007-11-06 Alexander Larsson <alexl@redhat.com>
4806 * docs/reference/gio/gio-sections.txt:
4808 * gio/gbufferedinputstream.c:
4809 * gio/gbufferedoutputstream.c:
4810 * gio/gcancellable.c:
4811 * gio/gdatainputstream.h:
4812 * gio/gdataoutputstream.c:
4813 * gio/gdataoutputstream.h:
4814 * gio/gdirectorymonitor.c:
4816 * gio/gfileattribute.c:
4817 * gio/gfileattribute.h:
4818 * gio/gfileenumerator.c:
4819 * gio/gfileenumerator.h:
4822 * gio/gfileinputstream.h:
4823 * gio/gfilemonitor.c:
4824 * gio/gfileoutputstream.h:
4825 * gio/glocalfilemonitor.h:
4826 * gio/glocalfileoutputstream.h:
4827 * gio/gmemoryinputstream.c:
4828 * gio/gmemoryoutputstream.c:
4829 * gio/gmountoperation.c:
4830 * gio/goutputstream.c:
4831 * gio/goutputstream.h:
4833 * gio/gsimpleasyncresult.c:
4834 * gio/gunixmounts.c:
4835 * gio/gunixmounts.h:
4837 * gio/inotify/inotify-helper.c:
4838 Fix gtk-doc warnings
4840 Patch from Ross Burton
4842 2007-11-06 Alexander Larsson <alexl@redhat.com>
4844 * gio/gfilenamecompleter.c:
4845 (g_filename_completer_get_completions):
4848 * gio/gunixvolume.c:
4849 Remove unused function
4851 Patches from Ross Burton
4853 2007-11-06 Alexander Larsson <alexl@redhat.com>
4858 Padding not needed for interfaces
4860 2007-11-06 Alexander Larsson <alexl@redhat.com>
4862 * gio/gfilemonitor.c:
4866 Make giotypes.h an internal file
4869 * gio/gbufferedinputstream.h:
4870 * gio/gbufferedoutputstream.h:
4871 * gio/gcancellable.h:
4872 * gio/gdatainputstream.h:
4873 * gio/gdataoutputstream.h:
4874 * gio/gdirectorymonitor.c:
4875 * gio/gdirectorymonitor.h:
4880 * gio/gfileattribute.h:
4881 * gio/gfileenumerator.h:
4886 * gio/gfilemonitor.c:
4887 * gio/gfilemonitor.h:
4888 * gio/gfilenamecompleter.c:
4889 * gio/gfilenamecompleter.h:
4890 * gio/gfilterinputstream.h:
4891 * gio/gfilteroutputstream.h:
4892 * gio/ginputstream.h:
4893 * gio/gmemoryinputstream.h:
4894 * gio/gmemoryoutputstream.h:
4895 * gio/gmountoperation.c:
4896 * gio/gmountoperation.h:
4897 * gio/gnativevolumemonitor.c:
4898 * gio/goutputstream.h:
4901 * gio/gsimpleasyncresult.c:
4902 * gio/gsimpleasyncresult.h:
4903 * gio/gsocketinputstream.h:
4904 * gio/gsocketoutputstream.h:
4905 * gio/gthemedicon.c:
4906 * gio/gthemedicon.h:
4910 * gio/gvolumemonitor.c:
4911 * gio/gvolumemonitor.h:
4912 Add padding in classes where it seems useful
4913 Don't include giotypes.h from public headers
4914 Move in Class definitions into c file where possible
4919 2007-11-06 Alexander Larsson <alexl@redhat.com>
4921 * docs/reference/gio/gio-docs.xml:
4922 Better structure for API docs
4924 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4927 * gio/gloadableicon.c:
4928 * gio/gsimpleasyncresult.c:
4929 * gio/gthemedicon.c:
4930 Add some more guards to public functions. Only files missing are now
4933 2007-11-06 Alexander Larsson <alexl@redhat.com>
4935 * docs/reference/gio/gio-docs.xml:
4936 Remove old files, add missing ones
4938 2007-11-06 Alexander Larsson <alexl@redhat.com>
4940 * docs/reference/gio/gio-sections.txt:
4943 Hide implementation classes
4945 * gio/gdriveprivate.h:
4946 * gio/gvolumeprivate.h:
4947 Remove non-existing function declarations
4949 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4952 Fix compilation warnings and add guards to the new functions.
4954 * gio/gasyncresult.c:
4956 Add guards to the public functions.
4959 Implement get_path().
4961 2007-11-06 Alexander Larsson <alexl@redhat.com>
4963 * gio/gfilenamecompleter.c:
4964 Make g_filename_completer_get_completions
4965 return char ** instead of GList for
4968 * docs/reference/gio/gio-docs.xml:
4969 * docs/reference/gio/gio-sections.txt:
4971 * gio/gasyncresult.c:
4972 * gio/gbufferedinputstream.c:
4973 * gio/gbufferedoutputstream.c:
4974 * gio/gcancellable.c:
4975 * gio/gcontenttype.c:
4976 * gio/gdatainputstream.c:
4977 * gio/gdataoutputstream.c:
4978 * gio/gdesktopappinfo.c:
4979 * gio/gdirectorymonitor.c:
4983 * gio/gfileattribute.c:
4984 * gio/gfileenumerator.c:
4987 * gio/gfileinputstream.c:
4988 * gio/gfilemonitor.c:
4989 * gio/gfilenamecompleter.c:
4990 * gio/gfilenamecompleter.h:
4991 * gio/gfileoutputstream.c:
4992 * gio/gfilterinputstream.c:
4994 * gio/ginputstream.c:
4996 * gio/gioscheduler.c:
4997 * gio/gloadableicon.c:
4998 * gio/glocaldirectorymonitor.c:
5000 * gio/glocalfileinputstream.c:
5001 * gio/glocalfilemonitor.c:
5002 * gio/glocalfileoutputstream.c:
5004 * gio/gmemoryinputstream.c:
5005 * gio/gmemoryoutputstream.c:
5006 * gio/gmountoperation.c:
5007 * gio/goutputstream.c:
5008 * gio/gpollfilemonitor.c:
5010 * gio/gsimpleasyncresult.c:
5011 * gio/gsocketinputstream.c:
5012 * gio/gsocketoutputstream.c:
5013 * gio/gthemedicon.c:
5014 * gio/gunionvolumemonitor.c:
5016 * gio/gunixmounts.c:
5017 * gio/gunixvolume.c:
5018 * gio/gunixvolumemonitor.c:
5022 * gio/gvolumemonitor.c:
5023 * gio/gwin32appinfo.c:
5024 Add (mostly stub) doc strings to public functions.
5025 Patch from Andrew Walton (awalton@gmail.com)
5027 2007-11-06 Alexander Larsson <alexl@redhat.com>
5029 * gio/gappinfo.[ch]:
5030 Added GAppLaunchContext object and pass that to launch.
5031 This allows simple implementation of both
5032 launch-on-screen and startup notification via a gtk+
5033 subclass of GAppLaunchContext
5035 * gio/gdesktopappinfo.c:
5036 Implement GAppLaunchContext API
5038 * gio/gwin32appinfo.c:
5041 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5043 * gio/gmountoperation.c:
5044 Add some guards to GMountOperation's public functions.
5046 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5050 * gio/gcancellable.c:
5051 * gio/gdirectorymonitor.c:
5053 * gio/gfileenumerator.c:
5054 * gio/gfilemonitor.c:,
5055 * gio/gfilenamecompleter.c:
5058 * gio/gioscheduler.c:
5062 * gio/gvolumemonitor.c:
5063 Add even more guards to various public functions.
5065 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5068 Add guards to the public functions of GAppInfo.
5070 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5072 * gio/gcontenttype.c:
5073 Add some more guards for public functions.
5075 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5077 * gio/fam/fam-module.c:
5078 * gio/fam/gfamdirectorymonitor.c:
5079 * gio/fam/gfamdirectorymonitor.h:
5080 * gio/fam/gfamfilemonitor.c:
5081 * gio/fam/gfamfilemonitor.h:
5082 * gio/inotify/ginotifydirectorymonitor.c:
5083 * gio/inotify/ginotifydirectorymonitor.h:
5084 * gio/inotify/ginotifyfilemonitor.c:
5085 * gio/inotify/ginotifyfilemonitor.h:
5086 Add proper copyright information and remove an unused variable
5087 in the GInotifyFileMonitor constructor.
5089 * gio/gcancellable.c:
5090 Add a guard for a public function and an assertion to prevent
5091 an undefined program state.
5093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5095 * gio/gfileattribute.c:
5096 Don't run into an assertion if the given attribute value is NULL
5097 in g_file_attribute_value_get_*() but instead return a fallback
5098 value that makes sense in most situations. Passing them a attribute
5099 value with the wrong type will still run into an assertion.
5101 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5103 * gio/gfileattribute.c:
5105 Add even more guards to the public functions. Also fix the refcounting
5106 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5107 let g_file_info_list_attributes() filter the attributes by namespace
5108 instead of simply ignoring the namespace parameter.
5110 2007-11-03 Sven Herzberg <sven@imendio.com>
5112 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5113 (This makes gio work on MacOS X again)
5115 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5118 Build the gio subdirectory before the docs. Otherwise the build will
5121 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5122 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5123 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5124 Add guards to the public functions.
5126 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5128 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5129 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5130 to prevent a compiler warning.
5132 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5133 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5134 return something in the non-void function find_topdir_for().
5136 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5143 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5145 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5146 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5147 * gwin32appinfo.c (g_win32_app_info_launch):
5148 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5149 envp_for_startup_id, g_desktop_app_info_launch,
5150 g_desktop_app_info_launch_uris):
5152 Give an opaque 'startup_id' string instead of 'envp'.
5153 Support empty file lists for launching new windows.
5154 Fix infinite recursion bug when launching URIs.
5156 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5159 Add guard to the new g_file_get_uri_scheme() function.
5161 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5164 Convert a g_return_val_if_fail() to setting the GError instead as
5165 otherwise applications have to verify the parameter before otherwise
5166 and the parameter might come directly from the user.
5168 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5170 * gio/inotify/ginotify*.[ch]:
5171 Add missing copyright information.
5173 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5176 Add guards in the beginning of public functions to check for valid
5177 parameters and fix a bug in copy_stream_with_progress() that could've
5178 caused writing less bytes than reading.
5179 * gio/glocalfileinfo.c:
5180 Check for a NULL parameter and set the GError accordingly then.
5181 * gio/goutputstream.c:
5182 Fix the same bug as in gfile.c that could've caused writing less bytes
5183 than reading in g_output_stream_real_splice().
5185 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5188 Use the correct gvolumeprivate.h naming
5190 2007-11-01 Christian Kellner <gicmo@gnome.org>
5193 Remove leftover "$(daemon_sources)" entry.
5195 2007-11-01 Christian Kellner <gicmo@gnome.org>
5200 Add copyright information to source files.
5202 2007-11-01 Alexander Larsson <alexl@redhat.com>
5206 Add g_file_get_uri_scheme
5208 2007-11-01 Alexander Larsson <alexl@redhat.com>
5211 * gio/gdesktopappinfo.c:
5212 * gio/gwin32appinfo.c:
5213 Add g_app_info_get_default_for_uri_scheme.
5215 2007-11-01 Alexander Larsson <alexl@redhat.com>
5218 Correct filename for gdriveprivate.h
5220 2007-10-31 Alexander Larsson <alexl@redhat.com>
5223 Rename id:value to id:file
5226 * gio/glocalfileinfo.c:
5229 2007-10-31 Alexander Larsson <alexl@redhat.com>
5231 * gio/gunixvolume.c:
5233 Remove g_volume_get_platform_id, as thats not
5234 needed with the simpler union volume monitor
5236 2007-10-31 Alexander Larsson <alexl@redhat.com>
5239 * gio/guniondrive.[ch]: Removed.
5240 * gio/gunionvolume.[ch]: Removed.
5241 Remove GUnionDrive/Volume
5243 * gio/gunionvolumemonitor.c:
5244 Simplify union volume monitor, now we
5245 only have one native volume monitor and
5246 we use the actual volumes/drives from the
5247 child monitors instead of wrapping them
5249 * gio/gnativevolumemonitor.[ch]:
5250 Base class for native volume monitors.
5251 Includes priority and get_volume_for_mountpoint
5254 Add g_file_find_enclosing_volume
5257 Remove volume name fs attribute
5258 Add readonly fs attribute
5261 Implement readonly attribute
5262 remove volume name attribute
5263 Implement find_enclosing volume
5265 * gio/gunixmounts.c:
5266 Add a volume for "/".
5268 * gio/gunixvolume.[ch]:
5269 Set better name for /
5271 * gio/gunixvolumemonitor.[ch]:
5272 Derive from GNativeVolumeMonitor
5273 Implement get_volume_for_mountpoint
5276 GVolume typedef moved to gfile.h
5278 * gio/gvolumeprivate.h:
5279 Add g_volume_get_for_mount_path
5281 2007-10-31 Alexander Larsson <alexl@redhat.com>
5283 * gio/gunixmounts.[ch]:
5284 Add cache info to unix mount listers
5285 Make getmntent use threadsafe
5286 Add is_system_internal attribute for GUnixMount
5288 * gio/gunixvolume.c:
5289 (g_unix_volume_new):
5290 Use is_system_internal instead of own code
5292 * gio/glocaldirectorymonitor.c:
5293 * gio/gunixvolumemonitor.c:
5294 Update to new gunixmounts API
5299 2007-10-30 Alexander Larsson <alexl@redhat.com>
5302 Add volume name fsinfo attribute
5305 Read volume name info
5307 * gio/gunionvolumemonitor.c:
5308 Fix infinite loops when finalizing a union volume monitor
5310 2007-10-30 Alexander Larsson <alexl@redhat.com>
5312 * gio/goutputstream.[ch]:
5313 Add splice() with default implementation
5315 * gio/gsocketoutputstream.c:
5316 (g_socket_output_stream_write):
5317 Return error on cancellation correctly.
5319 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5321 * gio/glocalfile.c (g_local_file_trash):
5322 Do not leak a string.
5324 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5326 * gio/gfile.c (g_file_load_contents):
5327 Unref the stream after closing it.
5329 2007-10-25 Alexander Larsson <alexl@redhat.com>
5331 * gio/gioscheduler.h:
5334 2007-10-25 Alexander Larsson <alexl@redhat.com>
5338 Add g_file_has_uri_scheme and implement for local files
5340 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5342 * gio/gdesktopappinfo.c: do not leak a string.
5344 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5346 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5347 (g_local_directory_monitor_new):
5348 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5349 (g_local_file_monitor_new):
5350 Only look for the monitor type that should be used the first time
5351 and use g_qsort_with_data() instead of our own bubble sort
5354 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5357 * gio/fam/Makefile.am:
5358 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5359 * gio/fam/fam-helper.h:
5360 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5361 * gio/fam/gfamdirectorymonitor.c:
5362 * gio/fam/gfamdirectorymonitor.h:
5363 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5364 * gio/fam/gfamfilemonitor.h:
5365 * gio/glocaldirectorymonitor.c:
5366 * gio/glocaldirectorymonitor.h:
5367 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5368 * gio/glocalfilemonitor.h:
5369 * gio/inotify/Makefile.am:
5370 * gio/inotify/ginotifydirectorymonitor.c:
5371 * gio/inotify/ginotifydirectorymonitor.h:
5372 * gio/inotify/ginotifyfilemonitor.c:
5373 * gio/inotify/ginotifyfilemonitor.h:
5374 Implement the FAM and Inotify monitors as
5375 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5376 their own GIO module. GLocal(Directory|File)Monitor will use the
5377 monitor with the highest rank that is supported on that machine.
5379 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5382 Change GIO module dir to $(libdir)/gio/modules and change
5383 the log domain from GVFS to GIO. Also only export symbols starting
5384 with g_ in the resulting library.
5385 * gio/test-streams.c: (main):
5386 Set log handler for the GIO log domain.
5388 2007-10-22 Alexander Larsson <alexl@redhat.com>
5390 * gio/gfilenamecompleter.[ch]:
5391 Add g_filename_completer_set_dirs_only
5393 2007-10-22 Alexander Larsson <alexl@redhat.com>
5396 * gio/gurifuncs.[ch]:
5397 Add some simple URI helpers
5399 * gio/gfilenamecompleter.[ch]:
5400 Added object for filename (parse name actually) completion
5403 Handle ~ in parse names
5405 2007-10-17 Alexander Larsson <alexl@redhat.com>
5408 * gio/glocalfileinfo.c:
5409 Add and implement id:value attribute
5411 2007-10-17 Alexander Larsson <alexl@redhat.com>
5414 * gio/guniondrive.c:
5416 Add and implement g_drive_has_volumes
5418 2007-10-17 Alexander Larsson <alexl@redhat.com>
5421 * gio/glocalfileinfo.[ch]:
5422 Add unix:is_mountpoint and implement for local files
5424 2007-10-16 Alexander Larsson <alexl@redhat.com>
5426 * gio/gunionvolumemonitor.c:
5427 (g_union_volume_monitor_init):
5428 Fix up the unix type getting so that it works with gcc
5430 2007-10-12 Alexander Larsson <alexl@redhat.com>
5433 * gio/glocalfileinfo.c:
5434 Add thumbnail:failed to file info
5436 2007-10-12 Richard Hult <richard@imendio.com>
5438 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5439 optimizing away the get_type call (happens with some gcc versions,
5440 like the one shipped with OS X 10.4).
5442 2007-10-12 Alexander Larsson <alexl@redhat.com>
5444 * gio/glocalfileinfo.c:
5445 (_g_local_file_info_set_attribute):
5446 Fix build if not HAVE_XATTR
5447 Patch from Milosz Derezynski <internalerror@gmail.com>
5449 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5451 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5452 around for review, otherwise I would have asked you before
5455 2007-10-11 Alexander Larsson <alexl@redhat.com>
5458 Add thumbnail:path attribute
5460 * gio/glocalfileinfo.c:
5461 Implement thumbnail:path for local files
5463 2007-10-11 Alexander Larsson <alexl@redhat.com>
5465 * gio/glocalfileinfo.c:
5466 (_g_local_file_info_get):
5467 Avoid duplicate icon names
5469 2007-10-11 Alexander Larsson <alexl@redhat.com>
5471 * gio/gthemedicon.[ch]:
5472 Change g_themed_icon_get_names return type to const
5474 2007-10-10 Alexander Larsson <alexl@redhat.com>
5476 * gio/glocalfileinfo.c:
5477 Don't reference freed memory
5479 2007-10-10 Alexander Larsson <alexl@redhat.com>
5481 * gio/gfileattribute.c:
5484 * gio/glocalfileinfo.c:
5487 2007-10-10 Alexander Larsson <alexl@redhat.com>
5490 Check for NULL icons
5492 * gio/gfileattribute.c:
5493 Don't dup when getting objects (same as for string attributes)
5495 * gio/gicon.c (g_icon_equal):
5496 Safely handle NULLs in equal
5498 2007-10-10 Alexander Larsson <alexl@redhat.com>
5501 Fix c++ compilation issues
5502 Patch from Milosz Derezynski <internalerror@gmail.com>
5504 2007-10-10 Alexander Larsson <alexl@redhat.com>
5506 * programs/gio-monitor-dir.c:
5507 Don't crash if dir monitor not supported.
5509 2007-10-09 Alexander Larsson <alexl@redhat.com>
5512 Add missing G_END_DECLS
5514 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5516 * gio/gfile.c: (g_file_set_display_name),
5517 (g_file_query_settable_attributes),
5518 (g_file_query_writable_namespaces):
5519 Return NULL not FALSE on errors as the return type is a pointer.
5521 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5523 * gio/glocalfile.c: (g_local_file_monitor_file):
5524 Don't call monitor_file on the default interface vtable (which
5525 is NULL) but simply return NULL. The caller, GFile, will create a
5526 polling monitor if NULL is returned.
5528 2007-10-09 Alexander Larsson <alexl@redhat.com>
5532 * gio-unix-2.0.pc.in:
5533 Add gio-unix-2.0.pc if OS_UNIX
5536 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5538 2007-10-09 Alexander Larsson <alexl@redhat.com>
5540 * gio/gunixmounts.[ch]:
5541 Make unix mount monitoring API sane.
5542 Now its just a object with mounts_changed
5543 and mountpoints_changed signals.
5545 * gio/glocaldirectorymonitor.c:
5546 * gio/gunixvolumemonitor.c:
5547 Use new mount monitor api
5549 2007-10-09 Alexander Larsson <alexl@redhat.com>
5551 * gio/gunixmounts.[ch]:
5552 Move guess type into one call for mounts and one for mountpoints
5555 * gio/gunixvolume.c:
5558 2007-10-09 Alexander Larsson <alexl@redhat.com>
5560 * gio/gunixmounts.[ch]:
5561 Remove _ prefix in preparation to make this semi-public
5562 Hide implementation of structs
5564 * gio/glocaldirectorymonitor.c:
5566 * gio/gunixvolume.c:
5567 * gio/gunixvolumemonitor.c:
5568 Update for above API changes
5570 2007-10-08 Alexander Larsson <alexl@redhat.com>
5573 Better polling fallback. This also handles the case where we have
5574 a monitor_file implementation, but it fails.
5576 2007-10-08 Alexander Larsson <alexl@redhat.com>
5580 * gio/gunixmounts.c:
5581 * programs/gio-monitor-dir.c:
5582 * programs/gio-monitor-file.c:
5583 Added cancellable to file monitoring calls.
5584 These are really sync calls and need this.
5586 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5588 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5589 (g_local_vfs_class_init):
5590 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5591 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5593 2007-10-05 Alexander Larsson <alexl@redhat.com>
5595 * gio/gdirectorymonitorprivate.h:
5596 * gio/gfilemonitorprivate.h:
5597 * gio/gdirectorymonitor.h:
5598 * gio/gfilemonitor.h:
5599 Remove *private.h and move to the public API, so that
5600 we can do implementations outside gio (such as in gvfs)
5602 * gio/gdirectorymonitor.c:
5603 * gio/gfilemonitor.c:
5604 * gio/glocaldirectorymonitor.c:
5605 * gio/gpollfilemonitor.c:
5606 * gio/inotify/inotify-helper.c:
5607 * gio/fam/fam-helper.c:
5608 Update to the new header names
5610 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5612 * gio/gdirectorymonitor.c:
5613 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5616 2007-10-04 Alexander Larsson <alexl@redhat.com>
5618 * gio/glocalfileinfo.c (get_access_rights):
5619 Set CAN_TRASH when we can move the file.
5620 We should really also check for a parent trash dir.
5622 2007-10-04 Alexander Larsson <alexl@redhat.com>
5624 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5625 Add can_trash access attribute
5627 2007-10-04 Alexander Larsson <alexl@redhat.com>
5630 (g_local_file_trash):
5631 Create info file first. This is per-spec and allows
5632 us to actually trash directories.
5634 2007-10-02 Alexander Larsson <alexl@redhat.com>
5636 * gio/gdesktopappinfo.c:
5637 Implement the new mime support code.
5638 Always set app as handling mimetype when being set as default for it
5640 2007-10-01 Alexander Larsson <alexl@redhat.com>
5642 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5643 Fix up check for xattrs:
5645 2007-10-01 Alexander Larsson <alexl@redhat.com>
5648 (g_app_info_set_as_default_for_extension):
5649 (g_app_info_add_supports_type):
5650 (g_app_info_can_remove_supports_type):
5651 (g_app_info_remove_supports_type):
5652 Make these fail nicely if not implemented
5654 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5656 * gio/glocalfileoutputstream.c:
5657 * gio/glocalfileoutputstream.h:
5662 * programs/gio-save.c:
5663 Add a GFileCreateFlags argument to operations that can create
5666 2007-10-01 Alexander Larsson <alexl@redhat.com>
5668 * gio/gappinfo.[ch]:
5669 * gio/gdesktopappinfo.c:
5670 Add more (stubbed out) mime API needed for nautilus
5672 2007-10-01 Alexander Larsson <alexl@redhat.com>
5675 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5676 Add g_app_info_set_as_default_for_extension.
5678 * gio/gdesktopappinfo.c:
5679 Dummy for g_app_info_set_as_default_for_extension
5680 Support flags in g_app_info_create_from_commandline
5682 * gio/gwin32appinfo.c:
5684 Update for API changes
5686 * gio/gthemedicon.c:
5687 Properly NULL-terminate list of icon names
5689 2007-09-28 Alexander Larsson <alexl@redhat.com>
5691 * gio/gloadableicon.h:
5692 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5694 2007-09-28 Alexander Larsson <alexl@redhat.com>
5697 Install headers in $includedir/gio-standalone/
5699 * gio-2.0.pc.in: Added.
5700 * gio-standalone.pc.in: Removed.
5703 Renamed pkg-config file to match glib (for future move)
5704 Update to the new include dir
5707 Add more TODO comments
5709 2007-09-28 Alexander Larsson <alexl@redhat.com>
5711 * gio/gdesktopappinfo.[ch]:
5712 Expose new_from_filename
5713 Add getter for is_hidden and handle it better
5715 2007-09-28 Alexander Larsson <alexl@redhat.com>
5717 * gio/gfileinfo.[ch]:
5718 Rename g_file_size_format_for_display to
5719 g_format_file_size_for_display.
5720 Now it doesn't have the g_file prefix, so we
5721 can later move it to glib.
5723 2007-09-28 Alexander Larsson <alexl@redhat.com>
5725 * gio/gappinfo.[ch]:
5726 Add g_app_info_get_id and g_app_info_get_executable.
5727 Make all getters non-reffing
5728 Make g_app_info_launch take GFile arguments.
5729 Add must_support_uris argument to g_app_info_get_default_for_type.
5731 * gio/gwin32appinfo.c:
5732 Update to GAppInfo api changes
5734 * gio/gdesktopappinfo.c:
5735 Update to GAppInfo api changes
5736 Implement supports_xdg_startup_notify
5738 * gio/gfileicon.c (g_file_icon_get_file):
5739 Make getter non-reffing.
5744 2007-09-27 Alexander Larsson <alexl@redhat.com>
5746 * gio/gfileinfo.[ch]:
5747 Add g_file_size_format_for_display helper
5749 2007-09-27 Alexander Larsson <alexl@redhat.com>
5751 * gio/glocalfileinfo.c:
5752 Set UNIX_GID from gid, not from uid
5754 2007-09-27 Alexander Larsson <alexl@redhat.com>
5757 Add g_file_set_attributes_async
5759 2007-09-27 Alexander Larsson <alexl@redhat.com>
5761 * gio/glocalfile.c (g_local_file_set_display_name):
5762 Fix set_display_name to actually rename to the right place.
5763 Use lstat to look for existing files so we don't overwrite
5766 2007-09-26 Alexander Larsson <alexl@redhat.com>
5769 Add g_file_set_display_name_async()
5771 2007-09-26 Alexander Larsson <alexl@redhat.com>
5774 Add load_partial_contents async calls
5777 Make internal function static
5779 2007-09-26 Alexander Larsson <alexl@redhat.com>
5781 * gio/glocalfileinfo.c:
5782 Correctly detect broken symlinks
5784 2007-09-26 Alexander Larsson <alexl@redhat.com>
5786 * gio/gcancellable.c (g_cancellable_cancel):
5787 Allow cancel on NULL cancellable
5789 2007-09-25 Alexander Larsson <alexl@redhat.com>
5791 * gio/gsimpleasyncresult.c:
5792 Don't allocate g_error manually.
5793 Fixes g_slice/g_new mixup crash
5795 2007-09-25 Alexander Larsson <alexl@redhat.com>
5797 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5798 Actually set active_backend.
5799 This means the monitor will be cancelled correctly.
5801 2007-09-25 Alexander Larsson <alexl@redhat.com>
5803 * gio/gdirectorymonitor.c:
5804 Set timeout to NULL when destroying
5806 2007-09-25 Alexander Larsson <alexl@redhat.com>
5809 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5810 that is a better description of the error.
5812 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5814 * gio/gvfs.c: (g_vfs_get_local):
5815 Make the local vfs variable static. The same instance should
5818 2007-09-24 Alexander Larsson <alexl@redhat.com>
5820 * gio/glocalfileinfo.c:
5821 Pass in actual length read into sniffer, not the length
5824 2007-09-21 Alexander Larsson <alexl@redhat.com>
5826 * gio/gfileenumerator.c:
5829 * gio/gfileinputstream.c:
5830 * gio/gfileoutputstream.c:
5831 * gio/ginputstream.c:
5832 * gio/goutputstream.c:
5833 Don't crash if async callbacks are NULL
5835 2007-09-20 Alexander Larsson <alexl@redhat.com>
5838 Add async enumerate_children method and default
5841 2007-09-20 Alexander Larsson <alexl@redhat.com>
5844 Add g_file_contains_file & g_file_get_relative_path, since they
5845 were needed for nautilus.
5846 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5851 Implement new methods
5853 2007-09-17 Alexander Larsson <alexl@redhat.com>
5856 * gio/gfileinputstream.[ch]:
5857 * gio/gfileoutputstream.[ch]:
5859 * gio/glocalfileenumerator.[ch]:
5860 * gio/glocalfileinfo.[ch]:
5861 * gio/glocalfileinputstream.c:
5862 * gio/glocalfileoutputstream.c:
5863 * gio/gpollfilemonitor.c:
5864 * programs/gio-copy.c:
5865 * programs/gio-info.c:
5866 * programs/gio-move.c:
5867 Rename get_file_info to query_info() to make it clearer
5868 that these are not simple getters, but do i/o.
5870 2007-09-17 Alexander Larsson <alexl@redhat.com>
5872 * gio/gdatainputstream.[ch]:
5873 * gio/test-streams.c:
5874 Use _read_XXX instead of _get_XXX for the i/o calls
5877 2007-09-17 Alexander Larsson <alexl@redhat.com>
5880 Added needed stuff to TODO comment
5882 2007-09-17 Alexander Larsson <alexl@redhat.com>
5884 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5885 Don't error out removing the backup copy if it doesn't
5888 2007-09-14 Alexander Larsson <alexl@redhat.com>
5890 * programs/Makefile.am:
5891 * programs/gvfs-*.c:
5893 Renamed apps from gvfs-xxx to gio-xxx.
5895 2007-09-14 Alexander Larsson <alexl@redhat.com>
5898 * gio/gfileoutputstream.[ch]:
5899 * gio/glocalfileoutputstream.c:
5900 * programs/gvfs-save.c:
5901 g_file_output_stream_get_etag doesn't do i/o, so remove
5902 cancellation and error.
5904 2007-09-14 Alexander Larsson <alexl@redhat.com>
5907 Add new_etag output to replace_contents functions
5909 2007-09-14 Alexander Larsson <alexl@redhat.com>
5911 * gio/gfileoutputstream.[ch]:
5912 Add async get_file_info and default implementation
5914 2007-09-14 Alexander Larsson <alexl@redhat.com>
5916 * gio/gfileinputstream.c:
5917 Implement fallback wrapper for async get_file_info
5919 2007-09-14 Alexander Larsson <alexl@redhat.com>
5922 Add etag out argument to load_contents
5927 2007-09-14 Alexander Larsson <alexl@redhat.com>
5929 * gio/gcontenttype.c (looks_like_text):
5930 Whitespace like tab, cr and lf do not make the
5933 2007-09-14 Alexander Larsson <alexl@redhat.com>
5935 * gio/gfileinputstream.[ch]:
5936 Add async get_file_info.
5938 2007-09-13 Alexander Larsson <alexl@redhat.com>
5940 * gio/goutputstream.c (g_output_stream_write_all):
5941 Allow NULL for bytes_written
5943 2007-09-13 Alexander Larsson <alexl@redhat.com>
5945 * gio/gmemoryinputstream.[ch]:
5946 Add accessors for data
5948 2007-09-13 Alexander Larsson <alexl@redhat.com>
5950 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5951 Don't crash if length is NULL