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