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