5cd74ea7d3831e0f94ed690424bcdbd8c9654ec3
[platform/upstream/glib.git] / gio / ChangeLog
1 2009-03-01  Matthias Clasen  <mclasen@redhat.com>
2
3         * gdatainputstream.c: Fix docs
4
5 2009-02-27  Matthias Clasen  <mclasen@redhat.com>
6
7         Bug 573421 – Clarify message format in GMountOperation
8
9         * gmountoperation.c: Document that the first line of a
10         multi-line message should be interpreted as a heading.
11
12 2009-02-27  David Zeuthen  <davidz@redhat.com>
13
14         Bug 573462 – GEmblemedIcon leak
15
16         * gemblemedicon.c (g_emblemed_icon_finalize):
17         Avoid leaking a GList.
18
19 2009-02-27  Alexander Larsson  <alexl@redhat.com>
20
21         * giomodule-priv.h:
22         * giomodule.c:
23         Split out the extension point registration code to its
24         own function.
25
26         * glocalvfs.c:
27         Ensure extension points are registered before extending it.
28         It might not have happened yet if g_vfs_get_local() is called.
29
30 2009-02-26  Alexander Larsson  <alexl@redhat.com>
31
32         Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
33         * gmemoryoutputstream.c:
34         Track actual valid size, even if we later seek back.
35
36         * tests/memory-output-stream.c:
37         Add testcase
38
39 2009-02-26  Alexander Larsson  <alexl@redhat.com>
40
41         Bug 543183 – Clarify docs for g_file_has_prefix
42
43         * gfile.c: (g_file_has_prefix):
44         Clarify how the prefix matching works.
45
46 2009-02-26  Alexander Larsson  <alexl@redhat.com>
47
48         * gdesktopappinfo.c:
49         Support desktop file key X-GIO-NoFuse which disables
50         use of fuse pathnames for %u and %U arguments.
51
52 2009-02-25  Alexander Larsson  <alexl@redhat.com>
53
54         Bug 570073 – Add support for reading filesystems on Interix
55
56         * gunixmounts.c (_g_get_unix_mounts):
57         Support Interix. Patch from  Fabian Groffen 
58
59 2009-02-25  Paolo Borelli  <pborelli@katamail.com>
60
61         Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
62
63         * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
64
65 2009-02-23  Alexander Larsson  <alexl@redhat.com>
66
67         * glocalfile.c:
68         Remove accidentally commited spew
69
70 2009-02-20  Alexander Larsson  <alexl@redhat.com>
71
72         * gcontenttype.c:
73         (g_content_type_guess):
74         Don't ever sniff desktop files when the filename is known.
75         In other words, only allow desktop files with the .desktop extension
76         and when the filename isn't known.
77         This is a security precaution since desktop files can execute
78         arbitrary code when launched and we don't want to allow them to
79         try and hide as another type. There is no legit reason to not
80         have the .desktop extension anyway.
81
82 2009-02-19  Alexander Larsson  <alexl@redhat.com>
83
84         Bug 549298 – impossible to copy files with p (pipe) flag
85
86         * gfile.c:
87         (file_copy_fallback):
88         Error out if the source file is a special file
89
90 2009-02-18  Alexander Larsson  <alexl@redhat.com>
91
92         Bug 560564 – Replacing a symlink with its linked file truncates the original file
93
94         * gioenums.h:
95         Add G_FILE_CREATE_REPLACE_DESTINATION
96
97         * glocalfileoutputstream.c:
98         (handle_overwrite_open):
99         (_g_local_file_output_stream_replace):
100         Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
101
102         * gfile.c:
103         (file_copy_fallback):
104         Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
105         with overwrite.
106
107 2009-02-17  Ryan Lortie  <desrt@desrt.ca>
108
109         * gfileinfo.c: unref the destination's attribute matcher before
110         overwriting it.
111
112 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
113
114         * === Released 2.19.8 ===
115
116 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
117
118         * gio.symbols: Add missing exports for new API
119
120         * gdatainputstream.c: Add missing Since: tags.
121
122 2009-02-16  Matthias Clasen  <mclasen@redhat.com>
123
124         * === Released 2.19.7 ===
125
126 2009-02-16  Matthias Clasen  <mclasen@redhat.com>
127
128         * gmountoperation.[hc]: Add an "aborted" signal to abort a
129         mount operation from the backend side.
130
131         * gvolume.h: Add docs regarding the "aborted" signal.
132
133 2009-02-16  Ryan Lortie  <desrt@desrt.ca>
134
135         Bug 505042 – add file attribute for actually used file size in bytes
136
137         * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
138         "standard::allocated-size"
139         * gfileattribute.c: document
140         * glocalfileinfo.c: set the allocated size from st_blocks * 512
141
142 2009-02-16  Ryan Lortie  <desrt@desrt.ca>
143
144         Bug 571598 – GAsyncResult with NULL gobject
145
146         * gsimpleasyncresult.c: remove various assertions and add some checks
147         to allow for a NULL source_object in GSimpleAsyncResult.
148
149 2009-02-11  Matthias Clasen  <mclasen@redhat.com>
150
151         Bug 541225 – Can't compile gio on AIX : duplicate case value in 
152         gioerror.c
153
154         * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY. 
155         Reported by Nicolas Joseph 
156
157 2009-02-04  Alexander Larsson  <alexl@redhat.com>
158
159         Bug 566747 - URIs opened with firefox %u load as local files
160
161         * gdummyfile.c (g_dummy_file_get_path):
162         Dummy files are never used for local paths, so always return NULL
163         in get_path(). 
164
165 2009-02-02  Matthias Clasen  <mclasen@redhat.com>
166
167         * === Released 2.19.6 ===
168
169 2009-01-31  Paolo Borelli  <pborelli@katamail.com>
170
171         * glocalfileinfo.c: plug a tiny mem leak.
172
173 2009-01-29  Ryan Lortie  <desrt@desrt.ca>
174
175         * gioerror.c (g_io_error_from_errno): handle all possible cases of
176         EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
177
178 2009-01-28  Ryan Lortie  <desrt@desrt.ca>
179
180         Bug 568575 – _async functions for GDataInputStream
181
182         * gdatainputstream.h:
183         * gdatainputstream.c: add _async versions of read_line and read_until.
184         * gio.symbols:
185         * ../docs/reference/gio/gio-sections.txt: add new functions
186         * tests/sleepy-stream.c: new test case for async read line
187         * tests/Makefile.am: add new test
188
189 2009-01-22  Ryan Lortie  <desrt@desrt.ca>
190
191         Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
192
193         * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
194         g_buffered_input_stream_fill): check for count < -1 instead of count <
195         0 and copy modified check to non-async version for consistency.
196         document the "count = -1" API.
197
198 2009-01-22  Ryan Lortie  <desrt@desrt.ca>
199
200         Bug 568741 – g_buffered_input_stream_fill_async doesn't work
201
202         * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
203         after we have successfully read data from the base stream
204
205 2009-01-20  Ryan Lortie  <desrt@desrt.ca>
206
207         Bug 568394 – dropping the last reference to a stream filter closes the
208         base stream
209
210         * gfilterinputstream.h:
211         * gfilterinputstream.c: add "close-base-stream" property and only
212         close the base stream if it is true.  issue async close callbacks from
213         correct source object.
214         * gfilteroutputstream.h:
215         * gfilteroutputstream.c: add a "close-base-stream" property and only
216         close the base stream if it is true.  issue async close callbacks from
217         correct source object.
218         * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
219         before closing the base stream.  fix invalid source tag comparison in
220         close_async (was comparing to flush_async).
221         * ../docs/reference/gio/gio-sections.txt:
222         * gio.symbols: add
223         g_filter_{in,out}put_stream_{g,s}et_close_base_stream
224         * tests/filter-streams.c: new test cases
225         * tests/Makefile.am: add new test
226         * tests/.gitignore: add new test
227
228 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
229
230         * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
231
232 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
233
234         * === Released 2.19.5 ===
235
236 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
237
238         * gappinfo.h: Document get_commandline vfunc
239
240 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
241
242         * gunixmounts.c: Some stylistic fixes.
243
244 2009-01-08  Matthias Clasen  <mclasen@redhat.com>
245
246         Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG 
247         functions in non-UTF8 locale
248
249         * xdgmime/xdgmimecache.c:
250         * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
251
252 2009-01-08  Matthias Clasen  <mclasen@redhat.com>
253
254         * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
255
256 2009-01-07  Matthias Clasen  <mclasen@redhat.com>
257
258         Bug 566770 – error code 0 for Too many open files is useless
259
260         * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
261         Requested by Olivier Sessink.
262
263         * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
264
265         * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
266         G_IO_ERROR_TOO_MANY_OPEN_FILES.
267
268 2009-01-05  Matthias Clasen  <mclasen@redhat.com>
269
270         * === Released 2.19.4 ===
271
272 2009-01-05  Dan Winship  <danw@gnome.org>
273
274         * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
275         "const char **" to avoid a warning.
276
277         * gemblem.c (g_emblem_from_tokens):
278         * gemblemedicon.c (g_emblemed_icon_from_tokens):
279         * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
280         variables
281
282 2009-01-05  Matthias Clasen <mclasen@redhat.com>
283
284         Bug 566064 – Add NOATIME flag to query_info_flags
285
286         * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
287         sniffing for mime types. Based on a patch by A. Walton
288
289 2009-01-05  Ryan Lortie  <desrt@desrt.ca>
290
291         * tests/.gitignore: improve
292         * tests/Makefile.am: add new simple-async-result test
293         * tests/simple-async-result.c: new file to test GSimpleAsyncResult
294
295 2009-01-05  Ryan Lortie  <desrt@desrt.ca>
296
297         * gio.symbols:
298         * ../docs/reference/gio/gio-sections.txt:
299         * gsimpleasyncresult.h:
300         * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
301         Implementation by Dan Winship.  Closes #566170.
302
303 2008-12-31  Matthias Clasen <mclasen@redhat.com>
304
305         * gdesktopappinfo.c:
306         * gunixmounts.c:
307         * gunixinputstream.c:
308         * gunixoutputstream.c: Add a note about being UNIX-specific.
309
310 2008-12-15  Matthias Clasen <mclasen@redhat.com>
311
312         * === Released 2.19.3 ===
313
314 2008-12-12  Dan Winship  <danw@gnome.org>
315
316         * pltcheck.sh: make this work on x86_64
317
318 2008-12-12  Ryan Lortie  <desrt@desrt.ca>
319
320         * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
321         with them
322
323 2008-12-12  Ryan Lortie  <desrt@desrt.ca>
324
325         * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
326         multiple mount entries match the requested path
327
328 2008-12-10  Alexander Larsson  <alexl@redhat.com>
329
330         Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
331         g_simple_async_result_run_in_thread
332         
333         * gsimpleasyncresult.c:
334         Make g_simple_async_result_run_in_thread check cancellation before
335         calling out to the user in the callback. This means we guarantee
336         reporting cancels of async operations from the main threads, which
337         is probably more in line with what users expect.
338         
339         Note that there are still no such guarantees for cancelling sync
340         operations or cancelling async operation from outside the main
341         thread. Furthermore, the exact behaviour of async implementations
342         not using run_in_thread may differ.
343
344 2008-12-09  Alexander Larsson  <alexl@redhat.com>
345
346         Bug 515777 - incorrect date&time on copy
347         
348         * glocalfile.c:
349         (g_local_file_class_init):
350         Copy mtime by default
351         
352         * gfile.c:
353         Change docs about G_FILE_COPY_ALL_METADATA to not mention
354         mtime as an example.
355
356 2008-12-08  Matthias Clasen  <mclasen@redhat.com>
357
358         Bug 558298 – Hide ecryptfs mounts
359
360         * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts, 
361         so that the desktop does not show both the mount and the target 
362         directory. Patch by Martin Pitt
363  
364 2008-12-08  Matthias Clasen  <mclasen@redhat.com>
365
366         Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close 
367         property
368
369         * gio.symbols:
370         * gunixinputstream.[hc]:
371         * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
372         including getters and setters. Patch by Maciej Piechotka
373
374 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
375
376         Bug 558458 – Cannot build gio tests on Solaris using SUN cc
377
378         * tests/live-g-file.c: Support compilers that don't understand
379         ISO C varargs macros. Patch by Eric Lamarque
380
381 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
382         
383         Bug 526320 – should not list mounts that the user doesn't have 
384         permission to use
385
386         gunixmounts.c: Use g_access() to check accessibility of local devices.
387         Patch by Martin Pitt
388
389 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
390
391         * === Released 2.19.2 ===
392
393 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
394
395         * gdatainputstream.c (g_data_input_stream_read_line): Revert the
396         behaviour change, and update the docs instead, to avoid breaking
397         existing users.
398
399 2008-12-01  Matthias Clasen  <mclasen@redhat.com>
400
401         * === Released 2.19.1 ===
402
403 2008-12-01  Alexander Larsson  <alexl@redhat.com>
404
405         * gio.symbols:
406         * gmount.[ch]:
407         * gunionvolumemonitor.c:
408         * gvolume.c:
409         Add and document g_mount_is_shadowed plus calls
410         to set/unset a mount as shadowed
411         
412 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
413
414         * gio/tests/g-icon.c: Comment out two failing tests
415
416 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
417
418         Bug 555486 – No way to recover command line from GAppInfo
419
420         * gio.symbols:
421         * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
422         by Hans Petter Jansson.
423         
424         * gdesktopappinfo.c: And implement it here.
425
426 2008-11-28  Christian Dywan  <christian@imendio.com>
427
428         * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
429
430 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
431
432         Bug 559633 – gtk_image_new_from_gicon does not always work for
433         .desktop files
434
435         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
436         extensions on icon names.  Proposed by Axel von Bertoldi.
437
438 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
439
440         Bug 548163 – Nautilus displays wrong error message for too long file
441         names
442
443         * glocalfile.c (g_local_file_set_display_name): Correctly set
444         error conditions if the new name is e.g. too long. Reported
445         by Leonardo Ferreira Fontenelle.
446
447 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
448
449         Bug 547481 – g_data_input_stream_read_line behaves not as stated in
450         the docs
451
452         * gdatainputstream.c (g_data_input_stream_read_line): Behave as
453         documented and include the line end in the returned string. 
454         Pointed out by Paul Pogonyshev.
455
456         * tests/data-input-stream.c: Fix the read_line test to test the
457         documented behaviour.
458
459 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
460
461         * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
462         files that have been created by g_app_info_create_from_commandline.
463
464 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
465
466         Bug 541715 – win32 : patch for warnings and signature problems in 
467         recent code
468         
469         * glocalvfs.c: Avoid unused variables. Pointed out by Jody
470         Goldberg.
471
472 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
473
474         Bug 562393 – g_buffered_input_stream_read_byte broken if data
475         available
476
477         * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
478         handling of buffered content.  Patch by Philip Withnall
479
480         * tests/buffered-input-stream.c: Add a testcase for this bug.
481         * tests/Makefile.am: And build it
482
483 2008-11-28  Matthias Clasen  <mclasen@redhat.com>
484
485         Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
486         '/'
487
488         * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
489         '/' away. Spotted by Dan Williams.
490
491 2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>
492
493         Bug 561375 – Leaks mountpoint description
494
495         * glocalfile.c: (get_mount_info): don't leak the mountpoint description
496         string.
497
498 2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>
499
500         Bug 561352 – Leak of icon description
501
502         * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
503         generic icon string.
504
505 2008-11-14  Matthias Clasen <mclasen@redhat.com>
506
507         * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
508
509 2008-11-12  Tor Lillqvist  <tml@novell.com>
510
511         Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
512
513         * win32/gwinhttpvfs.h: Move the set of function pointers to
514         winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
515         pointer to that in the GWinHttpVfsClass.
516         
517         * win32/gwinhttpvfs.c: Move the lookup of functions from
518         winhttp.dll into a function of its own, that stores the pointers
519         in a separate GWinHttpDllFuncs variable. Add two bookeeping
520         booleans lookup_done and funcs_found.
521
522         Don't call g_io_extension_point_implement() to register the
523         winhttp extension unless winhttp.dll has been successfully loaded
524         and the required functions found in it.
525
526         * win32/gwinhttp*.c: Adjust calls of the functions looked up from
527         winhttp.dll correspondingly.
528
529 2008-10-28  Cosimo Cecchi  <cosimoc@gnome.org>
530
531         reviewed by: Alexander Larsson <alexl@redhat.com>
532
533         * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
534         clearer about the behavior when there's no more content to read.
535
536 2008-10-27  Federico Mena Quintero  <federico@novell.com>
537
538         * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
539
540 2008-10-27  Tor Lillqvist  <tml@novell.com>
541
542         Bug 557592 - Missing include in gwinhttpfile.c
543
544         * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
545         MSVC2008.
546
547 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
548
549         Bug 556910 – [fam-helper.c:223]: Memory leak: sub
550
551         * fam/fam-helper.c: Fix a memory leak and formatting issues.
552         Reported by Daniel Marjamäki
553
554 2008-10-23  Matthias Clasen  <mclasen@redhat.com>
555
556         * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
557
558 2008-10-23  Alexander Larsson  <alexl@redhat.com>
559
560         Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
561         
562         * glocalfileinfo.c:
563         (_g_local_file_info_get):
564         Don't return the fallback icon (text-x-generic) for all files.
565         This is causing problems with theme icon lookup and custom mime
566         icons, as the generic fallback overrides custom mime icons in
567         inherited themes.
568
569         This is a slight change as applications might not get an icon wher
570         they previously did. But there is no guarantee to get on neither before
571         or after this change, so it should not break applications. Changes
572         to nautilus and gtk+ will be done to manually use the generic fallback
573         icon if no icon is found, but this is only required for rare cases.
574
575 2008-10-21  Alexander Larsson  <alexl@redhat.com>
576
577         * gfileinfo.h:
578         Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
579
580 2008-10-21  Alexander Larsson  <alexl@redhat.com>
581
582         Bug 555740 - gicon serialization
583         Based on patch from David Zeuthen
584         
585         * gicon.[ch]:
586         * gio.symbols:
587         Add g_icon_to_string() and g_icon_new_for_string().
588         
589         * gemblem.c:
590         * gemblemedicon.c:
591         * gfileicon.c:
592         * gthemedicon.c:
593         Implement icon serialization for built-in icon types
594         
595         * tests/Makefile.am:
596         * tests/g-icon.c:
597         Added GIcon serialization test
598
599 2008-10-16  Matthias Clasen <mclasen@redhat.com>
600
601         * === Released 2.19.0 ===
602
603 2008-10-16  Matthias Clasen  <mclasen@redhat.com>
604
605         Bug 556422 – g_file_enumerator_next_file: unclear whether return 
606         value needs to be freed
607
608         * gfileenumerator.c (g_file_enumerate_next_file): Clarify
609         the return value docs. Pointed out by Armin Burgmeier
610
611 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
612
613         Bug 556334 – Warning when building without selinux support
614
615         * glocalfileinfo.c: Avoid compiler warnings when selinux is
616         disabled. Patch by Pascal Terjan
617
618 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
619
620         Bug 556335 – make check fails in abicheck.sh
621
622         * gio.symbols: Add g_file_attribute_info_list_get_type. 
623         Pointed out by Pascal Terjan.
624
625 2008-10-13  Alexander Larsson  <alexl@redhat.com>
626
627         * gdesktopappinfo.c:
628         When adding an application as handling a mime type (but
629         not as the default), copy the full list of desktop ids handling
630         that type in before adding the new one on the end of the list.
631         This means we're not accidentally changing the default by overriding
632         the info from the later directories in the search path.
633         
634         Also, fixes small leak of removed_entries.
635
636 2008-10-12  David Zeuthen  <davidz@redhat.com>
637
638         * gio.symbols:
639         * gunionvolumemonitor.c:
640         * gvolumemonitor.h:
641         Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
642
643 2008-10-10  Alexander Larsson  <alexl@redhat.com>
644
645         * gfileattribute.c (escape_byte_string):
646         Upper half of byte is >> 4, not >> 8.
647         Found by Kjartan Maraas via sparse
648
649 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
650
651         Bug 555711 – Wrong fallback order of mimetype icons
652
653         * gcontenttype.c: Don't prefer generic icons over
654         default mimetype icons.
655
656         * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon): 
657         * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
658         to generic icons.
659         Patch by Krysztof Kosiński
660
661 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
662
663         Bug 555121 – Improved build-time handling of gio module-dir
664
665         * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
666         * Makefile.am: Create the module dir.
667
668 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
669
670         * gio/glocalfileinfo.c:
671         * gio/tests/live-g-file.c:
672         * gio/gsimpleasyncresult.c: Fix gcc warnings.
673
674 2008-10-09  Alexander Larsson  <alexl@redhat.com>
675
676         * gunixinputstream.c (g_unix_input_stream_read):
677         Actually return -1 in case of cancelled, not old res value.
678
679 2008-10-06  Colin Walters  <walters@verbum.org>
680
681         Bug 554745 - GFileAttributeInfoList should be boxed
682
683         * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
684         for convenience of bindings.
685         * gio/gfileattribute.h: Prototype it.
686
687 2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>
688
689         Bug 554970 – segfault when update-desktop-database is not available
690         on the system
691
692         * gdesktopappinfo.c (run_update_command): Have the error set before 
693         using it.
694
695 2008-10-01  David Zeuthen  <davidz@redhat.com>
696
697         * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
698         file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
699         instead of the gio URI (such as sftp://foo/file.avi) when using
700         g_app_info_launch() and friends. With a sufficiently recent gvfs,
701         apps using gio+gvfs will map the FUSE file:// URI back to the gio
702         URI (and thus bypass the fuse daemon) thanks the patch from bug
703         #530654.  Since Nautilus is an user of g_app_info_launch() it
704         means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
705         when launced via the file manager. Win. Fixes bug #528670.
706
707         * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
708         mapping to the description of GAppInfo.
709
710 2008-09-30  Tor Lillqvist  <tml@novell.com>
711
712         * tests/Makefile.am: Build desktop-app-info only on Unix.
713
714         * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
715         g_critical(). Pass a large enough result buffer to
716         GetVolumePathNameW(). Just use MAX_PATH.
717
718 2008-09-29  David Zeuthen  <davidz@redhat.com>
719
720         * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
721
722 2008-09-26  Dan Winship  <danw@gnome.org>
723
724         * tests/data-input-stream.c:
725         * tests/data-output-stream.c:
726         * tests/live-g-file.c:
727         * tests/memory-input-stream.c:
728         * tests/memory-output-stream.c: Use g_assert_error() and
729         g_assert_no_error()
730
731 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
732         
733         Bug 545350 – GAppInfo deletion
734         Bug 545351 – Reset associations for content type
735
736         * gio.symbols:
737         * gappinfo.[hc]: New functions g_app_info_can_delete,
738         g_app_info_delete and g_app_info_reset_type_associations.
739
740         * gdesktopappinfo.c:
741         * gwin32appinfo.c: Implementations of these.
742
743         * tests/Makefile.am:
744         * tests/desktop-app-info.c: Tests for GAppInfo functionality.
745
746 2008-09-26  Dan Winship  <danw@gnome.org>
747
748         Bug 505361 – gunixinputstream.c assumes poll() available
749         Bug 509446 – portable blocking gio cancellation
750
751         * gcancellable.c (g_cancellable_make_pollfd): New method to make a
752         GPollFD for a cancellable (which is slightly more complicated on
753         Windows than Unix).
754
755         * gunixinputstream.c (g_unix_input_stream_read):
756         * gunixoutputstream.c (g_unix_output_stream_write): Use
757         g_cancellable_make_pollfd() and g_poll() rather than using poll()
758         directly.
759
760         * tests/unix-streams.c: test of GUnixInputStream,
761         GUnixOutputStream, and GCancellable.
762
763 2008-09-26  Dan Winship  <danw@gnome.org>
764
765         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
766         cast to stop a gcc warning
767
768         * gfile.c (g_file_copy_attributes): add parens to stop a gcc
769         warning
770
771 2008-09-25  Dan Winship  <danw@gnome.org>
772
773         Bug 553426 - cancellable clarifications
774
775         * gcancellable.c (g_cancellable_class_init): Add a note to the
776         "cancelled" signal docs warning about thread-safety issues
777         (g_cancellable_cancel): Note that cancelling an asynchronous
778         operation takes effect asynchronously, not immediately.
779
780 2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>
781
782         * gioenums.h: Add new GFileCopyFlag, to leave target file with
783         default perms, instead of setting the source file perms, in a copy
784         operation.
785
786         * gfile.c (g_file_copy_attributes) 
787         (build_attribute_list_for_copy)
788         (should_copy): Not copy "unix::mode" attribute if we have received
789         G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
790
791 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
792
793         * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
794
795 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
796
797         * === Released 2.18.1 ===
798
799 2008-09-16  Michael Natterer  <mitch@imendio.com>
800
801         * gcontenttype.c (g_content_type_guess): can't assign the return
802         value of g_strdupv() to an array. Fill the array manually with
803         const strings instead (it is never freed anyway). Fixes the
804         build. Also fixed indentation.
805
806 2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>
807
808         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
809         Fix trivial typo to unbreak the build (there was a colon
810         instead of a semicolon at the end of a statement).
811
812 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
813
814         Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
815         file is empty
816
817         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
818         an empty Path value.  
819
820 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
821
822         Bug 551681 – g_content_type_guess() too naive with filenames
823
824         * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
825         at the end of the filename, and declare it a directory.
826         Patch by Bastien Nocera
827
828 2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>
829
830         Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
831         aren't clear.
832
833         * gdesktopappinfo.c: add a note in the docs clarifying what the
834         "filename" parameter really is.
835
836 2008-09-12  Tor Lillqvist  <tml@novell.com>
837
838         * gwin32appinfo.c (g_win32_app_info_launch): Don't call
839         FormatMessage() etc here. Call g_win32_error_message() instead
840         which already does all that. Besides, the code was broken as it
841         called the default "A" version of FormatMessage() but still
842         thought it produced a wide string.
843
844 2008-09-12  Michael Natterer  <mitch@imendio.com>
845
846         * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
847         in the documentation.
848
849 2008-09-08  Christian Neumair  <cneumair@gnome.org>
850
851         * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
852         * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
853         Use non-blocking pipe for mount helper I/O. Fixes #550647.
854
855 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
856
857         Bug 551149 – xdgmime mem leak
858
859         * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
860         a memory leak. Patch by Christian Persch
861
862 2008-09-04  Tor Lillqvist  <tml@novell.com>
863
864         * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
865         NULL.
866
867 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
868
869         * === Released 2.18.0 ===
870
871 2008-09-02  Michael Natterer  <mitch@imendio.com>
872
873         * *.h: big header formatting cleanup: indentation, vtable
874         formatting, consistent spacing in (* vfunc), trailing whitespace
875         removal. Formatting should be pretty consistent in all GIO headers
876         now.
877
878 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
879
880         * gmount.h: Document guess_content_type sync vfunc.
881
882 2008-09-02  Michael Natterer  <mitch@imendio.com>
883
884         * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
885         fix parent_class member to be GFilterOutputStreamClass (not
886         GOutputStreamClass). Drop three pointers of padding, which is
887         exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
888         so the class struct size stays the same.
889
890 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
891
892         Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
893
894         * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
895         nonexisting return values. Pointed out by Cosimo Cecchi.
896
897 2008-08-23  Tor Lillqvist  <tml@novell.com>
898
899         Bug 548988 - g_file_replace fails on Windows when the target file
900         exists already
901
902         * glocalfileoutputstream.c (g_local_file_output_stream_close): On
903         Windows, close the file before potentially renaming it (in case we
904         have been writing to a file with a temporary name).
905
906         (g_local_file_output_stream_close, handle_overwrite_open): Use
907         GLocalFileStat instead of plain struct stat, for passing to
908         _g_local_file_info_create_etag(). Thus also use _fstati64()
909         instead of plain fstat() on Windows.
910
911 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
912
913         * === Released 2.17.7 ===
914
915 2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
916
917         * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
918         Fix for #542156.
919
920 2008-08-13  Tor Lillqvist  <tml@novell.com>
921
922         * win32/gwinhttpvfs.c
923         * win32/gwinhttpvfs.h
924         * win32/gwinhttpfile.c
925         * win32/gwinhttpfileinputstream.c
926         * win32/gwinhttpfileoutputstream.c: Refactor some common code
927         snippets into helper functions. Check HTTP response status
928         codes. Implement g_winhttp_file_query_info(), looking at
929         Content-Length, Content-Type and Last-Modified.
930
931         * win32/winhttp.h: Add some symbolic constants that are not
932         publicly documented. Just a handful, so it should be OK to use
933         information from the Windows SDK's headers.
934
935 2008-08-13  Tor Lillqvist  <tml@novell.com>
936
937         Bug 546582 - Callbacks from GFileMonitor present a GFile in the
938         wrong folder
939
940         * win32/gwin32directorymonitor.c
941         (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
942
943 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
944
945         * ginputstream.c:
946         * goutputstream.c: Add intro docs.
947
948 2008-08-13  Tor Lillqvist  <tml@novell.com>
949
950         * win32/gwinhttpfileoutputstream.c
951         (g_winhttp_file_output_stream_write): Don't write the
952         Content-Length header ourselves, WinHttpSendRequest() takes care
953         of that when the dwTotalLength parameter is non-zero. Increment
954         offset by the number of actual bytes sent, although I wonder if
955         such a scenario is possible where less than requested would be
956         sent and accepted by the server without errors.
957
958 2008-08-13  Tor Lillqvist  <tml@novell.com>
959
960         * win32/gwinhttpvfs.c
961         * win32/gwinhttpvfs.h
962         * win32/gwinhttpfile.c
963         * win32/gwinhttpfile.h
964         * win32/gwinhttpfileinputstream.c
965         * win32/gwinhttpfileinputstream.h
966         * win32/gwinhttpfileoutputstream.c
967         * win32/gwinhttpfileoutputstream.h: New files implementing
968         GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
969         Windows. The implementation uses the WinHttp API. Both reading and
970         writing are supported, i.e. GET and PUT requests. When writing,
971         each write call is done using a separate PUT request with a
972         Content-Range header. Requests for file URIs and plain pathnames
973         are forwarded to GLocalVfs.
974
975         * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
976         WINE. Used as there is no <winhttp.h> bundled with mingw, and
977         requiring people to download the Windows SDK just for this one
978         header is not reasonable.
979
980         * win32/Makefile.am: Add above files.
981
982         * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
983         the plumbing for the above.
984
985 2008-08-11  Sven Neumann  <sven@gimp.org>
986
987         * gfilenamecompleter.c
988         * glocaldirectorymonitor.c
989         * gmountoperation.c
990         * gunionvolumemonitor.c
991         * gunixmount.c
992         * gunixmounts.c
993         * gunixvolume.c
994         * gunixvolumemonitor.c
995         * gvolumemonitor.c
996         * gwin32mount.c
997         * gwin32volumemonitor.c: use canonical signal names.
998
999 2008-08-11  Tor Lillqvist  <tml@novell.com>
1000
1001         * Makefile.am: Put a list of the platform-dependent .la files in
1002         the subdirectories in the platform_deps Make variable, and make
1003         libgio-2.0.la depend on that, so that it gets relinked if one of
1004         the dependent libraries has changed.
1005
1006 2008-08-11  Tor Lillqvist  <tml@novell.com>
1007
1008         * Makefile.am (platform_libadd): Remove -lwininet which had been
1009         added by mistake. We will probably eventually be using WinHTTP,
1010         not the older WinInet anyway. (Actually I am working on it.)
1011
1012 2008-08-10  Felix Riemann  <friemann@svn.gnome.org>
1013
1014         Bug 547080 – g_file_copy leaks expected errors
1015
1016         * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1017         before trying the next fallback routine.
1018
1019 2008-08-09  Loïc Minier  <lool@dooz.org>
1020
1021         Bug 535124 – umask 002 not being applied for new directories, new
1022         files get the correct umask
1023
1024         * gfile.c (g_file_make_directory)
1025         (g_file_make_directory_with_parents): Document ownership and
1026         permissions of newly created directories as being the default
1027         ones of the process.
1028
1029 2008-08-08  Loïc Minier  <lool@dooz.org>
1030
1031         Bug 535124 – umask 002 not being applied for new directories, new
1032         files get the correct umask
1033
1034         * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1035         0755 as umask
1036
1037 2008-08-08  Tor Lillqvist  <tml@novell.com>
1038
1039         * gwin32mount.c: Remove unused code. Whitespace cleanup.
1040
1041         * gwin32volumemonitor.c (get_connected_drives): Put questionable
1042         code that didn't actually do anything inside #if 0, and add a
1043         comment wondering what the code was supposed to do. This also gets
1044         rid of a leftover debugging printout.
1045
1046 2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>
1047
1048         * gfileicon.c (g_file_icon_get_property)
1049         (g_file_icon_set_property): New functions.
1050         (g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
1051         property.
1052         (g_file_icon_new): Use the property (bug #546132).
1053
1054 2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
1055
1056         * gthemedicon.c (g_themed_icon_get_property): Also handle
1057         `PROP_USE_DEFAULT_FALLBACKS'.
1058         (g_themed_icon_class_init): Make
1059         `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1060
1061 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
1062
1063         Bug 546371 – Improve docs re g_file_monitor
1064
1065         * gfilemonitor.c: Mention g_file_monitor() in the docs.
1066
1067 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1068
1069         * === Released 2.17.6 ===
1070
1071 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1072
1073         * === Released 2.17.5 ===
1074
1075 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1076
1077         Bug 546017 – Don't copy attributes when copying a symlink
1078
1079         * gfile.c (g_file_copy_attributes): Specify
1080         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
1081         g_file_set_attributes_from_info. Patch by Christian Kellner
1082
1083 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1084
1085         * gemblemedicon.[hc]: 
1086         * gio.symbols:
1087         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1088         a bit more extensible. Work by Clemens Buss.
1089
1090         * gioenums.h: Add GEmblemOrigin.
1091         * Makefile.am: Glue
1092
1093 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
1094
1095         Bug 546079 – leak in xdgmime
1096         
1097         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1098         
1099 2008-08-03  Tor Lillqvist  <tml@novell.com>
1100
1101         * win32/gwin32directorymonitor.h
1102         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1103         style.
1104
1105 2008-08-03  Tor Lillqvist  <tml@novell.com>
1106
1107         * win32/gwin32directorymonitor.c
1108         (g_win32_directory_monitor_callback): Make prototype match
1109         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1110         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1111         pointer.
1112
1113         (g_win32_directory_monitor_constructor):
1114         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1115         names in the GLib API on Windows, so convert to UTF-16 and open
1116         with CreateFileW().
1117
1118 2008-08-03  Tor Lillqvist  <tml@novell.com>
1119
1120         Bug 541036 - Gnumeric crashes when trying to open Desktop or
1121         user's folder under Windows
1122
1123         * win32/gwin32directorymonitor.c
1124         (g_win32_directory_monitor_constructor): Ignore error from
1125         CreateFile() when opening directory. Instead of asserting, just
1126         store INVALID_HANDLE_VALUE then in
1127         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1128         ReadDirectoryChangesW().
1129         (g_win32_directory_monitor_cancel): Don't attempt to close
1130         directory handle if it is INVALID_HANDLE_VALUE.
1131
1132 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
1133
1134         * gdesktopappinfo.c: Remove debug spew
1135
1136 2008-08-01  Hans Breuer  <hans@breuer.org>
1137
1138         * makefile.msc : add gemblembedicon
1139
1140 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
1141
1142         Bug 545457 – gdmsetup crashed with SIGSEGV in
1143         g_unix_mount_guess_should_display()
1144
1145         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
1146         crash if no mount is found.
1147
1148 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1149
1150         Bug 545203 – gfile.c: argument is different type.
1151
1152         * gfile.c (open_read_async_thread): Pass a GError **
1153         to g_file_set_error_literal.
1154         Reported by Kazuki Iwamoto
1155
1156 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1157
1158         Bug 545157 – wrong/no list of "open with" applications for .cc and
1159         .cpp files
1160
1161         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1162         Collect all ancestors, not just direct parents. Pointed
1163         out by Bastien Nocera
1164
1165 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1166
1167         * Makefile.am: Install gemblemedicon.h
1168
1169 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1170
1171         * gemblemedicon.[hc]: Add a GIcon implementation that can
1172         add an emblem to another icon.
1173
1174         * gio.h:
1175         * Makefile.am:
1176         * gio.symbols: Glue
1177
1178         * gloadableicon.c:
1179         * gfileicon.c: Small documentation additions.
1180
1181 2008-07-28  Tor Lillqvist  <tml@novell.com>
1182
1183         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1184         type.
1185
1186 2008-07-27  Tor Lillqvist  <tml@novell.com>
1187
1188         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1189
1190 2008-07-24  David Zeuthen  <davidz@redhat.com>
1191
1192         * gmount.[ch]:
1193         * gio.symbols:
1194         Also export a g_mount_guess_content_type_sync() function.
1195
1196 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
1197
1198         529694 – SELinux context setting support
1199
1200         * gfileinfo.c: Support setting selinux attributes.
1201         Patch by Tomas Bzatek
1202
1203 2008-07-22  Priit Laes <plaes@plaes.org>
1204
1205         Bug 544140 - fam-helper 64-bit issue?
1206
1207         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1208
1209 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
1210
1211         * === Released 2.17.4 ===
1212
1213 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
1214
1215         * gvolumemonitor.[hc]:
1216         * gmountoperation.c:
1217         * gioenums.h:
1218         * gdrive.c:
1219         * gvfs.c:
1220         * gmount.c: Documentation fixes
1221
1222 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
1223
1224         543504 – crash in Epiphany Web Browser: Opening local file
1225
1226         * gappinfo.c:
1227         * gasyncresult.c:
1228         * gdesktopappinfo.c:
1229         * gdrive.c:
1230         * gfile.c:
1231         * gicon.c:
1232         * gloadableicon.c:
1233         * gmount.c:
1234         * gseekable.c:
1235         * gvolume.c: Register types thread-safely.
1236         Patch by Christian Persch
1237
1238 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1239
1240         * gcontenttype.c: Remove debug spew
1241
1242 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1243
1244         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1245         any applications
1246
1247         * fen/fen-kernel.c: Remove a warning that was causing
1248         crashes. Reported by Lin Ma.
1249
1250 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1251
1252         Bug 543040 – async reading on dummy file will crash on
1253         GIO_USE_VFS=local
1254
1255         * gfile.c (open_read_async_thread): Cope with read_fn being
1256         NULL. Reported by Lin Ma.  
1257
1258 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
1259
1260         * gio.symbols:
1261         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1262
1263 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1264
1265         * gvfs.h:
1266         * gdesktopappinfo.h: 
1267         * giomodule.c: Rename a chapter id to avoid filename conflict.
1268
1269 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1270
1271         Bug 540616 – mem leak in filechooser button
1272
1273         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1274         the mount entry. Reported by Chrisitan Persch
1275
1276 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
1277
1278         * gfile.c: Small documentation fixes.
1279
1280 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
1281
1282         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1283
1284 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
1285
1286         * gvolumemonitor.c:
1287         * gfile.c:
1288         * gvolume.c:
1289         * gmount.c: Documentation improvements.
1290
1291 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
1292
1293         * gio.symbols:
1294         * gmount.[hc]: Add g_mount_guess_content_type(). 
1295
1296 2008-07-06  David Zeuthen  <davidz@redhat.com>
1297
1298         * gio.symbols:
1299         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1300         is needed for easily handling adoption of foreign volumes by
1301         out-of-process volume monitors (#541793)
1302
1303 2008-07-06  David Zeuthen  <davidz@redhat.com>
1304
1305         * gvolumemonitor.[ch]:
1306         * gunionvolumemonitor.c: Export the eject-button signal on the
1307         volume monitor class (#541794).
1308
1309 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1310
1311         * gappinfo.c: More doc tweaks
1312
1313 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
1314
1315         * gappinfo.c: Clarify some docs
1316
1317 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1318
1319         * gdesktopappinfo.c: Fix a stupid mistake.
1320
1321 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1322
1323         * === Released 2.17.3 ===
1324
1325 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1326
1327         * gfilemonitor.c: Fix the build.
1328
1329 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1330
1331         Bug 536160 – Add g_file_monitor()
1332
1333         * gio.symbols:
1334         * gfile.[hc]: Add g_file_monitor which can return either
1335         a file or a directory monitor.  Proposed by Behdad Esfahbod
1336
1337 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1338
1339         536733 – gio build failure on Irix
1340
1341         * glocalfile.c: Use a configure check for structfs.f_bavail.
1342
1343 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
1344
1345         Bug 534639 – add g_desktop_app_info_new_from_keyfile
1346
1347         * gio.symbols:
1348         * gdesktopappinfo.[hc]: Add a function to create a
1349         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1350
1351 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1352
1353         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1354
1355 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
1356
1357         * gunixmounts.c: Fix a doc typo.
1358
1359 2008-07-01  Cody Russell  <bratsche@gnome.org>
1360
1361         * gio/gcontenttype.c:
1362         * gio/gwin32appinfo.c:
1363         * gio/gwin32volumemonitor.c:
1364         * gio/gwin32mount.c: Fixed some include problems.
1365
1366 2008-07-01  Cody Russell  <bratsche@gnome.org>
1367
1368         * gio/gioenums.h:
1369         * gio/giotypes.h:
1370         Moved all relevant typedefs into these files.
1371
1372         * gio/*.[ch]:
1373         Updated wrt added files.
1374
1375         Split types into separate file for easier maintainership. (#538564)
1376
1377 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1378
1379         Bug 540331 – g_file_append_to () documentation: can return NULL
1380
1381         * gfile.c (g_file_append_to): Clarify docs.
1382         Patch by Jared Moore
1383
1384 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1385
1386         Bug 539090 – g_content_type_from_mime_type() should unalias
1387
1388         * gcontentype.c (g_content_type_from_mime_type): Unalias.
1389         Patch by Markus Bergman
1390
1391 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1392
1393         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1394         g_atomic_pointer_get
1395
1396         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1397         on ppc and alpha. Reported by Mart Raudsepp
1398
1399 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1400
1401         * tests/Makefile.am: 
1402         * tests/memory-output-stream.c: Add some tests for
1403         GMemoryOutputStream. 
1404
1405 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1406
1407         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1408         0, ...)
1409
1410         * gmemoryoutputstream.c (array_resize): Handle truncation to
1411         zero correctly. Reported by Akira Tagoh
1412
1413 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1414
1415         * gmemoryoutputstream.c: Trivial doc fixes
1416
1417 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
1418
1419         Bug 540802 – g_list_prepend doesn't concat lists
1420
1421         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1422         one list to another. Pointed out by Jan Arne Petersen
1423
1424 2008-06-28  Michael Natterer  <mitch@imendio.com>
1425
1426         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1427
1428 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
1429
1430         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1431         to avoid problems with partial icon themes.
1432         
1433 2008-06-17  Hans Breuer  <hans@breuer.org>
1434
1435         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
1436         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1437         access again on win32, see bug #538127
1438         * giomodule.c : ensure GWin32VolumeMonitor is registered
1439         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1440         * Makefile.am makefile.msc : updated
1441
1442 2008-06-16  Hans Breuer  <hans@breuer.org>
1443
1444         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
1445         and initialization in one step avoids c99ism
1446
1447 2008-06-16  Christian Persch  <chpe@gnome.org>
1448
1449         * gio/gappinfo.c
1450         * gio/gbufferedinputstream.c
1451         * gio/gcancellable.c
1452         * gio/gdatainputstream.c
1453         * gio/gdesktopappinfo.c
1454         * gio/gfile.c
1455         * gio/gfileenumerator.c
1456         * gio/gfileinputstream.c
1457         * gio/gfileoutputstream.c
1458         * gio/ginputstream.c
1459         * gio/glocaldirectorymonitor.c
1460         * gio/glocalfile.c
1461         * gio/glocalfileenumerator.c
1462         * gio/glocalfileinfo.c
1463         * gio/glocalfilemonitor.c
1464         * gio/glocalfileoutputstream.c
1465         * gio/gmemoryinputstream.c
1466         * gio/gmemoryoutputstream.c
1467         * gio/goutputstream.c
1468         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
1469         bug #535947.
1470
1471 2008-06-16  Tor Lillqvist  <tml@novell.com>
1472
1473         Bug 538362 - Get Win32 icons back in the file chooser
1474
1475         * gcontenttype.c (g_content_type_get_icon): Look up the icon
1476         corresponding to a file extension in the Registry. Patch by Hans
1477         Breuer.
1478         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1479         
1480 2008-06-16  Tor Lillqvist  <tml@novell.com>
1481
1482         Patches by Hans Breuer:
1483
1484         * glocalfile.c (is_xp_or_later): Handle compiling against older
1485         SDK headers with missing VerifyVersionInfo().  Conditioned on
1486         _MSC_VER, but should probably use some better test.
1487         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1488         uninitialised statfs_result variable on Win32.
1489
1490 2008-06-16  Michael Natterer  <mitch@imendio.com>
1491
1492         * *.c: chain up unconditionally in finalize() and dispose(). Also
1493         don't dereference these function pointers when calling them since
1494         that has no meaning at all.
1495
1496 2008-06-16  Ross Burton  <ross@burtonini.com>
1497
1498         * gfileenumerator.c:
1499         Remove check for dispose implementation as it annoys Emmanuele.
1500         
1501 2008-06-16  Ross Burton  <ross@burtonini.com>
1502
1503         Bug 536252 – GFileEnumerator should allow access to the containing
1504         GFile
1505         
1506         * gfileenumerator.c:
1507         * gfileenumerator.h:
1508         * gfile.h:
1509         Add g_file_enumerator_get_container() and a container writeable
1510         construct-only property.  Also shuffle around typedefs to make it
1511         compile.
1512         
1513         * glocalfileenumerator.c:
1514         * glocalfileenumerator.h:
1515         * glocalfile.c:
1516         Instead of a string filename take a GFile in the constructor and
1517         use it to set the container property.
1518         
1519         * gio.symbols:
1520         Update with new API.
1521
1522 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
1523
1524         * gfile.c: Make includes more uniform
1525
1526 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
1527
1528         * tests/live-g-file.c (sample_struct):
1529         Use less fancy unicode filenames, so the test doesn't fail
1530         on Mac OS X (#531476).
1531
1532 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
1533         
1534         * === Released 2.17.2 ===
1535
1536 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
1537
1538         * === Released 2.17.1 ===
1539
1540 2008-06-11  A. Walton  <awalton@gnome.org>
1541
1542         * tests/g-file.c (test_g_file_new_null):
1543         Fix broken test case.
1544
1545 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1546
1547         * pltcheck.sh: We use g_clear_error now.
1548
1549 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1550
1551         * glocalfile.c (g_local_file_enumerate_children): Revert
1552         an unintended change.
1553
1554 2008-06-11  Matthias Clasen <mclasen@redhat.com>
1555
1556         * gfile.c (g_file_replace_contents): Don't unref before the last use.
1557
1558 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1559
1560         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1561         folder
1562         
1563         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1564         as icon for the desktop directory, also make user-home and
1565         user-desktop the preferred icons.
1566
1567 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1568
1569         * gio.symbols:
1570         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1571         to add a name to the front of the list.
1572
1573 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1574
1575         Bug 537392 – Additional colon in xattr name
1576
1577         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1578         too. Reported by  Alessandro Morandi 
1579
1580 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1581
1582         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1583         file systems
1584
1585         * glocalfile.c (get_fs_type): Add afs and autofs.
1586         Patch by Danny Baumann.
1587
1588 2008-06-10  Matthias Clasen <mclasen@redhat.com>
1589
1590         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1591
1592         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1593         is no parent.  (Owen Taylor, patch by Christian Neumair)
1594         
1595 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
1596
1597         * gfile.c (g_file_replace_contents): do not leak the output stream.
1598
1599 2008-06-10  Michael Natterer  <mitch@imendio.com>
1600
1601         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1602         uninitialized memory as array index.
1603
1604 2008-06-10  Tor Lillqvist  <tml@novell.com>
1605
1606         * gcontenttype.c (g_content_type_can_be_executable)
1607         (g_content_type_get_icon) [Win32]: Add TODO comments.
1608
1609 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1610
1611         * xdgmime/Makefile.am: Fix the build
1612
1613 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1614
1615         * gcontenttype.c (g_content_type_get_icon): Use icons specified
1616         in the shared mime database, if available.
1617
1618         * xdgmime/*: Sync with upstream. This brings support for
1619         glob weights, generic icons, and changes the cache format to 
1620         version 1.1.
1621
1622 2008-05-28  Michael Natterer  <mitch@imendio.com>
1623
1624         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1625         the global CPPFLAGS now.
1626
1627         * tests/data-input-stream.c
1628         * tests/data-output-stream.c
1629         * tests/g-file-info.c
1630         * tests/g-file.c
1631         * tests/live-g-file.c
1632         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1633
1634 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1635
1636         * === Released 2.17.0 ===
1637
1638         * tests/live-g-file.c: Clean up after the tests, so make distcheck
1639         doesn't complain about leftover files.
1640
1641 2008-05-27  simon.zheng  <simon.zheng@sun.com>
1642
1643         * glocalfile.c: (g_local_file_query_filesystem_info):
1644         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1645
1646 2008-05-26  Michael Natterer  <mitch@imendio.com>
1647
1648         * gmemoryoutputstream.h: declare
1649         g_memory_output_stream_get_data_size().
1650
1651 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1652
1653         * tests/*: Make tests work 
1654
1655 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1656
1657         * gio.symbols: Add g_memory_output_stream_get_data_size.
1658
1659 2008-05-25  Ross Burton  <ross@burtonini.com>
1660
1661         * glocalfile.c:
1662         Fix typo in error message (#534764).
1663
1664 2008-05-25  Ross Burton  <ross@burtonini.com>
1665
1666         * Makefile.am:
1667         Fix circular dependency loop for gioenumtypes.h (#534759).
1668
1669 2008-05-19  Hans Breuer  <hans@breuer.org>
1670
1671         * Makefile.am : EXTRA_DIST += makefile.msc
1672
1673 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1674
1675         * gcontenttype.h:
1676         * gcontenttype.c: (g_content_type_from_mime_type):
1677         New function to create a content type from a mime type. (#527175,
1678         Milan Crha)
1679
1680 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1681
1682         Bug 532965 – Should not return filesystem::free for certain file systems
1683
1684         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1685         free space for ncpfs.
1686
1687 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1688
1689         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1690
1691         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1692         st_dev might be zero.
1693
1694 2008-05-16  Tor Lillqvist  <tml@novell.com>
1695
1696         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1697         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1698
1699 2008-05-13  Bastien Nocera  <hadess@hadess.net>
1700
1701         * gfile.c (has_valid_scheme): A URI scheme must start with a
1702         letter, even if later more characters are allowed (#532852)
1703
1704 2008-05-05  Michael Natterer  <mitch@imendio.com>
1705
1706         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1707         code from being checked in that breaks the build of applications
1708         which use G_DISABLE_SINGLE_INCLUDES.
1709
1710         * makegioalias.pl: make the alias file include "glib.h" instead of
1711         "glibconfig.h".
1712
1713         * gio.symbols: whitespace change to force regeneration of the
1714         alias file after above script change.
1715
1716         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1717
1718         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1719
1720         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1721
1722         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1723
1724 2008-04-28  David Zeuthen  <davidz@redhat.com>
1725
1726         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1727         displaying mounts in a subdirectory not accessible to the
1728         user (#526320).
1729
1730 2008-04-22  Michael Natterer  <mitch@imendio.com>
1731
1732         * Makefile.am: fix library versioning (it was 0.0.0).
1733
1734 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
1735
1736         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1737         Default disable all loggings.
1738         * fen/fen-kernel.c: (printevent), (port_add_kevent),
1739         (port_fetch_event_cb): Fixed two macro nits.
1740
1741 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1742
1743         * xdgmime/xdgmime.c: Rework the timestamp checking code
1744         to protect against duplicate directories in XDG_DATA_DIRS.
1745         Fixes fd.o bug 12513, reported by Joe Shaw.
1746
1747 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1748
1749         Partically revert the last commit after realizing that
1750         xdg_mime_media_type_equal doesn't have to init at all.
1751
1752         * xdgmime/xdgmime.h:
1753         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1754
1755         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1756
1757 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1758
1759         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1760         reported by Joe Shaw and Federico Mena Quintero.
1761
1762         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1763         (xdg_mime_media_type_equal): Turn into a wrapper around the 
1764         _-prefixed version.
1765
1766         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1767         functions throughout.
1768
1769 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
1770
1771         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
1772         tolerate an empty TryExec= line without failing; nautilus used
1773         to create launchers with these in previous versions. Fixes #528433
1774
1775 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
1776
1777         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1778         after name. Fixes #527132.
1779
1780 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1781
1782         * gfile.c: (g_file_replace):
1783         Doc update
1784
1785 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
1786
1787         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1788
1789         * gfile.c (file_copy_fallback): Fix the argument order. Patch
1790         by Christian Kellner.
1791
1792 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
1793
1794         * gunixmounts.c: (g_unix_mount_guess_should_display):
1795         Don't list the user directory as a mount, fix potential issue
1796         when other users have a similar naming and don't special case the
1797         gvfs mounts there since that's not required (#525866)
1798
1799 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1800
1801         * glocalfile.c (get_parent):
1802         Don't leak parent.
1803         
1804 2008-03-31  A. Walton  <awalton@svn.gnome.org>
1805
1806         * gfile.c (g_file_query_file_type):
1807         Always return a GFileType enum value (#520715).
1808
1809 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1810
1811         * glocalfileenumerator.c:
1812         Read readdir() info in chunks (of 1000) and sort
1813         the chunks by inode before stat:ing.
1814         This is a 20% performance increase in testing
1815         gvfs-ls on /usr/bin with cold cache.
1816
1817 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1818
1819         * gmemoryoutputstream.c:
1820         Clarify docs for g_memory_output_stream_get_size.
1821         Add g_memory_output_stream_get_data_size.
1822
1823 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1824
1825         * gio.symbols:
1826         * gfile.c:
1827         * gfile.h: Add g_file_query_file_type convenience function
1828         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
1829
1830 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1831
1832         * gfileenumerator.c:
1833         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
1834
1835 2008-03-28  A. Walton  <awalton@svn.gnome.org>
1836
1837         * giomodule.c (_g_io_modules_ensure_loaded):
1838         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
1839         #523039.
1840
1841 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1842
1843         * gfile.c:
1844         (copy_stream_with_progress):
1845         Fix up last commit.
1846         
1847 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1848
1849         * gfile.c:
1850         (copy_stream_with_progress):
1851         (file_copy_fallback):
1852         Fallback to g_file_query_info for source size
1853         if g_file_input_stream_query_info fails. (#524579)
1854
1855 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1856
1857         * glocalfile.c (g_local_file_move):
1858         Reuse old string instead of adding new one.
1859
1860 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
1861
1862         * fen/*.[hc]: still copyright issue. I hate copyright.
1863
1864 2008-03-27  Alexander Larsson  <alexl@redhat.com>
1865
1866         * glocalfile.c (g_local_file_move):
1867         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1868         file over directory. This is according to the docs and what the move via
1869         copy+remove fallback does.
1870
1871 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
1872
1873         * fen/*.[hc]: Updated copyright.
1874
1875 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1876
1877         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1878
1879 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1880
1881         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1882         not emit attribute changed events when optimizing changed events.
1883         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1884         warning messages.
1885
1886 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
1887
1888         * gmountoperation.[hc]: Small documentation additions
1889
1890 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
1891
1892         * gunixmounts.c: (guess_mount_type): 
1893         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1894
1895 2008-03-19  Alexander Larsson  <alexl@redhat.com>
1896
1897         * gfile.c:
1898         (copy_stream_with_progress):
1899         Bump block side for copy to 64k to minimize
1900         overhead for low latency links. (#523015)
1901
1902 2008-03-16  Tor Lillqvist  <tml@novell.com>
1903
1904         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1905         depend on gio.def on Windows.
1906
1907 2008-03-12  David Zeuthen  <davidz@redhat.com>
1908
1909         * gio.symbols:
1910         * gunixmounts.[ch]:
1911         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1912
1913 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1914
1915         * gunixmounts.c:
1916         (guess_mount_type):
1917         Avoid redudant tests (#521851)
1918         Patch from Josselin Mouette
1919
1920 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1921
1922         * gfilemonitor.c:
1923         (g_file_monitor_is_cancelled):
1924         Fix C89 issue (#521672)
1925         Patch from Jens Granseuer
1926
1927 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1928
1929         * fam/fam-helper.[ch]:
1930         * fam/fam-module.c:
1931         Shut down fam (including removing fam GSource) when
1932         module is unloaded (#521513)
1933         Patch from Joe Marcus Clarke   
1934
1935 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1936
1937         * giomodule.c:
1938         (_g_io_modules_ensure_loaded):
1939         Fix up FEN ifdefs
1940
1941 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1942
1943         * glocalfile.c:
1944         (g_local_file_query_filesystem_info):
1945         Use right define name for f_fstypename member check
1946
1947 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1948
1949         * Makefile.am:
1950         * fen/Makefile.am: Added.
1951         * fen/fen-data.[ch]: Added.
1952         * fen/fen-dump.[ch]: Added.
1953         * fen/fen-helper.[ch]: Added.
1954         * fen/fen-kernel.[ch]: Added.
1955         * fen/fen-missing.[ch]: Added.
1956         * fen/fen-node.[ch]: Added.
1957         * fen/fen-sub.[ch]: Added.
1958         * fen/gfendirectorymonitor.[ch]: Added.
1959         * fen/gfenfilemonitor.[ch]: Added.
1960         * giomodule.c:
1961         Added Solaris FEN file notification backend.
1962         Patch from Lin Ma <Lin.Ma@Sun.COM>
1963
1964 2008-03-13  Tor Lillqvist  <tml@novell.com>
1965
1966         * Makefile.am: Actually use the gio.def file when linking the
1967         library on Windows. Produce .lib library for Microsoft's toolchain
1968         when possible. Install the .lib and .def file like for the other
1969         libraries of GLib.
1970
1971 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
1972
1973         * tests/live-g-file.c:
1974         Include live-g-file in standard set of tests, making a temporary
1975         directory in source structure.
1976         
1977         Clean target directory before the tests (write mode only)
1978
1979 2008-03-12  Tor Lillqvist  <tml@novell.com>
1980
1981         Bug 517419 - gio win32 directory monitor
1982         Implementation by Vlad Grecescu.
1983         
1984         * win32/Makefile.am
1985         * win32/gwin32directorymonitor.h
1986         * win32/gwin32directorymonitor.c: New files.
1987
1988         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1989
1990         * Makefile.am: Add the win32 subdirectory.
1991
1992 2008-03-12  Tor Lillqvist  <tml@novell.com>
1993
1994         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1995         normal struct stat on Unix but struct _stati64 on Windows to have
1996         access to 64-bit file size information. Use that instead of struct
1997         stat in the functions declared here in this private header.
1998
1999         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2000         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2001         warnings about unused functions and variables. Don't set
2002         meaningless attributes like inode numbers on Windows.
2003
2004 2008-03-12  Benjamin Otte  <otte@gnome.org>
2005
2006         * gvfs.h:
2007         trim whitespace so gtk-doc groks the function name
2008
2009 2008-03-12  Tor Lillqvist  <tml@novell.com>
2010
2011         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2012         returning FALSE, on Win32.
2013
2014 2008-03-11  Alexander Larsson  <alexl@redhat.com>
2015
2016         * glocalfile.c:
2017         * glocalfileinfo.[ch]:
2018         Correctly implement can_trash by actually
2019         looking for a trash dir, not just assuming
2020         one exists.
2021
2022 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
2023         
2024         * === Released 2.16.1 ===
2025
2026 2008-03-11  Alexander Larsson  <alexl@redhat.com>
2027
2028         * gthemedicon.c:
2029         Fix crashes in new constructor and properties code
2030
2031 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
2032
2033         * gfile.c: Minor spelling correction in documentation:
2034         existance -> existence.
2035
2036 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
2037
2038         * === Released 2.16.0 ===
2039
2040 2008-03-10  Matthias Clasen <mclasen@redhat.com>
2041
2042         * gio.symbols: Remove g_file_contains_file here, too.
2043
2044 2008-03-10  Matthias Clasen <mclasen@redhat.com>
2045
2046         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
2047         Samuel Cormier-Iijima)
2048
2049 2008-03-08  Tor Lillqvist  <tml@novell.com>
2050
2051         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2052         winnt.h. (#521145)
2053
2054 2008-03-07  Alexander Larsson  <alexl@redhat.com>
2055
2056         * glocalfile.c:
2057         (g_local_file_query_filesystem_info):
2058         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2059         Patch from Jasper Lievisse Adriaanse
2060
2061 2008-03-06  Tor Lillqvist  <tml@novell.com>
2062
2063         * gfileinfo.h: Correct milliseconds to microseconds in the doc
2064         comments for the *_USEC attributes.
2065
2066 2008-03-06  Alexander Larsson  <alexl@redhat.com>
2067
2068         * gfile.c (g_file_query_exists):
2069         Add g_return_val_if_fail check (#520700)
2070
2071 2008-03-06  Alexander Larsson  <alexl@redhat.com>
2072
2073         * gdesktopappinfo.c:
2074         * gfilemonitor.c:
2075         * gthemedicon.c:
2076         * gunionvolumemonitor.c:
2077         * gunixmounts.c:
2078         * tests/g-file.c:
2079         * tests/live-g-file.c:
2080         * xdgmime/xdgmimecache.c:
2081         Fix sparse warnings (#519489)
2082
2083 2008-03-05  Alexander Larsson  <alexl@redhat.com>
2084
2085         * gfilemonitor.c:
2086         Make cancellation threadsafe (i.e.
2087         guarantee its only done once, and always
2088         done)
2089         
2090         * glocaldirectorymonitor.c:
2091         Make sure we the monitor lives while the
2092         mounts_changed callback is being called (#520484)
2093
2094 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2095
2096         * gbufferedinputstream.c: Fix typo in parameter
2097         documentation.
2098
2099 2008-03-04  Alexander Larsson  <alexl@redhat.com>
2100
2101         * gfile.c:
2102         Remove deprecated symbols we kept for one release.
2103
2104 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
2105
2106         * ginputstream.c:
2107         * goutputstream.c: Tiny documentation corrections.
2108
2109 2008-03-03  Alexander Larsson  <alexl@redhat.com>
2110
2111         * gunionvolumemonitor.c:
2112         * gvolumemonitor.h:
2113         Fix the adopt_orphan_mount vfunc to take a
2114         volume_monitor reference in an ABI compat way.
2115         This change is not API compat, but the added
2116         arg is not used in the only user of this vfunc, so
2117         all we get is a harmless warning in gvfs (#520169)
2118         
2119 2008-03-01  Benjamin Otte  <otte@gnome.org>
2120
2121         * gfile.c:
2122         clarify docs for g_file_delete().
2123
2124 2008-02-29  Alexander Larsson  <alexl@redhat.com>
2125
2126         * glocalfileinfo.c:
2127         (get_content_type):
2128         Make sure empty files get text/plain type (#518720)
2129
2130 2008-02-27  Alexander Larsson  <alexl@redhat.com>
2131
2132         * gcontenttype.c:
2133         Fix type warnings
2134         
2135         * gunixvolume.c:
2136         (g_unix_volume_mount):
2137         Add missing GMountMountFlags argument
2138
2139 2008-02-26  Alexander Larsson  <alexl@redhat.com>
2140
2141         * glocalfile.c:
2142         (g_local_file_delete):
2143         Handle filesystems (like ntfs-3g) that return EEXIST instead
2144         of ENOTEMPTY (#518816)
2145
2146 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
2147
2148         * === Released 2.15.6 ===
2149
2150 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2151
2152         * gfile.c (g_file_find_enclosing_mount):
2153         * ginputstream.c (g_input_stream_set_pending):
2154         * glocalfile.c (g_local_file_find_enclosing_mount):
2155         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2156         * goutputstream.c (g_output_stream_set_pending):
2157
2158         Fixup translator comments (#518578).
2159
2160 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2161
2162         * gfile.c (g_file_find_enclosing_mount):
2163         * giomodule.c:
2164         * glocalfile.c (g_local_file_find_enclosing_mount):
2165         * goutputstream.c:
2166
2167         Fix a few typos in translator comments and documentation.
2168
2169 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2170
2171         * gfile.c:
2172         * ginputstream.c:
2173         * glocalfile.c:
2174         * gmount.c:
2175         * goutputstream.c:
2176         Add translator comments (#518578)
2177
2178 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2179
2180         * gfile.c:      
2181         Reintroduce g_file_contains_file, keep around for one
2182         unstable release cycle to avoid crashing to many apps.
2183         Make sure to delete after release.
2184
2185 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2186
2187         * gfile.[ch]:
2188         Remove deprecated g_file_contains_file.
2189
2190 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2191
2192         * gfilemonitor.c:
2193         Emit actual change signals in an idle handler.
2194         This avoids reentrance and locking problems in
2195         the file notification backends.
2196         
2197 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2198
2199         * gunixmounts.c:
2200         (g_unix_mount_guess_should_display):
2201         Remove type guessing, instead just display
2202         mounts in /media and in ~/.
2203
2204 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2205
2206         * glocalfile.c:
2207         Make new strings reuse old ones.
2208         
2209 2008-02-25  Alexander Larsson  <alexl@redhat.com>
2210
2211         * glocalfile.c:
2212         Implement trashing and filesystem::readonly for win32 (#517235)
2213         Patch from Yevgen Muntyan
2214
2215 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
2216
2217         * gfileinfo.h: Documentation fixes.
2218
2219 2008-02-22  Alexander Larsson  <alexl@redhat.com>
2220
2221         * gcontenttype.c (g_content_type_get_icon):
2222         Look at old-style gnome mime icon names too, as many
2223         have not moved to the new style.
2224
2225 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
2226
2227         * *.c: Correct the @include in for section docs.
2228
2229 2008-02-21  David Zeuthen  <davidz@redhat.com>
2230
2231         * glocalfileinfo.c: (_g_local_file_info_get):
2232         * gcontenttype.c:
2233         (g_content_type_get_icon): Implement this function by
2234         moving bits from glocalfileinfo.c
2235         (g_content_type_get_description): Unalias before getting
2236         description (#517687)
2237
2238         * gfile.c: (g_file_class_init),
2239         (g_file_query_filesystem_info_async),
2240         (g_file_query_filesystem_info_finish),
2241         (query_filesystem_info_data_free),
2242         (query_filesystem_info_async_thread),
2243         (g_file_real_query_filesystem_info_async),
2244         (g_file_real_query_filesystem_info_finish):
2245         * gfile.h: Implement async version of
2246         g_file_query_filesystem_info()
2247
2248         * gfileinfo.h: Add new attributes for filesystem::use-preview
2249
2250         * gio.symbols: Update
2251
2252         * gthemedicon.c: (g_themed_icon_append_name):
2253         * gthemedicon.h: Add new new convenience function.
2254
2255         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2256         (get_mounts), (get_volumes), (get_connected_drives),
2257         (get_volume_for_uuid), (get_mount_for_uuid),
2258         (g_union_volume_monitor_init), (populate_union_monitor),
2259         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2260         (g_volume_monitor_adopt_orphan_mount):
2261         * gvolumemonitor.c:
2262         * gvolumemonitor.h: Use recursive locks so it's safe for volume
2263         monitor implementations to call into the main volume monitor. Also
2264         separate object initialization and volume monitor initialization
2265         such that non-native volume monitors can properly adopt their
2266         mounts away.
2267
2268 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2269
2270         * gfile.c:
2271         Fix doc typo
2272         
2273 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2274
2275         * gfile.c:
2276         Add more documentation about how GFiles work (from #517086)
2277
2278 2008-02-21  Alexander Larsson  <alexl@redhat.com>
2279
2280         * gfile.[ch]:
2281         * gio.symbols:
2282         Add new g_file_has_prefix that does the same as g_file_contains_file.
2283         Deprecate g_file_contains_file and add a macro that converts
2284         it to g_file_has_prefix.
2285         The reason for this change is that the contains_file() name seems to
2286         imply that this does more work than what it does, but its really only
2287         a name match (from #517086)
2288         
2289         * gdummyfile.c:
2290         * glocalfile.c:
2291         * tests/g-file.c:
2292         Update to match the above change.
2293
2294 2008-02-20  Benjamin Otte  <otte@gnome.org>
2295
2296         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2297         (g_file_eject_mountable):
2298         even more cases of not returning in error path
2299
2300 2008-02-20  Benjamin Otte  <otte@gnome.org>
2301
2302         * gfile.c: (g_file_mount_mountable): 
2303         return from function in error path.
2304
2305 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
2306
2307         * gfile.h:
2308          Remove trailing coma in GMountMountFlags struct
2309
2310 2008-02-18  Alexander Larsson  <alexl@redhat.com>
2311
2312         * glocalfile.c:
2313         * glocalfileinfo.c:
2314         * glocalfileoutputstream.c:
2315         Use g_unlink/g_rename instead of unlink/rename;
2316         do not pass raw filenames to g_set_error. (#517239)
2317         Patch from Yevgen Muntyan.
2318
2319 2008-02-18  Alexander Larsson  <alexl@redhat.com>
2320
2321         * glocalfile.c:
2322         * glocalfileoutputstream.c:
2323         Open files with O_BINARY on windows. (#517140)
2324
2325 2008-02-14  Alexander Larsson  <alexl@redhat.com>
2326
2327         * glocalfileoutputstream.c:
2328         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2329
2330 2008-02-14  Alexander Larsson  <alexl@redhat.com>
2331
2332         * glocalfile.c:
2333         Copy permissions with file on copy (#514084)
2334         This is what cp does and makes sure e.g. the
2335         exec permissions are kept.
2336         Its kinda weird in that it keeps the permission bits
2337         the same while the uid and gid are different. However
2338         the new uid is the user so its not a security issue,
2339         and I've heard no complaints about cp on this issue.
2340
2341 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
2342
2343         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2344
2345 2008-02-13  Alexander Larsson  <alexl@redhat.com>
2346
2347         * inotify/inotify-path.c:
2348         Define IN_ONLYDIR if not in header (#515346)
2349
2350 2008-02-12  Alexander Larsson  <alexl@redhat.com>
2351
2352         * tests/live-g-file.c:
2353         C89 fixes (#515892)
2354
2355 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2356
2357         * === Released 2.15.5 ===
2358
2359 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2360
2361         * gio.symbols: Add g_mount_mount_flags_get_type.
2362
2363 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2364
2365         * gfileinfo.c:
2366         (g_file_info_set_attribute_mask):
2367         (g_file_attribute_matcher_matches_id):
2368         Correctly handle NULL GAttributeMatcher meaning
2369         matches nothing. (Fixes #513492)
2370
2371 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2372
2373         * gfile.[ch]:
2374         * gmount.[ch]:
2375         * gvolume.[ch]:
2376         Added GMountMountFlags enum and added a flags
2377         argument to all mount calls.
2378         
2379         This is an API/ABI change for future extensibility,
2380         as I think we will need at least an
2381         inhibit-autorun flag (the panel needs this).
2382         There are no flags defined yet though.
2383
2384 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2385
2386         * gfileinfo.h:
2387         Added new standard::description attribute.
2388         Requested by Vincent, and useful for both
2389         panel and nautilus
2390
2391 2008-02-11  Alexander Larsson  <alexl@redhat.com>
2392
2393         * gdesktopappinfo.c:
2394         Minor docs cleanup
2395
2396 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2397
2398         * *.c: Documentation additions
2399
2400 2008-02-10  Matthias Clasen <mclasen@redhat.com>
2401
2402         * gappinfo.h: Formatting cleanup
2403         * gappinfo.c: Fix up docs.
2404
2405 2008-02-09  Matthias Clasen <mclasen@redhat.com>
2406
2407         * gunixmounts.c: Consistently use getmntent_r() and fall
2408         back to getmntent().  (#515492)
2409
2410 2008-02-09  Matthias Clasen <mclasen@redhat.com>
2411
2412         * gbufferedinputstream.c:
2413         * ginputstream.c:
2414         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2415
2416         * tests/data-input-stream.c:
2417         * tests/data-output-stream.c: Portability fixes.
2418
2419 2008-02-08  Alexander Larsson  <alexl@redhat.com>
2420
2421         * gio.symbols: 
2422         * gunixvolume.c:
2423         * gvolume.[ch]:
2424         Add g_volume_should_automount.
2425         Docs needed.
2426
2427 2008-02-07  Tor Lillqvist  <tml@novell.com>
2428
2429         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2430         Win32, too Unix-specific.
2431
2432 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
2433
2434         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
2435         a local plt if the compiler doesn't support what we want.  Bug #514702
2436
2437 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
2438
2439         reviewed by: <delete if not using a buddy>
2440
2441         * gfile.c:
2442         * gunixinputstream.c:
2443         * gunixoutputstream.c:
2444
2445 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2446
2447         * tests/Makefile.am:
2448         * tests/live-g-file.c:
2449         * tests/live-g-file.txt:
2450         New GIO testing module working over real data
2451
2452 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2453
2454         * glocalfileoutputstream.c (g_local_file_output_stream_close):
2455         Fallback to rename() if link() is not available
2456         (when no support on target filesystem)
2457
2458 2008-02-06  Michael Natterer  <mitch@imendio.com>
2459
2460         * gfileinfo.c (g_file_info_get_icon): replace
2461         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2462
2463 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
2464
2465         * gfile.c (g_file_create):
2466         Documentation update of error codes
2467
2468 2008-02-06  Alexander Larsson  <alexl@redhat.com>
2469
2470         * gdesktopappinfo.c:
2471         Update to use both mimeapps.list and
2472         defaults.list as discussed on xdg list.
2473
2474 2008-02-06  Benjamin Otte  <otte@gnome.org>
2475
2476         * gasyncresult.c:
2477         * gfilenamecompleter.c:
2478         Fix some typos in the documentation.
2479
2480 2008-02-06  Alexander Larsson  <alexl@redhat.com>
2481
2482         * glocalfile.c (g_local_file_trash):
2483         Don't succeed with trash if newly created
2484         trash dir has the wrong owner. (#514696)
2485
2486 2008-02-05  Alexander Larsson  <alexl@redhat.com>
2487
2488         * glocalfile.c (g_local_file_move):
2489         Don't spew warnings when destination is not
2490         a GLocalFile.
2491
2492 2008-02-03  Hans Breuer  <hans@breuer.org>
2493
2494         * makefile.msc : update
2495
2496 2008-02-01  Michael Natterer  <mitch@imendio.com>
2497
2498         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2499         return value of xdg_mime_list_mime_parents() to a variable of the
2500         correct type.
2501
2502 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2503
2504         * gappinfo.c (g_app_info_launch_uris):
2505         Actually call the launch_uris method, not
2506         launch.
2507
2508 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2509
2510         * gdesktopappinfo.c (g_desktop_app_info_equal):
2511         Ensure appinfos with no id but same pointer value
2512         compare equal
2513
2514 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2515
2516         * gappinfo.c (g_app_info_launch_default_for_uri): 
2517         Don't leak appinfo.
2518         
2519 2008-02-01  Alexander Larsson  <alexl@redhat.com>
2520
2521         * gappinfo.[ch]:
2522         * gio.symbols:
2523         Add g_app_info_launch_default_for_uri utility
2524         function. (#513256)
2525
2526 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
2527
2528         * gdesktopappinfo.c:
2529         Doc fix for g_app_info_get_default_for_uri_scheme ()
2530         Bug #513483.
2531
2532 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2533
2534         * gappinfo.c:
2535         Add doc comment about uris vs GFiles to
2536         g_app_info_launch()
2537         
2538         * gdesktopappinfo.c:
2539         Ensure uris passed to g_app_info_launch_uris()
2540         are not roundtriped through GFile (as that
2541         may be slightly destructive for e.g. mailto: links)
2542
2543 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2544
2545         * tests/data-input-stream.c:
2546         * tests/data-output-stream.c:
2547         C89 fixes from Jens Granseuer (#512849)
2548
2549 2008-01-30  Alexander Larsson  <alexl@redhat.com>
2550
2551         * fam/fam-helper.c:
2552         Fix gamin/fam difference build issue. (#509419)
2553
2554 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2555
2556         * gappinfo.h:
2557         * gdesktopappinfo.c:
2558         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2559
2560 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2561
2562         * gdesktopappinfo.c:
2563         * gdesktopappinfo.h:
2564         giomodule-priv.h include moved to .c file.
2565
2566 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2567
2568         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2569         Remove unused prio/name fields.
2570
2571 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2572
2573         * gcontenttype.c (looks_like_text):
2574         Don't treat whitespace as control chars.
2575
2576 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2577
2578         * gdesktopappinfo.c:
2579         Lazily create the desktop files for appinfos created
2580         by g_app_info_create_from_commandline() when needed
2581         for mime associations. This allows run-time use
2582         of GAppInfo object without creating unnecessary
2583         files on disk.
2584
2585 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2586
2587         * gio.symbols:
2588         Added new symbols to gio.symbols
2589
2590 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2591
2592         * gfile.[ch]:
2593         Add g_file_query_default_handler utility to easily look up
2594         the GAppInfo that handles a file.
2595         
2596         * gdesktopappinfo.[ch]:
2597         * giomodule.c:
2598         Set up an extension point for g_app_info_get_default_for_uri_scheme()
2599         
2600         * gvfs.c:
2601         Remove unused function
2602
2603 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2604
2605         * gfileenumerator.c:
2606         Mention need to free returned value in
2607         g_file_enumerator_next_files_finish docs.
2608         Fix leak if g_file_enumerator_next_files_finish()
2609         not called.
2610
2611 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2612
2613         * gcontenttype.c:
2614         (_g_unix_content_type_get_parents):
2615         Use list_parents, not get_parents from xdgmime, because
2616         the later doesn't use the cache.
2617         
2618         * xdgmime/xdgmimecache.c:
2619         (_xdg_mime_cache_list_mime_parents):
2620         Don't list the same type as parent multiple times.
2621
2622 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2623
2624         * === Released 2.15.4 ===
2625
2626 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2627
2628         * glocalvfs.c:
2629         Register local vfs with prio 0.
2630         
2631         * gvfs.h:
2632         Remove old name and prio class members
2633
2634 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2635
2636         * tests/g-file.c: Disable some tests that are failing in
2637         the absence of a http backend.
2638
2639 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2640
2641         * giomodule.[ch]:
2642         * gio.symbols:
2643         Add registration hooks for extension points.
2644         Register the gio extension points.
2645         
2646         * fam/gfamdirectorymonitor.c:
2647         * fam/gfamfilemonitor.c:
2648         * glocaldirectorymonitor.[ch]:
2649         * glocalfilemonitor.[ch]:
2650         * gnativevolumemonitor.h:
2651         * gunionvolumemonitor.c:
2652         * gunixvolumemonitor.c:
2653         * gvfs.[ch]:
2654         * gvolumemonitor.h:
2655         * inotify/ginotifydirectorymonitor.c:
2656         * inotify/ginotifyfilemonitor.c:
2657         Use the extension points registration instead
2658         of g_type_children().
2659
2660 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2661         
2662         * gdrive.[hc]: 
2663         * gvolume.[hc]: Document new API. 
2664
2665         * gfile.c (g_file_copy_async): Fix docs
2666
2667 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2668
2669         * gbufferedinputstream.c:
2670         * ginputstream.c:
2671         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2672         __FUNCTION__.
2673         
2674 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2675
2676         * glocalfile.c: Avoid trivial differences in translatable strings.
2677
2678 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2679
2680         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2681         build with gcc 3.4  (#509419)
2682
2683 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2684
2685         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2686         (#509994, Murray Cumming)
2687
2688 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2689
2690         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2691         * gioscheduler.c: Keep calling io jobs until they return FALSE;
2692         this allows big jobs to be executed in chunks, instead of blocking
2693         the main loop for a long time.
2694
2695         * gsimpleasyncresult.c:
2696         * giofile.c: Adapt callers.
2697
2698 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2699
2700         * gdesktopappinfo.c:
2701         Implement changes discussed on xdg list.
2702         Now we can add supported mimetypes by just using defaults.list
2703         We can also remove associations in defaults.list.
2704
2705 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2706
2707         * gdesktopappinfo.c:
2708         Don't make local copy of desktop file
2709         for mimetype changes if the file already
2710         supports the new mimetype.
2711
2712 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2713
2714         * ginputstream.c:
2715         * goutputstream.c:
2716         * gbufferedinputstream.c:
2717         * glocalfile.c: String improvements.  (#511966, 
2718          Theppitak Karoonboonyanan)
2719
2720 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2721
2722         * gioscheduler.h: Expand docs a bit.
2723
2724 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2725
2726         * gdrive.[ch]:
2727         Add g_drive_get_identifier and
2728         g_drive_enumerate_identifiers
2729
2730         * gvolume.[ch]:
2731         Add g_volume_get_identifier and
2732         g_volume_enumerate_identifiers
2733         
2734         * gio.symbols:
2735         Add symbols
2736         
2737         * gunixvolume.c:
2738         Implement identifiers for unix backend
2739
2740 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2741
2742         * gfile.[ch]:
2743         * gfile.h:
2744         * gio.symbols:
2745         Add g_file_copy_async() (#511580)
2746         Based on patch from Carlos Garcia Campos
2747
2748 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
2749
2750         * gioscheduler.c: Some documentation additions.
2751
2752 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2753
2754         * gdesktopappinfo.c:
2755         (g_desktop_app_info_new):
2756         Don't leak basename.
2757         
2758 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2759
2760         * gdesktopappinfo.c:
2761         (g_desktop_app_info_new_from_filename):
2762         Don't leak GKeyFile
2763
2764 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2765
2766         * glocalfileinfo.c (get_thumbnail_attributes):
2767         Fix leak of uri
2768
2769 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2770
2771         * glocalfile.c:
2772         (canonicalize_filename):
2773         Canonicalize paths that start with more than
2774         two slashes.
2775         
2776         * tests/g-file.c:
2777         (compare_two_files):
2778         (test_g_file_new_for_path):
2779         Test the above
2780
2781 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2782
2783         * glocalfile.c:
2784         Allow UTF-8 in file:// parse names.
2785         
2786         * tests/Makefile.am:
2787         * tests/data-input-stream.c:
2788         * tests/data-output-stream.c:
2789         * tests/g-file-info.c:
2790         * tests/g-file.c:
2791         Added a bunch of tests from Tomas Bzatek
2792
2793 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2794
2795         * === Released 2.15.3 ===
2796
2797 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2798
2799         * gfileinputstream.[ch]:
2800         * gfileoutputstream.[ch]:
2801         * gio.symbols:
2802         Remove duplicated GSeekable functions. (#509990)
2803         Just use the g_seekable_xxx() calls instead.
2804
2805 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2806
2807         * glocal*.c:
2808         * gvolumemanager.c: Whitespace cleanups.
2809
2810         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2811         Use the right mode when creating the file.
2812
2813 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
2814
2815         * gfileenumerator.c:
2816         * gfileinputstream.c:
2817         * ginputstream.c:
2818         * goutputstream.c: Documentation: Fixed minor typos 
2819         and added more mentions of specific _finish() functions.
2820
2821 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2822
2823         * inotify/Makefile.am:
2824         * inotify/inotify-helper.c:
2825         * inotify/inotify-kernel.c:
2826         * inotify/inotify-path.c:
2827         * inotify/local_inotify.h: Removed.
2828         * inotify/local_inotify_syscalls.h: Removed.
2829         Removed the included copies of the inotify
2830         headers. We now only use the <sys/inotify.h>
2831         header which exists on modern systems.
2832         This fixes problems on ARM and SH5 (#510448)
2833         but is also generally much cleaner and future
2834         safe. For instance, if other OSes add support
2835         for inotify it should "just work".
2836
2837 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2838
2839         * inotify/*.c: Coding style fixes.
2840         * inotify/inotify-missing.c: Use g_timeout_add_seconds
2841         for the 1/4 Hz timer.
2842
2843 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2844
2845         * gfile.c:
2846         * gfilemonitor.[hc]:
2847         * gmemoryinputstream.c:
2848         * gmemoryoutputstream.c:
2849         * gmountoperation.c:
2850         * gthemedicon.c: Documentation updates
2851
2852 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
2853
2854         * gfile.c: documentation: Fixed more minor 
2855         typos.
2856
2857 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2858
2859         * gmount.c: (g_mount_remount): documentation: 
2860         Mention g_mount_remount_finish() instead of 
2861         g_mount_unmount_finish().
2862
2863 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2864
2865         * gappinfo.c:
2866         * gcancellable.c:
2867         * gfile.c: Fixed some minor typos in the 
2868         documentation. 
2869
2870 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2871
2872         * gio/gvolumemonitor.c: 
2873         (g_volume_monitor_get_connected_drives): 
2874         (g_volume_monitor_get_volumes): 
2875         (g_volume_monitor_get_mounts): Documentation: 
2876         Clarify the ownership of the regurn GLists.
2877
2878 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2879
2880         * gfile.h:
2881         Add the async find_enclosing_mount version
2882         to the header file too.
2883
2884 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2885
2886         * gfile.c:
2887         Add async version of find_enclosing_mount
2888         with default implementation.
2889
2890 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2891
2892         * gfile.c:
2893         (g_file_copy):
2894         (g_file_move):
2895         Allow calls to implementation of copy and write
2896         even if the type of the file implementations is
2897         different. This can be used to implement native
2898         upload and download calls in a vfs.
2899         
2900         * glocalfile.c:
2901         (g_local_file_move):
2902         Protect against the case where move is called
2903         with one file not being local.
2904         
2905         Make sure we call the progress callback once
2906         in the native move operation so that the caller
2907         knows how many bytes were copied.
2908
2909 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
2910
2911         * gappinfo.c:
2912         * gdatainputstream.c:
2913         * gfile.c:
2914         * gfileoutputstream.c:
2915         * ginputstream.c:
2916         * gmount.c:
2917         * goutputstream.c:
2918         * gseekable.c:
2919         * gunixmounts.c: Corrected some typos in the documentation:
2920         occured -> occurred.
2921         its -> it's (where appropriate).
2922
2923 2008-01-16  Alexander Larsson  <alexl@redhat.com>
2924
2925         * gfile.[ch]:
2926         * gio.symbols:
2927         Add g_file_query_exists (#508771)
2928
2929 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
2930
2931         * gdrive.c:
2932         * gfile.c:
2933         * gmount.c:
2934         * gvolume.c: For async functions that have no non-async 
2935         version, document that the GAsyncReadyCallback may be NULL.
2936         Bug #509626.
2937
2938 2008-01-15  Alexander Larsson  <alexl@redhat.com>
2939
2940         * gmemoryinputstream.c:
2941         * gmemoryoutputstream.c:
2942         Don't do pointer arithmetic on void * (#508602)
2943         Patch from Kazuki IWAMOTO
2944
2945 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
2946
2947         * === Released 2.15.2 ===
2948
2949 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2950
2951         * gfile.c (g_file_monitor_file):
2952         Don't set error here, since we fallback to polling monitor.
2953
2954 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2955
2956         * gfile.[ch]:
2957         (g_file_monitor_directory):
2958         (g_file_monitor_file):
2959         Add GError to file monitor calls
2960         
2961         * glocaldirectorymonitor.c:
2962         * glocaldirectorymonitor.h:
2963         * glocalfile.c:
2964         * glocalfilemonitor.c:
2965         * glocalfilemonitor.h:
2966         * gunixmounts.c:
2967         Update for above change
2968
2969 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2970
2971         * glocalfile.c:
2972         (match_prefix):
2973         Handle root correctly in g_file_get_relative_path (#508719)
2974
2975 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2976
2977         * gasyncresult.c:
2978         Clean up docs and example for GAsyncResult (#508074)
2979
2980 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
2981
2982         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
2983         and correct some spelling mistakes. Bug #508108.
2984
2985 2008-01-11  Matthias Clasen <mclasen@redhat.com>
2986
2987         * glocalfileinfo.c: Add a comment.
2988
2989 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
2990
2991         * gfileinfo.c: GFileInfo description: Mention 
2992         how to actually set attributes in a GFile and how to discover 
2993         which attributes are settable. Bug #508378.
2994
2995 2008-01-10  A. Walton  <awalton@svn.gnome.org>
2996
2997         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2998         (g_app_info_get_default_for_type):
2999         Check for NULL content types.
3000
3001 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
3002
3003         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3004
3005 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
3006
3007         * gfile.c: *_async() functions: Several small corrections 
3008         to the documentation, mostly correcting copy/paste errors 
3009         and improving some sentences.
3010
3011 2008-01-09  Dan Winship  <danw@gnome.org>
3012
3013         * glocalfile.c (get_unique_filename): x86_64 fix
3014
3015 2008-01-09  Alexander Larsson  <alexl@redhat.com>
3016
3017         * gio.symbols:
3018         * gunixmount.c:
3019         * gunixmounts.[ch]:
3020         Add g_unix_mount_guess_should_display and use
3021         for unix volume monitor backend.
3022         This means we more or less show what the
3023         gnome-vfs backend did.
3024         Based on patch from Padraig O'Briain
3025
3026 2008-01-09  Alexander Larsson  <alexl@redhat.com>
3027
3028         * gio.symbols:
3029         * gthemedicon.[ch]:
3030         Add g_themed_icon_new_with_default_fallbacks
3031         
3032         * gunixmounts.c:
3033         Use default fallbacks for icons
3034
3035 2008-01-09  Alexander Larsson  <alexl@redhat.com>
3036
3037         * gio-marshal.list:
3038         * gmountoperation.[ch]:
3039         Change the API a bit so that unhandled methods
3040         get reported via the reply, rather than by
3041         the signal emission return value. This is because
3042         some handlers can't know this immediately without
3043         doing I/O, and this is an async operation that
3044         should not block.
3045
3046 2008-01-09  Alexander Larsson  <alexl@redhat.com>
3047
3048         * fam/fam-helper.c:
3049         * fam/gfamdirectorymonitor.c:
3050         * fam/gfamfilemonitor.c:
3051         Fix double free crash (#508224)
3052         Patch from Joe Marcus Clarke
3053
3054 008-01-07  Matthias Clasen  <mclasen@redhat.com>
3055
3056         * === Released 2.15.1 ===
3057
3058 2008-01-07  Alexander Larsson  <alexl@redhat.com>
3059
3060         * gunixinputstream.c (g_unix_input_stream_skip_finish):
3061         Fix warning (#507835)
3062
3063 2008-01-07  Alexander Larsson  <alexl@redhat.com>
3064
3065         * Makefile.am:
3066         Pass --internal to glib-genmarshal
3067         
3068         * gfilemonitor.c:
3069         * gmountoperation.c:
3070         * gio-marshal.list:
3071         Use better types for signal arguments (#507822)
3072
3073 2008-01-07  Alexander Larsson  <alexl@redhat.com>
3074
3075         * Makefile.am:
3076         Build test subdir after .
3077         Remove gdirectorymonitor.[ch]
3078         
3079         * gdirectorymonitor.[ch]:
3080         * gfilemonitor.c:
3081         * gfile.[ch]:
3082         * gio.h:
3083         Remove GDirectoryMonitor and make
3084         GFileMonitor the baseclass for both file and
3085         directory monitors. Lift the more generic
3086         rate limiting code from GDirectoryMonitor
3087         into GFileMonitor.
3088         
3089         * fam/fam-helper.c:
3090         * fam/gfamdirectorymonitor.[ch]:
3091         * inotify/ginotifydirectorymonitor.[ch]:
3092         * inotify/inotify-helper.c:
3093         * glocaldirectorymonitor.[ch]:
3094         * glocalfile.c:
3095         * gvolumemonitor.c:
3096         Update for the removed GDirectoryMonitor.
3097         
3098         * gmemoryoutputstream.c:
3099         Remove ununsed variable
3100
3101 2008-01-07  Alexander Larsson  <alexl@redhat.com>
3102
3103         * gmemoryinputstream.c:
3104         Translate error strings
3105         
3106         * gio.symbols:
3107         * gmemoryoutputstream.[ch]:
3108         New implementation that avoids using GByteArray
3109         in implementation and API. (#506377)
3110
3111 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
3112
3113         * tests/*: Add a test for memory input streams.
3114         
3115         * Makefile.am: Add tests to SUBDIRS.
3116
3117 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
3118
3119         * glocalfilemonitor.c:
3120         * glocaldirectorymonitor.c: Mark property nicks and blurbs
3121         for translation.
3122
3123 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
3124
3125         * gdesktopappinfo.c: Fix a docs typo.
3126
3127         * gfileattribute.c: Add information about extended attributes
3128         to the documentation.  (#505058)
3129
3130 2008-01-04  Alexander Larsson  <alexl@redhat.com>
3131
3132         * gio-marshal.list:
3133         * gmountoperation.c:
3134         Use the right type (uint) for the ask_password signal.
3135
3136 2008-01-04  Alexander Larsson  <alexl@redhat.com>
3137
3138         * gappinfo.[ch]:
3139         * gwin32appinfo.c:
3140         * gio.symbols:
3141         Add g_app_info_supports_files() 
3142         Remove desktop arg from g_app_info_should_show().
3143         
3144         * gdesktopappinfo.[ch]:
3145         Implement g_app_info_supports_files() and new should_show()
3146         Add g_desktop_app_info_set_desktop_env() to set the desktop
3147         for should_show(). (This will be set by gtk+ later)
3148
3149 2008-01-04  Alexander Larsson  <alexl@redhat.com>
3150
3151         * gio.symbols:
3152         * gmemoryinputstream.[ch]:
3153         Improve API so that you can use multiple chunks
3154         of memory and custom destroy functions. (#506374)
3155
3156 2008-01-03  Alexander Larsson  <alexl@redhat.com>
3157
3158         * gfileinfo.c:
3159         Handle NULL attribute matchers safely, as we return this
3160         for empty attribute matcher strings.
3161
3162 2008-01-03  Alexander Larsson  <alexl@redhat.com>
3163
3164         * gunixmounts.c (g_unix_is_mount_path_system_internal):
3165         Add /usr/local to list of internal mountpoints
3166
3167 2008-01-03  Alexander Larsson  <alexl@redhat.com>
3168
3169         * glocalfileinfo.c:
3170         Check for HAVE_LCHOWN (#505887)
3171         
3172 2008-01-03  Alexander Larsson  <alexl@redhat.com>
3173
3174         * gfileinfo.h:
3175         * glocalfileinfo.c:
3176         Add define for selinux context attribute.
3177         Fix missing : -> :: namespace separator change
3178         Fix missing _ -> - name change for xattr-sys.
3179         (#505058)
3180
3181 2008-01-03  Alexander Larsson  <alexl@redhat.com>
3182
3183         * fam/Makefile.am:
3184         Link to libglib and libgobject directly (#504879)
3185         Patch from Sebastien Bacher
3186
3187 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
3188
3189         * gfile.c: Expanded the g_file_new_for_commandline_arg
3190         description a bit, based on the code and the docs of the
3191         other g_file_new_for_* functions.
3192
3193 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
3194
3195         * gfilemonitor.h: Fixed typo in docs.
3196
3197 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
3198
3199         Updates to GIO documentation. (#506395, Mikael Hermansson)
3200
3201         * gcontenttype.c: Describe memory management for return value of
3202         g_content_types_get_registered(). Missing piece from #505815.
3203         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3204         GVolume, GDrive, GMounts, which hopefully gives the user less
3205         confusions when using this API. Following explainations from
3206         Alexander Larsson on gtk-devel-list.
3207
3208 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3209
3210         * gfileinfo.c: Expand the long description.
3211
3212 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3213
3214         * fam/Makefile.am:
3215         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3216         fix builds with --disable-visibility.  (#500273, Christian Persch)
3217
3218 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3219
3220         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3221         in the list of returned app infos.
3222
3223 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3224
3225         * gappinfo.c: Fix a cross-reference
3226
3227 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
3228
3229         * gfileinputstream.c:
3230         * gfileoutputstream.c:
3231         * gloadableicon.h:
3232         * gunixmounts.c:
3233         * gmount.h:
3234         * gdesktopappinfo.c:
3235         * gvolumemonitor.c: 
3236         * gfileinfo.c: Documentation updates.
3237
3238 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
3239
3240         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
3241         Tommi Komulainen)
3242
3243 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
3244
3245         * gcontenttype.c (g_content_types_get_registered): Don't return
3246         freed memory (#505815, Mikael Hermansson)
3247
3248 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
3249
3250         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3251         used to detect statbuf->st_blocks. (#505042)
3252
3253 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
3254
3255         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3256         environment handling.  (#504829, Cosimo Cecchi)
3257
3258 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
3259
3260         * gappinfo.c: Doc improvements
3261         
3262         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3263         not ids.
3264
3265 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
3266
3267         * === Released 2.15.0 ===
3268
3269 2007-12-20  Hans Breuer  <hans@breuer.org>
3270
3271         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
3272         with symbols gwin32appinfo.obj, added gmount.obj
3273         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3274
3275 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3276
3277         * gfile.c:
3278         * gfileattribute.c:
3279         * gfileinfo.c:
3280         * gfileinfo.h:
3281         * gfilenamecompleter.c:
3282         * glocalfile.c:
3283         * glocalfileinfo.c:
3284         * gpollfilemonitor.c:
3285         File attribute renames:
3286         std:: -> standard::
3287         fs:: -> filesystem::
3288         id::fs -> id::filesystem
3289         
3290 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3291
3292         * gfile.[ch]:
3293         * gdrive.[ch]:
3294         * gmount.[ch]:
3295         * gvolume.[ch]:
3296         * gunixmount.c:
3297         * gunixvolume.c:
3298         * gio.symbols:
3299         Add GMountUnmountFlags to all unmount and
3300         eject calls.
3301         Add g_mount_remount() call.
3302
3303 2007-12-20  Alexander Larsson  <alexl@redhat.com>
3304
3305         * gvfs.c (get_default_vfs):
3306         Fix unused variable warning
3307
3308 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3309
3310         * pltcheck.sh: Update
3311
3312 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3313
3314         * gunionvolumemonitor.c:
3315         * gunixmount.c: Remove C99 comments
3316
3317 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
3318
3319         * gio.symbols: Add some missing symbols
3320
3321 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3322
3323         * giomodule.c:
3324         Make g_io_modules_load_all_in_directory not unuse
3325         loaded modules so that users of it can do stuff
3326         before unloading.
3327         Init internal "module" types.
3328         Initialize static prio and name for types so that
3329         we don't have to load modules to get it.
3330         
3331         * gnativevolumemonitor.h:
3332         * gvolumemonitor.h:
3333         Move is_supported to parent class so that
3334         non-native monitors can avoid being initialized
3335         too. (For instance GDaemonVolumeMonitor if we're
3336         not using GDaemonVfs.)
3337         
3338         * glocaldirectorymonitor.[ch]:
3339         * glocalfilemonitor.[ch]:
3340         * gunionvolumemonitor.c:
3341         * gunixvolumemonitor.c:
3342         * gvfs.c:
3343         Find plugins using the static prio+name to
3344         avoid unnecessarily loading the modules.
3345
3346 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3347
3348         * giomodule.c:
3349         Remove warnings
3350
3351 2007-12-19  Alexander Larsson  <alexl@redhat.com>
3352
3353         * gunionvolumemonitor.c:
3354         Store the native type as GType, not class so that
3355         we can unload it. But still avoid unnecessarily
3356         unload modules.
3357
3358 2007-12-19  David Zeuthen  <davidz@redhat.com>
3359
3360         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3361         add signals 'disconnected' and 'eject-button' on GDrive. Add
3362         signal 'removed' on GVolume and 'unmounted' on GMount.
3363
3364         * gdrive.c: (g_drive_base_init):
3365         * gdrive.h:
3366         * gfile.c: (g_file_mount_mountable),
3367         (g_file_mount_enclosing_volume):
3368         * gio.symbols:
3369         * gioerror.h:
3370         * gmount.c: (g_mount_base_init):
3371         * gmount.h:
3372         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3373         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3374         * gvolume.c: (g_volume_base_init), (g_volume_mount):
3375         * gvolume.h:
3376         * gvolumemonitor.h:
3377
3378 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3379
3380         * *.c: Fix up includes in the section docs.
3381
3382 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3383
3384         * gnativevolumemonitor.h:
3385         * gunionvolumemonitor.c:
3386         * gunixvolumemonitor.c:
3387         Add is_supported() to GNativeVolumeMonitorClass so
3388         that we can avoid having to create an object to see
3389         if the backend is supported at runtime.
3390         Also add name member and an env var to pick a specific
3391         volume monitor backend.
3392         
3393         * gmountprivate.h:
3394         * glocalfile.c:
3395         Add cancellable to _g_mount_get_for_mount_path()
3396         
3397         * glocaldirectorymonitor.c:
3398         * glocalfilemonitor.c:
3399         Avoid loading and unloading modules while sorting.
3400
3401 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3402
3403         * gio.symbols:
3404         * gunixmounts.[hc]: Namespace waste reduction, move some
3405         g_get_unix_mount functions to the g_unix_mount namespace.
3406
3407         * gunixmounts.c:
3408         * gunixvolumemonitor.c:
3409         * glocalfile.c:
3410         * glocaldirectorymonitor.c: Update all callers.
3411
3412         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3413
3414 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3415
3416         * gfile.c:
3417         Add doc comments about what GFile operations are
3418         guaranteed to not block.
3419
3420 2007-12-17  Alexander Larsson  <alexl@redhat.com>
3421
3422         * gunixmounts.c:
3423         Add missing #ifdef fixing OSX build.
3424         (#503334, patch from Richard Hult)
3425
3426 2007-12-14  David Zeuthen  <davidz@redhat.com>
3427
3428         * Makefile.am:
3429         * gio.symbols:
3430         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3431         (g_mount_eject), (g_mount_eject_finish):
3432         * gmount.h:
3433         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3434         (get_volume_for_uuid), (get_mount_for_uuid),
3435         (g_union_volume_monitor_class_init),
3436         (get_default_native_type_with_exclude), (get_default_native_type),
3437         (get_native_type), (update_native_type),
3438         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3439         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3440         (g_unix_mount_can_eject), (eject_unmount_cb),
3441         (eject_unmount_read_error), (eject_unmount_do),
3442         (g_unix_mount_unmount), (g_unix_mount_eject),
3443         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3444         * gunixmounts.c: (g_unix_mount_guess_can_eject),
3445         (g_unix_mount_point_guess_can_eject):
3446         * gunixmounts.h:
3447         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3448         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3449         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3450         (g_unix_volume_mount), (g_unix_volume_eject),
3451         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3452         * gunixvolumemonitor.c: (get_volume_for_uuid),
3453         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3454         (update_mounts):
3455         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3456         (g_volume_eject), (g_volume_eject_finish):
3457         * gvolume.h:
3458         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3459         (g_volume_monitor_get_mount_for_uuid):
3460         * gvolumemonitor.h:
3461
3462         Provide eject() on both GMount and GVolume and utility functions
3463         to guess whether a GUnixMountPoint or GUnixMountEntry should be
3464         ejected. Introduce the concept of UUID's and wire it into GVolume
3465         and GMount and provide API on GVolumeMonitor to find such
3466         instances. Also handle the case where an external
3467         GNativeVolumeMonitor fails to initialize. Lock around the
3468         _g_get_mount_for_mount_path() function such that volume monitor
3469         implementations won't have to do locking themselves.
3470
3471 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
3472
3473         * gdesktopappinfo.c:
3474         * gunixmounts.c:
3475         * gfileinfo.c:
3476         * gvolumemonitor.c:
3477         * gfile.h:
3478         * gioscheduler.c:
3479         * gvolume.h: Documentation updates
3480
3481 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
3482
3483         * gunixmounts.c:
3484         * gfile.h: Doc updates
3485
3486 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
3487
3488         * gcontenttype.c:
3489         * gdesktopappinfo.c: Use hash table iterators.
3490
3491 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3492
3493         * Makefile.am:
3494         * gfileattribute.[ch]:
3495         * gfileattribute-priv.h:
3496         Move GFileAttributeValue to a private header, as
3497         its sort of ugly.
3498         
3499         * gfile.[ch]:
3500         Make set_attribute take a type + a pointer instead
3501         of a GFileAttributeValue.
3502         
3503         * gfileinfo.[ch]:
3504         Fix up for above changes.
3505         Add g_file_info_get_attribute_data to get
3506         all info in one call, g_file_info_get_attribute_status
3507         to get the status and g_file_info_get_attribute_as_string.
3508         
3509         * gio.symbols:
3510         * glocalfile.c:
3511         * glocalfileinfo.[ch]:
3512         Update for changes
3513         
3514         * gunixmounts.c:
3515         Make _guess_type static.
3516
3517 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
3518
3519         * Makefile.am:
3520         * inotify/Makefile.am: Fixed build when srcdir != builddir,
3521         made mkenums and friends use temporary files to avoid leaving
3522         empty generated files on failure (#503470).
3523
3524 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3525
3526         * gmountoperation.h:
3527         Fix AKS -> ASK typo
3528
3529 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3530
3531         * gappinfo.h:
3532         * gfile.[ch]:
3533         * gfileattribute.[ch]:
3534         * gio.symbols:
3535         * glocalfile.c:
3536         * glocalfileoutputstream.c:
3537         * gmountoperation.[ch]:
3538         * goutputstream.[ch]:
3539         Clean up all flags enums to not have _FLAGS in them
3540         Make the names of some of the enums better.
3541
3542         * glocalfileinfo.c:
3543         Fix warning
3544         
3545 2007-12-14  Michael Natterer  <mitch@imendio.com>
3546
3547         * gio.symbols: fix g_io_scheduler symbol names.
3548
3549 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3550
3551         * Makefile.am:
3552         * fam/Makefile.am:
3553         * gappinfo.h:
3554         * gasyncresult.h:
3555         * gbufferedinputstream.h:
3556         * gbufferedoutputstream.h:
3557         * gcancellable.h:
3558         * gcontenttype.h:
3559         * gdatainputstream.h:
3560         * gdataoutputstream.h:
3561         * gdesktopappinfo.h:
3562         * gdirectorymonitor.h:
3563         * gdrive.h:
3564         * gfile.h:
3565         * gfileattribute.h:
3566         * gfileenumerator.h:
3567         * gfileicon.h:
3568         * gfileinfo.h:
3569         * gfileinputstream.h:
3570         * gfilemonitor.h:
3571         * gfilenamecompleter.h:
3572         * gfileoutputstream.h:
3573         * gfilterinputstream.h:
3574         * gfilteroutputstream.h:
3575         * gicon.h:
3576         * ginputstream.h:
3577         * gio.h:
3578         * gioerror.h:
3579         * giomodule.h:
3580         * gioscheduler.h:
3581         * gloadableicon.h:
3582         * gmemoryinputstream.h:
3583         * gmemoryoutputstream.h:
3584         * gmount.h:
3585         * gmountoperation.h:
3586         * goutputstream.h:
3587         * gseekable.h:
3588         * gsimpleasyncresult.h:
3589         * gthemedicon.h:
3590         * gunixinputstream.h:
3591         * gunixmounts.h:
3592         * gunixoutputstream.h:
3593         * gvfs.h:
3594         * gvolume.h:
3595         * gvolumemonitor.h:
3596         * inotify/Makefile.am:
3597         Only allow including <gio/gio.h> from apps
3598
3599 2007-12-14  Alexander Larsson  <alexl@redhat.com>
3600
3601         * gioscheduler.[ch]:
3602         * gsimpleasyncresult.c:
3603         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3604         Split out the send_to_mainloop call into two versions instead
3605         of having the block argument.
3606
3607 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3608
3609         * gcancellable.[ch]:
3610         * gio.symbols:
3611         * gbufferedinputstream.c:
3612         * gfileenumerator.c:
3613         * gfileinputstream.c:
3614         * gfileoutputstream.c:
3615         * ginputstream.c:
3616         * gioscheduler.c:
3617         * goutputstream.c:
3618         g_push/pop_current_cancellable ->
3619         g_cancellable_push/pop_current
3620
3621 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3622
3623         * gfile.[ch]:
3624         * gio.symbols:
3625         Rename g_mount_for_location to g_file_mount_enclosing_volume.
3626
3627 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3628
3629         * gmountoperation.h:
3630         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3631
3632 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3633
3634         * gioscheduler.c:
3635         Fix race condition when freeing proxy in
3636         g_io_job_send_to_mainloop().
3637
3638 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3639
3640         * gfileattribute.c:
3641         * gfileinfo.[ch]:
3642         * glocalfile.c:
3643         * glocalfileinfo.c:
3644         Make attribute namespace separator "::" instead of ":".
3645         Use - instead of _ as separator in attribute names.
3646
3647 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3648
3649         * gbufferedinputstream.h:
3650         * gbufferedoutputstream.h:
3651         * gdatainputstream.h:
3652         * gdataoutputstream.h:
3653         * gdirectorymonitor.h:
3654         * gfileenumerator.h:
3655         * gfileinputstream.h:
3656         * gfilemonitor.h:
3657         * gfileoutputstream.h:
3658         * gfilterinputstream.h:
3659         * gfilteroutputstream.h:
3660         * ginputstream.h:
3661         * glocalfileinputstream.h:
3662         * glocalfileoutputstream.h:
3663         * gmemoryinputstream.h:
3664         * gmemoryoutputstream.h:
3665         * gnativevolumemonitor.h:
3666         * goutputstream.h:
3667         * gunixinputstream.h:
3668         * gunixoutputstream.h:
3669         * gvfs.h:
3670         * gvolumemonitor.h:
3671         s/parent/parent_instance/ in GObjects
3672
3673 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3674
3675         * gdrive.h:
3676         * gmount.h:
3677         * gvolume.h:
3678         No need for padding for interfaces
3679         
3680 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3681
3682         * gappinfo.[ch]:
3683         * gasyncresult.c:
3684         * gbufferedinputstream.c:
3685         * gbufferedoutputstream.c:
3686         * gcancellable.c:
3687         * gcontenttype.c:
3688         * gdatainputstream.[ch]:
3689         * gdesktopappinfo.c:
3690         * gdirectorymonitor.c:
3691         * gfile.[ch]:
3692         * gfileattribute.[ch]:
3693         * gfileicon.[ch]:
3694         * gfileinfo.h:
3695         * gfileinputstream.h:
3696         * gfilemonitor.[ch]:
3697         * gfileoutputstream.[ch]:
3698         * gfilterinputstream.h:
3699         * gfilteroutputstream.h:
3700         * gicon.h:
3701         * gioscheduler.c:
3702         * gloadableicon.[ch]:
3703         * gmemoryinputstream.c:
3704         * gmountoperation.c:
3705         * gthemedicon.c:
3706         Fix up a bunch of details in the docs.
3707
3708         * glocalfileinfo.c:
3709         CR/LF -> LF fixups
3710         
3711 2007-12-11  David Zeuthen  <davidz@redhat.com>
3712
3713         Rework how volumes, drives and volume monitoring is
3714         done. Previosly the model was
3715
3716          GDrive <1-1> GVolume
3717
3718         where a GDrive instance represented a mount point and a GVolume
3719         instance represented a mounted file system. This patch changes it
3720         the model to
3721
3722                 GDrive <1-N> GVolume <1-1> GMount
3723
3724         where GMount now serves the purpose of the old GVolume and the new
3725         GVolume serves the purpose of the old GDrive. In addition the new
3726         GDrive interface is used to represent a collection of GVolume
3727         instances (typically partitions) and also contains utility to query
3728         the state of the physical drive the GDrive object represents (such
3729         as checking for media, polling the drive, ejecting the media etc.).
3730
3731         Also implement mounting and unmounting in the Unix volume monitor
3732         backend. A subquent patch will introduce GDrive support for ejection
3733         of media.
3734
3735         * Makefile.am:
3736         * gdrive.c: (g_drive_is_media_check_automatic),
3737         (g_drive_is_media_removable), (g_drive_has_media),
3738         (g_drive_can_poll_for_media), (g_drive_eject),
3739         (g_drive_eject_finish), (g_drive_poll_for_media),
3740         (g_drive_poll_for_media_finish):
3741         * gdrive.h:
3742         * gfile.c: (g_file_find_enclosing_mount):
3743         * gfile.h:
3744         * gio.symbols:
3745         * glocaldirectorymonitor.c:
3746         (g_local_directory_monitor_constructor), (mounts_changed):
3747         * glocalfile.c: (get_mount_info),
3748         (g_local_file_find_enclosing_mount),
3749         (g_local_file_file_iface_init):
3750         * gnativevolumemonitor.h:
3751         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3752         (get_connected_drives), (g_union_volume_monitor_class_init),
3753         (child_volume_added), (child_volume_removed),
3754         (child_volume_changed), (child_mount_added), (child_mount_removed),
3755         (child_mount_pre_unmount), (child_mount_changed),
3756         (child_drive_changed), (g_union_volume_monitor_add_monitor),
3757         (g_union_volume_monitor_remove_monitor),
3758         (_g_mount_get_for_mount_path):
3759         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3760         (guess_system_internal), (_g_get_unix_mounts),
3761         (_g_get_unix_mount_points), (g_get_unix_mount_at),
3762         (g_unix_mount_free), (g_unix_mount_compare),
3763         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3764         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3765         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3766         (type_to_icon), (g_unix_mount_guess_name),
3767         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3768         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3769         (_resolve_symlink), (_resolve_dev_root):
3770         * gunixmounts.h:
3771         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3772         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3773         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3774         (g_unix_volume_get_name), (g_unix_volume_can_mount),
3775         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3776         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3777         (g_unix_volume_mount), (g_unix_volume_mount_finish),
3778         (g_unix_volume_volume_iface_init):
3779         * gunixvolume.h:
3780         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3781         (get_mounts), (get_volumes), (get_connected_drives),
3782         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3783         (mountpoints_changed), (mounts_changed),
3784         (g_unix_volume_monitor_init),
3785         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3786         (find_mount_by_mountpath), (update_volumes), (update_mounts):
3787         * gunixvolumemonitor.h:
3788         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3789         (g_volume_mount), (g_volume_mount_finish):
3790         * gvolume.h:
3791         * gvolumemonitor.c: (g_volume_monitor_class_init),
3792         (g_volume_monitor_get_connected_drives),
3793         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3794         * gvolumemonitor.h:
3795
3796 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3797
3798         * gmountoperation.h (GPasswordFlags): Close the gap
3799
3800 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3801
3802         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3803         * gio.symbols:
3804         * gdesktopappinfo.[hc]: Remove _-prefixes
3805
3806 2007-12-10  Tor Lillqvist  <tml@novell.com>
3807
3808         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3809         gcc warnings.
3810
3811 2007-12-10  Alexander Larsson  <alexl@redhat.com>
3812
3813         * gfile.c (g_file_set_display_name):
3814         Don't hardcode '/' (#502727)
3815
3816 2007-12-09  Hans Breuer  <hans@breuer.org>
3817
3818         * makefile.msc : follow lib naming convention
3819         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3820         for user and group name, tested with ../tests/gio-ls
3821
3822 2007-12-09  A. Walton  <awalton@svn.gnome.org>
3823
3824         * gdesktopappinfo.c:
3825         * gdrive.c:
3826         * gdrive.h:
3827         * gfile.c:
3828         * gfile.h:
3829         * gfileattribute.c:
3830         * gfileenumerator.c:
3831         * gioerror.c:
3832         * gioscheduler.c:
3833         * gioscheduler.h:
3834         * gloadableicon.c:
3835         * gmemoryinputstream.c:
3836         * gmemoryoutputstream.c:
3837         * goutputstream.h:
3838         * gsimpleasyncresult.c:
3839         More documentation cleanup and filling in missing information, bringing
3840         GIO to 99% symbol coverage.
3841
3842 2007-12-08  Hans Breuer  <hans@breuer.org>
3843
3844         [gio compiles and links on win32, not sure how much already works]
3845         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3846         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
3847         base on win32 API; prefer g_lstat() over lstat(); instead of 
3848         localtime_r() use an all GLib implementation on win32;
3849         get_mount_info() still needs a win32 specifc implementation
3850         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
3851         win32_get_file_user_info to get owner/group info without uid/gid
3852         * glocalfileinputstream.c : include <io.h> on win32
3853         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3854         definition, use g_win32_ftruncate() for G_OS_WIN32
3855         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3856         it is available with mingw/w32api but a mess with the M$ Platform SDKs
3857         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3858         * makefile.msc : updated
3859
3860 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3861
3862         * glocalfileenumerator.c (_g_local_file_enumerator_new):
3863         Avoid warning spew if error == NULL
3864         
3865 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3866
3867         * gfile.c:
3868         Update docs wrt etags
3869
3870 2007-12-06  Alexander Larsson  <alexl@redhat.com>
3871
3872         * glocalfileinfo.h:
3873         Include sys/types.h for dev_t (#501919)
3874
3875 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
3876
3877         * gio.symbols:
3878         * pltcheck.sh:
3879         Make abicheck and pltcheck pass.
3880
3881 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3882
3883         * Makefile.am:
3884         * giomodule-priv.h: Added.
3885         * glocaldirectorymonitor.c:
3886         * glocalfilemonitor.c:
3887         * gunionvolumemonitor.c:
3888         * gvfs.c:
3889         Actually add the declaration of _g_io_modules_ensure_loaded
3890
3891 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3892
3893         * gdatainputstream.c:
3894         Fix warnings
3895         
3896         * gio.symbols:
3897         * giomodule.[ch]
3898         * glocaldirectorymonitor.c:
3899         * glocalfilemonitor.c:
3900         * gunionvolumemonitor.c:
3901         * gvfs.c:
3902         Make g_io_modules_ensure_loaded a private function and
3903         don't pass in the dirname. This means we can do magic
3904         directory finding in the win32 version.
3905         Export the actual load-modules-in-directory code so that
3906         gvfs can reuse that.
3907
3908 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3909
3910         * gbufferedinputstream.c:
3911         * gbufferedoutputstream.c:
3912         * gdrive.[ch]:
3913         * gfile.[ch]:
3914         * gfileenumerator.[ch]:
3915         * gfileinputstream.c:
3916         * gfileoutputstream.[ch]:
3917         * gfilterinputstream.c:
3918         * gfilteroutputstream.c:
3919         * ginputstream.[ch]:
3920         * glocalfile.c:
3921         * glocalfileenumerator.c:
3922         * glocalfileinputstream.c:
3923         * glocalfileoutputstream.c:
3924         * gmemoryinputstream.c:
3925         * gmemoryoutputstream.c:
3926         * goutputstream.[ch]:
3927         * gseekable.[ch]:
3928         * gunixdrive.c:
3929         * gunixinputstream.c:
3930         * gunixoutputstream.c:
3931         Rename all struct members named:
3932         read, write, close, truncate, or mount
3933         to foo_fn, as these are reserved names
3934         and could be defined as macros in libc.
3935         (#501645)
3936
3937 2007-12-04  Alexander Larsson  <alexl@redhat.com>
3938
3939         * goutputstream.c:
3940         (g_output_stream_close):
3941         Only call flush if non-null.
3942
3943 2007-11-30  Dan Winship  <danw@gnome.org>
3944
3945         * ginputstream.c (g_input_stream_set_pending): Make this take a
3946         GError and return a gboolean, and do the "outstanding operation"
3947         check (and the "stream is already closed" check) itself.
3948         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3949
3950         * goutputstream.c (g_output_stream_set_pending)
3951         (g_output_stream_clear_pending): Likewise
3952
3953         * gbufferedinputstream.c: 
3954         * gfileinputstream.c: 
3955         * gfileoutputstream.c: Update for that
3956
3957         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3958         Like g_simple_async_report_error_in_idle, but takes a GError
3959         rather than building one.
3960
3961 2007-11-30  Dan Winship  <danw@gnome.org>
3962
3963         * goutputstream.c: Don't cheat and unset the "pending" flag around
3964         inner calls. Instead, call the class method directly rather than
3965         the wrapper function that checks "pending"
3966
3967 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
3968
3969         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3970
3971 2007-12-03  Hans Breuer  <hans@breuer.org>
3972
3973         [start of port to win32/msvc]
3974         * gcancellable.c : HAVE_UNIST_H and _pipe()
3975         * gcontenttype.c : only include <dirent.h> in the UNIX branch
3976         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3977         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
3978         HAVE_UNIST_H
3979         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3980         * glocalvfs.c : use HAVE_PWD_H
3981         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3982         * makefile.msc : new file (maybe later converted to makefile.msc.in)
3983         * Makefile.am : added to EXTRA_DIST
3984
3985 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3986
3987         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3988         (#499783)
3989
3990 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3991
3992         * glocalfileinfo.c:
3993         Handle OSX style xattrs API (#500506)
3994
3995 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3996
3997         * gfile.[ch]:
3998         * glocalfile.c:
3999         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4000
4001 2007-12-02  A. Walton  <awalton@svn.gnome.org>
4002
4003         * gfile.c:
4004         * gfileattribute.c:
4005         Documentation accuracy fixes.
4006
4007 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
4008
4009         * gioenumtypes.c.template: Fix typo.
4010
4011 2007-12-01  Matthias Clasen <mclasen@redhat.com>
4012
4013         * gioenumtypes.c.template: Make threadsafe get_type() functions.
4014
4015 2007-12-01  Matthias Clasen <mclasen@redhat.com>
4016
4017         * gdirectorymonitor.c:
4018         * gfilemonitor.c: Add properties
4019
4020         * gbufferedoutputstream.c: Don't mark buffer-size property 
4021         as construct-only.
4022
4023 2007-12-01  Matthias Clasen <mclasen@redhat.com>
4024
4025         * gbufferedoutputstream.c: Add auto-grow property.
4026
4027 2007-11-30  Matthias Clasen <mclasen@redhat.com>
4028
4029         * *.c: Unify the capitalization of section headings.
4030
4031 2007-11-30  Matthias Clasen <mclasen@redhat.com>
4032
4033         * gmountoperation.c: Add properties
4034         
4035         * gdatainputstream.c: Turn byte-order and newline-type into
4036         properties.
4037
4038 2007-11-30  Matthias Clasen <mclasen@redhat.com>
4039
4040         * gioenumtypes.[hc].template: Templates for enum registration
4041
4042         * Makefile.am: Generate gioenumtypes.[hc]
4043
4044         * gio.h: Include gioenumtypes.h
4045         * gappinfo.h:
4046         * gfile.h: Add some explicit nicks.
4047
4048         * gio.symbols: Add new symbols
4049
4050         * pltcheck.sh: Adjust
4051
4052 2007-11-30  Matthias Clasen <mclasen@redhat.com>
4053
4054         * *.c: Explain etags and link to the explanation
4055
4056 2007-11-29  Matthias Clasen <mclasen@redhat.com>
4057
4058         * *.c: Explain I/O priority.
4059
4060         * *.c: More coding style fixes.
4061
4062 2007-11-29  Matthias Clasen <mclasen@redhat.com>
4063
4064         * gasyncresult.c: Add another paragraph to the intro,
4065         adjust coding style of example.
4066
4067 2007-11-29  A. Walton <awalton@svn.gnome.org>
4068
4069         * gappinfo.c:
4070           Fixes unknown meaning in GAppLaunchContext docs.
4071         * gfile.c:
4072           Clarify asynchronous ops.
4073         * gfileattribute.c:
4074           Fix entity tag docs.
4075         * gicon.c:
4076         * gthemedicon.c:
4077           Provides missing gtk-doc section, fixes API docs slighly.
4078         * gsimpleasyncresult.c:
4079           Fill in missing info in docs.
4080         * gunixinputstream.c:
4081         * gunixoutputstream.c:
4082           Be more expressive in short description.
4083         * gunixvolume.c:
4084           Remove gtk-doc stubs for non-public API.
4085
4086 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
4087
4088         * *.c: Coding style fixups
4089
4090 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
4091
4092         * inotify/inotify-helper.c: Don't export the lock from libgio.
4093
4094 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
4095
4096         * Makefile.am:
4097         * abicheck.sh: Fix copy-and-paste leftovers 
4098
4099 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
4100
4101         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4102
4103 2007-11-28  Alexander Larsson  <alexl@redhat.com>
4104
4105         * Makefile.am:
4106         * gdriveprivate.h:
4107         Removed unnecessary file
4108         
4109         * gdesktopappinfo.[ch]:
4110         * gdummyfile.[ch]:
4111         * gfile.c:
4112         * glocaldirectorymonitor.[ch]:
4113         * glocalfile.[ch]:
4114         * glocalfileenumerator.[ch]:
4115         * glocalfileinputstream.[ch]:
4116         * glocalfilemonitor.[ch]:
4117         * glocalfileoutputstream.[ch]:
4118         * glocalvfs.[ch]:
4119         * gnativevolumemonitor.c:
4120         * gpollfilemonitor.[ch]:
4121         * gunionvolumemonitor.[ch]:
4122         * gunixdrive.[ch]:
4123         * gunixvolume.[ch]:
4124         * gunixvolumemonitor.[ch]:
4125         * gvfs.c:
4126         * gvolumeprivate.h:
4127         * inotify/ginotifydirectorymonitor.[ch]:
4128         * inotify/ginotifyfilemonitor.[ch]:
4129         * inotify/inotify-helper.c:
4130         Append _ to all internal functions
4131         
4132         * gio.symbols:
4133         Add missing symbols
4134         Export symbols needed for modules
4135
4136 2007-11-28  Alexander Larsson  <alexl@redhat.com>
4137
4138         * Makefile.am:
4139         * abicheck.sh: Added.
4140         * makegioalias.pl: Added.
4141         * pltcheck.sh: Added.
4142         * gio.symbols: Added.
4143         * *.c:
4144         * inotify/*.c
4145         Initial work on adding symbol handling.
4146
4147         * gvfs.h:
4148         Correct ifdef guard name
4149
4150         * fam/Makefile.am:
4151         * inotify/Makefile.am:
4152         * xdgmime/Makefile.am:
4153         Include toplevel Makefile.decl
4154
4155 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
4156
4157         * gcontenttype.c: Move doc comments to the unix section.
4158
4159         * *.[hc]: More trivial doc corrections.
4160
4161 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
4162
4163         * gpollfilemonitor.c:
4164         * gunixmounts.c:
4165         * gvfs.c:
4166         * gfile.c:
4167         * gdesktopappinfo.c:
4168         * gwin32appinfo.c:
4169         * gvolume.c:
4170         * glocalvfs.c:
4171         * gvolumemonitor.c:
4172         * gdatainputstream.c:
4173         * gdatainputstream.h:
4174         * gdataoutputstream.c:
4175         * gdataoutputstream.h:
4176         * gfileinfo.h: Doc cleanups
4177
4178 2007-11-28  Andre Klapper  <a9016009@gmx.de>
4179
4180         * gdesktopappinfo.c: Fix a typo.
4181
4182 2007-11-27  Andre Klapper  <a9016009@gmx.de>
4183
4184         * glocalfileoutputstream.c: Fix a typo.
4185
4186 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4187
4188         * gio.h:
4189         Don't include removed headers
4190
4191 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4192
4193         * Makefile.am:
4194         * gsocketinputstream.[ch]: Removed.
4195         * gsocketoutputstream.[ch]: Removed.
4196         * gunixinputstream.[ch]: Added.
4197         * gunixoutputstream.[ch]: Added.
4198         Renamed GSocket*Stream to GUnix*Stream and made
4199         it unix-only, since its not really only for sockets
4200         and it only works on unix (but is highly useful there).
4201
4202 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
4203         * gappinfo.c:
4204         * gappinfo.h:
4205         * gasynchelper.c:
4206         * gasyncresult.c:
4207         * gasyncresult.h:
4208         * gbufferedinputstream.c:
4209         * gbufferedinputstream.h:
4210         * gbufferedoutputstream.c:
4211         * gbufferedoutputstream.h:
4212         * gcancellable.c: 
4213         * gcancellable.h:
4214         * gcontenttype.c:
4215         * gdatainputstream.c:
4216         * gdatainputstream.h:
4217         * gdataoutputstream.c:
4218         * gdataoutputstream.h:
4219         * gdirectorymonitor.c:
4220         * gdirectorymonitor.h:
4221         * gdrive.c: 
4222         * gdrive.h:
4223         * gfile.c:
4224         * gfile.h:
4225         * gfileattribute.c:
4226         * gfileattribute.h:
4227         * gfileenumerator.c:
4228         * gfileenumerator.h:
4229         * gfileicon.c:
4230         * gfileicon.h:
4231         * gfileinfo.c:
4232         * gfileinfo.h:
4233         * gfileinputstream.c:
4234         * gfileinputstream.h:
4235         * gfilemonitor.c:
4236         * gfilemonitor.h:
4237         * gfilenamecompleter.c:
4238         * gfilenamecompleter.h:
4239         * gfileoutputstream.c:
4240         * gfileoutputstream.h:
4241         * gfilterinputstream.c:
4242         * gfilterinputstream.h:
4243         * gfilteroutputstream.c:
4244         * gfilteroutputstream.h:
4245         * gicon.c:
4246         * gicon.h:
4247         * ginputstream.c:
4248         * ginputstream.h:
4249         * gioerror.c:
4250         * gioerror.h:
4251         * giomodule.c:
4252         * giomodule.h:
4253         * gioscheduler.c:
4254         * gioscheduler.h:
4255         * gloadableicon.c:
4256         * gloadableicon.h:
4257         * glocalfileoutputstream.c:
4258         * gmemoryinputstream.c:
4259         * gmemoryinputstream.h:
4260         * gmemoryoutputstream.c:
4261         * gmemoryoutputstream.h:
4262         * gmountoperation.c: 
4263         * gmountoperation.h:
4264         * goutputstream.c:
4265         * goutputstream.h:
4266         * gpollfilemonitor.c:
4267         * gseekable.c:
4268         * gseekable.h:
4269         * gsimpleasyncresult.c:
4270         * gsimpleasyncresult.h:
4271         * gsocketinputstream.c:
4272         * gsocketinputstream.h:
4273         * gsocketoutputstream.c:
4274         * gsocketoutputstream.h:
4275         * gthemedicon.c:
4276         * gthemedicon.h:
4277         * gunixdrive.c:
4278         * gunixmounts.c: 
4279         * gunixmounts.h:
4280         * gunixvolume.c:
4281         * gunixvolumemonitor.c:
4282         * gurifuncs.c:
4283         * gurifuncs.h:
4284         * gvfs.c:
4285         * gvfs.h:
4286         * gvolume.c:
4287         * gvolume.h:
4288         * gvolumemonitor.c: 
4289         * gvolumemonitor.h:
4290         Bumps documentation to 93% symbol coverage, touching most 
4291         of the public files. Fixes broken function documentation prototypes. 
4292         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
4293         gtk-doc headers in private files.
4294
4295 2007-11-27  Jürg Billeter  <j@bitron.ch>
4296
4297         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4298         (g_buffered_input_stream_read_byte):
4299         * gbufferedinputstream.h:
4300         New functions for efficient access to buffer and simple single byte
4301         reads.
4302
4303         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4304         (g_data_input_stream_read_until):
4305         * gdatainputstream.h:
4306         Use peek_buffer to avoid memcpy in scan_for_newline, implement
4307         read_until with multiple stop chars.
4308
4309 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4310
4311         * Makefile.am:
4312         * fam/Makefile.am:
4313         * inotify/Makefile.am:
4314         Use the user-specified giomoduledir
4315
4316 2007-11-27  Alexander Larsson  <alexl@redhat.com>
4317
4318         * Makefile.am
4319         * gio.h:
4320         Add catch-all gio.h header
4321         Don't install gdummyfile.h
4322
4323 2007-11-26  Alexander Larsson  <alexl@redhat.com>
4324
4325         * Makefile.am (gioinclude_HEADERS):
4326         Remove trailing whitespace
4327         
4328 2007-11-26  Alexander Larsson  <alexl@redhat.com>
4329
4330         Merge gio-standalone into glib
4331
4332 2007-11-25  Christian Kellner  <gicmo@gnome.org>
4333
4334         * gio/goutputstream.c:
4335         Fix small mistake in the docs.
4336
4337 2007-11-21  Christian Persch  <chpe@gnome.org>
4338
4339         * gio/glocalfile.c: (g_local_file_trash):
4340         Convert filenames to UTF-8 for GError.
4341         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4342         as per xdg base dir spec.
4343
4344 2007-11-21  Christian Persch  <chpe@gnome.org>
4345
4346         * gio/gdesktopappinfo.c:
4347         Use that g_key_file_to_data cannot fail.
4348         Some misc cleanups.
4349         Use stock defines for the key file group and key names.
4350         Use bitfields.
4351
4352 2007-11-21  Alexander Larsson  <alexl@redhat.com>
4353
4354         * gio/gfile.c:
4355         (copy_stream_with_progress):
4356         Make sure we do a final progress callback with
4357         the full total size.
4358
4359 2007-11-21  Alexander Larsson  <alexl@redhat.com>
4360
4361         * gio/gfile.[ch]:
4362         Export g_file_copy_attributes
4363         Remove padding as its not needed for interfaces
4364
4365 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4366
4367         * gio/gfile.c:
4368         * gio/gioerror.h:
4369         * gio/glocalfile.c:
4370         Add G_IO_ERROR_WOULD_MERGE for
4371         copy/move dir on dir with overwrite.
4372
4373 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4374
4375         * gio/gfileinfo.h:
4376         * gio/glocalfileinfo.c:
4377         Add COPY_NAME (this is an optional
4378         non-modified utf8 version of the name) that
4379         can roundtrip.
4380
4381 2007-11-20  Alexander Larsson  <alexl@redhat.com>
4382
4383         * gio/glocalfileenumerator.c:
4384         Report errors as GIOError, not GFileError
4385
4386 2007-11-16  Alexander Larsson  <alexl@redhat.com>
4387
4388         * gio/glocalfileoutputstream.c:
4389         * gio/gwin32appinfo.c:
4390         Fix typos in strings.
4391         Patch from Luca Ferretti <elle.uca@libero.it>
4392
4393 2007-11-15  Alexander Larsson  <alexl@redhat.com>
4394
4395         * configure.ac:
4396         Post release version bump
4397
4398 === gio-standalone 0.1.2 ===
4399
4400 2007-11-15  Alexander Larsson  <alexl@redhat.com>
4401
4402         * docs/reference/gio/Makefile.am:
4403         Fix up distcheck by removing weird
4404         non-needed stuff
4405
4406         * NEWS:
4407         Update for release
4408
4409 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4410
4411         * gio/gdesktopappinfo.c:
4412         * gio/glocaldirectorymonitor.c:
4413         * gio/glocalfile.c:
4414         * gio/glocalfileinfo.c:
4415         * gio/inotify/inotify-sub.c:
4416         * programs/gio-cat.c:
4417         * programs/gio-copy.c:
4418         * programs/gio-info.c:
4419         * programs/gio-ls.c:
4420         * programs/gio-monitor-dir.c:
4421         * programs/gio-monitor-file.c:
4422         * programs/gio-mount.c:
4423         * programs/gio-move.c:
4424         * programs/gio-rm.c:
4425         * programs/gio-save.c:
4426         * programs/gio-trash.c:
4427         Leak fixes from Kjartan Maraas
4428
4429 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4430
4431         * gio/fam/fam-helper.c:
4432         * gio/gdrive.[ch]:
4433         * gio/glocalfileinfo.c:
4434         * gio/gunixdrive.c:
4435         * gio/gvfs.c:
4436         * gio/gvolume.[ch]:
4437         * gio/inotify/inotify-diag.c:
4438         * gio/inotify/inotify-kernel.c:
4439         Various code cleanups from Kjartan Maraas
4440
4441 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4442
4443         * gio/gioscheduler.c:
4444         (init_scheduler):
4445         Set up threadpool so that we cache 2 unused
4446         idle threads for at 15 secs. This means we
4447         will reuse thread-local data (like dbus connections)
4448         for them.
4449
4450 2007-11-14  Alexander Larsson  <alexl@redhat.com>
4451
4452         * gio/fam/fam-helper.c:
4453         * gio/fam/gfamdirectorymonitor.c:
4454         * gio/fam/gfamfilemonitor.c:
4455         * gio/gappinfo.c:
4456         * gio/gcontenttype.c:
4457         * gio/gdatainputstream.c:
4458         * gio/gdataoutputstream.c:
4459         * gio/gdummyfile.c:
4460         * gio/gfile.c:
4461         * gio/gfile.h:
4462         * gio/gfileattribute.h:
4463         * gio/gfileenumerator.c:
4464         * gio/gfileinfo.c:
4465         * gio/ginputstream.c:
4466         * gio/gioerror.h:
4467         * gio/glocalfile.c:
4468         * gio/glocalfileinfo.c:
4469         * gio/goutputstream.c:
4470         * gio/gpollfilemonitor.c:
4471         * gio/gsimpleasyncresult.c:
4472         * gio/gunixmounts.c:
4473         * gio/gunixmounts.h:
4474         * gio/inotify/ginotifydirectorymonitor.c:
4475         * gio/inotify/ginotifyfilemonitor.c:
4476         * gio/inotify/inotify-diag.c:
4477         * gio/inotify/inotify-kernel.c:
4478         * gio/inotify/inotify-path.c:
4479         * gio/test-gio.c:
4480         * gio/test-streams.c:
4481         * programs/gio-info.c:
4482         * programs/gio-monitor-dir.c:
4483         * programs/gio-monitor-file.c:
4484         Various code cleanups from Kjartan Maraas
4485
4486 2007-11-13  Alexander Larsson  <alexl@redhat.com>
4487
4488         * gio/gdummyfile.c:
4489         Handle the uri-scheme calls for dummy files
4490
4491 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
4492
4493         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4494         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4495         to avoid clash with the C++ keyword.
4496
4497 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
4498
4499         * gio/glocalfileinfo.c: Build fix, added missing semicolon
4500         to an ifdef'ed call to getpwuid() in lookup_uid_data().
4501
4502 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
4503
4504         * gio/glocaldirectorymonitor.c:
4505         * gio/glocalfilemonitor.c:
4506         * gio/gunionvolumemonitor.c:
4507         Don't use g_once_init_*() for initializations that could fail and
4508         could leave the initialization variable set to 0 but use GOnce.
4509         This prevents a deadlock on the second call when trying to create
4510         a monitor and no monitor type is available. Thanks to Sven Herzberg
4511         for reporting.
4512
4513 2007-11-11  Sven Herzberg  <sven@imendio.com>
4514
4515         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4516         #ifdef (make it work on MacOS X again)
4517
4518 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
4519         * Changelog:
4520         Fixes Changelog for last two commits (sorry guys).
4521
4522 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
4523         * gio/gappinfo.c:
4524         * gio/gbufferedinputstream.c:
4525         * gio/gdatainputstream.c:
4526         * gio/gfile.c:
4527         * gio/gfileoutputstream.c:
4528         * gio/gfilterinputstream.c:
4529         * gio/glocalfileinputstream.c:
4530         * gio/gurifuncs.c:
4531         * gio/gvfs.c:
4532         More consistency fixes in g*stream.c files. 
4533         Significant clean of gfile's documentation, filling in of 
4534         asynchronous operations documentation.
4535
4536 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
4537         * gio/gappinfo.c:
4538         * gio/gasyncresult.c:
4539         * gio/gbufferedinputstream.c:
4540         * gio/gbufferedoutputstream.c:
4541         * gio/gcancellable.c:
4542         * gio/gcontenttype.c:
4543         * gio/gdatainputstream.c:
4544         * gio/gdataoutputstream.c:
4545         * gio/gdesktopappinfo.c:
4546         * gio/gdrive.c:
4547         * gio/gfile.c:
4548         * gio/gfileattribute.c:
4549         * gio/gio/gfileenumerator.c:
4550         * gio/gfileinfo.c:
4551         * gio/gfileinputstream.c:
4552         * gio/gfilemonitor.c:
4553         * gio/gfileoutputstream.c:
4554         * gio/ginputstream.c:
4555         * gio/giomodule.c:
4556         * gio/gioscheduler.c:
4557         * gio/gloadableicon.c:
4558         * gio/glocalfileoutputstream.c:
4559         * gio/gmemoryoutputstream.c:
4560         * gio/gmountoperation.c:
4561         * gio/goutputstream.c:
4562         * gio/gseekable.c:
4563         * gio/gsimpleasyncresult.c:
4564         * gio/gunionvolumemonitor.c:
4565         * gio/gunixmounts.c:
4566         * gio/gunixvolume.c:
4567         * gio/gurifuncs.c:
4568         * gio/gvfs.c:
4569         * gio/gvolume.c:
4570         * gio/gvolumemonitor.c:
4571         Updated documentation stubs, working towards consistency and 
4572         completeness.
4573
4574 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
4575
4576         * gio/gmemoryoutputstream.c:
4577         * gio/gmemoryoutputstream.h:
4578         Change g_memory_output_stream_set_free_on_close() to
4579         g_memory_output_stream_set_free_data() as this makes more sense and
4580         is more consistent with GMemoryInputStream.
4581
4582 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4583
4584         * gio/gfile.c:
4585         Fix some docs
4586         
4587         * gio/glocalvfs.c:
4588         * gio/gvfs.[ch]:
4589         Change how we find the default vfs so that
4590         we can handle a gvfs failing to init
4591
4592 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
4593
4594         * gio/gbufferedoutputstream.c:
4595         * gio/gdatainputstream.c:
4596         * gio/gdataoutputstream.c:
4597         * gio/gfileinputstream.c:
4598         * gio/gfileoutputstream.c:
4599         * gio/gfilterinputstream.c:
4600         * gio/gfilteroutputstream.c:
4601         * gio/ginputstream.c:
4602         * gio/gmemoryinputstream.c:
4603         * gio/gmemoryoutputstream.c:
4604         * gio/goutputstream.c:
4605         * gio/gsimpleasyncresult.c:
4606         * gio/gsocketinputstream.c:
4607         * gio/gsocketoutputstream.c:
4608         Add guards to the remaining public functions, add a TODO for
4609         an unimplemented function and remove some useless guards.
4610
4611 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4612
4613         * configure.ac:
4614         Autoconf checks for the various types of
4615         getpwuid_r and getgrgid_r
4616         
4617         * gio/glocalfileinfo.c:
4618         Use the autoconf checks from above
4619
4620 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4621
4622         * gio/glocalfile.c:
4623         (g_local_file_query_filesystem_info):
4624         Some fixes for the statvfs case
4625         
4626 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4627
4628         * gio/glocalfile.c:
4629         (g_local_file_query_filesystem_info):
4630         Pick the "best" of statfs / statvfs for the system
4631         if both are availible.
4632
4633 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4634
4635         Solaris fixes from Halton.Huo@Sun.COM:
4636         
4637         * gio/gdrive.c:
4638         * gio/gfile.c:
4639         * gio/gvolume.c:
4640         Don't return void
4641         
4642         * gio/glocalfileinfo.c:
4643         Fix for solaris definition of getpwuid_r
4644         
4645         * gio/test-streams.c:
4646         Use G_GNUC_PRETTY_FUNCTION
4647
4648 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4649
4650         * gio/gdesktopappinfo.c:
4651         (update_default_list):
4652         Remove double semicolon.
4653         Patch from Jens Granseuer
4654
4655 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4656
4657         * docs/reference/gio/gio-sections.txt:
4658         * gio/gbufferedinputstream.c:
4659         * gio/gbufferedinputstream.h:
4660         * gio/gdatainputstream.c:
4661         * gio/gfileenumerator.c:
4662         * gio/gioscheduler.c:
4663         * gio/gunionvolumemonitor.c:
4664         * gio/gvfs.c:
4665         * programs/gio-save.c:
4666         Fix typo: availible -> available. Unfortuntely this breaks API
4667         and ABI as g_buffered_input_stream_get_available() was renamed.
4668         
4669         * gio/gunixmounts.c:
4670         * gio/gbufferedinputstream.c:
4671         Add guards for public functions.
4672
4673 2007-11-06  Ross Burton  <ross@openedhand.com>
4674
4675         * docs/reference/gio/Makefile.am:
4676         Fix invalid += usage which automake 1.10 doesn't like.
4677
4678 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4679
4680         * gio/gappinfo.c:
4681         (g_app_launch_context_class_init):
4682         Fix warning
4683
4684         Patch from Ross Burton 
4685         
4686 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4687
4688         * configure.ac:
4689         Post release version bump
4690
4691 === gio-standalone 0.1.1 ===
4692
4693 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4694
4695         * configure.ac:
4696         Bump version to 0.1.1
4697         
4698         * gio/gsimpleasyncresult.c:
4699         (g_simple_async_result_set_from_error):
4700         Remove bogus g_return_if_fail
4701
4702 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4703
4704         * configure.ac:
4705         The name is gio-standalone
4706         
4707         * gio/Makefile.am:
4708         Add top src/builddir to includedir
4709
4710 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4711
4712         * docs/reference/gio/gio-sections.txt:
4713         * gio/gappinfo.c:
4714         * gio/gbufferedinputstream.c:
4715         * gio/gbufferedoutputstream.c:
4716         * gio/gcancellable.c:
4717         * gio/gdatainputstream.h:
4718         * gio/gdataoutputstream.c:
4719         * gio/gdataoutputstream.h:
4720         * gio/gdirectorymonitor.c:
4721         * gio/gfile.c:
4722         * gio/gfileattribute.c:
4723         * gio/gfileattribute.h:
4724         * gio/gfileenumerator.c:
4725         * gio/gfileenumerator.h:
4726         * gio/gfileinfo.c:
4727         * gio/gfileinfo.h:
4728         * gio/gfileinputstream.h:
4729         * gio/gfilemonitor.c:
4730         * gio/gfileoutputstream.h:
4731         * gio/glocalfilemonitor.h:
4732         * gio/glocalfileoutputstream.h:
4733         * gio/gmemoryinputstream.c:
4734         * gio/gmemoryoutputstream.c:
4735         * gio/gmountoperation.c:
4736         * gio/goutputstream.c:
4737         * gio/goutputstream.h:
4738         * gio/gseekable.h:
4739         * gio/gsimpleasyncresult.c:
4740         * gio/gunixmounts.c:
4741         * gio/gunixmounts.h:
4742         * gio/gurifuncs.h:
4743         * gio/inotify/inotify-helper.c:
4744         Fix gtk-doc warnings
4745
4746         Patch from Ross Burton 
4747         
4748 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4749
4750         * gio/gfilenamecompleter.c:
4751         (g_filename_completer_get_completions):
4752         fix warning
4753         
4754         * gio/gunixvolume.c:
4755         Remove unused function
4756
4757         Patches from Ross Burton 
4758
4759 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4760
4761         * gio/gdrive.h:
4762         * gio/gseekable.h:
4763         * gio/gvolume.h:
4764         Padding not needed for interfaces
4765
4766 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4767
4768         * gio/gfilemonitor.c:
4769         Remove debug spew
4770
4771         * gio/Makefile.am:
4772         Make giotypes.h an internal file
4773         
4774         * gio/gappinfo.h:
4775         * gio/gbufferedinputstream.h:
4776         * gio/gbufferedoutputstream.h:
4777         * gio/gcancellable.h:
4778         * gio/gdatainputstream.h:
4779         * gio/gdataoutputstream.h:
4780         * gio/gdirectorymonitor.c:
4781         * gio/gdirectorymonitor.h:
4782         * gio/gdrive.c:
4783         * gio/gdrive.h:
4784         * gio/gfile.c:
4785         * gio/gfile.h:
4786         * gio/gfileattribute.h:
4787         * gio/gfileenumerator.h:
4788         * gio/gfileicon.c:
4789         * gio/gfileicon.h:
4790         * gio/gfileinfo.c:
4791         * gio/gfileinfo.h:
4792         * gio/gfilemonitor.c:
4793         * gio/gfilemonitor.h:
4794         * gio/gfilenamecompleter.c:
4795         * gio/gfilenamecompleter.h:
4796         * gio/gfilterinputstream.h:
4797         * gio/gfilteroutputstream.h:
4798         * gio/ginputstream.h:
4799         * gio/gmemoryinputstream.h:
4800         * gio/gmemoryoutputstream.h:
4801         * gio/gmountoperation.c:
4802         * gio/gmountoperation.h:
4803         * gio/gnativevolumemonitor.c:
4804         * gio/goutputstream.h:
4805         * gio/gseekable.c:
4806         * gio/gseekable.h:
4807         * gio/gsimpleasyncresult.c:
4808         * gio/gsimpleasyncresult.h:
4809         * gio/gsocketinputstream.h:
4810         * gio/gsocketoutputstream.h:
4811         * gio/gthemedicon.c:
4812         * gio/gthemedicon.h:
4813         * gio/gvfs.h:
4814         * gio/gvolume.c:
4815         * gio/gvolume.h:
4816         * gio/gvolumemonitor.c:
4817         * gio/gvolumemonitor.h:
4818         Add padding in classes where it seems useful
4819         Don't include giotypes.h from public headers
4820         Move in Class definitions into c file where possible
4821         
4822         * gio/glocalfile.c:
4823         Fix warnings
4824
4825 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4826
4827         * docs/reference/gio/gio-docs.xml:
4828         Better structure for API docs
4829
4830 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4831
4832         * gio/gfileicon.c:
4833         * gio/gloadableicon.c:
4834         * gio/gsimpleasyncresult.c:
4835         * gio/gthemedicon.c:
4836         Add some more guards to public functions. Only files missing are now
4837         g*stream*.c.
4838
4839 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4840
4841         * docs/reference/gio/gio-docs.xml:
4842         Remove old files, add missing ones
4843
4844 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4845
4846         * docs/reference/gio/gio-sections.txt:
4847         Restructure
4848         Add missing stuff
4849         Hide implementation classes
4850         
4851         * gio/gdriveprivate.h:
4852         * gio/gvolumeprivate.h:
4853         Remove non-existing function declarations
4854
4855 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4856
4857         * gio/gappinfo.c:
4858         Fix compilation warnings and add guards to the new functions.
4859         
4860         * gio/gasyncresult.c:
4861         * gio/gdummyfile.c:
4862         Add guards to the public functions.
4863         
4864         * gio/gdummyfile.c:
4865         Implement get_path().
4866
4867 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4868
4869         * gio/gfilenamecompleter.c:
4870         Make g_filename_completer_get_completions
4871         return char ** instead of GList for
4872         typesafety.
4873         
4874         * docs/reference/gio/gio-docs.xml:
4875         * docs/reference/gio/gio-sections.txt:
4876         * gio/gappinfo.c:
4877         * gio/gasyncresult.c:
4878         * gio/gbufferedinputstream.c:
4879         * gio/gbufferedoutputstream.c:
4880         * gio/gcancellable.c:
4881         * gio/gcontenttype.c:
4882         * gio/gdatainputstream.c:
4883         * gio/gdataoutputstream.c:
4884         * gio/gdesktopappinfo.c:
4885         * gio/gdirectorymonitor.c:
4886         * gio/gdrive.c:
4887         * gio/gdummyfile.c:
4888         * gio/gfile.c:
4889         * gio/gfileattribute.c:
4890         * gio/gfileenumerator.c:
4891         * gio/gfileicon.c:
4892         * gio/gfileinfo.c:
4893         * gio/gfileinputstream.c:
4894         * gio/gfilemonitor.c:
4895         * gio/gfilenamecompleter.c:
4896         * gio/gfilenamecompleter.h:
4897         * gio/gfileoutputstream.c:
4898         * gio/gfilterinputstream.c:
4899         * gio/gicon.c:
4900         * gio/ginputstream.c:
4901         * gio/giomodule.c:
4902         * gio/gioscheduler.c:
4903         * gio/gloadableicon.c:
4904         * gio/glocaldirectorymonitor.c:
4905         * gio/glocalfile.c:
4906         * gio/glocalfileinputstream.c:
4907         * gio/glocalfilemonitor.c:
4908         * gio/glocalfileoutputstream.c:
4909         * gio/glocalvfs.c:
4910         * gio/gmemoryinputstream.c:
4911         * gio/gmemoryoutputstream.c:
4912         * gio/gmountoperation.c:
4913         * gio/goutputstream.c:
4914         * gio/gpollfilemonitor.c:
4915         * gio/gseekable.c:
4916         * gio/gsimpleasyncresult.c:
4917         * gio/gsocketinputstream.c:
4918         * gio/gsocketoutputstream.c:
4919         * gio/gthemedicon.c:
4920         * gio/gunionvolumemonitor.c:
4921         * gio/gunixdrive.c:
4922         * gio/gunixmounts.c:
4923         * gio/gunixvolume.c:
4924         * gio/gunixvolumemonitor.c:
4925         * gio/gurifuncs.c:
4926         * gio/gvfs.c:
4927         * gio/gvolume.c:
4928         * gio/gvolumemonitor.c:
4929         * gio/gwin32appinfo.c:
4930         Add (mostly stub) doc strings to public functions.
4931         Patch from Andrew Walton (awalton@gmail.com)
4932
4933 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4934
4935         * gio/gappinfo.[ch]:
4936         Added GAppLaunchContext object and pass that to launch.
4937         This allows simple implementation of both
4938         launch-on-screen and startup notification via a gtk+
4939         subclass of GAppLaunchContext
4940         
4941         * gio/gdesktopappinfo.c:
4942         Implement GAppLaunchContext API
4943         
4944         * gio/gwin32appinfo.c:
4945         Update to new APIs
4946
4947 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4948
4949         * gio/gmountoperation.c:
4950         Add some guards to GMountOperation's public functions.
4951
4952 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4953
4954
4955         * gio/gappinfo.c:
4956         * gio/gcancellable.c:
4957         * gio/gdirectorymonitor.c:
4958         * gio/gdrive.c:
4959         * gio/gfileenumerator.c:
4960         * gio/gfilemonitor.c:,
4961         * gio/gfilenamecompleter.c:
4962         * gio/gicon.c:
4963         * gio/giomodule.c:
4964         * gio/gioscheduler.c:
4965         * gio/gseekable.c:
4966         * gio/gurifuncs.c:
4967         * gio/gvolume.c:
4968         * gio/gvolumemonitor.c:
4969         Add even more guards to various public functions.
4970
4971 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4972
4973         * gio/gappinfo.c:
4974         Add guards to the public functions of GAppInfo.
4975
4976 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4977
4978         * gio/gcontenttype.c:
4979         Add some more guards for public functions.
4980
4981 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4982
4983         * gio/fam/fam-module.c:
4984         * gio/fam/gfamdirectorymonitor.c:
4985         * gio/fam/gfamdirectorymonitor.h:
4986         * gio/fam/gfamfilemonitor.c:
4987         * gio/fam/gfamfilemonitor.h:
4988         * gio/inotify/ginotifydirectorymonitor.c:
4989         * gio/inotify/ginotifydirectorymonitor.h:
4990         * gio/inotify/ginotifyfilemonitor.c:
4991         * gio/inotify/ginotifyfilemonitor.h:
4992         Add proper copyright information and remove an unused variable
4993         in the GInotifyFileMonitor constructor.
4994
4995         * gio/gcancellable.c:
4996         Add a guard for a public function and an assertion to prevent
4997         an undefined program state.
4998
4999 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
5000
5001         * gio/gfileattribute.c:
5002         Don't run into an assertion if the given attribute value is NULL
5003         in g_file_attribute_value_get_*() but instead return a fallback
5004         value that makes sense in most situations. Passing them a attribute
5005         value with the wrong type will still run into an assertion.
5006
5007 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
5008
5009         * gio/gfileattribute.c:
5010         * gio/gfileinfo.c:
5011         Add even more guards to the public functions. Also fix the refcounting
5012         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5013         let g_file_info_list_attributes() filter the attributes by namespace
5014         instead of simply ignoring the namespace parameter.
5015
5016 2007-11-03  Sven Herzberg  <sven@imendio.com>
5017
5018         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5019         (This makes gio work on MacOS X again)
5020
5021 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
5022
5023         * Makefile.am:
5024         Build the gio subdirectory before the docs. Otherwise the build will
5025         fail.
5026
5027         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5028         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5029         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5030         Add guards to the public functions.
5031
5032 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
5033
5034         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5035         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5036         to prevent a compiler warning.
5037
5038         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5039         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5040         return something in the non-void function find_topdir_for().
5041
5042 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
5043
5044         * configure.ac:
5045         * Makefile.am:
5046         * docs/:
5047         Gtkdocify!
5048
5049 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
5050
5051         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5052         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5053         * gwin32appinfo.c (g_win32_app_info_launch):
5054         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5055         envp_for_startup_id, g_desktop_app_info_launch,
5056         g_desktop_app_info_launch_uris):
5057
5058         Give an opaque 'startup_id' string instead of 'envp'.
5059         Support empty file lists for launching new windows.
5060         Fix infinite recursion bug when launching URIs.
5061
5062 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
5063
5064         * gio/gfile.c:
5065         Add guard to the new g_file_get_uri_scheme() function.
5066
5067 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
5068
5069         * gio/gfile.c:
5070         Convert a g_return_val_if_fail() to setting the GError instead as
5071         otherwise applications have to verify the parameter before otherwise
5072         and the parameter might come directly from the user.
5073
5074 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
5075
5076         * gio/inotify/ginotify*.[ch]:
5077         Add missing copyright information.
5078
5079 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
5080
5081         * gio/gfile.c:
5082         Add guards in the beginning of public functions to check for valid
5083         parameters and fix a bug in copy_stream_with_progress() that could've
5084         caused writing less bytes than reading.
5085         * gio/glocalfileinfo.c:
5086         Check for a NULL parameter and set the GError accordingly then.
5087         * gio/goutputstream.c:
5088         Fix the same bug as in gfile.c that could've caused writing less bytes
5089         than reading in g_output_stream_real_splice().
5090
5091 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
5092
5093         * gio/Makefile.am:
5094         Use the correct gvolumeprivate.h naming
5095
5096 2007-11-01  Christian Kellner  <gicmo@gnome.org>
5097
5098         * gio/Makefile.am:
5099         Remove leftover "$(daemon_sources)" entry.
5100
5101 2007-11-01  Christian Kellner  <gicmo@gnome.org>
5102
5103         * gio/fam/*.[ch]:
5104         * gio/*.[ch]:
5105         * programs/*.[ch]:
5106         Add copyright information to source files.
5107
5108 2007-11-01  Alexander Larsson  <alexl@redhat.com>
5109
5110         * gio/gfile.[ch]:
5111         * gio/glocalfile.c:
5112         Add g_file_get_uri_scheme
5113
5114 2007-11-01  Alexander Larsson  <alexl@redhat.com>
5115
5116         * gio/gappinfo.h:
5117         * gio/gdesktopappinfo.c:
5118         * gio/gwin32appinfo.c:
5119         Add g_app_info_get_default_for_uri_scheme.
5120
5121 2007-11-01  Alexander Larsson  <alexl@redhat.com>
5122
5123         * gio/Makefile.am:
5124         Correct filename for gdriveprivate.h
5125
5126 2007-10-31  Alexander Larsson  <alexl@redhat.com>
5127
5128         * gio/gfileinfo.h:
5129         Rename id:value to id:file
5130         Add id:fs
5131         
5132         * gio/glocalfileinfo.c:
5133         Implement id:fs
5134
5135 2007-10-31  Alexander Larsson  <alexl@redhat.com>
5136
5137         * gio/gunixvolume.c:
5138         * gio/gvolume.[ch]:
5139         Remove g_volume_get_platform_id, as thats not
5140         needed with the simpler union volume monitor
5141
5142 2007-10-31  Alexander Larsson  <alexl@redhat.com>
5143
5144         * gio/Makefile.am:
5145         * gio/guniondrive.[ch]: Removed.
5146         * gio/gunionvolume.[ch]: Removed.
5147         Remove GUnionDrive/Volume
5148
5149         * gio/gunionvolumemonitor.c:
5150         Simplify union volume monitor, now we
5151         only have one native volume monitor and
5152         we use the actual volumes/drives from the
5153         child monitors instead of wrapping them
5154
5155         * gio/gnativevolumemonitor.[ch]:
5156         Base class for native volume monitors.
5157         Includes priority and get_volume_for_mountpoint
5158         
5159         * gio/gfile.[ch]:
5160         Add g_file_find_enclosing_volume
5161
5162         * gio/gfileinfo.h:
5163         Remove volume name fs attribute
5164         Add readonly fs attribute
5165         
5166         * gio/glocalfile.c:
5167         Implement readonly attribute
5168         remove volume name attribute
5169         Implement find_enclosing volume
5170         
5171         * gio/gunixmounts.c:
5172         Add a volume for "/".
5173         
5174         * gio/gunixvolume.[ch]:
5175         Set better name for /
5176         
5177         * gio/gunixvolumemonitor.[ch]:
5178         Derive from GNativeVolumeMonitor
5179         Implement get_volume_for_mountpoint
5180         
5181         * gio/gvolume.h:
5182         GVolume typedef moved to gfile.h
5183         
5184         * gio/gvolumeprivate.h:
5185         Add g_volume_get_for_mount_path
5186
5187 2007-10-31  Alexander Larsson  <alexl@redhat.com>
5188
5189         * gio/gunixmounts.[ch]:
5190         Add cache info to unix mount listers
5191         Make getmntent use threadsafe
5192         Add is_system_internal attribute for GUnixMount
5193         
5194         * gio/gunixvolume.c:
5195         (g_unix_volume_new):
5196         Use is_system_internal instead of own code
5197         
5198         * gio/glocaldirectorymonitor.c:
5199         * gio/gunixvolumemonitor.c:
5200         Update to new gunixmounts API
5201         
5202         * gio/glocalfile.c:
5203         Fix warning
5204
5205 2007-10-30  Alexander Larsson  <alexl@redhat.com>
5206
5207         * gio/gfileinfo.h:
5208         Add volume name fsinfo attribute
5209         
5210         * gio/glocalfile.c:
5211         Read volume name info
5212         
5213         * gio/gunionvolumemonitor.c:
5214         Fix infinite loops when finalizing a union volume monitor
5215
5216 2007-10-30  Alexander Larsson  <alexl@redhat.com>
5217
5218         * gio/goutputstream.[ch]:
5219         Add splice() with default implementation
5220         
5221         * gio/gsocketoutputstream.c:
5222         (g_socket_output_stream_write):
5223         Return error on cancellation correctly.
5224         
5225 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
5226
5227         * gio/glocalfile.c (g_local_file_trash):
5228         Do not leak a string.
5229
5230 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
5231
5232         * gio/gfile.c (g_file_load_contents):
5233         Unref the stream after closing it.
5234
5235 2007-10-25  Alexander Larsson  <alexl@redhat.com>
5236
5237         * gio/gioscheduler.h:
5238         Fix include
5239
5240 2007-10-25  Alexander Larsson  <alexl@redhat.com>
5241
5242         * gio/gfile.[ch]:
5243         * gio/glocalfile.c:
5244         Add g_file_has_uri_scheme and implement for local files
5245
5246 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
5247
5248         * gio/gdesktopappinfo.c: do not leak a string.
5249
5250 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
5251
5252         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5253         (g_local_directory_monitor_new):
5254         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5255         (g_local_file_monitor_new):
5256         Only look for the monitor type that should be used the first time
5257         and use g_qsort_with_data() instead of our own bubble sort
5258         implementation.
5259
5260 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
5261
5262         * gio/Makefile.am:
5263         * gio/fam/Makefile.am:
5264         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5265         * gio/fam/fam-helper.h:
5266         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5267         * gio/fam/gfamdirectorymonitor.c:
5268         * gio/fam/gfamdirectorymonitor.h:
5269         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5270         * gio/fam/gfamfilemonitor.h:
5271         * gio/glocaldirectorymonitor.c:
5272         * gio/glocaldirectorymonitor.h:
5273         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5274         * gio/glocalfilemonitor.h:
5275         * gio/inotify/Makefile.am:
5276         * gio/inotify/ginotifydirectorymonitor.c:
5277         * gio/inotify/ginotifydirectorymonitor.h:
5278         * gio/inotify/ginotifyfilemonitor.c:
5279         * gio/inotify/ginotifyfilemonitor.h:
5280         Implement the FAM and Inotify monitors as
5281         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5282         their own GIO module. GLocal(Directory|File)Monitor will use the
5283         monitor with the highest rank that is supported on that machine.
5284
5285 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
5286
5287         * gio/Makefile.am:
5288         Change GIO module dir to $(libdir)/gio/modules and change
5289         the log domain from GVFS to GIO. Also only export symbols starting
5290         with g_ in the resulting library.
5291         * gio/test-streams.c: (main):
5292         Set log handler for the GIO log domain.
5293
5294 2007-10-22  Alexander Larsson  <alexl@redhat.com>
5295
5296         * gio/gfilenamecompleter.[ch]:
5297         Add g_filename_completer_set_dirs_only
5298
5299 2007-10-22  Alexander Larsson  <alexl@redhat.com>
5300
5301         * gio/Makefile.am:
5302         * gio/gurifuncs.[ch]:
5303         Add some simple URI helpers
5304         
5305         * gio/gfilenamecompleter.[ch]:
5306         Added object for filename (parse name actually) completion
5307         
5308         * gio/glocalvfs.c:
5309         Handle ~ in parse names
5310
5311 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5312
5313         * gio/gfileinfo.h:
5314         * gio/glocalfileinfo.c:
5315         Add and implement id:value attribute
5316
5317 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5318
5319         * gio/gdrive.[ch]:
5320         * gio/guniondrive.c:
5321         * gio/gunixdrive.c:
5322         Add and implement g_drive_has_volumes
5323         
5324 2007-10-17  Alexander Larsson  <alexl@redhat.com>
5325
5326         * gio/gfileinfo.h:
5327         * gio/glocalfileinfo.[ch]:
5328         Add unix:is_mountpoint and implement for local files
5329
5330 2007-10-16  Alexander Larsson  <alexl@redhat.com>
5331
5332         * gio/gunionvolumemonitor.c:
5333         (g_union_volume_monitor_init):
5334         Fix up the unix type getting so that it works with gcc
5335         
5336 2007-10-12  Alexander Larsson  <alexl@redhat.com>
5337
5338         * gio/gfileinfo.h:
5339         * gio/glocalfileinfo.c:
5340         Add thumbnail:failed to file info
5341
5342 2007-10-12  Richard Hult  <richard@imendio.com>
5343
5344         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5345         optimizing away the get_type call (happens with some gcc versions,
5346         like the one shipped with OS X 10.4).
5347
5348 2007-10-12  Alexander Larsson  <alexl@redhat.com>
5349
5350         * gio/glocalfileinfo.c:
5351         (_g_local_file_info_set_attribute):
5352         Fix build if not HAVE_XATTR
5353         Patch from Milosz Derezynski <internalerror@gmail.com>
5354
5355 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
5356
5357         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5358         around for review, otherwise I would have asked you before
5359         committing)
5360
5361 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5362
5363         * gio/gfileinfo.h:
5364         Add thumbnail:path attribute
5365         
5366         * gio/glocalfileinfo.c:
5367         Implement thumbnail:path for local files
5368
5369 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5370
5371         * gio/glocalfileinfo.c:
5372         (_g_local_file_info_get):
5373         Avoid duplicate icon names
5374
5375 2007-10-11  Alexander Larsson  <alexl@redhat.com>
5376
5377         * gio/gthemedicon.[ch]:
5378         Change g_themed_icon_get_names return type to const
5379
5380 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5381
5382         * gio/glocalfileinfo.c:
5383         Don't reference freed memory
5384
5385 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5386
5387         * gio/gfileattribute.c:
5388         Handle objects
5389         
5390         * gio/glocalfileinfo.c:
5391         Return icon info
5392
5393 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5394
5395         * gio/gfileinfo.c:
5396         Check for NULL icons
5397
5398         * gio/gfileattribute.c:
5399         Don't dup when getting objects (same as for string attributes)
5400
5401         * gio/gicon.c (g_icon_equal):
5402         Safely handle NULLs in equal
5403
5404 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5405
5406         * gio/gfileinfo.h:
5407         Fix c++ compilation issues
5408         Patch from Milosz Derezynski <internalerror@gmail.com>
5409
5410 2007-10-10  Alexander Larsson  <alexl@redhat.com>
5411
5412         * programs/gio-monitor-dir.c:
5413         Don't crash if dir monitor not supported.
5414
5415 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5416
5417         * gio/gioerror.h:
5418         Add missing G_END_DECLS
5419
5420 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
5421
5422         * gio/gfile.c: (g_file_set_display_name),
5423         (g_file_query_settable_attributes),
5424         (g_file_query_writable_namespaces):
5425         Return NULL not FALSE on errors as the return type is a pointer.
5426
5427 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
5428
5429         * gio/glocalfile.c: (g_local_file_monitor_file):
5430         Don't call monitor_file on the default interface vtable (which
5431         is NULL) but simply return NULL. The caller, GFile, will create a
5432         polling monitor if NULL is returned.
5433
5434 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5435
5436         * Makefile.am:
5437         * configure.ac:
5438         * gio-unix-2.0.pc.in:
5439         Add gio-unix-2.0.pc if OS_UNIX
5440         
5441         * gio/Makefile.am:
5442         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5443
5444 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5445
5446         * gio/gunixmounts.[ch]:
5447         Make unix mount monitoring API sane.
5448         Now its just a object with mounts_changed
5449         and mountpoints_changed signals.
5450         
5451         * gio/glocaldirectorymonitor.c:
5452         * gio/gunixvolumemonitor.c:
5453         Use new mount monitor api
5454
5455 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5456
5457         * gio/gunixmounts.[ch]:
5458         Move guess type into one call for mounts and one for mountpoints
5459         
5460         * gio/gunixdrive.c:
5461         * gio/gunixvolume.c:
5462         Update
5463
5464 2007-10-09  Alexander Larsson  <alexl@redhat.com>
5465
5466         * gio/gunixmounts.[ch]:
5467         Remove _ prefix in preparation to make this semi-public
5468         Hide implementation of structs
5469         
5470         * gio/glocaldirectorymonitor.c:
5471         * gio/gunixdrive.c:
5472         * gio/gunixvolume.c:
5473         * gio/gunixvolumemonitor.c:
5474         Update for above API changes
5475
5476 2007-10-08  Alexander Larsson  <alexl@redhat.com>
5477
5478         * gio/gfile.c:
5479         Better polling fallback. This also handles the case where we have
5480         a monitor_file implementation, but it fails.
5481
5482 2007-10-08  Alexander Larsson  <alexl@redhat.com>
5483
5484         * gio/gfile.[ch]:
5485         * gio/glocalfile.c:
5486         * gio/gunixmounts.c:
5487         * programs/gio-monitor-dir.c:
5488         * programs/gio-monitor-file.c:
5489         Added cancellable to file monitoring calls.
5490         These are really sync calls and need this.
5491
5492 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
5493
5494         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5495         (g_local_vfs_class_init):
5496         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5497         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5498
5499 2007-10-05  Alexander Larsson  <alexl@redhat.com>
5500
5501         * gio/gdirectorymonitorprivate.h: 
5502         * gio/gfilemonitorprivate.h: 
5503         * gio/gdirectorymonitor.h:
5504         * gio/gfilemonitor.h:
5505         Remove *private.h and move to the public API, so that
5506         we can do implementations outside gio (such as in gvfs)
5507         
5508         * gio/gdirectorymonitor.c:
5509         * gio/gfilemonitor.c:
5510         * gio/glocaldirectorymonitor.c:
5511         * gio/gpollfilemonitor.c:
5512         * gio/inotify/inotify-helper.c:
5513         * gio/fam/fam-helper.c:
5514         Update to the new header names
5515
5516 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
5517
5518         * gio/gdirectorymonitor.c:
5519         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5520         GTypes as abstract.
5521
5522 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5523
5524         * gio/glocalfileinfo.c (get_access_rights):
5525         Set CAN_TRASH when we can move the file.
5526         We should really also check for a parent trash dir.
5527
5528 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5529
5530         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5531         Add can_trash access attribute
5532
5533 2007-10-04  Alexander Larsson  <alexl@redhat.com>
5534
5535         * gio/glocalfile.c:
5536         (g_local_file_trash):
5537         Create info file first. This is per-spec and allows
5538         us to actually trash directories.
5539
5540 2007-10-02  Alexander Larsson  <alexl@redhat.com>
5541
5542         * gio/gdesktopappinfo.c:
5543         Implement the new mime support code.
5544         Always set app as handling mimetype when being set as default for it
5545
5546 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5547
5548         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5549         Fix up check for xattrs:
5550
5551 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5552
5553         * gio/gappinfo.c:
5554         (g_app_info_set_as_default_for_extension):
5555         (g_app_info_add_supports_type):
5556         (g_app_info_can_remove_supports_type):
5557         (g_app_info_remove_supports_type):
5558         Make these fail nicely if not implemented
5559
5560 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
5561
5562         * gio/glocalfileoutputstream.c:
5563         * gio/glocalfileoutputstream.h:
5564         * gio/test-gio.c:
5565         * gio/gfile.c:
5566         * gio/gfile.h:
5567         * gio/glocalfile.c:
5568         * programs/gio-save.c: 
5569         Add a GFileCreateFlags argument to operations that can create
5570         a new file.
5571
5572 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5573
5574         * gio/gappinfo.[ch]:
5575         * gio/gdesktopappinfo.c:
5576         Add more (stubbed out) mime API needed for nautilus
5577
5578 2007-10-01  Alexander Larsson  <alexl@redhat.com>
5579
5580         * gio/gappinfo.h:
5581         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5582         Add g_app_info_set_as_default_for_extension.
5583         
5584         * gio/gdesktopappinfo.c:
5585         Dummy for g_app_info_set_as_default_for_extension
5586         Support flags in g_app_info_create_from_commandline
5587
5588         * gio/gwin32appinfo.c:
5589         * gio/test-gio.c:
5590         Update for API changes
5591         
5592         * gio/gthemedicon.c:
5593         Properly NULL-terminate list of icon names
5594
5595 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5596
5597         * gio/gloadableicon.h:
5598         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5599
5600 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5601
5602         * gio/Makefile.am:
5603         Install headers in $includedir/gio-standalone/
5604         
5605         * gio-2.0.pc.in: Added.
5606         * gio-standalone.pc.in: Removed.
5607         * configure.ac:
5608         * Makefile.am:
5609         Renamed pkg-config file to match glib (for future move)
5610         Update to the new include dir
5611         
5612         * gio/gappinfo.h:
5613         Add more TODO comments
5614
5615 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5616
5617         * gio/gdesktopappinfo.[ch]:
5618         Expose new_from_filename
5619         Add getter for is_hidden and handle it better
5620
5621 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5622
5623         * gio/gfileinfo.[ch]:
5624         Rename g_file_size_format_for_display to
5625         g_format_file_size_for_display.
5626         Now it doesn't have the g_file prefix, so we
5627         can later move it to glib.
5628
5629 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5630
5631         * gio/gappinfo.[ch]:
5632         Add g_app_info_get_id and g_app_info_get_executable.
5633         Make all getters non-reffing
5634         Make g_app_info_launch take GFile arguments.
5635         Add must_support_uris argument to g_app_info_get_default_for_type.
5636         
5637         * gio/gwin32appinfo.c:
5638         Update to GAppInfo api changes
5639         
5640         * gio/gdesktopappinfo.c:
5641         Update to GAppInfo api changes
5642         Implement supports_xdg_startup_notify
5643         
5644         * gio/gfileicon.c (g_file_icon_get_file):
5645         Make getter non-reffing.
5646         
5647         * gio/test-gio.c:
5648         Update to new API
5649
5650 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5651
5652         * gio/gfileinfo.[ch]: 
5653         Add g_file_size_format_for_display helper
5654         
5655 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5656
5657         * gio/glocalfileinfo.c:
5658         Set UNIX_GID from gid, not from uid
5659
5660 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5661
5662         * gio/gfile.[ch]:
5663         Add g_file_set_attributes_async
5664
5665 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5666
5667         * gio/glocalfile.c (g_local_file_set_display_name):
5668         Fix set_display_name to actually rename to the right place.
5669         Use lstat to look for existing files so we don't overwrite
5670         broken links.
5671
5672 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5673
5674         * gio/gfile.[ch]:
5675         Add g_file_set_display_name_async()
5676
5677 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5678
5679         * gio/gfile.[ch]:
5680         Add load_partial_contents async calls
5681         
5682         * gio/glocalfile.c:
5683         Make internal function static
5684
5685 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5686
5687         * gio/glocalfileinfo.c:
5688         Correctly detect broken symlinks
5689
5690 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5691
5692         * gio/gcancellable.c (g_cancellable_cancel):
5693         Allow cancel on NULL cancellable
5694
5695 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5696
5697         * gio/gsimpleasyncresult.c:
5698         Don't allocate g_error manually.
5699         Fixes g_slice/g_new mixup crash
5700
5701 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5702
5703         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5704         Actually set active_backend.
5705         This means the monitor will be cancelled correctly.
5706
5707 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5708
5709         * gio/gdirectorymonitor.c:
5710         Set timeout to NULL when destroying
5711
5712 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5713
5714         * gio/gioerror.h:
5715         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5716         that is a better description of the error.
5717
5718 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
5719
5720         * gio/gvfs.c: (g_vfs_get_local):
5721         Make the local vfs variable static. The same instance should
5722         always be returned.
5723
5724 2007-09-24  Alexander Larsson  <alexl@redhat.com>
5725
5726         * gio/glocalfileinfo.c:
5727         Pass in actual length read into sniffer, not the length
5728         we tried to read.
5729
5730 2007-09-21  Alexander Larsson  <alexl@redhat.com>
5731
5732         * gio/gfileenumerator.c:
5733         * gio/gfileinfo.c:
5734         * gio/gfileinfo.h:
5735         * gio/gfileinputstream.c:
5736         * gio/gfileoutputstream.c:
5737         * gio/ginputstream.c:
5738         * gio/goutputstream.c:
5739         Don't crash if async callbacks are NULL
5740
5741 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5742
5743         * gio/gfile.[ch]:
5744         Add async enumerate_children method and default
5745         implementation
5746
5747 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5748
5749         * gio/gfile.[ch]
5750         Add g_file_contains_file & g_file_get_relative_path, since they
5751         were needed for nautilus.
5752         Renamed g_file_resolve_relative to g_file_resolve_relative_path
5753         to make it clearer.
5754         
5755         * gio/gdummyfile.c:
5756         * gio/glocalfile.c:
5757         Implement new methods
5758
5759 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5760
5761         * gio/gfile.[ch]:
5762         * gio/gfileinputstream.[ch]:
5763         * gio/gfileoutputstream.[ch]:
5764         * gio/glocalfile.c:
5765         * gio/glocalfileenumerator.[ch]:
5766         * gio/glocalfileinfo.[ch]:
5767         * gio/glocalfileinputstream.c:
5768         * gio/glocalfileoutputstream.c:
5769         * gio/gpollfilemonitor.c:
5770         * programs/gio-copy.c:
5771         * programs/gio-info.c:
5772         * programs/gio-move.c:
5773         Rename get_file_info to query_info() to make it clearer
5774         that these are not simple getters, but do i/o.
5775
5776 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5777
5778         * gio/gdatainputstream.[ch]:
5779         * gio/test-streams.c:
5780         Use _read_XXX instead of _get_XXX for the i/o calls
5781         in GDataInputStream
5782
5783 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5784
5785         * gio/gappinfo.h:
5786         Added needed stuff to TODO comment
5787
5788 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5789
5790         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5791         Don't error out removing the backup copy if it doesn't
5792         already exist.
5793
5794 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5795
5796         * programs/Makefile.am:
5797         * programs/gvfs-*.c: 
5798         * programs/gio-*.c:
5799         Renamed apps from gvfs-xxx to gio-xxx.
5800
5801 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5802
5803         * gio/gfile.c:
5804         * gio/gfileoutputstream.[ch]:
5805         * gio/glocalfileoutputstream.c:
5806         * programs/gvfs-save.c:
5807         g_file_output_stream_get_etag doesn't do i/o, so remove
5808         cancellation and error.
5809
5810 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5811
5812         * gio/gfile.[ch]:
5813         Add new_etag output to replace_contents functions
5814
5815 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5816
5817         * gio/gfileoutputstream.[ch]:
5818         Add async get_file_info and default implementation
5819
5820 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5821
5822         * gio/gfileinputstream.c:
5823         Implement fallback wrapper for async get_file_info
5824
5825 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5826
5827         * gio/gfile.[ch]:
5828         Add etag out argument to load_contents
5829         
5830         * gio/test-gio.c:
5831         Update to new API
5832
5833 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5834
5835         * gio/gcontenttype.c (looks_like_text):
5836         Whitespace like tab, cr and lf do not make the
5837         file binary.
5838
5839 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5840
5841         * gio/gfileinputstream.[ch]:
5842         Add async get_file_info.
5843
5844 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5845
5846         * gio/goutputstream.c (g_output_stream_write_all):
5847         Allow NULL for bytes_written
5848
5849 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5850
5851         * gio/gmemoryinputstream.[ch]:
5852         Add accessors for data
5853
5854 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5855
5856         * gio/gdatainputstream.c (g_data_input_stream_get_until):
5857         Don't crash if length is NULL
5858