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