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