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