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