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