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