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