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