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