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