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