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