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