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