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