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