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