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