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