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