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