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