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