Lazily create the desktop files for appinfos created by
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2
3         * gdesktopappinfo.c:
4         Lazily create the desktop files for appinfos created
5         by g_app_info_create_from_commandline() when needed
6         for mime associations. This allows run-time use
7         of GAppInfo object without creating unnecessary
8         files on disk.
9
10 2008-01-29  Alexander Larsson  <alexl@redhat.com>
11
12         * gio.symbols:
13         Added new symbols to gio.symbols
14
15 2008-01-29  Alexander Larsson  <alexl@redhat.com>
16
17         * gfile.[ch]:
18         Add g_file_query_default_handler utility to easily look up
19         the GAppInfo that handles a file.
20         
21         * gdesktopappinfo.[ch]:
22         * giomodule.c:
23         Set up an extension point for g_app_info_get_default_for_uri_scheme()
24         
25         * gvfs.c:
26         Remove unused function
27
28 2008-01-29  Alexander Larsson  <alexl@redhat.com>
29
30         * gfileenumerator.c:
31         Mention need to free returned value in
32         g_file_enumerator_next_files_finish docs.
33         Fix leak if g_file_enumerator_next_files_finish()
34         not called.
35
36 2008-01-29  Alexander Larsson  <alexl@redhat.com>
37
38         * gcontenttype.c:
39         (_g_unix_content_type_get_parents):
40         Use list_parents, not get_parents from xdgmime, because
41         the later doesn't use the cache.
42         
43         * xdgmime/xdgmimecache.c:
44         (_xdg_mime_cache_list_mime_parents):
45         Don't list the same type as parent multiple times.
46
47 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
48
49         * === Released 2.15.4 ===
50
51 2008-01-28  Alexander Larsson  <alexl@redhat.com>
52
53         * glocalvfs.c:
54         Register local vfs with prio 0.
55         
56         * gvfs.h:
57         Remove old name and prio class members
58
59 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
60
61         * tests/g-file.c: Disable some tests that are failing in
62         the absence of a http backend.
63
64 2008-01-28  Alexander Larsson  <alexl@redhat.com>
65
66         * giomodule.[ch]:
67         * gio.symbols:
68         Add registration hooks for extension points.
69         Register the gio extension points.
70         
71         * fam/gfamdirectorymonitor.c:
72         * fam/gfamfilemonitor.c:
73         * glocaldirectorymonitor.[ch]:
74         * glocalfilemonitor.[ch]:
75         * gnativevolumemonitor.h:
76         * gunionvolumemonitor.c:
77         * gunixvolumemonitor.c:
78         * gvfs.[ch]:
79         * gvolumemonitor.h:
80         * inotify/ginotifydirectorymonitor.c:
81         * inotify/ginotifyfilemonitor.c:
82         Use the extension points registration instead
83         of g_type_children().
84
85 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
86         
87         * gdrive.[hc]: 
88         * gvolume.[hc]: Document new API. 
89
90         * gfile.c (g_file_copy_async): Fix docs
91
92 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
93
94         * gbufferedinputstream.c:
95         * ginputstream.c:
96         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
97         __FUNCTION__.
98         
99 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
100
101         * glocalfile.c: Avoid trivial differences in translatable strings.
102
103 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
104
105         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
106         build with gcc 3.4  (#509419)
107
108 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
109
110         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
111         (#509994, Murray Cumming)
112
113 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
114
115         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
116         * gioscheduler.c: Keep calling io jobs until they return FALSE;
117         this allows big jobs to be executed in chunks, instead of blocking
118         the main loop for a long time.
119
120         * gsimpleasyncresult.c:
121         * giofile.c: Adapt callers.
122
123 2008-01-25  Alexander Larsson  <alexl@redhat.com>
124
125         * gdesktopappinfo.c:
126         Implement changes discussed on xdg list.
127         Now we can add supported mimetypes by just using defaults.list
128         We can also remove associations in defaults.list.
129
130 2008-01-25  Alexander Larsson  <alexl@redhat.com>
131
132         * gdesktopappinfo.c:
133         Don't make local copy of desktop file
134         for mimetype changes if the file already
135         supports the new mimetype.
136
137 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
138
139         * ginputstream.c:
140         * goutputstream.c:
141         * gbufferedinputstream.c:
142         * glocalfile.c: String improvements.  (#511966, 
143          Theppitak Karoonboonyanan)
144
145 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
146
147         * gioscheduler.h: Expand docs a bit.
148
149 2008-01-24  Alexander Larsson  <alexl@redhat.com>
150
151         * gdrive.[ch]:
152         Add g_drive_get_identifier and
153         g_drive_enumerate_identifiers
154
155         * gvolume.[ch]:
156         Add g_volume_get_identifier and
157         g_volume_enumerate_identifiers
158         
159         * gio.symbols:
160         Add symbols
161         
162         * gunixvolume.c:
163         Implement identifiers for unix backend
164
165 2008-01-24  Alexander Larsson  <alexl@redhat.com>
166
167         * gfile.[ch]:
168         * gfile.h:
169         * gio.symbols:
170         Add g_file_copy_async() (#511580)
171         Based on patch from Carlos Garcia Campos
172
173 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
174
175         * gioscheduler.c: Some documentation additions.
176
177 2008-01-22  Alexander Larsson  <alexl@redhat.com>
178
179         * gdesktopappinfo.c:
180         (g_desktop_app_info_new):
181         Don't leak basename.
182         
183 2008-01-22  Alexander Larsson  <alexl@redhat.com>
184
185         * gdesktopappinfo.c:
186         (g_desktop_app_info_new_from_filename):
187         Don't leak GKeyFile
188
189 2008-01-22  Alexander Larsson  <alexl@redhat.com>
190
191         * glocalfileinfo.c (get_thumbnail_attributes):
192         Fix leak of uri
193
194 2008-01-22  Alexander Larsson  <alexl@redhat.com>
195
196         * glocalfile.c:
197         (canonicalize_filename):
198         Canonicalize paths that start with more than
199         two slashes.
200         
201         * tests/g-file.c:
202         (compare_two_files):
203         (test_g_file_new_for_path):
204         Test the above
205
206 2008-01-22  Alexander Larsson  <alexl@redhat.com>
207
208         * glocalfile.c:
209         Allow UTF-8 in file:// parse names.
210         
211         * tests/Makefile.am:
212         * tests/data-input-stream.c:
213         * tests/data-output-stream.c:
214         * tests/g-file-info.c:
215         * tests/g-file.c:
216         Added a bunch of tests from Tomas Bzatek
217
218 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
219
220         * === Released 2.15.3 ===
221
222 2008-01-21  Alexander Larsson  <alexl@redhat.com>
223
224         * gfileinputstream.[ch]:
225         * gfileoutputstream.[ch]:
226         * gio.symbols:
227         Remove duplicated GSeekable functions. (#509990)
228         Just use the g_seekable_xxx() calls instead.
229
230 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
231
232         * glocal*.c:
233         * gvolumemanager.c: Whitespace cleanups.
234
235         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
236         Use the right mode when creating the file.
237
238 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
239
240         * gfileenumerator.c:
241         * gfileinputstream.c:
242         * ginputstream.c:
243         * goutputstream.c: Documentation: Fixed minor typos 
244         and added more mentions of specific _finish() functions.
245
246 2008-01-21  Alexander Larsson  <alexl@redhat.com>
247
248         * inotify/Makefile.am:
249         * inotify/inotify-helper.c:
250         * inotify/inotify-kernel.c:
251         * inotify/inotify-path.c:
252         * inotify/local_inotify.h: Removed.
253         * inotify/local_inotify_syscalls.h: Removed.
254         Removed the included copies of the inotify
255         headers. We now only use the <sys/inotify.h>
256         header which exists on modern systems.
257         This fixes problems on ARM and SH5 (#510448)
258         but is also generally much cleaner and future
259         safe. For instance, if other OSes add support
260         for inotify it should "just work".
261
262 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
263
264         * inotify/*.c: Coding style fixes.
265         * inotify/inotify-missing.c: Use g_timeout_add_seconds
266         for the 1/4 Hz timer.
267
268 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
269
270         * gfile.c:
271         * gfilemonitor.[hc]:
272         * gmemoryinputstream.c:
273         * gmemoryoutputstream.c:
274         * gmountoperation.c:
275         * gthemedicon.c: Documentation updates
276
277 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
278
279         * gfile.c: documentation: Fixed more minor 
280         typos.
281
282 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
283
284         * gmount.c: (g_mount_remount): documentation: 
285         Mention g_mount_remount_finish() instead of 
286         g_mount_unmount_finish().
287
288 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
289
290         * gappinfo.c:
291         * gcancellable.c:
292         * gfile.c: Fixed some minor typos in the 
293         documentation. 
294
295 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
296
297         * gio/gvolumemonitor.c: 
298         (g_volume_monitor_get_connected_drives): 
299         (g_volume_monitor_get_volumes): 
300         (g_volume_monitor_get_mounts): Documentation: 
301         Clarify the ownership of the regurn GLists.
302
303 2008-01-17  Alexander Larsson  <alexl@redhat.com>
304
305         * gfile.h:
306         Add the async find_enclosing_mount version
307         to the header file too.
308
309 2008-01-17  Alexander Larsson  <alexl@redhat.com>
310
311         * gfile.c:
312         Add async version of find_enclosing_mount
313         with default implementation.
314
315 2008-01-17  Alexander Larsson  <alexl@redhat.com>
316
317         * gfile.c:
318         (g_file_copy):
319         (g_file_move):
320         Allow calls to implementation of copy and write
321         even if the type of the file implementations is
322         different. This can be used to implement native
323         upload and download calls in a vfs.
324         
325         * glocalfile.c:
326         (g_local_file_move):
327         Protect against the case where move is called
328         with one file not being local.
329         
330         Make sure we call the progress callback once
331         in the native move operation so that the caller
332         knows how many bytes were copied.
333
334 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
335
336         * gappinfo.c:
337         * gdatainputstream.c:
338         * gfile.c:
339         * gfileoutputstream.c:
340         * ginputstream.c:
341         * gmount.c:
342         * goutputstream.c:
343         * gseekable.c:
344         * gunixmounts.c: Corrected some typos in the documentation:
345         occured -> occurred.
346         its -> it's (where appropriate).
347
348 2008-01-16  Alexander Larsson  <alexl@redhat.com>
349
350         * gfile.[ch]:
351         * gio.symbols:
352         Add g_file_query_exists (#508771)
353
354 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
355
356         * gdrive.c:
357         * gfile.c:
358         * gmount.c:
359         * gvolume.c: For async functions that have no non-async 
360         version, document that the GAsyncReadyCallback may be NULL.
361         Bug #509626.
362
363 2008-01-15  Alexander Larsson  <alexl@redhat.com>
364
365         * gmemoryinputstream.c:
366         * gmemoryoutputstream.c:
367         Don't do pointer arithmetic on void * (#508602)
368         Patch from Kazuki IWAMOTO
369
370 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
371
372         * === Released 2.15.2 ===
373
374 2008-01-14  Alexander Larsson  <alexl@redhat.com>
375
376         * gfile.c (g_file_monitor_file):
377         Don't set error here, since we fallback to polling monitor.
378
379 2008-01-14  Alexander Larsson  <alexl@redhat.com>
380
381         * gfile.[ch]:
382         (g_file_monitor_directory):
383         (g_file_monitor_file):
384         Add GError to file monitor calls
385         
386         * glocaldirectorymonitor.c:
387         * glocaldirectorymonitor.h:
388         * glocalfile.c:
389         * glocalfilemonitor.c:
390         * glocalfilemonitor.h:
391         * gunixmounts.c:
392         Update for above change
393
394 2008-01-14  Alexander Larsson  <alexl@redhat.com>
395
396         * glocalfile.c:
397         (match_prefix):
398         Handle root correctly in g_file_get_relative_path (#508719)
399
400 2008-01-14  Alexander Larsson  <alexl@redhat.com>
401
402         * gasyncresult.c:
403         Clean up docs and example for GAsyncResult (#508074)
404
405 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
406
407         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
408         and correct some spelling mistakes. Bug #508108.
409
410 2008-01-11  Matthias Clasen <mclasen@redhat.com>
411
412         * glocalfileinfo.c: Add a comment.
413
414 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
415
416         * gfileinfo.c: GFileInfo description: Mention 
417         how to actually set attributes in a GFile and how to discover 
418         which attributes are settable. Bug #508378.
419
420 2008-01-10  A. Walton  <awalton@svn.gnome.org>
421
422         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
423         (g_app_info_get_default_for_type):
424         Check for NULL content types.
425
426 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
427
428         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
429
430 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
431
432         * gfile.c: *_async() functions: Several small corrections 
433         to the documentation, mostly correcting copy/paste errors 
434         and improving some sentences.
435
436 2008-01-09  Dan Winship  <danw@gnome.org>
437
438         * glocalfile.c (get_unique_filename): x86_64 fix
439
440 2008-01-09  Alexander Larsson  <alexl@redhat.com>
441
442         * gio.symbols:
443         * gunixmount.c:
444         * gunixmounts.[ch]:
445         Add g_unix_mount_guess_should_display and use
446         for unix volume monitor backend.
447         This means we more or less show what the
448         gnome-vfs backend did.
449         Based on patch from Padraig O'Briain
450
451 2008-01-09  Alexander Larsson  <alexl@redhat.com>
452
453         * gio.symbols:
454         * gthemedicon.[ch]:
455         Add g_themed_icon_new_with_default_fallbacks
456         
457         * gunixmounts.c:
458         Use default fallbacks for icons
459
460 2008-01-09  Alexander Larsson  <alexl@redhat.com>
461
462         * gio-marshal.list:
463         * gmountoperation.[ch]:
464         Change the API a bit so that unhandled methods
465         get reported via the reply, rather than by
466         the signal emission return value. This is because
467         some handlers can't know this immediately without
468         doing I/O, and this is an async operation that
469         should not block.
470
471 2008-01-09  Alexander Larsson  <alexl@redhat.com>
472
473         * fam/fam-helper.c:
474         * fam/gfamdirectorymonitor.c:
475         * fam/gfamfilemonitor.c:
476         Fix double free crash (#508224)
477         Patch from Joe Marcus Clarke
478
479 008-01-07  Matthias Clasen  <mclasen@redhat.com>
480
481         * === Released 2.15.1 ===
482
483 2008-01-07  Alexander Larsson  <alexl@redhat.com>
484
485         * gunixinputstream.c (g_unix_input_stream_skip_finish):
486         Fix warning (#507835)
487
488 2008-01-07  Alexander Larsson  <alexl@redhat.com>
489
490         * Makefile.am:
491         Pass --internal to glib-genmarshal
492         
493         * gfilemonitor.c:
494         * gmountoperation.c:
495         * gio-marshal.list:
496         Use better types for signal arguments (#507822)
497
498 2008-01-07  Alexander Larsson  <alexl@redhat.com>
499
500         * Makefile.am:
501         Build test subdir after .
502         Remove gdirectorymonitor.[ch]
503         
504         * gdirectorymonitor.[ch]:
505         * gfilemonitor.c:
506         * gfile.[ch]:
507         * gio.h:
508         Remove GDirectoryMonitor and make
509         GFileMonitor the baseclass for both file and
510         directory monitors. Lift the more generic
511         rate limiting code from GDirectoryMonitor
512         into GFileMonitor.
513         
514         * fam/fam-helper.c:
515         * fam/gfamdirectorymonitor.[ch]:
516         * inotify/ginotifydirectorymonitor.[ch]:
517         * inotify/inotify-helper.c:
518         * glocaldirectorymonitor.[ch]:
519         * glocalfile.c:
520         * gvolumemonitor.c:
521         Update for the removed GDirectoryMonitor.
522         
523         * gmemoryoutputstream.c:
524         Remove ununsed variable
525
526 2008-01-07  Alexander Larsson  <alexl@redhat.com>
527
528         * gmemoryinputstream.c:
529         Translate error strings
530         
531         * gio.symbols:
532         * gmemoryoutputstream.[ch]:
533         New implementation that avoids using GByteArray
534         in implementation and API. (#506377)
535
536 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
537
538         * tests/*: Add a test for memory input streams.
539         
540         * Makefile.am: Add tests to SUBDIRS.
541
542 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
543
544         * glocalfilemonitor.c:
545         * glocaldirectorymonitor.c: Mark property nicks and blurbs
546         for translation.
547
548 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
549
550         * gdesktopappinfo.c: Fix a docs typo.
551
552         * gfileattribute.c: Add information about extended attributes
553         to the documentation.  (#505058)
554
555 2008-01-04  Alexander Larsson  <alexl@redhat.com>
556
557         * gio-marshal.list:
558         * gmountoperation.c:
559         Use the right type (uint) for the ask_password signal.
560
561 2008-01-04  Alexander Larsson  <alexl@redhat.com>
562
563         * gappinfo.[ch]:
564         * gwin32appinfo.c:
565         * gio.symbols:
566         Add g_app_info_supports_files() 
567         Remove desktop arg from g_app_info_should_show().
568         
569         * gdesktopappinfo.[ch]:
570         Implement g_app_info_supports_files() and new should_show()
571         Add g_desktop_app_info_set_desktop_env() to set the desktop
572         for should_show(). (This will be set by gtk+ later)
573
574 2008-01-04  Alexander Larsson  <alexl@redhat.com>
575
576         * gio.symbols:
577         * gmemoryinputstream.[ch]:
578         Improve API so that you can use multiple chunks
579         of memory and custom destroy functions. (#506374)
580
581 2008-01-03  Alexander Larsson  <alexl@redhat.com>
582
583         * gfileinfo.c:
584         Handle NULL attribute matchers safely, as we return this
585         for empty attribute matcher strings.
586
587 2008-01-03  Alexander Larsson  <alexl@redhat.com>
588
589         * gunixmounts.c (g_unix_is_mount_path_system_internal):
590         Add /usr/local to list of internal mountpoints
591
592 2008-01-03  Alexander Larsson  <alexl@redhat.com>
593
594         * glocalfileinfo.c:
595         Check for HAVE_LCHOWN (#505887)
596         
597 2008-01-03  Alexander Larsson  <alexl@redhat.com>
598
599         * gfileinfo.h:
600         * glocalfileinfo.c:
601         Add define for selinux context attribute.
602         Fix missing : -> :: namespace separator change
603         Fix missing _ -> - name change for xattr-sys.
604         (#505058)
605
606 2008-01-03  Alexander Larsson  <alexl@redhat.com>
607
608         * fam/Makefile.am:
609         Link to libglib and libgobject directly (#504879)
610         Patch from Sebastien Bacher
611
612 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
613
614         * gfile.c: Expanded the g_file_new_for_commandline_arg
615         description a bit, based on the code and the docs of the
616         other g_file_new_for_* functions.
617
618 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
619
620         * gfilemonitor.h: Fixed typo in docs.
621
622 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
623
624         Updates to GIO documentation. (#506395, Mikael Hermansson)
625
626         * gcontenttype.c: Describe memory management for return value of
627         g_content_types_get_registered(). Missing piece from #505815.
628         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
629         GVolume, GDrive, GMounts, which hopefully gives the user less
630         confusions when using this API. Following explainations from
631         Alexander Larsson on gtk-devel-list.
632
633 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
634
635         * gfileinfo.c: Expand the long description.
636
637 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
638
639         * fam/Makefile.am:
640         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
641         fix builds with --disable-visibility.  (#500273, Christian Persch)
642
643 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
644
645         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
646         in the list of returned app infos.
647
648 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
649
650         * gappinfo.c: Fix a cross-reference
651
652 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
653
654         * gfileinputstream.c:
655         * gfileoutputstream.c:
656         * gloadableicon.h:
657         * gunixmounts.c:
658         * gmount.h:
659         * gdesktopappinfo.c:
660         * gvolumemonitor.c: 
661         * gfileinfo.c: Documentation updates.
662
663 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
664
665         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
666         Tommi Komulainen)
667
668 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
669
670         * gcontenttype.c (g_content_types_get_registered): Don't return
671         freed memory (#505815, Mikael Hermansson)
672
673 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
674
675         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
676         used to detect statbuf->st_blocks. (#505042)
677
678 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
679
680         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
681         environment handling.  (#504829, Cosimo Cecchi)
682
683 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
684
685         * gappinfo.c: Doc improvements
686         
687         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
688         not ids.
689
690 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
691
692         * === Released 2.15.0 ===
693
694 2007-12-20  Hans Breuer  <hans@breuer.org>
695
696         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
697         with symbols gwin32appinfo.obj, added gmount.obj
698         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
699
700 2007-12-20  Alexander Larsson  <alexl@redhat.com>
701
702         * gfile.c:
703         * gfileattribute.c:
704         * gfileinfo.c:
705         * gfileinfo.h:
706         * gfilenamecompleter.c:
707         * glocalfile.c:
708         * glocalfileinfo.c:
709         * gpollfilemonitor.c:
710         File attribute renames:
711         std:: -> standard::
712         fs:: -> filesystem::
713         id::fs -> id::filesystem
714         
715 2007-12-20  Alexander Larsson  <alexl@redhat.com>
716
717         * gfile.[ch]:
718         * gdrive.[ch]:
719         * gmount.[ch]:
720         * gvolume.[ch]:
721         * gunixmount.c:
722         * gunixvolume.c:
723         * gio.symbols:
724         Add GMountUnmountFlags to all unmount and
725         eject calls.
726         Add g_mount_remount() call.
727
728 2007-12-20  Alexander Larsson  <alexl@redhat.com>
729
730         * gvfs.c (get_default_vfs):
731         Fix unused variable warning
732
733 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
734
735         * pltcheck.sh: Update
736
737 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
738
739         * gunionvolumemonitor.c:
740         * gunixmount.c: Remove C99 comments
741
742 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
743
744         * gio.symbols: Add some missing symbols
745
746 2007-12-19  Alexander Larsson  <alexl@redhat.com>
747
748         * giomodule.c:
749         Make g_io_modules_load_all_in_directory not unuse
750         loaded modules so that users of it can do stuff
751         before unloading.
752         Init internal "module" types.
753         Initialize static prio and name for types so that
754         we don't have to load modules to get it.
755         
756         * gnativevolumemonitor.h:
757         * gvolumemonitor.h:
758         Move is_supported to parent class so that
759         non-native monitors can avoid being initialized
760         too. (For instance GDaemonVolumeMonitor if we're
761         not using GDaemonVfs.)
762         
763         * glocaldirectorymonitor.[ch]:
764         * glocalfilemonitor.[ch]:
765         * gunionvolumemonitor.c:
766         * gunixvolumemonitor.c:
767         * gvfs.c:
768         Find plugins using the static prio+name to
769         avoid unnecessarily loading the modules.
770
771 2007-12-19  Alexander Larsson  <alexl@redhat.com>
772
773         * giomodule.c:
774         Remove warnings
775
776 2007-12-19  Alexander Larsson  <alexl@redhat.com>
777
778         * gunionvolumemonitor.c:
779         Store the native type as GType, not class so that
780         we can unload it. But still avoid unnecessarily
781         unload modules.
782
783 2007-12-19  David Zeuthen  <davidz@redhat.com>
784
785         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
786         add signals 'disconnected' and 'eject-button' on GDrive. Add
787         signal 'removed' on GVolume and 'unmounted' on GMount.
788
789         * gdrive.c: (g_drive_base_init):
790         * gdrive.h:
791         * gfile.c: (g_file_mount_mountable),
792         (g_file_mount_enclosing_volume):
793         * gio.symbols:
794         * gioerror.h:
795         * gmount.c: (g_mount_base_init):
796         * gmount.h:
797         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
798         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
799         * gvolume.c: (g_volume_base_init), (g_volume_mount):
800         * gvolume.h:
801         * gvolumemonitor.h:
802
803 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
804
805         * *.c: Fix up includes in the section docs.
806
807 2007-12-17  Alexander Larsson  <alexl@redhat.com>
808
809         * gnativevolumemonitor.h:
810         * gunionvolumemonitor.c:
811         * gunixvolumemonitor.c:
812         Add is_supported() to GNativeVolumeMonitorClass so
813         that we can avoid having to create an object to see
814         if the backend is supported at runtime.
815         Also add name member and an env var to pick a specific
816         volume monitor backend.
817         
818         * gmountprivate.h:
819         * glocalfile.c:
820         Add cancellable to _g_mount_get_for_mount_path()
821         
822         * glocaldirectorymonitor.c:
823         * glocalfilemonitor.c:
824         Avoid loading and unloading modules while sorting.
825
826 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
827
828         * gio.symbols:
829         * gunixmounts.[hc]: Namespace waste reduction, move some
830         g_get_unix_mount functions to the g_unix_mount namespace.
831
832         * gunixmounts.c:
833         * gunixvolumemonitor.c:
834         * glocalfile.c:
835         * glocaldirectorymonitor.c: Update all callers.
836
837         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
838
839 2007-12-17  Alexander Larsson  <alexl@redhat.com>
840
841         * gfile.c:
842         Add doc comments about what GFile operations are
843         guaranteed to not block.
844
845 2007-12-17  Alexander Larsson  <alexl@redhat.com>
846
847         * gunixmounts.c:
848         Add missing #ifdef fixing OSX build.
849         (#503334, patch from Richard Hult)
850
851 2007-12-14  David Zeuthen  <davidz@redhat.com>
852
853         * Makefile.am:
854         * gio.symbols:
855         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
856         (g_mount_eject), (g_mount_eject_finish):
857         * gmount.h:
858         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
859         (get_volume_for_uuid), (get_mount_for_uuid),
860         (g_union_volume_monitor_class_init),
861         (get_default_native_type_with_exclude), (get_default_native_type),
862         (get_native_type), (update_native_type),
863         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
864         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
865         (g_unix_mount_can_eject), (eject_unmount_cb),
866         (eject_unmount_read_error), (eject_unmount_do),
867         (g_unix_mount_unmount), (g_unix_mount_eject),
868         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
869         * gunixmounts.c: (g_unix_mount_guess_can_eject),
870         (g_unix_mount_point_guess_can_eject):
871         * gunixmounts.h:
872         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
873         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
874         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
875         (g_unix_volume_mount), (g_unix_volume_eject),
876         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
877         * gunixvolumemonitor.c: (get_volume_for_uuid),
878         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
879         (update_mounts):
880         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
881         (g_volume_eject), (g_volume_eject_finish):
882         * gvolume.h:
883         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
884         (g_volume_monitor_get_mount_for_uuid):
885         * gvolumemonitor.h:
886
887         Provide eject() on both GMount and GVolume and utility functions
888         to guess whether a GUnixMountPoint or GUnixMountEntry should be
889         ejected. Introduce the concept of UUID's and wire it into GVolume
890         and GMount and provide API on GVolumeMonitor to find such
891         instances. Also handle the case where an external
892         GNativeVolumeMonitor fails to initialize. Lock around the
893         _g_get_mount_for_mount_path() function such that volume monitor
894         implementations won't have to do locking themselves.
895
896 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
897
898         * gdesktopappinfo.c:
899         * gunixmounts.c:
900         * gfileinfo.c:
901         * gvolumemonitor.c:
902         * gfile.h:
903         * gioscheduler.c:
904         * gvolume.h: Documentation updates
905
906 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
907
908         * gunixmounts.c:
909         * gfile.h: Doc updates
910
911 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
912
913         * gcontenttype.c:
914         * gdesktopappinfo.c: Use hash table iterators.
915
916 2007-12-14  Alexander Larsson  <alexl@redhat.com>
917
918         * Makefile.am:
919         * gfileattribute.[ch]:
920         * gfileattribute-priv.h:
921         Move GFileAttributeValue to a private header, as
922         its sort of ugly.
923         
924         * gfile.[ch]:
925         Make set_attribute take a type + a pointer instead
926         of a GFileAttributeValue.
927         
928         * gfileinfo.[ch]:
929         Fix up for above changes.
930         Add g_file_info_get_attribute_data to get
931         all info in one call, g_file_info_get_attribute_status
932         to get the status and g_file_info_get_attribute_as_string.
933         
934         * gio.symbols:
935         * glocalfile.c:
936         * glocalfileinfo.[ch]:
937         Update for changes
938         
939         * gunixmounts.c:
940         Make _guess_type static.
941
942 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
943
944         * Makefile.am:
945         * inotify/Makefile.am: Fixed build when srcdir != builddir,
946         made mkenums and friends use temporary files to avoid leaving
947         empty generated files on failure (#503470).
948
949 2007-12-14  Alexander Larsson  <alexl@redhat.com>
950
951         * gmountoperation.h:
952         Fix AKS -> ASK typo
953
954 2007-12-14  Alexander Larsson  <alexl@redhat.com>
955
956         * gappinfo.h:
957         * gfile.[ch]:
958         * gfileattribute.[ch]:
959         * gio.symbols:
960         * glocalfile.c:
961         * glocalfileoutputstream.c:
962         * gmountoperation.[ch]:
963         * goutputstream.[ch]:
964         Clean up all flags enums to not have _FLAGS in them
965         Make the names of some of the enums better.
966
967         * glocalfileinfo.c:
968         Fix warning
969         
970 2007-12-14  Michael Natterer  <mitch@imendio.com>
971
972         * gio.symbols: fix g_io_scheduler symbol names.
973
974 2007-12-14  Alexander Larsson  <alexl@redhat.com>
975
976         * Makefile.am:
977         * fam/Makefile.am:
978         * gappinfo.h:
979         * gasyncresult.h:
980         * gbufferedinputstream.h:
981         * gbufferedoutputstream.h:
982         * gcancellable.h:
983         * gcontenttype.h:
984         * gdatainputstream.h:
985         * gdataoutputstream.h:
986         * gdesktopappinfo.h:
987         * gdirectorymonitor.h:
988         * gdrive.h:
989         * gfile.h:
990         * gfileattribute.h:
991         * gfileenumerator.h:
992         * gfileicon.h:
993         * gfileinfo.h:
994         * gfileinputstream.h:
995         * gfilemonitor.h:
996         * gfilenamecompleter.h:
997         * gfileoutputstream.h:
998         * gfilterinputstream.h:
999         * gfilteroutputstream.h:
1000         * gicon.h:
1001         * ginputstream.h:
1002         * gio.h:
1003         * gioerror.h:
1004         * giomodule.h:
1005         * gioscheduler.h:
1006         * gloadableicon.h:
1007         * gmemoryinputstream.h:
1008         * gmemoryoutputstream.h:
1009         * gmount.h:
1010         * gmountoperation.h:
1011         * goutputstream.h:
1012         * gseekable.h:
1013         * gsimpleasyncresult.h:
1014         * gthemedicon.h:
1015         * gunixinputstream.h:
1016         * gunixmounts.h:
1017         * gunixoutputstream.h:
1018         * gvfs.h:
1019         * gvolume.h:
1020         * gvolumemonitor.h:
1021         * inotify/Makefile.am:
1022         Only allow including <gio/gio.h> from apps
1023
1024 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1025
1026         * gioscheduler.[ch]:
1027         * gsimpleasyncresult.c:
1028         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1029         Split out the send_to_mainloop call into two versions instead
1030         of having the block argument.
1031
1032 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1033
1034         * gcancellable.[ch]:
1035         * gio.symbols:
1036         * gbufferedinputstream.c:
1037         * gfileenumerator.c:
1038         * gfileinputstream.c:
1039         * gfileoutputstream.c:
1040         * ginputstream.c:
1041         * gioscheduler.c:
1042         * goutputstream.c:
1043         g_push/pop_current_cancellable ->
1044         g_cancellable_push/pop_current
1045
1046 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1047
1048         * gfile.[ch]:
1049         * gio.symbols:
1050         Rename g_mount_for_location to g_file_mount_enclosing_volume.
1051
1052 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1053
1054         * gmountoperation.h:
1055         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1056
1057 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1058
1059         * gioscheduler.c:
1060         Fix race condition when freeing proxy in
1061         g_io_job_send_to_mainloop().
1062
1063 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1064
1065         * gfileattribute.c:
1066         * gfileinfo.[ch]:
1067         * glocalfile.c:
1068         * glocalfileinfo.c:
1069         Make attribute namespace separator "::" instead of ":".
1070         Use - instead of _ as separator in attribute names.
1071
1072 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1073
1074         * gbufferedinputstream.h:
1075         * gbufferedoutputstream.h:
1076         * gdatainputstream.h:
1077         * gdataoutputstream.h:
1078         * gdirectorymonitor.h:
1079         * gfileenumerator.h:
1080         * gfileinputstream.h:
1081         * gfilemonitor.h:
1082         * gfileoutputstream.h:
1083         * gfilterinputstream.h:
1084         * gfilteroutputstream.h:
1085         * ginputstream.h:
1086         * glocalfileinputstream.h:
1087         * glocalfileoutputstream.h:
1088         * gmemoryinputstream.h:
1089         * gmemoryoutputstream.h:
1090         * gnativevolumemonitor.h:
1091         * goutputstream.h:
1092         * gunixinputstream.h:
1093         * gunixoutputstream.h:
1094         * gvfs.h:
1095         * gvolumemonitor.h:
1096         s/parent/parent_instance/ in GObjects
1097
1098 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1099
1100         * gdrive.h:
1101         * gmount.h:
1102         * gvolume.h:
1103         No need for padding for interfaces
1104         
1105 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1106
1107         * gappinfo.[ch]:
1108         * gasyncresult.c:
1109         * gbufferedinputstream.c:
1110         * gbufferedoutputstream.c:
1111         * gcancellable.c:
1112         * gcontenttype.c:
1113         * gdatainputstream.[ch]:
1114         * gdesktopappinfo.c:
1115         * gdirectorymonitor.c:
1116         * gfile.[ch]:
1117         * gfileattribute.[ch]:
1118         * gfileicon.[ch]:
1119         * gfileinfo.h:
1120         * gfileinputstream.h:
1121         * gfilemonitor.[ch]:
1122         * gfileoutputstream.[ch]:
1123         * gfilterinputstream.h:
1124         * gfilteroutputstream.h:
1125         * gicon.h:
1126         * gioscheduler.c:
1127         * gloadableicon.[ch]:
1128         * gmemoryinputstream.c:
1129         * gmountoperation.c:
1130         * gthemedicon.c:
1131         Fix up a bunch of details in the docs.
1132
1133         * glocalfileinfo.c:
1134         CR/LF -> LF fixups
1135         
1136 2007-12-11  David Zeuthen  <davidz@redhat.com>
1137
1138         Rework how volumes, drives and volume monitoring is
1139         done. Previosly the model was
1140
1141          GDrive <1-1> GVolume
1142
1143         where a GDrive instance represented a mount point and a GVolume
1144         instance represented a mounted file system. This patch changes it
1145         the model to
1146
1147                 GDrive <1-N> GVolume <1-1> GMount
1148
1149         where GMount now serves the purpose of the old GVolume and the new
1150         GVolume serves the purpose of the old GDrive. In addition the new
1151         GDrive interface is used to represent a collection of GVolume
1152         instances (typically partitions) and also contains utility to query
1153         the state of the physical drive the GDrive object represents (such
1154         as checking for media, polling the drive, ejecting the media etc.).
1155
1156         Also implement mounting and unmounting in the Unix volume monitor
1157         backend. A subquent patch will introduce GDrive support for ejection
1158         of media.
1159
1160         * Makefile.am:
1161         * gdrive.c: (g_drive_is_media_check_automatic),
1162         (g_drive_is_media_removable), (g_drive_has_media),
1163         (g_drive_can_poll_for_media), (g_drive_eject),
1164         (g_drive_eject_finish), (g_drive_poll_for_media),
1165         (g_drive_poll_for_media_finish):
1166         * gdrive.h:
1167         * gfile.c: (g_file_find_enclosing_mount):
1168         * gfile.h:
1169         * gio.symbols:
1170         * glocaldirectorymonitor.c:
1171         (g_local_directory_monitor_constructor), (mounts_changed):
1172         * glocalfile.c: (get_mount_info),
1173         (g_local_file_find_enclosing_mount),
1174         (g_local_file_file_iface_init):
1175         * gnativevolumemonitor.h:
1176         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1177         (get_connected_drives), (g_union_volume_monitor_class_init),
1178         (child_volume_added), (child_volume_removed),
1179         (child_volume_changed), (child_mount_added), (child_mount_removed),
1180         (child_mount_pre_unmount), (child_mount_changed),
1181         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1182         (g_union_volume_monitor_remove_monitor),
1183         (_g_mount_get_for_mount_path):
1184         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1185         (guess_system_internal), (_g_get_unix_mounts),
1186         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1187         (g_unix_mount_free), (g_unix_mount_compare),
1188         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1189         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1190         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1191         (type_to_icon), (g_unix_mount_guess_name),
1192         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1193         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1194         (_resolve_symlink), (_resolve_dev_root):
1195         * gunixmounts.h:
1196         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1197         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1198         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1199         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1200         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1201         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1202         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1203         (g_unix_volume_volume_iface_init):
1204         * gunixvolume.h:
1205         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1206         (get_mounts), (get_volumes), (get_connected_drives),
1207         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1208         (mountpoints_changed), (mounts_changed),
1209         (g_unix_volume_monitor_init),
1210         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1211         (find_mount_by_mountpath), (update_volumes), (update_mounts):
1212         * gunixvolumemonitor.h:
1213         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1214         (g_volume_mount), (g_volume_mount_finish):
1215         * gvolume.h:
1216         * gvolumemonitor.c: (g_volume_monitor_class_init),
1217         (g_volume_monitor_get_connected_drives),
1218         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1219         * gvolumemonitor.h:
1220
1221 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1222
1223         * gmountoperation.h (GPasswordFlags): Close the gap
1224
1225 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1226
1227         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1228         * gio.symbols:
1229         * gdesktopappinfo.[hc]: Remove _-prefixes
1230
1231 2007-12-10  Tor Lillqvist  <tml@novell.com>
1232
1233         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1234         gcc warnings.
1235
1236 2007-12-10  Alexander Larsson  <alexl@redhat.com>
1237
1238         * gfile.c (g_file_set_display_name):
1239         Don't hardcode '/' (#502727)
1240
1241 2007-12-09  Hans Breuer  <hans@breuer.org>
1242
1243         * makefile.msc : follow lib naming convention
1244         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1245         for user and group name, tested with ../tests/gio-ls
1246
1247 2007-12-09  A. Walton  <awalton@svn.gnome.org>
1248
1249         * gdesktopappinfo.c:
1250         * gdrive.c:
1251         * gdrive.h:
1252         * gfile.c:
1253         * gfile.h:
1254         * gfileattribute.c:
1255         * gfileenumerator.c:
1256         * gioerror.c:
1257         * gioscheduler.c:
1258         * gioscheduler.h:
1259         * gloadableicon.c:
1260         * gmemoryinputstream.c:
1261         * gmemoryoutputstream.c:
1262         * goutputstream.h:
1263         * gsimpleasyncresult.c:
1264         More documentation cleanup and filling in missing information, bringing
1265         GIO to 99% symbol coverage.
1266
1267 2007-12-08  Hans Breuer  <hans@breuer.org>
1268
1269         [gio compiles and links on win32, not sure how much already works]
1270         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1271         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
1272         base on win32 API; prefer g_lstat() over lstat(); instead of 
1273         localtime_r() use an all GLib implementation on win32;
1274         get_mount_info() still needs a win32 specifc implementation
1275         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
1276         win32_get_file_user_info to get owner/group info without uid/gid
1277         * glocalfileinputstream.c : include <io.h> on win32
1278         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1279         definition, use g_win32_ftruncate() for G_OS_WIN32
1280         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1281         it is available with mingw/w32api but a mess with the M$ Platform SDKs
1282         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1283         * makefile.msc : updated
1284
1285 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1286
1287         * glocalfileenumerator.c (_g_local_file_enumerator_new):
1288         Avoid warning spew if error == NULL
1289         
1290 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1291
1292         * gfile.c:
1293         Update docs wrt etags
1294
1295 2007-12-06  Alexander Larsson  <alexl@redhat.com>
1296
1297         * glocalfileinfo.h:
1298         Include sys/types.h for dev_t (#501919)
1299
1300 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
1301
1302         * gio.symbols:
1303         * pltcheck.sh:
1304         Make abicheck and pltcheck pass.
1305
1306 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1307
1308         * Makefile.am:
1309         * giomodule-priv.h: Added.
1310         * glocaldirectorymonitor.c:
1311         * glocalfilemonitor.c:
1312         * gunionvolumemonitor.c:
1313         * gvfs.c:
1314         Actually add the declaration of _g_io_modules_ensure_loaded
1315
1316 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1317
1318         * gdatainputstream.c:
1319         Fix warnings
1320         
1321         * gio.symbols:
1322         * giomodule.[ch]
1323         * glocaldirectorymonitor.c:
1324         * glocalfilemonitor.c:
1325         * gunionvolumemonitor.c:
1326         * gvfs.c:
1327         Make g_io_modules_ensure_loaded a private function and
1328         don't pass in the dirname. This means we can do magic
1329         directory finding in the win32 version.
1330         Export the actual load-modules-in-directory code so that
1331         gvfs can reuse that.
1332
1333 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1334
1335         * gbufferedinputstream.c:
1336         * gbufferedoutputstream.c:
1337         * gdrive.[ch]:
1338         * gfile.[ch]:
1339         * gfileenumerator.[ch]:
1340         * gfileinputstream.c:
1341         * gfileoutputstream.[ch]:
1342         * gfilterinputstream.c:
1343         * gfilteroutputstream.c:
1344         * ginputstream.[ch]:
1345         * glocalfile.c:
1346         * glocalfileenumerator.c:
1347         * glocalfileinputstream.c:
1348         * glocalfileoutputstream.c:
1349         * gmemoryinputstream.c:
1350         * gmemoryoutputstream.c:
1351         * goutputstream.[ch]:
1352         * gseekable.[ch]:
1353         * gunixdrive.c:
1354         * gunixinputstream.c:
1355         * gunixoutputstream.c:
1356         Rename all struct members named:
1357         read, write, close, truncate, or mount
1358         to foo_fn, as these are reserved names
1359         and could be defined as macros in libc.
1360         (#501645)
1361
1362 2007-12-04  Alexander Larsson  <alexl@redhat.com>
1363
1364         * goutputstream.c:
1365         (g_output_stream_close):
1366         Only call flush if non-null.
1367
1368 2007-11-30  Dan Winship  <danw@gnome.org>
1369
1370         * ginputstream.c (g_input_stream_set_pending): Make this take a
1371         GError and return a gboolean, and do the "outstanding operation"
1372         check (and the "stream is already closed" check) itself.
1373         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1374
1375         * goutputstream.c (g_output_stream_set_pending)
1376         (g_output_stream_clear_pending): Likewise
1377
1378         * gbufferedinputstream.c: 
1379         * gfileinputstream.c: 
1380         * gfileoutputstream.c: Update for that
1381
1382         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1383         Like g_simple_async_report_error_in_idle, but takes a GError
1384         rather than building one.
1385
1386 2007-11-30  Dan Winship  <danw@gnome.org>
1387
1388         * goutputstream.c: Don't cheat and unset the "pending" flag around
1389         inner calls. Instead, call the class method directly rather than
1390         the wrapper function that checks "pending"
1391
1392 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
1393
1394         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1395
1396 2007-12-03  Hans Breuer  <hans@breuer.org>
1397
1398         [start of port to win32/msvc]
1399         * gcancellable.c : HAVE_UNIST_H and _pipe()
1400         * gcontenttype.c : only include <dirent.h> in the UNIX branch
1401         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1402         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
1403         HAVE_UNIST_H
1404         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1405         * glocalvfs.c : use HAVE_PWD_H
1406         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1407         * makefile.msc : new file (maybe later converted to makefile.msc.in)
1408         * Makefile.am : added to EXTRA_DIST
1409
1410 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1411
1412         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1413         (#499783)
1414
1415 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1416
1417         * glocalfileinfo.c:
1418         Handle OSX style xattrs API (#500506)
1419
1420 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1421
1422         * gfile.[ch]:
1423         * glocalfile.c:
1424         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1425
1426 2007-12-02  A. Walton  <awalton@svn.gnome.org>
1427
1428         * gfile.c:
1429         * gfileattribute.c:
1430         Documentation accuracy fixes.
1431
1432 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
1433
1434         * gioenumtypes.c.template: Fix typo.
1435
1436 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1437
1438         * gioenumtypes.c.template: Make threadsafe get_type() functions.
1439
1440 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1441
1442         * gdirectorymonitor.c:
1443         * gfilemonitor.c: Add properties
1444
1445         * gbufferedoutputstream.c: Don't mark buffer-size property 
1446         as construct-only.
1447
1448 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1449
1450         * gbufferedoutputstream.c: Add auto-grow property.
1451
1452 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1453
1454         * *.c: Unify the capitalization of section headings.
1455
1456 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1457
1458         * gmountoperation.c: Add properties
1459         
1460         * gdatainputstream.c: Turn byte-order and newline-type into
1461         properties.
1462
1463 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1464
1465         * gioenumtypes.[hc].template: Templates for enum registration
1466
1467         * Makefile.am: Generate gioenumtypes.[hc]
1468
1469         * gio.h: Include gioenumtypes.h
1470         * gappinfo.h:
1471         * gfile.h: Add some explicit nicks.
1472
1473         * gio.symbols: Add new symbols
1474
1475         * pltcheck.sh: Adjust
1476
1477 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1478
1479         * *.c: Explain etags and link to the explanation
1480
1481 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1482
1483         * *.c: Explain I/O priority.
1484
1485         * *.c: More coding style fixes.
1486
1487 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1488
1489         * gasyncresult.c: Add another paragraph to the intro,
1490         adjust coding style of example.
1491
1492 2007-11-29  A. Walton <awalton@svn.gnome.org>
1493
1494         * gappinfo.c:
1495           Fixes unknown meaning in GAppLaunchContext docs.
1496         * gfile.c:
1497           Clarify asynchronous ops.
1498         * gfileattribute.c:
1499           Fix entity tag docs.
1500         * gicon.c:
1501         * gthemedicon.c:
1502           Provides missing gtk-doc section, fixes API docs slighly.
1503         * gsimpleasyncresult.c:
1504           Fill in missing info in docs.
1505         * gunixinputstream.c:
1506         * gunixoutputstream.c:
1507           Be more expressive in short description.
1508         * gunixvolume.c:
1509           Remove gtk-doc stubs for non-public API.
1510
1511 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1512
1513         * *.c: Coding style fixups
1514
1515 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1516
1517         * inotify/inotify-helper.c: Don't export the lock from libgio.
1518
1519 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1520
1521         * Makefile.am:
1522         * abicheck.sh: Fix copy-and-paste leftovers 
1523
1524 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1525
1526         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1527
1528 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1529
1530         * Makefile.am:
1531         * gdriveprivate.h:
1532         Removed unnecessary file
1533         
1534         * gdesktopappinfo.[ch]:
1535         * gdummyfile.[ch]:
1536         * gfile.c:
1537         * glocaldirectorymonitor.[ch]:
1538         * glocalfile.[ch]:
1539         * glocalfileenumerator.[ch]:
1540         * glocalfileinputstream.[ch]:
1541         * glocalfilemonitor.[ch]:
1542         * glocalfileoutputstream.[ch]:
1543         * glocalvfs.[ch]:
1544         * gnativevolumemonitor.c:
1545         * gpollfilemonitor.[ch]:
1546         * gunionvolumemonitor.[ch]:
1547         * gunixdrive.[ch]:
1548         * gunixvolume.[ch]:
1549         * gunixvolumemonitor.[ch]:
1550         * gvfs.c:
1551         * gvolumeprivate.h:
1552         * inotify/ginotifydirectorymonitor.[ch]:
1553         * inotify/ginotifyfilemonitor.[ch]:
1554         * inotify/inotify-helper.c:
1555         Append _ to all internal functions
1556         
1557         * gio.symbols:
1558         Add missing symbols
1559         Export symbols needed for modules
1560
1561 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1562
1563         * Makefile.am:
1564         * abicheck.sh: Added.
1565         * makegioalias.pl: Added.
1566         * pltcheck.sh: Added.
1567         * gio.symbols: Added.
1568         * *.c:
1569         * inotify/*.c
1570         Initial work on adding symbol handling.
1571
1572         * gvfs.h:
1573         Correct ifdef guard name
1574
1575         * fam/Makefile.am:
1576         * inotify/Makefile.am:
1577         * xdgmime/Makefile.am:
1578         Include toplevel Makefile.decl
1579
1580 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1581
1582         * gcontenttype.c: Move doc comments to the unix section.
1583
1584         * *.[hc]: More trivial doc corrections.
1585
1586 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1587
1588         * gpollfilemonitor.c:
1589         * gunixmounts.c:
1590         * gvfs.c:
1591         * gfile.c:
1592         * gdesktopappinfo.c:
1593         * gwin32appinfo.c:
1594         * gvolume.c:
1595         * glocalvfs.c:
1596         * gvolumemonitor.c:
1597         * gdatainputstream.c:
1598         * gdatainputstream.h:
1599         * gdataoutputstream.c:
1600         * gdataoutputstream.h:
1601         * gfileinfo.h: Doc cleanups
1602
1603 2007-11-28  Andre Klapper  <a9016009@gmx.de>
1604
1605         * gdesktopappinfo.c: Fix a typo.
1606
1607 2007-11-27  Andre Klapper  <a9016009@gmx.de>
1608
1609         * glocalfileoutputstream.c: Fix a typo.
1610
1611 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1612
1613         * gio.h:
1614         Don't include removed headers
1615
1616 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1617
1618         * Makefile.am:
1619         * gsocketinputstream.[ch]: Removed.
1620         * gsocketoutputstream.[ch]: Removed.
1621         * gunixinputstream.[ch]: Added.
1622         * gunixoutputstream.[ch]: Added.
1623         Renamed GSocket*Stream to GUnix*Stream and made
1624         it unix-only, since its not really only for sockets
1625         and it only works on unix (but is highly useful there).
1626
1627 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
1628         * gappinfo.c:
1629         * gappinfo.h:
1630         * gasynchelper.c:
1631         * gasyncresult.c:
1632         * gasyncresult.h:
1633         * gbufferedinputstream.c:
1634         * gbufferedinputstream.h:
1635         * gbufferedoutputstream.c:
1636         * gbufferedoutputstream.h:
1637         * gcancellable.c: 
1638         * gcancellable.h:
1639         * gcontenttype.c:
1640         * gdatainputstream.c:
1641         * gdatainputstream.h:
1642         * gdataoutputstream.c:
1643         * gdataoutputstream.h:
1644         * gdirectorymonitor.c:
1645         * gdirectorymonitor.h:
1646         * gdrive.c: 
1647         * gdrive.h:
1648         * gfile.c:
1649         * gfile.h:
1650         * gfileattribute.c:
1651         * gfileattribute.h:
1652         * gfileenumerator.c:
1653         * gfileenumerator.h:
1654         * gfileicon.c:
1655         * gfileicon.h:
1656         * gfileinfo.c:
1657         * gfileinfo.h:
1658         * gfileinputstream.c:
1659         * gfileinputstream.h:
1660         * gfilemonitor.c:
1661         * gfilemonitor.h:
1662         * gfilenamecompleter.c:
1663         * gfilenamecompleter.h:
1664         * gfileoutputstream.c:
1665         * gfileoutputstream.h:
1666         * gfilterinputstream.c:
1667         * gfilterinputstream.h:
1668         * gfilteroutputstream.c:
1669         * gfilteroutputstream.h:
1670         * gicon.c:
1671         * gicon.h:
1672         * ginputstream.c:
1673         * ginputstream.h:
1674         * gioerror.c:
1675         * gioerror.h:
1676         * giomodule.c:
1677         * giomodule.h:
1678         * gioscheduler.c:
1679         * gioscheduler.h:
1680         * gloadableicon.c:
1681         * gloadableicon.h:
1682         * glocalfileoutputstream.c:
1683         * gmemoryinputstream.c:
1684         * gmemoryinputstream.h:
1685         * gmemoryoutputstream.c:
1686         * gmemoryoutputstream.h:
1687         * gmountoperation.c: 
1688         * gmountoperation.h:
1689         * goutputstream.c:
1690         * goutputstream.h:
1691         * gpollfilemonitor.c:
1692         * gseekable.c:
1693         * gseekable.h:
1694         * gsimpleasyncresult.c:
1695         * gsimpleasyncresult.h:
1696         * gsocketinputstream.c:
1697         * gsocketinputstream.h:
1698         * gsocketoutputstream.c:
1699         * gsocketoutputstream.h:
1700         * gthemedicon.c:
1701         * gthemedicon.h:
1702         * gunixdrive.c:
1703         * gunixmounts.c: 
1704         * gunixmounts.h:
1705         * gunixvolume.c:
1706         * gunixvolumemonitor.c:
1707         * gurifuncs.c:
1708         * gurifuncs.h:
1709         * gvfs.c:
1710         * gvfs.h:
1711         * gvolume.c:
1712         * gvolume.h:
1713         * gvolumemonitor.c: 
1714         * gvolumemonitor.h:
1715         Bumps documentation to 93% symbol coverage, touching most 
1716         of the public files. Fixes broken function documentation prototypes. 
1717         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
1718         gtk-doc headers in private files.
1719
1720 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
1721
1722         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1723         (g_buffered_input_stream_read_byte):
1724         * gbufferedinputstream.h:
1725         New functions for efficient access to buffer and simple single byte
1726         reads.
1727
1728         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1729         (g_data_input_stream_read_until):
1730         * gdatainputstream.h:
1731         Use peek_buffer to avoid memcpy in scan_for_newline, implement
1732         read_until with multiple stop chars.
1733
1734 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1735
1736         * Makefile.am:
1737         * fam/Makefile.am:
1738         * inotify/Makefile.am:
1739         Use the user-specified giomoduledir
1740
1741 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1742
1743         * Makefile.am
1744         * gio.h:
1745         Add catch-all gio.h header
1746         Don't install gdummyfile.h
1747
1748 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1749
1750         * Makefile.am (gioinclude_HEADERS):
1751         Remove trailing whitespace
1752         
1753 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1754
1755         Merge gio-standalone into glib
1756
1757 2007-11-25  Christian Kellner  <gicmo@gnome.org>
1758
1759         * gio/goutputstream.c:
1760         Fix small mistake in the docs.
1761
1762 2007-11-21  Christian Persch  <chpe@gnome.org>
1763
1764         * gio/glocalfile.c: (g_local_file_trash):
1765         Convert filenames to UTF-8 for GError.
1766         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1767         as per xdg base dir spec.
1768
1769 2007-11-21  Christian Persch  <chpe@gnome.org>
1770
1771         * gio/gdesktopappinfo.c:
1772         Use that g_key_file_to_data cannot fail.
1773         Some misc cleanups.
1774         Use stock defines for the key file group and key names.
1775         Use bitfields.
1776
1777 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1778
1779         * gio/gfile.c:
1780         (copy_stream_with_progress):
1781         Make sure we do a final progress callback with
1782         the full total size.
1783
1784 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1785
1786         * gio/gfile.[ch]:
1787         Export g_file_copy_attributes
1788         Remove padding as its not needed for interfaces
1789
1790 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1791
1792         * gio/gfile.c:
1793         * gio/gioerror.h:
1794         * gio/glocalfile.c:
1795         Add G_IO_ERROR_WOULD_MERGE for
1796         copy/move dir on dir with overwrite.
1797
1798 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1799
1800         * gio/gfileinfo.h:
1801         * gio/glocalfileinfo.c:
1802         Add COPY_NAME (this is an optional
1803         non-modified utf8 version of the name) that
1804         can roundtrip.
1805
1806 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1807
1808         * gio/glocalfileenumerator.c:
1809         Report errors as GIOError, not GFileError
1810
1811 2007-11-16  Alexander Larsson  <alexl@redhat.com>
1812
1813         * gio/glocalfileoutputstream.c:
1814         * gio/gwin32appinfo.c:
1815         Fix typos in strings.
1816         Patch from Luca Ferretti <elle.uca@libero.it>
1817
1818 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1819
1820         * configure.ac:
1821         Post release version bump
1822
1823 === gio-standalone 0.1.2 ===
1824
1825 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1826
1827         * docs/reference/gio/Makefile.am:
1828         Fix up distcheck by removing weird
1829         non-needed stuff
1830
1831         * NEWS:
1832         Update for release
1833
1834 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1835
1836         * gio/gdesktopappinfo.c:
1837         * gio/glocaldirectorymonitor.c:
1838         * gio/glocalfile.c:
1839         * gio/glocalfileinfo.c:
1840         * gio/inotify/inotify-sub.c:
1841         * programs/gio-cat.c:
1842         * programs/gio-copy.c:
1843         * programs/gio-info.c:
1844         * programs/gio-ls.c:
1845         * programs/gio-monitor-dir.c:
1846         * programs/gio-monitor-file.c:
1847         * programs/gio-mount.c:
1848         * programs/gio-move.c:
1849         * programs/gio-rm.c:
1850         * programs/gio-save.c:
1851         * programs/gio-trash.c:
1852         Leak fixes from Kjartan Maraas
1853
1854 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1855
1856         * gio/fam/fam-helper.c:
1857         * gio/gdrive.[ch]:
1858         * gio/glocalfileinfo.c:
1859         * gio/gunixdrive.c:
1860         * gio/gvfs.c:
1861         * gio/gvolume.[ch]:
1862         * gio/inotify/inotify-diag.c:
1863         * gio/inotify/inotify-kernel.c:
1864         Various code cleanups from Kjartan Maraas
1865
1866 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1867
1868         * gio/gioscheduler.c:
1869         (init_scheduler):
1870         Set up threadpool so that we cache 2 unused
1871         idle threads for at 15 secs. This means we
1872         will reuse thread-local data (like dbus connections)
1873         for them.
1874
1875 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1876
1877         * gio/fam/fam-helper.c:
1878         * gio/fam/gfamdirectorymonitor.c:
1879         * gio/fam/gfamfilemonitor.c:
1880         * gio/gappinfo.c:
1881         * gio/gcontenttype.c:
1882         * gio/gdatainputstream.c:
1883         * gio/gdataoutputstream.c:
1884         * gio/gdummyfile.c:
1885         * gio/gfile.c:
1886         * gio/gfile.h:
1887         * gio/gfileattribute.h:
1888         * gio/gfileenumerator.c:
1889         * gio/gfileinfo.c:
1890         * gio/ginputstream.c:
1891         * gio/gioerror.h:
1892         * gio/glocalfile.c:
1893         * gio/glocalfileinfo.c:
1894         * gio/goutputstream.c:
1895         * gio/gpollfilemonitor.c:
1896         * gio/gsimpleasyncresult.c:
1897         * gio/gunixmounts.c:
1898         * gio/gunixmounts.h:
1899         * gio/inotify/ginotifydirectorymonitor.c:
1900         * gio/inotify/ginotifyfilemonitor.c:
1901         * gio/inotify/inotify-diag.c:
1902         * gio/inotify/inotify-kernel.c:
1903         * gio/inotify/inotify-path.c:
1904         * gio/test-gio.c:
1905         * gio/test-streams.c:
1906         * programs/gio-info.c:
1907         * programs/gio-monitor-dir.c:
1908         * programs/gio-monitor-file.c:
1909         Various code cleanups from Kjartan Maraas
1910
1911 2007-11-13  Alexander Larsson  <alexl@redhat.com>
1912
1913         * gio/gdummyfile.c:
1914         Handle the uri-scheme calls for dummy files
1915
1916 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1917
1918         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1919         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1920         to avoid clash with the C++ keyword.
1921
1922 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1923
1924         * gio/glocalfileinfo.c: Build fix, added missing semicolon
1925         to an ifdef'ed call to getpwuid() in lookup_uid_data().
1926
1927 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
1928
1929         * gio/glocaldirectorymonitor.c:
1930         * gio/glocalfilemonitor.c:
1931         * gio/gunionvolumemonitor.c:
1932         Don't use g_once_init_*() for initializations that could fail and
1933         could leave the initialization variable set to 0 but use GOnce.
1934         This prevents a deadlock on the second call when trying to create
1935         a monitor and no monitor type is available. Thanks to Sven Herzberg
1936         for reporting.
1937
1938 2007-11-11  Sven Herzberg  <sven@imendio.com>
1939
1940         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1941         #ifdef (make it work on MacOS X again)
1942
1943 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
1944         * Changelog:
1945         Fixes Changelog for last two commits (sorry guys).
1946
1947 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1948         * gio/gappinfo.c:
1949         * gio/gbufferedinputstream.c:
1950         * gio/gdatainputstream.c:
1951         * gio/gfile.c:
1952         * gio/gfileoutputstream.c:
1953         * gio/gfilterinputstream.c:
1954         * gio/glocalfileinputstream.c:
1955         * gio/gurifuncs.c:
1956         * gio/gvfs.c:
1957         More consistency fixes in g*stream.c files. 
1958         Significant clean of gfile's documentation, filling in of 
1959         asynchronous operations documentation.
1960
1961 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1962         * gio/gappinfo.c:
1963         * gio/gasyncresult.c:
1964         * gio/gbufferedinputstream.c:
1965         * gio/gbufferedoutputstream.c:
1966         * gio/gcancellable.c:
1967         * gio/gcontenttype.c:
1968         * gio/gdatainputstream.c:
1969         * gio/gdataoutputstream.c:
1970         * gio/gdesktopappinfo.c:
1971         * gio/gdrive.c:
1972         * gio/gfile.c:
1973         * gio/gfileattribute.c:
1974         * gio/gio/gfileenumerator.c:
1975         * gio/gfileinfo.c:
1976         * gio/gfileinputstream.c:
1977         * gio/gfilemonitor.c:
1978         * gio/gfileoutputstream.c:
1979         * gio/ginputstream.c:
1980         * gio/giomodule.c:
1981         * gio/gioscheduler.c:
1982         * gio/gloadableicon.c:
1983         * gio/glocalfileoutputstream.c:
1984         * gio/gmemoryoutputstream.c:
1985         * gio/gmountoperation.c:
1986         * gio/goutputstream.c:
1987         * gio/gseekable.c:
1988         * gio/gsimpleasyncresult.c:
1989         * gio/gunionvolumemonitor.c:
1990         * gio/gunixmounts.c:
1991         * gio/gunixvolume.c:
1992         * gio/gurifuncs.c:
1993         * gio/gvfs.c:
1994         * gio/gvolume.c:
1995         * gio/gvolumemonitor.c:
1996         Updated documentation stubs, working towards consistency and 
1997         completeness.
1998
1999 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2000
2001         * gio/gmemoryoutputstream.c:
2002         * gio/gmemoryoutputstream.h:
2003         Change g_memory_output_stream_set_free_on_close() to
2004         g_memory_output_stream_set_free_data() as this makes more sense and
2005         is more consistent with GMemoryInputStream.
2006
2007 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2008
2009         * gio/gfile.c:
2010         Fix some docs
2011         
2012         * gio/glocalvfs.c:
2013         * gio/gvfs.[ch]:
2014         Change how we find the default vfs so that
2015         we can handle a gvfs failing to init
2016
2017 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2018
2019         * gio/gbufferedoutputstream.c:
2020         * gio/gdatainputstream.c:
2021         * gio/gdataoutputstream.c:
2022         * gio/gfileinputstream.c:
2023         * gio/gfileoutputstream.c:
2024         * gio/gfilterinputstream.c:
2025         * gio/gfilteroutputstream.c:
2026         * gio/ginputstream.c:
2027         * gio/gmemoryinputstream.c:
2028         * gio/gmemoryoutputstream.c:
2029         * gio/goutputstream.c:
2030         * gio/gsimpleasyncresult.c:
2031         * gio/gsocketinputstream.c:
2032         * gio/gsocketoutputstream.c:
2033         Add guards to the remaining public functions, add a TODO for
2034         an unimplemented function and remove some useless guards.
2035
2036 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2037
2038         * configure.ac:
2039         Autoconf checks for the various types of
2040         getpwuid_r and getgrgid_r
2041         
2042         * gio/glocalfileinfo.c:
2043         Use the autoconf checks from above
2044
2045 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2046
2047         * gio/glocalfile.c:
2048         (g_local_file_query_filesystem_info):
2049         Some fixes for the statvfs case
2050         
2051 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2052
2053         * gio/glocalfile.c:
2054         (g_local_file_query_filesystem_info):
2055         Pick the "best" of statfs / statvfs for the system
2056         if both are availible.
2057
2058 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2059
2060         Solaris fixes from Halton.Huo@Sun.COM:
2061         
2062         * gio/gdrive.c:
2063         * gio/gfile.c:
2064         * gio/gvolume.c:
2065         Don't return void
2066         
2067         * gio/glocalfileinfo.c:
2068         Fix for solaris definition of getpwuid_r
2069         
2070         * gio/test-streams.c:
2071         Use G_GNUC_PRETTY_FUNCTION
2072
2073 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2074
2075         * gio/gdesktopappinfo.c:
2076         (update_default_list):
2077         Remove double semicolon.
2078         Patch from Jens Granseuer
2079
2080 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2081
2082         * docs/reference/gio/gio-sections.txt:
2083         * gio/gbufferedinputstream.c:
2084         * gio/gbufferedinputstream.h:
2085         * gio/gdatainputstream.c:
2086         * gio/gfileenumerator.c:
2087         * gio/gioscheduler.c:
2088         * gio/gunionvolumemonitor.c:
2089         * gio/gvfs.c:
2090         * programs/gio-save.c:
2091         Fix typo: availible -> available. Unfortuntely this breaks API
2092         and ABI as g_buffered_input_stream_get_available() was renamed.
2093         
2094         * gio/gunixmounts.c:
2095         * gio/gbufferedinputstream.c:
2096         Add guards for public functions.
2097
2098 2007-11-06  Ross Burton  <ross@openedhand.com>
2099
2100         * docs/reference/gio/Makefile.am:
2101         Fix invalid += usage which automake 1.10 doesn't like.
2102
2103 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2104
2105         * gio/gappinfo.c:
2106         (g_app_launch_context_class_init):
2107         Fix warning
2108
2109         Patch from Ross Burton 
2110         
2111 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2112
2113         * configure.ac:
2114         Post release version bump
2115
2116 === gio-standalone 0.1.1 ===
2117
2118 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2119
2120         * configure.ac:
2121         Bump version to 0.1.1
2122         
2123         * gio/gsimpleasyncresult.c:
2124         (g_simple_async_result_set_from_error):
2125         Remove bogus g_return_if_fail
2126
2127 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2128
2129         * configure.ac:
2130         The name is gio-standalone
2131         
2132         * gio/Makefile.am:
2133         Add top src/builddir to includedir
2134
2135 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2136
2137         * docs/reference/gio/gio-sections.txt:
2138         * gio/gappinfo.c:
2139         * gio/gbufferedinputstream.c:
2140         * gio/gbufferedoutputstream.c:
2141         * gio/gcancellable.c:
2142         * gio/gdatainputstream.h:
2143         * gio/gdataoutputstream.c:
2144         * gio/gdataoutputstream.h:
2145         * gio/gdirectorymonitor.c:
2146         * gio/gfile.c:
2147         * gio/gfileattribute.c:
2148         * gio/gfileattribute.h:
2149         * gio/gfileenumerator.c:
2150         * gio/gfileenumerator.h:
2151         * gio/gfileinfo.c:
2152         * gio/gfileinfo.h:
2153         * gio/gfileinputstream.h:
2154         * gio/gfilemonitor.c:
2155         * gio/gfileoutputstream.h:
2156         * gio/glocalfilemonitor.h:
2157         * gio/glocalfileoutputstream.h:
2158         * gio/gmemoryinputstream.c:
2159         * gio/gmemoryoutputstream.c:
2160         * gio/gmountoperation.c:
2161         * gio/goutputstream.c:
2162         * gio/goutputstream.h:
2163         * gio/gseekable.h:
2164         * gio/gsimpleasyncresult.c:
2165         * gio/gunixmounts.c:
2166         * gio/gunixmounts.h:
2167         * gio/gurifuncs.h:
2168         * gio/inotify/inotify-helper.c:
2169         Fix gtk-doc warnings
2170
2171         Patch from Ross Burton 
2172         
2173 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2174
2175         * gio/gfilenamecompleter.c:
2176         (g_filename_completer_get_completions):
2177         fix warning
2178         
2179         * gio/gunixvolume.c:
2180         Remove unused function
2181
2182         Patches from Ross Burton 
2183
2184 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2185
2186         * gio/gdrive.h:
2187         * gio/gseekable.h:
2188         * gio/gvolume.h:
2189         Padding not needed for interfaces
2190
2191 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2192
2193         * gio/gfilemonitor.c:
2194         Remove debug spew
2195
2196         * gio/Makefile.am:
2197         Make giotypes.h an internal file
2198         
2199         * gio/gappinfo.h:
2200         * gio/gbufferedinputstream.h:
2201         * gio/gbufferedoutputstream.h:
2202         * gio/gcancellable.h:
2203         * gio/gdatainputstream.h:
2204         * gio/gdataoutputstream.h:
2205         * gio/gdirectorymonitor.c:
2206         * gio/gdirectorymonitor.h:
2207         * gio/gdrive.c:
2208         * gio/gdrive.h:
2209         * gio/gfile.c:
2210         * gio/gfile.h:
2211         * gio/gfileattribute.h:
2212         * gio/gfileenumerator.h:
2213         * gio/gfileicon.c:
2214         * gio/gfileicon.h:
2215         * gio/gfileinfo.c:
2216         * gio/gfileinfo.h:
2217         * gio/gfilemonitor.c:
2218         * gio/gfilemonitor.h:
2219         * gio/gfilenamecompleter.c:
2220         * gio/gfilenamecompleter.h:
2221         * gio/gfilterinputstream.h:
2222         * gio/gfilteroutputstream.h:
2223         * gio/ginputstream.h:
2224         * gio/gmemoryinputstream.h:
2225         * gio/gmemoryoutputstream.h:
2226         * gio/gmountoperation.c:
2227         * gio/gmountoperation.h:
2228         * gio/gnativevolumemonitor.c:
2229         * gio/goutputstream.h:
2230         * gio/gseekable.c:
2231         * gio/gseekable.h:
2232         * gio/gsimpleasyncresult.c:
2233         * gio/gsimpleasyncresult.h:
2234         * gio/gsocketinputstream.h:
2235         * gio/gsocketoutputstream.h:
2236         * gio/gthemedicon.c:
2237         * gio/gthemedicon.h:
2238         * gio/gvfs.h:
2239         * gio/gvolume.c:
2240         * gio/gvolume.h:
2241         * gio/gvolumemonitor.c:
2242         * gio/gvolumemonitor.h:
2243         Add padding in classes where it seems useful
2244         Don't include giotypes.h from public headers
2245         Move in Class definitions into c file where possible
2246         
2247         * gio/glocalfile.c:
2248         Fix warnings
2249
2250 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2251
2252         * docs/reference/gio/gio-docs.xml:
2253         Better structure for API docs
2254
2255 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2256
2257         * gio/gfileicon.c:
2258         * gio/gloadableicon.c:
2259         * gio/gsimpleasyncresult.c:
2260         * gio/gthemedicon.c:
2261         Add some more guards to public functions. Only files missing are now
2262         g*stream*.c.
2263
2264 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2265
2266         * docs/reference/gio/gio-docs.xml:
2267         Remove old files, add missing ones
2268
2269 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2270
2271         * docs/reference/gio/gio-sections.txt:
2272         Restructure
2273         Add missing stuff
2274         Hide implementation classes
2275         
2276         * gio/gdriveprivate.h:
2277         * gio/gvolumeprivate.h:
2278         Remove non-existing function declarations
2279
2280 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2281
2282         * gio/gappinfo.c:
2283         Fix compilation warnings and add guards to the new functions.
2284         
2285         * gio/gasyncresult.c:
2286         * gio/gdummyfile.c:
2287         Add guards to the public functions.
2288         
2289         * gio/gdummyfile.c:
2290         Implement get_path().
2291
2292 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2293
2294         * gio/gfilenamecompleter.c:
2295         Make g_filename_completer_get_completions
2296         return char ** instead of GList for
2297         typesafety.
2298         
2299         * docs/reference/gio/gio-docs.xml:
2300         * docs/reference/gio/gio-sections.txt:
2301         * gio/gappinfo.c:
2302         * gio/gasyncresult.c:
2303         * gio/gbufferedinputstream.c:
2304         * gio/gbufferedoutputstream.c:
2305         * gio/gcancellable.c:
2306         * gio/gcontenttype.c:
2307         * gio/gdatainputstream.c:
2308         * gio/gdataoutputstream.c:
2309         * gio/gdesktopappinfo.c:
2310         * gio/gdirectorymonitor.c:
2311         * gio/gdrive.c:
2312         * gio/gdummyfile.c:
2313         * gio/gfile.c:
2314         * gio/gfileattribute.c:
2315         * gio/gfileenumerator.c:
2316         * gio/gfileicon.c:
2317         * gio/gfileinfo.c:
2318         * gio/gfileinputstream.c:
2319         * gio/gfilemonitor.c:
2320         * gio/gfilenamecompleter.c:
2321         * gio/gfilenamecompleter.h:
2322         * gio/gfileoutputstream.c:
2323         * gio/gfilterinputstream.c:
2324         * gio/gicon.c:
2325         * gio/ginputstream.c:
2326         * gio/giomodule.c:
2327         * gio/gioscheduler.c:
2328         * gio/gloadableicon.c:
2329         * gio/glocaldirectorymonitor.c:
2330         * gio/glocalfile.c:
2331         * gio/glocalfileinputstream.c:
2332         * gio/glocalfilemonitor.c:
2333         * gio/glocalfileoutputstream.c:
2334         * gio/glocalvfs.c:
2335         * gio/gmemoryinputstream.c:
2336         * gio/gmemoryoutputstream.c:
2337         * gio/gmountoperation.c:
2338         * gio/goutputstream.c:
2339         * gio/gpollfilemonitor.c:
2340         * gio/gseekable.c:
2341         * gio/gsimpleasyncresult.c:
2342         * gio/gsocketinputstream.c:
2343         * gio/gsocketoutputstream.c:
2344         * gio/gthemedicon.c:
2345         * gio/gunionvolumemonitor.c:
2346         * gio/gunixdrive.c:
2347         * gio/gunixmounts.c:
2348         * gio/gunixvolume.c:
2349         * gio/gunixvolumemonitor.c:
2350         * gio/gurifuncs.c:
2351         * gio/gvfs.c:
2352         * gio/gvolume.c:
2353         * gio/gvolumemonitor.c:
2354         * gio/gwin32appinfo.c:
2355         Add (mostly stub) doc strings to public functions.
2356         Patch from Andrew Walton (awalton@gmail.com)
2357
2358 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2359
2360         * gio/gappinfo.[ch]:
2361         Added GAppLaunchContext object and pass that to launch.
2362         This allows simple implementation of both
2363         launch-on-screen and startup notification via a gtk+
2364         subclass of GAppLaunchContext
2365         
2366         * gio/gdesktopappinfo.c:
2367         Implement GAppLaunchContext API
2368         
2369         * gio/gwin32appinfo.c:
2370         Update to new APIs
2371
2372 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2373
2374         * gio/gmountoperation.c:
2375         Add some guards to GMountOperation's public functions.
2376
2377 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2378
2379
2380         * gio/gappinfo.c:
2381         * gio/gcancellable.c:
2382         * gio/gdirectorymonitor.c:
2383         * gio/gdrive.c:
2384         * gio/gfileenumerator.c:
2385         * gio/gfilemonitor.c:,
2386         * gio/gfilenamecompleter.c:
2387         * gio/gicon.c:
2388         * gio/giomodule.c:
2389         * gio/gioscheduler.c:
2390         * gio/gseekable.c:
2391         * gio/gurifuncs.c:
2392         * gio/gvolume.c:
2393         * gio/gvolumemonitor.c:
2394         Add even more guards to various public functions.
2395
2396 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2397
2398         * gio/gappinfo.c:
2399         Add guards to the public functions of GAppInfo.
2400
2401 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2402
2403         * gio/gcontenttype.c:
2404         Add some more guards for public functions.
2405
2406 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2407
2408         * gio/fam/fam-module.c:
2409         * gio/fam/gfamdirectorymonitor.c:
2410         * gio/fam/gfamdirectorymonitor.h:
2411         * gio/fam/gfamfilemonitor.c:
2412         * gio/fam/gfamfilemonitor.h:
2413         * gio/inotify/ginotifydirectorymonitor.c:
2414         * gio/inotify/ginotifydirectorymonitor.h:
2415         * gio/inotify/ginotifyfilemonitor.c:
2416         * gio/inotify/ginotifyfilemonitor.h:
2417         Add proper copyright information and remove an unused variable
2418         in the GInotifyFileMonitor constructor.
2419
2420         * gio/gcancellable.c:
2421         Add a guard for a public function and an assertion to prevent
2422         an undefined program state.
2423
2424 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2425
2426         * gio/gfileattribute.c:
2427         Don't run into an assertion if the given attribute value is NULL
2428         in g_file_attribute_value_get_*() but instead return a fallback
2429         value that makes sense in most situations. Passing them a attribute
2430         value with the wrong type will still run into an assertion.
2431
2432 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2433
2434         * gio/gfileattribute.c:
2435         * gio/gfileinfo.c:
2436         Add even more guards to the public functions. Also fix the refcounting
2437         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2438         let g_file_info_list_attributes() filter the attributes by namespace
2439         instead of simply ignoring the namespace parameter.
2440
2441 2007-11-03  Sven Herzberg  <sven@imendio.com>
2442
2443         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2444         (This makes gio work on MacOS X again)
2445
2446 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2447
2448         * Makefile.am:
2449         Build the gio subdirectory before the docs. Otherwise the build will
2450         fail.
2451
2452         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2453         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2454         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2455         Add guards to the public functions.
2456
2457 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2458
2459         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2460         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2461         to prevent a compiler warning.
2462
2463         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2464         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2465         return something in the non-void function find_topdir_for().
2466
2467 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
2468
2469         * configure.ac:
2470         * Makefile.am:
2471         * docs/:
2472         Gtkdocify!
2473
2474 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
2475
2476         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2477         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2478         * gwin32appinfo.c (g_win32_app_info_launch):
2479         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2480         envp_for_startup_id, g_desktop_app_info_launch,
2481         g_desktop_app_info_launch_uris):
2482
2483         Give an opaque 'startup_id' string instead of 'envp'.
2484         Support empty file lists for launching new windows.
2485         Fix infinite recursion bug when launching URIs.
2486
2487 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2488
2489         * gio/gfile.c:
2490         Add guard to the new g_file_get_uri_scheme() function.
2491
2492 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2493
2494         * gio/gfile.c:
2495         Convert a g_return_val_if_fail() to setting the GError instead as
2496         otherwise applications have to verify the parameter before otherwise
2497         and the parameter might come directly from the user.
2498
2499 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2500
2501         * gio/inotify/ginotify*.[ch]:
2502         Add missing copyright information.
2503
2504 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2505
2506         * gio/gfile.c:
2507         Add guards in the beginning of public functions to check for valid
2508         parameters and fix a bug in copy_stream_with_progress() that could've
2509         caused writing less bytes than reading.
2510         * gio/glocalfileinfo.c:
2511         Check for a NULL parameter and set the GError accordingly then.
2512         * gio/goutputstream.c:
2513         Fix the same bug as in gfile.c that could've caused writing less bytes
2514         than reading in g_output_stream_real_splice().
2515
2516 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
2517
2518         * gio/Makefile.am:
2519         Use the correct gvolumeprivate.h naming
2520
2521 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2522
2523         * gio/Makefile.am:
2524         Remove leftover "$(daemon_sources)" entry.
2525
2526 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2527
2528         * gio/fam/*.[ch]:
2529         * gio/*.[ch]:
2530         * programs/*.[ch]:
2531         Add copyright information to source files.
2532
2533 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2534
2535         * gio/gfile.[ch]:
2536         * gio/glocalfile.c:
2537         Add g_file_get_uri_scheme
2538
2539 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2540
2541         * gio/gappinfo.h:
2542         * gio/gdesktopappinfo.c:
2543         * gio/gwin32appinfo.c:
2544         Add g_app_info_get_default_for_uri_scheme.
2545
2546 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2547
2548         * gio/Makefile.am:
2549         Correct filename for gdriveprivate.h
2550
2551 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2552
2553         * gio/gfileinfo.h:
2554         Rename id:value to id:file
2555         Add id:fs
2556         
2557         * gio/glocalfileinfo.c:
2558         Implement id:fs
2559
2560 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2561
2562         * gio/gunixvolume.c:
2563         * gio/gvolume.[ch]:
2564         Remove g_volume_get_platform_id, as thats not
2565         needed with the simpler union volume monitor
2566
2567 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2568
2569         * gio/Makefile.am:
2570         * gio/guniondrive.[ch]: Removed.
2571         * gio/gunionvolume.[ch]: Removed.
2572         Remove GUnionDrive/Volume
2573
2574         * gio/gunionvolumemonitor.c:
2575         Simplify union volume monitor, now we
2576         only have one native volume monitor and
2577         we use the actual volumes/drives from the
2578         child monitors instead of wrapping them
2579
2580         * gio/gnativevolumemonitor.[ch]:
2581         Base class for native volume monitors.
2582         Includes priority and get_volume_for_mountpoint
2583         
2584         * gio/gfile.[ch]:
2585         Add g_file_find_enclosing_volume
2586
2587         * gio/gfileinfo.h:
2588         Remove volume name fs attribute
2589         Add readonly fs attribute
2590         
2591         * gio/glocalfile.c:
2592         Implement readonly attribute
2593         remove volume name attribute
2594         Implement find_enclosing volume
2595         
2596         * gio/gunixmounts.c:
2597         Add a volume for "/".
2598         
2599         * gio/gunixvolume.[ch]:
2600         Set better name for /
2601         
2602         * gio/gunixvolumemonitor.[ch]:
2603         Derive from GNativeVolumeMonitor
2604         Implement get_volume_for_mountpoint
2605         
2606         * gio/gvolume.h:
2607         GVolume typedef moved to gfile.h
2608         
2609         * gio/gvolumeprivate.h:
2610         Add g_volume_get_for_mount_path
2611
2612 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2613
2614         * gio/gunixmounts.[ch]:
2615         Add cache info to unix mount listers
2616         Make getmntent use threadsafe
2617         Add is_system_internal attribute for GUnixMount
2618         
2619         * gio/gunixvolume.c:
2620         (g_unix_volume_new):
2621         Use is_system_internal instead of own code
2622         
2623         * gio/glocaldirectorymonitor.c:
2624         * gio/gunixvolumemonitor.c:
2625         Update to new gunixmounts API
2626         
2627         * gio/glocalfile.c:
2628         Fix warning
2629
2630 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2631
2632         * gio/gfileinfo.h:
2633         Add volume name fsinfo attribute
2634         
2635         * gio/glocalfile.c:
2636         Read volume name info
2637         
2638         * gio/gunionvolumemonitor.c:
2639         Fix infinite loops when finalizing a union volume monitor
2640
2641 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2642
2643         * gio/goutputstream.[ch]:
2644         Add splice() with default implementation
2645         
2646         * gio/gsocketoutputstream.c:
2647         (g_socket_output_stream_write):
2648         Return error on cancellation correctly.
2649         
2650 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2651
2652         * gio/glocalfile.c (g_local_file_trash):
2653         Do not leak a string.
2654
2655 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2656
2657         * gio/gfile.c (g_file_load_contents):
2658         Unref the stream after closing it.
2659
2660 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2661
2662         * gio/gioscheduler.h:
2663         Fix include
2664
2665 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2666
2667         * gio/gfile.[ch]:
2668         * gio/glocalfile.c:
2669         Add g_file_has_uri_scheme and implement for local files
2670
2671 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
2672
2673         * gio/gdesktopappinfo.c: do not leak a string.
2674
2675 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2676
2677         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2678         (g_local_directory_monitor_new):
2679         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2680         (g_local_file_monitor_new):
2681         Only look for the monitor type that should be used the first time
2682         and use g_qsort_with_data() instead of our own bubble sort
2683         implementation.
2684
2685 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2686
2687         * gio/Makefile.am:
2688         * gio/fam/Makefile.am:
2689         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2690         * gio/fam/fam-helper.h:
2691         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2692         * gio/fam/gfamdirectorymonitor.c:
2693         * gio/fam/gfamdirectorymonitor.h:
2694         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2695         * gio/fam/gfamfilemonitor.h:
2696         * gio/glocaldirectorymonitor.c:
2697         * gio/glocaldirectorymonitor.h:
2698         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2699         * gio/glocalfilemonitor.h:
2700         * gio/inotify/Makefile.am:
2701         * gio/inotify/ginotifydirectorymonitor.c:
2702         * gio/inotify/ginotifydirectorymonitor.h:
2703         * gio/inotify/ginotifyfilemonitor.c:
2704         * gio/inotify/ginotifyfilemonitor.h:
2705         Implement the FAM and Inotify monitors as
2706         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2707         their own GIO module. GLocal(Directory|File)Monitor will use the
2708         monitor with the highest rank that is supported on that machine.
2709
2710 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
2711
2712         * gio/Makefile.am:
2713         Change GIO module dir to $(libdir)/gio/modules and change
2714         the log domain from GVFS to GIO. Also only export symbols starting
2715         with g_ in the resulting library.
2716         * gio/test-streams.c: (main):
2717         Set log handler for the GIO log domain.
2718
2719 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2720
2721         * gio/gfilenamecompleter.[ch]:
2722         Add g_filename_completer_set_dirs_only
2723
2724 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2725
2726         * gio/Makefile.am:
2727         * gio/gurifuncs.[ch]:
2728         Add some simple URI helpers
2729         
2730         * gio/gfilenamecompleter.[ch]:
2731         Added object for filename (parse name actually) completion
2732         
2733         * gio/glocalvfs.c:
2734         Handle ~ in parse names
2735
2736 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2737
2738         * gio/gfileinfo.h:
2739         * gio/glocalfileinfo.c:
2740         Add and implement id:value attribute
2741
2742 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2743
2744         * gio/gdrive.[ch]:
2745         * gio/guniondrive.c:
2746         * gio/gunixdrive.c:
2747         Add and implement g_drive_has_volumes
2748         
2749 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2750
2751         * gio/gfileinfo.h:
2752         * gio/glocalfileinfo.[ch]:
2753         Add unix:is_mountpoint and implement for local files
2754
2755 2007-10-16  Alexander Larsson  <alexl@redhat.com>
2756
2757         * gio/gunionvolumemonitor.c:
2758         (g_union_volume_monitor_init):
2759         Fix up the unix type getting so that it works with gcc
2760         
2761 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2762
2763         * gio/gfileinfo.h:
2764         * gio/glocalfileinfo.c:
2765         Add thumbnail:failed to file info
2766
2767 2007-10-12  Richard Hult  <richard@imendio.com>
2768
2769         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2770         optimizing away the get_type call (happens with some gcc versions,
2771         like the one shipped with OS X 10.4).
2772
2773 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2774
2775         * gio/glocalfileinfo.c:
2776         (_g_local_file_info_set_attribute):
2777         Fix build if not HAVE_XATTR
2778         Patch from Milosz Derezynski <internalerror@gmail.com>
2779
2780 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
2781
2782         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2783         around for review, otherwise I would have asked you before
2784         committing)
2785
2786 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2787
2788         * gio/gfileinfo.h:
2789         Add thumbnail:path attribute
2790         
2791         * gio/glocalfileinfo.c:
2792         Implement thumbnail:path for local files
2793
2794 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2795
2796         * gio/glocalfileinfo.c:
2797         (_g_local_file_info_get):
2798         Avoid duplicate icon names
2799
2800 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2801
2802         * gio/gthemedicon.[ch]:
2803         Change g_themed_icon_get_names return type to const
2804
2805 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2806
2807         * gio/glocalfileinfo.c:
2808         Don't reference freed memory
2809
2810 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2811
2812         * gio/gfileattribute.c:
2813         Handle objects
2814         
2815         * gio/glocalfileinfo.c:
2816         Return icon info
2817
2818 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2819
2820         * gio/gfileinfo.c:
2821         Check for NULL icons
2822
2823         * gio/gfileattribute.c:
2824         Don't dup when getting objects (same as for string attributes)
2825
2826         * gio/gicon.c (g_icon_equal):
2827         Safely handle NULLs in equal
2828
2829 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2830
2831         * gio/gfileinfo.h:
2832         Fix c++ compilation issues
2833         Patch from Milosz Derezynski <internalerror@gmail.com>
2834
2835 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2836
2837         * programs/gio-monitor-dir.c:
2838         Don't crash if dir monitor not supported.
2839
2840 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2841
2842         * gio/gioerror.h:
2843         Add missing G_END_DECLS
2844
2845 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2846
2847         * gio/gfile.c: (g_file_set_display_name),
2848         (g_file_query_settable_attributes),
2849         (g_file_query_writable_namespaces):
2850         Return NULL not FALSE on errors as the return type is a pointer.
2851
2852 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2853
2854         * gio/glocalfile.c: (g_local_file_monitor_file):
2855         Don't call monitor_file on the default interface vtable (which
2856         is NULL) but simply return NULL. The caller, GFile, will create a
2857         polling monitor if NULL is returned.
2858
2859 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2860
2861         * Makefile.am:
2862         * configure.ac:
2863         * gio-unix-2.0.pc.in:
2864         Add gio-unix-2.0.pc if OS_UNIX
2865         
2866         * gio/Makefile.am:
2867         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2868
2869 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2870
2871         * gio/gunixmounts.[ch]:
2872         Make unix mount monitoring API sane.
2873         Now its just a object with mounts_changed
2874         and mountpoints_changed signals.
2875         
2876         * gio/glocaldirectorymonitor.c:
2877         * gio/gunixvolumemonitor.c:
2878         Use new mount monitor api
2879
2880 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2881
2882         * gio/gunixmounts.[ch]:
2883         Move guess type into one call for mounts and one for mountpoints
2884         
2885         * gio/gunixdrive.c:
2886         * gio/gunixvolume.c:
2887         Update
2888
2889 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2890
2891         * gio/gunixmounts.[ch]:
2892         Remove _ prefix in preparation to make this semi-public
2893         Hide implementation of structs
2894         
2895         * gio/glocaldirectorymonitor.c:
2896         * gio/gunixdrive.c:
2897         * gio/gunixvolume.c:
2898         * gio/gunixvolumemonitor.c:
2899         Update for above API changes
2900
2901 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2902
2903         * gio/gfile.c:
2904         Better polling fallback. This also handles the case where we have
2905         a monitor_file implementation, but it fails.
2906
2907 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2908
2909         * gio/gfile.[ch]:
2910         * gio/glocalfile.c:
2911         * gio/gunixmounts.c:
2912         * programs/gio-monitor-dir.c:
2913         * programs/gio-monitor-file.c:
2914         Added cancellable to file monitoring calls.
2915         These are really sync calls and need this.
2916
2917 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
2918
2919         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2920         (g_local_vfs_class_init):
2921         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2922         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2923
2924 2007-10-05  Alexander Larsson  <alexl@redhat.com>
2925
2926         * gio/gdirectorymonitorprivate.h: 
2927         * gio/gfilemonitorprivate.h: 
2928         * gio/gdirectorymonitor.h:
2929         * gio/gfilemonitor.h:
2930         Remove *private.h and move to the public API, so that
2931         we can do implementations outside gio (such as in gvfs)
2932         
2933         * gio/gdirectorymonitor.c:
2934         * gio/gfilemonitor.c:
2935         * gio/glocaldirectorymonitor.c:
2936         * gio/gpollfilemonitor.c:
2937         * gio/inotify/inotify-helper.c:
2938         * gio/fam/fam-helper.c:
2939         Update to the new header names
2940
2941 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
2942
2943         * gio/gdirectorymonitor.c:
2944         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2945         GTypes as abstract.
2946
2947 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2948
2949         * gio/glocalfileinfo.c (get_access_rights):
2950         Set CAN_TRASH when we can move the file.
2951         We should really also check for a parent trash dir.
2952
2953 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2954
2955         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2956         Add can_trash access attribute
2957
2958 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2959
2960         * gio/glocalfile.c:
2961         (g_local_file_trash):
2962         Create info file first. This is per-spec and allows
2963         us to actually trash directories.
2964
2965 2007-10-02  Alexander Larsson  <alexl@redhat.com>
2966
2967         * gio/gdesktopappinfo.c:
2968         Implement the new mime support code.
2969         Always set app as handling mimetype when being set as default for it
2970
2971 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2972
2973         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2974         Fix up check for xattrs:
2975
2976 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2977
2978         * gio/gappinfo.c:
2979         (g_app_info_set_as_default_for_extension):
2980         (g_app_info_add_supports_type):
2981         (g_app_info_can_remove_supports_type):
2982         (g_app_info_remove_supports_type):
2983         Make these fail nicely if not implemented
2984
2985 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
2986
2987         * gio/glocalfileoutputstream.c:
2988         * gio/glocalfileoutputstream.h:
2989         * gio/test-gio.c:
2990         * gio/gfile.c:
2991         * gio/gfile.h:
2992         * gio/glocalfile.c:
2993         * programs/gio-save.c: 
2994         Add a GFileCreateFlags argument to operations that can create
2995         a new file.
2996
2997 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2998
2999         * gio/gappinfo.[ch]:
3000         * gio/gdesktopappinfo.c:
3001         Add more (stubbed out) mime API needed for nautilus
3002
3003 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3004
3005         * gio/gappinfo.h:
3006         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3007         Add g_app_info_set_as_default_for_extension.
3008         
3009         * gio/gdesktopappinfo.c:
3010         Dummy for g_app_info_set_as_default_for_extension
3011         Support flags in g_app_info_create_from_commandline
3012
3013         * gio/gwin32appinfo.c:
3014         * gio/test-gio.c:
3015         Update for API changes
3016         
3017         * gio/gthemedicon.c:
3018         Properly NULL-terminate list of icon names
3019
3020 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3021
3022         * gio/gloadableicon.h:
3023         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3024
3025 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3026
3027         * gio/Makefile.am:
3028         Install headers in $includedir/gio-standalone/
3029         
3030         * gio-2.0.pc.in: Added.
3031         * gio-standalone.pc.in: Removed.
3032         * configure.ac:
3033         * Makefile.am:
3034         Renamed pkg-config file to match glib (for future move)
3035         Update to the new include dir
3036         
3037         * gio/gappinfo.h:
3038         Add more TODO comments
3039
3040 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3041
3042         * gio/gdesktopappinfo.[ch]:
3043         Expose new_from_filename
3044         Add getter for is_hidden and handle it better
3045
3046 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3047
3048         * gio/gfileinfo.[ch]:
3049         Rename g_file_size_format_for_display to
3050         g_format_file_size_for_display.
3051         Now it doesn't have the g_file prefix, so we
3052         can later move it to glib.
3053
3054 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3055
3056         * gio/gappinfo.[ch]:
3057         Add g_app_info_get_id and g_app_info_get_executable.
3058         Make all getters non-reffing
3059         Make g_app_info_launch take GFile arguments.
3060         Add must_support_uris argument to g_app_info_get_default_for_type.
3061         
3062         * gio/gwin32appinfo.c:
3063         Update to GAppInfo api changes
3064         
3065         * gio/gdesktopappinfo.c:
3066         Update to GAppInfo api changes
3067         Implement supports_xdg_startup_notify
3068         
3069         * gio/gfileicon.c (g_file_icon_get_file):
3070         Make getter non-reffing.
3071         
3072         * gio/test-gio.c:
3073         Update to new API
3074
3075 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3076
3077         * gio/gfileinfo.[ch]: 
3078         Add g_file_size_format_for_display helper
3079         
3080 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3081
3082         * gio/glocalfileinfo.c:
3083         Set UNIX_GID from gid, not from uid
3084
3085 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3086
3087         * gio/gfile.[ch]:
3088         Add g_file_set_attributes_async
3089
3090 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3091
3092         * gio/glocalfile.c (g_local_file_set_display_name):
3093         Fix set_display_name to actually rename to the right place.
3094         Use lstat to look for existing files so we don't overwrite
3095         broken links.
3096
3097 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3098
3099         * gio/gfile.[ch]:
3100         Add g_file_set_display_name_async()
3101
3102 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3103
3104         * gio/gfile.[ch]:
3105         Add load_partial_contents async calls
3106         
3107         * gio/glocalfile.c:
3108         Make internal function static
3109
3110 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3111
3112         * gio/glocalfileinfo.c:
3113         Correctly detect broken symlinks
3114
3115 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3116
3117         * gio/gcancellable.c (g_cancellable_cancel):
3118         Allow cancel on NULL cancellable
3119
3120 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3121
3122         * gio/gsimpleasyncresult.c:
3123         Don't allocate g_error manually.
3124         Fixes g_slice/g_new mixup crash
3125
3126 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3127
3128         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3129         Actually set active_backend.
3130         This means the monitor will be cancelled correctly.
3131
3132 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3133
3134         * gio/gdirectorymonitor.c:
3135         Set timeout to NULL when destroying
3136
3137 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3138
3139         * gio/gioerror.h:
3140         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3141         that is a better description of the error.
3142
3143 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
3144
3145         * gio/gvfs.c: (g_vfs_get_local):
3146         Make the local vfs variable static. The same instance should
3147         always be returned.
3148
3149 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3150
3151         * gio/glocalfileinfo.c:
3152         Pass in actual length read into sniffer, not the length
3153         we tried to read.
3154
3155 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3156
3157         * gio/gfileenumerator.c:
3158         * gio/gfileinfo.c:
3159         * gio/gfileinfo.h:
3160         * gio/gfileinputstream.c:
3161         * gio/gfileoutputstream.c:
3162         * gio/ginputstream.c:
3163         * gio/goutputstream.c:
3164         Don't crash if async callbacks are NULL
3165
3166 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3167
3168         * gio/gfile.[ch]:
3169         Add async enumerate_children method and default
3170         implementation
3171
3172 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3173
3174         * gio/gfile.[ch]
3175         Add g_file_contains_file & g_file_get_relative_path, since they
3176         were needed for nautilus.
3177         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3178         to make it clearer.
3179         
3180         * gio/gdummyfile.c:
3181         * gio/glocalfile.c:
3182         Implement new methods
3183
3184 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3185
3186         * gio/gfile.[ch]:
3187         * gio/gfileinputstream.[ch]:
3188         * gio/gfileoutputstream.[ch]:
3189         * gio/glocalfile.c:
3190         * gio/glocalfileenumerator.[ch]:
3191         * gio/glocalfileinfo.[ch]:
3192         * gio/glocalfileinputstream.c:
3193         * gio/glocalfileoutputstream.c:
3194         * gio/gpollfilemonitor.c:
3195         * programs/gio-copy.c:
3196         * programs/gio-info.c:
3197         * programs/gio-move.c:
3198         Rename get_file_info to query_info() to make it clearer
3199         that these are not simple getters, but do i/o.
3200
3201 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3202
3203         * gio/gdatainputstream.[ch]:
3204         * gio/test-streams.c:
3205         Use _read_XXX instead of _get_XXX for the i/o calls
3206         in GDataInputStream
3207
3208 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3209
3210         * gio/gappinfo.h:
3211         Added needed stuff to TODO comment
3212
3213 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3214
3215         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3216         Don't error out removing the backup copy if it doesn't
3217         already exist.
3218
3219 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3220
3221         * programs/Makefile.am:
3222         * programs/gvfs-*.c: 
3223         * programs/gio-*.c:
3224         Renamed apps from gvfs-xxx to gio-xxx.
3225
3226 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3227
3228         * gio/gfile.c:
3229         * gio/gfileoutputstream.[ch]:
3230         * gio/glocalfileoutputstream.c:
3231         * programs/gvfs-save.c:
3232         g_file_output_stream_get_etag doesn't do i/o, so remove
3233         cancellation and error.
3234
3235 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3236
3237         * gio/gfile.[ch]:
3238         Add new_etag output to replace_contents functions
3239
3240 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3241
3242         * gio/gfileoutputstream.[ch]:
3243         Add async get_file_info and default implementation
3244
3245 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3246
3247         * gio/gfileinputstream.c:
3248         Implement fallback wrapper for async get_file_info
3249
3250 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3251
3252         * gio/gfile.[ch]:
3253         Add etag out argument to load_contents
3254         
3255         * gio/test-gio.c:
3256         Update to new API
3257
3258 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3259
3260         * gio/gcontenttype.c (looks_like_text):
3261         Whitespace like tab, cr and lf do not make the
3262         file binary.
3263
3264 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3265
3266         * gio/gfileinputstream.[ch]:
3267         Add async get_file_info.
3268
3269 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3270
3271         * gio/goutputstream.c (g_output_stream_write_all):
3272         Allow NULL for bytes_written
3273
3274 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3275
3276         * gio/gmemoryinputstream.[ch]:
3277         Add accessors for data
3278
3279 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3280
3281         * gio/gdatainputstream.c (g_data_input_stream_get_until):
3282         Don't crash if length is NULL
3283