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