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