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