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