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