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