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