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