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