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