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