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