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