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