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