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