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