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