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