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