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