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