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