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