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