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