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