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