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