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