Bug 538362 - Get Win32 icons back in the file chooser
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-06-16  Tor Lillqvist  <tml@novell.com>
2
3         Bug 538362 - Get Win32 icons back in the file chooser
4
5         * gcontenttype.c (g_content_type_get_icon): Look up the icon
6         corresponding to a file extension in the Registry. Patch by Hans
7         Breuer.
8         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
9         
10 2008-06-16  Tor Lillqvist  <tml@novell.com>
11
12         Patches by Hans Breuer:
13
14         * glocalfile.c (is_xp_or_later): Handle compiling against older
15         SDK headers with missing VerifyVersionInfo().  Conditioned on
16         _MSC_VER, but should probably use some better test.
17         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
18         uninitialised statfs_result variable on Win32.
19
20 2008-06-16  Michael Natterer  <mitch@imendio.com>
21
22         * *.c: chain up unconditionally in finalize() and dispose(). Also
23         don't dereference these function pointers when calling them since
24         that has no meaning at all.
25
26 2008-06-16  Ross Burton  <ross@burtonini.com>
27
28         * gfileenumerator.c:
29         Remove check for dispose implementation as it annoys Emmanuele.
30         
31 2008-06-16  Ross Burton  <ross@burtonini.com>
32
33         Bug 536252 – GFileEnumerator should allow access to the containing
34         GFile
35         
36         * gfileenumerator.c:
37         * gfileenumerator.h:
38         * gfile.h:
39         Add g_file_enumerator_get_container() and a container writeable
40         construct-only property.  Also shuffle around typedefs to make it
41         compile.
42         
43         * glocalfileenumerator.c:
44         * glocalfileenumerator.h:
45         * glocalfile.c:
46         Instead of a string filename take a GFile in the constructor and
47         use it to set the container property.
48         
49         * gio.symbols:
50         Update with new API.
51
52 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
53
54         * gfile.c: Make includes more uniform
55
56 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
57
58         * tests/live-g-file.c (sample_struct):
59         Use less fancy unicode filenames, so the test doesn't fail
60         on Mac OS X (#531476).
61
62 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
63         
64         * === Released 2.17.2 ===
65
66 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
67
68         * === Released 2.17.1 ===
69
70 2008-06-11  A. Walton  <awalton@gnome.org>
71
72         * tests/g-file.c (test_g_file_new_null):
73         Fix broken test case.
74
75 2008-06-11  Matthias Clasen <mclasen@redhat.com>
76
77         * pltcheck.sh: We use g_clear_error now.
78
79 2008-06-11  Matthias Clasen <mclasen@redhat.com>
80
81         * glocalfile.c (g_local_file_enumerate_children): Revert
82         an unintended change.
83
84 2008-06-11  Matthias Clasen <mclasen@redhat.com>
85
86         * gfile.c (g_file_replace_contents): Don't unref before the last use.
87
88 2008-06-10  Matthias Clasen <mclasen@redhat.com>
89
90         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
91         folder
92         
93         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
94         as icon for the desktop directory, also make user-home and
95         user-desktop the preferred icons.
96
97 2008-06-10  Matthias Clasen <mclasen@redhat.com>
98
99         * gio.symbols:
100         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
101         to add a name to the front of the list.
102
103 2008-06-10  Matthias Clasen <mclasen@redhat.com>
104
105         Bug 537392 – Additional colon in xattr name
106
107         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
108         too. Reported by  Alessandro Morandi 
109
110 2008-06-10  Matthias Clasen <mclasen@redhat.com>
111
112         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
113         file systems
114
115         * glocalfile.c (get_fs_type): Add afs and autofs.
116         Patch by Danny Baumann.
117
118 2008-06-10  Matthias Clasen <mclasen@redhat.com>
119
120         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
121
122         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
123         is no parent.  (Owen Taylor, patch by Christian Neumair)
124         
125 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
126
127         * gfile.c (g_file_replace_contents): do not leak the output stream.
128
129 2008-06-10  Michael Natterer  <mitch@imendio.com>
130
131         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
132         uninitialized memory as array index.
133
134 2008-06-10  Tor Lillqvist  <tml@novell.com>
135
136         * gcontenttype.c (g_content_type_can_be_executable)
137         (g_content_type_get_icon) [Win32]: Add TODO comments.
138
139 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
140
141         * xdgmime/Makefile.am: Fix the build
142
143 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
144
145         * gcontenttype.c (g_content_type_get_icon): Use icons specified
146         in the shared mime database, if available.
147
148         * xdgmime/*: Sync with upstream. This brings support for
149         glob weights, generic icons, and changes the cache format to 
150         version 1.1.
151
152 2008-05-28  Michael Natterer  <mitch@imendio.com>
153
154         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
155         the global CPPFLAGS now.
156
157         * tests/data-input-stream.c
158         * tests/data-output-stream.c
159         * tests/g-file-info.c
160         * tests/g-file.c
161         * tests/live-g-file.c
162         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
163
164 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
165
166         * === Released 2.17.0 ===
167
168         * tests/live-g-file.c: Clean up after the tests, so make distcheck
169         doesn't complain about leftover files.
170
171 2008-05-27  simon.zheng  <simon.zheng@sun.com>
172
173         * glocalfile.c: (g_local_file_query_filesystem_info):
174         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
175
176 2008-05-26  Michael Natterer  <mitch@imendio.com>
177
178         * gmemoryoutputstream.h: declare
179         g_memory_output_stream_get_data_size().
180
181 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
182
183         * tests/*: Make tests work 
184
185 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
186
187         * gio.symbols: Add g_memory_output_stream_get_data_size.
188
189 2008-05-25  Ross Burton  <ross@burtonini.com>
190
191         * glocalfile.c:
192         Fix typo in error message (#534764).
193
194 2008-05-25  Ross Burton  <ross@burtonini.com>
195
196         * Makefile.am:
197         Fix circular dependency loop for gioenumtypes.h (#534759).
198
199 2008-05-19  Hans Breuer  <hans@breuer.org>
200
201         * Makefile.am : EXTRA_DIST += makefile.msc
202
203 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
204
205         * gcontenttype.h:
206         * gcontenttype.c: (g_content_type_from_mime_type):
207         New function to create a content type from a mime type. (#527175,
208         Milan Crha)
209
210 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
211
212         Bug 532965 – Should not return filesystem::free for certain file systems
213
214         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
215         free space for ncpfs.
216
217 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
218
219         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
220
221         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
222         st_dev might be zero.
223
224 2008-05-16  Tor Lillqvist  <tml@novell.com>
225
226         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
227         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
228
229 2008-05-13  Bastien Nocera  <hadess@hadess.net>
230
231         * gfile.c (has_valid_scheme): A URI scheme must start with a
232         letter, even if later more characters are allowed (#532852)
233
234 2008-05-05  Michael Natterer  <mitch@imendio.com>
235
236         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
237         code from being checked in that breaks the build of applications
238         which use G_DISABLE_SINGLE_INCLUDES.
239
240         * makegioalias.pl: make the alias file include "glib.h" instead of
241         "glibconfig.h".
242
243         * gio.symbols: whitespace change to force regeneration of the
244         alias file after above script change.
245
246         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
247
248         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
249
250         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
251
252         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
253
254 2008-04-28  David Zeuthen  <davidz@redhat.com>
255
256         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
257         displaying mounts in a subdirectory not accessible to the
258         user (#526320).
259
260 2008-04-22  Michael Natterer  <mitch@imendio.com>
261
262         * Makefile.am: fix library versioning (it was 0.0.0).
263
264 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
265
266         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
267         Default disable all loggings.
268         * fen/fen-kernel.c: (printevent), (port_add_kevent),
269         (port_fetch_event_cb): Fixed two macro nits.
270
271 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
272
273         * xdgmime/xdgmime.c: Rework the timestamp checking code
274         to protect against duplicate directories in XDG_DATA_DIRS.
275         Fixes fd.o bug 12513, reported by Joe Shaw.
276
277 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
278
279         Partically revert the last commit after realizing that
280         xdg_mime_media_type_equal doesn't have to init at all.
281
282         * xdgmime/xdgmime.h:
283         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
284
285         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
286
287 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
288
289         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
290         reported by Joe Shaw and Federico Mena Quintero.
291
292         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
293         (xdg_mime_media_type_equal): Turn into a wrapper around the 
294         _-prefixed version.
295
296         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
297         functions throughout.
298
299 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
300
301         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
302         tolerate an empty TryExec= line without failing; nautilus used
303         to create launchers with these in previous versions. Fixes #528433
304
305 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
306
307         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
308         after name. Fixes #527132.
309
310 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
311
312         * gfile.c: (g_file_replace):
313         Doc update
314
315 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
316
317         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
318
319         * gfile.c (file_copy_fallback): Fix the argument order. Patch
320         by Christian Kellner.
321
322 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
323
324         * gunixmounts.c: (g_unix_mount_guess_should_display):
325         Don't list the user directory as a mount, fix potential issue
326         when other users have a similar naming and don't special case the
327         gvfs mounts there since that's not required (#525866)
328
329 2008-03-31  Alexander Larsson  <alexl@redhat.com>
330
331         * glocalfile.c (get_parent):
332         Don't leak parent.
333         
334 2008-03-31  A. Walton  <awalton@svn.gnome.org>
335
336         * gfile.c (g_file_query_file_type):
337         Always return a GFileType enum value (#520715).
338
339 2008-03-31  Alexander Larsson  <alexl@redhat.com>
340
341         * glocalfileenumerator.c:
342         Read readdir() info in chunks (of 1000) and sort
343         the chunks by inode before stat:ing.
344         This is a 20% performance increase in testing
345         gvfs-ls on /usr/bin with cold cache.
346
347 2008-03-31  Alexander Larsson  <alexl@redhat.com>
348
349         * gmemoryoutputstream.c:
350         Clarify docs for g_memory_output_stream_get_size.
351         Add g_memory_output_stream_get_data_size.
352
353 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
354
355         * gio.symbols:
356         * gfile.c:
357         * gfile.h: Add g_file_query_file_type convenience function
358         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
359
360 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
361
362         * gfileenumerator.c:
363         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
364
365 2008-03-28  A. Walton  <awalton@svn.gnome.org>
366
367         * giomodule.c (_g_io_modules_ensure_loaded):
368         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
369         #523039.
370
371 2008-03-28  Alexander Larsson  <alexl@redhat.com>
372
373         * gfile.c:
374         (copy_stream_with_progress):
375         Fix up last commit.
376         
377 2008-03-28  Alexander Larsson  <alexl@redhat.com>
378
379         * gfile.c:
380         (copy_stream_with_progress):
381         (file_copy_fallback):
382         Fallback to g_file_query_info for source size
383         if g_file_input_stream_query_info fails. (#524579)
384
385 2008-03-28  Alexander Larsson  <alexl@redhat.com>
386
387         * glocalfile.c (g_local_file_move):
388         Reuse old string instead of adding new one.
389
390 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
391
392         * fen/*.[hc]: still copyright issue. I hate copyright.
393
394 2008-03-27  Alexander Larsson  <alexl@redhat.com>
395
396         * glocalfile.c (g_local_file_move):
397         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
398         file over directory. This is according to the docs and what the move via
399         copy+remove fallback does.
400
401 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
402
403         * fen/*.[hc]: Updated copyright.
404
405 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
406
407         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
408
409 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
410
411         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
412         not emit attribute changed events when optimizing changed events.
413         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
414         warning messages.
415
416 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
417
418         * gmountoperation.[hc]: Small documentation additions
419
420 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
421
422         * gunixmounts.c: (guess_mount_type): 
423         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
424
425 2008-03-19  Alexander Larsson  <alexl@redhat.com>
426
427         * gfile.c:
428         (copy_stream_with_progress):
429         Bump block side for copy to 64k to minimize
430         overhead for low latency links. (#523015)
431
432 2008-03-16  Tor Lillqvist  <tml@novell.com>
433
434         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
435         depend on gio.def on Windows.
436
437 2008-03-12  David Zeuthen  <davidz@redhat.com>
438
439         * gio.symbols:
440         * gunixmounts.[ch]:
441         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
442
443 2008-03-14  Alexander Larsson  <alexl@redhat.com>
444
445         * gunixmounts.c:
446         (guess_mount_type):
447         Avoid redudant tests (#521851)
448         Patch from Josselin Mouette
449
450 2008-03-14  Alexander Larsson  <alexl@redhat.com>
451
452         * gfilemonitor.c:
453         (g_file_monitor_is_cancelled):
454         Fix C89 issue (#521672)
455         Patch from Jens Granseuer
456
457 2008-03-14  Alexander Larsson  <alexl@redhat.com>
458
459         * fam/fam-helper.[ch]:
460         * fam/fam-module.c:
461         Shut down fam (including removing fam GSource) when
462         module is unloaded (#521513)
463         Patch from Joe Marcus Clarke   
464
465 2008-03-14  Alexander Larsson  <alexl@redhat.com>
466
467         * giomodule.c:
468         (_g_io_modules_ensure_loaded):
469         Fix up FEN ifdefs
470
471 2008-03-14  Alexander Larsson  <alexl@redhat.com>
472
473         * glocalfile.c:
474         (g_local_file_query_filesystem_info):
475         Use right define name for f_fstypename member check
476
477 2008-03-14  Alexander Larsson  <alexl@redhat.com>
478
479         * Makefile.am:
480         * fen/Makefile.am: Added.
481         * fen/fen-data.[ch]: Added.
482         * fen/fen-dump.[ch]: Added.
483         * fen/fen-helper.[ch]: Added.
484         * fen/fen-kernel.[ch]: Added.
485         * fen/fen-missing.[ch]: Added.
486         * fen/fen-node.[ch]: Added.
487         * fen/fen-sub.[ch]: Added.
488         * fen/gfendirectorymonitor.[ch]: Added.
489         * fen/gfenfilemonitor.[ch]: Added.
490         * giomodule.c:
491         Added Solaris FEN file notification backend.
492         Patch from Lin Ma <Lin.Ma@Sun.COM>
493
494 2008-03-13  Tor Lillqvist  <tml@novell.com>
495
496         * Makefile.am: Actually use the gio.def file when linking the
497         library on Windows. Produce .lib library for Microsoft's toolchain
498         when possible. Install the .lib and .def file like for the other
499         libraries of GLib.
500
501 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
502
503         * tests/live-g-file.c:
504         Include live-g-file in standard set of tests, making a temporary
505         directory in source structure.
506         
507         Clean target directory before the tests (write mode only)
508
509 2008-03-12  Tor Lillqvist  <tml@novell.com>
510
511         Bug 517419 - gio win32 directory monitor
512         Implementation by Vlad Grecescu.
513         
514         * win32/Makefile.am
515         * win32/gwin32directorymonitor.h
516         * win32/gwin32directorymonitor.c: New files.
517
518         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
519
520         * Makefile.am: Add the win32 subdirectory.
521
522 2008-03-12  Tor Lillqvist  <tml@novell.com>
523
524         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
525         normal struct stat on Unix but struct _stati64 on Windows to have
526         access to 64-bit file size information. Use that instead of struct
527         stat in the functions declared here in this private header.
528
529         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
530         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
531         warnings about unused functions and variables. Don't set
532         meaningless attributes like inode numbers on Windows.
533
534 2008-03-12  Benjamin Otte  <otte@gnome.org>
535
536         * gvfs.h:
537         trim whitespace so gtk-doc groks the function name
538
539 2008-03-12  Tor Lillqvist  <tml@novell.com>
540
541         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
542         returning FALSE, on Win32.
543
544 2008-03-11  Alexander Larsson  <alexl@redhat.com>
545
546         * glocalfile.c:
547         * glocalfileinfo.[ch]:
548         Correctly implement can_trash by actually
549         looking for a trash dir, not just assuming
550         one exists.
551
552 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
553         
554         * === Released 2.16.1 ===
555
556 2008-03-11  Alexander Larsson  <alexl@redhat.com>
557
558         * gthemedicon.c:
559         Fix crashes in new constructor and properties code
560
561 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
562
563         * gfile.c: Minor spelling correction in documentation:
564         existance -> existence.
565
566 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
567
568         * === Released 2.16.0 ===
569
570 2008-03-10  Matthias Clasen <mclasen@redhat.com>
571
572         * gio.symbols: Remove g_file_contains_file here, too.
573
574 2008-03-10  Matthias Clasen <mclasen@redhat.com>
575
576         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
577         Samuel Cormier-Iijima)
578
579 2008-03-08  Tor Lillqvist  <tml@novell.com>
580
581         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
582         winnt.h. (#521145)
583
584 2008-03-07  Alexander Larsson  <alexl@redhat.com>
585
586         * glocalfile.c:
587         (g_local_file_query_filesystem_info):
588         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
589         Patch from Jasper Lievisse Adriaanse
590
591 2008-03-06  Tor Lillqvist  <tml@novell.com>
592
593         * gfileinfo.h: Correct milliseconds to microseconds in the doc
594         comments for the *_USEC attributes.
595
596 2008-03-06  Alexander Larsson  <alexl@redhat.com>
597
598         * gfile.c (g_file_query_exists):
599         Add g_return_val_if_fail check (#520700)
600
601 2008-03-06  Alexander Larsson  <alexl@redhat.com>
602
603         * gdesktopappinfo.c:
604         * gfilemonitor.c:
605         * gthemedicon.c:
606         * gunionvolumemonitor.c:
607         * gunixmounts.c:
608         * tests/g-file.c:
609         * tests/live-g-file.c:
610         * xdgmime/xdgmimecache.c:
611         Fix sparse warnings (#519489)
612
613 2008-03-05  Alexander Larsson  <alexl@redhat.com>
614
615         * gfilemonitor.c:
616         Make cancellation threadsafe (i.e.
617         guarantee its only done once, and always
618         done)
619         
620         * glocaldirectorymonitor.c:
621         Make sure we the monitor lives while the
622         mounts_changed callback is being called (#520484)
623
624 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
625
626         * gbufferedinputstream.c: Fix typo in parameter
627         documentation.
628
629 2008-03-04  Alexander Larsson  <alexl@redhat.com>
630
631         * gfile.c:
632         Remove deprecated symbols we kept for one release.
633
634 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
635
636         * ginputstream.c:
637         * goutputstream.c: Tiny documentation corrections.
638
639 2008-03-03  Alexander Larsson  <alexl@redhat.com>
640
641         * gunionvolumemonitor.c:
642         * gvolumemonitor.h:
643         Fix the adopt_orphan_mount vfunc to take a
644         volume_monitor reference in an ABI compat way.
645         This change is not API compat, but the added
646         arg is not used in the only user of this vfunc, so
647         all we get is a harmless warning in gvfs (#520169)
648         
649 2008-03-01  Benjamin Otte  <otte@gnome.org>
650
651         * gfile.c:
652         clarify docs for g_file_delete().
653
654 2008-02-29  Alexander Larsson  <alexl@redhat.com>
655
656         * glocalfileinfo.c:
657         (get_content_type):
658         Make sure empty files get text/plain type (#518720)
659
660 2008-02-27  Alexander Larsson  <alexl@redhat.com>
661
662         * gcontenttype.c:
663         Fix type warnings
664         
665         * gunixvolume.c:
666         (g_unix_volume_mount):
667         Add missing GMountMountFlags argument
668
669 2008-02-26  Alexander Larsson  <alexl@redhat.com>
670
671         * glocalfile.c:
672         (g_local_file_delete):
673         Handle filesystems (like ntfs-3g) that return EEXIST instead
674         of ENOTEMPTY (#518816)
675
676 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
677
678         * === Released 2.15.6 ===
679
680 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
681
682         * gfile.c (g_file_find_enclosing_mount):
683         * ginputstream.c (g_input_stream_set_pending):
684         * glocalfile.c (g_local_file_find_enclosing_mount):
685         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
686         * goutputstream.c (g_output_stream_set_pending):
687
688         Fixup translator comments (#518578).
689
690 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
691
692         * gfile.c (g_file_find_enclosing_mount):
693         * giomodule.c:
694         * glocalfile.c (g_local_file_find_enclosing_mount):
695         * goutputstream.c:
696
697         Fix a few typos in translator comments and documentation.
698
699 2008-02-25  Alexander Larsson  <alexl@redhat.com>
700
701         * gfile.c:
702         * ginputstream.c:
703         * glocalfile.c:
704         * gmount.c:
705         * goutputstream.c:
706         Add translator comments (#518578)
707
708 2008-02-25  Alexander Larsson  <alexl@redhat.com>
709
710         * gfile.c:      
711         Reintroduce g_file_contains_file, keep around for one
712         unstable release cycle to avoid crashing to many apps.
713         Make sure to delete after release.
714
715 2008-02-25  Alexander Larsson  <alexl@redhat.com>
716
717         * gfile.[ch]:
718         Remove deprecated g_file_contains_file.
719
720 2008-02-25  Alexander Larsson  <alexl@redhat.com>
721
722         * gfilemonitor.c:
723         Emit actual change signals in an idle handler.
724         This avoids reentrance and locking problems in
725         the file notification backends.
726         
727 2008-02-25  Alexander Larsson  <alexl@redhat.com>
728
729         * gunixmounts.c:
730         (g_unix_mount_guess_should_display):
731         Remove type guessing, instead just display
732         mounts in /media and in ~/.
733
734 2008-02-25  Alexander Larsson  <alexl@redhat.com>
735
736         * glocalfile.c:
737         Make new strings reuse old ones.
738         
739 2008-02-25  Alexander Larsson  <alexl@redhat.com>
740
741         * glocalfile.c:
742         Implement trashing and filesystem::readonly for win32 (#517235)
743         Patch from Yevgen Muntyan
744
745 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
746
747         * gfileinfo.h: Documentation fixes.
748
749 2008-02-22  Alexander Larsson  <alexl@redhat.com>
750
751         * gcontenttype.c (g_content_type_get_icon):
752         Look at old-style gnome mime icon names too, as many
753         have not moved to the new style.
754
755 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
756
757         * *.c: Correct the @include in for section docs.
758
759 2008-02-21  David Zeuthen  <davidz@redhat.com>
760
761         * glocalfileinfo.c: (_g_local_file_info_get):
762         * gcontenttype.c:
763         (g_content_type_get_icon): Implement this function by
764         moving bits from glocalfileinfo.c
765         (g_content_type_get_description): Unalias before getting
766         description (#517687)
767
768         * gfile.c: (g_file_class_init),
769         (g_file_query_filesystem_info_async),
770         (g_file_query_filesystem_info_finish),
771         (query_filesystem_info_data_free),
772         (query_filesystem_info_async_thread),
773         (g_file_real_query_filesystem_info_async),
774         (g_file_real_query_filesystem_info_finish):
775         * gfile.h: Implement async version of
776         g_file_query_filesystem_info()
777
778         * gfileinfo.h: Add new attributes for filesystem::use-preview
779
780         * gio.symbols: Update
781
782         * gthemedicon.c: (g_themed_icon_append_name):
783         * gthemedicon.h: Add new new convenience function.
784
785         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
786         (get_mounts), (get_volumes), (get_connected_drives),
787         (get_volume_for_uuid), (get_mount_for_uuid),
788         (g_union_volume_monitor_init), (populate_union_monitor),
789         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
790         (g_volume_monitor_adopt_orphan_mount):
791         * gvolumemonitor.c:
792         * gvolumemonitor.h: Use recursive locks so it's safe for volume
793         monitor implementations to call into the main volume monitor. Also
794         separate object initialization and volume monitor initialization
795         such that non-native volume monitors can properly adopt their
796         mounts away.
797
798 2008-02-21  Alexander Larsson  <alexl@redhat.com>
799
800         * gfile.c:
801         Fix doc typo
802         
803 2008-02-21  Alexander Larsson  <alexl@redhat.com>
804
805         * gfile.c:
806         Add more documentation about how GFiles work (from #517086)
807
808 2008-02-21  Alexander Larsson  <alexl@redhat.com>
809
810         * gfile.[ch]:
811         * gio.symbols:
812         Add new g_file_has_prefix that does the same as g_file_contains_file.
813         Deprecate g_file_contains_file and add a macro that converts
814         it to g_file_has_prefix.
815         The reason for this change is that the contains_file() name seems to
816         imply that this does more work than what it does, but its really only
817         a name match (from #517086)
818         
819         * gdummyfile.c:
820         * glocalfile.c:
821         * tests/g-file.c:
822         Update to match the above change.
823
824 2008-02-20  Benjamin Otte  <otte@gnome.org>
825
826         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
827         (g_file_eject_mountable):
828         even more cases of not returning in error path
829
830 2008-02-20  Benjamin Otte  <otte@gnome.org>
831
832         * gfile.c: (g_file_mount_mountable): 
833         return from function in error path.
834
835 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
836
837         * gfile.h:
838          Remove trailing coma in GMountMountFlags struct
839
840 2008-02-18  Alexander Larsson  <alexl@redhat.com>
841
842         * glocalfile.c:
843         * glocalfileinfo.c:
844         * glocalfileoutputstream.c:
845         Use g_unlink/g_rename instead of unlink/rename;
846         do not pass raw filenames to g_set_error. (#517239)
847         Patch from Yevgen Muntyan.
848
849 2008-02-18  Alexander Larsson  <alexl@redhat.com>
850
851         * glocalfile.c:
852         * glocalfileoutputstream.c:
853         Open files with O_BINARY on windows. (#517140)
854
855 2008-02-14  Alexander Larsson  <alexl@redhat.com>
856
857         * glocalfileoutputstream.c:
858         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
859
860 2008-02-14  Alexander Larsson  <alexl@redhat.com>
861
862         * glocalfile.c:
863         Copy permissions with file on copy (#514084)
864         This is what cp does and makes sure e.g. the
865         exec permissions are kept.
866         Its kinda weird in that it keeps the permission bits
867         the same while the uid and gid are different. However
868         the new uid is the user so its not a security issue,
869         and I've heard no complaints about cp on this issue.
870
871 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
872
873         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
874
875 2008-02-13  Alexander Larsson  <alexl@redhat.com>
876
877         * inotify/inotify-path.c:
878         Define IN_ONLYDIR if not in header (#515346)
879
880 2008-02-12  Alexander Larsson  <alexl@redhat.com>
881
882         * tests/live-g-file.c:
883         C89 fixes (#515892)
884
885 2008-02-11  Matthias Clasen <mclasen@redhat.com>
886
887         * === Released 2.15.5 ===
888
889 2008-02-11  Matthias Clasen <mclasen@redhat.com>
890
891         * gio.symbols: Add g_mount_mount_flags_get_type.
892
893 2008-02-11  Alexander Larsson  <alexl@redhat.com>
894
895         * gfileinfo.c:
896         (g_file_info_set_attribute_mask):
897         (g_file_attribute_matcher_matches_id):
898         Correctly handle NULL GAttributeMatcher meaning
899         matches nothing. (Fixes #513492)
900
901 2008-02-11  Alexander Larsson  <alexl@redhat.com>
902
903         * gfile.[ch]:
904         * gmount.[ch]:
905         * gvolume.[ch]:
906         Added GMountMountFlags enum and added a flags
907         argument to all mount calls.
908         
909         This is an API/ABI change for future extensibility,
910         as I think we will need at least an
911         inhibit-autorun flag (the panel needs this).
912         There are no flags defined yet though.
913
914 2008-02-11  Alexander Larsson  <alexl@redhat.com>
915
916         * gfileinfo.h:
917         Added new standard::description attribute.
918         Requested by Vincent, and useful for both
919         panel and nautilus
920
921 2008-02-11  Alexander Larsson  <alexl@redhat.com>
922
923         * gdesktopappinfo.c:
924         Minor docs cleanup
925
926 2008-02-11  Matthias Clasen <mclasen@redhat.com>
927
928         * *.c: Documentation additions
929
930 2008-02-10  Matthias Clasen <mclasen@redhat.com>
931
932         * gappinfo.h: Formatting cleanup
933         * gappinfo.c: Fix up docs.
934
935 2008-02-09  Matthias Clasen <mclasen@redhat.com>
936
937         * gunixmounts.c: Consistently use getmntent_r() and fall
938         back to getmntent().  (#515492)
939
940 2008-02-09  Matthias Clasen <mclasen@redhat.com>
941
942         * gbufferedinputstream.c:
943         * ginputstream.c:
944         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
945
946         * tests/data-input-stream.c:
947         * tests/data-output-stream.c: Portability fixes.
948
949 2008-02-08  Alexander Larsson  <alexl@redhat.com>
950
951         * gio.symbols: 
952         * gunixvolume.c:
953         * gvolume.[ch]:
954         Add g_volume_should_automount.
955         Docs needed.
956
957 2008-02-07  Tor Lillqvist  <tml@novell.com>
958
959         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
960         Win32, too Unix-specific.
961
962 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
963
964         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
965         a local plt if the compiler doesn't support what we want.  Bug #514702
966
967 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
968
969         reviewed by: <delete if not using a buddy>
970
971         * gfile.c:
972         * gunixinputstream.c:
973         * gunixoutputstream.c:
974
975 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
976
977         * tests/Makefile.am:
978         * tests/live-g-file.c:
979         * tests/live-g-file.txt:
980         New GIO testing module working over real data
981
982 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
983
984         * glocalfileoutputstream.c (g_local_file_output_stream_close):
985         Fallback to rename() if link() is not available
986         (when no support on target filesystem)
987
988 2008-02-06  Michael Natterer  <mitch@imendio.com>
989
990         * gfileinfo.c (g_file_info_get_icon): replace
991         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
992
993 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
994
995         * gfile.c (g_file_create):
996         Documentation update of error codes
997
998 2008-02-06  Alexander Larsson  <alexl@redhat.com>
999
1000         * gdesktopappinfo.c:
1001         Update to use both mimeapps.list and
1002         defaults.list as discussed on xdg list.
1003
1004 2008-02-06  Benjamin Otte  <otte@gnome.org>
1005
1006         * gasyncresult.c:
1007         * gfilenamecompleter.c:
1008         Fix some typos in the documentation.
1009
1010 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1011
1012         * glocalfile.c (g_local_file_trash):
1013         Don't succeed with trash if newly created
1014         trash dir has the wrong owner. (#514696)
1015
1016 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1017
1018         * glocalfile.c (g_local_file_move):
1019         Don't spew warnings when destination is not
1020         a GLocalFile.
1021
1022 2008-02-03  Hans Breuer  <hans@breuer.org>
1023
1024         * makefile.msc : update
1025
1026 2008-02-01  Michael Natterer  <mitch@imendio.com>
1027
1028         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1029         return value of xdg_mime_list_mime_parents() to a variable of the
1030         correct type.
1031
1032 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1033
1034         * gappinfo.c (g_app_info_launch_uris):
1035         Actually call the launch_uris method, not
1036         launch.
1037
1038 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1039
1040         * gdesktopappinfo.c (g_desktop_app_info_equal):
1041         Ensure appinfos with no id but same pointer value
1042         compare equal
1043
1044 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1045
1046         * gappinfo.c (g_app_info_launch_default_for_uri): 
1047         Don't leak appinfo.
1048         
1049 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1050
1051         * gappinfo.[ch]:
1052         * gio.symbols:
1053         Add g_app_info_launch_default_for_uri utility
1054         function. (#513256)
1055
1056 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1057
1058         * gdesktopappinfo.c:
1059         Doc fix for g_app_info_get_default_for_uri_scheme ()
1060         Bug #513483.
1061
1062 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1063
1064         * gappinfo.c:
1065         Add doc comment about uris vs GFiles to
1066         g_app_info_launch()
1067         
1068         * gdesktopappinfo.c:
1069         Ensure uris passed to g_app_info_launch_uris()
1070         are not roundtriped through GFile (as that
1071         may be slightly destructive for e.g. mailto: links)
1072
1073 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1074
1075         * tests/data-input-stream.c:
1076         * tests/data-output-stream.c:
1077         C89 fixes from Jens Granseuer (#512849)
1078
1079 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1080
1081         * fam/fam-helper.c:
1082         Fix gamin/fam difference build issue. (#509419)
1083
1084 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1085
1086         * gappinfo.h:
1087         * gdesktopappinfo.c:
1088         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1089
1090 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1091
1092         * gdesktopappinfo.c:
1093         * gdesktopappinfo.h:
1094         giomodule-priv.h include moved to .c file.
1095
1096 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1097
1098         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1099         Remove unused prio/name fields.
1100
1101 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1102
1103         * gcontenttype.c (looks_like_text):
1104         Don't treat whitespace as control chars.
1105
1106 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1107
1108         * gdesktopappinfo.c:
1109         Lazily create the desktop files for appinfos created
1110         by g_app_info_create_from_commandline() when needed
1111         for mime associations. This allows run-time use
1112         of GAppInfo object without creating unnecessary
1113         files on disk.
1114
1115 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1116
1117         * gio.symbols:
1118         Added new symbols to gio.symbols
1119
1120 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1121
1122         * gfile.[ch]:
1123         Add g_file_query_default_handler utility to easily look up
1124         the GAppInfo that handles a file.
1125         
1126         * gdesktopappinfo.[ch]:
1127         * giomodule.c:
1128         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1129         
1130         * gvfs.c:
1131         Remove unused function
1132
1133 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1134
1135         * gfileenumerator.c:
1136         Mention need to free returned value in
1137         g_file_enumerator_next_files_finish docs.
1138         Fix leak if g_file_enumerator_next_files_finish()
1139         not called.
1140
1141 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1142
1143         * gcontenttype.c:
1144         (_g_unix_content_type_get_parents):
1145         Use list_parents, not get_parents from xdgmime, because
1146         the later doesn't use the cache.
1147         
1148         * xdgmime/xdgmimecache.c:
1149         (_xdg_mime_cache_list_mime_parents):
1150         Don't list the same type as parent multiple times.
1151
1152 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1153
1154         * === Released 2.15.4 ===
1155
1156 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1157
1158         * glocalvfs.c:
1159         Register local vfs with prio 0.
1160         
1161         * gvfs.h:
1162         Remove old name and prio class members
1163
1164 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1165
1166         * tests/g-file.c: Disable some tests that are failing in
1167         the absence of a http backend.
1168
1169 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1170
1171         * giomodule.[ch]:
1172         * gio.symbols:
1173         Add registration hooks for extension points.
1174         Register the gio extension points.
1175         
1176         * fam/gfamdirectorymonitor.c:
1177         * fam/gfamfilemonitor.c:
1178         * glocaldirectorymonitor.[ch]:
1179         * glocalfilemonitor.[ch]:
1180         * gnativevolumemonitor.h:
1181         * gunionvolumemonitor.c:
1182         * gunixvolumemonitor.c:
1183         * gvfs.[ch]:
1184         * gvolumemonitor.h:
1185         * inotify/ginotifydirectorymonitor.c:
1186         * inotify/ginotifyfilemonitor.c:
1187         Use the extension points registration instead
1188         of g_type_children().
1189
1190 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1191         
1192         * gdrive.[hc]: 
1193         * gvolume.[hc]: Document new API. 
1194
1195         * gfile.c (g_file_copy_async): Fix docs
1196
1197 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1198
1199         * gbufferedinputstream.c:
1200         * ginputstream.c:
1201         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1202         __FUNCTION__.
1203         
1204 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1205
1206         * glocalfile.c: Avoid trivial differences in translatable strings.
1207
1208 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1209
1210         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1211         build with gcc 3.4  (#509419)
1212
1213 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1214
1215         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1216         (#509994, Murray Cumming)
1217
1218 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1219
1220         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1221         * gioscheduler.c: Keep calling io jobs until they return FALSE;
1222         this allows big jobs to be executed in chunks, instead of blocking
1223         the main loop for a long time.
1224
1225         * gsimpleasyncresult.c:
1226         * giofile.c: Adapt callers.
1227
1228 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1229
1230         * gdesktopappinfo.c:
1231         Implement changes discussed on xdg list.
1232         Now we can add supported mimetypes by just using defaults.list
1233         We can also remove associations in defaults.list.
1234
1235 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1236
1237         * gdesktopappinfo.c:
1238         Don't make local copy of desktop file
1239         for mimetype changes if the file already
1240         supports the new mimetype.
1241
1242 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1243
1244         * ginputstream.c:
1245         * goutputstream.c:
1246         * gbufferedinputstream.c:
1247         * glocalfile.c: String improvements.  (#511966, 
1248          Theppitak Karoonboonyanan)
1249
1250 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
1251
1252         * gioscheduler.h: Expand docs a bit.
1253
1254 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1255
1256         * gdrive.[ch]:
1257         Add g_drive_get_identifier and
1258         g_drive_enumerate_identifiers
1259
1260         * gvolume.[ch]:
1261         Add g_volume_get_identifier and
1262         g_volume_enumerate_identifiers
1263         
1264         * gio.symbols:
1265         Add symbols
1266         
1267         * gunixvolume.c:
1268         Implement identifiers for unix backend
1269
1270 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1271
1272         * gfile.[ch]:
1273         * gfile.h:
1274         * gio.symbols:
1275         Add g_file_copy_async() (#511580)
1276         Based on patch from Carlos Garcia Campos
1277
1278 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
1279
1280         * gioscheduler.c: Some documentation additions.
1281
1282 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1283
1284         * gdesktopappinfo.c:
1285         (g_desktop_app_info_new):
1286         Don't leak basename.
1287         
1288 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1289
1290         * gdesktopappinfo.c:
1291         (g_desktop_app_info_new_from_filename):
1292         Don't leak GKeyFile
1293
1294 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1295
1296         * glocalfileinfo.c (get_thumbnail_attributes):
1297         Fix leak of uri
1298
1299 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1300
1301         * glocalfile.c:
1302         (canonicalize_filename):
1303         Canonicalize paths that start with more than
1304         two slashes.
1305         
1306         * tests/g-file.c:
1307         (compare_two_files):
1308         (test_g_file_new_for_path):
1309         Test the above
1310
1311 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1312
1313         * glocalfile.c:
1314         Allow UTF-8 in file:// parse names.
1315         
1316         * tests/Makefile.am:
1317         * tests/data-input-stream.c:
1318         * tests/data-output-stream.c:
1319         * tests/g-file-info.c:
1320         * tests/g-file.c:
1321         Added a bunch of tests from Tomas Bzatek
1322
1323 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1324
1325         * === Released 2.15.3 ===
1326
1327 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1328
1329         * gfileinputstream.[ch]:
1330         * gfileoutputstream.[ch]:
1331         * gio.symbols:
1332         Remove duplicated GSeekable functions. (#509990)
1333         Just use the g_seekable_xxx() calls instead.
1334
1335 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1336
1337         * glocal*.c:
1338         * gvolumemanager.c: Whitespace cleanups.
1339
1340         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1341         Use the right mode when creating the file.
1342
1343 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
1344
1345         * gfileenumerator.c:
1346         * gfileinputstream.c:
1347         * ginputstream.c:
1348         * goutputstream.c: Documentation: Fixed minor typos 
1349         and added more mentions of specific _finish() functions.
1350
1351 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1352
1353         * inotify/Makefile.am:
1354         * inotify/inotify-helper.c:
1355         * inotify/inotify-kernel.c:
1356         * inotify/inotify-path.c:
1357         * inotify/local_inotify.h: Removed.
1358         * inotify/local_inotify_syscalls.h: Removed.
1359         Removed the included copies of the inotify
1360         headers. We now only use the <sys/inotify.h>
1361         header which exists on modern systems.
1362         This fixes problems on ARM and SH5 (#510448)
1363         but is also generally much cleaner and future
1364         safe. For instance, if other OSes add support
1365         for inotify it should "just work".
1366
1367 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * inotify/*.c: Coding style fixes.
1370         * inotify/inotify-missing.c: Use g_timeout_add_seconds
1371         for the 1/4 Hz timer.
1372
1373 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1374
1375         * gfile.c:
1376         * gfilemonitor.[hc]:
1377         * gmemoryinputstream.c:
1378         * gmemoryoutputstream.c:
1379         * gmountoperation.c:
1380         * gthemedicon.c: Documentation updates
1381
1382 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
1383
1384         * gfile.c: documentation: Fixed more minor 
1385         typos.
1386
1387 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1388
1389         * gmount.c: (g_mount_remount): documentation: 
1390         Mention g_mount_remount_finish() instead of 
1391         g_mount_unmount_finish().
1392
1393 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1394
1395         * gappinfo.c:
1396         * gcancellable.c:
1397         * gfile.c: Fixed some minor typos in the 
1398         documentation. 
1399
1400 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1401
1402         * gio/gvolumemonitor.c: 
1403         (g_volume_monitor_get_connected_drives): 
1404         (g_volume_monitor_get_volumes): 
1405         (g_volume_monitor_get_mounts): Documentation: 
1406         Clarify the ownership of the regurn GLists.
1407
1408 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1409
1410         * gfile.h:
1411         Add the async find_enclosing_mount version
1412         to the header file too.
1413
1414 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1415
1416         * gfile.c:
1417         Add async version of find_enclosing_mount
1418         with default implementation.
1419
1420 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1421
1422         * gfile.c:
1423         (g_file_copy):
1424         (g_file_move):
1425         Allow calls to implementation of copy and write
1426         even if the type of the file implementations is
1427         different. This can be used to implement native
1428         upload and download calls in a vfs.
1429         
1430         * glocalfile.c:
1431         (g_local_file_move):
1432         Protect against the case where move is called
1433         with one file not being local.
1434         
1435         Make sure we call the progress callback once
1436         in the native move operation so that the caller
1437         knows how many bytes were copied.
1438
1439 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
1440
1441         * gappinfo.c:
1442         * gdatainputstream.c:
1443         * gfile.c:
1444         * gfileoutputstream.c:
1445         * ginputstream.c:
1446         * gmount.c:
1447         * goutputstream.c:
1448         * gseekable.c:
1449         * gunixmounts.c: Corrected some typos in the documentation:
1450         occured -> occurred.
1451         its -> it's (where appropriate).
1452
1453 2008-01-16  Alexander Larsson  <alexl@redhat.com>
1454
1455         * gfile.[ch]:
1456         * gio.symbols:
1457         Add g_file_query_exists (#508771)
1458
1459 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
1460
1461         * gdrive.c:
1462         * gfile.c:
1463         * gmount.c:
1464         * gvolume.c: For async functions that have no non-async 
1465         version, document that the GAsyncReadyCallback may be NULL.
1466         Bug #509626.
1467
1468 2008-01-15  Alexander Larsson  <alexl@redhat.com>
1469
1470         * gmemoryinputstream.c:
1471         * gmemoryoutputstream.c:
1472         Don't do pointer arithmetic on void * (#508602)
1473         Patch from Kazuki IWAMOTO
1474
1475 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
1476
1477         * === Released 2.15.2 ===
1478
1479 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1480
1481         * gfile.c (g_file_monitor_file):
1482         Don't set error here, since we fallback to polling monitor.
1483
1484 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1485
1486         * gfile.[ch]:
1487         (g_file_monitor_directory):
1488         (g_file_monitor_file):
1489         Add GError to file monitor calls
1490         
1491         * glocaldirectorymonitor.c:
1492         * glocaldirectorymonitor.h:
1493         * glocalfile.c:
1494         * glocalfilemonitor.c:
1495         * glocalfilemonitor.h:
1496         * gunixmounts.c:
1497         Update for above change
1498
1499 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1500
1501         * glocalfile.c:
1502         (match_prefix):
1503         Handle root correctly in g_file_get_relative_path (#508719)
1504
1505 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1506
1507         * gasyncresult.c:
1508         Clean up docs and example for GAsyncResult (#508074)
1509
1510 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
1511
1512         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
1513         and correct some spelling mistakes. Bug #508108.
1514
1515 2008-01-11  Matthias Clasen <mclasen@redhat.com>
1516
1517         * glocalfileinfo.c: Add a comment.
1518
1519 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
1520
1521         * gfileinfo.c: GFileInfo description: Mention 
1522         how to actually set attributes in a GFile and how to discover 
1523         which attributes are settable. Bug #508378.
1524
1525 2008-01-10  A. Walton  <awalton@svn.gnome.org>
1526
1527         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1528         (g_app_info_get_default_for_type):
1529         Check for NULL content types.
1530
1531 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
1532
1533         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1534
1535 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
1536
1537         * gfile.c: *_async() functions: Several small corrections 
1538         to the documentation, mostly correcting copy/paste errors 
1539         and improving some sentences.
1540
1541 2008-01-09  Dan Winship  <danw@gnome.org>
1542
1543         * glocalfile.c (get_unique_filename): x86_64 fix
1544
1545 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1546
1547         * gio.symbols:
1548         * gunixmount.c:
1549         * gunixmounts.[ch]:
1550         Add g_unix_mount_guess_should_display and use
1551         for unix volume monitor backend.
1552         This means we more or less show what the
1553         gnome-vfs backend did.
1554         Based on patch from Padraig O'Briain
1555
1556 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1557
1558         * gio.symbols:
1559         * gthemedicon.[ch]:
1560         Add g_themed_icon_new_with_default_fallbacks
1561         
1562         * gunixmounts.c:
1563         Use default fallbacks for icons
1564
1565 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1566
1567         * gio-marshal.list:
1568         * gmountoperation.[ch]:
1569         Change the API a bit so that unhandled methods
1570         get reported via the reply, rather than by
1571         the signal emission return value. This is because
1572         some handlers can't know this immediately without
1573         doing I/O, and this is an async operation that
1574         should not block.
1575
1576 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1577
1578         * fam/fam-helper.c:
1579         * fam/gfamdirectorymonitor.c:
1580         * fam/gfamfilemonitor.c:
1581         Fix double free crash (#508224)
1582         Patch from Joe Marcus Clarke
1583
1584 008-01-07  Matthias Clasen  <mclasen@redhat.com>
1585
1586         * === Released 2.15.1 ===
1587
1588 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1589
1590         * gunixinputstream.c (g_unix_input_stream_skip_finish):
1591         Fix warning (#507835)
1592
1593 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1594
1595         * Makefile.am:
1596         Pass --internal to glib-genmarshal
1597         
1598         * gfilemonitor.c:
1599         * gmountoperation.c:
1600         * gio-marshal.list:
1601         Use better types for signal arguments (#507822)
1602
1603 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1604
1605         * Makefile.am:
1606         Build test subdir after .
1607         Remove gdirectorymonitor.[ch]
1608         
1609         * gdirectorymonitor.[ch]:
1610         * gfilemonitor.c:
1611         * gfile.[ch]:
1612         * gio.h:
1613         Remove GDirectoryMonitor and make
1614         GFileMonitor the baseclass for both file and
1615         directory monitors. Lift the more generic
1616         rate limiting code from GDirectoryMonitor
1617         into GFileMonitor.
1618         
1619         * fam/fam-helper.c:
1620         * fam/gfamdirectorymonitor.[ch]:
1621         * inotify/ginotifydirectorymonitor.[ch]:
1622         * inotify/inotify-helper.c:
1623         * glocaldirectorymonitor.[ch]:
1624         * glocalfile.c:
1625         * gvolumemonitor.c:
1626         Update for the removed GDirectoryMonitor.
1627         
1628         * gmemoryoutputstream.c:
1629         Remove ununsed variable
1630
1631 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1632
1633         * gmemoryinputstream.c:
1634         Translate error strings
1635         
1636         * gio.symbols:
1637         * gmemoryoutputstream.[ch]:
1638         New implementation that avoids using GByteArray
1639         in implementation and API. (#506377)
1640
1641 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1642
1643         * tests/*: Add a test for memory input streams.
1644         
1645         * Makefile.am: Add tests to SUBDIRS.
1646
1647 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1648
1649         * glocalfilemonitor.c:
1650         * glocaldirectorymonitor.c: Mark property nicks and blurbs
1651         for translation.
1652
1653 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1654
1655         * gdesktopappinfo.c: Fix a docs typo.
1656
1657         * gfileattribute.c: Add information about extended attributes
1658         to the documentation.  (#505058)
1659
1660 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1661
1662         * gio-marshal.list:
1663         * gmountoperation.c:
1664         Use the right type (uint) for the ask_password signal.
1665
1666 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1667
1668         * gappinfo.[ch]:
1669         * gwin32appinfo.c:
1670         * gio.symbols:
1671         Add g_app_info_supports_files() 
1672         Remove desktop arg from g_app_info_should_show().
1673         
1674         * gdesktopappinfo.[ch]:
1675         Implement g_app_info_supports_files() and new should_show()
1676         Add g_desktop_app_info_set_desktop_env() to set the desktop
1677         for should_show(). (This will be set by gtk+ later)
1678
1679 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1680
1681         * gio.symbols:
1682         * gmemoryinputstream.[ch]:
1683         Improve API so that you can use multiple chunks
1684         of memory and custom destroy functions. (#506374)
1685
1686 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1687
1688         * gfileinfo.c:
1689         Handle NULL attribute matchers safely, as we return this
1690         for empty attribute matcher strings.
1691
1692 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1693
1694         * gunixmounts.c (g_unix_is_mount_path_system_internal):
1695         Add /usr/local to list of internal mountpoints
1696
1697 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1698
1699         * glocalfileinfo.c:
1700         Check for HAVE_LCHOWN (#505887)
1701         
1702 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1703
1704         * gfileinfo.h:
1705         * glocalfileinfo.c:
1706         Add define for selinux context attribute.
1707         Fix missing : -> :: namespace separator change
1708         Fix missing _ -> - name change for xattr-sys.
1709         (#505058)
1710
1711 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1712
1713         * fam/Makefile.am:
1714         Link to libglib and libgobject directly (#504879)
1715         Patch from Sebastien Bacher
1716
1717 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1718
1719         * gfile.c: Expanded the g_file_new_for_commandline_arg
1720         description a bit, based on the code and the docs of the
1721         other g_file_new_for_* functions.
1722
1723 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1724
1725         * gfilemonitor.h: Fixed typo in docs.
1726
1727 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
1728
1729         Updates to GIO documentation. (#506395, Mikael Hermansson)
1730
1731         * gcontenttype.c: Describe memory management for return value of
1732         g_content_types_get_registered(). Missing piece from #505815.
1733         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1734         GVolume, GDrive, GMounts, which hopefully gives the user less
1735         confusions when using this API. Following explainations from
1736         Alexander Larsson on gtk-devel-list.
1737
1738 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1739
1740         * gfileinfo.c: Expand the long description.
1741
1742 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1743
1744         * fam/Makefile.am:
1745         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1746         fix builds with --disable-visibility.  (#500273, Christian Persch)
1747
1748 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1749
1750         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1751         in the list of returned app infos.
1752
1753 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1754
1755         * gappinfo.c: Fix a cross-reference
1756
1757 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1758
1759         * gfileinputstream.c:
1760         * gfileoutputstream.c:
1761         * gloadableicon.h:
1762         * gunixmounts.c:
1763         * gmount.h:
1764         * gdesktopappinfo.c:
1765         * gvolumemonitor.c: 
1766         * gfileinfo.c: Documentation updates.
1767
1768 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1769
1770         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
1771         Tommi Komulainen)
1772
1773 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1774
1775         * gcontenttype.c (g_content_types_get_registered): Don't return
1776         freed memory (#505815, Mikael Hermansson)
1777
1778 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
1779
1780         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1781         used to detect statbuf->st_blocks. (#505042)
1782
1783 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1784
1785         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1786         environment handling.  (#504829, Cosimo Cecchi)
1787
1788 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1789
1790         * gappinfo.c: Doc improvements
1791         
1792         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1793         not ids.
1794
1795 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1796
1797         * === Released 2.15.0 ===
1798
1799 2007-12-20  Hans Breuer  <hans@breuer.org>
1800
1801         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
1802         with symbols gwin32appinfo.obj, added gmount.obj
1803         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1804
1805 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1806
1807         * gfile.c:
1808         * gfileattribute.c:
1809         * gfileinfo.c:
1810         * gfileinfo.h:
1811         * gfilenamecompleter.c:
1812         * glocalfile.c:
1813         * glocalfileinfo.c:
1814         * gpollfilemonitor.c:
1815         File attribute renames:
1816         std:: -> standard::
1817         fs:: -> filesystem::
1818         id::fs -> id::filesystem
1819         
1820 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1821
1822         * gfile.[ch]:
1823         * gdrive.[ch]:
1824         * gmount.[ch]:
1825         * gvolume.[ch]:
1826         * gunixmount.c:
1827         * gunixvolume.c:
1828         * gio.symbols:
1829         Add GMountUnmountFlags to all unmount and
1830         eject calls.
1831         Add g_mount_remount() call.
1832
1833 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1834
1835         * gvfs.c (get_default_vfs):
1836         Fix unused variable warning
1837
1838 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1839
1840         * pltcheck.sh: Update
1841
1842 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1843
1844         * gunionvolumemonitor.c:
1845         * gunixmount.c: Remove C99 comments
1846
1847 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1848
1849         * gio.symbols: Add some missing symbols
1850
1851 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1852
1853         * giomodule.c:
1854         Make g_io_modules_load_all_in_directory not unuse
1855         loaded modules so that users of it can do stuff
1856         before unloading.
1857         Init internal "module" types.
1858         Initialize static prio and name for types so that
1859         we don't have to load modules to get it.
1860         
1861         * gnativevolumemonitor.h:
1862         * gvolumemonitor.h:
1863         Move is_supported to parent class so that
1864         non-native monitors can avoid being initialized
1865         too. (For instance GDaemonVolumeMonitor if we're
1866         not using GDaemonVfs.)
1867         
1868         * glocaldirectorymonitor.[ch]:
1869         * glocalfilemonitor.[ch]:
1870         * gunionvolumemonitor.c:
1871         * gunixvolumemonitor.c:
1872         * gvfs.c:
1873         Find plugins using the static prio+name to
1874         avoid unnecessarily loading the modules.
1875
1876 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1877
1878         * giomodule.c:
1879         Remove warnings
1880
1881 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1882
1883         * gunionvolumemonitor.c:
1884         Store the native type as GType, not class so that
1885         we can unload it. But still avoid unnecessarily
1886         unload modules.
1887
1888 2007-12-19  David Zeuthen  <davidz@redhat.com>
1889
1890         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1891         add signals 'disconnected' and 'eject-button' on GDrive. Add
1892         signal 'removed' on GVolume and 'unmounted' on GMount.
1893
1894         * gdrive.c: (g_drive_base_init):
1895         * gdrive.h:
1896         * gfile.c: (g_file_mount_mountable),
1897         (g_file_mount_enclosing_volume):
1898         * gio.symbols:
1899         * gioerror.h:
1900         * gmount.c: (g_mount_base_init):
1901         * gmount.h:
1902         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1903         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1904         * gvolume.c: (g_volume_base_init), (g_volume_mount):
1905         * gvolume.h:
1906         * gvolumemonitor.h:
1907
1908 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1909
1910         * *.c: Fix up includes in the section docs.
1911
1912 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1913
1914         * gnativevolumemonitor.h:
1915         * gunionvolumemonitor.c:
1916         * gunixvolumemonitor.c:
1917         Add is_supported() to GNativeVolumeMonitorClass so
1918         that we can avoid having to create an object to see
1919         if the backend is supported at runtime.
1920         Also add name member and an env var to pick a specific
1921         volume monitor backend.
1922         
1923         * gmountprivate.h:
1924         * glocalfile.c:
1925         Add cancellable to _g_mount_get_for_mount_path()
1926         
1927         * glocaldirectorymonitor.c:
1928         * glocalfilemonitor.c:
1929         Avoid loading and unloading modules while sorting.
1930
1931 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1932
1933         * gio.symbols:
1934         * gunixmounts.[hc]: Namespace waste reduction, move some
1935         g_get_unix_mount functions to the g_unix_mount namespace.
1936
1937         * gunixmounts.c:
1938         * gunixvolumemonitor.c:
1939         * glocalfile.c:
1940         * glocaldirectorymonitor.c: Update all callers.
1941
1942         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1943
1944 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1945
1946         * gfile.c:
1947         Add doc comments about what GFile operations are
1948         guaranteed to not block.
1949
1950 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1951
1952         * gunixmounts.c:
1953         Add missing #ifdef fixing OSX build.
1954         (#503334, patch from Richard Hult)
1955
1956 2007-12-14  David Zeuthen  <davidz@redhat.com>
1957
1958         * Makefile.am:
1959         * gio.symbols:
1960         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1961         (g_mount_eject), (g_mount_eject_finish):
1962         * gmount.h:
1963         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1964         (get_volume_for_uuid), (get_mount_for_uuid),
1965         (g_union_volume_monitor_class_init),
1966         (get_default_native_type_with_exclude), (get_default_native_type),
1967         (get_native_type), (update_native_type),
1968         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1969         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1970         (g_unix_mount_can_eject), (eject_unmount_cb),
1971         (eject_unmount_read_error), (eject_unmount_do),
1972         (g_unix_mount_unmount), (g_unix_mount_eject),
1973         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1974         * gunixmounts.c: (g_unix_mount_guess_can_eject),
1975         (g_unix_mount_point_guess_can_eject):
1976         * gunixmounts.h:
1977         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1978         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1979         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1980         (g_unix_volume_mount), (g_unix_volume_eject),
1981         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1982         * gunixvolumemonitor.c: (get_volume_for_uuid),
1983         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1984         (update_mounts):
1985         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1986         (g_volume_eject), (g_volume_eject_finish):
1987         * gvolume.h:
1988         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1989         (g_volume_monitor_get_mount_for_uuid):
1990         * gvolumemonitor.h:
1991
1992         Provide eject() on both GMount and GVolume and utility functions
1993         to guess whether a GUnixMountPoint or GUnixMountEntry should be
1994         ejected. Introduce the concept of UUID's and wire it into GVolume
1995         and GMount and provide API on GVolumeMonitor to find such
1996         instances. Also handle the case where an external
1997         GNativeVolumeMonitor fails to initialize. Lock around the
1998         _g_get_mount_for_mount_path() function such that volume monitor
1999         implementations won't have to do locking themselves.
2000
2001 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2002
2003         * gdesktopappinfo.c:
2004         * gunixmounts.c:
2005         * gfileinfo.c:
2006         * gvolumemonitor.c:
2007         * gfile.h:
2008         * gioscheduler.c:
2009         * gvolume.h: Documentation updates
2010
2011 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2012
2013         * gunixmounts.c:
2014         * gfile.h: Doc updates
2015
2016 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2017
2018         * gcontenttype.c:
2019         * gdesktopappinfo.c: Use hash table iterators.
2020
2021 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2022
2023         * Makefile.am:
2024         * gfileattribute.[ch]:
2025         * gfileattribute-priv.h:
2026         Move GFileAttributeValue to a private header, as
2027         its sort of ugly.
2028         
2029         * gfile.[ch]:
2030         Make set_attribute take a type + a pointer instead
2031         of a GFileAttributeValue.
2032         
2033         * gfileinfo.[ch]:
2034         Fix up for above changes.
2035         Add g_file_info_get_attribute_data to get
2036         all info in one call, g_file_info_get_attribute_status
2037         to get the status and g_file_info_get_attribute_as_string.
2038         
2039         * gio.symbols:
2040         * glocalfile.c:
2041         * glocalfileinfo.[ch]:
2042         Update for changes
2043         
2044         * gunixmounts.c:
2045         Make _guess_type static.
2046
2047 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2048
2049         * Makefile.am:
2050         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2051         made mkenums and friends use temporary files to avoid leaving
2052         empty generated files on failure (#503470).
2053
2054 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2055
2056         * gmountoperation.h:
2057         Fix AKS -> ASK typo
2058
2059 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2060
2061         * gappinfo.h:
2062         * gfile.[ch]:
2063         * gfileattribute.[ch]:
2064         * gio.symbols:
2065         * glocalfile.c:
2066         * glocalfileoutputstream.c:
2067         * gmountoperation.[ch]:
2068         * goutputstream.[ch]:
2069         Clean up all flags enums to not have _FLAGS in them
2070         Make the names of some of the enums better.
2071
2072         * glocalfileinfo.c:
2073         Fix warning
2074         
2075 2007-12-14  Michael Natterer  <mitch@imendio.com>
2076
2077         * gio.symbols: fix g_io_scheduler symbol names.
2078
2079 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2080
2081         * Makefile.am:
2082         * fam/Makefile.am:
2083         * gappinfo.h:
2084         * gasyncresult.h:
2085         * gbufferedinputstream.h:
2086         * gbufferedoutputstream.h:
2087         * gcancellable.h:
2088         * gcontenttype.h:
2089         * gdatainputstream.h:
2090         * gdataoutputstream.h:
2091         * gdesktopappinfo.h:
2092         * gdirectorymonitor.h:
2093         * gdrive.h:
2094         * gfile.h:
2095         * gfileattribute.h:
2096         * gfileenumerator.h:
2097         * gfileicon.h:
2098         * gfileinfo.h:
2099         * gfileinputstream.h:
2100         * gfilemonitor.h:
2101         * gfilenamecompleter.h:
2102         * gfileoutputstream.h:
2103         * gfilterinputstream.h:
2104         * gfilteroutputstream.h:
2105         * gicon.h:
2106         * ginputstream.h:
2107         * gio.h:
2108         * gioerror.h:
2109         * giomodule.h:
2110         * gioscheduler.h:
2111         * gloadableicon.h:
2112         * gmemoryinputstream.h:
2113         * gmemoryoutputstream.h:
2114         * gmount.h:
2115         * gmountoperation.h:
2116         * goutputstream.h:
2117         * gseekable.h:
2118         * gsimpleasyncresult.h:
2119         * gthemedicon.h:
2120         * gunixinputstream.h:
2121         * gunixmounts.h:
2122         * gunixoutputstream.h:
2123         * gvfs.h:
2124         * gvolume.h:
2125         * gvolumemonitor.h:
2126         * inotify/Makefile.am:
2127         Only allow including <gio/gio.h> from apps
2128
2129 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2130
2131         * gioscheduler.[ch]:
2132         * gsimpleasyncresult.c:
2133         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2134         Split out the send_to_mainloop call into two versions instead
2135         of having the block argument.
2136
2137 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2138
2139         * gcancellable.[ch]:
2140         * gio.symbols:
2141         * gbufferedinputstream.c:
2142         * gfileenumerator.c:
2143         * gfileinputstream.c:
2144         * gfileoutputstream.c:
2145         * ginputstream.c:
2146         * gioscheduler.c:
2147         * goutputstream.c:
2148         g_push/pop_current_cancellable ->
2149         g_cancellable_push/pop_current
2150
2151 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2152
2153         * gfile.[ch]:
2154         * gio.symbols:
2155         Rename g_mount_for_location to g_file_mount_enclosing_volume.
2156
2157 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2158
2159         * gmountoperation.h:
2160         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2161
2162 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2163
2164         * gioscheduler.c:
2165         Fix race condition when freeing proxy in
2166         g_io_job_send_to_mainloop().
2167
2168 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2169
2170         * gfileattribute.c:
2171         * gfileinfo.[ch]:
2172         * glocalfile.c:
2173         * glocalfileinfo.c:
2174         Make attribute namespace separator "::" instead of ":".
2175         Use - instead of _ as separator in attribute names.
2176
2177 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2178
2179         * gbufferedinputstream.h:
2180         * gbufferedoutputstream.h:
2181         * gdatainputstream.h:
2182         * gdataoutputstream.h:
2183         * gdirectorymonitor.h:
2184         * gfileenumerator.h:
2185         * gfileinputstream.h:
2186         * gfilemonitor.h:
2187         * gfileoutputstream.h:
2188         * gfilterinputstream.h:
2189         * gfilteroutputstream.h:
2190         * ginputstream.h:
2191         * glocalfileinputstream.h:
2192         * glocalfileoutputstream.h:
2193         * gmemoryinputstream.h:
2194         * gmemoryoutputstream.h:
2195         * gnativevolumemonitor.h:
2196         * goutputstream.h:
2197         * gunixinputstream.h:
2198         * gunixoutputstream.h:
2199         * gvfs.h:
2200         * gvolumemonitor.h:
2201         s/parent/parent_instance/ in GObjects
2202
2203 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2204
2205         * gdrive.h:
2206         * gmount.h:
2207         * gvolume.h:
2208         No need for padding for interfaces
2209         
2210 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2211
2212         * gappinfo.[ch]:
2213         * gasyncresult.c:
2214         * gbufferedinputstream.c:
2215         * gbufferedoutputstream.c:
2216         * gcancellable.c:
2217         * gcontenttype.c:
2218         * gdatainputstream.[ch]:
2219         * gdesktopappinfo.c:
2220         * gdirectorymonitor.c:
2221         * gfile.[ch]:
2222         * gfileattribute.[ch]:
2223         * gfileicon.[ch]:
2224         * gfileinfo.h:
2225         * gfileinputstream.h:
2226         * gfilemonitor.[ch]:
2227         * gfileoutputstream.[ch]:
2228         * gfilterinputstream.h:
2229         * gfilteroutputstream.h:
2230         * gicon.h:
2231         * gioscheduler.c:
2232         * gloadableicon.[ch]:
2233         * gmemoryinputstream.c:
2234         * gmountoperation.c:
2235         * gthemedicon.c:
2236         Fix up a bunch of details in the docs.
2237
2238         * glocalfileinfo.c:
2239         CR/LF -> LF fixups
2240         
2241 2007-12-11  David Zeuthen  <davidz@redhat.com>
2242
2243         Rework how volumes, drives and volume monitoring is
2244         done. Previosly the model was
2245
2246          GDrive <1-1> GVolume
2247
2248         where a GDrive instance represented a mount point and a GVolume
2249         instance represented a mounted file system. This patch changes it
2250         the model to
2251
2252                 GDrive <1-N> GVolume <1-1> GMount
2253
2254         where GMount now serves the purpose of the old GVolume and the new
2255         GVolume serves the purpose of the old GDrive. In addition the new
2256         GDrive interface is used to represent a collection of GVolume
2257         instances (typically partitions) and also contains utility to query
2258         the state of the physical drive the GDrive object represents (such
2259         as checking for media, polling the drive, ejecting the media etc.).
2260
2261         Also implement mounting and unmounting in the Unix volume monitor
2262         backend. A subquent patch will introduce GDrive support for ejection
2263         of media.
2264
2265         * Makefile.am:
2266         * gdrive.c: (g_drive_is_media_check_automatic),
2267         (g_drive_is_media_removable), (g_drive_has_media),
2268         (g_drive_can_poll_for_media), (g_drive_eject),
2269         (g_drive_eject_finish), (g_drive_poll_for_media),
2270         (g_drive_poll_for_media_finish):
2271         * gdrive.h:
2272         * gfile.c: (g_file_find_enclosing_mount):
2273         * gfile.h:
2274         * gio.symbols:
2275         * glocaldirectorymonitor.c:
2276         (g_local_directory_monitor_constructor), (mounts_changed):
2277         * glocalfile.c: (get_mount_info),
2278         (g_local_file_find_enclosing_mount),
2279         (g_local_file_file_iface_init):
2280         * gnativevolumemonitor.h:
2281         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2282         (get_connected_drives), (g_union_volume_monitor_class_init),
2283         (child_volume_added), (child_volume_removed),
2284         (child_volume_changed), (child_mount_added), (child_mount_removed),
2285         (child_mount_pre_unmount), (child_mount_changed),
2286         (child_drive_changed), (g_union_volume_monitor_add_monitor),
2287         (g_union_volume_monitor_remove_monitor),
2288         (_g_mount_get_for_mount_path):
2289         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2290         (guess_system_internal), (_g_get_unix_mounts),
2291         (_g_get_unix_mount_points), (g_get_unix_mount_at),
2292         (g_unix_mount_free), (g_unix_mount_compare),
2293         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2294         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2295         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2296         (type_to_icon), (g_unix_mount_guess_name),
2297         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2298         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2299         (_resolve_symlink), (_resolve_dev_root):
2300         * gunixmounts.h:
2301         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2302         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2303         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2304         (g_unix_volume_get_name), (g_unix_volume_can_mount),
2305         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2306         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2307         (g_unix_volume_mount), (g_unix_volume_mount_finish),
2308         (g_unix_volume_volume_iface_init):
2309         * gunixvolume.h:
2310         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2311         (get_mounts), (get_volumes), (get_connected_drives),
2312         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2313         (mountpoints_changed), (mounts_changed),
2314         (g_unix_volume_monitor_init),
2315         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2316         (find_mount_by_mountpath), (update_volumes), (update_mounts):
2317         * gunixvolumemonitor.h:
2318         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2319         (g_volume_mount), (g_volume_mount_finish):
2320         * gvolume.h:
2321         * gvolumemonitor.c: (g_volume_monitor_class_init),
2322         (g_volume_monitor_get_connected_drives),
2323         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2324         * gvolumemonitor.h:
2325
2326 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2327
2328         * gmountoperation.h (GPasswordFlags): Close the gap
2329
2330 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2331
2332         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2333         * gio.symbols:
2334         * gdesktopappinfo.[hc]: Remove _-prefixes
2335
2336 2007-12-10  Tor Lillqvist  <tml@novell.com>
2337
2338         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2339         gcc warnings.
2340
2341 2007-12-10  Alexander Larsson  <alexl@redhat.com>
2342
2343         * gfile.c (g_file_set_display_name):
2344         Don't hardcode '/' (#502727)
2345
2346 2007-12-09  Hans Breuer  <hans@breuer.org>
2347
2348         * makefile.msc : follow lib naming convention
2349         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2350         for user and group name, tested with ../tests/gio-ls
2351
2352 2007-12-09  A. Walton  <awalton@svn.gnome.org>
2353
2354         * gdesktopappinfo.c:
2355         * gdrive.c:
2356         * gdrive.h:
2357         * gfile.c:
2358         * gfile.h:
2359         * gfileattribute.c:
2360         * gfileenumerator.c:
2361         * gioerror.c:
2362         * gioscheduler.c:
2363         * gioscheduler.h:
2364         * gloadableicon.c:
2365         * gmemoryinputstream.c:
2366         * gmemoryoutputstream.c:
2367         * goutputstream.h:
2368         * gsimpleasyncresult.c:
2369         More documentation cleanup and filling in missing information, bringing
2370         GIO to 99% symbol coverage.
2371
2372 2007-12-08  Hans Breuer  <hans@breuer.org>
2373
2374         [gio compiles and links on win32, not sure how much already works]
2375         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2376         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
2377         base on win32 API; prefer g_lstat() over lstat(); instead of 
2378         localtime_r() use an all GLib implementation on win32;
2379         get_mount_info() still needs a win32 specifc implementation
2380         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
2381         win32_get_file_user_info to get owner/group info without uid/gid
2382         * glocalfileinputstream.c : include <io.h> on win32
2383         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2384         definition, use g_win32_ftruncate() for G_OS_WIN32
2385         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2386         it is available with mingw/w32api but a mess with the M$ Platform SDKs
2387         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2388         * makefile.msc : updated
2389
2390 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2391
2392         * glocalfileenumerator.c (_g_local_file_enumerator_new):
2393         Avoid warning spew if error == NULL
2394         
2395 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2396
2397         * gfile.c:
2398         Update docs wrt etags
2399
2400 2007-12-06  Alexander Larsson  <alexl@redhat.com>
2401
2402         * glocalfileinfo.h:
2403         Include sys/types.h for dev_t (#501919)
2404
2405 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
2406
2407         * gio.symbols:
2408         * pltcheck.sh:
2409         Make abicheck and pltcheck pass.
2410
2411 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2412
2413         * Makefile.am:
2414         * giomodule-priv.h: Added.
2415         * glocaldirectorymonitor.c:
2416         * glocalfilemonitor.c:
2417         * gunionvolumemonitor.c:
2418         * gvfs.c:
2419         Actually add the declaration of _g_io_modules_ensure_loaded
2420
2421 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2422
2423         * gdatainputstream.c:
2424         Fix warnings
2425         
2426         * gio.symbols:
2427         * giomodule.[ch]
2428         * glocaldirectorymonitor.c:
2429         * glocalfilemonitor.c:
2430         * gunionvolumemonitor.c:
2431         * gvfs.c:
2432         Make g_io_modules_ensure_loaded a private function and
2433         don't pass in the dirname. This means we can do magic
2434         directory finding in the win32 version.
2435         Export the actual load-modules-in-directory code so that
2436         gvfs can reuse that.
2437
2438 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2439
2440         * gbufferedinputstream.c:
2441         * gbufferedoutputstream.c:
2442         * gdrive.[ch]:
2443         * gfile.[ch]:
2444         * gfileenumerator.[ch]:
2445         * gfileinputstream.c:
2446         * gfileoutputstream.[ch]:
2447         * gfilterinputstream.c:
2448         * gfilteroutputstream.c:
2449         * ginputstream.[ch]:
2450         * glocalfile.c:
2451         * glocalfileenumerator.c:
2452         * glocalfileinputstream.c:
2453         * glocalfileoutputstream.c:
2454         * gmemoryinputstream.c:
2455         * gmemoryoutputstream.c:
2456         * goutputstream.[ch]:
2457         * gseekable.[ch]:
2458         * gunixdrive.c:
2459         * gunixinputstream.c:
2460         * gunixoutputstream.c:
2461         Rename all struct members named:
2462         read, write, close, truncate, or mount
2463         to foo_fn, as these are reserved names
2464         and could be defined as macros in libc.
2465         (#501645)
2466
2467 2007-12-04  Alexander Larsson  <alexl@redhat.com>
2468
2469         * goutputstream.c:
2470         (g_output_stream_close):
2471         Only call flush if non-null.
2472
2473 2007-11-30  Dan Winship  <danw@gnome.org>
2474
2475         * ginputstream.c (g_input_stream_set_pending): Make this take a
2476         GError and return a gboolean, and do the "outstanding operation"
2477         check (and the "stream is already closed" check) itself.
2478         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2479
2480         * goutputstream.c (g_output_stream_set_pending)
2481         (g_output_stream_clear_pending): Likewise
2482
2483         * gbufferedinputstream.c: 
2484         * gfileinputstream.c: 
2485         * gfileoutputstream.c: Update for that
2486
2487         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2488         Like g_simple_async_report_error_in_idle, but takes a GError
2489         rather than building one.
2490
2491 2007-11-30  Dan Winship  <danw@gnome.org>
2492
2493         * goutputstream.c: Don't cheat and unset the "pending" flag around
2494         inner calls. Instead, call the class method directly rather than
2495         the wrapper function that checks "pending"
2496
2497 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
2498
2499         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2500
2501 2007-12-03  Hans Breuer  <hans@breuer.org>
2502
2503         [start of port to win32/msvc]
2504         * gcancellable.c : HAVE_UNIST_H and _pipe()
2505         * gcontenttype.c : only include <dirent.h> in the UNIX branch
2506         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2507         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
2508         HAVE_UNIST_H
2509         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2510         * glocalvfs.c : use HAVE_PWD_H
2511         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2512         * makefile.msc : new file (maybe later converted to makefile.msc.in)
2513         * Makefile.am : added to EXTRA_DIST
2514
2515 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2516
2517         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2518         (#499783)
2519
2520 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2521
2522         * glocalfileinfo.c:
2523         Handle OSX style xattrs API (#500506)
2524
2525 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2526
2527         * gfile.[ch]:
2528         * glocalfile.c:
2529         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2530
2531 2007-12-02  A. Walton  <awalton@svn.gnome.org>
2532
2533         * gfile.c:
2534         * gfileattribute.c:
2535         Documentation accuracy fixes.
2536
2537 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
2538
2539         * gioenumtypes.c.template: Fix typo.
2540
2541 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2542
2543         * gioenumtypes.c.template: Make threadsafe get_type() functions.
2544
2545 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2546
2547         * gdirectorymonitor.c:
2548         * gfilemonitor.c: Add properties
2549
2550         * gbufferedoutputstream.c: Don't mark buffer-size property 
2551         as construct-only.
2552
2553 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2554
2555         * gbufferedoutputstream.c: Add auto-grow property.
2556
2557 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2558
2559         * *.c: Unify the capitalization of section headings.
2560
2561 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2562
2563         * gmountoperation.c: Add properties
2564         
2565         * gdatainputstream.c: Turn byte-order and newline-type into
2566         properties.
2567
2568 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2569
2570         * gioenumtypes.[hc].template: Templates for enum registration
2571
2572         * Makefile.am: Generate gioenumtypes.[hc]
2573
2574         * gio.h: Include gioenumtypes.h
2575         * gappinfo.h:
2576         * gfile.h: Add some explicit nicks.
2577
2578         * gio.symbols: Add new symbols
2579
2580         * pltcheck.sh: Adjust
2581
2582 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2583
2584         * *.c: Explain etags and link to the explanation
2585
2586 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2587
2588         * *.c: Explain I/O priority.
2589
2590         * *.c: More coding style fixes.
2591
2592 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2593
2594         * gasyncresult.c: Add another paragraph to the intro,
2595         adjust coding style of example.
2596
2597 2007-11-29  A. Walton <awalton@svn.gnome.org>
2598
2599         * gappinfo.c:
2600           Fixes unknown meaning in GAppLaunchContext docs.
2601         * gfile.c:
2602           Clarify asynchronous ops.
2603         * gfileattribute.c:
2604           Fix entity tag docs.
2605         * gicon.c:
2606         * gthemedicon.c:
2607           Provides missing gtk-doc section, fixes API docs slighly.
2608         * gsimpleasyncresult.c:
2609           Fill in missing info in docs.
2610         * gunixinputstream.c:
2611         * gunixoutputstream.c:
2612           Be more expressive in short description.
2613         * gunixvolume.c:
2614           Remove gtk-doc stubs for non-public API.
2615
2616 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2617
2618         * *.c: Coding style fixups
2619
2620 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2621
2622         * inotify/inotify-helper.c: Don't export the lock from libgio.
2623
2624 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2625
2626         * Makefile.am:
2627         * abicheck.sh: Fix copy-and-paste leftovers 
2628
2629 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2630
2631         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2632
2633 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2634
2635         * Makefile.am:
2636         * gdriveprivate.h:
2637         Removed unnecessary file
2638         
2639         * gdesktopappinfo.[ch]:
2640         * gdummyfile.[ch]:
2641         * gfile.c:
2642         * glocaldirectorymonitor.[ch]:
2643         * glocalfile.[ch]:
2644         * glocalfileenumerator.[ch]:
2645         * glocalfileinputstream.[ch]:
2646         * glocalfilemonitor.[ch]:
2647         * glocalfileoutputstream.[ch]:
2648         * glocalvfs.[ch]:
2649         * gnativevolumemonitor.c:
2650         * gpollfilemonitor.[ch]:
2651         * gunionvolumemonitor.[ch]:
2652         * gunixdrive.[ch]:
2653         * gunixvolume.[ch]:
2654         * gunixvolumemonitor.[ch]:
2655         * gvfs.c:
2656         * gvolumeprivate.h:
2657         * inotify/ginotifydirectorymonitor.[ch]:
2658         * inotify/ginotifyfilemonitor.[ch]:
2659         * inotify/inotify-helper.c:
2660         Append _ to all internal functions
2661         
2662         * gio.symbols:
2663         Add missing symbols
2664         Export symbols needed for modules
2665
2666 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2667
2668         * Makefile.am:
2669         * abicheck.sh: Added.
2670         * makegioalias.pl: Added.
2671         * pltcheck.sh: Added.
2672         * gio.symbols: Added.
2673         * *.c:
2674         * inotify/*.c
2675         Initial work on adding symbol handling.
2676
2677         * gvfs.h:
2678         Correct ifdef guard name
2679
2680         * fam/Makefile.am:
2681         * inotify/Makefile.am:
2682         * xdgmime/Makefile.am:
2683         Include toplevel Makefile.decl
2684
2685 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2686
2687         * gcontenttype.c: Move doc comments to the unix section.
2688
2689         * *.[hc]: More trivial doc corrections.
2690
2691 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2692
2693         * gpollfilemonitor.c:
2694         * gunixmounts.c:
2695         * gvfs.c:
2696         * gfile.c:
2697         * gdesktopappinfo.c:
2698         * gwin32appinfo.c:
2699         * gvolume.c:
2700         * glocalvfs.c:
2701         * gvolumemonitor.c:
2702         * gdatainputstream.c:
2703         * gdatainputstream.h:
2704         * gdataoutputstream.c:
2705         * gdataoutputstream.h:
2706         * gfileinfo.h: Doc cleanups
2707
2708 2007-11-28  Andre Klapper  <a9016009@gmx.de>
2709
2710         * gdesktopappinfo.c: Fix a typo.
2711
2712 2007-11-27  Andre Klapper  <a9016009@gmx.de>
2713
2714         * glocalfileoutputstream.c: Fix a typo.
2715
2716 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2717
2718         * gio.h:
2719         Don't include removed headers
2720
2721 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2722
2723         * Makefile.am:
2724         * gsocketinputstream.[ch]: Removed.
2725         * gsocketoutputstream.[ch]: Removed.
2726         * gunixinputstream.[ch]: Added.
2727         * gunixoutputstream.[ch]: Added.
2728         Renamed GSocket*Stream to GUnix*Stream and made
2729         it unix-only, since its not really only for sockets
2730         and it only works on unix (but is highly useful there).
2731
2732 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
2733         * gappinfo.c:
2734         * gappinfo.h:
2735         * gasynchelper.c:
2736         * gasyncresult.c:
2737         * gasyncresult.h:
2738         * gbufferedinputstream.c:
2739         * gbufferedinputstream.h:
2740         * gbufferedoutputstream.c:
2741         * gbufferedoutputstream.h:
2742         * gcancellable.c: 
2743         * gcancellable.h:
2744         * gcontenttype.c:
2745         * gdatainputstream.c:
2746         * gdatainputstream.h:
2747         * gdataoutputstream.c:
2748         * gdataoutputstream.h:
2749         * gdirectorymonitor.c:
2750         * gdirectorymonitor.h:
2751         * gdrive.c: 
2752         * gdrive.h:
2753         * gfile.c:
2754         * gfile.h:
2755         * gfileattribute.c:
2756         * gfileattribute.h:
2757         * gfileenumerator.c:
2758         * gfileenumerator.h:
2759         * gfileicon.c:
2760         * gfileicon.h:
2761         * gfileinfo.c:
2762         * gfileinfo.h:
2763         * gfileinputstream.c:
2764         * gfileinputstream.h:
2765         * gfilemonitor.c:
2766         * gfilemonitor.h:
2767         * gfilenamecompleter.c:
2768         * gfilenamecompleter.h:
2769         * gfileoutputstream.c:
2770         * gfileoutputstream.h:
2771         * gfilterinputstream.c:
2772         * gfilterinputstream.h:
2773         * gfilteroutputstream.c:
2774         * gfilteroutputstream.h:
2775         * gicon.c:
2776         * gicon.h:
2777         * ginputstream.c:
2778         * ginputstream.h:
2779         * gioerror.c:
2780         * gioerror.h:
2781         * giomodule.c:
2782         * giomodule.h:
2783         * gioscheduler.c:
2784         * gioscheduler.h:
2785         * gloadableicon.c:
2786         * gloadableicon.h:
2787         * glocalfileoutputstream.c:
2788         * gmemoryinputstream.c:
2789         * gmemoryinputstream.h:
2790         * gmemoryoutputstream.c:
2791         * gmemoryoutputstream.h:
2792         * gmountoperation.c: 
2793         * gmountoperation.h:
2794         * goutputstream.c:
2795         * goutputstream.h:
2796         * gpollfilemonitor.c:
2797         * gseekable.c:
2798         * gseekable.h:
2799         * gsimpleasyncresult.c:
2800         * gsimpleasyncresult.h:
2801         * gsocketinputstream.c:
2802         * gsocketinputstream.h:
2803         * gsocketoutputstream.c:
2804         * gsocketoutputstream.h:
2805         * gthemedicon.c:
2806         * gthemedicon.h:
2807         * gunixdrive.c:
2808         * gunixmounts.c: 
2809         * gunixmounts.h:
2810         * gunixvolume.c:
2811         * gunixvolumemonitor.c:
2812         * gurifuncs.c:
2813         * gurifuncs.h:
2814         * gvfs.c:
2815         * gvfs.h:
2816         * gvolume.c:
2817         * gvolume.h:
2818         * gvolumemonitor.c: 
2819         * gvolumemonitor.h:
2820         Bumps documentation to 93% symbol coverage, touching most 
2821         of the public files. Fixes broken function documentation prototypes. 
2822         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
2823         gtk-doc headers in private files.
2824
2825 2007-11-27  Jürg Billeter  <j@bitron.ch>
2826
2827         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2828         (g_buffered_input_stream_read_byte):
2829         * gbufferedinputstream.h:
2830         New functions for efficient access to buffer and simple single byte
2831         reads.
2832
2833         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2834         (g_data_input_stream_read_until):
2835         * gdatainputstream.h:
2836         Use peek_buffer to avoid memcpy in scan_for_newline, implement
2837         read_until with multiple stop chars.
2838
2839 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2840
2841         * Makefile.am:
2842         * fam/Makefile.am:
2843         * inotify/Makefile.am:
2844         Use the user-specified giomoduledir
2845
2846 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2847
2848         * Makefile.am
2849         * gio.h:
2850         Add catch-all gio.h header
2851         Don't install gdummyfile.h
2852
2853 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2854
2855         * Makefile.am (gioinclude_HEADERS):
2856         Remove trailing whitespace
2857         
2858 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2859
2860         Merge gio-standalone into glib
2861
2862 2007-11-25  Christian Kellner  <gicmo@gnome.org>
2863
2864         * gio/goutputstream.c:
2865         Fix small mistake in the docs.
2866
2867 2007-11-21  Christian Persch  <chpe@gnome.org>
2868
2869         * gio/glocalfile.c: (g_local_file_trash):
2870         Convert filenames to UTF-8 for GError.
2871         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2872         as per xdg base dir spec.
2873
2874 2007-11-21  Christian Persch  <chpe@gnome.org>
2875
2876         * gio/gdesktopappinfo.c:
2877         Use that g_key_file_to_data cannot fail.
2878         Some misc cleanups.
2879         Use stock defines for the key file group and key names.
2880         Use bitfields.
2881
2882 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2883
2884         * gio/gfile.c:
2885         (copy_stream_with_progress):
2886         Make sure we do a final progress callback with
2887         the full total size.
2888
2889 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2890
2891         * gio/gfile.[ch]:
2892         Export g_file_copy_attributes
2893         Remove padding as its not needed for interfaces
2894
2895 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2896
2897         * gio/gfile.c:
2898         * gio/gioerror.h:
2899         * gio/glocalfile.c:
2900         Add G_IO_ERROR_WOULD_MERGE for
2901         copy/move dir on dir with overwrite.
2902
2903 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2904
2905         * gio/gfileinfo.h:
2906         * gio/glocalfileinfo.c:
2907         Add COPY_NAME (this is an optional
2908         non-modified utf8 version of the name) that
2909         can roundtrip.
2910
2911 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2912
2913         * gio/glocalfileenumerator.c:
2914         Report errors as GIOError, not GFileError
2915
2916 2007-11-16  Alexander Larsson  <alexl@redhat.com>
2917
2918         * gio/glocalfileoutputstream.c:
2919         * gio/gwin32appinfo.c:
2920         Fix typos in strings.
2921         Patch from Luca Ferretti <elle.uca@libero.it>
2922
2923 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2924
2925         * configure.ac:
2926         Post release version bump
2927
2928 === gio-standalone 0.1.2 ===
2929
2930 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2931
2932         * docs/reference/gio/Makefile.am:
2933         Fix up distcheck by removing weird
2934         non-needed stuff
2935
2936         * NEWS:
2937         Update for release
2938
2939 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2940
2941         * gio/gdesktopappinfo.c:
2942         * gio/glocaldirectorymonitor.c:
2943         * gio/glocalfile.c:
2944         * gio/glocalfileinfo.c:
2945         * gio/inotify/inotify-sub.c:
2946         * programs/gio-cat.c:
2947         * programs/gio-copy.c:
2948         * programs/gio-info.c:
2949         * programs/gio-ls.c:
2950         * programs/gio-monitor-dir.c:
2951         * programs/gio-monitor-file.c:
2952         * programs/gio-mount.c:
2953         * programs/gio-move.c:
2954         * programs/gio-rm.c:
2955         * programs/gio-save.c:
2956         * programs/gio-trash.c:
2957         Leak fixes from Kjartan Maraas
2958
2959 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2960
2961         * gio/fam/fam-helper.c:
2962         * gio/gdrive.[ch]:
2963         * gio/glocalfileinfo.c:
2964         * gio/gunixdrive.c:
2965         * gio/gvfs.c:
2966         * gio/gvolume.[ch]:
2967         * gio/inotify/inotify-diag.c:
2968         * gio/inotify/inotify-kernel.c:
2969         Various code cleanups from Kjartan Maraas
2970
2971 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2972
2973         * gio/gioscheduler.c:
2974         (init_scheduler):
2975         Set up threadpool so that we cache 2 unused
2976         idle threads for at 15 secs. This means we
2977         will reuse thread-local data (like dbus connections)
2978         for them.
2979
2980 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2981
2982         * gio/fam/fam-helper.c:
2983         * gio/fam/gfamdirectorymonitor.c:
2984         * gio/fam/gfamfilemonitor.c:
2985         * gio/gappinfo.c:
2986         * gio/gcontenttype.c:
2987         * gio/gdatainputstream.c:
2988         * gio/gdataoutputstream.c:
2989         * gio/gdummyfile.c:
2990         * gio/gfile.c:
2991         * gio/gfile.h:
2992         * gio/gfileattribute.h:
2993         * gio/gfileenumerator.c:
2994         * gio/gfileinfo.c:
2995         * gio/ginputstream.c:
2996         * gio/gioerror.h:
2997         * gio/glocalfile.c:
2998         * gio/glocalfileinfo.c:
2999         * gio/goutputstream.c:
3000         * gio/gpollfilemonitor.c:
3001         * gio/gsimpleasyncresult.c:
3002         * gio/gunixmounts.c:
3003         * gio/gunixmounts.h:
3004         * gio/inotify/ginotifydirectorymonitor.c:
3005         * gio/inotify/ginotifyfilemonitor.c:
3006         * gio/inotify/inotify-diag.c:
3007         * gio/inotify/inotify-kernel.c:
3008         * gio/inotify/inotify-path.c:
3009         * gio/test-gio.c:
3010         * gio/test-streams.c:
3011         * programs/gio-info.c:
3012         * programs/gio-monitor-dir.c:
3013         * programs/gio-monitor-file.c:
3014         Various code cleanups from Kjartan Maraas
3015
3016 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3017
3018         * gio/gdummyfile.c:
3019         Handle the uri-scheme calls for dummy files
3020
3021 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3022
3023         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3024         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3025         to avoid clash with the C++ keyword.
3026
3027 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3028
3029         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3030         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3031
3032 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3033
3034         * gio/glocaldirectorymonitor.c:
3035         * gio/glocalfilemonitor.c:
3036         * gio/gunionvolumemonitor.c:
3037         Don't use g_once_init_*() for initializations that could fail and
3038         could leave the initialization variable set to 0 but use GOnce.
3039         This prevents a deadlock on the second call when trying to create
3040         a monitor and no monitor type is available. Thanks to Sven Herzberg
3041         for reporting.
3042
3043 2007-11-11  Sven Herzberg  <sven@imendio.com>
3044
3045         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3046         #ifdef (make it work on MacOS X again)
3047
3048 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3049         * Changelog:
3050         Fixes Changelog for last two commits (sorry guys).
3051
3052 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3053         * gio/gappinfo.c:
3054         * gio/gbufferedinputstream.c:
3055         * gio/gdatainputstream.c:
3056         * gio/gfile.c:
3057         * gio/gfileoutputstream.c:
3058         * gio/gfilterinputstream.c:
3059         * gio/glocalfileinputstream.c:
3060         * gio/gurifuncs.c:
3061         * gio/gvfs.c:
3062         More consistency fixes in g*stream.c files. 
3063         Significant clean of gfile's documentation, filling in of 
3064         asynchronous operations documentation.
3065
3066 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3067         * gio/gappinfo.c:
3068         * gio/gasyncresult.c:
3069         * gio/gbufferedinputstream.c:
3070         * gio/gbufferedoutputstream.c:
3071         * gio/gcancellable.c:
3072         * gio/gcontenttype.c:
3073         * gio/gdatainputstream.c:
3074         * gio/gdataoutputstream.c:
3075         * gio/gdesktopappinfo.c:
3076         * gio/gdrive.c:
3077         * gio/gfile.c:
3078         * gio/gfileattribute.c:
3079         * gio/gio/gfileenumerator.c:
3080         * gio/gfileinfo.c:
3081         * gio/gfileinputstream.c:
3082         * gio/gfilemonitor.c:
3083         * gio/gfileoutputstream.c:
3084         * gio/ginputstream.c:
3085         * gio/giomodule.c:
3086         * gio/gioscheduler.c:
3087         * gio/gloadableicon.c:
3088         * gio/glocalfileoutputstream.c:
3089         * gio/gmemoryoutputstream.c:
3090         * gio/gmountoperation.c:
3091         * gio/goutputstream.c:
3092         * gio/gseekable.c:
3093         * gio/gsimpleasyncresult.c:
3094         * gio/gunionvolumemonitor.c:
3095         * gio/gunixmounts.c:
3096         * gio/gunixvolume.c:
3097         * gio/gurifuncs.c:
3098         * gio/gvfs.c:
3099         * gio/gvolume.c:
3100         * gio/gvolumemonitor.c:
3101         Updated documentation stubs, working towards consistency and 
3102         completeness.
3103
3104 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3105
3106         * gio/gmemoryoutputstream.c:
3107         * gio/gmemoryoutputstream.h:
3108         Change g_memory_output_stream_set_free_on_close() to
3109         g_memory_output_stream_set_free_data() as this makes more sense and
3110         is more consistent with GMemoryInputStream.
3111
3112 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3113
3114         * gio/gfile.c:
3115         Fix some docs
3116         
3117         * gio/glocalvfs.c:
3118         * gio/gvfs.[ch]:
3119         Change how we find the default vfs so that
3120         we can handle a gvfs failing to init
3121
3122 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3123
3124         * gio/gbufferedoutputstream.c:
3125         * gio/gdatainputstream.c:
3126         * gio/gdataoutputstream.c:
3127         * gio/gfileinputstream.c:
3128         * gio/gfileoutputstream.c:
3129         * gio/gfilterinputstream.c:
3130         * gio/gfilteroutputstream.c:
3131         * gio/ginputstream.c:
3132         * gio/gmemoryinputstream.c:
3133         * gio/gmemoryoutputstream.c:
3134         * gio/goutputstream.c:
3135         * gio/gsimpleasyncresult.c:
3136         * gio/gsocketinputstream.c:
3137         * gio/gsocketoutputstream.c:
3138         Add guards to the remaining public functions, add a TODO for
3139         an unimplemented function and remove some useless guards.
3140
3141 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3142
3143         * configure.ac:
3144         Autoconf checks for the various types of
3145         getpwuid_r and getgrgid_r
3146         
3147         * gio/glocalfileinfo.c:
3148         Use the autoconf checks from above
3149
3150 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3151
3152         * gio/glocalfile.c:
3153         (g_local_file_query_filesystem_info):
3154         Some fixes for the statvfs case
3155         
3156 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3157
3158         * gio/glocalfile.c:
3159         (g_local_file_query_filesystem_info):
3160         Pick the "best" of statfs / statvfs for the system
3161         if both are availible.
3162
3163 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3164
3165         Solaris fixes from Halton.Huo@Sun.COM:
3166         
3167         * gio/gdrive.c:
3168         * gio/gfile.c:
3169         * gio/gvolume.c:
3170         Don't return void
3171         
3172         * gio/glocalfileinfo.c:
3173         Fix for solaris definition of getpwuid_r
3174         
3175         * gio/test-streams.c:
3176         Use G_GNUC_PRETTY_FUNCTION
3177
3178 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3179
3180         * gio/gdesktopappinfo.c:
3181         (update_default_list):
3182         Remove double semicolon.
3183         Patch from Jens Granseuer
3184
3185 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3186
3187         * docs/reference/gio/gio-sections.txt:
3188         * gio/gbufferedinputstream.c:
3189         * gio/gbufferedinputstream.h:
3190         * gio/gdatainputstream.c:
3191         * gio/gfileenumerator.c:
3192         * gio/gioscheduler.c:
3193         * gio/gunionvolumemonitor.c:
3194         * gio/gvfs.c:
3195         * programs/gio-save.c:
3196         Fix typo: availible -> available. Unfortuntely this breaks API
3197         and ABI as g_buffered_input_stream_get_available() was renamed.
3198         
3199         * gio/gunixmounts.c:
3200         * gio/gbufferedinputstream.c:
3201         Add guards for public functions.
3202
3203 2007-11-06  Ross Burton  <ross@openedhand.com>
3204
3205         * docs/reference/gio/Makefile.am:
3206         Fix invalid += usage which automake 1.10 doesn't like.
3207
3208 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3209
3210         * gio/gappinfo.c:
3211         (g_app_launch_context_class_init):
3212         Fix warning
3213
3214         Patch from Ross Burton 
3215         
3216 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3217
3218         * configure.ac:
3219         Post release version bump
3220
3221 === gio-standalone 0.1.1 ===
3222
3223 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3224
3225         * configure.ac:
3226         Bump version to 0.1.1
3227         
3228         * gio/gsimpleasyncresult.c:
3229         (g_simple_async_result_set_from_error):
3230         Remove bogus g_return_if_fail
3231
3232 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3233
3234         * configure.ac:
3235         The name is gio-standalone
3236         
3237         * gio/Makefile.am:
3238         Add top src/builddir to includedir
3239
3240 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3241
3242         * docs/reference/gio/gio-sections.txt:
3243         * gio/gappinfo.c:
3244         * gio/gbufferedinputstream.c:
3245         * gio/gbufferedoutputstream.c:
3246         * gio/gcancellable.c:
3247         * gio/gdatainputstream.h:
3248         * gio/gdataoutputstream.c:
3249         * gio/gdataoutputstream.h:
3250         * gio/gdirectorymonitor.c:
3251         * gio/gfile.c:
3252         * gio/gfileattribute.c:
3253         * gio/gfileattribute.h:
3254         * gio/gfileenumerator.c:
3255         * gio/gfileenumerator.h:
3256         * gio/gfileinfo.c:
3257         * gio/gfileinfo.h:
3258         * gio/gfileinputstream.h:
3259         * gio/gfilemonitor.c:
3260         * gio/gfileoutputstream.h:
3261         * gio/glocalfilemonitor.h:
3262         * gio/glocalfileoutputstream.h:
3263         * gio/gmemoryinputstream.c:
3264         * gio/gmemoryoutputstream.c:
3265         * gio/gmountoperation.c:
3266         * gio/goutputstream.c:
3267         * gio/goutputstream.h:
3268         * gio/gseekable.h:
3269         * gio/gsimpleasyncresult.c:
3270         * gio/gunixmounts.c:
3271         * gio/gunixmounts.h:
3272         * gio/gurifuncs.h:
3273         * gio/inotify/inotify-helper.c:
3274         Fix gtk-doc warnings
3275
3276         Patch from Ross Burton 
3277         
3278 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3279
3280         * gio/gfilenamecompleter.c:
3281         (g_filename_completer_get_completions):
3282         fix warning
3283         
3284         * gio/gunixvolume.c:
3285         Remove unused function
3286
3287         Patches from Ross Burton 
3288
3289 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3290
3291         * gio/gdrive.h:
3292         * gio/gseekable.h:
3293         * gio/gvolume.h:
3294         Padding not needed for interfaces
3295
3296 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3297
3298         * gio/gfilemonitor.c:
3299         Remove debug spew
3300
3301         * gio/Makefile.am:
3302         Make giotypes.h an internal file
3303         
3304         * gio/gappinfo.h:
3305         * gio/gbufferedinputstream.h:
3306         * gio/gbufferedoutputstream.h:
3307         * gio/gcancellable.h:
3308         * gio/gdatainputstream.h:
3309         * gio/gdataoutputstream.h:
3310         * gio/gdirectorymonitor.c:
3311         * gio/gdirectorymonitor.h:
3312         * gio/gdrive.c:
3313         * gio/gdrive.h:
3314         * gio/gfile.c:
3315         * gio/gfile.h:
3316         * gio/gfileattribute.h:
3317         * gio/gfileenumerator.h:
3318         * gio/gfileicon.c:
3319         * gio/gfileicon.h:
3320         * gio/gfileinfo.c:
3321         * gio/gfileinfo.h:
3322         * gio/gfilemonitor.c:
3323         * gio/gfilemonitor.h:
3324         * gio/gfilenamecompleter.c:
3325         * gio/gfilenamecompleter.h:
3326         * gio/gfilterinputstream.h:
3327         * gio/gfilteroutputstream.h:
3328         * gio/ginputstream.h:
3329         * gio/gmemoryinputstream.h:
3330         * gio/gmemoryoutputstream.h:
3331         * gio/gmountoperation.c:
3332         * gio/gmountoperation.h:
3333         * gio/gnativevolumemonitor.c:
3334         * gio/goutputstream.h:
3335         * gio/gseekable.c:
3336         * gio/gseekable.h:
3337         * gio/gsimpleasyncresult.c:
3338         * gio/gsimpleasyncresult.h:
3339         * gio/gsocketinputstream.h:
3340         * gio/gsocketoutputstream.h:
3341         * gio/gthemedicon.c:
3342         * gio/gthemedicon.h:
3343         * gio/gvfs.h:
3344         * gio/gvolume.c:
3345         * gio/gvolume.h:
3346         * gio/gvolumemonitor.c:
3347         * gio/gvolumemonitor.h:
3348         Add padding in classes where it seems useful
3349         Don't include giotypes.h from public headers
3350         Move in Class definitions into c file where possible
3351         
3352         * gio/glocalfile.c:
3353         Fix warnings
3354
3355 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3356
3357         * docs/reference/gio/gio-docs.xml:
3358         Better structure for API docs
3359
3360 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3361
3362         * gio/gfileicon.c:
3363         * gio/gloadableicon.c:
3364         * gio/gsimpleasyncresult.c:
3365         * gio/gthemedicon.c:
3366         Add some more guards to public functions. Only files missing are now
3367         g*stream*.c.
3368
3369 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3370
3371         * docs/reference/gio/gio-docs.xml:
3372         Remove old files, add missing ones
3373
3374 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3375
3376         * docs/reference/gio/gio-sections.txt:
3377         Restructure
3378         Add missing stuff
3379         Hide implementation classes
3380         
3381         * gio/gdriveprivate.h:
3382         * gio/gvolumeprivate.h:
3383         Remove non-existing function declarations
3384
3385 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3386
3387         * gio/gappinfo.c:
3388         Fix compilation warnings and add guards to the new functions.
3389         
3390         * gio/gasyncresult.c:
3391         * gio/gdummyfile.c:
3392         Add guards to the public functions.
3393         
3394         * gio/gdummyfile.c:
3395         Implement get_path().
3396
3397 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3398
3399         * gio/gfilenamecompleter.c:
3400         Make g_filename_completer_get_completions
3401         return char ** instead of GList for
3402         typesafety.
3403         
3404         * docs/reference/gio/gio-docs.xml:
3405         * docs/reference/gio/gio-sections.txt:
3406         * gio/gappinfo.c:
3407         * gio/gasyncresult.c:
3408         * gio/gbufferedinputstream.c:
3409         * gio/gbufferedoutputstream.c:
3410         * gio/gcancellable.c:
3411         * gio/gcontenttype.c:
3412         * gio/gdatainputstream.c:
3413         * gio/gdataoutputstream.c:
3414         * gio/gdesktopappinfo.c:
3415         * gio/gdirectorymonitor.c:
3416         * gio/gdrive.c:
3417         * gio/gdummyfile.c:
3418         * gio/gfile.c:
3419         * gio/gfileattribute.c:
3420         * gio/gfileenumerator.c:
3421         * gio/gfileicon.c:
3422         * gio/gfileinfo.c:
3423         * gio/gfileinputstream.c:
3424         * gio/gfilemonitor.c:
3425         * gio/gfilenamecompleter.c:
3426         * gio/gfilenamecompleter.h:
3427         * gio/gfileoutputstream.c:
3428         * gio/gfilterinputstream.c:
3429         * gio/gicon.c:
3430         * gio/ginputstream.c:
3431         * gio/giomodule.c:
3432         * gio/gioscheduler.c:
3433         * gio/gloadableicon.c:
3434         * gio/glocaldirectorymonitor.c:
3435         * gio/glocalfile.c:
3436         * gio/glocalfileinputstream.c:
3437         * gio/glocalfilemonitor.c:
3438         * gio/glocalfileoutputstream.c:
3439         * gio/glocalvfs.c:
3440         * gio/gmemoryinputstream.c:
3441         * gio/gmemoryoutputstream.c:
3442         * gio/gmountoperation.c:
3443         * gio/goutputstream.c:
3444         * gio/gpollfilemonitor.c:
3445         * gio/gseekable.c:
3446         * gio/gsimpleasyncresult.c:
3447         * gio/gsocketinputstream.c:
3448         * gio/gsocketoutputstream.c:
3449         * gio/gthemedicon.c:
3450         * gio/gunionvolumemonitor.c:
3451         * gio/gunixdrive.c:
3452         * gio/gunixmounts.c:
3453         * gio/gunixvolume.c:
3454         * gio/gunixvolumemonitor.c:
3455         * gio/gurifuncs.c:
3456         * gio/gvfs.c:
3457         * gio/gvolume.c:
3458         * gio/gvolumemonitor.c:
3459         * gio/gwin32appinfo.c:
3460         Add (mostly stub) doc strings to public functions.
3461         Patch from Andrew Walton (awalton@gmail.com)
3462
3463 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3464
3465         * gio/gappinfo.[ch]:
3466         Added GAppLaunchContext object and pass that to launch.
3467         This allows simple implementation of both
3468         launch-on-screen and startup notification via a gtk+
3469         subclass of GAppLaunchContext
3470         
3471         * gio/gdesktopappinfo.c:
3472         Implement GAppLaunchContext API
3473         
3474         * gio/gwin32appinfo.c:
3475         Update to new APIs
3476
3477 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3478
3479         * gio/gmountoperation.c:
3480         Add some guards to GMountOperation's public functions.
3481
3482 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3483
3484
3485         * gio/gappinfo.c:
3486         * gio/gcancellable.c:
3487         * gio/gdirectorymonitor.c:
3488         * gio/gdrive.c:
3489         * gio/gfileenumerator.c:
3490         * gio/gfilemonitor.c:,
3491         * gio/gfilenamecompleter.c:
3492         * gio/gicon.c:
3493         * gio/giomodule.c:
3494         * gio/gioscheduler.c:
3495         * gio/gseekable.c:
3496         * gio/gurifuncs.c:
3497         * gio/gvolume.c:
3498         * gio/gvolumemonitor.c:
3499         Add even more guards to various public functions.
3500
3501 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3502
3503         * gio/gappinfo.c:
3504         Add guards to the public functions of GAppInfo.
3505
3506 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3507
3508         * gio/gcontenttype.c:
3509         Add some more guards for public functions.
3510
3511 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3512
3513         * gio/fam/fam-module.c:
3514         * gio/fam/gfamdirectorymonitor.c:
3515         * gio/fam/gfamdirectorymonitor.h:
3516         * gio/fam/gfamfilemonitor.c:
3517         * gio/fam/gfamfilemonitor.h:
3518         * gio/inotify/ginotifydirectorymonitor.c:
3519         * gio/inotify/ginotifydirectorymonitor.h:
3520         * gio/inotify/ginotifyfilemonitor.c:
3521         * gio/inotify/ginotifyfilemonitor.h:
3522         Add proper copyright information and remove an unused variable
3523         in the GInotifyFileMonitor constructor.
3524
3525         * gio/gcancellable.c:
3526         Add a guard for a public function and an assertion to prevent
3527         an undefined program state.
3528
3529 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3530
3531         * gio/gfileattribute.c:
3532         Don't run into an assertion if the given attribute value is NULL
3533         in g_file_attribute_value_get_*() but instead return a fallback
3534         value that makes sense in most situations. Passing them a attribute
3535         value with the wrong type will still run into an assertion.
3536
3537 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3538
3539         * gio/gfileattribute.c:
3540         * gio/gfileinfo.c:
3541         Add even more guards to the public functions. Also fix the refcounting
3542         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3543         let g_file_info_list_attributes() filter the attributes by namespace
3544         instead of simply ignoring the namespace parameter.
3545
3546 2007-11-03  Sven Herzberg  <sven@imendio.com>
3547
3548         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3549         (This makes gio work on MacOS X again)
3550
3551 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3552
3553         * Makefile.am:
3554         Build the gio subdirectory before the docs. Otherwise the build will
3555         fail.
3556
3557         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3558         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3559         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3560         Add guards to the public functions.
3561
3562 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3563
3564         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3565         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3566         to prevent a compiler warning.
3567
3568         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3569         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3570         return something in the non-void function find_topdir_for().
3571
3572 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
3573
3574         * configure.ac:
3575         * Makefile.am:
3576         * docs/:
3577         Gtkdocify!
3578
3579 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
3580
3581         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3582         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3583         * gwin32appinfo.c (g_win32_app_info_launch):
3584         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3585         envp_for_startup_id, g_desktop_app_info_launch,
3586         g_desktop_app_info_launch_uris):
3587
3588         Give an opaque 'startup_id' string instead of 'envp'.
3589         Support empty file lists for launching new windows.
3590         Fix infinite recursion bug when launching URIs.
3591
3592 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3593
3594         * gio/gfile.c:
3595         Add guard to the new g_file_get_uri_scheme() function.
3596
3597 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3598
3599         * gio/gfile.c:
3600         Convert a g_return_val_if_fail() to setting the GError instead as
3601         otherwise applications have to verify the parameter before otherwise
3602         and the parameter might come directly from the user.
3603
3604 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3605
3606         * gio/inotify/ginotify*.[ch]:
3607         Add missing copyright information.
3608
3609 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3610
3611         * gio/gfile.c:
3612         Add guards in the beginning of public functions to check for valid
3613         parameters and fix a bug in copy_stream_with_progress() that could've
3614         caused writing less bytes than reading.
3615         * gio/glocalfileinfo.c:
3616         Check for a NULL parameter and set the GError accordingly then.
3617         * gio/goutputstream.c:
3618         Fix the same bug as in gfile.c that could've caused writing less bytes
3619         than reading in g_output_stream_real_splice().
3620
3621 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
3622
3623         * gio/Makefile.am:
3624         Use the correct gvolumeprivate.h naming
3625
3626 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3627
3628         * gio/Makefile.am:
3629         Remove leftover "$(daemon_sources)" entry.
3630
3631 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3632
3633         * gio/fam/*.[ch]:
3634         * gio/*.[ch]:
3635         * programs/*.[ch]:
3636         Add copyright information to source files.
3637
3638 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3639
3640         * gio/gfile.[ch]:
3641         * gio/glocalfile.c:
3642         Add g_file_get_uri_scheme
3643
3644 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3645
3646         * gio/gappinfo.h:
3647         * gio/gdesktopappinfo.c:
3648         * gio/gwin32appinfo.c:
3649         Add g_app_info_get_default_for_uri_scheme.
3650
3651 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3652
3653         * gio/Makefile.am:
3654         Correct filename for gdriveprivate.h
3655
3656 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3657
3658         * gio/gfileinfo.h:
3659         Rename id:value to id:file
3660         Add id:fs
3661         
3662         * gio/glocalfileinfo.c:
3663         Implement id:fs
3664
3665 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3666
3667         * gio/gunixvolume.c:
3668         * gio/gvolume.[ch]:
3669         Remove g_volume_get_platform_id, as thats not
3670         needed with the simpler union volume monitor
3671
3672 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3673
3674         * gio/Makefile.am:
3675         * gio/guniondrive.[ch]: Removed.
3676         * gio/gunionvolume.[ch]: Removed.
3677         Remove GUnionDrive/Volume
3678
3679         * gio/gunionvolumemonitor.c:
3680         Simplify union volume monitor, now we
3681         only have one native volume monitor and
3682         we use the actual volumes/drives from the
3683         child monitors instead of wrapping them
3684
3685         * gio/gnativevolumemonitor.[ch]:
3686         Base class for native volume monitors.
3687         Includes priority and get_volume_for_mountpoint
3688         
3689         * gio/gfile.[ch]:
3690         Add g_file_find_enclosing_volume
3691
3692         * gio/gfileinfo.h:
3693         Remove volume name fs attribute
3694         Add readonly fs attribute
3695         
3696         * gio/glocalfile.c:
3697         Implement readonly attribute
3698         remove volume name attribute
3699         Implement find_enclosing volume
3700         
3701         * gio/gunixmounts.c:
3702         Add a volume for "/".
3703         
3704         * gio/gunixvolume.[ch]:
3705         Set better name for /
3706         
3707         * gio/gunixvolumemonitor.[ch]:
3708         Derive from GNativeVolumeMonitor
3709         Implement get_volume_for_mountpoint
3710         
3711         * gio/gvolume.h:
3712         GVolume typedef moved to gfile.h
3713         
3714         * gio/gvolumeprivate.h:
3715         Add g_volume_get_for_mount_path
3716
3717 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3718
3719         * gio/gunixmounts.[ch]:
3720         Add cache info to unix mount listers
3721         Make getmntent use threadsafe
3722         Add is_system_internal attribute for GUnixMount
3723         
3724         * gio/gunixvolume.c:
3725         (g_unix_volume_new):
3726         Use is_system_internal instead of own code
3727         
3728         * gio/glocaldirectorymonitor.c:
3729         * gio/gunixvolumemonitor.c:
3730         Update to new gunixmounts API
3731         
3732         * gio/glocalfile.c:
3733         Fix warning
3734
3735 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3736
3737         * gio/gfileinfo.h:
3738         Add volume name fsinfo attribute
3739         
3740         * gio/glocalfile.c:
3741         Read volume name info
3742         
3743         * gio/gunionvolumemonitor.c:
3744         Fix infinite loops when finalizing a union volume monitor
3745
3746 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3747
3748         * gio/goutputstream.[ch]:
3749         Add splice() with default implementation
3750         
3751         * gio/gsocketoutputstream.c:
3752         (g_socket_output_stream_write):
3753         Return error on cancellation correctly.
3754         
3755 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3756
3757         * gio/glocalfile.c (g_local_file_trash):
3758         Do not leak a string.
3759
3760 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3761
3762         * gio/gfile.c (g_file_load_contents):
3763         Unref the stream after closing it.
3764
3765 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3766
3767         * gio/gioscheduler.h:
3768         Fix include
3769
3770 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3771
3772         * gio/gfile.[ch]:
3773         * gio/glocalfile.c:
3774         Add g_file_has_uri_scheme and implement for local files
3775
3776 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
3777
3778         * gio/gdesktopappinfo.c: do not leak a string.
3779
3780 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3781
3782         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3783         (g_local_directory_monitor_new):
3784         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3785         (g_local_file_monitor_new):
3786         Only look for the monitor type that should be used the first time
3787         and use g_qsort_with_data() instead of our own bubble sort
3788         implementation.
3789
3790 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3791
3792         * gio/Makefile.am:
3793         * gio/fam/Makefile.am:
3794         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3795         * gio/fam/fam-helper.h:
3796         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3797         * gio/fam/gfamdirectorymonitor.c:
3798         * gio/fam/gfamdirectorymonitor.h:
3799         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3800         * gio/fam/gfamfilemonitor.h:
3801         * gio/glocaldirectorymonitor.c:
3802         * gio/glocaldirectorymonitor.h:
3803         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3804         * gio/glocalfilemonitor.h:
3805         * gio/inotify/Makefile.am:
3806         * gio/inotify/ginotifydirectorymonitor.c:
3807         * gio/inotify/ginotifydirectorymonitor.h:
3808         * gio/inotify/ginotifyfilemonitor.c:
3809         * gio/inotify/ginotifyfilemonitor.h:
3810         Implement the FAM and Inotify monitors as
3811         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3812         their own GIO module. GLocal(Directory|File)Monitor will use the
3813         monitor with the highest rank that is supported on that machine.
3814
3815 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
3816
3817         * gio/Makefile.am:
3818         Change GIO module dir to $(libdir)/gio/modules and change
3819         the log domain from GVFS to GIO. Also only export symbols starting
3820         with g_ in the resulting library.
3821         * gio/test-streams.c: (main):
3822         Set log handler for the GIO log domain.
3823
3824 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3825
3826         * gio/gfilenamecompleter.[ch]:
3827         Add g_filename_completer_set_dirs_only
3828
3829 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3830
3831         * gio/Makefile.am:
3832         * gio/gurifuncs.[ch]:
3833         Add some simple URI helpers
3834         
3835         * gio/gfilenamecompleter.[ch]:
3836         Added object for filename (parse name actually) completion
3837         
3838         * gio/glocalvfs.c:
3839         Handle ~ in parse names
3840
3841 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3842
3843         * gio/gfileinfo.h:
3844         * gio/glocalfileinfo.c:
3845         Add and implement id:value attribute
3846
3847 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3848
3849         * gio/gdrive.[ch]:
3850         * gio/guniondrive.c:
3851         * gio/gunixdrive.c:
3852         Add and implement g_drive_has_volumes
3853         
3854 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3855
3856         * gio/gfileinfo.h:
3857         * gio/glocalfileinfo.[ch]:
3858         Add unix:is_mountpoint and implement for local files
3859
3860 2007-10-16  Alexander Larsson  <alexl@redhat.com>
3861
3862         * gio/gunionvolumemonitor.c:
3863         (g_union_volume_monitor_init):
3864         Fix up the unix type getting so that it works with gcc
3865         
3866 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3867
3868         * gio/gfileinfo.h:
3869         * gio/glocalfileinfo.c:
3870         Add thumbnail:failed to file info
3871
3872 2007-10-12  Richard Hult  <richard@imendio.com>
3873
3874         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3875         optimizing away the get_type call (happens with some gcc versions,
3876         like the one shipped with OS X 10.4).
3877
3878 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3879
3880         * gio/glocalfileinfo.c:
3881         (_g_local_file_info_set_attribute):
3882         Fix build if not HAVE_XATTR
3883         Patch from Milosz Derezynski <internalerror@gmail.com>
3884
3885 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
3886
3887         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3888         around for review, otherwise I would have asked you before
3889         committing)
3890
3891 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3892
3893         * gio/gfileinfo.h:
3894         Add thumbnail:path attribute
3895         
3896         * gio/glocalfileinfo.c:
3897         Implement thumbnail:path for local files
3898
3899 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3900
3901         * gio/glocalfileinfo.c:
3902         (_g_local_file_info_get):
3903         Avoid duplicate icon names
3904
3905 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3906
3907         * gio/gthemedicon.[ch]:
3908         Change g_themed_icon_get_names return type to const
3909
3910 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3911
3912         * gio/glocalfileinfo.c:
3913         Don't reference freed memory
3914
3915 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3916
3917         * gio/gfileattribute.c:
3918         Handle objects
3919         
3920         * gio/glocalfileinfo.c:
3921         Return icon info
3922
3923 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3924
3925         * gio/gfileinfo.c:
3926         Check for NULL icons
3927
3928         * gio/gfileattribute.c:
3929         Don't dup when getting objects (same as for string attributes)
3930
3931         * gio/gicon.c (g_icon_equal):
3932         Safely handle NULLs in equal
3933
3934 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3935
3936         * gio/gfileinfo.h:
3937         Fix c++ compilation issues
3938         Patch from Milosz Derezynski <internalerror@gmail.com>
3939
3940 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3941
3942         * programs/gio-monitor-dir.c:
3943         Don't crash if dir monitor not supported.
3944
3945 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3946
3947         * gio/gioerror.h:
3948         Add missing G_END_DECLS
3949
3950 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3951
3952         * gio/gfile.c: (g_file_set_display_name),
3953         (g_file_query_settable_attributes),
3954         (g_file_query_writable_namespaces):
3955         Return NULL not FALSE on errors as the return type is a pointer.
3956
3957 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3958
3959         * gio/glocalfile.c: (g_local_file_monitor_file):
3960         Don't call monitor_file on the default interface vtable (which
3961         is NULL) but simply return NULL. The caller, GFile, will create a
3962         polling monitor if NULL is returned.
3963
3964 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3965
3966         * Makefile.am:
3967         * configure.ac:
3968         * gio-unix-2.0.pc.in:
3969         Add gio-unix-2.0.pc if OS_UNIX
3970         
3971         * gio/Makefile.am:
3972         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3973
3974 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3975
3976         * gio/gunixmounts.[ch]:
3977         Make unix mount monitoring API sane.
3978         Now its just a object with mounts_changed
3979         and mountpoints_changed signals.
3980         
3981         * gio/glocaldirectorymonitor.c:
3982         * gio/gunixvolumemonitor.c:
3983         Use new mount monitor api
3984
3985 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3986
3987         * gio/gunixmounts.[ch]:
3988         Move guess type into one call for mounts and one for mountpoints
3989         
3990         * gio/gunixdrive.c:
3991         * gio/gunixvolume.c:
3992         Update
3993
3994 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3995
3996         * gio/gunixmounts.[ch]:
3997         Remove _ prefix in preparation to make this semi-public
3998         Hide implementation of structs
3999         
4000         * gio/glocaldirectorymonitor.c:
4001         * gio/gunixdrive.c:
4002         * gio/gunixvolume.c:
4003         * gio/gunixvolumemonitor.c:
4004         Update for above API changes
4005
4006 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4007
4008         * gio/gfile.c:
4009         Better polling fallback. This also handles the case where we have
4010         a monitor_file implementation, but it fails.
4011
4012 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4013
4014         * gio/gfile.[ch]:
4015         * gio/glocalfile.c:
4016         * gio/gunixmounts.c:
4017         * programs/gio-monitor-dir.c:
4018         * programs/gio-monitor-file.c:
4019         Added cancellable to file monitoring calls.
4020         These are really sync calls and need this.
4021
4022 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4023
4024         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4025         (g_local_vfs_class_init):
4026         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4027         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4028
4029 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4030
4031         * gio/gdirectorymonitorprivate.h: 
4032         * gio/gfilemonitorprivate.h: 
4033         * gio/gdirectorymonitor.h:
4034         * gio/gfilemonitor.h:
4035         Remove *private.h and move to the public API, so that
4036         we can do implementations outside gio (such as in gvfs)
4037         
4038         * gio/gdirectorymonitor.c:
4039         * gio/gfilemonitor.c:
4040         * gio/glocaldirectorymonitor.c:
4041         * gio/gpollfilemonitor.c:
4042         * gio/inotify/inotify-helper.c:
4043         * gio/fam/fam-helper.c:
4044         Update to the new header names
4045
4046 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4047
4048         * gio/gdirectorymonitor.c:
4049         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4050         GTypes as abstract.
4051
4052 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4053
4054         * gio/glocalfileinfo.c (get_access_rights):
4055         Set CAN_TRASH when we can move the file.
4056         We should really also check for a parent trash dir.
4057
4058 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4059
4060         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4061         Add can_trash access attribute
4062
4063 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4064
4065         * gio/glocalfile.c:
4066         (g_local_file_trash):
4067         Create info file first. This is per-spec and allows
4068         us to actually trash directories.
4069
4070 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4071
4072         * gio/gdesktopappinfo.c:
4073         Implement the new mime support code.
4074         Always set app as handling mimetype when being set as default for it
4075
4076 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4077
4078         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4079         Fix up check for xattrs:
4080
4081 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4082
4083         * gio/gappinfo.c:
4084         (g_app_info_set_as_default_for_extension):
4085         (g_app_info_add_supports_type):
4086         (g_app_info_can_remove_supports_type):
4087         (g_app_info_remove_supports_type):
4088         Make these fail nicely if not implemented
4089
4090 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4091
4092         * gio/glocalfileoutputstream.c:
4093         * gio/glocalfileoutputstream.h:
4094         * gio/test-gio.c:
4095         * gio/gfile.c:
4096         * gio/gfile.h:
4097         * gio/glocalfile.c:
4098         * programs/gio-save.c: 
4099         Add a GFileCreateFlags argument to operations that can create
4100         a new file.
4101
4102 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4103
4104         * gio/gappinfo.[ch]:
4105         * gio/gdesktopappinfo.c:
4106         Add more (stubbed out) mime API needed for nautilus
4107
4108 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4109
4110         * gio/gappinfo.h:
4111         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4112         Add g_app_info_set_as_default_for_extension.
4113         
4114         * gio/gdesktopappinfo.c:
4115         Dummy for g_app_info_set_as_default_for_extension
4116         Support flags in g_app_info_create_from_commandline
4117
4118         * gio/gwin32appinfo.c:
4119         * gio/test-gio.c:
4120         Update for API changes
4121         
4122         * gio/gthemedicon.c:
4123         Properly NULL-terminate list of icon names
4124
4125 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4126
4127         * gio/gloadableicon.h:
4128         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4129
4130 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4131
4132         * gio/Makefile.am:
4133         Install headers in $includedir/gio-standalone/
4134         
4135         * gio-2.0.pc.in: Added.
4136         * gio-standalone.pc.in: Removed.
4137         * configure.ac:
4138         * Makefile.am:
4139         Renamed pkg-config file to match glib (for future move)
4140         Update to the new include dir
4141         
4142         * gio/gappinfo.h:
4143         Add more TODO comments
4144
4145 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4146
4147         * gio/gdesktopappinfo.[ch]:
4148         Expose new_from_filename
4149         Add getter for is_hidden and handle it better
4150
4151 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4152
4153         * gio/gfileinfo.[ch]:
4154         Rename g_file_size_format_for_display to
4155         g_format_file_size_for_display.
4156         Now it doesn't have the g_file prefix, so we
4157         can later move it to glib.
4158
4159 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4160
4161         * gio/gappinfo.[ch]:
4162         Add g_app_info_get_id and g_app_info_get_executable.
4163         Make all getters non-reffing
4164         Make g_app_info_launch take GFile arguments.
4165         Add must_support_uris argument to g_app_info_get_default_for_type.
4166         
4167         * gio/gwin32appinfo.c:
4168         Update to GAppInfo api changes
4169         
4170         * gio/gdesktopappinfo.c:
4171         Update to GAppInfo api changes
4172         Implement supports_xdg_startup_notify
4173         
4174         * gio/gfileicon.c (g_file_icon_get_file):
4175         Make getter non-reffing.
4176         
4177         * gio/test-gio.c:
4178         Update to new API
4179
4180 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4181
4182         * gio/gfileinfo.[ch]: 
4183         Add g_file_size_format_for_display helper
4184         
4185 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4186
4187         * gio/glocalfileinfo.c:
4188         Set UNIX_GID from gid, not from uid
4189
4190 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4191
4192         * gio/gfile.[ch]:
4193         Add g_file_set_attributes_async
4194
4195 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4196
4197         * gio/glocalfile.c (g_local_file_set_display_name):
4198         Fix set_display_name to actually rename to the right place.
4199         Use lstat to look for existing files so we don't overwrite
4200         broken links.
4201
4202 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4203
4204         * gio/gfile.[ch]:
4205         Add g_file_set_display_name_async()
4206
4207 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4208
4209         * gio/gfile.[ch]:
4210         Add load_partial_contents async calls
4211         
4212         * gio/glocalfile.c:
4213         Make internal function static
4214
4215 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4216
4217         * gio/glocalfileinfo.c:
4218         Correctly detect broken symlinks
4219
4220 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4221
4222         * gio/gcancellable.c (g_cancellable_cancel):
4223         Allow cancel on NULL cancellable
4224
4225 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4226
4227         * gio/gsimpleasyncresult.c:
4228         Don't allocate g_error manually.
4229         Fixes g_slice/g_new mixup crash
4230
4231 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4232
4233         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4234         Actually set active_backend.
4235         This means the monitor will be cancelled correctly.
4236
4237 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4238
4239         * gio/gdirectorymonitor.c:
4240         Set timeout to NULL when destroying
4241
4242 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4243
4244         * gio/gioerror.h:
4245         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4246         that is a better description of the error.
4247
4248 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
4249
4250         * gio/gvfs.c: (g_vfs_get_local):
4251         Make the local vfs variable static. The same instance should
4252         always be returned.
4253
4254 2007-09-24  Alexander Larsson  <alexl@redhat.com>
4255
4256         * gio/glocalfileinfo.c:
4257         Pass in actual length read into sniffer, not the length
4258         we tried to read.
4259
4260 2007-09-21  Alexander Larsson  <alexl@redhat.com>
4261
4262         * gio/gfileenumerator.c:
4263         * gio/gfileinfo.c:
4264         * gio/gfileinfo.h:
4265         * gio/gfileinputstream.c:
4266         * gio/gfileoutputstream.c:
4267         * gio/ginputstream.c:
4268         * gio/goutputstream.c:
4269         Don't crash if async callbacks are NULL
4270
4271 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4272
4273         * gio/gfile.[ch]:
4274         Add async enumerate_children method and default
4275         implementation
4276
4277 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4278
4279         * gio/gfile.[ch]
4280         Add g_file_contains_file & g_file_get_relative_path, since they
4281         were needed for nautilus.
4282         Renamed g_file_resolve_relative to g_file_resolve_relative_path
4283         to make it clearer.
4284         
4285         * gio/gdummyfile.c:
4286         * gio/glocalfile.c:
4287         Implement new methods
4288
4289 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4290
4291         * gio/gfile.[ch]:
4292         * gio/gfileinputstream.[ch]:
4293         * gio/gfileoutputstream.[ch]:
4294         * gio/glocalfile.c:
4295         * gio/glocalfileenumerator.[ch]:
4296         * gio/glocalfileinfo.[ch]:
4297         * gio/glocalfileinputstream.c:
4298         * gio/glocalfileoutputstream.c:
4299         * gio/gpollfilemonitor.c:
4300         * programs/gio-copy.c:
4301         * programs/gio-info.c:
4302         * programs/gio-move.c:
4303         Rename get_file_info to query_info() to make it clearer
4304         that these are not simple getters, but do i/o.
4305
4306 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4307
4308         * gio/gdatainputstream.[ch]:
4309         * gio/test-streams.c:
4310         Use _read_XXX instead of _get_XXX for the i/o calls
4311         in GDataInputStream
4312
4313 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4314
4315         * gio/gappinfo.h:
4316         Added needed stuff to TODO comment
4317
4318 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4319
4320         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4321         Don't error out removing the backup copy if it doesn't
4322         already exist.
4323
4324 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4325
4326         * programs/Makefile.am:
4327         * programs/gvfs-*.c: 
4328         * programs/gio-*.c:
4329         Renamed apps from gvfs-xxx to gio-xxx.
4330
4331 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4332
4333         * gio/gfile.c:
4334         * gio/gfileoutputstream.[ch]:
4335         * gio/glocalfileoutputstream.c:
4336         * programs/gvfs-save.c:
4337         g_file_output_stream_get_etag doesn't do i/o, so remove
4338         cancellation and error.
4339
4340 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4341
4342         * gio/gfile.[ch]:
4343         Add new_etag output to replace_contents functions
4344
4345 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4346
4347         * gio/gfileoutputstream.[ch]:
4348         Add async get_file_info and default implementation
4349
4350 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4351
4352         * gio/gfileinputstream.c:
4353         Implement fallback wrapper for async get_file_info
4354
4355 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4356
4357         * gio/gfile.[ch]:
4358         Add etag out argument to load_contents
4359         
4360         * gio/test-gio.c:
4361         Update to new API
4362
4363 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4364
4365         * gio/gcontenttype.c (looks_like_text):
4366         Whitespace like tab, cr and lf do not make the
4367         file binary.
4368
4369 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4370
4371         * gio/gfileinputstream.[ch]:
4372         Add async get_file_info.
4373
4374 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4375
4376         * gio/goutputstream.c (g_output_stream_write_all):
4377         Allow NULL for bytes_written
4378
4379 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4380
4381         * gio/gmemoryinputstream.[ch]:
4382         Add accessors for data
4383
4384 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4385
4386         * gio/gdatainputstream.c (g_data_input_stream_get_until):
4387         Don't crash if length is NULL
4388