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