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