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