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