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