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