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