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