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