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