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