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