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