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