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