a3679d5a4cc0cc0a8893bc30784679214f3e0268
[platform/upstream/glib.git] / gio / ChangeLog
1 2009-01-22  Ryan Lortie  <desrt@desrt.ca>
2
3         Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
4
5         * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
6         g_buffered_input_stream_fill): check for count < -1 instead of count <
7         0 and copy modified check to non-async version for consistency.
8         document the "count = -1" API.
9
10 2009-01-22  Ryan Lortie  <desrt@desrt.ca>
11
12         Bug 568741 – g_buffered_input_stream_fill_async doesn't work
13
14         * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
15         after we have successfully read data from the base stream
16
17 2009-01-20  Ryan Lortie  <desrt@desrt.ca>
18
19         Bug 568394 – dropping the last reference to a stream filter closes the
20         base stream
21
22         * gfilterinputstream.h:
23         * gfilterinputstream.c: add "close-base-stream" property and only
24         close the base stream if it is true.  issue async close callbacks from
25         correct source object.
26         * gfilteroutputstream.h:
27         * gfilteroutputstream.c: add a "close-base-stream" property and only
28         close the base stream if it is true.  issue async close callbacks from
29         correct source object.
30         * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
31         before closing the base stream.  fix invalid source tag comparison in
32         close_async (was comparing to flush_async).
33         * ../docs/reference/gio/gio-sections.txt:
34         * gio.symbols: add
35         g_filter_{in,out}put_stream_{g,s}et_close_base_stream
36         * tests/filter-streams.c: new test cases
37         * tests/Makefile.am: add new test
38         * tests/.gitignore: add new test
39
40 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
41
42         * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
43
44 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
45
46         * === Released 2.19.5 ===
47
48 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
49
50         * gappinfo.h: Document get_commandline vfunc
51
52 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
53
54         * gunixmounts.c: Some stylistic fixes.
55
56 2009-01-08  Matthias Clasen  <mclasen@redhat.com>
57
58         Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG 
59         functions in non-UTF8 locale
60
61         * xdgmime/xdgmimecache.c:
62         * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
63
64 2009-01-08  Matthias Clasen  <mclasen@redhat.com>
65
66         * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
67
68 2009-01-07  Matthias Clasen  <mclasen@redhat.com>
69
70         Bug 566770 – error code 0 for Too many open files is useless
71
72         * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
73         Requested by Olivier Sessink.
74
75         * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
76
77         * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
78         G_IO_ERROR_TOO_MANY_OPEN_FILES.
79
80 2009-01-05  Matthias Clasen  <mclasen@redhat.com>
81
82         * === Released 2.19.4 ===
83
84 2009-01-05  Dan Winship  <danw@gnome.org>
85
86         * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
87         "const char **" to avoid a warning.
88
89         * gemblem.c (g_emblem_from_tokens):
90         * gemblemedicon.c (g_emblemed_icon_from_tokens):
91         * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
92         variables
93
94 2009-01-05  Matthias Clasen <mclasen@redhat.com>
95
96         Bug 566064 – Add NOATIME flag to query_info_flags
97
98         * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
99         sniffing for mime types. Based on a patch by A. Walton
100
101 2009-01-05  Ryan Lortie  <desrt@desrt.ca>
102
103         * tests/.gitignore: improve
104         * tests/Makefile.am: add new simple-async-result test
105         * tests/simple-async-result.c: new file to test GSimpleAsyncResult
106
107 2009-01-05  Ryan Lortie  <desrt@desrt.ca>
108
109         * gio.symbols:
110         * ../docs/reference/gio/gio-sections.txt:
111         * gsimpleasyncresult.h:
112         * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
113         Implementation by Dan Winship.  Closes #566170.
114
115 2008-12-31  Matthias Clasen <mclasen@redhat.com>
116
117         * gdesktopappinfo.c:
118         * gunixmounts.c:
119         * gunixinputstream.c:
120         * gunixoutputstream.c: Add a note about being UNIX-specific.
121
122 2008-12-15  Matthias Clasen <mclasen@redhat.com>
123
124         * === Released 2.19.3 ===
125
126 2008-12-12  Dan Winship  <danw@gnome.org>
127
128         * pltcheck.sh: make this work on x86_64
129
130 2008-12-12  Ryan Lortie  <desrt@desrt.ca>
131
132         * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
133         with them
134
135 2008-12-12  Ryan Lortie  <desrt@desrt.ca>
136
137         * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
138         multiple mount entries match the requested path
139
140 2008-12-10  Alexander Larsson  <alexl@redhat.com>
141
142         Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
143         g_simple_async_result_run_in_thread
144         
145         * gsimpleasyncresult.c:
146         Make g_simple_async_result_run_in_thread check cancellation before
147         calling out to the user in the callback. This means we guarantee
148         reporting cancels of async operations from the main threads, which
149         is probably more in line with what users expect.
150         
151         Note that there are still no such guarantees for cancelling sync
152         operations or cancelling async operation from outside the main
153         thread. Furthermore, the exact behaviour of async implementations
154         not using run_in_thread may differ.
155
156 2008-12-09  Alexander Larsson  <alexl@redhat.com>
157
158         Bug 515777 - incorrect date&time on copy
159         
160         * glocalfile.c:
161         (g_local_file_class_init):
162         Copy mtime by default
163         
164         * gfile.c:
165         Change docs about G_FILE_COPY_ALL_METADATA to not mention
166         mtime as an example.
167
168 2008-12-08  Matthias Clasen  <mclasen@redhat.com>
169
170         Bug 558298 – Hide ecryptfs mounts
171
172         * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts, 
173         so that the desktop does not show both the mount and the target 
174         directory. Patch by Martin Pitt
175  
176 2008-12-08  Matthias Clasen  <mclasen@redhat.com>
177
178         Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close 
179         property
180
181         * gio.symbols:
182         * gunixinputstream.[hc]:
183         * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
184         including getters and setters. Patch by Maciej Piechotka
185
186 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
187
188         Bug 558458 – Cannot build gio tests on Solaris using SUN cc
189
190         * tests/live-g-file.c: Support compilers that don't understand
191         ISO C varargs macros. Patch by Eric Lamarque
192
193 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
194         
195         Bug 526320 – should not list mounts that the user doesn't have 
196         permission to use
197
198         gunixmounts.c: Use g_access() to check accessibility of local devices.
199         Patch by Martin Pitt
200
201 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
202
203         * === Released 2.19.2 ===
204
205 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
206
207         * gdatainputstream.c (g_data_input_stream_read_line): Revert the
208         behaviour change, and update the docs instead, to avoid breaking
209         existing users.
210
211 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
212
213         * === Released 2.19.1 ===
214
215 2008-12-01  Alexander Larsson  <alexl@redhat.com>
216
217         * gio.symbols:
218         * gmount.[ch]:
219         * gunionvolumemonitor.c:
220         * gvolume.c:
221         Add and document g_mount_is_shadowed plus calls
222         to set/unset a mount as shadowed
223         
224 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
225
226         * gio/tests/g-icon.c: Comment out two failing tests
227
228 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
229
230         Bug 555486 – No way to recover command line from GAppInfo
231
232         * gio.symbols:
233         * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
234         by Hans Petter Jansson.
235         
236         * gdesktopappinfo.c: And implement it here.
237
238 2008-11-28  Christian Dywan  <christian@imendio.com>
239
240         * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
241
242 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
243
244         Bug 559633 – gtk_image_new_from_gicon does not always work for
245         .desktop files
246
247         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
248         extensions on icon names.  Proposed by Axel von Bertoldi.
249
250 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
251
252         Bug 548163 – Nautilus displays wrong error message for too long file
253         names
254
255         * glocalfile.c (g_local_file_set_display_name): Correctly set
256         error conditions if the new name is e.g. too long. Reported
257         by Leonardo Ferreira Fontenelle.
258
259 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
260
261         Bug 547481 – g_data_input_stream_read_line behaves not as stated in
262         the docs
263
264         * gdatainputstream.c (g_data_input_stream_read_line): Behave as
265         documented and include the line end in the returned string. 
266         Pointed out by Paul Pogonyshev.
267
268         * tests/data-input-stream.c: Fix the read_line test to test the
269         documented behaviour.
270
271 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
272
273         * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
274         files that have been created by g_app_info_create_from_commandline.
275
276 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
277
278         Bug 541715 – win32 : patch for warnings and signature problems in 
279         recent code
280         
281         * glocalvfs.c: Avoid unused variables. Pointed out by Jody
282         Goldberg.
283
284 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
285
286         Bug 562393 – g_buffered_input_stream_read_byte broken if data
287         available
288
289         * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
290         handling of buffered content.  Patch by Philip Withnall
291
292         * tests/buffered-input-stream.c: Add a testcase for this bug.
293         * tests/Makefile.am: And build it
294
295 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
296
297         Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
298         '/'
299
300         * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
301         '/' away. Spotted by Dan Williams.
302
303 2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>
304
305         Bug 561375 – Leaks mountpoint description
306
307         * glocalfile.c: (get_mount_info): don't leak the mountpoint description
308         string.
309
310 2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>
311
312         Bug 561352 – Leak of icon description
313
314         * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
315         generic icon string.
316
317 2008-11-14  Matthias Clasen <mclasen@redhat.com>
318
319         * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
320
321 2008-11-12  Tor Lillqvist  <tml@novell.com>
322
323         Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
324
325         * win32/gwinhttpvfs.h: Move the set of function pointers to
326         winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
327         pointer to that in the GWinHttpVfsClass.
328         
329         * win32/gwinhttpvfs.c: Move the lookup of functions from
330         winhttp.dll into a function of its own, that stores the pointers
331         in a separate GWinHttpDllFuncs variable. Add two bookeeping
332         booleans lookup_done and funcs_found.
333
334         Don't call g_io_extension_point_implement() to register the
335         winhttp extension unless winhttp.dll has been successfully loaded
336         and the required functions found in it.
337
338         * win32/gwinhttp*.c: Adjust calls of the functions looked up from
339         winhttp.dll correspondingly.
340
341 2008-10-28  Cosimo Cecchi  <cosimoc@gnome.org>
342
343         reviewed by: Alexander Larsson <alexl@redhat.com>
344
345         * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
346         clearer about the behavior when there's no more content to read.
347
348 2008-10-27  Federico Mena Quintero  <federico@novell.com>
349
350         * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
351
352 2008-10-27  Tor Lillqvist  <tml@novell.com>
353
354         Bug 557592 - Missing include in gwinhttpfile.c
355
356         * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
357         MSVC2008.
358
359 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
360
361         Bug 556910 – [fam-helper.c:223]: Memory leak: sub
362
363         * fam/fam-helper.c: Fix a memory leak and formatting issues.
364         Reported by Daniel Marjamäki
365
366 2008-10-23  Matthias Clasen  <mclasen@redhat.com>
367
368         * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
369
370 2008-10-23  Alexander Larsson  <alexl@redhat.com>
371
372         Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
373         
374         * glocalfileinfo.c:
375         (_g_local_file_info_get):
376         Don't return the fallback icon (text-x-generic) for all files.
377         This is causing problems with theme icon lookup and custom mime
378         icons, as the generic fallback overrides custom mime icons in
379         inherited themes.
380
381         This is a slight change as applications might not get an icon wher
382         they previously did. But there is no guarantee to get on neither before
383         or after this change, so it should not break applications. Changes
384         to nautilus and gtk+ will be done to manually use the generic fallback
385         icon if no icon is found, but this is only required for rare cases.
386
387 2008-10-21  Alexander Larsson  <alexl@redhat.com>
388
389         * gfileinfo.h:
390         Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
391
392 2008-10-21  Alexander Larsson  <alexl@redhat.com>
393
394         Bug 555740 - gicon serialization
395         Based on patch from David Zeuthen
396         
397         * gicon.[ch]:
398         * gio.symbols:
399         Add g_icon_to_string() and g_icon_new_for_string().
400         
401         * gemblem.c:
402         * gemblemedicon.c:
403         * gfileicon.c:
404         * gthemedicon.c:
405         Implement icon serialization for built-in icon types
406         
407         * tests/Makefile.am:
408         * tests/g-icon.c:
409         Added GIcon serialization test
410
411 2008-10-16  Matthias Clasen <mclasen@redhat.com>
412
413         * === Released 2.19.0 ===
414
415 2008-10-16  Matthias Clasen  <mclasen@redhat.com>
416
417         Bug 556422 – g_file_enumerator_next_file: unclear whether return 
418         value needs to be freed
419
420         * gfileenumerator.c (g_file_enumerate_next_file): Clarify
421         the return value docs. Pointed out by Armin Burgmeier
422
423 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
424
425         Bug 556334 – Warning when building without selinux support
426
427         * glocalfileinfo.c: Avoid compiler warnings when selinux is
428         disabled. Patch by Pascal Terjan
429
430 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
431
432         Bug 556335 – make check fails in abicheck.sh
433
434         * gio.symbols: Add g_file_attribute_info_list_get_type. 
435         Pointed out by Pascal Terjan.
436
437 2008-10-13  Alexander Larsson  <alexl@redhat.com>
438
439         * gdesktopappinfo.c:
440         When adding an application as handling a mime type (but
441         not as the default), copy the full list of desktop ids handling
442         that type in before adding the new one on the end of the list.
443         This means we're not accidentally changing the default by overriding
444         the info from the later directories in the search path.
445         
446         Also, fixes small leak of removed_entries.
447
448 2008-10-12  David Zeuthen  <davidz@redhat.com>
449
450         * gio.symbols:
451         * gunionvolumemonitor.c:
452         * gvolumemonitor.h:
453         Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
454
455 2008-10-10  Alexander Larsson  <alexl@redhat.com>
456
457         * gfileattribute.c (escape_byte_string):
458         Upper half of byte is >> 4, not >> 8.
459         Found by Kjartan Maraas via sparse
460
461 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
462
463         Bug 555711 – Wrong fallback order of mimetype icons
464
465         * gcontenttype.c: Don't prefer generic icons over
466         default mimetype icons.
467
468         * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon): 
469         * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
470         to generic icons.
471         Patch by Krysztof Kosiński
472
473 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
474
475         Bug 555121 – Improved build-time handling of gio module-dir
476
477         * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
478         * Makefile.am: Create the module dir.
479
480 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
481
482         * gio/glocalfileinfo.c:
483         * gio/tests/live-g-file.c:
484         * gio/gsimpleasyncresult.c: Fix gcc warnings.
485
486 2008-10-09  Alexander Larsson  <alexl@redhat.com>
487
488         * gunixinputstream.c (g_unix_input_stream_read):
489         Actually return -1 in case of cancelled, not old res value.
490
491 2008-10-06  Colin Walters  <walters@verbum.org>
492
493         Bug 554745 - GFileAttributeInfoList should be boxed
494
495         * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
496         for convenience of bindings.
497         * gio/gfileattribute.h: Prototype it.
498
499 2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>
500
501         Bug 554970 – segfault when update-desktop-database is not available
502         on the system
503
504         * gdesktopappinfo.c (run_update_command): Have the error set before 
505         using it.
506
507 2008-10-01  David Zeuthen  <davidz@redhat.com>
508
509         * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
510         file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
511         instead of the gio URI (such as sftp://foo/file.avi) when using
512         g_app_info_launch() and friends. With a sufficiently recent gvfs,
513         apps using gio+gvfs will map the FUSE file:// URI back to the gio
514         URI (and thus bypass the fuse daemon) thanks the patch from bug
515         #530654.  Since Nautilus is an user of g_app_info_launch() it
516         means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
517         when launced via the file manager. Win. Fixes bug #528670.
518
519         * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
520         mapping to the description of GAppInfo.
521
522 2008-09-30  Tor Lillqvist  <tml@novell.com>
523
524         * tests/Makefile.am: Build desktop-app-info only on Unix.
525
526         * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
527         g_critical(). Pass a large enough result buffer to
528         GetVolumePathNameW(). Just use MAX_PATH.
529
530 2008-09-29  David Zeuthen  <davidz@redhat.com>
531
532         * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
533
534 2008-09-26  Dan Winship  <danw@gnome.org>
535
536         * tests/data-input-stream.c:
537         * tests/data-output-stream.c:
538         * tests/live-g-file.c:
539         * tests/memory-input-stream.c:
540         * tests/memory-output-stream.c: Use g_assert_error() and
541         g_assert_no_error()
542
543 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
544         
545         Bug 545350 – GAppInfo deletion
546         Bug 545351 – Reset associations for content type
547
548         * gio.symbols:
549         * gappinfo.[hc]: New functions g_app_info_can_delete,
550         g_app_info_delete and g_app_info_reset_type_associations.
551
552         * gdesktopappinfo.c:
553         * gwin32appinfo.c: Implementations of these.
554
555         * tests/Makefile.am:
556         * tests/desktop-app-info.c: Tests for GAppInfo functionality.
557
558 2008-09-26  Dan Winship  <danw@gnome.org>
559
560         Bug 505361 – gunixinputstream.c assumes poll() available
561         Bug 509446 – portable blocking gio cancellation
562
563         * gcancellable.c (g_cancellable_make_pollfd): New method to make a
564         GPollFD for a cancellable (which is slightly more complicated on
565         Windows than Unix).
566
567         * gunixinputstream.c (g_unix_input_stream_read):
568         * gunixoutputstream.c (g_unix_output_stream_write): Use
569         g_cancellable_make_pollfd() and g_poll() rather than using poll()
570         directly.
571
572         * tests/unix-streams.c: test of GUnixInputStream,
573         GUnixOutputStream, and GCancellable.
574
575 2008-09-26  Dan Winship  <danw@gnome.org>
576
577         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
578         cast to stop a gcc warning
579
580         * gfile.c (g_file_copy_attributes): add parens to stop a gcc
581         warning
582
583 2008-09-25  Dan Winship  <danw@gnome.org>
584
585         Bug 553426 - cancellable clarifications
586
587         * gcancellable.c (g_cancellable_class_init): Add a note to the
588         "cancelled" signal docs warning about thread-safety issues
589         (g_cancellable_cancel): Note that cancelling an asynchronous
590         operation takes effect asynchronously, not immediately.
591
592 2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>
593
594         * gioenums.h: Add new GFileCopyFlag, to leave target file with
595         default perms, instead of setting the source file perms, in a copy
596         operation.
597
598         * gfile.c (g_file_copy_attributes) 
599         (build_attribute_list_for_copy)
600         (should_copy): Not copy "unix::mode" attribute if we have received
601         G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
602
603 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
604
605         * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
606
607 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
608
609         * === Released 2.18.1 ===
610
611 2008-09-16  Michael Natterer  <mitch@imendio.com>
612
613         * gcontenttype.c (g_content_type_guess): can't assign the return
614         value of g_strdupv() to an array. Fill the array manually with
615         const strings instead (it is never freed anyway). Fixes the
616         build. Also fixed indentation.
617
618 2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>
619
620         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
621         Fix trivial typo to unbreak the build (there was a colon
622         instead of a semicolon at the end of a statement).
623
624 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
625
626         Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
627         file is empty
628
629         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
630         an empty Path value.  
631
632 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
633
634         Bug 551681 – g_content_type_guess() too naive with filenames
635
636         * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
637         at the end of the filename, and declare it a directory.
638         Patch by Bastien Nocera
639
640 2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>
641
642         Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
643         aren't clear.
644
645         * gdesktopappinfo.c: add a note in the docs clarifying what the
646         "filename" parameter really is.
647
648 2008-09-12  Tor Lillqvist  <tml@novell.com>
649
650         * gwin32appinfo.c (g_win32_app_info_launch): Don't call
651         FormatMessage() etc here. Call g_win32_error_message() instead
652         which already does all that. Besides, the code was broken as it
653         called the default "A" version of FormatMessage() but still
654         thought it produced a wide string.
655
656 2008-09-12  Michael Natterer  <mitch@imendio.com>
657
658         * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
659         in the documentation.
660
661 2008-09-08  Christian Neumair  <cneumair@gnome.org>
662
663         * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
664         * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
665         Use non-blocking pipe for mount helper I/O. Fixes #550647.
666
667 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
668
669         Bug 551149 – xdgmime mem leak
670
671         * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
672         a memory leak. Patch by Christian Persch
673
674 2008-09-04  Tor Lillqvist  <tml@novell.com>
675
676         * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
677         NULL.
678
679 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
680
681         * === Released 2.18.0 ===
682
683 2008-09-02  Michael Natterer  <mitch@imendio.com>
684
685         * *.h: big header formatting cleanup: indentation, vtable
686         formatting, consistent spacing in (* vfunc), trailing whitespace
687         removal. Formatting should be pretty consistent in all GIO headers
688         now.
689
690 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
691
692         * gmount.h: Document guess_content_type sync vfunc.
693
694 2008-09-02  Michael Natterer  <mitch@imendio.com>
695
696         * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
697         fix parent_class member to be GFilterOutputStreamClass (not
698         GOutputStreamClass). Drop three pointers of padding, which is
699         exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
700         so the class struct size stays the same.
701
702 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
703
704         Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
705
706         * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
707         nonexisting return values. Pointed out by Cosimo Cecchi.
708
709 2008-08-23  Tor Lillqvist  <tml@novell.com>
710
711         Bug 548988 - g_file_replace fails on Windows when the target file
712         exists already
713
714         * glocalfileoutputstream.c (g_local_file_output_stream_close): On
715         Windows, close the file before potentially renaming it (in case we
716         have been writing to a file with a temporary name).
717
718         (g_local_file_output_stream_close, handle_overwrite_open): Use
719         GLocalFileStat instead of plain struct stat, for passing to
720         _g_local_file_info_create_etag(). Thus also use _fstati64()
721         instead of plain fstat() on Windows.
722
723 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
724
725         * === Released 2.17.7 ===
726
727 2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
728
729         * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
730         Fix for #542156.
731
732 2008-08-13  Tor Lillqvist  <tml@novell.com>
733
734         * win32/gwinhttpvfs.c
735         * win32/gwinhttpvfs.h
736         * win32/gwinhttpfile.c
737         * win32/gwinhttpfileinputstream.c
738         * win32/gwinhttpfileoutputstream.c: Refactor some common code
739         snippets into helper functions. Check HTTP response status
740         codes. Implement g_winhttp_file_query_info(), looking at
741         Content-Length, Content-Type and Last-Modified.
742
743         * win32/winhttp.h: Add some symbolic constants that are not
744         publicly documented. Just a handful, so it should be OK to use
745         information from the Windows SDK's headers.
746
747 2008-08-13  Tor Lillqvist  <tml@novell.com>
748
749         Bug 546582 - Callbacks from GFileMonitor present a GFile in the
750         wrong folder
751
752         * win32/gwin32directorymonitor.c
753         (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
754
755 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
756
757         * ginputstream.c:
758         * goutputstream.c: Add intro docs.
759
760 2008-08-13  Tor Lillqvist  <tml@novell.com>
761
762         * win32/gwinhttpfileoutputstream.c
763         (g_winhttp_file_output_stream_write): Don't write the
764         Content-Length header ourselves, WinHttpSendRequest() takes care
765         of that when the dwTotalLength parameter is non-zero. Increment
766         offset by the number of actual bytes sent, although I wonder if
767         such a scenario is possible where less than requested would be
768         sent and accepted by the server without errors.
769
770 2008-08-13  Tor Lillqvist  <tml@novell.com>
771
772         * win32/gwinhttpvfs.c
773         * win32/gwinhttpvfs.h
774         * win32/gwinhttpfile.c
775         * win32/gwinhttpfile.h
776         * win32/gwinhttpfileinputstream.c
777         * win32/gwinhttpfileinputstream.h
778         * win32/gwinhttpfileoutputstream.c
779         * win32/gwinhttpfileoutputstream.h: New files implementing
780         GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
781         Windows. The implementation uses the WinHttp API. Both reading and
782         writing are supported, i.e. GET and PUT requests. When writing,
783         each write call is done using a separate PUT request with a
784         Content-Range header. Requests for file URIs and plain pathnames
785         are forwarded to GLocalVfs.
786
787         * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
788         WINE. Used as there is no <winhttp.h> bundled with mingw, and
789         requiring people to download the Windows SDK just for this one
790         header is not reasonable.
791
792         * win32/Makefile.am: Add above files.
793
794         * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
795         the plumbing for the above.
796
797 2008-08-11  Sven Neumann  <sven@gimp.org>
798
799         * gfilenamecompleter.c
800         * glocaldirectorymonitor.c
801         * gmountoperation.c
802         * gunionvolumemonitor.c
803         * gunixmount.c
804         * gunixmounts.c
805         * gunixvolume.c
806         * gunixvolumemonitor.c
807         * gvolumemonitor.c
808         * gwin32mount.c
809         * gwin32volumemonitor.c: use canonical signal names.
810
811 2008-08-11  Tor Lillqvist  <tml@novell.com>
812
813         * Makefile.am: Put a list of the platform-dependent .la files in
814         the subdirectories in the platform_deps Make variable, and make
815         libgio-2.0.la depend on that, so that it gets relinked if one of
816         the dependent libraries has changed.
817
818 2008-08-11  Tor Lillqvist  <tml@novell.com>
819
820         * Makefile.am (platform_libadd): Remove -lwininet which had been
821         added by mistake. We will probably eventually be using WinHTTP,
822         not the older WinInet anyway. (Actually I am working on it.)
823
824 2008-08-10  Felix Riemann  <friemann@svn.gnome.org>
825
826         Bug 547080 – g_file_copy leaks expected errors
827
828         * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
829         before trying the next fallback routine.
830
831 2008-08-09  Loïc Minier  <lool@dooz.org>
832
833         Bug 535124 – umask 002 not being applied for new directories, new
834         files get the correct umask
835
836         * gfile.c (g_file_make_directory)
837         (g_file_make_directory_with_parents): Document ownership and
838         permissions of newly created directories as being the default
839         ones of the process.
840
841 2008-08-08  Loïc Minier  <lool@dooz.org>
842
843         Bug 535124 – umask 002 not being applied for new directories, new
844         files get the correct umask
845
846         * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
847         0755 as umask
848
849 2008-08-08  Tor Lillqvist  <tml@novell.com>
850
851         * gwin32mount.c: Remove unused code. Whitespace cleanup.
852
853         * gwin32volumemonitor.c (get_connected_drives): Put questionable
854         code that didn't actually do anything inside #if 0, and add a
855         comment wondering what the code was supposed to do. This also gets
856         rid of a leftover debugging printout.
857
858 2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>
859
860         * gfileicon.c (g_file_icon_get_property)
861         (g_file_icon_set_property): New functions.
862         (g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
863         property.
864         (g_file_icon_new): Use the property (bug #546132).
865
866 2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
867
868         * gthemedicon.c (g_themed_icon_get_property): Also handle
869         `PROP_USE_DEFAULT_FALLBACKS'.
870         (g_themed_icon_class_init): Make
871         `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
872
873 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
874
875         Bug 546371 – Improve docs re g_file_monitor
876
877         * gfilemonitor.c: Mention g_file_monitor() in the docs.
878
879 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
880
881         * === Released 2.17.6 ===
882
883 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
884
885         * === Released 2.17.5 ===
886
887 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
888
889         Bug 546017 – Don't copy attributes when copying a symlink
890
891         * gfile.c (g_file_copy_attributes): Specify
892         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
893         g_file_set_attributes_from_info. Patch by Christian Kellner
894
895 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
896
897         * gemblemedicon.[hc]: 
898         * gio.symbols:
899         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
900         a bit more extensible. Work by Clemens Buss.
901
902         * gioenums.h: Add GEmblemOrigin.
903         * Makefile.am: Glue
904
905 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
906
907         Bug 546079 – leak in xdgmime
908         
909         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
910         
911 2008-08-03  Tor Lillqvist  <tml@novell.com>
912
913         * win32/gwin32directorymonitor.h
914         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
915         style.
916
917 2008-08-03  Tor Lillqvist  <tml@novell.com>
918
919         * win32/gwin32directorymonitor.c
920         (g_win32_directory_monitor_callback): Make prototype match
921         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
922         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
923         pointer.
924
925         (g_win32_directory_monitor_constructor):
926         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
927         names in the GLib API on Windows, so convert to UTF-16 and open
928         with CreateFileW().
929
930 2008-08-03  Tor Lillqvist  <tml@novell.com>
931
932         Bug 541036 - Gnumeric crashes when trying to open Desktop or
933         user's folder under Windows
934
935         * win32/gwin32directorymonitor.c
936         (g_win32_directory_monitor_constructor): Ignore error from
937         CreateFile() when opening directory. Instead of asserting, just
938         store INVALID_HANDLE_VALUE then in
939         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
940         ReadDirectoryChangesW().
941         (g_win32_directory_monitor_cancel): Don't attempt to close
942         directory handle if it is INVALID_HANDLE_VALUE.
943
944 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
945
946         * gdesktopappinfo.c: Remove debug spew
947
948 2008-08-01  Hans Breuer  <hans@breuer.org>
949
950         * makefile.msc : add gemblembedicon
951
952 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
953
954         Bug 545457 – gdmsetup crashed with SIGSEGV in
955         g_unix_mount_guess_should_display()
956
957         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
958         crash if no mount is found.
959
960 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
961
962         Bug 545203 – gfile.c: argument is different type.
963
964         * gfile.c (open_read_async_thread): Pass a GError **
965         to g_file_set_error_literal.
966         Reported by Kazuki Iwamoto
967
968 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
969
970         Bug 545157 – wrong/no list of "open with" applications for .cc and
971         .cpp files
972
973         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
974         Collect all ancestors, not just direct parents. Pointed
975         out by Bastien Nocera
976
977 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
978
979         * Makefile.am: Install gemblemedicon.h
980
981 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
982
983         * gemblemedicon.[hc]: Add a GIcon implementation that can
984         add an emblem to another icon.
985
986         * gio.h:
987         * Makefile.am:
988         * gio.symbols: Glue
989
990         * gloadableicon.c:
991         * gfileicon.c: Small documentation additions.
992
993 2008-07-28  Tor Lillqvist  <tml@novell.com>
994
995         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
996         type.
997
998 2008-07-27  Tor Lillqvist  <tml@novell.com>
999
1000         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1001
1002 2008-07-24  David Zeuthen  <davidz@redhat.com>
1003
1004         * gmount.[ch]:
1005         * gio.symbols:
1006         Also export a g_mount_guess_content_type_sync() function.
1007
1008 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
1009
1010         529694 – SELinux context setting support
1011
1012         * gfileinfo.c: Support setting selinux attributes.
1013         Patch by Tomas Bzatek
1014
1015 2008-07-22  Priit Laes <plaes@plaes.org>
1016
1017         Bug 544140 - fam-helper 64-bit issue?
1018
1019         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1020
1021 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
1022
1023         * === Released 2.17.4 ===
1024
1025 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
1026
1027         * gvolumemonitor.[hc]:
1028         * gmountoperation.c:
1029         * gioenums.h:
1030         * gdrive.c:
1031         * gvfs.c:
1032         * gmount.c: Documentation fixes
1033
1034 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
1035
1036         543504 – crash in Epiphany Web Browser: Opening local file
1037
1038         * gappinfo.c:
1039         * gasyncresult.c:
1040         * gdesktopappinfo.c:
1041         * gdrive.c:
1042         * gfile.c:
1043         * gicon.c:
1044         * gloadableicon.c:
1045         * gmount.c:
1046         * gseekable.c:
1047         * gvolume.c: Register types thread-safely.
1048         Patch by Christian Persch
1049
1050 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1051
1052         * gcontenttype.c: Remove debug spew
1053
1054 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1055
1056         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1057         any applications
1058
1059         * fen/fen-kernel.c: Remove a warning that was causing
1060         crashes. Reported by Lin Ma.
1061
1062 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1063
1064         Bug 543040 – async reading on dummy file will crash on
1065         GIO_USE_VFS=local
1066
1067         * gfile.c (open_read_async_thread): Cope with read_fn being
1068         NULL. Reported by Lin Ma.  
1069
1070 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1071
1072         * gio.symbols:
1073         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1074
1075 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1076
1077         * gvfs.h:
1078         * gdesktopappinfo.h: 
1079         * giomodule.c: Rename a chapter id to avoid filename conflict.
1080
1081 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1082
1083         Bug 540616 – mem leak in filechooser button
1084
1085         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1086         the mount entry. Reported by Chrisitan Persch
1087
1088 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1089
1090         * gfile.c: Small documentation fixes.
1091
1092 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
1093
1094         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1095
1096 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
1097
1098         * gvolumemonitor.c:
1099         * gfile.c:
1100         * gvolume.c:
1101         * gmount.c: Documentation improvements.
1102
1103 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
1104
1105         * gio.symbols:
1106         * gmount.[hc]: Add g_mount_guess_content_type(). 
1107
1108 2008-07-06  David Zeuthen  <davidz@redhat.com>
1109
1110         * gio.symbols:
1111         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1112         is needed for easily handling adoption of foreign volumes by
1113         out-of-process volume monitors (#541793)
1114
1115 2008-07-06  David Zeuthen  <davidz@redhat.com>
1116
1117         * gvolumemonitor.[ch]:
1118         * gunionvolumemonitor.c: Export the eject-button signal on the
1119         volume monitor class (#541794).
1120
1121 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1122
1123         * gappinfo.c: More doc tweaks
1124
1125 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
1126
1127         * gappinfo.c: Clarify some docs
1128
1129 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1130
1131         * gdesktopappinfo.c: Fix a stupid mistake.
1132
1133 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1134
1135         * === Released 2.17.3 ===
1136
1137 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1138
1139         * gfilemonitor.c: Fix the build.
1140
1141 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1142
1143         Bug 536160 – Add g_file_monitor()
1144
1145         * gio.symbols:
1146         * gfile.[hc]: Add g_file_monitor which can return either
1147         a file or a directory monitor.  Proposed by Behdad Esfahbod
1148
1149 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1150
1151         536733 – gio build failure on Irix
1152
1153         * glocalfile.c: Use a configure check for structfs.f_bavail.
1154
1155 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1156
1157         Bug 534639 – add g_desktop_app_info_new_from_keyfile
1158
1159         * gio.symbols:
1160         * gdesktopappinfo.[hc]: Add a function to create a
1161         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1162
1163 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1164
1165         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1166
1167 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
1168
1169         * gunixmounts.c: Fix a doc typo.
1170
1171 2008-07-01  Cody Russell  <bratsche@gnome.org>
1172
1173         * gio/gcontenttype.c:
1174         * gio/gwin32appinfo.c:
1175         * gio/gwin32volumemonitor.c:
1176         * gio/gwin32mount.c: Fixed some include problems.
1177
1178 2008-07-01  Cody Russell  <bratsche@gnome.org>
1179
1180         * gio/gioenums.h:
1181         * gio/giotypes.h:
1182         Moved all relevant typedefs into these files.
1183
1184         * gio/*.[ch]:
1185         Updated wrt added files.
1186
1187         Split types into separate file for easier maintainership. (#538564)
1188
1189 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1190
1191         Bug 540331 – g_file_append_to () documentation: can return NULL
1192
1193         * gfile.c (g_file_append_to): Clarify docs.
1194         Patch by Jared Moore
1195
1196 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1197
1198         Bug 539090 – g_content_type_from_mime_type() should unalias
1199
1200         * gcontentype.c (g_content_type_from_mime_type): Unalias.
1201         Patch by Markus Bergman
1202
1203 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1204
1205         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1206         g_atomic_pointer_get
1207
1208         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1209         on ppc and alpha. Reported by Mart Raudsepp
1210
1211 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1212
1213         * tests/Makefile.am: 
1214         * tests/memory-output-stream.c: Add some tests for
1215         GMemoryOutputStream. 
1216
1217 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1218
1219         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1220         0, ...)
1221
1222         * gmemoryoutputstream.c (array_resize): Handle truncation to
1223         zero correctly. Reported by Akira Tagoh
1224
1225 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1226
1227         * gmemoryoutputstream.c: Trivial doc fixes
1228
1229 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1230
1231         Bug 540802 – g_list_prepend doesn't concat lists
1232
1233         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1234         one list to another. Pointed out by Jan Arne Petersen
1235
1236 2008-06-28  Michael Natterer  <mitch@imendio.com>
1237
1238         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1239
1240 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
1241
1242         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1243         to avoid problems with partial icon themes.
1244         
1245 2008-06-17  Hans Breuer  <hans@breuer.org>
1246
1247         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
1248         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1249         access again on win32, see bug #538127
1250         * giomodule.c : ensure GWin32VolumeMonitor is registered
1251         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1252         * Makefile.am makefile.msc : updated
1253
1254 2008-06-16  Hans Breuer  <hans@breuer.org>
1255
1256         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
1257         and initialization in one step avoids c99ism
1258
1259 2008-06-16  Christian Persch  <chpe@gnome.org>
1260
1261         * gio/gappinfo.c
1262         * gio/gbufferedinputstream.c
1263         * gio/gcancellable.c
1264         * gio/gdatainputstream.c
1265         * gio/gdesktopappinfo.c
1266         * gio/gfile.c
1267         * gio/gfileenumerator.c
1268         * gio/gfileinputstream.c
1269         * gio/gfileoutputstream.c
1270         * gio/ginputstream.c
1271         * gio/glocaldirectorymonitor.c
1272         * gio/glocalfile.c
1273         * gio/glocalfileenumerator.c
1274         * gio/glocalfileinfo.c
1275         * gio/glocalfilemonitor.c
1276         * gio/glocalfileoutputstream.c
1277         * gio/gmemoryinputstream.c
1278         * gio/gmemoryoutputstream.c
1279         * gio/goutputstream.c
1280         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
1281         bug #535947.
1282
1283 2008-06-16  Tor Lillqvist  <tml@novell.com>
1284
1285         Bug 538362 - Get Win32 icons back in the file chooser
1286
1287         * gcontenttype.c (g_content_type_get_icon): Look up the icon
1288         corresponding to a file extension in the Registry. Patch by Hans
1289         Breuer.
1290         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1291         
1292 2008-06-16  Tor Lillqvist  <tml@novell.com>
1293
1294         Patches by Hans Breuer:
1295
1296         * glocalfile.c (is_xp_or_later): Handle compiling against older
1297         SDK headers with missing VerifyVersionInfo().  Conditioned on
1298         _MSC_VER, but should probably use some better test.
1299         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1300         uninitialised statfs_result variable on Win32.
1301
1302 2008-06-16  Michael Natterer  <mitch@imendio.com>
1303
1304         * *.c: chain up unconditionally in finalize() and dispose(). Also
1305         don't dereference these function pointers when calling them since
1306         that has no meaning at all.
1307
1308 2008-06-16  Ross Burton  <ross@burtonini.com>
1309
1310         * gfileenumerator.c:
1311         Remove check for dispose implementation as it annoys Emmanuele.
1312         
1313 2008-06-16  Ross Burton  <ross@burtonini.com>
1314
1315         Bug 536252 – GFileEnumerator should allow access to the containing
1316         GFile
1317         
1318         * gfileenumerator.c:
1319         * gfileenumerator.h:
1320         * gfile.h:
1321         Add g_file_enumerator_get_container() and a container writeable
1322         construct-only property.  Also shuffle around typedefs to make it
1323         compile.
1324         
1325         * glocalfileenumerator.c:
1326         * glocalfileenumerator.h:
1327         * glocalfile.c:
1328         Instead of a string filename take a GFile in the constructor and
1329         use it to set the container property.
1330         
1331         * gio.symbols:
1332         Update with new API.
1333
1334 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
1335
1336         * gfile.c: Make includes more uniform
1337
1338 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
1339
1340         * tests/live-g-file.c (sample_struct):
1341         Use less fancy unicode filenames, so the test doesn't fail
1342         on Mac OS X (#531476).
1343
1344 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
1345         
1346         * === Released 2.17.2 ===
1347
1348 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
1349
1350         * === Released 2.17.1 ===
1351
1352 2008-06-11  A. Walton  <awalton@gnome.org>
1353
1354         * tests/g-file.c (test_g_file_new_null):
1355         Fix broken test case.
1356
1357 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1358
1359         * pltcheck.sh: We use g_clear_error now.
1360
1361 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1362
1363         * glocalfile.c (g_local_file_enumerate_children): Revert
1364         an unintended change.
1365
1366 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1367
1368         * gfile.c (g_file_replace_contents): Don't unref before the last use.
1369
1370 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1371
1372         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1373         folder
1374         
1375         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1376         as icon for the desktop directory, also make user-home and
1377         user-desktop the preferred icons.
1378
1379 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1380
1381         * gio.symbols:
1382         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1383         to add a name to the front of the list.
1384
1385 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1386
1387         Bug 537392 – Additional colon in xattr name
1388
1389         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1390         too. Reported by  Alessandro Morandi 
1391
1392 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1393
1394         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1395         file systems
1396
1397         * glocalfile.c (get_fs_type): Add afs and autofs.
1398         Patch by Danny Baumann.
1399
1400 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1401
1402         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1403
1404         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1405         is no parent.  (Owen Taylor, patch by Christian Neumair)
1406         
1407 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
1408
1409         * gfile.c (g_file_replace_contents): do not leak the output stream.
1410
1411 2008-06-10  Michael Natterer  <mitch@imendio.com>
1412
1413         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1414         uninitialized memory as array index.
1415
1416 2008-06-10  Tor Lillqvist  <tml@novell.com>
1417
1418         * gcontenttype.c (g_content_type_can_be_executable)
1419         (g_content_type_get_icon) [Win32]: Add TODO comments.
1420
1421 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1422
1423         * xdgmime/Makefile.am: Fix the build
1424
1425 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1426
1427         * gcontenttype.c (g_content_type_get_icon): Use icons specified
1428         in the shared mime database, if available.
1429
1430         * xdgmime/*: Sync with upstream. This brings support for
1431         glob weights, generic icons, and changes the cache format to 
1432         version 1.1.
1433
1434 2008-05-28  Michael Natterer  <mitch@imendio.com>
1435
1436         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1437         the global CPPFLAGS now.
1438
1439         * tests/data-input-stream.c
1440         * tests/data-output-stream.c
1441         * tests/g-file-info.c
1442         * tests/g-file.c
1443         * tests/live-g-file.c
1444         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1445
1446 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1447
1448         * === Released 2.17.0 ===
1449
1450         * tests/live-g-file.c: Clean up after the tests, so make distcheck
1451         doesn't complain about leftover files.
1452
1453 2008-05-27  simon.zheng  <simon.zheng@sun.com>
1454
1455         * glocalfile.c: (g_local_file_query_filesystem_info):
1456         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1457
1458 2008-05-26  Michael Natterer  <mitch@imendio.com>
1459
1460         * gmemoryoutputstream.h: declare
1461         g_memory_output_stream_get_data_size().
1462
1463 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1464
1465         * tests/*: Make tests work 
1466
1467 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1468
1469         * gio.symbols: Add g_memory_output_stream_get_data_size.
1470
1471 2008-05-25  Ross Burton  <ross@burtonini.com>
1472
1473         * glocalfile.c:
1474         Fix typo in error message (#534764).
1475
1476 2008-05-25  Ross Burton  <ross@burtonini.com>
1477
1478         * Makefile.am:
1479         Fix circular dependency loop for gioenumtypes.h (#534759).
1480
1481 2008-05-19  Hans Breuer  <hans@breuer.org>
1482
1483         * Makefile.am : EXTRA_DIST += makefile.msc
1484
1485 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1486
1487         * gcontenttype.h:
1488         * gcontenttype.c: (g_content_type_from_mime_type):
1489         New function to create a content type from a mime type. (#527175,
1490         Milan Crha)
1491
1492 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1493
1494         Bug 532965 – Should not return filesystem::free for certain file systems
1495
1496         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1497         free space for ncpfs.
1498
1499 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1500
1501         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1502
1503         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1504         st_dev might be zero.
1505
1506 2008-05-16  Tor Lillqvist  <tml@novell.com>
1507
1508         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1509         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1510
1511 2008-05-13  Bastien Nocera  <hadess@hadess.net>
1512
1513         * gfile.c (has_valid_scheme): A URI scheme must start with a
1514         letter, even if later more characters are allowed (#532852)
1515
1516 2008-05-05  Michael Natterer  <mitch@imendio.com>
1517
1518         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1519         code from being checked in that breaks the build of applications
1520         which use G_DISABLE_SINGLE_INCLUDES.
1521
1522         * makegioalias.pl: make the alias file include "glib.h" instead of
1523         "glibconfig.h".
1524
1525         * gio.symbols: whitespace change to force regeneration of the
1526         alias file after above script change.
1527
1528         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1529
1530         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1531
1532         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1533
1534         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1535
1536 2008-04-28  David Zeuthen  <davidz@redhat.com>
1537
1538         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1539         displaying mounts in a subdirectory not accessible to the
1540         user (#526320).
1541
1542 2008-04-22  Michael Natterer  <mitch@imendio.com>
1543
1544         * Makefile.am: fix library versioning (it was 0.0.0).
1545
1546 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
1547
1548         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1549         Default disable all loggings.
1550         * fen/fen-kernel.c: (printevent), (port_add_kevent),
1551         (port_fetch_event_cb): Fixed two macro nits.
1552
1553 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1554
1555         * xdgmime/xdgmime.c: Rework the timestamp checking code
1556         to protect against duplicate directories in XDG_DATA_DIRS.
1557         Fixes fd.o bug 12513, reported by Joe Shaw.
1558
1559 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1560
1561         Partically revert the last commit after realizing that
1562         xdg_mime_media_type_equal doesn't have to init at all.
1563
1564         * xdgmime/xdgmime.h:
1565         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1566
1567         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1568
1569 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1570
1571         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1572         reported by Joe Shaw and Federico Mena Quintero.
1573
1574         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1575         (xdg_mime_media_type_equal): Turn into a wrapper around the 
1576         _-prefixed version.
1577
1578         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1579         functions throughout.
1580
1581 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
1582
1583         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
1584         tolerate an empty TryExec= line without failing; nautilus used
1585         to create launchers with these in previous versions. Fixes #528433
1586
1587 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
1588
1589         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1590         after name. Fixes #527132.
1591
1592 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1593
1594         * gfile.c: (g_file_replace):
1595         Doc update
1596
1597 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
1598
1599         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1600
1601         * gfile.c (file_copy_fallback): Fix the argument order. Patch
1602         by Christian Kellner.
1603
1604 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
1605
1606         * gunixmounts.c: (g_unix_mount_guess_should_display):
1607         Don't list the user directory as a mount, fix potential issue
1608         when other users have a similar naming and don't special case the
1609         gvfs mounts there since that's not required (#525866)
1610
1611 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1612
1613         * glocalfile.c (get_parent):
1614         Don't leak parent.
1615         
1616 2008-03-31  A. Walton  <awalton@svn.gnome.org>
1617
1618         * gfile.c (g_file_query_file_type):
1619         Always return a GFileType enum value (#520715).
1620
1621 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1622
1623         * glocalfileenumerator.c:
1624         Read readdir() info in chunks (of 1000) and sort
1625         the chunks by inode before stat:ing.
1626         This is a 20% performance increase in testing
1627         gvfs-ls on /usr/bin with cold cache.
1628
1629 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1630
1631         * gmemoryoutputstream.c:
1632         Clarify docs for g_memory_output_stream_get_size.
1633         Add g_memory_output_stream_get_data_size.
1634
1635 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1636
1637         * gio.symbols:
1638         * gfile.c:
1639         * gfile.h: Add g_file_query_file_type convenience function
1640         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
1641
1642 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1643
1644         * gfileenumerator.c:
1645         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
1646
1647 2008-03-28  A. Walton  <awalton@svn.gnome.org>
1648
1649         * giomodule.c (_g_io_modules_ensure_loaded):
1650         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
1651         #523039.
1652
1653 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1654
1655         * gfile.c:
1656         (copy_stream_with_progress):
1657         Fix up last commit.
1658         
1659 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1660
1661         * gfile.c:
1662         (copy_stream_with_progress):
1663         (file_copy_fallback):
1664         Fallback to g_file_query_info for source size
1665         if g_file_input_stream_query_info fails. (#524579)
1666
1667 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1668
1669         * glocalfile.c (g_local_file_move):
1670         Reuse old string instead of adding new one.
1671
1672 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
1673
1674         * fen/*.[hc]: still copyright issue. I hate copyright.
1675
1676 2008-03-27  Alexander Larsson  <alexl@redhat.com>
1677
1678         * glocalfile.c (g_local_file_move):
1679         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1680         file over directory. This is according to the docs and what the move via
1681         copy+remove fallback does.
1682
1683 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
1684
1685         * fen/*.[hc]: Updated copyright.
1686
1687 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1688
1689         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1690
1691 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1692
1693         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1694         not emit attribute changed events when optimizing changed events.
1695         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1696         warning messages.
1697
1698 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
1699
1700         * gmountoperation.[hc]: Small documentation additions
1701
1702 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
1703
1704         * gunixmounts.c: (guess_mount_type): 
1705         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1706
1707 2008-03-19  Alexander Larsson  <alexl@redhat.com>
1708
1709         * gfile.c:
1710         (copy_stream_with_progress):
1711         Bump block side for copy to 64k to minimize
1712         overhead for low latency links. (#523015)
1713
1714 2008-03-16  Tor Lillqvist  <tml@novell.com>
1715
1716         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1717         depend on gio.def on Windows.
1718
1719 2008-03-12  David Zeuthen  <davidz@redhat.com>
1720
1721         * gio.symbols:
1722         * gunixmounts.[ch]:
1723         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1724
1725 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1726
1727         * gunixmounts.c:
1728         (guess_mount_type):
1729         Avoid redudant tests (#521851)
1730         Patch from Josselin Mouette
1731
1732 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1733
1734         * gfilemonitor.c:
1735         (g_file_monitor_is_cancelled):
1736         Fix C89 issue (#521672)
1737         Patch from Jens Granseuer
1738
1739 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1740
1741         * fam/fam-helper.[ch]:
1742         * fam/fam-module.c:
1743         Shut down fam (including removing fam GSource) when
1744         module is unloaded (#521513)
1745         Patch from Joe Marcus Clarke   
1746
1747 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1748
1749         * giomodule.c:
1750         (_g_io_modules_ensure_loaded):
1751         Fix up FEN ifdefs
1752
1753 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1754
1755         * glocalfile.c:
1756         (g_local_file_query_filesystem_info):
1757         Use right define name for f_fstypename member check
1758
1759 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1760
1761         * Makefile.am:
1762         * fen/Makefile.am: Added.
1763         * fen/fen-data.[ch]: Added.
1764         * fen/fen-dump.[ch]: Added.
1765         * fen/fen-helper.[ch]: Added.
1766         * fen/fen-kernel.[ch]: Added.
1767         * fen/fen-missing.[ch]: Added.
1768         * fen/fen-node.[ch]: Added.
1769         * fen/fen-sub.[ch]: Added.
1770         * fen/gfendirectorymonitor.[ch]: Added.
1771         * fen/gfenfilemonitor.[ch]: Added.
1772         * giomodule.c:
1773         Added Solaris FEN file notification backend.
1774         Patch from Lin Ma <Lin.Ma@Sun.COM>
1775
1776 2008-03-13  Tor Lillqvist  <tml@novell.com>
1777
1778         * Makefile.am: Actually use the gio.def file when linking the
1779         library on Windows. Produce .lib library for Microsoft's toolchain
1780         when possible. Install the .lib and .def file like for the other
1781         libraries of GLib.
1782
1783 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
1784
1785         * tests/live-g-file.c:
1786         Include live-g-file in standard set of tests, making a temporary
1787         directory in source structure.
1788         
1789         Clean target directory before the tests (write mode only)
1790
1791 2008-03-12  Tor Lillqvist  <tml@novell.com>
1792
1793         Bug 517419 - gio win32 directory monitor
1794         Implementation by Vlad Grecescu.
1795         
1796         * win32/Makefile.am
1797         * win32/gwin32directorymonitor.h
1798         * win32/gwin32directorymonitor.c: New files.
1799
1800         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1801
1802         * Makefile.am: Add the win32 subdirectory.
1803
1804 2008-03-12  Tor Lillqvist  <tml@novell.com>
1805
1806         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1807         normal struct stat on Unix but struct _stati64 on Windows to have
1808         access to 64-bit file size information. Use that instead of struct
1809         stat in the functions declared here in this private header.
1810
1811         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1812         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1813         warnings about unused functions and variables. Don't set
1814         meaningless attributes like inode numbers on Windows.
1815
1816 2008-03-12  Benjamin Otte  <otte@gnome.org>
1817
1818         * gvfs.h:
1819         trim whitespace so gtk-doc groks the function name
1820
1821 2008-03-12  Tor Lillqvist  <tml@novell.com>
1822
1823         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1824         returning FALSE, on Win32.
1825
1826 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1827
1828         * glocalfile.c:
1829         * glocalfileinfo.[ch]:
1830         Correctly implement can_trash by actually
1831         looking for a trash dir, not just assuming
1832         one exists.
1833
1834 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1835         
1836         * === Released 2.16.1 ===
1837
1838 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1839
1840         * gthemedicon.c:
1841         Fix crashes in new constructor and properties code
1842
1843 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
1844
1845         * gfile.c: Minor spelling correction in documentation:
1846         existance -> existence.
1847
1848 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1849
1850         * === Released 2.16.0 ===
1851
1852 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1853
1854         * gio.symbols: Remove g_file_contains_file here, too.
1855
1856 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1857
1858         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
1859         Samuel Cormier-Iijima)
1860
1861 2008-03-08  Tor Lillqvist  <tml@novell.com>
1862
1863         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1864         winnt.h. (#521145)
1865
1866 2008-03-07  Alexander Larsson  <alexl@redhat.com>
1867
1868         * glocalfile.c:
1869         (g_local_file_query_filesystem_info):
1870         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1871         Patch from Jasper Lievisse Adriaanse
1872
1873 2008-03-06  Tor Lillqvist  <tml@novell.com>
1874
1875         * gfileinfo.h: Correct milliseconds to microseconds in the doc
1876         comments for the *_USEC attributes.
1877
1878 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1879
1880         * gfile.c (g_file_query_exists):
1881         Add g_return_val_if_fail check (#520700)
1882
1883 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1884
1885         * gdesktopappinfo.c:
1886         * gfilemonitor.c:
1887         * gthemedicon.c:
1888         * gunionvolumemonitor.c:
1889         * gunixmounts.c:
1890         * tests/g-file.c:
1891         * tests/live-g-file.c:
1892         * xdgmime/xdgmimecache.c:
1893         Fix sparse warnings (#519489)
1894
1895 2008-03-05  Alexander Larsson  <alexl@redhat.com>
1896
1897         * gfilemonitor.c:
1898         Make cancellation threadsafe (i.e.
1899         guarantee its only done once, and always
1900         done)
1901         
1902         * glocaldirectorymonitor.c:
1903         Make sure we the monitor lives while the
1904         mounts_changed callback is being called (#520484)
1905
1906 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1907
1908         * gbufferedinputstream.c: Fix typo in parameter
1909         documentation.
1910
1911 2008-03-04  Alexander Larsson  <alexl@redhat.com>
1912
1913         * gfile.c:
1914         Remove deprecated symbols we kept for one release.
1915
1916 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
1917
1918         * ginputstream.c:
1919         * goutputstream.c: Tiny documentation corrections.
1920
1921 2008-03-03  Alexander Larsson  <alexl@redhat.com>
1922
1923         * gunionvolumemonitor.c:
1924         * gvolumemonitor.h:
1925         Fix the adopt_orphan_mount vfunc to take a
1926         volume_monitor reference in an ABI compat way.
1927         This change is not API compat, but the added
1928         arg is not used in the only user of this vfunc, so
1929         all we get is a harmless warning in gvfs (#520169)
1930         
1931 2008-03-01  Benjamin Otte  <otte@gnome.org>
1932
1933         * gfile.c:
1934         clarify docs for g_file_delete().
1935
1936 2008-02-29  Alexander Larsson  <alexl@redhat.com>
1937
1938         * glocalfileinfo.c:
1939         (get_content_type):
1940         Make sure empty files get text/plain type (#518720)
1941
1942 2008-02-27  Alexander Larsson  <alexl@redhat.com>
1943
1944         * gcontenttype.c:
1945         Fix type warnings
1946         
1947         * gunixvolume.c:
1948         (g_unix_volume_mount):
1949         Add missing GMountMountFlags argument
1950
1951 2008-02-26  Alexander Larsson  <alexl@redhat.com>
1952
1953         * glocalfile.c:
1954         (g_local_file_delete):
1955         Handle filesystems (like ntfs-3g) that return EEXIST instead
1956         of ENOTEMPTY (#518816)
1957
1958 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1959
1960         * === Released 2.15.6 ===
1961
1962 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1963
1964         * gfile.c (g_file_find_enclosing_mount):
1965         * ginputstream.c (g_input_stream_set_pending):
1966         * glocalfile.c (g_local_file_find_enclosing_mount):
1967         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1968         * goutputstream.c (g_output_stream_set_pending):
1969
1970         Fixup translator comments (#518578).
1971
1972 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1973
1974         * gfile.c (g_file_find_enclosing_mount):
1975         * giomodule.c:
1976         * glocalfile.c (g_local_file_find_enclosing_mount):
1977         * goutputstream.c:
1978
1979         Fix a few typos in translator comments and documentation.
1980
1981 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1982
1983         * gfile.c:
1984         * ginputstream.c:
1985         * glocalfile.c:
1986         * gmount.c:
1987         * goutputstream.c:
1988         Add translator comments (#518578)
1989
1990 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1991
1992         * gfile.c:      
1993         Reintroduce g_file_contains_file, keep around for one
1994         unstable release cycle to avoid crashing to many apps.
1995         Make sure to delete after release.
1996
1997 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1998
1999         * gfile.[ch]:
2000         Remove deprecated g_file_contains_file.
2001
2002 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2003
2004         * gfilemonitor.c:
2005         Emit actual change signals in an idle handler.
2006         This avoids reentrance and locking problems in
2007         the file notification backends.
2008         
2009 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2010
2011         * gunixmounts.c:
2012         (g_unix_mount_guess_should_display):
2013         Remove type guessing, instead just display
2014         mounts in /media and in ~/.
2015
2016 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2017
2018         * glocalfile.c:
2019         Make new strings reuse old ones.
2020         
2021 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2022
2023         * glocalfile.c:
2024         Implement trashing and filesystem::readonly for win32 (#517235)
2025         Patch from Yevgen Muntyan
2026
2027 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
2028
2029         * gfileinfo.h: Documentation fixes.
2030
2031 2008-02-22  Alexander Larsson  <alexl@redhat.com>
2032
2033         * gcontenttype.c (g_content_type_get_icon):
2034         Look at old-style gnome mime icon names too, as many
2035         have not moved to the new style.
2036
2037 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
2038
2039         * *.c: Correct the @include in for section docs.
2040
2041 2008-02-21  David Zeuthen  <davidz@redhat.com>
2042
2043         * glocalfileinfo.c: (_g_local_file_info_get):
2044         * gcontenttype.c:
2045         (g_content_type_get_icon): Implement this function by
2046         moving bits from glocalfileinfo.c
2047         (g_content_type_get_description): Unalias before getting
2048         description (#517687)
2049
2050         * gfile.c: (g_file_class_init),
2051         (g_file_query_filesystem_info_async),
2052         (g_file_query_filesystem_info_finish),
2053         (query_filesystem_info_data_free),
2054         (query_filesystem_info_async_thread),
2055         (g_file_real_query_filesystem_info_async),
2056         (g_file_real_query_filesystem_info_finish):
2057         * gfile.h: Implement async version of
2058         g_file_query_filesystem_info()
2059
2060         * gfileinfo.h: Add new attributes for filesystem::use-preview
2061
2062         * gio.symbols: Update
2063
2064         * gthemedicon.c: (g_themed_icon_append_name):
2065         * gthemedicon.h: Add new new convenience function.
2066
2067         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2068         (get_mounts), (get_volumes), (get_connected_drives),
2069         (get_volume_for_uuid), (get_mount_for_uuid),
2070         (g_union_volume_monitor_init), (populate_union_monitor),
2071         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2072         (g_volume_monitor_adopt_orphan_mount):
2073         * gvolumemonitor.c:
2074         * gvolumemonitor.h: Use recursive locks so it's safe for volume
2075         monitor implementations to call into the main volume monitor. Also
2076         separate object initialization and volume monitor initialization
2077         such that non-native volume monitors can properly adopt their
2078         mounts away.
2079
2080 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2081
2082         * gfile.c:
2083         Fix doc typo
2084         
2085 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2086
2087         * gfile.c:
2088         Add more documentation about how GFiles work (from #517086)
2089
2090 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2091
2092         * gfile.[ch]:
2093         * gio.symbols:
2094         Add new g_file_has_prefix that does the same as g_file_contains_file.
2095         Deprecate g_file_contains_file and add a macro that converts
2096         it to g_file_has_prefix.
2097         The reason for this change is that the contains_file() name seems to
2098         imply that this does more work than what it does, but its really only
2099         a name match (from #517086)
2100         
2101         * gdummyfile.c:
2102         * glocalfile.c:
2103         * tests/g-file.c:
2104         Update to match the above change.
2105
2106 2008-02-20  Benjamin Otte  <otte@gnome.org>
2107
2108         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2109         (g_file_eject_mountable):
2110         even more cases of not returning in error path
2111
2112 2008-02-20  Benjamin Otte  <otte@gnome.org>
2113
2114         * gfile.c: (g_file_mount_mountable): 
2115         return from function in error path.
2116
2117 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
2118
2119         * gfile.h:
2120          Remove trailing coma in GMountMountFlags struct
2121
2122 2008-02-18  Alexander Larsson  <alexl@redhat.com>
2123
2124         * glocalfile.c:
2125         * glocalfileinfo.c:
2126         * glocalfileoutputstream.c:
2127         Use g_unlink/g_rename instead of unlink/rename;
2128         do not pass raw filenames to g_set_error. (#517239)
2129         Patch from Yevgen Muntyan.
2130
2131 2008-02-18  Alexander Larsson  <alexl@redhat.com>
2132
2133         * glocalfile.c:
2134         * glocalfileoutputstream.c:
2135         Open files with O_BINARY on windows. (#517140)
2136
2137 2008-02-14  Alexander Larsson  <alexl@redhat.com>
2138
2139         * glocalfileoutputstream.c:
2140         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2141
2142 2008-02-14  Alexander Larsson  <alexl@redhat.com>
2143
2144         * glocalfile.c:
2145         Copy permissions with file on copy (#514084)
2146         This is what cp does and makes sure e.g. the
2147         exec permissions are kept.
2148         Its kinda weird in that it keeps the permission bits
2149         the same while the uid and gid are different. However
2150         the new uid is the user so its not a security issue,
2151         and I've heard no complaints about cp on this issue.
2152
2153 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
2154
2155         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2156
2157 2008-02-13  Alexander Larsson  <alexl@redhat.com>
2158
2159         * inotify/inotify-path.c:
2160         Define IN_ONLYDIR if not in header (#515346)
2161
2162 2008-02-12  Alexander Larsson  <alexl@redhat.com>
2163
2164         * tests/live-g-file.c:
2165         C89 fixes (#515892)
2166
2167 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2168
2169         * === Released 2.15.5 ===
2170
2171 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2172
2173         * gio.symbols: Add g_mount_mount_flags_get_type.
2174
2175 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2176
2177         * gfileinfo.c:
2178         (g_file_info_set_attribute_mask):
2179         (g_file_attribute_matcher_matches_id):
2180         Correctly handle NULL GAttributeMatcher meaning
2181         matches nothing. (Fixes #513492)
2182
2183 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2184
2185         * gfile.[ch]:
2186         * gmount.[ch]:
2187         * gvolume.[ch]:
2188         Added GMountMountFlags enum and added a flags
2189         argument to all mount calls.
2190         
2191         This is an API/ABI change for future extensibility,
2192         as I think we will need at least an
2193         inhibit-autorun flag (the panel needs this).
2194         There are no flags defined yet though.
2195
2196 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2197
2198         * gfileinfo.h:
2199         Added new standard::description attribute.
2200         Requested by Vincent, and useful for both
2201         panel and nautilus
2202
2203 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2204
2205         * gdesktopappinfo.c:
2206         Minor docs cleanup
2207
2208 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2209
2210         * *.c: Documentation additions
2211
2212 2008-02-10  Matthias Clasen <mclasen@redhat.com>
2213
2214         * gappinfo.h: Formatting cleanup
2215         * gappinfo.c: Fix up docs.
2216
2217 2008-02-09  Matthias Clasen <mclasen@redhat.com>
2218
2219         * gunixmounts.c: Consistently use getmntent_r() and fall
2220         back to getmntent().  (#515492)
2221
2222 2008-02-09  Matthias Clasen <mclasen@redhat.com>
2223
2224         * gbufferedinputstream.c:
2225         * ginputstream.c:
2226         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2227
2228         * tests/data-input-stream.c:
2229         * tests/data-output-stream.c: Portability fixes.
2230
2231 2008-02-08  Alexander Larsson  <alexl@redhat.com>
2232
2233         * gio.symbols: 
2234         * gunixvolume.c:
2235         * gvolume.[ch]:
2236         Add g_volume_should_automount.
2237         Docs needed.
2238
2239 2008-02-07  Tor Lillqvist  <tml@novell.com>
2240
2241         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2242         Win32, too Unix-specific.
2243
2244 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
2245
2246         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
2247         a local plt if the compiler doesn't support what we want.  Bug #514702
2248
2249 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
2250
2251         reviewed by: <delete if not using a buddy>
2252
2253         * gfile.c:
2254         * gunixinputstream.c:
2255         * gunixoutputstream.c:
2256
2257 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2258
2259         * tests/Makefile.am:
2260         * tests/live-g-file.c:
2261         * tests/live-g-file.txt:
2262         New GIO testing module working over real data
2263
2264 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2265
2266         * glocalfileoutputstream.c (g_local_file_output_stream_close):
2267         Fallback to rename() if link() is not available
2268         (when no support on target filesystem)
2269
2270 2008-02-06  Michael Natterer  <mitch@imendio.com>
2271
2272         * gfileinfo.c (g_file_info_get_icon): replace
2273         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2274
2275 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2276
2277         * gfile.c (g_file_create):
2278         Documentation update of error codes
2279
2280 2008-02-06  Alexander Larsson  <alexl@redhat.com>
2281
2282         * gdesktopappinfo.c:
2283         Update to use both mimeapps.list and
2284         defaults.list as discussed on xdg list.
2285
2286 2008-02-06  Benjamin Otte  <otte@gnome.org>
2287
2288         * gasyncresult.c:
2289         * gfilenamecompleter.c:
2290         Fix some typos in the documentation.
2291
2292 2008-02-06  Alexander Larsson  <alexl@redhat.com>
2293
2294         * glocalfile.c (g_local_file_trash):
2295         Don't succeed with trash if newly created
2296         trash dir has the wrong owner. (#514696)
2297
2298 2008-02-05  Alexander Larsson  <alexl@redhat.com>
2299
2300         * glocalfile.c (g_local_file_move):
2301         Don't spew warnings when destination is not
2302         a GLocalFile.
2303
2304 2008-02-03  Hans Breuer  <hans@breuer.org>
2305
2306         * makefile.msc : update
2307
2308 2008-02-01  Michael Natterer  <mitch@imendio.com>
2309
2310         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2311         return value of xdg_mime_list_mime_parents() to a variable of the
2312         correct type.
2313
2314 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2315
2316         * gappinfo.c (g_app_info_launch_uris):
2317         Actually call the launch_uris method, not
2318         launch.
2319
2320 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2321
2322         * gdesktopappinfo.c (g_desktop_app_info_equal):
2323         Ensure appinfos with no id but same pointer value
2324         compare equal
2325
2326 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2327
2328         * gappinfo.c (g_app_info_launch_default_for_uri): 
2329         Don't leak appinfo.
2330         
2331 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2332
2333         * gappinfo.[ch]:
2334         * gio.symbols:
2335         Add g_app_info_launch_default_for_uri utility
2336         function. (#513256)
2337
2338 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
2339
2340         * gdesktopappinfo.c:
2341         Doc fix for g_app_info_get_default_for_uri_scheme ()
2342         Bug #513483.
2343
2344 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2345
2346         * gappinfo.c:
2347         Add doc comment about uris vs GFiles to
2348         g_app_info_launch()
2349         
2350         * gdesktopappinfo.c:
2351         Ensure uris passed to g_app_info_launch_uris()
2352         are not roundtriped through GFile (as that
2353         may be slightly destructive for e.g. mailto: links)
2354
2355 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2356
2357         * tests/data-input-stream.c:
2358         * tests/data-output-stream.c:
2359         C89 fixes from Jens Granseuer (#512849)
2360
2361 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2362
2363         * fam/fam-helper.c:
2364         Fix gamin/fam difference build issue. (#509419)
2365
2366 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2367
2368         * gappinfo.h:
2369         * gdesktopappinfo.c:
2370         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2371
2372 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2373
2374         * gdesktopappinfo.c:
2375         * gdesktopappinfo.h:
2376         giomodule-priv.h include moved to .c file.
2377
2378 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2379
2380         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2381         Remove unused prio/name fields.
2382
2383 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2384
2385         * gcontenttype.c (looks_like_text):
2386         Don't treat whitespace as control chars.
2387
2388 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2389
2390         * gdesktopappinfo.c:
2391         Lazily create the desktop files for appinfos created
2392         by g_app_info_create_from_commandline() when needed
2393         for mime associations. This allows run-time use
2394         of GAppInfo object without creating unnecessary
2395         files on disk.
2396
2397 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2398
2399         * gio.symbols:
2400         Added new symbols to gio.symbols
2401
2402 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2403
2404         * gfile.[ch]:
2405         Add g_file_query_default_handler utility to easily look up
2406         the GAppInfo that handles a file.
2407         
2408         * gdesktopappinfo.[ch]:
2409         * giomodule.c:
2410         Set up an extension point for g_app_info_get_default_for_uri_scheme()
2411         
2412         * gvfs.c:
2413         Remove unused function
2414
2415 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2416
2417         * gfileenumerator.c:
2418         Mention need to free returned value in
2419         g_file_enumerator_next_files_finish docs.
2420         Fix leak if g_file_enumerator_next_files_finish()
2421         not called.
2422
2423 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2424
2425         * gcontenttype.c:
2426         (_g_unix_content_type_get_parents):
2427         Use list_parents, not get_parents from xdgmime, because
2428         the later doesn't use the cache.
2429         
2430         * xdgmime/xdgmimecache.c:
2431         (_xdg_mime_cache_list_mime_parents):
2432         Don't list the same type as parent multiple times.
2433
2434 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2435
2436         * === Released 2.15.4 ===
2437
2438 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2439
2440         * glocalvfs.c:
2441         Register local vfs with prio 0.
2442         
2443         * gvfs.h:
2444         Remove old name and prio class members
2445
2446 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2447
2448         * tests/g-file.c: Disable some tests that are failing in
2449         the absence of a http backend.
2450
2451 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2452
2453         * giomodule.[ch]:
2454         * gio.symbols:
2455         Add registration hooks for extension points.
2456         Register the gio extension points.
2457         
2458         * fam/gfamdirectorymonitor.c:
2459         * fam/gfamfilemonitor.c:
2460         * glocaldirectorymonitor.[ch]:
2461         * glocalfilemonitor.[ch]:
2462         * gnativevolumemonitor.h:
2463         * gunionvolumemonitor.c:
2464         * gunixvolumemonitor.c:
2465         * gvfs.[ch]:
2466         * gvolumemonitor.h:
2467         * inotify/ginotifydirectorymonitor.c:
2468         * inotify/ginotifyfilemonitor.c:
2469         Use the extension points registration instead
2470         of g_type_children().
2471
2472 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2473         
2474         * gdrive.[hc]: 
2475         * gvolume.[hc]: Document new API. 
2476
2477         * gfile.c (g_file_copy_async): Fix docs
2478
2479 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2480
2481         * gbufferedinputstream.c:
2482         * ginputstream.c:
2483         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2484         __FUNCTION__.
2485         
2486 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2487
2488         * glocalfile.c: Avoid trivial differences in translatable strings.
2489
2490 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2491
2492         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2493         build with gcc 3.4  (#509419)
2494
2495 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2496
2497         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2498         (#509994, Murray Cumming)
2499
2500 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2501
2502         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2503         * gioscheduler.c: Keep calling io jobs until they return FALSE;
2504         this allows big jobs to be executed in chunks, instead of blocking
2505         the main loop for a long time.
2506
2507         * gsimpleasyncresult.c:
2508         * giofile.c: Adapt callers.
2509
2510 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2511
2512         * gdesktopappinfo.c:
2513         Implement changes discussed on xdg list.
2514         Now we can add supported mimetypes by just using defaults.list
2515         We can also remove associations in defaults.list.
2516
2517 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2518
2519         * gdesktopappinfo.c:
2520         Don't make local copy of desktop file
2521         for mimetype changes if the file already
2522         supports the new mimetype.
2523
2524 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2525
2526         * ginputstream.c:
2527         * goutputstream.c:
2528         * gbufferedinputstream.c:
2529         * glocalfile.c: String improvements.  (#511966, 
2530          Theppitak Karoonboonyanan)
2531
2532 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2533
2534         * gioscheduler.h: Expand docs a bit.
2535
2536 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2537
2538         * gdrive.[ch]:
2539         Add g_drive_get_identifier and
2540         g_drive_enumerate_identifiers
2541
2542         * gvolume.[ch]:
2543         Add g_volume_get_identifier and
2544         g_volume_enumerate_identifiers
2545         
2546         * gio.symbols:
2547         Add symbols
2548         
2549         * gunixvolume.c:
2550         Implement identifiers for unix backend
2551
2552 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2553
2554         * gfile.[ch]:
2555         * gfile.h:
2556         * gio.symbols:
2557         Add g_file_copy_async() (#511580)
2558         Based on patch from Carlos Garcia Campos
2559
2560 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
2561
2562         * gioscheduler.c: Some documentation additions.
2563
2564 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2565
2566         * gdesktopappinfo.c:
2567         (g_desktop_app_info_new):
2568         Don't leak basename.
2569         
2570 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2571
2572         * gdesktopappinfo.c:
2573         (g_desktop_app_info_new_from_filename):
2574         Don't leak GKeyFile
2575
2576 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2577
2578         * glocalfileinfo.c (get_thumbnail_attributes):
2579         Fix leak of uri
2580
2581 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2582
2583         * glocalfile.c:
2584         (canonicalize_filename):
2585         Canonicalize paths that start with more than
2586         two slashes.
2587         
2588         * tests/g-file.c:
2589         (compare_two_files):
2590         (test_g_file_new_for_path):
2591         Test the above
2592
2593 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2594
2595         * glocalfile.c:
2596         Allow UTF-8 in file:// parse names.
2597         
2598         * tests/Makefile.am:
2599         * tests/data-input-stream.c:
2600         * tests/data-output-stream.c:
2601         * tests/g-file-info.c:
2602         * tests/g-file.c:
2603         Added a bunch of tests from Tomas Bzatek
2604
2605 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2606
2607         * === Released 2.15.3 ===
2608
2609 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2610
2611         * gfileinputstream.[ch]:
2612         * gfileoutputstream.[ch]:
2613         * gio.symbols:
2614         Remove duplicated GSeekable functions. (#509990)
2615         Just use the g_seekable_xxx() calls instead.
2616
2617 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2618
2619         * glocal*.c:
2620         * gvolumemanager.c: Whitespace cleanups.
2621
2622         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2623         Use the right mode when creating the file.
2624
2625 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
2626
2627         * gfileenumerator.c:
2628         * gfileinputstream.c:
2629         * ginputstream.c:
2630         * goutputstream.c: Documentation: Fixed minor typos 
2631         and added more mentions of specific _finish() functions.
2632
2633 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2634
2635         * inotify/Makefile.am:
2636         * inotify/inotify-helper.c:
2637         * inotify/inotify-kernel.c:
2638         * inotify/inotify-path.c:
2639         * inotify/local_inotify.h: Removed.
2640         * inotify/local_inotify_syscalls.h: Removed.
2641         Removed the included copies of the inotify
2642         headers. We now only use the <sys/inotify.h>
2643         header which exists on modern systems.
2644         This fixes problems on ARM and SH5 (#510448)
2645         but is also generally much cleaner and future
2646         safe. For instance, if other OSes add support
2647         for inotify it should "just work".
2648
2649 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2650
2651         * inotify/*.c: Coding style fixes.
2652         * inotify/inotify-missing.c: Use g_timeout_add_seconds
2653         for the 1/4 Hz timer.
2654
2655 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2656
2657         * gfile.c:
2658         * gfilemonitor.[hc]:
2659         * gmemoryinputstream.c:
2660         * gmemoryoutputstream.c:
2661         * gmountoperation.c:
2662         * gthemedicon.c: Documentation updates
2663
2664 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
2665
2666         * gfile.c: documentation: Fixed more minor 
2667         typos.
2668
2669 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2670
2671         * gmount.c: (g_mount_remount): documentation: 
2672         Mention g_mount_remount_finish() instead of 
2673         g_mount_unmount_finish().
2674
2675 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2676
2677         * gappinfo.c:
2678         * gcancellable.c:
2679         * gfile.c: Fixed some minor typos in the 
2680         documentation. 
2681
2682 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2683
2684         * gio/gvolumemonitor.c: 
2685         (g_volume_monitor_get_connected_drives): 
2686         (g_volume_monitor_get_volumes): 
2687         (g_volume_monitor_get_mounts): Documentation: 
2688         Clarify the ownership of the regurn GLists.
2689
2690 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2691
2692         * gfile.h:
2693         Add the async find_enclosing_mount version
2694         to the header file too.
2695
2696 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2697
2698         * gfile.c:
2699         Add async version of find_enclosing_mount
2700         with default implementation.
2701
2702 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2703
2704         * gfile.c:
2705         (g_file_copy):
2706         (g_file_move):
2707         Allow calls to implementation of copy and write
2708         even if the type of the file implementations is
2709         different. This can be used to implement native
2710         upload and download calls in a vfs.
2711         
2712         * glocalfile.c:
2713         (g_local_file_move):
2714         Protect against the case where move is called
2715         with one file not being local.
2716         
2717         Make sure we call the progress callback once
2718         in the native move operation so that the caller
2719         knows how many bytes were copied.
2720
2721 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
2722
2723         * gappinfo.c:
2724         * gdatainputstream.c:
2725         * gfile.c:
2726         * gfileoutputstream.c:
2727         * ginputstream.c:
2728         * gmount.c:
2729         * goutputstream.c:
2730         * gseekable.c:
2731         * gunixmounts.c: Corrected some typos in the documentation:
2732         occured -> occurred.
2733         its -> it's (where appropriate).
2734
2735 2008-01-16  Alexander Larsson  <alexl@redhat.com>
2736
2737         * gfile.[ch]:
2738         * gio.symbols:
2739         Add g_file_query_exists (#508771)
2740
2741 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
2742
2743         * gdrive.c:
2744         * gfile.c:
2745         * gmount.c:
2746         * gvolume.c: For async functions that have no non-async 
2747         version, document that the GAsyncReadyCallback may be NULL.
2748         Bug #509626.
2749
2750 2008-01-15  Alexander Larsson  <alexl@redhat.com>
2751
2752         * gmemoryinputstream.c:
2753         * gmemoryoutputstream.c:
2754         Don't do pointer arithmetic on void * (#508602)
2755         Patch from Kazuki IWAMOTO
2756
2757 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
2758
2759         * === Released 2.15.2 ===
2760
2761 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2762
2763         * gfile.c (g_file_monitor_file):
2764         Don't set error here, since we fallback to polling monitor.
2765
2766 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2767
2768         * gfile.[ch]:
2769         (g_file_monitor_directory):
2770         (g_file_monitor_file):
2771         Add GError to file monitor calls
2772         
2773         * glocaldirectorymonitor.c:
2774         * glocaldirectorymonitor.h:
2775         * glocalfile.c:
2776         * glocalfilemonitor.c:
2777         * glocalfilemonitor.h:
2778         * gunixmounts.c:
2779         Update for above change
2780
2781 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2782
2783         * glocalfile.c:
2784         (match_prefix):
2785         Handle root correctly in g_file_get_relative_path (#508719)
2786
2787 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2788
2789         * gasyncresult.c:
2790         Clean up docs and example for GAsyncResult (#508074)
2791
2792 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
2793
2794         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
2795         and correct some spelling mistakes. Bug #508108.
2796
2797 2008-01-11  Matthias Clasen <mclasen@redhat.com>
2798
2799         * glocalfileinfo.c: Add a comment.
2800
2801 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
2802
2803         * gfileinfo.c: GFileInfo description: Mention 
2804         how to actually set attributes in a GFile and how to discover 
2805         which attributes are settable. Bug #508378.
2806
2807 2008-01-10  A. Walton  <awalton@svn.gnome.org>
2808
2809         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2810         (g_app_info_get_default_for_type):
2811         Check for NULL content types.
2812
2813 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
2814
2815         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2816
2817 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
2818
2819         * gfile.c: *_async() functions: Several small corrections 
2820         to the documentation, mostly correcting copy/paste errors 
2821         and improving some sentences.
2822
2823 2008-01-09  Dan Winship  <danw@gnome.org>
2824
2825         * glocalfile.c (get_unique_filename): x86_64 fix
2826
2827 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2828
2829         * gio.symbols:
2830         * gunixmount.c:
2831         * gunixmounts.[ch]:
2832         Add g_unix_mount_guess_should_display and use
2833         for unix volume monitor backend.
2834         This means we more or less show what the
2835         gnome-vfs backend did.
2836         Based on patch from Padraig O'Briain
2837
2838 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2839
2840         * gio.symbols:
2841         * gthemedicon.[ch]:
2842         Add g_themed_icon_new_with_default_fallbacks
2843         
2844         * gunixmounts.c:
2845         Use default fallbacks for icons
2846
2847 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2848
2849         * gio-marshal.list:
2850         * gmountoperation.[ch]:
2851         Change the API a bit so that unhandled methods
2852         get reported via the reply, rather than by
2853         the signal emission return value. This is because
2854         some handlers can't know this immediately without
2855         doing I/O, and this is an async operation that
2856         should not block.
2857
2858 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2859
2860         * fam/fam-helper.c:
2861         * fam/gfamdirectorymonitor.c:
2862         * fam/gfamfilemonitor.c:
2863         Fix double free crash (#508224)
2864         Patch from Joe Marcus Clarke
2865
2866 008-01-07  Matthias Clasen  <mclasen@redhat.com>
2867
2868         * === Released 2.15.1 ===
2869
2870 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2871
2872         * gunixinputstream.c (g_unix_input_stream_skip_finish):
2873         Fix warning (#507835)
2874
2875 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2876
2877         * Makefile.am:
2878         Pass --internal to glib-genmarshal
2879         
2880         * gfilemonitor.c:
2881         * gmountoperation.c:
2882         * gio-marshal.list:
2883         Use better types for signal arguments (#507822)
2884
2885 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2886
2887         * Makefile.am:
2888         Build test subdir after .
2889         Remove gdirectorymonitor.[ch]
2890         
2891         * gdirectorymonitor.[ch]:
2892         * gfilemonitor.c:
2893         * gfile.[ch]:
2894         * gio.h:
2895         Remove GDirectoryMonitor and make
2896         GFileMonitor the baseclass for both file and
2897         directory monitors. Lift the more generic
2898         rate limiting code from GDirectoryMonitor
2899         into GFileMonitor.
2900         
2901         * fam/fam-helper.c:
2902         * fam/gfamdirectorymonitor.[ch]:
2903         * inotify/ginotifydirectorymonitor.[ch]:
2904         * inotify/inotify-helper.c:
2905         * glocaldirectorymonitor.[ch]:
2906         * glocalfile.c:
2907         * gvolumemonitor.c:
2908         Update for the removed GDirectoryMonitor.
2909         
2910         * gmemoryoutputstream.c:
2911         Remove ununsed variable
2912
2913 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2914
2915         * gmemoryinputstream.c:
2916         Translate error strings
2917         
2918         * gio.symbols:
2919         * gmemoryoutputstream.[ch]:
2920         New implementation that avoids using GByteArray
2921         in implementation and API. (#506377)
2922
2923 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2924
2925         * tests/*: Add a test for memory input streams.
2926         
2927         * Makefile.am: Add tests to SUBDIRS.
2928
2929 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2930
2931         * glocalfilemonitor.c:
2932         * glocaldirectorymonitor.c: Mark property nicks and blurbs
2933         for translation.
2934
2935 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2936
2937         * gdesktopappinfo.c: Fix a docs typo.
2938
2939         * gfileattribute.c: Add information about extended attributes
2940         to the documentation.  (#505058)
2941
2942 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2943
2944         * gio-marshal.list:
2945         * gmountoperation.c:
2946         Use the right type (uint) for the ask_password signal.
2947
2948 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2949
2950         * gappinfo.[ch]:
2951         * gwin32appinfo.c:
2952         * gio.symbols:
2953         Add g_app_info_supports_files() 
2954         Remove desktop arg from g_app_info_should_show().
2955         
2956         * gdesktopappinfo.[ch]:
2957         Implement g_app_info_supports_files() and new should_show()
2958         Add g_desktop_app_info_set_desktop_env() to set the desktop
2959         for should_show(). (This will be set by gtk+ later)
2960
2961 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2962
2963         * gio.symbols:
2964         * gmemoryinputstream.[ch]:
2965         Improve API so that you can use multiple chunks
2966         of memory and custom destroy functions. (#506374)
2967
2968 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2969
2970         * gfileinfo.c:
2971         Handle NULL attribute matchers safely, as we return this
2972         for empty attribute matcher strings.
2973
2974 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2975
2976         * gunixmounts.c (g_unix_is_mount_path_system_internal):
2977         Add /usr/local to list of internal mountpoints
2978
2979 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2980
2981         * glocalfileinfo.c:
2982         Check for HAVE_LCHOWN (#505887)
2983         
2984 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2985
2986         * gfileinfo.h:
2987         * glocalfileinfo.c:
2988         Add define for selinux context attribute.
2989         Fix missing : -> :: namespace separator change
2990         Fix missing _ -> - name change for xattr-sys.
2991         (#505058)
2992
2993 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2994
2995         * fam/Makefile.am:
2996         Link to libglib and libgobject directly (#504879)
2997         Patch from Sebastien Bacher
2998
2999 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
3000
3001         * gfile.c: Expanded the g_file_new_for_commandline_arg
3002         description a bit, based on the code and the docs of the
3003         other g_file_new_for_* functions.
3004
3005 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
3006
3007         * gfilemonitor.h: Fixed typo in docs.
3008
3009 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
3010
3011         Updates to GIO documentation. (#506395, Mikael Hermansson)
3012
3013         * gcontenttype.c: Describe memory management for return value of
3014         g_content_types_get_registered(). Missing piece from #505815.
3015         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3016         GVolume, GDrive, GMounts, which hopefully gives the user less
3017         confusions when using this API. Following explainations from
3018         Alexander Larsson on gtk-devel-list.
3019
3020 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3021
3022         * gfileinfo.c: Expand the long description.
3023
3024 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3025
3026         * fam/Makefile.am:
3027         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3028         fix builds with --disable-visibility.  (#500273, Christian Persch)
3029
3030 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3031
3032         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3033         in the list of returned app infos.
3034
3035 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3036
3037         * gappinfo.c: Fix a cross-reference
3038
3039 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3040
3041         * gfileinputstream.c:
3042         * gfileoutputstream.c:
3043         * gloadableicon.h:
3044         * gunixmounts.c:
3045         * gmount.h:
3046         * gdesktopappinfo.c:
3047         * gvolumemonitor.c: 
3048         * gfileinfo.c: Documentation updates.
3049
3050 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
3051
3052         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
3053         Tommi Komulainen)
3054
3055 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
3056
3057         * gcontenttype.c (g_content_types_get_registered): Don't return
3058         freed memory (#505815, Mikael Hermansson)
3059
3060 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
3061
3062         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3063         used to detect statbuf->st_blocks. (#505042)
3064
3065 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
3066
3067         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3068         environment handling.  (#504829, Cosimo Cecchi)
3069
3070 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
3071
3072         * gappinfo.c: Doc improvements
3073         
3074         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3075         not ids.
3076
3077 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
3078
3079         * === Released 2.15.0 ===
3080
3081 2007-12-20  Hans Breuer  <hans@breuer.org>
3082
3083         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
3084         with symbols gwin32appinfo.obj, added gmount.obj
3085         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3086
3087 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3088
3089         * gfile.c:
3090         * gfileattribute.c:
3091         * gfileinfo.c:
3092         * gfileinfo.h:
3093         * gfilenamecompleter.c:
3094         * glocalfile.c:
3095         * glocalfileinfo.c:
3096         * gpollfilemonitor.c:
3097         File attribute renames:
3098         std:: -> standard::
3099         fs:: -> filesystem::
3100         id::fs -> id::filesystem
3101         
3102 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3103
3104         * gfile.[ch]:
3105         * gdrive.[ch]:
3106         * gmount.[ch]:
3107         * gvolume.[ch]:
3108         * gunixmount.c:
3109         * gunixvolume.c:
3110         * gio.symbols:
3111         Add GMountUnmountFlags to all unmount and
3112         eject calls.
3113         Add g_mount_remount() call.
3114
3115 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3116
3117         * gvfs.c (get_default_vfs):
3118         Fix unused variable warning
3119
3120 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3121
3122         * pltcheck.sh: Update
3123
3124 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3125
3126         * gunionvolumemonitor.c:
3127         * gunixmount.c: Remove C99 comments
3128
3129 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3130
3131         * gio.symbols: Add some missing symbols
3132
3133 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3134
3135         * giomodule.c:
3136         Make g_io_modules_load_all_in_directory not unuse
3137         loaded modules so that users of it can do stuff
3138         before unloading.
3139         Init internal "module" types.
3140         Initialize static prio and name for types so that
3141         we don't have to load modules to get it.
3142         
3143         * gnativevolumemonitor.h:
3144         * gvolumemonitor.h:
3145         Move is_supported to parent class so that
3146         non-native monitors can avoid being initialized
3147         too. (For instance GDaemonVolumeMonitor if we're
3148         not using GDaemonVfs.)
3149         
3150         * glocaldirectorymonitor.[ch]:
3151         * glocalfilemonitor.[ch]:
3152         * gunionvolumemonitor.c:
3153         * gunixvolumemonitor.c:
3154         * gvfs.c:
3155         Find plugins using the static prio+name to
3156         avoid unnecessarily loading the modules.
3157
3158 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3159
3160         * giomodule.c:
3161         Remove warnings
3162
3163 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3164
3165         * gunionvolumemonitor.c:
3166         Store the native type as GType, not class so that
3167         we can unload it. But still avoid unnecessarily
3168         unload modules.
3169
3170 2007-12-19  David Zeuthen  <davidz@redhat.com>
3171
3172         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3173         add signals 'disconnected' and 'eject-button' on GDrive. Add
3174         signal 'removed' on GVolume and 'unmounted' on GMount.
3175
3176         * gdrive.c: (g_drive_base_init):
3177         * gdrive.h:
3178         * gfile.c: (g_file_mount_mountable),
3179         (g_file_mount_enclosing_volume):
3180         * gio.symbols:
3181         * gioerror.h:
3182         * gmount.c: (g_mount_base_init):
3183         * gmount.h:
3184         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3185         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3186         * gvolume.c: (g_volume_base_init), (g_volume_mount):
3187         * gvolume.h:
3188         * gvolumemonitor.h:
3189
3190 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3191
3192         * *.c: Fix up includes in the section docs.
3193
3194 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3195
3196         * gnativevolumemonitor.h:
3197         * gunionvolumemonitor.c:
3198         * gunixvolumemonitor.c:
3199         Add is_supported() to GNativeVolumeMonitorClass so
3200         that we can avoid having to create an object to see
3201         if the backend is supported at runtime.
3202         Also add name member and an env var to pick a specific
3203         volume monitor backend.
3204         
3205         * gmountprivate.h:
3206         * glocalfile.c:
3207         Add cancellable to _g_mount_get_for_mount_path()
3208         
3209         * glocaldirectorymonitor.c:
3210         * glocalfilemonitor.c:
3211         Avoid loading and unloading modules while sorting.
3212
3213 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3214
3215         * gio.symbols:
3216         * gunixmounts.[hc]: Namespace waste reduction, move some
3217         g_get_unix_mount functions to the g_unix_mount namespace.
3218
3219         * gunixmounts.c:
3220         * gunixvolumemonitor.c:
3221         * glocalfile.c:
3222         * glocaldirectorymonitor.c: Update all callers.
3223
3224         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3225
3226 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3227
3228         * gfile.c:
3229         Add doc comments about what GFile operations are
3230         guaranteed to not block.
3231
3232 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3233
3234         * gunixmounts.c:
3235         Add missing #ifdef fixing OSX build.
3236         (#503334, patch from Richard Hult)
3237
3238 2007-12-14  David Zeuthen  <davidz@redhat.com>
3239
3240         * Makefile.am:
3241         * gio.symbols:
3242         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3243         (g_mount_eject), (g_mount_eject_finish):
3244         * gmount.h:
3245         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3246         (get_volume_for_uuid), (get_mount_for_uuid),
3247         (g_union_volume_monitor_class_init),
3248         (get_default_native_type_with_exclude), (get_default_native_type),
3249         (get_native_type), (update_native_type),
3250         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3251         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3252         (g_unix_mount_can_eject), (eject_unmount_cb),
3253         (eject_unmount_read_error), (eject_unmount_do),
3254         (g_unix_mount_unmount), (g_unix_mount_eject),
3255         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3256         * gunixmounts.c: (g_unix_mount_guess_can_eject),
3257         (g_unix_mount_point_guess_can_eject):
3258         * gunixmounts.h:
3259         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3260         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3261         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3262         (g_unix_volume_mount), (g_unix_volume_eject),
3263         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3264         * gunixvolumemonitor.c: (get_volume_for_uuid),
3265         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3266         (update_mounts):
3267         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3268         (g_volume_eject), (g_volume_eject_finish):
3269         * gvolume.h:
3270         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3271         (g_volume_monitor_get_mount_for_uuid):
3272         * gvolumemonitor.h:
3273
3274         Provide eject() on both GMount and GVolume and utility functions
3275         to guess whether a GUnixMountPoint or GUnixMountEntry should be
3276         ejected. Introduce the concept of UUID's and wire it into GVolume
3277         and GMount and provide API on GVolumeMonitor to find such
3278         instances. Also handle the case where an external
3279         GNativeVolumeMonitor fails to initialize. Lock around the
3280         _g_get_mount_for_mount_path() function such that volume monitor
3281         implementations won't have to do locking themselves.
3282
3283 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3284
3285         * gdesktopappinfo.c:
3286         * gunixmounts.c:
3287         * gfileinfo.c:
3288         * gvolumemonitor.c:
3289         * gfile.h:
3290         * gioscheduler.c:
3291         * gvolume.h: Documentation updates
3292
3293 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
3294
3295         * gunixmounts.c:
3296         * gfile.h: Doc updates
3297
3298 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
3299
3300         * gcontenttype.c:
3301         * gdesktopappinfo.c: Use hash table iterators.
3302
3303 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3304
3305         * Makefile.am:
3306         * gfileattribute.[ch]:
3307         * gfileattribute-priv.h:
3308         Move GFileAttributeValue to a private header, as
3309         its sort of ugly.
3310         
3311         * gfile.[ch]:
3312         Make set_attribute take a type + a pointer instead
3313         of a GFileAttributeValue.
3314         
3315         * gfileinfo.[ch]:
3316         Fix up for above changes.
3317         Add g_file_info_get_attribute_data to get
3318         all info in one call, g_file_info_get_attribute_status
3319         to get the status and g_file_info_get_attribute_as_string.
3320         
3321         * gio.symbols:
3322         * glocalfile.c:
3323         * glocalfileinfo.[ch]:
3324         Update for changes
3325         
3326         * gunixmounts.c:
3327         Make _guess_type static.
3328
3329 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
3330
3331         * Makefile.am:
3332         * inotify/Makefile.am: Fixed build when srcdir != builddir,
3333         made mkenums and friends use temporary files to avoid leaving
3334         empty generated files on failure (#503470).
3335
3336 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3337
3338         * gmountoperation.h:
3339         Fix AKS -> ASK typo
3340
3341 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3342
3343         * gappinfo.h:
3344         * gfile.[ch]:
3345         * gfileattribute.[ch]:
3346         * gio.symbols:
3347         * glocalfile.c:
3348         * glocalfileoutputstream.c:
3349         * gmountoperation.[ch]:
3350         * goutputstream.[ch]:
3351         Clean up all flags enums to not have _FLAGS in them
3352         Make the names of some of the enums better.
3353
3354         * glocalfileinfo.c:
3355         Fix warning
3356         
3357 2007-12-14  Michael Natterer  <mitch@imendio.com>
3358
3359         * gio.symbols: fix g_io_scheduler symbol names.
3360
3361 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3362
3363         * Makefile.am:
3364         * fam/Makefile.am:
3365         * gappinfo.h:
3366         * gasyncresult.h:
3367         * gbufferedinputstream.h:
3368         * gbufferedoutputstream.h:
3369         * gcancellable.h:
3370         * gcontenttype.h:
3371         * gdatainputstream.h:
3372         * gdataoutputstream.h:
3373         * gdesktopappinfo.h:
3374         * gdirectorymonitor.h:
3375         * gdrive.h:
3376         * gfile.h:
3377         * gfileattribute.h:
3378         * gfileenumerator.h:
3379         * gfileicon.h:
3380         * gfileinfo.h:
3381         * gfileinputstream.h:
3382         * gfilemonitor.h:
3383         * gfilenamecompleter.h:
3384         * gfileoutputstream.h:
3385         * gfilterinputstream.h:
3386         * gfilteroutputstream.h:
3387         * gicon.h:
3388         * ginputstream.h:
3389         * gio.h:
3390         * gioerror.h:
3391         * giomodule.h:
3392         * gioscheduler.h:
3393         * gloadableicon.h:
3394         * gmemoryinputstream.h:
3395         * gmemoryoutputstream.h:
3396         * gmount.h:
3397         * gmountoperation.h:
3398         * goutputstream.h:
3399         * gseekable.h:
3400         * gsimpleasyncresult.h:
3401         * gthemedicon.h:
3402         * gunixinputstream.h:
3403         * gunixmounts.h:
3404         * gunixoutputstream.h:
3405         * gvfs.h:
3406         * gvolume.h:
3407         * gvolumemonitor.h:
3408         * inotify/Makefile.am:
3409         Only allow including <gio/gio.h> from apps
3410
3411 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3412
3413         * gioscheduler.[ch]:
3414         * gsimpleasyncresult.c:
3415         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3416         Split out the send_to_mainloop call into two versions instead
3417         of having the block argument.
3418
3419 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3420
3421         * gcancellable.[ch]:
3422         * gio.symbols:
3423         * gbufferedinputstream.c:
3424         * gfileenumerator.c:
3425         * gfileinputstream.c:
3426         * gfileoutputstream.c:
3427         * ginputstream.c:
3428         * gioscheduler.c:
3429         * goutputstream.c:
3430         g_push/pop_current_cancellable ->
3431         g_cancellable_push/pop_current
3432
3433 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3434
3435         * gfile.[ch]:
3436         * gio.symbols:
3437         Rename g_mount_for_location to g_file_mount_enclosing_volume.
3438
3439 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3440
3441         * gmountoperation.h:
3442         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3443
3444 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3445
3446         * gioscheduler.c:
3447         Fix race condition when freeing proxy in
3448         g_io_job_send_to_mainloop().
3449
3450 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3451
3452         * gfileattribute.c:
3453         * gfileinfo.[ch]:
3454         * glocalfile.c:
3455         * glocalfileinfo.c:
3456         Make attribute namespace separator "::" instead of ":".
3457         Use - instead of _ as separator in attribute names.
3458
3459 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3460
3461         * gbufferedinputstream.h:
3462         * gbufferedoutputstream.h:
3463         * gdatainputstream.h:
3464         * gdataoutputstream.h:
3465         * gdirectorymonitor.h:
3466         * gfileenumerator.h:
3467         * gfileinputstream.h:
3468         * gfilemonitor.h:
3469         * gfileoutputstream.h:
3470         * gfilterinputstream.h:
3471         * gfilteroutputstream.h:
3472         * ginputstream.h:
3473         * glocalfileinputstream.h:
3474         * glocalfileoutputstream.h:
3475         * gmemoryinputstream.h:
3476         * gmemoryoutputstream.h:
3477         * gnativevolumemonitor.h:
3478         * goutputstream.h:
3479         * gunixinputstream.h:
3480         * gunixoutputstream.h:
3481         * gvfs.h:
3482         * gvolumemonitor.h:
3483         s/parent/parent_instance/ in GObjects
3484
3485 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3486
3487         * gdrive.h:
3488         * gmount.h:
3489         * gvolume.h:
3490         No need for padding for interfaces
3491         
3492 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3493
3494         * gappinfo.[ch]:
3495         * gasyncresult.c:
3496         * gbufferedinputstream.c:
3497         * gbufferedoutputstream.c:
3498         * gcancellable.c:
3499         * gcontenttype.c:
3500         * gdatainputstream.[ch]:
3501         * gdesktopappinfo.c:
3502         * gdirectorymonitor.c:
3503         * gfile.[ch]:
3504         * gfileattribute.[ch]:
3505         * gfileicon.[ch]:
3506         * gfileinfo.h:
3507         * gfileinputstream.h:
3508         * gfilemonitor.[ch]:
3509         * gfileoutputstream.[ch]:
3510         * gfilterinputstream.h:
3511         * gfilteroutputstream.h:
3512         * gicon.h:
3513         * gioscheduler.c:
3514         * gloadableicon.[ch]:
3515         * gmemoryinputstream.c:
3516         * gmountoperation.c:
3517         * gthemedicon.c:
3518         Fix up a bunch of details in the docs.
3519
3520         * glocalfileinfo.c:
3521         CR/LF -> LF fixups
3522         
3523 2007-12-11  David Zeuthen  <davidz@redhat.com>
3524
3525         Rework how volumes, drives and volume monitoring is
3526         done. Previosly the model was
3527
3528          GDrive <1-1> GVolume
3529
3530         where a GDrive instance represented a mount point and a GVolume
3531         instance represented a mounted file system. This patch changes it
3532         the model to
3533
3534                 GDrive <1-N> GVolume <1-1> GMount
3535
3536         where GMount now serves the purpose of the old GVolume and the new
3537         GVolume serves the purpose of the old GDrive. In addition the new
3538         GDrive interface is used to represent a collection of GVolume
3539         instances (typically partitions) and also contains utility to query
3540         the state of the physical drive the GDrive object represents (such
3541         as checking for media, polling the drive, ejecting the media etc.).
3542
3543         Also implement mounting and unmounting in the Unix volume monitor
3544         backend. A subquent patch will introduce GDrive support for ejection
3545         of media.
3546
3547         * Makefile.am:
3548         * gdrive.c: (g_drive_is_media_check_automatic),
3549         (g_drive_is_media_removable), (g_drive_has_media),
3550         (g_drive_can_poll_for_media), (g_drive_eject),
3551         (g_drive_eject_finish), (g_drive_poll_for_media),
3552         (g_drive_poll_for_media_finish):
3553         * gdrive.h:
3554         * gfile.c: (g_file_find_enclosing_mount):
3555         * gfile.h:
3556         * gio.symbols:
3557         * glocaldirectorymonitor.c:
3558         (g_local_directory_monitor_constructor), (mounts_changed):
3559         * glocalfile.c: (get_mount_info),
3560         (g_local_file_find_enclosing_mount),
3561         (g_local_file_file_iface_init):
3562         * gnativevolumemonitor.h:
3563         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3564         (get_connected_drives), (g_union_volume_monitor_class_init),
3565         (child_volume_added), (child_volume_removed),
3566         (child_volume_changed), (child_mount_added), (child_mount_removed),
3567         (child_mount_pre_unmount), (child_mount_changed),
3568         (child_drive_changed), (g_union_volume_monitor_add_monitor),
3569         (g_union_volume_monitor_remove_monitor),
3570         (_g_mount_get_for_mount_path):
3571         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3572         (guess_system_internal), (_g_get_unix_mounts),
3573         (_g_get_unix_mount_points), (g_get_unix_mount_at),
3574         (g_unix_mount_free), (g_unix_mount_compare),
3575         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3576         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3577         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3578         (type_to_icon), (g_unix_mount_guess_name),
3579         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3580         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3581         (_resolve_symlink), (_resolve_dev_root):
3582         * gunixmounts.h:
3583         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3584         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3585         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3586         (g_unix_volume_get_name), (g_unix_volume_can_mount),
3587         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3588         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3589         (g_unix_volume_mount), (g_unix_volume_mount_finish),
3590         (g_unix_volume_volume_iface_init):
3591         * gunixvolume.h:
3592         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3593         (get_mounts), (get_volumes), (get_connected_drives),
3594         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3595         (mountpoints_changed), (mounts_changed),
3596         (g_unix_volume_monitor_init),
3597         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3598         (find_mount_by_mountpath), (update_volumes), (update_mounts):
3599         * gunixvolumemonitor.h:
3600         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3601         (g_volume_mount), (g_volume_mount_finish):
3602         * gvolume.h:
3603         * gvolumemonitor.c: (g_volume_monitor_class_init),
3604         (g_volume_monitor_get_connected_drives),
3605         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3606         * gvolumemonitor.h:
3607
3608 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3609
3610         * gmountoperation.h (GPasswordFlags): Close the gap
3611
3612 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3613
3614         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3615         * gio.symbols:
3616         * gdesktopappinfo.[hc]: Remove _-prefixes
3617
3618 2007-12-10  Tor Lillqvist  <tml@novell.com>
3619
3620         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3621         gcc warnings.
3622
3623 2007-12-10  Alexander Larsson  <alexl@redhat.com>
3624
3625         * gfile.c (g_file_set_display_name):
3626         Don't hardcode '/' (#502727)
3627
3628 2007-12-09  Hans Breuer  <hans@breuer.org>
3629
3630         * makefile.msc : follow lib naming convention
3631         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3632         for user and group name, tested with ../tests/gio-ls
3633
3634 2007-12-09  A. Walton  <awalton@svn.gnome.org>
3635
3636         * gdesktopappinfo.c:
3637         * gdrive.c:
3638         * gdrive.h:
3639         * gfile.c:
3640         * gfile.h:
3641         * gfileattribute.c:
3642         * gfileenumerator.c:
3643         * gioerror.c:
3644         * gioscheduler.c:
3645         * gioscheduler.h:
3646         * gloadableicon.c:
3647         * gmemoryinputstream.c:
3648         * gmemoryoutputstream.c:
3649         * goutputstream.h:
3650         * gsimpleasyncresult.c:
3651         More documentation cleanup and filling in missing information, bringing
3652         GIO to 99% symbol coverage.
3653
3654 2007-12-08  Hans Breuer  <hans@breuer.org>
3655
3656         [gio compiles and links on win32, not sure how much already works]
3657         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3658         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
3659         base on win32 API; prefer g_lstat() over lstat(); instead of 
3660         localtime_r() use an all GLib implementation on win32;
3661         get_mount_info() still needs a win32 specifc implementation
3662         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
3663         win32_get_file_user_info to get owner/group info without uid/gid
3664         * glocalfileinputstream.c : include <io.h> on win32
3665         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3666         definition, use g_win32_ftruncate() for G_OS_WIN32
3667         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3668         it is available with mingw/w32api but a mess with the M$ Platform SDKs
3669         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3670         * makefile.msc : updated
3671
3672 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3673
3674         * glocalfileenumerator.c (_g_local_file_enumerator_new):
3675         Avoid warning spew if error == NULL
3676         
3677 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3678
3679         * gfile.c:
3680         Update docs wrt etags
3681
3682 2007-12-06  Alexander Larsson  <alexl@redhat.com>
3683
3684         * glocalfileinfo.h:
3685         Include sys/types.h for dev_t (#501919)
3686
3687 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
3688
3689         * gio.symbols:
3690         * pltcheck.sh:
3691         Make abicheck and pltcheck pass.
3692
3693 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3694
3695         * Makefile.am:
3696         * giomodule-priv.h: Added.
3697         * glocaldirectorymonitor.c:
3698         * glocalfilemonitor.c:
3699         * gunionvolumemonitor.c:
3700         * gvfs.c:
3701         Actually add the declaration of _g_io_modules_ensure_loaded
3702
3703 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3704
3705         * gdatainputstream.c:
3706         Fix warnings
3707         
3708         * gio.symbols:
3709         * giomodule.[ch]
3710         * glocaldirectorymonitor.c:
3711         * glocalfilemonitor.c:
3712         * gunionvolumemonitor.c:
3713         * gvfs.c:
3714         Make g_io_modules_ensure_loaded a private function and
3715         don't pass in the dirname. This means we can do magic
3716         directory finding in the win32 version.
3717         Export the actual load-modules-in-directory code so that
3718         gvfs can reuse that.
3719
3720 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3721
3722         * gbufferedinputstream.c:
3723         * gbufferedoutputstream.c:
3724         * gdrive.[ch]:
3725         * gfile.[ch]:
3726         * gfileenumerator.[ch]:
3727         * gfileinputstream.c:
3728         * gfileoutputstream.[ch]:
3729         * gfilterinputstream.c:
3730         * gfilteroutputstream.c:
3731         * ginputstream.[ch]:
3732         * glocalfile.c:
3733         * glocalfileenumerator.c:
3734         * glocalfileinputstream.c:
3735         * glocalfileoutputstream.c:
3736         * gmemoryinputstream.c:
3737         * gmemoryoutputstream.c:
3738         * goutputstream.[ch]:
3739         * gseekable.[ch]:
3740         * gunixdrive.c:
3741         * gunixinputstream.c:
3742         * gunixoutputstream.c:
3743         Rename all struct members named:
3744         read, write, close, truncate, or mount
3745         to foo_fn, as these are reserved names
3746         and could be defined as macros in libc.
3747         (#501645)
3748
3749 2007-12-04  Alexander Larsson  <alexl@redhat.com>
3750
3751         * goutputstream.c:
3752         (g_output_stream_close):
3753         Only call flush if non-null.
3754
3755 2007-11-30  Dan Winship  <danw@gnome.org>
3756
3757         * ginputstream.c (g_input_stream_set_pending): Make this take a
3758         GError and return a gboolean, and do the "outstanding operation"
3759         check (and the "stream is already closed" check) itself.
3760         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3761
3762         * goutputstream.c (g_output_stream_set_pending)
3763         (g_output_stream_clear_pending): Likewise
3764
3765         * gbufferedinputstream.c: 
3766         * gfileinputstream.c: 
3767         * gfileoutputstream.c: Update for that
3768
3769         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3770         Like g_simple_async_report_error_in_idle, but takes a GError
3771         rather than building one.
3772
3773 2007-11-30  Dan Winship  <danw@gnome.org>
3774
3775         * goutputstream.c: Don't cheat and unset the "pending" flag around
3776         inner calls. Instead, call the class method directly rather than
3777         the wrapper function that checks "pending"
3778
3779 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
3780
3781         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3782
3783 2007-12-03  Hans Breuer  <hans@breuer.org>
3784
3785         [start of port to win32/msvc]
3786         * gcancellable.c : HAVE_UNIST_H and _pipe()
3787         * gcontenttype.c : only include <dirent.h> in the UNIX branch
3788         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3789         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
3790         HAVE_UNIST_H
3791         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3792         * glocalvfs.c : use HAVE_PWD_H
3793         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3794         * makefile.msc : new file (maybe later converted to makefile.msc.in)
3795         * Makefile.am : added to EXTRA_DIST
3796
3797 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3798
3799         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3800         (#499783)
3801
3802 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3803
3804         * glocalfileinfo.c:
3805         Handle OSX style xattrs API (#500506)
3806
3807 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3808
3809         * gfile.[ch]:
3810         * glocalfile.c:
3811         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3812
3813 2007-12-02  A. Walton  <awalton@svn.gnome.org>
3814
3815         * gfile.c:
3816         * gfileattribute.c:
3817         Documentation accuracy fixes.
3818
3819 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
3820
3821         * gioenumtypes.c.template: Fix typo.
3822
3823 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3824
3825         * gioenumtypes.c.template: Make threadsafe get_type() functions.
3826
3827 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3828
3829         * gdirectorymonitor.c:
3830         * gfilemonitor.c: Add properties
3831
3832         * gbufferedoutputstream.c: Don't mark buffer-size property 
3833         as construct-only.
3834
3835 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3836
3837         * gbufferedoutputstream.c: Add auto-grow property.
3838
3839 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3840
3841         * *.c: Unify the capitalization of section headings.
3842
3843 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3844
3845         * gmountoperation.c: Add properties
3846         
3847         * gdatainputstream.c: Turn byte-order and newline-type into
3848         properties.
3849
3850 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3851
3852         * gioenumtypes.[hc].template: Templates for enum registration
3853
3854         * Makefile.am: Generate gioenumtypes.[hc]
3855
3856         * gio.h: Include gioenumtypes.h
3857         * gappinfo.h:
3858         * gfile.h: Add some explicit nicks.
3859
3860         * gio.symbols: Add new symbols
3861
3862         * pltcheck.sh: Adjust
3863
3864 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3865
3866         * *.c: Explain etags and link to the explanation
3867
3868 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3869
3870         * *.c: Explain I/O priority.
3871
3872         * *.c: More coding style fixes.
3873
3874 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3875
3876         * gasyncresult.c: Add another paragraph to the intro,
3877         adjust coding style of example.
3878
3879 2007-11-29  A. Walton <awalton@svn.gnome.org>
3880
3881         * gappinfo.c:
3882           Fixes unknown meaning in GAppLaunchContext docs.
3883         * gfile.c:
3884           Clarify asynchronous ops.
3885         * gfileattribute.c:
3886           Fix entity tag docs.
3887         * gicon.c:
3888         * gthemedicon.c:
3889           Provides missing gtk-doc section, fixes API docs slighly.
3890         * gsimpleasyncresult.c:
3891           Fill in missing info in docs.
3892         * gunixinputstream.c:
3893         * gunixoutputstream.c:
3894           Be more expressive in short description.
3895         * gunixvolume.c:
3896           Remove gtk-doc stubs for non-public API.
3897
3898 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3899
3900         * *.c: Coding style fixups
3901
3902 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3903
3904         * inotify/inotify-helper.c: Don't export the lock from libgio.
3905
3906 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3907
3908         * Makefile.am:
3909         * abicheck.sh: Fix copy-and-paste leftovers 
3910
3911 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3912
3913         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3914
3915 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3916
3917         * Makefile.am:
3918         * gdriveprivate.h:
3919         Removed unnecessary file
3920         
3921         * gdesktopappinfo.[ch]:
3922         * gdummyfile.[ch]:
3923         * gfile.c:
3924         * glocaldirectorymonitor.[ch]:
3925         * glocalfile.[ch]:
3926         * glocalfileenumerator.[ch]:
3927         * glocalfileinputstream.[ch]:
3928         * glocalfilemonitor.[ch]:
3929         * glocalfileoutputstream.[ch]:
3930         * glocalvfs.[ch]:
3931         * gnativevolumemonitor.c:
3932         * gpollfilemonitor.[ch]:
3933         * gunionvolumemonitor.[ch]:
3934         * gunixdrive.[ch]:
3935         * gunixvolume.[ch]:
3936         * gunixvolumemonitor.[ch]:
3937         * gvfs.c:
3938         * gvolumeprivate.h:
3939         * inotify/ginotifydirectorymonitor.[ch]:
3940         * inotify/ginotifyfilemonitor.[ch]:
3941         * inotify/inotify-helper.c:
3942         Append _ to all internal functions
3943         
3944         * gio.symbols:
3945         Add missing symbols
3946         Export symbols needed for modules
3947
3948 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3949
3950         * Makefile.am:
3951         * abicheck.sh: Added.
3952         * makegioalias.pl: Added.
3953         * pltcheck.sh: Added.
3954         * gio.symbols: Added.
3955         * *.c:
3956         * inotify/*.c
3957         Initial work on adding symbol handling.
3958
3959         * gvfs.h:
3960         Correct ifdef guard name
3961
3962         * fam/Makefile.am:
3963         * inotify/Makefile.am:
3964         * xdgmime/Makefile.am:
3965         Include toplevel Makefile.decl
3966
3967 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3968
3969         * gcontenttype.c: Move doc comments to the unix section.
3970
3971         * *.[hc]: More trivial doc corrections.
3972
3973 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3974
3975         * gpollfilemonitor.c:
3976         * gunixmounts.c:
3977         * gvfs.c:
3978         * gfile.c:
3979         * gdesktopappinfo.c:
3980         * gwin32appinfo.c:
3981         * gvolume.c:
3982         * glocalvfs.c:
3983         * gvolumemonitor.c:
3984         * gdatainputstream.c:
3985         * gdatainputstream.h:
3986         * gdataoutputstream.c:
3987         * gdataoutputstream.h:
3988         * gfileinfo.h: Doc cleanups
3989
3990 2007-11-28  Andre Klapper  <a9016009@gmx.de>
3991
3992         * gdesktopappinfo.c: Fix a typo.
3993
3994 2007-11-27  Andre Klapper  <a9016009@gmx.de>
3995
3996         * glocalfileoutputstream.c: Fix a typo.
3997
3998 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3999
4000         * gio.h:
4001         Don't include removed headers
4002
4003 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4004
4005         * Makefile.am:
4006         * gsocketinputstream.[ch]: Removed.
4007         * gsocketoutputstream.[ch]: Removed.
4008         * gunixinputstream.[ch]: Added.
4009         * gunixoutputstream.[ch]: Added.
4010         Renamed GSocket*Stream to GUnix*Stream and made
4011         it unix-only, since its not really only for sockets
4012         and it only works on unix (but is highly useful there).
4013
4014 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
4015         * gappinfo.c:
4016         * gappinfo.h:
4017         * gasynchelper.c:
4018         * gasyncresult.c:
4019         * gasyncresult.h:
4020         * gbufferedinputstream.c:
4021         * gbufferedinputstream.h:
4022         * gbufferedoutputstream.c:
4023         * gbufferedoutputstream.h:
4024         * gcancellable.c: 
4025         * gcancellable.h:
4026         * gcontenttype.c:
4027         * gdatainputstream.c:
4028         * gdatainputstream.h:
4029         * gdataoutputstream.c:
4030         * gdataoutputstream.h:
4031         * gdirectorymonitor.c:
4032         * gdirectorymonitor.h:
4033         * gdrive.c: 
4034         * gdrive.h:
4035         * gfile.c:
4036         * gfile.h:
4037         * gfileattribute.c:
4038         * gfileattribute.h:
4039         * gfileenumerator.c:
4040         * gfileenumerator.h:
4041         * gfileicon.c:
4042         * gfileicon.h:
4043         * gfileinfo.c:
4044         * gfileinfo.h:
4045         * gfileinputstream.c:
4046         * gfileinputstream.h:
4047         * gfilemonitor.c:
4048         * gfilemonitor.h:
4049         * gfilenamecompleter.c:
4050         * gfilenamecompleter.h:
4051         * gfileoutputstream.c:
4052         * gfileoutputstream.h:
4053         * gfilterinputstream.c:
4054         * gfilterinputstream.h:
4055         * gfilteroutputstream.c:
4056         * gfilteroutputstream.h:
4057         * gicon.c:
4058         * gicon.h:
4059         * ginputstream.c:
4060         * ginputstream.h:
4061         * gioerror.c:
4062         * gioerror.h:
4063         * giomodule.c:
4064         * giomodule.h:
4065         * gioscheduler.c:
4066         * gioscheduler.h:
4067         * gloadableicon.c:
4068         * gloadableicon.h:
4069         * glocalfileoutputstream.c:
4070         * gmemoryinputstream.c:
4071         * gmemoryinputstream.h:
4072         * gmemoryoutputstream.c:
4073         * gmemoryoutputstream.h:
4074         * gmountoperation.c: 
4075         * gmountoperation.h:
4076         * goutputstream.c:
4077         * goutputstream.h:
4078         * gpollfilemonitor.c:
4079         * gseekable.c:
4080         * gseekable.h:
4081         * gsimpleasyncresult.c:
4082         * gsimpleasyncresult.h:
4083         * gsocketinputstream.c:
4084         * gsocketinputstream.h:
4085         * gsocketoutputstream.c:
4086         * gsocketoutputstream.h:
4087         * gthemedicon.c:
4088         * gthemedicon.h:
4089         * gunixdrive.c:
4090         * gunixmounts.c: 
4091         * gunixmounts.h:
4092         * gunixvolume.c:
4093         * gunixvolumemonitor.c:
4094         * gurifuncs.c:
4095         * gurifuncs.h:
4096         * gvfs.c:
4097         * gvfs.h:
4098         * gvolume.c:
4099         * gvolume.h:
4100         * gvolumemonitor.c: 
4101         * gvolumemonitor.h:
4102         Bumps documentation to 93% symbol coverage, touching most 
4103         of the public files. Fixes broken function documentation prototypes. 
4104         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
4105         gtk-doc headers in private files.
4106
4107 2007-11-27  Jürg Billeter  <j@bitron.ch>
4108
4109         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4110         (g_buffered_input_stream_read_byte):
4111         * gbufferedinputstream.h:
4112         New functions for efficient access to buffer and simple single byte
4113         reads.
4114
4115         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4116         (g_data_input_stream_read_until):
4117         * gdatainputstream.h:
4118         Use peek_buffer to avoid memcpy in scan_for_newline, implement
4119         read_until with multiple stop chars.
4120
4121 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4122
4123         * Makefile.am:
4124         * fam/Makefile.am:
4125         * inotify/Makefile.am:
4126         Use the user-specified giomoduledir
4127
4128 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4129
4130         * Makefile.am
4131         * gio.h:
4132         Add catch-all gio.h header
4133         Don't install gdummyfile.h
4134
4135 2007-11-26  Alexander Larsson  <alexl@redhat.com>
4136
4137         * Makefile.am (gioinclude_HEADERS):
4138         Remove trailing whitespace
4139         
4140 2007-11-26  Alexander Larsson  <alexl@redhat.com>
4141
4142         Merge gio-standalone into glib
4143
4144 2007-11-25  Christian Kellner  <gicmo@gnome.org>
4145
4146         * gio/goutputstream.c:
4147         Fix small mistake in the docs.
4148
4149 2007-11-21  Christian Persch  <chpe@gnome.org>
4150
4151         * gio/glocalfile.c: (g_local_file_trash):
4152         Convert filenames to UTF-8 for GError.
4153         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4154         as per xdg base dir spec.
4155
4156 2007-11-21  Christian Persch  <chpe@gnome.org>
4157
4158         * gio/gdesktopappinfo.c:
4159         Use that g_key_file_to_data cannot fail.
4160         Some misc cleanups.
4161         Use stock defines for the key file group and key names.
4162         Use bitfields.
4163
4164 2007-11-21  Alexander Larsson  <alexl@redhat.com>
4165
4166         * gio/gfile.c:
4167         (copy_stream_with_progress):
4168         Make sure we do a final progress callback with
4169         the full total size.
4170
4171 2007-11-21  Alexander Larsson  <alexl@redhat.com>
4172
4173         * gio/gfile.[ch]:
4174         Export g_file_copy_attributes
4175         Remove padding as its not needed for interfaces
4176
4177 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4178
4179         * gio/gfile.c:
4180         * gio/gioerror.h:
4181         * gio/glocalfile.c:
4182         Add G_IO_ERROR_WOULD_MERGE for
4183         copy/move dir on dir with overwrite.
4184
4185 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4186
4187         * gio/gfileinfo.h:
4188         * gio/glocalfileinfo.c:
4189         Add COPY_NAME (this is an optional
4190         non-modified utf8 version of the name) that
4191         can roundtrip.
4192
4193 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4194
4195         * gio/glocalfileenumerator.c:
4196         Report errors as GIOError, not GFileError
4197
4198 2007-11-16  Alexander Larsson  <alexl@redhat.com>
4199
4200         * gio/glocalfileoutputstream.c:
4201         * gio/gwin32appinfo.c:
4202         Fix typos in strings.
4203         Patch from Luca Ferretti <elle.uca@libero.it>
4204
4205 2007-11-15  Alexander Larsson  <alexl@redhat.com>
4206
4207         * configure.ac:
4208         Post release version bump
4209
4210 === gio-standalone 0.1.2 ===
4211
4212 2007-11-15  Alexander Larsson  <alexl@redhat.com>
4213
4214         * docs/reference/gio/Makefile.am:
4215         Fix up distcheck by removing weird
4216         non-needed stuff
4217
4218         * NEWS:
4219         Update for release
4220
4221 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4222
4223         * gio/gdesktopappinfo.c:
4224         * gio/glocaldirectorymonitor.c:
4225         * gio/glocalfile.c:
4226         * gio/glocalfileinfo.c:
4227         * gio/inotify/inotify-sub.c:
4228         * programs/gio-cat.c:
4229         * programs/gio-copy.c:
4230         * programs/gio-info.c:
4231         * programs/gio-ls.c:
4232         * programs/gio-monitor-dir.c:
4233         * programs/gio-monitor-file.c:
4234         * programs/gio-mount.c:
4235         * programs/gio-move.c:
4236         * programs/gio-rm.c:
4237         * programs/gio-save.c:
4238         * programs/gio-trash.c:
4239         Leak fixes from Kjartan Maraas
4240
4241 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4242
4243         * gio/fam/fam-helper.c:
4244         * gio/gdrive.[ch]:
4245         * gio/glocalfileinfo.c:
4246         * gio/gunixdrive.c:
4247         * gio/gvfs.c:
4248         * gio/gvolume.[ch]:
4249         * gio/inotify/inotify-diag.c:
4250         * gio/inotify/inotify-kernel.c:
4251         Various code cleanups from Kjartan Maraas
4252
4253 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4254
4255         * gio/gioscheduler.c:
4256         (init_scheduler):
4257         Set up threadpool so that we cache 2 unused
4258         idle threads for at 15 secs. This means we
4259         will reuse thread-local data (like dbus connections)
4260         for them.
4261
4262 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4263
4264         * gio/fam/fam-helper.c:
4265         * gio/fam/gfamdirectorymonitor.c:
4266         * gio/fam/gfamfilemonitor.c:
4267         * gio/gappinfo.c:
4268         * gio/gcontenttype.c:
4269         * gio/gdatainputstream.c:
4270         * gio/gdataoutputstream.c:
4271         * gio/gdummyfile.c:
4272         * gio/gfile.c:
4273         * gio/gfile.h:
4274         * gio/gfileattribute.h:
4275         * gio/gfileenumerator.c:
4276         * gio/gfileinfo.c:
4277         * gio/ginputstream.c:
4278         * gio/gioerror.h:
4279         * gio/glocalfile.c:
4280         * gio/glocalfileinfo.c:
4281         * gio/goutputstream.c:
4282         * gio/gpollfilemonitor.c:
4283         * gio/gsimpleasyncresult.c:
4284         * gio/gunixmounts.c:
4285         * gio/gunixmounts.h:
4286         * gio/inotify/ginotifydirectorymonitor.c:
4287         * gio/inotify/ginotifyfilemonitor.c:
4288         * gio/inotify/inotify-diag.c:
4289         * gio/inotify/inotify-kernel.c:
4290         * gio/inotify/inotify-path.c:
4291         * gio/test-gio.c:
4292         * gio/test-streams.c:
4293         * programs/gio-info.c:
4294         * programs/gio-monitor-dir.c:
4295         * programs/gio-monitor-file.c:
4296         Various code cleanups from Kjartan Maraas
4297
4298 2007-11-13  Alexander Larsson  <alexl@redhat.com>
4299
4300         * gio/gdummyfile.c:
4301         Handle the uri-scheme calls for dummy files
4302
4303 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
4304
4305         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4306         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4307         to avoid clash with the C++ keyword.
4308
4309 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
4310
4311         * gio/glocalfileinfo.c: Build fix, added missing semicolon
4312         to an ifdef'ed call to getpwuid() in lookup_uid_data().
4313
4314 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
4315
4316         * gio/glocaldirectorymonitor.c:
4317         * gio/glocalfilemonitor.c:
4318         * gio/gunionvolumemonitor.c:
4319         Don't use g_once_init_*() for initializations that could fail and
4320         could leave the initialization variable set to 0 but use GOnce.
4321         This prevents a deadlock on the second call when trying to create
4322         a monitor and no monitor type is available. Thanks to Sven Herzberg
4323         for reporting.
4324
4325 2007-11-11  Sven Herzberg  <sven@imendio.com>
4326
4327         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4328         #ifdef (make it work on MacOS X again)
4329
4330 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
4331         * Changelog:
4332         Fixes Changelog for last two commits (sorry guys).
4333
4334 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
4335         * gio/gappinfo.c:
4336         * gio/gbufferedinputstream.c:
4337         * gio/gdatainputstream.c:
4338         * gio/gfile.c:
4339         * gio/gfileoutputstream.c:
4340         * gio/gfilterinputstream.c:
4341         * gio/glocalfileinputstream.c:
4342         * gio/gurifuncs.c:
4343         * gio/gvfs.c:
4344         More consistency fixes in g*stream.c files. 
4345         Significant clean of gfile's documentation, filling in of 
4346         asynchronous operations documentation.
4347
4348 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
4349         * gio/gappinfo.c:
4350         * gio/gasyncresult.c:
4351         * gio/gbufferedinputstream.c:
4352         * gio/gbufferedoutputstream.c:
4353         * gio/gcancellable.c:
4354         * gio/gcontenttype.c:
4355         * gio/gdatainputstream.c:
4356         * gio/gdataoutputstream.c:
4357         * gio/gdesktopappinfo.c:
4358         * gio/gdrive.c:
4359         * gio/gfile.c:
4360         * gio/gfileattribute.c:
4361         * gio/gio/gfileenumerator.c:
4362         * gio/gfileinfo.c:
4363         * gio/gfileinputstream.c:
4364         * gio/gfilemonitor.c:
4365         * gio/gfileoutputstream.c:
4366         * gio/ginputstream.c:
4367         * gio/giomodule.c:
4368         * gio/gioscheduler.c:
4369         * gio/gloadableicon.c:
4370         * gio/glocalfileoutputstream.c:
4371         * gio/gmemoryoutputstream.c:
4372         * gio/gmountoperation.c:
4373         * gio/goutputstream.c:
4374         * gio/gseekable.c:
4375         * gio/gsimpleasyncresult.c:
4376         * gio/gunionvolumemonitor.c:
4377         * gio/gunixmounts.c:
4378         * gio/gunixvolume.c:
4379         * gio/gurifuncs.c:
4380         * gio/gvfs.c:
4381         * gio/gvolume.c:
4382         * gio/gvolumemonitor.c:
4383         Updated documentation stubs, working towards consistency and 
4384         completeness.
4385
4386 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
4387
4388         * gio/gmemoryoutputstream.c:
4389         * gio/gmemoryoutputstream.h:
4390         Change g_memory_output_stream_set_free_on_close() to
4391         g_memory_output_stream_set_free_data() as this makes more sense and
4392         is more consistent with GMemoryInputStream.
4393
4394 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4395
4396         * gio/gfile.c:
4397         Fix some docs
4398         
4399         * gio/glocalvfs.c:
4400         * gio/gvfs.[ch]:
4401         Change how we find the default vfs so that
4402         we can handle a gvfs failing to init
4403
4404 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
4405
4406         * gio/gbufferedoutputstream.c:
4407         * gio/gdatainputstream.c:
4408         * gio/gdataoutputstream.c:
4409         * gio/gfileinputstream.c:
4410         * gio/gfileoutputstream.c:
4411         * gio/gfilterinputstream.c:
4412         * gio/gfilteroutputstream.c:
4413         * gio/ginputstream.c:
4414         * gio/gmemoryinputstream.c:
4415         * gio/gmemoryoutputstream.c:
4416         * gio/goutputstream.c:
4417         * gio/gsimpleasyncresult.c:
4418         * gio/gsocketinputstream.c:
4419         * gio/gsocketoutputstream.c:
4420         Add guards to the remaining public functions, add a TODO for
4421         an unimplemented function and remove some useless guards.
4422
4423 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4424
4425         * configure.ac:
4426         Autoconf checks for the various types of
4427         getpwuid_r and getgrgid_r
4428         
4429         * gio/glocalfileinfo.c:
4430         Use the autoconf checks from above
4431
4432 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4433
4434         * gio/glocalfile.c:
4435         (g_local_file_query_filesystem_info):
4436         Some fixes for the statvfs case
4437         
4438 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4439
4440         * gio/glocalfile.c:
4441         (g_local_file_query_filesystem_info):
4442         Pick the "best" of statfs / statvfs for the system
4443         if both are availible.
4444
4445 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4446
4447         Solaris fixes from Halton.Huo@Sun.COM:
4448         
4449         * gio/gdrive.c:
4450         * gio/gfile.c:
4451         * gio/gvolume.c:
4452         Don't return void
4453         
4454         * gio/glocalfileinfo.c:
4455         Fix for solaris definition of getpwuid_r
4456         
4457         * gio/test-streams.c:
4458         Use G_GNUC_PRETTY_FUNCTION
4459
4460 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4461
4462         * gio/gdesktopappinfo.c:
4463         (update_default_list):
4464         Remove double semicolon.
4465         Patch from Jens Granseuer
4466
4467 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4468
4469         * docs/reference/gio/gio-sections.txt:
4470         * gio/gbufferedinputstream.c:
4471         * gio/gbufferedinputstream.h:
4472         * gio/gdatainputstream.c:
4473         * gio/gfileenumerator.c:
4474         * gio/gioscheduler.c:
4475         * gio/gunionvolumemonitor.c:
4476         * gio/gvfs.c:
4477         * programs/gio-save.c:
4478         Fix typo: availible -> available. Unfortuntely this breaks API
4479         and ABI as g_buffered_input_stream_get_available() was renamed.
4480         
4481         * gio/gunixmounts.c:
4482         * gio/gbufferedinputstream.c:
4483         Add guards for public functions.
4484
4485 2007-11-06  Ross Burton  <ross@openedhand.com>
4486
4487         * docs/reference/gio/Makefile.am:
4488         Fix invalid += usage which automake 1.10 doesn't like.
4489
4490 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4491
4492         * gio/gappinfo.c:
4493         (g_app_launch_context_class_init):
4494         Fix warning
4495
4496         Patch from Ross Burton 
4497         
4498 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4499
4500         * configure.ac:
4501         Post release version bump
4502
4503 === gio-standalone 0.1.1 ===
4504
4505 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4506
4507         * configure.ac:
4508         Bump version to 0.1.1
4509         
4510         * gio/gsimpleasyncresult.c:
4511         (g_simple_async_result_set_from_error):
4512         Remove bogus g_return_if_fail
4513
4514 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4515
4516         * configure.ac:
4517         The name is gio-standalone
4518         
4519         * gio/Makefile.am:
4520         Add top src/builddir to includedir
4521
4522 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4523
4524         * docs/reference/gio/gio-sections.txt:
4525         * gio/gappinfo.c:
4526         * gio/gbufferedinputstream.c:
4527         * gio/gbufferedoutputstream.c:
4528         * gio/gcancellable.c:
4529         * gio/gdatainputstream.h:
4530         * gio/gdataoutputstream.c:
4531         * gio/gdataoutputstream.h:
4532         * gio/gdirectorymonitor.c:
4533         * gio/gfile.c:
4534         * gio/gfileattribute.c:
4535         * gio/gfileattribute.h:
4536         * gio/gfileenumerator.c:
4537         * gio/gfileenumerator.h:
4538         * gio/gfileinfo.c:
4539         * gio/gfileinfo.h:
4540         * gio/gfileinputstream.h:
4541         * gio/gfilemonitor.c:
4542         * gio/gfileoutputstream.h:
4543         * gio/glocalfilemonitor.h:
4544         * gio/glocalfileoutputstream.h:
4545         * gio/gmemoryinputstream.c:
4546         * gio/gmemoryoutputstream.c:
4547         * gio/gmountoperation.c:
4548         * gio/goutputstream.c:
4549         * gio/goutputstream.h:
4550         * gio/gseekable.h:
4551         * gio/gsimpleasyncresult.c:
4552         * gio/gunixmounts.c:
4553         * gio/gunixmounts.h:
4554         * gio/gurifuncs.h:
4555         * gio/inotify/inotify-helper.c:
4556         Fix gtk-doc warnings
4557
4558         Patch from Ross Burton 
4559         
4560 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4561
4562         * gio/gfilenamecompleter.c:
4563         (g_filename_completer_get_completions):
4564         fix warning
4565         
4566         * gio/gunixvolume.c:
4567         Remove unused function
4568
4569         Patches from Ross Burton 
4570
4571 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4572
4573         * gio/gdrive.h:
4574         * gio/gseekable.h:
4575         * gio/gvolume.h:
4576         Padding not needed for interfaces
4577
4578 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4579
4580         * gio/gfilemonitor.c:
4581         Remove debug spew
4582
4583         * gio/Makefile.am:
4584         Make giotypes.h an internal file
4585         
4586         * gio/gappinfo.h:
4587         * gio/gbufferedinputstream.h:
4588         * gio/gbufferedoutputstream.h:
4589         * gio/gcancellable.h:
4590         * gio/gdatainputstream.h:
4591         * gio/gdataoutputstream.h:
4592         * gio/gdirectorymonitor.c:
4593         * gio/gdirectorymonitor.h:
4594         * gio/gdrive.c:
4595         * gio/gdrive.h:
4596         * gio/gfile.c:
4597         * gio/gfile.h:
4598         * gio/gfileattribute.h:
4599         * gio/gfileenumerator.h:
4600         * gio/gfileicon.c:
4601         * gio/gfileicon.h:
4602         * gio/gfileinfo.c:
4603         * gio/gfileinfo.h:
4604         * gio/gfilemonitor.c:
4605         * gio/gfilemonitor.h:
4606         * gio/gfilenamecompleter.c:
4607         * gio/gfilenamecompleter.h:
4608         * gio/gfilterinputstream.h:
4609         * gio/gfilteroutputstream.h:
4610         * gio/ginputstream.h:
4611         * gio/gmemoryinputstream.h:
4612         * gio/gmemoryoutputstream.h:
4613         * gio/gmountoperation.c:
4614         * gio/gmountoperation.h:
4615         * gio/gnativevolumemonitor.c:
4616         * gio/goutputstream.h:
4617         * gio/gseekable.c:
4618         * gio/gseekable.h:
4619         * gio/gsimpleasyncresult.c:
4620         * gio/gsimpleasyncresult.h:
4621         * gio/gsocketinputstream.h:
4622         * gio/gsocketoutputstream.h:
4623         * gio/gthemedicon.c:
4624         * gio/gthemedicon.h:
4625         * gio/gvfs.h:
4626         * gio/gvolume.c:
4627         * gio/gvolume.h:
4628         * gio/gvolumemonitor.c:
4629         * gio/gvolumemonitor.h:
4630         Add padding in classes where it seems useful
4631         Don't include giotypes.h from public headers
4632         Move in Class definitions into c file where possible
4633         
4634         * gio/glocalfile.c:
4635         Fix warnings
4636
4637 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4638
4639         * docs/reference/gio/gio-docs.xml:
4640         Better structure for API docs
4641
4642 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         * gio/gfileicon.c:
4645         * gio/gloadableicon.c:
4646         * gio/gsimpleasyncresult.c:
4647         * gio/gthemedicon.c:
4648         Add some more guards to public functions. Only files missing are now
4649         g*stream*.c.
4650
4651 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4652
4653         * docs/reference/gio/gio-docs.xml:
4654         Remove old files, add missing ones
4655
4656 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4657
4658         * docs/reference/gio/gio-sections.txt:
4659         Restructure
4660         Add missing stuff
4661         Hide implementation classes
4662         
4663         * gio/gdriveprivate.h:
4664         * gio/gvolumeprivate.h:
4665         Remove non-existing function declarations
4666
4667 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4668
4669         * gio/gappinfo.c:
4670         Fix compilation warnings and add guards to the new functions.
4671         
4672         * gio/gasyncresult.c:
4673         * gio/gdummyfile.c:
4674         Add guards to the public functions.
4675         
4676         * gio/gdummyfile.c:
4677         Implement get_path().
4678
4679 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4680
4681         * gio/gfilenamecompleter.c:
4682         Make g_filename_completer_get_completions
4683         return char ** instead of GList for
4684         typesafety.
4685         
4686         * docs/reference/gio/gio-docs.xml:
4687         * docs/reference/gio/gio-sections.txt:
4688         * gio/gappinfo.c:
4689         * gio/gasyncresult.c:
4690         * gio/gbufferedinputstream.c:
4691         * gio/gbufferedoutputstream.c:
4692         * gio/gcancellable.c:
4693         * gio/gcontenttype.c:
4694         * gio/gdatainputstream.c:
4695         * gio/gdataoutputstream.c:
4696         * gio/gdesktopappinfo.c:
4697         * gio/gdirectorymonitor.c:
4698         * gio/gdrive.c:
4699         * gio/gdummyfile.c:
4700         * gio/gfile.c:
4701         * gio/gfileattribute.c:
4702         * gio/gfileenumerator.c:
4703         * gio/gfileicon.c:
4704         * gio/gfileinfo.c:
4705         * gio/gfileinputstream.c:
4706         * gio/gfilemonitor.c:
4707         * gio/gfilenamecompleter.c:
4708         * gio/gfilenamecompleter.h:
4709         * gio/gfileoutputstream.c:
4710         * gio/gfilterinputstream.c:
4711         * gio/gicon.c:
4712         * gio/ginputstream.c:
4713         * gio/giomodule.c:
4714         * gio/gioscheduler.c:
4715         * gio/gloadableicon.c:
4716         * gio/glocaldirectorymonitor.c:
4717         * gio/glocalfile.c:
4718         * gio/glocalfileinputstream.c:
4719         * gio/glocalfilemonitor.c:
4720         * gio/glocalfileoutputstream.c:
4721         * gio/glocalvfs.c:
4722         * gio/gmemoryinputstream.c:
4723         * gio/gmemoryoutputstream.c:
4724         * gio/gmountoperation.c:
4725         * gio/goutputstream.c:
4726         * gio/gpollfilemonitor.c:
4727         * gio/gseekable.c:
4728         * gio/gsimpleasyncresult.c:
4729         * gio/gsocketinputstream.c:
4730         * gio/gsocketoutputstream.c:
4731         * gio/gthemedicon.c:
4732         * gio/gunionvolumemonitor.c:
4733         * gio/gunixdrive.c:
4734         * gio/gunixmounts.c:
4735         * gio/gunixvolume.c:
4736         * gio/gunixvolumemonitor.c:
4737         * gio/gurifuncs.c:
4738         * gio/gvfs.c:
4739         * gio/gvolume.c:
4740         * gio/gvolumemonitor.c:
4741         * gio/gwin32appinfo.c:
4742         Add (mostly stub) doc strings to public functions.
4743         Patch from Andrew Walton (awalton@gmail.com)
4744
4745 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4746
4747         * gio/gappinfo.[ch]:
4748         Added GAppLaunchContext object and pass that to launch.
4749         This allows simple implementation of both
4750         launch-on-screen and startup notification via a gtk+
4751         subclass of GAppLaunchContext
4752         
4753         * gio/gdesktopappinfo.c:
4754         Implement GAppLaunchContext API
4755         
4756         * gio/gwin32appinfo.c:
4757         Update to new APIs
4758
4759 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4760
4761         * gio/gmountoperation.c:
4762         Add some guards to GMountOperation's public functions.
4763
4764 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4765
4766
4767         * gio/gappinfo.c:
4768         * gio/gcancellable.c:
4769         * gio/gdirectorymonitor.c:
4770         * gio/gdrive.c:
4771         * gio/gfileenumerator.c:
4772         * gio/gfilemonitor.c:,
4773         * gio/gfilenamecompleter.c:
4774         * gio/gicon.c:
4775         * gio/giomodule.c:
4776         * gio/gioscheduler.c:
4777         * gio/gseekable.c:
4778         * gio/gurifuncs.c:
4779         * gio/gvolume.c:
4780         * gio/gvolumemonitor.c:
4781         Add even more guards to various public functions.
4782
4783 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4784
4785         * gio/gappinfo.c:
4786         Add guards to the public functions of GAppInfo.
4787
4788 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4789
4790         * gio/gcontenttype.c:
4791         Add some more guards for public functions.
4792
4793 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4794
4795         * gio/fam/fam-module.c:
4796         * gio/fam/gfamdirectorymonitor.c:
4797         * gio/fam/gfamdirectorymonitor.h:
4798         * gio/fam/gfamfilemonitor.c:
4799         * gio/fam/gfamfilemonitor.h:
4800         * gio/inotify/ginotifydirectorymonitor.c:
4801         * gio/inotify/ginotifydirectorymonitor.h:
4802         * gio/inotify/ginotifyfilemonitor.c:
4803         * gio/inotify/ginotifyfilemonitor.h:
4804         Add proper copyright information and remove an unused variable
4805         in the GInotifyFileMonitor constructor.
4806
4807         * gio/gcancellable.c:
4808         Add a guard for a public function and an assertion to prevent
4809         an undefined program state.
4810
4811 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4812
4813         * gio/gfileattribute.c:
4814         Don't run into an assertion if the given attribute value is NULL
4815         in g_file_attribute_value_get_*() but instead return a fallback
4816         value that makes sense in most situations. Passing them a attribute
4817         value with the wrong type will still run into an assertion.
4818
4819 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4820
4821         * gio/gfileattribute.c:
4822         * gio/gfileinfo.c:
4823         Add even more guards to the public functions. Also fix the refcounting
4824         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4825         let g_file_info_list_attributes() filter the attributes by namespace
4826         instead of simply ignoring the namespace parameter.
4827
4828 2007-11-03  Sven Herzberg  <sven@imendio.com>
4829
4830         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4831         (This makes gio work on MacOS X again)
4832
4833 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4834
4835         * Makefile.am:
4836         Build the gio subdirectory before the docs. Otherwise the build will
4837         fail.
4838
4839         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4840         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4841         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4842         Add guards to the public functions.
4843
4844 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4845
4846         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4847         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4848         to prevent a compiler warning.
4849
4850         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4851         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4852         return something in the non-void function find_topdir_for().
4853
4854 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
4855
4856         * configure.ac:
4857         * Makefile.am:
4858         * docs/:
4859         Gtkdocify!
4860
4861 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
4862
4863         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4864         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4865         * gwin32appinfo.c (g_win32_app_info_launch):
4866         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4867         envp_for_startup_id, g_desktop_app_info_launch,
4868         g_desktop_app_info_launch_uris):
4869
4870         Give an opaque 'startup_id' string instead of 'envp'.
4871         Support empty file lists for launching new windows.
4872         Fix infinite recursion bug when launching URIs.
4873
4874 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4875
4876         * gio/gfile.c:
4877         Add guard to the new g_file_get_uri_scheme() function.
4878
4879 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4880
4881         * gio/gfile.c:
4882         Convert a g_return_val_if_fail() to setting the GError instead as
4883         otherwise applications have to verify the parameter before otherwise
4884         and the parameter might come directly from the user.
4885
4886 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4887
4888         * gio/inotify/ginotify*.[ch]:
4889         Add missing copyright information.
4890
4891 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4892
4893         * gio/gfile.c:
4894         Add guards in the beginning of public functions to check for valid
4895         parameters and fix a bug in copy_stream_with_progress() that could've
4896         caused writing less bytes than reading.
4897         * gio/glocalfileinfo.c:
4898         Check for a NULL parameter and set the GError accordingly then.
4899         * gio/goutputstream.c:
4900         Fix the same bug as in gfile.c that could've caused writing less bytes
4901         than reading in g_output_stream_real_splice().
4902
4903 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
4904
4905         * gio/Makefile.am:
4906         Use the correct gvolumeprivate.h naming
4907
4908 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4909
4910         * gio/Makefile.am:
4911         Remove leftover "$(daemon_sources)" entry.
4912
4913 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4914
4915         * gio/fam/*.[ch]:
4916         * gio/*.[ch]:
4917         * programs/*.[ch]:
4918         Add copyright information to source files.
4919
4920 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4921
4922         * gio/gfile.[ch]:
4923         * gio/glocalfile.c:
4924         Add g_file_get_uri_scheme
4925
4926 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4927
4928         * gio/gappinfo.h:
4929         * gio/gdesktopappinfo.c:
4930         * gio/gwin32appinfo.c:
4931         Add g_app_info_get_default_for_uri_scheme.
4932
4933 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4934
4935         * gio/Makefile.am:
4936         Correct filename for gdriveprivate.h
4937
4938 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4939
4940         * gio/gfileinfo.h:
4941         Rename id:value to id:file
4942         Add id:fs
4943         
4944         * gio/glocalfileinfo.c:
4945         Implement id:fs
4946
4947 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4948
4949         * gio/gunixvolume.c:
4950         * gio/gvolume.[ch]:
4951         Remove g_volume_get_platform_id, as thats not
4952         needed with the simpler union volume monitor
4953
4954 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4955
4956         * gio/Makefile.am:
4957         * gio/guniondrive.[ch]: Removed.
4958         * gio/gunionvolume.[ch]: Removed.
4959         Remove GUnionDrive/Volume
4960
4961         * gio/gunionvolumemonitor.c:
4962         Simplify union volume monitor, now we
4963         only have one native volume monitor and
4964         we use the actual volumes/drives from the
4965         child monitors instead of wrapping them
4966
4967         * gio/gnativevolumemonitor.[ch]:
4968         Base class for native volume monitors.
4969         Includes priority and get_volume_for_mountpoint
4970         
4971         * gio/gfile.[ch]:
4972         Add g_file_find_enclosing_volume
4973
4974         * gio/gfileinfo.h:
4975         Remove volume name fs attribute
4976         Add readonly fs attribute
4977         
4978         * gio/glocalfile.c:
4979         Implement readonly attribute
4980         remove volume name attribute
4981         Implement find_enclosing volume
4982         
4983         * gio/gunixmounts.c:
4984         Add a volume for "/".
4985         
4986         * gio/gunixvolume.[ch]:
4987         Set better name for /
4988         
4989         * gio/gunixvolumemonitor.[ch]:
4990         Derive from GNativeVolumeMonitor
4991         Implement get_volume_for_mountpoint
4992         
4993         * gio/gvolume.h:
4994         GVolume typedef moved to gfile.h
4995         
4996         * gio/gvolumeprivate.h:
4997         Add g_volume_get_for_mount_path
4998
4999 2007-10-31  Alexander Larsson  <alexl@redhat.com>
5000
5001         * gio/gunixmounts.[ch]:
5002         Add cache info to unix mount listers
5003         Make getmntent use threadsafe
5004         Add is_system_internal attribute for GUnixMount
5005         
5006         * gio/gunixvolume.c:
5007         (g_unix_volume_new):
5008         Use is_system_internal instead of own code
5009         
5010         * gio/glocaldirectorymonitor.c:
5011         * gio/gunixvolumemonitor.c:
5012         Update to new gunixmounts API
5013         
5014         * gio/glocalfile.c:
5015         Fix warning
5016
5017 2007-10-30  Alexander Larsson  <alexl@redhat.com>
5018
5019         * gio/gfileinfo.h:
5020         Add volume name fsinfo attribute
5021         
5022         * gio/glocalfile.c:
5023         Read volume name info
5024         
5025         * gio/gunionvolumemonitor.c:
5026         Fix infinite loops when finalizing a union volume monitor
5027
5028 2007-10-30  Alexander Larsson  <alexl@redhat.com>
5029
5030         * gio/goutputstream.[ch]:
5031         Add splice() with default implementation
5032         
5033         * gio/gsocketoutputstream.c:
5034         (g_socket_output_stream_write):
5035         Return error on cancellation correctly.
5036         
5037 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
5038
5039         * gio/glocalfile.c (g_local_file_trash):
5040         Do not leak a string.
5041
5042 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
5043
5044         * gio/gfile.c (g_file_load_contents):
5045         Unref the stream after closing it.
5046
5047 2007-10-25  Alexander Larsson  <alexl@redhat.com>
5048
5049         * gio/gioscheduler.h:
5050         Fix include
5051
5052 2007-10-25  Alexander Larsson  <alexl@redhat.com>
5053
5054         * gio/gfile.[ch]:
5055         * gio/glocalfile.c:
5056         Add g_file_has_uri_scheme and implement for local files
5057
5058 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
5059
5060         * gio/gdesktopappinfo.c: do not leak a string.
5061
5062 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
5063
5064         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5065         (g_local_directory_monitor_new):
5066         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5067         (g_local_file_monitor_new):
5068         Only look for the monitor type that should be used the first time
5069         and use g_qsort_with_data() instead of our own bubble sort
5070         implementation.
5071
5072 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
5073
5074         * gio/Makefile.am:
5075         * gio/fam/Makefile.am:
5076         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5077         * gio/fam/fam-helper.h:
5078         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5079         * gio/fam/gfamdirectorymonitor.c:
5080         * gio/fam/gfamdirectorymonitor.h:
5081         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5082         * gio/fam/gfamfilemonitor.h:
5083         * gio/glocaldirectorymonitor.c:
5084         * gio/glocaldirectorymonitor.h:
5085         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5086         * gio/glocalfilemonitor.h:
5087         * gio/inotify/Makefile.am:
5088         * gio/inotify/ginotifydirectorymonitor.c:
5089         * gio/inotify/ginotifydirectorymonitor.h:
5090         * gio/inotify/ginotifyfilemonitor.c:
5091         * gio/inotify/ginotifyfilemonitor.h:
5092         Implement the FAM and Inotify monitors as
5093         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5094         their own GIO module. GLocal(Directory|File)Monitor will use the
5095         monitor with the highest rank that is supported on that machine.
5096
5097 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
5098
5099         * gio/Makefile.am:
5100         Change GIO module dir to $(libdir)/gio/modules and change
5101         the log domain from GVFS to GIO. Also only export symbols starting
5102         with g_ in the resulting library.
5103         * gio/test-streams.c: (main):
5104         Set log handler for the GIO log domain.
5105
5106 2007-10-22  Alexander Larsson  <alexl@redhat.com>
5107
5108         * gio/gfilenamecompleter.[ch]:
5109         Add g_filename_completer_set_dirs_only
5110
5111 2007-10-22  Alexander Larsson  <alexl@redhat.com>
5112
5113         * gio/Makefile.am:
5114         * gio/gurifuncs.[ch]:
5115         Add some simple URI helpers
5116         
5117         * gio/gfilenamecompleter.[ch]:
5118         Added object for filename (parse name actually) completion
5119         
5120         * gio/glocalvfs.c:
5121         Handle ~ in parse names
5122
5123 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5124
5125         * gio/gfileinfo.h:
5126         * gio/glocalfileinfo.c:
5127         Add and implement id:value attribute
5128
5129 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5130
5131         * gio/gdrive.[ch]:
5132         * gio/guniondrive.c:
5133         * gio/gunixdrive.c:
5134         Add and implement g_drive_has_volumes
5135         
5136 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5137
5138         * gio/gfileinfo.h:
5139         * gio/glocalfileinfo.[ch]:
5140         Add unix:is_mountpoint and implement for local files
5141
5142 2007-10-16  Alexander Larsson  <alexl@redhat.com>
5143
5144         * gio/gunionvolumemonitor.c:
5145         (g_union_volume_monitor_init):
5146         Fix up the unix type getting so that it works with gcc
5147         
5148 2007-10-12  Alexander Larsson  <alexl@redhat.com>
5149
5150         * gio/gfileinfo.h:
5151         * gio/glocalfileinfo.c:
5152         Add thumbnail:failed to file info
5153
5154 2007-10-12  Richard Hult  <richard@imendio.com>
5155
5156         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5157         optimizing away the get_type call (happens with some gcc versions,
5158         like the one shipped with OS X 10.4).
5159
5160 2007-10-12  Alexander Larsson  <alexl@redhat.com>
5161
5162         * gio/glocalfileinfo.c:
5163         (_g_local_file_info_set_attribute):
5164         Fix build if not HAVE_XATTR
5165         Patch from Milosz Derezynski <internalerror@gmail.com>
5166
5167 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
5168
5169         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5170         around for review, otherwise I would have asked you before
5171         committing)
5172
5173 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5174
5175         * gio/gfileinfo.h:
5176         Add thumbnail:path attribute
5177         
5178         * gio/glocalfileinfo.c:
5179         Implement thumbnail:path for local files
5180
5181 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5182
5183         * gio/glocalfileinfo.c:
5184         (_g_local_file_info_get):
5185         Avoid duplicate icon names
5186
5187 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5188
5189         * gio/gthemedicon.[ch]:
5190         Change g_themed_icon_get_names return type to const
5191
5192 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5193
5194         * gio/glocalfileinfo.c:
5195         Don't reference freed memory
5196
5197 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5198
5199         * gio/gfileattribute.c:
5200         Handle objects
5201         
5202         * gio/glocalfileinfo.c:
5203         Return icon info
5204
5205 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5206
5207         * gio/gfileinfo.c:
5208         Check for NULL icons
5209
5210         * gio/gfileattribute.c:
5211         Don't dup when getting objects (same as for string attributes)
5212
5213         * gio/gicon.c (g_icon_equal):
5214         Safely handle NULLs in equal
5215
5216 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5217
5218         * gio/gfileinfo.h:
5219         Fix c++ compilation issues
5220         Patch from Milosz Derezynski <internalerror@gmail.com>
5221
5222 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5223
5224         * programs/gio-monitor-dir.c:
5225         Don't crash if dir monitor not supported.
5226
5227 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5228
5229         * gio/gioerror.h:
5230         Add missing G_END_DECLS
5231
5232 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
5233
5234         * gio/gfile.c: (g_file_set_display_name),
5235         (g_file_query_settable_attributes),
5236         (g_file_query_writable_namespaces):
5237         Return NULL not FALSE on errors as the return type is a pointer.
5238
5239 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
5240
5241         * gio/glocalfile.c: (g_local_file_monitor_file):
5242         Don't call monitor_file on the default interface vtable (which
5243         is NULL) but simply return NULL. The caller, GFile, will create a
5244         polling monitor if NULL is returned.
5245
5246 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5247
5248         * Makefile.am:
5249         * configure.ac:
5250         * gio-unix-2.0.pc.in:
5251         Add gio-unix-2.0.pc if OS_UNIX
5252         
5253         * gio/Makefile.am:
5254         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5255
5256 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5257
5258         * gio/gunixmounts.[ch]:
5259         Make unix mount monitoring API sane.
5260         Now its just a object with mounts_changed
5261         and mountpoints_changed signals.
5262         
5263         * gio/glocaldirectorymonitor.c:
5264         * gio/gunixvolumemonitor.c:
5265         Use new mount monitor api
5266
5267 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5268
5269         * gio/gunixmounts.[ch]:
5270         Move guess type into one call for mounts and one for mountpoints
5271         
5272         * gio/gunixdrive.c:
5273         * gio/gunixvolume.c:
5274         Update
5275
5276 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5277
5278         * gio/gunixmounts.[ch]:
5279         Remove _ prefix in preparation to make this semi-public
5280         Hide implementation of structs
5281         
5282         * gio/glocaldirectorymonitor.c:
5283         * gio/gunixdrive.c:
5284         * gio/gunixvolume.c:
5285         * gio/gunixvolumemonitor.c:
5286         Update for above API changes
5287
5288 2007-10-08  Alexander Larsson  <alexl@redhat.com>
5289
5290         * gio/gfile.c:
5291         Better polling fallback. This also handles the case where we have
5292         a monitor_file implementation, but it fails.
5293
5294 2007-10-08  Alexander Larsson  <alexl@redhat.com>
5295
5296         * gio/gfile.[ch]:
5297         * gio/glocalfile.c:
5298         * gio/gunixmounts.c:
5299         * programs/gio-monitor-dir.c:
5300         * programs/gio-monitor-file.c:
5301         Added cancellable to file monitoring calls.
5302         These are really sync calls and need this.
5303
5304 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
5305
5306         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5307         (g_local_vfs_class_init):
5308         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5309         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5310
5311 2007-10-05  Alexander Larsson  <alexl@redhat.com>
5312
5313         * gio/gdirectorymonitorprivate.h: 
5314         * gio/gfilemonitorprivate.h: 
5315         * gio/gdirectorymonitor.h:
5316         * gio/gfilemonitor.h:
5317         Remove *private.h and move to the public API, so that
5318         we can do implementations outside gio (such as in gvfs)
5319         
5320         * gio/gdirectorymonitor.c:
5321         * gio/gfilemonitor.c:
5322         * gio/glocaldirectorymonitor.c:
5323         * gio/gpollfilemonitor.c:
5324         * gio/inotify/inotify-helper.c:
5325         * gio/fam/fam-helper.c:
5326         Update to the new header names
5327
5328 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
5329
5330         * gio/gdirectorymonitor.c:
5331         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5332         GTypes as abstract.
5333
5334 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5335
5336         * gio/glocalfileinfo.c (get_access_rights):
5337         Set CAN_TRASH when we can move the file.
5338         We should really also check for a parent trash dir.
5339
5340 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5341
5342         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5343         Add can_trash access attribute
5344
5345 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5346
5347         * gio/glocalfile.c:
5348         (g_local_file_trash):
5349         Create info file first. This is per-spec and allows
5350         us to actually trash directories.
5351
5352 2007-10-02  Alexander Larsson  <alexl@redhat.com>
5353
5354         * gio/gdesktopappinfo.c:
5355         Implement the new mime support code.
5356         Always set app as handling mimetype when being set as default for it
5357
5358 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5359
5360         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5361         Fix up check for xattrs:
5362
5363 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5364
5365         * gio/gappinfo.c:
5366         (g_app_info_set_as_default_for_extension):
5367         (g_app_info_add_supports_type):
5368         (g_app_info_can_remove_supports_type):
5369         (g_app_info_remove_supports_type):
5370         Make these fail nicely if not implemented
5371
5372 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
5373
5374         * gio/glocalfileoutputstream.c:
5375         * gio/glocalfileoutputstream.h:
5376         * gio/test-gio.c:
5377         * gio/gfile.c:
5378         * gio/gfile.h:
5379         * gio/glocalfile.c:
5380         * programs/gio-save.c: 
5381         Add a GFileCreateFlags argument to operations that can create
5382         a new file.
5383
5384 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5385
5386         * gio/gappinfo.[ch]:
5387         * gio/gdesktopappinfo.c:
5388         Add more (stubbed out) mime API needed for nautilus
5389
5390 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5391
5392         * gio/gappinfo.h:
5393         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5394         Add g_app_info_set_as_default_for_extension.
5395         
5396         * gio/gdesktopappinfo.c:
5397         Dummy for g_app_info_set_as_default_for_extension
5398         Support flags in g_app_info_create_from_commandline
5399
5400         * gio/gwin32appinfo.c:
5401         * gio/test-gio.c:
5402         Update for API changes
5403         
5404         * gio/gthemedicon.c:
5405         Properly NULL-terminate list of icon names
5406
5407 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5408
5409         * gio/gloadableicon.h:
5410         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5411
5412 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5413
5414         * gio/Makefile.am:
5415         Install headers in $includedir/gio-standalone/
5416         
5417         * gio-2.0.pc.in: Added.
5418         * gio-standalone.pc.in: Removed.
5419         * configure.ac:
5420         * Makefile.am:
5421         Renamed pkg-config file to match glib (for future move)
5422         Update to the new include dir
5423         
5424         * gio/gappinfo.h:
5425         Add more TODO comments
5426
5427 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5428
5429         * gio/gdesktopappinfo.[ch]:
5430         Expose new_from_filename
5431         Add getter for is_hidden and handle it better
5432
5433 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5434
5435         * gio/gfileinfo.[ch]:
5436         Rename g_file_size_format_for_display to
5437         g_format_file_size_for_display.
5438         Now it doesn't have the g_file prefix, so we
5439         can later move it to glib.
5440
5441 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5442
5443         * gio/gappinfo.[ch]:
5444         Add g_app_info_get_id and g_app_info_get_executable.
5445         Make all getters non-reffing
5446         Make g_app_info_launch take GFile arguments.
5447         Add must_support_uris argument to g_app_info_get_default_for_type.
5448         
5449         * gio/gwin32appinfo.c:
5450         Update to GAppInfo api changes
5451         
5452         * gio/gdesktopappinfo.c:
5453         Update to GAppInfo api changes
5454         Implement supports_xdg_startup_notify
5455         
5456         * gio/gfileicon.c (g_file_icon_get_file):
5457         Make getter non-reffing.
5458         
5459         * gio/test-gio.c:
5460         Update to new API
5461
5462 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5463
5464         * gio/gfileinfo.[ch]: 
5465         Add g_file_size_format_for_display helper
5466         
5467 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5468
5469         * gio/glocalfileinfo.c:
5470         Set UNIX_GID from gid, not from uid
5471
5472 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5473
5474         * gio/gfile.[ch]:
5475         Add g_file_set_attributes_async
5476
5477 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5478
5479         * gio/glocalfile.c (g_local_file_set_display_name):
5480         Fix set_display_name to actually rename to the right place.
5481         Use lstat to look for existing files so we don't overwrite
5482         broken links.
5483
5484 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5485
5486         * gio/gfile.[ch]:
5487         Add g_file_set_display_name_async()
5488
5489 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5490
5491         * gio/gfile.[ch]:
5492         Add load_partial_contents async calls
5493         
5494         * gio/glocalfile.c:
5495         Make internal function static
5496
5497 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5498
5499         * gio/glocalfileinfo.c:
5500         Correctly detect broken symlinks
5501
5502 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5503
5504         * gio/gcancellable.c (g_cancellable_cancel):
5505         Allow cancel on NULL cancellable
5506
5507 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5508
5509         * gio/gsimpleasyncresult.c:
5510         Don't allocate g_error manually.
5511         Fixes g_slice/g_new mixup crash
5512
5513 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5514
5515         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5516         Actually set active_backend.
5517         This means the monitor will be cancelled correctly.
5518
5519 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5520
5521         * gio/gdirectorymonitor.c:
5522         Set timeout to NULL when destroying
5523
5524 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5525
5526         * gio/gioerror.h:
5527         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5528         that is a better description of the error.
5529
5530 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
5531
5532         * gio/gvfs.c: (g_vfs_get_local):
5533         Make the local vfs variable static. The same instance should
5534         always be returned.
5535
5536 2007-09-24  Alexander Larsson  <alexl@redhat.com>
5537
5538         * gio/glocalfileinfo.c:
5539         Pass in actual length read into sniffer, not the length
5540         we tried to read.
5541
5542 2007-09-21  Alexander Larsson  <alexl@redhat.com>
5543
5544         * gio/gfileenumerator.c:
5545         * gio/gfileinfo.c:
5546         * gio/gfileinfo.h:
5547         * gio/gfileinputstream.c:
5548         * gio/gfileoutputstream.c:
5549         * gio/ginputstream.c:
5550         * gio/goutputstream.c:
5551         Don't crash if async callbacks are NULL
5552
5553 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5554
5555         * gio/gfile.[ch]:
5556         Add async enumerate_children method and default
5557         implementation
5558
5559 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5560
5561         * gio/gfile.[ch]
5562         Add g_file_contains_file & g_file_get_relative_path, since they
5563         were needed for nautilus.
5564         Renamed g_file_resolve_relative to g_file_resolve_relative_path
5565         to make it clearer.
5566         
5567         * gio/gdummyfile.c:
5568         * gio/glocalfile.c:
5569         Implement new methods
5570
5571 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5572
5573         * gio/gfile.[ch]:
5574         * gio/gfileinputstream.[ch]:
5575         * gio/gfileoutputstream.[ch]:
5576         * gio/glocalfile.c:
5577         * gio/glocalfileenumerator.[ch]:
5578         * gio/glocalfileinfo.[ch]:
5579         * gio/glocalfileinputstream.c:
5580         * gio/glocalfileoutputstream.c:
5581         * gio/gpollfilemonitor.c:
5582         * programs/gio-copy.c:
5583         * programs/gio-info.c:
5584         * programs/gio-move.c:
5585         Rename get_file_info to query_info() to make it clearer
5586         that these are not simple getters, but do i/o.
5587
5588 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5589
5590         * gio/gdatainputstream.[ch]:
5591         * gio/test-streams.c:
5592         Use _read_XXX instead of _get_XXX for the i/o calls
5593         in GDataInputStream
5594
5595 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5596
5597         * gio/gappinfo.h:
5598         Added needed stuff to TODO comment
5599
5600 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5601
5602         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5603         Don't error out removing the backup copy if it doesn't
5604         already exist.
5605
5606 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5607
5608         * programs/Makefile.am:
5609         * programs/gvfs-*.c: 
5610         * programs/gio-*.c:
5611         Renamed apps from gvfs-xxx to gio-xxx.
5612
5613 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5614
5615         * gio/gfile.c:
5616         * gio/gfileoutputstream.[ch]:
5617         * gio/glocalfileoutputstream.c:
5618         * programs/gvfs-save.c:
5619         g_file_output_stream_get_etag doesn't do i/o, so remove
5620         cancellation and error.
5621
5622 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5623
5624         * gio/gfile.[ch]:
5625         Add new_etag output to replace_contents functions
5626
5627 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5628
5629         * gio/gfileoutputstream.[ch]:
5630         Add async get_file_info and default implementation
5631
5632 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5633
5634         * gio/gfileinputstream.c:
5635         Implement fallback wrapper for async get_file_info
5636
5637 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5638
5639         * gio/gfile.[ch]:
5640         Add etag out argument to load_contents
5641         
5642         * gio/test-gio.c:
5643         Update to new API
5644
5645 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5646
5647         * gio/gcontenttype.c (looks_like_text):
5648         Whitespace like tab, cr and lf do not make the
5649         file binary.
5650
5651 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5652
5653         * gio/gfileinputstream.[ch]:
5654         Add async get_file_info.
5655
5656 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5657
5658         * gio/goutputstream.c (g_output_stream_write_all):
5659         Allow NULL for bytes_written
5660
5661 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5662
5663         * gio/gmemoryinputstream.[ch]:
5664         Add accessors for data
5665
5666 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5667
5668         * gio/gdatainputstream.c (g_data_input_stream_get_until):
5669         Don't crash if length is NULL
5670