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