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