"Initial commit to Gerrit"
[profile/ivi/libgsf.git] / ChangeLog
1 2011-05-20  Morten Welinder <terra@gnome.org>
2
3         * Release 1.14.21
4
5 2011-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6
7         * gsf/gsf-opendoc-utils.c (get_gsf_odf_version_string): bump to 1.2
8         (get_gsf_odf_version): bump to 1.2
9
10 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
11
12         * gsf/gsf-opendoc-utils.c (od_meta_user_defined): check for all ODF defined
13         value types and use the correct attribute name
14         (meta_write_props): use the correct attribute name
15
16 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
17
18         * gsf/gsf-opendoc-utils.c (od_meta_user_defined): initialize type
19         and name.
20
21 2011-05-02  Jean Brefort  <jean.brefort@normalesup.org>
22
23         * gsf/gsf-impl-utils.h: fix GSF_DYNAMIC_CLASS_FULL to make gcc-4.6 happy.
24
25 2011-04-05  Morten Welinder  <terra@gnome.org>
26
27         * Makefile.am: ${ACLOCAL_FLAGS}, not $(ACLOCAL_FLAGS) which seems
28         to matter to Gentoo.  Fixes #645777.
29
30 2011-03-28  Morten Welinder  <terra@gnome.org>
31
32         * configure.in: Implement --without-gconf (as opposed to looking
33         for gconftool-2.
34
35 2011-03-24  Morten Welinder <terra@gnome.org>
36
37         * Release 1.14.20
38
39 2011-03-24  Morten Welinder <terra@gnome.org>
40
41         * configure.in: Post-release bump.
42
43 2011-03-11  Morten Welinder  <terra@gnome.org>
44
45         * gsf/gsf-opendoc-utils.c (od_meta_user_defined_end): Create a
46         value of the requested type.
47         (od_meta_user_defined): Handle the meta:type attribute.
48         (GsfOOMetaIn): Add new member "typ".
49         (meta_write_props): Fix typo.
50
51 2010-12-17  Morten Welinder  <terra@gnome.org>
52
53         * tests/test-outmem-printf.c (test): Attempt a leak fix.
54
55 2010-11-10  Morten Welinder  <terra@gnome.org>
56
57         * gsf/gsf-msole-utils.c (msole_prop_parse): Handle NULL error
58         message without crashing.  [#634435]  Patch by Caolan McNamara.
59
60 2010-09-25  Morten Welinder <terra@gnome.org>
61
62         * configure.in: Post-release bump.
63
64 2010-09-25  Morten Welinder <terra@gnome.org>
65
66         * Release 1.14.19
67
68 2010-09-25  Morten Welinder  <terra@gnome.org>
69
70         * gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
71         elements in unknown namespaces.
72
73 2010-09-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
74
75         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add another one of OOo's
76         namespaces
77         * gsf/gsf-opendoc-utils.h: add new enum value to support above
78         name spaces)
79
80 2010-08-28  Morten Welinder  <terra@gnome.org>
81
82         * gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Don't use C89 argument
83         lists.
84
85         * gsf/gsf-output-bzip.c (gsf_output_bzip_close): Rework previous
86         change.  We do not want two prototypes.
87
88 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
89
90         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add some more of OOo's
91         namespaces
92         * gsf/gsf-opendoc-utils.h: add new enum values to support above
93         name spaces)
94         * gsf/gsf-output-bzip.c (gsf_output_bzip_close): quieten compile
95
96 2010-07-28  Morten Welinder  <terra@gnome.org>
97
98         * gsf/gsf-utils.c (gsf_debug_flag): New function.
99
100         * gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
101         missing namespace uris unless a debug flag is set.
102
103 2010-04-07  Morten Welinder <terra@gnome.org>
104
105         * configure.in: Post-release-bump.
106
107 2010-04-07  Morten Welinder <terra@gnome.org>
108
109         * Release 1.14.18
110
111 2010-04-06  Morten Welinder  <terra@gnome.org>
112
113         * gsf/gsf-outfile-zip.c (zip_header_write, zip_dirent_write): Use
114         dirent->flags for consistency.  Fixes #614968.
115         (zip_dirent_update_flags): New function.
116         (zip_dirent_new_out): Deduce dirent->flags.
117
118         * gsf/gsf-infile-zip.c (zip_dirent_new_in): Read dirent->flags.
119
120 2010-04-05  Morten Welinder  <terra@gnome.org>
121
122         * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Fix win32 warning about
123         format.
124
125 2010-02-13  Morten Welinder <terra@gnome.org>
126
127         * configure.in: Post-release-bump.
128
129 2010-02-13  Morten Welinder <terra@gnome.org>
130
131         * Release 1.14.17
132
133 2009-11-18  Morten Welinder  <terra@gnome.org>
134
135         * gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_foreach): Sort the
136         key-value pairs.
137
138 2009-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
139
140         * autogen.sh: allow dirs on PATH to have spaces withou causing warning
141
142 2009-10-29  Morten Welinder  <terra@gnome.org>
143
144         * gsf/gsf-libxml.c (gsf_xml_probe_element): Fix crash on documents
145         like <a:b xmlns:c="d://"/>
146
147 2009-10-11  Morten Welinder <terra@gnome.org>
148
149         * Release 1.14.16
150
151 2009-09-25  Morten Welinder  <terra@gnome.org>
152
153         * thumbnailer/main.c (call_convert): Use gdk_pixbuf if available.
154
155 2009-09-25  Morten Welinder  <mwelinder@gmail.com>
156
157         * configure.in (libgsf_gnome_reqs): Remove gnome-vfs stuff.
158         Fixes #593480
159
160 2009-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
161
162         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add variant of OO_NS_FIELD
163
164 2009-08-20  Morten Welinder  <terra@gnome.org>
165
166         * gsf/gsf-libxml.c (gsf_xml_in_start_element): Complain to stderr,
167         not stdout.  Fixes #592471.
168
169 2009-06-20  Morten Welinder  <terra@gnome.org>
170
171         * configure.in: Post-release-bump.
172
173 2009-06-20  Morten Welinder <terra@gnome.org>
174
175         * Release 1.14.15
176
177 2009-06-17  Morten Welinder  <terra@gnome.org>
178
179         * gsf/gsf-msole-utils.c (msole_prop_parse): Use gsf_timestamp_new
180         and gsf_timestamp_set_time.
181
182         * gsf/gsf-timestamp.c (gsf_timestamp_from_string): Improve error
183         checking.
184         (gsf_timestamp_set_time): New function.
185         (gsf_timestamp_new): New function.
186
187 2009-06-05  Morten Welinder  <terra@gnome.org>
188
189         * gsf/gsf-msole-utils.c (msole_prop_parse): If parsing fails,
190         don't return a bogus value.  Fixes #584848.
191
192 2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
193
194         * gsf/gsf-opendoc-utils.h (gsf_odf_version): deleted
195         (gsf_odf_version_string): deleted
196         (get_gsf_ooo_ns): new
197         (get_gsf_odf_version_string): new
198         (get_gsf_odf_version): new
199
200 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
201
202         * gsf/gsf-opendoc-utils.[ch]: replace GSF_ODF_VERSION with a variable
203
204 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
205
206         * gsf/gsf-opendoc-utils.[ch]: replace GSF_ODF_VERSION_STRING with the
207           varaible gsf_odf_version_string and turn GSF_ODF_VERSION into an
208           enum.
209
210 2009-05-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
211
212         * gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write): use
213           GSF_ODF_VERSION_STRING
214         * gsf-opendoc-utils.h (GSF_ODF_VERSION): new and bump to 1.1
215         (GSF_ODF_VERSION_STRING): new
216
217 2009-05-23  Morten Welinder  <terra@gnome.org>
218
219         * configure.in: Psot-release bump.
220
221 2009-05-23  Morten Welinder <terra@gnome.org>
222
223         * Release 1.14.14
224
225 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
226
227         * gsf/gsf-opendoc-utils.h: add namespace enumeration constant for
228           new OOo and Gnumeric namespaces
229         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces for OOo
230           and Gnumeric
231
232 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
233
234         * gsf/gsf-libxml.c (gsf_xml_out_start_element): remove erroneous
235           g_return_if_fail. Note that some part of the code specifically
236           handles that situation.
237         (close_tag_if_neccessary): If we are in GSF_XML_OUT_CHILD we need
238           not close the tag
239
240 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
241
242         * gsf/gsf-opendoc-utils.h: add namespace enumeration constant for
243           MSOXL
244         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add namespace for MSOXL
245
246 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
247
248         * gsf/gsf-opendoc-utils.c (gsf_opendoc_meta_dtd): scan meta's
249           children for more namespaces to handle CleverAge's files.
250
251 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
252
253         * gsf/gsf-opendoc-utils.h: add more new namespace enumeration
254           constants
255         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add more new namespaces
256
257 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
258
259         * gsf/gsf-opendoc-utils.h: add new namespace enumeration
260           constants
261         * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces
262
263 2009-05-06  Morten Welinder <terra@gnome.org>
264
265         * configure.in : post release bump
266
267 2009-05-06  Morten Welinder <terra@gnome.org>
268
269         * Release 1.14.13
270
271 2009-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
272
273         Fixes #581530
274         * gsf/gsf-opendoc-utils.c (gsf_opendoc_meta_dtd): split into
275           gsf_opendoc_meta_dtd and gsf_opendoc_meta_st_dtd
276         (gsf_opendoc_metadata_subtree_free): free the state not the doc
277         (gsf_opendoc_metadata_subtree): use your own dtd
278         (gsf_opendoc_metadata_subtree_internal): new
279
280 2009-04-28  Emmanuel Pacaud <emmanuel@gnome.org>
281
282         Add doap file.
283
284 2009-04-25  Morten Welinder <terra@gnome.org>
285
286         * configure.in : post release bump
287
288 2009-04-25  Morten Welinder <terra@gnome.org>
289
290         * Release 1.14.12
291
292 2009-04-25  Morten Welinder  <terra@gnome.org>
293
294         * gsf/gsf-input-memory.c (gsf_input_memory_new_clone): Fix
295         preconditions.  Always allocate at least one byte.  Avoid cast.
296         Fixes #580228.
297
298 2009-04-17  Morten Welinder  <terra@gnome.org>
299
300         * gsf/gsf-output.c (gsf_output_set_error): Fix allocation method
301         problem for errors.  Fixes #579155.
302
303 2009-04-15  Morten Welinder  <terra@gnome.org>
304
305         * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Fix a
306         couple of warnings.
307
308 2009-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
309
310         * gsf/gsf-opendoc-utils.c (GsfOOMetaIn): added field
311         (od_meta_user_defined): implement
312         (od_meta_user_defined_end): new
313         (gsf_opendoc_meta_dtd): handle "user-defined" completely
314         (gsf_opendoc_metadata_read): initialize state.name
315
316 2009-04-11  Jody Goldberg <jody@gnome.org>
317
318         * gsf/gsf-libxml.c (lookup_child) : handle namespace uri being
319           declared as both default and explict prefix.
320
321 2009-02-07  Morten Welinder  <terra@gnome.org>
322
323         * configure.in (bonobo): auto-detect.
324
325 2009-02-19  Jody Goldberg <jody@gnome.org>
326
327         * gsf/gsf.h : document the members of timestamp to avoid gtk-doc
328           warnings.
329
330         * gsf/gsf-timestamp.c (gsf_timestamp_from_string) : renamed from.
331         (gsf_timestamp_parse) : here, and this is deprecated.
332
333 2009-02-18  Jody Goldberg <jody@gnome.org>
334
335         * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child) : Handle
336           small-block files that are not block aligned. [#572290]
337
338 2009-02-04  Morten Welinder  <terra@gnome.org>
339
340         * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Drop characters that
341         xml 1.0 cannot represent.  Bandaids #568919.
342
343 2009-01-30  J.H.M. Dassen (Ray) <jdassen@debian.org>
344
345         * gsf/gsf-output-csv.c (gsf_output_csv_quoting_mode_get_type):
346         Declare "values" as static, as the second argument to
347         g_enum_register_static may not be stack-allocated, because GObject
348         keeps a reference to the data. This fixes a problem generating the
349         documentation in some environments; see
350         http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39015 .
351
352 2009-01-26  Morten Welinder  <terra@gnome.org>
353
354         * gsf/gsf-libxml.c (gsf_xml_in_characters): Handle the case where
355         we get here without being initialized.  See 568994.
356         (gsf_xml_in_end_document): Mark ourselves uninitialized here.
357
358 2009-01-06  Jody Goldberg <jody@gnome.org>
359
360         * configure.in : post release bump
361
362 2009-01-06  Jody Goldberg <jody@gnome.org>
363
364         * Release 1.14.11
365
366 2009-01-02  Jody Goldberg <jody@gnome.org>
367
368         * gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel) : clean up the
369           logic to handle rels with empty components, leading '/', or '.'
370           to deal with POI generated files.
371
372 2008-12-25  Morten Welinder  <terra@gnome.org>
373
374         * configure.in (statfs): Fix detection for Darwin.  Fixes #565603.
375
376         * gsf-gnome/gsf-input-gnomevfs.h, gsf-gnome/gsf-output-gnomevfs.h:
377         Fix compilation in gnome case.  Fixes #565605.
378
379 2008-12-24  Morten Welinder  <terra@gnome.org>
380
381         * gsf/gsf-input-gio.c (make_local_copy): Use larger buffer.
382         (gsf_input_gio_new, gsf_input_gio_new_for_path,
383         gsf_input_gio_new_for_uri): Use g_return_val_if_fail as
384         appropriate.
385
386         * gsf/gsf-input-stdio.c (make_local_copy): New function.
387         (gsf_input_stdio_new, gsf_input_stdio_new_FILE): Use
388         make_local_copy for non-regular files.
389
390 2008-12-14  Morten Welinder  <terra@gnome.org>
391
392         * */*.c: Clean up glib includes.  Patch from Pedro Fragoso.  Fixes
393         #564004.
394
395 2008-11-23  Jody Goldberg <jody@gnome.org>
396
397         * gsf/gsf-utils.c (DllMain): glib-2.18 deprecated
398           G_WIN32_DLLMAIN_FOR_DLL_NAME, create a DllMain ourselves to
399           capture the dll handle.
400         (gsf_init): use it here with
401         g_win32_get_package_installation_directory_of_module.
402
403         * configure.in : add MSGs for the preceding bz2 test.
404
405 2008-11-23  Jody Goldberg <jody@gnome.org>
406
407         From : Richard W.M. Jones <rjones@redhat.com>
408         * configure.in : AC_CHECK_LIB doesn't work with the Windows port
409         of libbz2 because dnl it uses the __stdcall calling convention.
410
411 2008-11-08  Morten Welinder  <terra@gnome.org>
412
413         * gsf/gsf-output-bzip.c: Pretend to use args in the
414         don't-have-bzip case.
415         * gsf/gsf-intput-bzip.c: Pretend to use args in the
416         don't-have-bzip case.
417
418 2008-11-05  Morten Welinder  <terra@gnome.org>
419
420         * */*.c: Fix problem with formats.  Based on patch from Hib Eris,
421         #559291.
422
423 2008-10-30  Morten Welinder  <terra@gnome.org>
424
425         * gsf/gsf-output-stdio.c (rename_wrapper): Only use statfs if it
426         is the expected two-argument kind.  Fixes #558253.
427
428 2008-10-23  J.H.M. Dassen (Ray) <jdassen@debian.org>
429
430         * gsf/gsf-utils.c: Natural endian doubles aren't just used on VFP
431         enabled ARM, but on ARM with EABI as well. Adjust the logic for
432         defining G_FLOAT_BYTE_ORDER accordingly. Patch courtesy of Riku Voipio
433         <riku.voipio@iki.fi>. (Debian #503144)
434
435 2008-10-19  Jody Goldberg <jody@gnome.org>
436
437         * Release 1.14.10
438
439 2008-10-17  Andreas J. Guelzow  <aguelzow@pyrshep.ca>
440
441         * gsf-gnome/gsf-input-gnomevfs.h: add #define if
442           LIBGSF_GNOMEVFS_VIA_GIO is defined
443
444 2008-10-17  Morten Welinder  <terra@gnome.org>
445
446         * gsf-gnome/Makefile.am: Don't compile the gnomevfs part unless
447         asked to.
448
449 2008-10-16  Morten Welinder  <terra@gnome.org>
450
451         * configure.in: Define LIBGSF_GNOMEVFS_VIA_GIO via command line,
452         if needed.
453         * gsf-gnome/gsf-output-gnomevfs.h: Don't include config file.  Get
454         LIBGSF_GNOMEVFS_VIA_GIO from command line.
455         * gsf-gnome/gsf-input-gnomevfs.h: Ditto.
456
457 2008-10-05  Morten Welinder  <terra@gnome.org>
458
459         * gsf/gsf-infile-msole.c (ole_info_read_metabat): Use g_warning,
460         not g_return_val_if_fail.  Fixes #554848.
461
462 2008-09-28  Morten Welinder  <terra@gnome.org>
463
464         * tools/gsf.c (ls_R): Handle NULL children.  Fixes #553861.
465
466 2008-09-24  Morten Welinder  <terra@gnome.org>
467
468         * gsf/gsf-infile-tar.c (unpack_octal): Add error check. Fixes
469         #553655.
470
471         * tools/gsf.c (open_archive): Also try tar file format.
472
473         * gsf/gsf-infile-tar.[ch]: New files.
474
475 2008-09-14  Gil Forcada  <gforcada@gnome.org>
476
477         * configure.in:
478         * po/LINGUAS:
479         Added support for po/LINGUAS file, closing #551577.
480
481 2008-09-12  Jody Goldberg <jody@gnome.org>
482
483         * gsf/gsf-msole-utils.c (gsf_msole_iconv_get_codepage_string_list) :
484           We intentionally fallthrough to the next case.
485
486 2008-09-11  Jody Goldberg <jody@gnome.org>
487
488         * gsf/gsf-msole-utils.c (msole_prop_read) : local variable shadowed a
489           poorly named parameter.  It wasn't a bug, but it can't hurt to fix
490           it. [Coverity #189]
491
492 2008-09-10  Jody Goldberg <jody@gnome.org>
493
494         * gsf/gsf-output.c (gsf_output_real_vprintf) : add va_end after the
495           G_VA_COPY. [Coverity #250]
496         * gsf/gsf-output-memory.c (gsf_output_memory_vprintf) : ditto.
497           [Coverity #251]
498
499 2008-09-03  Morten Welinder  <terra@gnome.org>
500
501         * gsf/gsf-output-stdio.c (rename_wrapper): Work around sshfs
502         brokenness.  Fixes #509883.
503
504 2008-08-30  Jody Goldberg <jody@gnome.org>
505
506         * configure.in : Post release bump
507
508 2008-08-29  Jody Goldberg <jody@gnome.org>
509
510         * Release 1.14.9
511
512 2008-08-28  Morten Welinder  <terra@gnome.org>
513
514         * configure.in (GNOMEVFS_REQ, BONOBO_REQ): Define as needed.
515         * libgsf-gnome-1.pc.in: Use the above.
516
517 2008-08-28  Jody Goldberg <jody@gnome.org>
518
519         * gsf/gsf-libxml.c (gsf_xml_in_doc_add_nodes) : new, split from
520           gsf_xml_in_doc_new to facilitate splitting node sets so that they
521           can be used in multiple situations.
522
523 2008-08-24  Jody Goldberg <jody@gnome.org>
524
525         * gsf/gsf-infile-msvba.c (gsf_input_find_vba) : move this here from
526           tools/gsf-vba-dump.
527         (gsf_infile_msvba_get_modules) : new.
528         (vba_extract_module_source) : store the code rather than dumping it to stdout.
529
530         * tools/gsf-vba-dump.c (test) : use the new utilities.
531         (cb_dump_vba) : do the dumping here.
532
533 2008-07-28  Hubert Figuiere  <hfiguiere@novell.com>
534
535         * thumbnailer/gsf-office-thumbnailer.schemas.in:
536         * thumbnailer/main.c (zip_thumbnail): Add support for OpenPkg
537         (MS Office Open XML) thumbnailing.
538
539 2008-07-19  Jody Goldberg <jody@gnome.org>
540
541         * gsf/gsf-open-pkg-utils.c : Some components do not have relations.
542           Do not generate a warning. e.g. foreach_rel in an empty sheet.
543
544 2008-07-18  Dominic Lachowicz <domlachowicz@gmail.com>
545
546         * gsf/gsf-input-gio.c (gsf_input_gio_new): Don't leak @input if
547         we're going to make a local copy of the requested file
548
549 2008-07-02  Morten Welinder  <terra@gnome.org>
550
551         * gsf-gnome/gsf-output-gnomevfs.c: Use gio, not gnomevfs, when
552         LIBGSF_GNOMEVFS_VIA_GIO is defined.
553
554         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new,
555         gsf_input_gnomevfs_new_uri): Call gsf_input_gio_new_for_uri, not
556         gsf_input_gio_new_for_path.
557
558 2008-07-01  Jody Goldberg <jody@gnome.org>
559
560         * gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel) : make public.
561         (gsf_open_pkg_foreach_rel) : new.
562
563 2008-06-30  Jody Goldberg <jody@gnome.org>
564
565         * gsf/gsf-infile.c (gsf_infile_child_by_aname) : new.
566         (gsf_infile_child_by_vaname) : new.
567
568 2008-06-13  Jody Goldberg <jody@gnome.org>
569
570         * tests/test-msole1.c :
571         * tests/test-http.c :
572         * tests/test-zip1.c :
573         * tests/test-gzip1.c :
574         * tests/test-gzip2.c :
575         * tests/test-bzip.c :
576         * tests/test-msvba.c : Clear error after use in preparation for the
577           next file.
578
579 2008-06-08  Kjartan Maraas  <kmaraas@gnome.org>
580
581         * configure.in: Add nb to ALL_LINGUAS.
582
583 2008-05-20  Tor Lillqvist  <tml@novell.com>
584
585         * libgsf-zip.in: Message catalogs nowadays end up in share/locale
586         as they should, not lib/locale.
587
588 2008-05-04  Jody Goldberg <jody@gnome.org>
589
590         * tools/gsf-vba-dump.c (test) : support MS OOX.
591
592 2008-04-13  Morten Welinder  <terra@gnome.org>
593
594         * gsf/gsf-utils.c (gsf_init): Run-time test for gsf_le_get_double.
595         Might save __arm__ people some head scratching.
596
597 2008-04-09  Morten Welinder  <terra@gnome.org>
598
599         * configure.in: Reorganize gnome-vfs/bonobo checks.
600
601         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
602         Prepare for making this a simple wrapper over gio.
603
604         * gsf/gsf-utils.c (gsf_base64_decode_step): Use
605         g_base64_decode_step when available.
606         (gsf_base64_encode_step): Use g_base64_encode_step when available.
607         (gsf_base64_encode_close): Use g_base64_encode_close when available.
608
609 2008-03-17  Dominic Lachowicz <domlachowicz@gmail.com>
610
611         * tests/Makefile.am: libgsf-gio-1.la doesn't exist any more
612
613 2008-03-17  J.H.M. Dassen (Ray) <jdassen@debian.org>
614
615         * libgsf-gio-1.pc.in: No longer needed.
616         * configure.in, Makefile: Drop references to it.
617
618 2008-03-16  Morten Welinder  <terra@gnome.org>
619
620         * gsf/Makefile.am: Don't install gio support in its own library.
621
622 2008-03-06  J.H.M. Dassen (Ray) <jdassen@debian.org>
623
624         * doc/gsf-vba-dump.1: New.
625
626 2008-03-14  Dominic Lachowicz <domlachowicz@gmail.com>
627
628         * libgsf-gio-1.pc.in:
629         * tests/test-gio.c:
630         * tests/test-gvfs.c:
631         * tests/Makefile.am:
632         * gsf/gsf-output-gio.h:
633         * gsf/Makefile.am:
634         * gsf/gsf-input-gio.c:
635         * gsf/gsf-output-gio.c:
636         * gsf/gsf-input-gio.h:
637         * gsf-gvfs:
638         * configure.in:
639         * Makefile.am:
640         * libgsf-gvfs-1.pc.in: Migrate names from "gvfs" to "gio";
641         move GIO code to gsf/ and get rid of gsf-gvfs/
642
643 2008-03-14  Dominic Lachowicz <domlachowicz@gmail.com>
644
645         * gsf-gvfs/gsf-input-gvfs.c:
646         * gsf-gvfs/gsf-output-gvfs.c: g_file_new() functions cannot fail
647
648 2008-03-14  Dominic Lachowicz <domlachowicz@gmail.com>
649
650         * tests/Makefile.am:
651         * gsf-gvfs/gsf-input-gvfs.c:
652         * gsf-gvfs/gsf-output-gvfs.c:
653         * gsf-gvfs/gsf-input-gvfs.h:
654         * gsf-gvfs/gsf-output-gvfs.h:
655         * gsf-gvfs/Makefile.am:
656         * configure.in:
657         * Makefile.am: Update GIO backend to use glib 2.16's API
658
659 2008-03-06  J.H.M. Dassen (Ray) <jdassen@debian.org>
660
661         * doc/gsf.1: Fixed typo in font setting.
662         * doc/gsf-office-thumbnailer.1, doc/gsf.1: Define .URL macro when not
663         already defined by the man implementation and use it for hyperlinks.
664
665 2008-03-05  Morten Welinder  <terra@gnome.org>
666
667         * configure.in: Post release bump.
668
669 2008-03-05  Morten Welinder <terra@gnome.org>
670
671         * Release 1.14.8
672
673 2008-02-07  Morten Welinder  <terra@gnome.org>
674
675         * gsf/gsf-infile-msole.c (ole_dirent_new): Add new argument to
676         keep track of what entries we have seen before.  All callers
677         changed.  Check for loops.  Handle overflow in block computation.
678         Fixes #513831.
679         (ole_init_info): Sanity check num_sbat too.
680
681 2007-12-07  Jody Goldberg <jody@gnome.org>
682         * gsf/gsf-infile-msole.c (ole_make_bat) : be more forgiving of
683           failure.  We do not need to abort completely on a cycle, just
684           truncate.
685
686 2007-11-22  Jody Goldberg <jody@gnome.org>
687
688         * gsf/gsf-libxml.c (gsf_xml_out_add_enum) : ref/unref the type class.
689           Peek does not seem sufficient to fully instantiate it.
690
691 2007-11-10  Morten Welinder  <terra@gnome.org>
692
693         * tools/gsf.c (gsf_dump_props): Let 'gsf listprops archive' print
694         a list of properties.
695         (gsf_list_props): New function.
696         (gsf_help): Update accordingly.
697
698         * gsf/gsf-msole-utils.c (msole_debug): New function.
699         (msole_prop_parse): Use msole_debug so we don't print scale
700         messages unless we want to.
701
702 2007-11-02  Morten Welinder  <terra@gnome.org>
703
704         * gsf/gsf-output-csv.c (gsf_output_csv_set_sink): Allow setting a
705         NULL sink.
706
707 2007-10-29  Morten Welinder  <terra@gnome.org>
708
709         * gsf/gsf-input-http.c (gsf_input_http_finalize): Let g_free
710         handle NULL.
711
712         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize): Let
713         g_slist_free handle empty lists too.
714
715 2007-10-27  Morten Welinder  <terra@gnome.org>
716
717         * gsf/gsf-msole-utils.c (msole_prop_parse): Improve sanity
718         checks.  [#404934]
719
720 2007-10-27  Jody Goldberg <jody@gnome.org>
721
722         * gsf-win32/Makefile.am : Only install headers on win32. [#459771]
723
724 2007-10-27  Jody Goldberg <jody@gnome.org>
725
726         * gsf/gsf-opendoc-utils.c : Add
727             urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
728
729 2007-10-15  Morten Welinder  <terra@gnome.org>
730
731         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Sanity check
732         sections without hitting g_return_val_if_fail.  Probably fixes
733         #485964.
734
735 2007-09-25  Jody Goldberg <jody@gnome.org>
736
737         * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child) : use it for
738           standard children too.
739
740 2007-09-19  Dom Lachowicz <domlachowicz@gmail.com>
741
742         * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child): Pass the va_list
743         to the child
744
745 2007-09-07  Jody Goldberg <jody@gnome.org>
746
747         * configure.in : post release bump
748
749 2007-09-07  Jody Goldberg <jody@gnome.org>
750
751         * Release 1.14.7
752
753 2007-09-07  Jody Goldberg <jody@gnome.org>
754
755         * gsf/gsf-libxml.c (gsf_xml_out_start_element) : Good grief.
756           Overzealous renaming breaks all xml output.
757
758 2007-09-04  Jody Goldberg <jody@gnome.org>
759
760         * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_add_extern_rel) : add
761           some docs.
762
763         * gsf/gsf-libxml.c : s/xml/xout/ to placate gtk-doc.
764
765 2007-09-03  Jody Goldberg <jody@gnome.org>
766
767         * configure.in : post release bump
768
769 2007-09-03  Jody Goldberg <jody@gnome.org>
770
771         * Release 1.14.6
772
773 2007-08-30  Jody Goldberg <jody@gnome.org>
774
775         * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_relate) : handle
776           relative paths better.
777         (open_pkg_rel_begin) : init rel::is_extern.
778         (open_pkg_rel_begin) : parse and store TargetMode as is_extern.
779         (gsf_open_pkg_rel_is_extern) : new.
780         (gsf_open_pkg_rel_get_target) : new.
781         (gsf_open_pkg_rel_get_type) : new.
782         (gsf_open_pkg_lookup_rel_by_type) : new.
783         (gsf_open_pkg_lookup_rel_by_id) : new.
784         (gsf_open_pkg_open_rel_by_id) : renamed from ...
785         (gsf_open_pkg_get_rel_by_id) : which was deprecated because the name
786           was unclear.
787         (gsf_open_pkg_open_rel_by_type) : renamed from ...
788         (gsf_open_pkg_get_rel_by_type) : which was deprecated because the name
789           was unclear.
790         (GsfOutfileOpenPkgRel) : delete.
791         (gsf_outfile_open_pkg_close) : use straight GsfOpenPkgRel and export
792           the TargetMode for is_extern.
793         (gsf_outfile_open_pkg_create_rel) : new.
794         (gsf_outfile_open_pkg_add_extern_rel) : new.
795
796         * gsf/gsf-libxml.c (gsf_xml_out_get_output) : new.
797
798 2007-07-29  J.H.M. Dassen (Ray) <jdassen@debian.org>
799
800         * configure.in: Resync ALL_LINGUAS with po files.
801
802 2007-07-24  Jody Goldberg <jody@gnome.org>
803
804         From coverity
805         * gsf/gsf-msole-utils.c (cb_write_dict) : fix buffer overrun that
806           would overwrite a variable with itself +1
807
808 2007-07-22  Jody Goldberg <jody@gnome.org>
809
810         * gsf/gsf-input-memory.c (gsf_input_memory_new_clone) : add some
811           safety checks against invalid parameters.
812
813 2007-07-20  Dom Lachowicz <domlachowicz@gmail.com>
814
815         * gsf-gvfs/gsf-input-gvfs.c: Make a local copy of the stream if it's not
816         seekable
817         * gsf-gvfs/gsf-output-gvfs.c: Use replace() instead of create() when creating
818         streams. create() won't overwrite an existing file. Document limitations
819         regarding seeking.
820
821 2007-07-14  Jean Brefort  <jean.brefort@normalesup.org>
822
823         * configure.in: always initialize have_gvfs.
824
825 2007-07-12  Dom Lachowicz <domlachowicz@gmail.com>
826
827         * gsf-gvfs/gsf-input-gvfs.c:
828         * gsf-gvfs/gsf-input-gvfs.h:
829         * gsf-gvfs/gsf-output-gvfs.c:
830         * gsf-gvfs/gsf-output-gvfs.h:
831         * gsf-gvfs/Makefile.am:
832         * libgsf-gvfs-1.pc.in:
833         * Makefile.am:
834         * configure.in: New GVFS-based backend
835
836         * tests/test-gvfs.c:
837         * tests/Makefile.am: Small test harness for the new GVFS-based backend
838
839 2007-07-10  Jody Goldberg <jody@gnome.org>
840
841         * configure.in : post release bump
842
843 2007-07-10  Jody Goldberg <jody@gnome.org>
844
845         * Release 1.14.5
846
847 2007-07-05  Jody Goldberg <jody@gnome.org>
848
849         * python/gsfmodule.c : warning suppression.
850
851 2007-06-30  Jody Goldberg <jody@gnome.org>
852
853         * gsf/gsf-output-csv.c (gsf_output_csv_quoting_mode_get_type) : missed
854           converting this back from a dynamic type.
855
856 2007-06-30  Jody Goldberg <jody@gnome.org>
857
858         * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_set_sink) : fix a doc
859           build error.
860
861 2007-06-30  Jody Goldberg <jody@gnome.org>
862
863         * configure.in : fix --without-bonobo case in the --without-gnome
864           case. [#4488842]
865
866 2007-06-30  Jody Goldberg <jody@gnome.org>
867
868         * thumbnailer/Makefile.am : Work even if gconf macros are not
869           installed.
870         * configure.in : ditto.
871
872 2007-06-30  Jody Goldberg <jody@gnome.org>
873
874         * *.[ch]  (*register_type) : back out the move to dynamic types.
875           They have significant problems with threads.  [#450722]
876           Which also patches a compilation glitch on windows.  [#449807]
877
878 2007-06-19  J.H.M. Dassen (Ray) <jdassen@debian.org>
879
880         * doc/Makefile.am: Add gsf.1 to manpage_DATA.
881
882 2007-06-18  Jody Goldberg <jody@gnome.org>
883
884         * configure.in : post release bump.
885
886 2007-06-18  Jody Goldberg <jody@gnome.org>
887
888         * Release 1.14.4
889
890 2007-06-13  Jody Goldberg <jody@gnome.org>
891
892         * gsf/gsf-impl-utils.h (GSF_PARAM_STATIC) : deprecate in favour of
893           glib's G_PARAM_STATIC_STRINGS.
894         (GSF_DYNAMIC_CLASS_FULL) : No need to add a reloc by making the type
895           info static.
896         (GSF_DYNAMIC_INTERFACE_FULL) : ditto.
897
898 2007-06-11  Morten Welinder  <terra@gnome.org>
899
900         * gsf/gsf-input-gzip.c (GsfInputGZip): Use gsf_off_t for
901         header_size and trailer_size to kill warnings.
902
903         * gsf/gsf-input.c (gsf_input_read): Fix warning.
904
905         * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_read): Fix printf
906         size mismatch.
907
908 2007-06-10  Jody Goldberg <jody@gnome.org>
909
910         * gsf/gsf-open-pkg-utils.c : Move over from gnumeric.
911         * po/POTFILES.in : Add the new code.
912
913 2007-06-10  Jody Goldberg <jody@gnome.org>
914
915         * configure.in : Add a test for setrlimit.
916         * thumbnailer/main.c : use it here, just in case.
917
918 2006-12-21  Federico Mena Quintero  <federico@novell.com>
919
920         https://bugzilla.novell.com/show_bug.cgi?id=229609 - Limit the
921         resource consumption of the helper process in gsf-office-thumbnailer.
922
923         * thumbnailer/main.c (set_resource_limits): New function.  We use
924         setrlimit() to put a cap on how much resources the helper process
925         can use, as convert(1) is known to leak tons of memory and CPU on
926         certain WMF files.
927         (main): Call set_resource_limits().
928
929 2007-06-10  Jody Goldberg <jody@gnome.org>
930
931         * doc/gsf-sections.txt : Add the dynamic _register_type functions, and
932           the new nano-http class.
933
934 2007-06-10  Jody Goldberg <jody@gnome.org>
935
936         * gsf/gsf-utils.c (gsf_init_dynamic) : register the new input type.
937
938         From :  Michael Lawrence [#362373]
939         * gsf/gsf-input-http.[ch] : provide a nano-http (from libxml2)
940           input wrapper.
941         * tests/test-http.c : add.
942
943 2007-06-10  Jody Goldberg <jody@gnome.org>
944
945         From : Eduardo Limo [#442205]
946         * configure.in : Make bonobo support optional, but enabled by default.
947         * gsf-gnome/Makefile.am : Use the new configure flag here.
948
949 2007-06-10  Jody Goldberg <jody@gnome.org>
950
951         * m4/Makefile.am : new.
952         * configure.in : Add it.
953         * Makefile.am : handle m4 as a subdir rather than in EXTRA_DIST to
954           avoid distcheck failure.
955
956 2007-04-08  J.H.M. Dassen (Ray) <jdassen@debian.org>
957
958         * doc/gsf.1: New.
959         * gsf/gsf-meta-names.h, gsf/gsf.h, gsf/gsf-impl-utils.h,
960         gsf/gsf-utils.h: Documentation work.
961
962 2007-02-16  Jody Goldberg <jody@gnome.org>
963
964         * tests/test-cp-zip.c (clone) : make more resistant to read failures.
965
966 2007-01-23  Morten Welinder  <terra@gnome.org>
967
968         * configure.in (pygtk): Show result.
969
970 2007-01-13  J.H.M. Dassen (Ray) <jdassen@debian.org>
971
972         * configure.in: Adjusted pkg-config requirements to reflect that
973         libgsf-gnome doesn't need libxml-2.0.
974
975 2007-01-10  Morten Welinder  <terra@gnome.org>
976
977         * gsf/gsf-libxml.c (push_child, gsf_xml_in_end_element): Handle
978         nested contents.
979
980 2006-12-17  Jody Goldberg <jody@gnome.org>
981
982         * gsf/gsf-input-bzip.c : include gsf-input-impl.h
983           to suppress warning.
984
985 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
986
987         * gsf/gsf-input-bzip.c: Set input name
988         * gsf/gsf-input-gzip.c: Ditto
989         * gsf/gsf-input-proxy.c: Ditto
990         * gsf/gsf-input-textline.c: Ditto
991
992 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
993
994         * gsf/gsf-input-textline.c (gsf_input_textline_new): Set the input's
995         size based on its source sink's size.
996
997 2006-12-10  Jody Goldberg <jody@gnome.org>
998
999         Begin merging patch from Danny Milosavljevic (danny.milo@gmx.net)
1000         * gsf/gsf-blob.c (gsf_blob_get_size) : constify.
1001         (gsf_blob_peek_data) : constify.
1002
1003 2006-12-09  J.H.M. Dassen (Ray) <jdassen@debian.org>
1004
1005         * gsf/gsf-output.h: Annotate GsfOutputClass.Vprintf with a format
1006         attribute.
1007
1008 2006-12-06  Morten Welinder  <terra@gnome.org>
1009
1010         * gsf/gsf-utils.c (gsf_mem_dump_full): Cleanup.  (Avoid boundary
1011         case problems and print line-by-line.)
1012
1013         * gsf/gsf-output.c (gsf_output_real_vprintf): Do not reuse a
1014         va_list argument.  That does not work.
1015
1016 2006-12-04  Morten Welinder  <terra@gnome.org>
1017
1018         * thumbnailer/main.c: Use g_printerr, not fprintf.  That fixes
1019         output in non-UTF8 locales.
1020
1021         * configure.in (libgsf_reqs): Bump glib req to 2.8 for g_try_new.
1022
1023         * gsf/gsf-infile-msole.c (ole_init_info): Use g_try_new, not
1024         g_alloca.  (And g_free the memory after use.)  Fixes #381600.
1025
1026         * gsf/gsf-output-csv.c (gsf_output_csv_write_field): Quote on
1027         initial or terminal whitespace, see bug #359348.
1028
1029 2006-12-02  Morten Welinder  <terra@gnome.org>
1030
1031         * gsf/gsf-infile-msole.c (ole_info_read_metabat): Advance bats in
1032         the empty case too.  Fixes #381588.
1033
1034 2006-12-01  Christian Neumair  <chris@gnome-de.org>
1035
1036         * gsf/gsf-libxml.c: (gsf_xml_gvalue_from_str):
1037         Handle types derived from G_TYPE_ENUM and G_TYPE_FLAGS correctly.
1038         Bail if type was not handled.
1039
1040 2006-11-20  Morten Welinder  <terra@gnome.org>
1041
1042         * gsf/gsf-libxml.c (gsf_xml_out_add_gvalue): Plug leak.
1043
1044 2006-11-20  Jody Goldberg <jody@gnome.org>
1045
1046         * doc/gsf-docs.sgml : Add some missing indicies.
1047         * doc/Makefile.am : init with gsf_init
1048
1049 2006-11-17  Jody Goldberg <jody@gnome.org>
1050
1051         * gsf/*.[ch] : update copyrights
1052
1053 2006-11-17  Jody Goldberg <jody@gnome.org>
1054
1055         * gsf/*.[ch] : Make GTypes dynamic and enable gsf_init_dynamic
1056
1057 2006-11-10  Jody Goldberg <jody@gnome.org>
1058
1059         * tools/gsf-vba-dump.c : Handle vba in .doc too.
1060           PPT is going to be more work.  It seems to be embedded in the escher
1061           stream as a compressed data blob.
1062
1063 2006-11-09  Tor Lillqvist  <tml@novell.com>
1064
1065         * libgsf-zip.in: Fix typo.
1066
1067 2006-11-05  Jody Goldberg <jody@gnome.org>
1068
1069         * configure.in : post release bump
1070
1071 2006-11-05  Jody Goldberg <jody@gnome.org>
1072
1073         * Release 1.14.3
1074
1075 2006-11-03  Jody Goldberg <jody@gnome.org>
1076
1077         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : add some debug
1078           spew to help track the OOo prop warnings.  Looks like an OOo
1079           problem.
1080
1081 2006-11-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
1082
1083         * gsf/gsf-doc-meta-data.c (gsf_doc_prop_free), gsf/gsf-infile-ar.c
1084         (ar_dirent_free), gsf/gsf-infile-msole.c (gsf_infile_msole_read),
1085         gsf/gsf-input-textline.c (gsf_input_textline_finalize), gsf/gsf-input.c
1086         (gsf_input_finalize), gsf/gsf-outfile-msole.c
1087         (gsf_outfile_msole_finalize): simplified as g_free handles NULL
1088         properly. Fixes #369663.
1089
1090 2006-10-25  Jody Goldberg <jody@gnome.org>
1091
1092         * gsf/gsf-opendoc-utils.c (meta_write_props) : clean up the code to
1093           handle missing values and invalid properties.
1094
1095 2006-10-24  Jody Goldberg <jody@gnome.org>
1096
1097         * gsf/gsf-opendoc-utils.c (meta_write_props) : OLE2 stores a single
1098           string, ODF stores a vector.
1099
1100 2006-10-02  Jody Goldberg <jody@gnome.org>
1101
1102         * configure.in : post release bump
1103
1104 2006-09-26  Jody Goldberg <jody@gnome.org>
1105
1106         * Release 1.14.2
1107
1108 2006-09-26  Morten Welinder  <terra@gnome.org>
1109
1110         * configure.in (test_python): Fix python tests.
1111
1112 2006-09-24  Jody Goldberg <jody@gnome.org>
1113
1114         Patch from Robert:
1115         * autogen.sh : Check srcdir for the extra macros.
1116         * python/Makefile.am : Include srcdir.
1117
1118 2006-09-24  Jody Goldberg <jody@gnome.org>
1119
1120         Patch from Ivan:
1121         * configure.in : conditionalize the python checks.
1122
1123 2006-09-23  Jody Goldberg <jody@gnome.org>
1124
1125         * gsf/gsf-libxml.c (push_child) : Handle namespaces internally by id
1126           rather than object pointer.  We don't actually need the struct and
1127           the code is simpler when using ids.
1128         (lookup_child) : ditto.  No need for a verbose warning if the document
1129           does not yet define a namespace.
1130         (gsf_xml_in_start_element) : warn when we find an unknown namespace uri.
1131         (gsf_xml_in_doc_free) : now that we are using ids, the ns_by_id array
1132           goes away.  We did not really need it.
1133         (gsf_xml_in_doc_new) : Get rid of ns_by_id and use ids directly.  This
1134           fixes support for multiple uris with the same id (common when
1135           versioning)
1136         (gsf_xml_in_doc_new) : Be sure to look up the parent of the e_node,
1137           not the node already in the tree to fix the multple decl handling.
1138
1139 2004-07-16  Stepan Kasal  <kasal@ucw.cz>
1140
1141         YES, 2004!.  Commit an ancient patch that was forgotten.
1142
1143         Cleanup of test-*msole*.c examples.
1144         * tests/test-cp-msole.c:
1145         * tests/test-dump-msole.c:
1146         * tests/test-restore-msole.c:
1147         * tests/test-msole1.c:
1148         * tests/test-msole2.c:
1149         * tests/test-msole-printf.c:
1150
1151 2006-09-23  Jody Goldberg <jody@gnome.org>
1152
1153         Patch from Frederic Peters : #354690
1154         * python/Makefile.am : Link to our version of libgsf, not the system.
1155
1156 2006-09-18  Morten Welinder  <terra@gnome.org>
1157
1158         * gsf/gsf-input.c (gsf_input_uncompress): Use correct HAVE_ symbol
1159         for bzip2 and fix typo.  Fixes #356391.
1160
1161 2006-09-06  Morten Welinder  <terra@gnome.org>
1162
1163         * gsf/gsf-infile-msole.c (ole_init_info): Silence a warning issued
1164         for an only marginally bogus file.  See bug 346118.
1165         (ole_dirent_new): Always treat the root directory as a directory,
1166         even if the file claims otherwise.  See bug 346118.
1167
1168         * tools/gsf.c (gsf_dump_props): Print proper filename in error
1169         message.
1170
1171 2006-08-28  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
1172
1173         * thumbnailer/gsf-office-thumbnailer.schemas.in: Trivial
1174         patch to install all the schemas in the correct place.
1175         Fixes bug #353216.
1176
1177 2006-08-20  Jody Goldberg <jody@gnome.org>
1178
1179         * gsf/gsf-infile-msole.c (ole_init_info) : Add validation in case
1180           ::num_metabat too large for the ::num_bats.
1181
1182 2006-08-19  Jody Goldberg <jody@gnome.org>
1183
1184         http://bugzilla.gnome.org/show_bug.cgi?id=352055
1185         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : do not generate
1186           an error when given an empty property file.  It's not a perfect
1187           solution but it will be what most people want.
1188
1189 2006-08-19  Jody Goldberg <jody@gnome.org>
1190
1191         * gsf/gsf-doc-meta-data.c (gsf_doc_prop_dump) : new.
1192         (cb_print_property) : split out from here.
1193
1194         * tools/gsf.c (gsf_dump_props) : new.
1195         (main) : Add 'props' command to dump metadata.
1196
1197 2006-06-30  Morten Welinder  <terra@gnome.org>
1198
1199         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Validate
1200         num_props a little bit.  (#346189, Michal Kowalczuk)
1201
1202 2006-06-14  Jody Goldberg <jody@gnome.org>
1203
1204         From Dannym.
1205         * gsf/gsf-msole-utils.c (msole_metadata_write_prop) : Fix export of
1206           R8.  Typo was using SET_FLOAT rather than SET_DOUBLE.
1207
1208 2006-05-26  Jody Goldberg <jody@gnome.org>
1209
1210         * gsf/gsf-doc-meta-data.c (gsf_doc_prop_set_link) : as per Federico's
1211           note.  Handle the case of @link being the result of
1212           gsf_doc_prop_get_link.
1213         (gsf_doc_prop_set_val) : ditto.
1214
1215 2006-05-25  Jody Goldberg <jody@gnome.org>
1216
1217         * gsf/gsf-infile-msvba.c (vba_dir_read) : dump as xml.
1218           This is still a cheesy hack, but at least it does something useful.
1219
1220 2006-05-18  Jody Goldberg <jody@gnome.org>
1221
1222         * thumbnailer/gsf-office-thumbnailer.schemas.in : Add OpenOffice 1.0
1223           mime types and missing OpenDocument types.
1224
1225 2006-05-08  Jody Goldberg <jody@gnome.org>
1226
1227         * configure.in : post release bump
1228
1229 2006-05-08  Jody Goldberg <jody@gnome.org>
1230
1231         * Release 1.14.1
1232
1233 2006-05-02  Jody Goldberg <jody@gnome.org>
1234
1235         From : Ronan MELENNEC <ronan.melennec@cena.fr>
1236         * gsf/gsf-timestamp.c (gsf_timestamp_as_string) : make it clear that
1237           the time stamp is in UTC.
1238
1239 2006-05-05  Morten Welinder  <terra@gnome.org>
1240
1241         * gsf/gsf.c (main): New (uninstalled) beginning of a tar-like
1242         program.
1243
1244 2006-04-30  Jody Goldberg <jody@gnome.org>
1245
1246         * gsf/gsf-libxml.c (GsfXMLOut) : added 'pretty-print' property to
1247           optionally disable auto indenting of output.
1248
1249 2006-04-18  Jody Goldberg <jody@gnome.org>
1250
1251         From: Xavier Roche <roche@exalead.com>
1252         * gsf/gsf-msole-utils.c (msole_prop_parse) : Fix over zealous boundary
1253           check for wide character string properties.  There are _two_ bytes
1254           per character.
1255
1256 2006-04-21  Morten Welinder  <terra@gnome.org>
1257
1258         * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Drop characters 1-8, 11,
1259         12, 14-31 on the floor.  The XML 1.0 spec does not allow them.
1260         Bandaids #339335.
1261
1262 2006-04-15  Jody Goldberg <jody@gnome.org>
1263
1264         * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : handle default namespaces
1265           properly.
1266         (gsf_xml_in_namecmp) : ditto.
1267
1268 2006-04-10  Jody Goldberg <jody@gnome.org>
1269
1270         * gsf/gsf-timestamp.c (gsf_timestamp_as_string) : single digit seconds
1271           should pad with 0.
1272
1273 2006-04-08  Jody Goldberg <jody@gnome.org>
1274
1275         * gsf/gsf-input.c (gsf_input_sibling) : fix docs.
1276
1277 2006-04-08  Morten Welinder  <terra@gnome.org>
1278
1279         * gsf/gsf-infile-msole.c (ole_init_info): Constrain big blocksize
1280         to be no bigger than file size.
1281
1282 2006-04-07  Jody Goldberg <jody@gnome.org>
1283
1284         http://bugzilla.gnome.org/show_bug.cgi?id=336858
1285         * gsf/gsf-infile-msole.c (ole_info_read_metabat) : handle situation
1286           where an entire metabat is unused.  We don't have any normative docs
1287           on what that indicates but this seems relatively safe.
1288
1289 2006-04-07  Jody Goldberg <jody@gnome.org>
1290
1291         * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : check the current default
1292           namespace too.
1293         (gsf_xml_in_namecmp) : ditto.
1294         (gsf_xml_in_start_element) : improve the warning for unexpected
1295           elements.
1296
1297         * gsf/gsf-blob.h : deprecate the non-standard name 'GSF_TYPE_BLOB'
1298           and add GSF_BLOB_TYPE.
1299
1300         * doc/gsf-docs.sgml : fix up the organization a bit.
1301         * doc/gsf-sections.txt : ditto.
1302
1303 2006-03-20  Morten Welinder  <terra@gnome.org>
1304
1305         * gsf/gsf-libxml.c (gsf_xml_in_doc_parse): Set new member
1306         state.initialized.
1307         (gsf_xml_in_start_document): Ditto.
1308         (gsf_xml_in_end_document): Avoid crashing if not initialized.
1309         Works around #335152.
1310
1311 2006-03-08  Morten Welinder  <terra@gnome.org>
1312
1313         * doc/Makefile.am (manpagedir): Fix #316107.
1314
1315 2006-03-07  Eduardo Lima <eduardo.lima@indt.org.br>
1316
1317         * gsf/gsf-doc-meta-data.c (gsf_doc_prop_free): Ensure that
1318         prop->linked_to is valid before free it.
1319         (gsf_doc_prop_set_val): Just unset and free prop->val if it is not
1320         NULL.
1321         (gsf_doc_prop_set_link): Just free prop->linked_to if it is not NULL.
1322
1323 2006-03-06  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
1324
1325         * configure.in: detect gmtime/gmtime_r
1326         * gsf/gsf-timestamp.c: various fixes to enable compilatioon on win32
1327
1328         * thumbnailer/Makefile.am: disable running of gconftool when
1329         cross-compile
1330
1331 2006-03-03  Jody Goldberg <jody@gnome.org>
1332
1333         * thumbnailer/main.c (call_convert) : use -thumbnail rather than -resize
1334           to handle transparent backgrounds.  I can not find normative docs on
1335           this but it seems to do the right thing.  It seems like we also want
1336           '+matte'
1337
1338 2006-03-02  Eduardo Lima <eduardo.lima@indt.org.br>
1339
1340         * gsf/gsf-docprop-vector.c (gsf_docprop_vector_as_string) : no need
1341           to call g_value_unset () because g_value_array_get_nth () returns
1342           just a pointer to the value.
1343
1344 2006-03-02  Luciano M. Wolf <luciano.wolf@indt.org.br>
1345
1346         * gsf/gsf-opendoc-utils.c (od_meta_keyword) : init the value to string
1347           before storing the result.
1348
1349 2006-03-02  Jody Goldberg <jody@gnome.org>
1350
1351         * thumbnailer/gsf-office-thumbnailer.schemas.in : Add the opendoc
1352           types to the schema.  Need to check the older OOo 1.x formats before
1353           we can add them.
1354
1355 2006-03-02  Jody Goldberg <jody@gnome.org>
1356
1357         * configure.in : post release bump
1358
1359 2006-03-02  Jody Goldberg <jody@gnome.org>
1360
1361         * Release 1.14.0 / 1.13.99 (for Novell)
1362
1363 2006-03-02  Jody Goldberg <jody@gnome.org>
1364
1365         * gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write) : enabled.
1366         (meta_write_props) : new.
1367         (gsf_opendoc_metadata_read) : handle keywords.
1368         (od_meta_keyword) : ditto.
1369
1370 2006-03-02  Jody Goldberg <jody@gnome.org>
1371
1372         * gsf/gsf-doc-meta-data.c (gsf_doc_meta_dump) : Move this here from
1373           test-msole1.
1374
1375 2006-03-01  Jody Goldberg <jody@gnome.org>
1376
1377         * gsf/gsf-timestamp.c (gsf_timestamp_parse) : enable this.  keep the
1378           cheesy name to avoid api changes.
1379           (gsf_timestamp_as_string) : sync with timestamp_parse.
1380
1381 2006-02-26  Jody Goldberg <jody@gnome.org>
1382
1383         * thumbnailer/main.c (read_thumbnail_and_write) : split out ole2
1384           handling into.
1385         (msole_thumbnail) : here.
1386         (zip_thumbnail) : and add a quick call to unzip for ODF.  We can tack
1387           on MS Office Open when docs become available.
1388
1389 2006-02-25  J.H.M. Dassen (Ray) <jdassen@debian.org>
1390
1391         * gsf/gsf-input-textline.c, gsf/gsf-input-textline.h, gsf/gsf-libxml.c,
1392         gsf/gsf-outfile-zip.c, gsf/gsf-output.c, gsf/gsf-utils.c: Documentation work.
1393
1394 2006-02-16  Morten Welinder  <terra@gnome.org>
1395
1396         * gsf/gsf-libxml.c (gsf_xml_in_start_document): Plug leaks.
1397         (gsf_xml_in_start_element): Fix key used for inserting into
1398         state->ns_prefixes hash.
1399
1400 2006-01-21  Morten Welinder  <terra@gnome.org>
1401
1402         * gsf/gsf-libxml.c (gsf_xml_parser_context_full): Fix a
1403         hypothetical leak.
1404
1405 2006-02-15  Morten Welinder  <terra@gnome.org>
1406
1407         * gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Plug leak by
1408         shutting down the old stream properly.
1409
1410 2006-02-15  Morten Welinder  <welinder@rentec.com>
1411
1412         * gsf/gsf-infile-zip.c (gsf_infile_zip_seek):
1413
1414 2006-02-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
1415
1416         * configure.in: Add "sv" to ALL_LINGUAS.
1417
1418 2006-01-20  Jody Goldberg <jody@gnome.org>
1419
1420         * gsf/gsf-libxml.c (gsf_xml_parser_context_full) : set
1421           xmlParserCtxt::replaceEntities.  This fixes parsing problems with
1422           attributes that contain &amp;
1423
1424 2006-01-08  Stepan Kasal  <kasal@ucw.cz>
1425
1426         * gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Wrap (type==0) by G_UNLIKELY.
1427
1428 2006-01-06  Dom Lachowicz <cinamod@hotmail.com>
1429
1430         * gsf/gsf-clip-data.c (gsf_clip_data_finalize): Bug 325989 - Memory
1431         leak in gsf_clip_data_finalize(). Based on a patch from Michal
1432         Kowalczuk.
1433
1434 2006-01-02  Stepan Kasal  <kasal@ucw.cz>
1435
1436         * doc/tmpl/*.sgml: Cleanup errors introduced by gtk-doc, #318666.
1437
1438 2005-12-24  Stepan Kasal  <kasal@ucw.cz>
1439
1440         * doc/developer/blocksize.html: New file in a new subdir.
1441         * doc/Makefile.am: Distribute it.
1442
1443 2005-12-07  Morten Welinder  <terra@gnome.org>
1444
1445         * gsf/gsf-output-iconv.c (iconv_flush): Fix handling of partial
1446         input sequences.   Fixes #323503.
1447
1448 2005-11-16  Tor Lillqvist  <tml@novell.com>
1449
1450         * configure.in: Calculate CURRENT_MINUS_AGE as the libtool version
1451         info's CURRENT - AGE and AC_SUBST it. This number gets used in the
1452         DLL name, and thus needed in libgsf-zip.
1453
1454         * libgsf-zip.in: Use CURRENT_MINUS_AGE. DLLs are always in "bin"
1455         nowadays. Build packages for gsf-gnome, too.
1456
1457         * gsf/gsf-utils.c: Use G_WIN32_DLLMAIN_FOR_DLL_NAME to get DLL
1458         name, use g_win32_get_package_installation_directory() to
1459         construct locale directory name at run-time on Win32.
1460
1461         * tests/*.c: Initialize GError pointers to NULL.
1462
1463         * thumbnailer/Makefile.am (install-data-local): Workaround for
1464         MSYS feature that causes problems when running gconftool on Win32.
1465
1466 2005-11-07  Kjartan Maraas  <kmaraas@gnome.org>
1467
1468         * gsf-win32/Makefile.am: Unbreak the build
1469         * gsf/Makefile.am: Same here.
1470
1471 2005-11-07  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
1472
1473         * gsf/gsf-opendoc-utils.c: use /* FIXME FIXME FIXME Blah Blah */
1474         instead of #warning for non-gcc compilers. (#306740)
1475
1476 2005-11-07  Ivan, Wong Yat Cheung <ivanwong@gnome.org>
1477
1478         * Makefile.am:
1479         * configure.in:
1480         * dumpdef.in: New
1481         * gsf.mk: New
1482         * gsf/Makefile.am:
1483         * gsf-gnome/Makefile.am:
1484         * gsf-win32/Makefile.am:
1485         For Win32 Only: 1.) For every source directory of a library, pass all
1486         the public headers (with all #include removed) to the C preprocessor.
1487         2.) Pass the result from 1. to a perl script which extracts names of
1488         all the public functions and variables. 3.) Concat all from step 2. to
1489         produce a single .def file at the top directory of the library. No
1490         --export-all-symbols anymore.
1491
1492         * gsf/.cvsignore:
1493         * gsf-win32/.cvsignore:
1494         Shutup CVS.
1495
1496 2005-11-07  Jody Goldberg <jody@gnome.org>
1497
1498         * configure.in : post release bump
1499
1500 2005-11-06  Jody Goldberg <jody@gnome.org>
1501
1502         * Release 1.13.3
1503
1504 2005-11-06  J.H.M. Dassen (Ray) <jdassen@debian.org>
1505
1506         * gsf/gsf-timestamp.h: Dropped two superfluous declarations.
1507         * doc/gsf-sections.txt: Mark internal symbols as subsection "Private"
1508         so as not to be counted for coverage stats.
1509         * doc/tmpl/*.sgml: Cascaded updates.
1510
1511 2005-11-05  Jody Goldberg <jody@gnome.org>
1512
1513         * gsf/gsf-libxml.c (push_child) : apply extension if one was supplied.
1514         (lookup_child) : pass the extension to push_child.
1515         (gsf_xml_in_start_element) : if none of the current node's children
1516           match, check for extensions.
1517         (gsf_xml_in_ext_free) : new.
1518         (gsf_xml_in_end_element) : free any extensions.
1519         (gsf_xml_in_push_state) : handle an extension that adds children to
1520           the current node vs an extension to add a handler for an unknown node.
1521
1522 2005-11-05  Jody Goldberg <jody@gnome.org>
1523
1524         Patch from Luciano Miguel Wolf <luciano.wolf@indt.org.br>
1525         * gsf/gsf-opendoc-utils.c (od_get_meta_prop) : fix typo.
1526
1527 2005-11-05  J.H.M. Dassen (Ray) <jdassen@debian.org>
1528
1529         * doc/gsf-docs.sgml: Fleshed things out a bit.
1530
1531 2005-11-04  Christian Neumair  <chris@gnome-de.org>
1532
1533         * libgsf-gnome-1.pc.in: Add required packages to Requires field.
1534
1535 2005-11-01  J.H.M. Dassen (Ray) <jdassen@debian.org>
1536
1537         * README: Updated list archive URL. (Debian #336699)
1538
1539 2005-10-30  J.H.M. Dassen (Ray) <jdassen@debian.org>
1540
1541         * gsf/gsf-infile-ar.c, gsf/gsf-infile-msole.c, gsf/gsf-infile-zip.c,
1542         sf/gsf-infile.c, gsf/gsf-input-textline.c, gsf/gsf-input.c,
1543         gsf/gsf-libxml.c, gsf/gsf-outfile-msole.c, gsf/gsf-outfile-zip.c,
1544         gsf/gsf-output-transaction.c, gsf/gsf-output.c,
1545         gsf/gsf-structured-blob.c: Minor documentation work.
1546
1547 2005-10-29  J.H.M. Dassen (Ray) <jdassen@debian.org>
1548
1549         * doc/gsf-docs.sgml: Add OpenDoc documentation.
1550         * gsf/gsf-timestamp.c, gsf/gsf-utils.c, doc/tmpl/compression.sgml,
1551         doc/tmpl/gsf-opendoc-utils.sgml, doc/tmpl/msole.sgml,
1552         doc/tmpl/utils.sgml, doc/tmpl/zip.sgml: Add some basic documentation.
1553
1554 2005-10-26  Stepan Kasal  <kasal@ucw.cz>
1555
1556         * tests/test-dump-msole.c: Improve the description line in the top
1557         comment; remove an unused #include.
1558         * tests/test-restore-msole.c: Likewise.
1559
1560 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
1561
1562         * gsf/gsf-libxml.c (lookup_child): `inst' is a local variable, not
1563           a parameter.
1564
1565         * doc/gsf.types: Add #include <gsf/gsf-shared-memory.h> to fix a
1566           warning.
1567
1568         * gsf/gsf-output-csv.c (gsf_output_csv_init): Initialize eol_len, too.
1569
1570 2005-10-10  Jody Goldberg <jody@gnome.org>
1571
1572         * configure.in : post release bump
1573
1574 2005-10-10  Jody Goldberg <jody@gnome.org>
1575
1576         * Release 1.13.2
1577
1578 2005-10-10  Jody Goldberg <jody@gnome.org>
1579
1580         DOH!
1581         * gsf/gsf-libxml.c (gsf_xml_in_end_element) : clear the content before
1582           we pop the node.
1583         (gsf_xml_in_doc_new) : restore the hack to handle bools in
1584           has_content.  There are still several callers that are passing bool.
1585         (gsf_xml_in_doc_new) : Fix bogus typo that was crashing everything.
1586         (gsf_xml_in_doc_new) : Init root_node
1587
1588 2005-10-10  Jody Goldberg <jody@gnome.org>
1589
1590         * configure.in : post release bump
1591
1592 2005-10-10  Jody Goldberg <jody@gnome.org>
1593
1594         * Release 1.13.1
1595
1596 2005-10-10  Jody Goldberg <jody@gnome.org>
1597
1598         * gsf/gsf-libxml.c (gsf_xml_in_end_element) : Clean up after
1599           extensions.  If the extensions was created by an unknown handler we
1600           do not need to do anything special.  If it was created by a start
1601           handler then there are effectively two nodes for one parse state,
1602           loop back to clear the original.
1603         (gsf_xml_in_push_state) : finally get an api that will be able to do
1604           what we'll need.
1605
1606 2005-10-04  Jody Goldberg <jody@gnome.org>
1607
1608         * configure.in : post release bump
1609
1610 2005-10-04  Jody Goldberg <jody@gnome.org>
1611
1612         * Release 1.13.0
1613
1614 2005-10-03  Sven Herzberg  <herzi@gnome-de.org>
1615
1616         Got okay from Morten for this:
1617
1618         * gsf-gnome/gsf-output-gnomevfs.c: create the file if necessary; fixes
1619         bug 317766
1620
1621 2005-10-02  Jody Goldberg <jody@gnome.org>
1622
1623         From :  Luciano Wolf (luciano.wolf@indt.org.br)
1624         * gsf/gsf-opendoc-utils.{c,h} : new
1625         * gsf/Makefile.am : Add gsf/gsf-opendoc-utils.{c,h}
1626
1627 2005-10-02  Jody Goldberg <jody@gnome.org>
1628
1629         * gsf/gsf-libxml.c (glade_enum_from_string) : imported from goffice.
1630         (glade_flags_from_string) : ditto.
1631         (gsf_xml_gvalue_from_str) : ditto.
1632         (lookup_child) : break this out of.
1633         (gsf_xml_in_start_element) : here.
1634           Add a new flags to node 'share_children_with_parent' this is allows
1635           all of a nodes siblings to work as mutual children.  Eg for
1636           <b><i><u> for rich text which need to nest arbitrarily.
1637         (gsf_xml_in_doc_parse) : renamed from gsf_xml_in_parse.
1638           Takes a GsfXMLInDoc rather than a GsfXMLIn.  This is useful to keep
1639           the lifecycle of the GsfXMLIn more under our control.  We intialize
1640           it not the caller.  People no longer need to inherit/contain it, now
1641           they store their state seperately.
1642
1643 2005-10-02  Jody Goldberg <jody@gnome.org>
1644
1645         * configure.in : bump the version to 1.13.0 due to the xml changes.
1646           Add -Wno-pointer-sign to make the warnings stop.
1647         * doc/gsf-sections.txt : update
1648         * doc/gsf.types : update
1649
1650 2005-10-01  Stepan Kasal  <kasal@ucw.cz>
1651
1652         * configure.in (VERSION_INFO): Fix the definition, add a comment.
1653
1654 2005-09-18  Stepan Kasal  <kasal@ucw.cz>
1655
1656         * configure.in: Make sure that the Automake conditional
1657           GCONF_SCHEMAS_INSTALL is always set.
1658         * msvc/README: Don't mention packages which are not prerequisities
1659           of libgsf.
1660
1661 2005-09-16  Stepan Kasal  <kasal@ucw.cz>
1662
1663         * doc/gsf-sections.txt: Add gsf_input_stdio_new_FILE.
1664
1665 2005-09-06  Jody Goldberg <jody@gnome.org>
1666
1667         * configure.in : post release bump
1668
1669 2005-09-06  Jody Goldberg <jody@gnome.org>
1670
1671         * Release 1.12.3
1672
1673 2005-08-24  Jody Goldberg <jody@gnome.org>
1674
1675         * configure.in : Make gconf optional
1676         * Makefile.am : ditto.
1677
1678 2005-08-22  Jody Goldberg <jody@gnome.org>
1679
1680         * gsf-gnome/Makefile.am : Add -no-undefined on win32 [#314221]
1681
1682 2005-08-19  Tim Janik  <timj@imendio.com>
1683
1684         * gsf/gsf-outfile-zip.c (zip_close_stream): call deflateEnd, free
1685         stream and buffer space, so we are not holding on to large amounts
1686         of memory until we're done with the current directory.
1687
1688 2005-08-17  J.H.M. Dassen (Ray) <jdassen@debian.org>
1689
1690         * doc/gsf-office-thumbnailer.1: Added.
1691         * doc/Makefile.am: Updated accordingly.
1692
1693 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
1694
1695         * configure.in: Update obsolete AC_TRY_* macros.
1696         Before the tests for g_chmod and g_access, LIBGSF_LIBS should be
1697         _prepended_ to LIBS, not appended; more specific libs have to be
1698         listed first.
1699         * gsf/gsf-impl-utils.h: Align tabs.
1700
1701 2005-08-13  Morten Welinder <terra@gnome.org>
1702
1703         * configure.in: Post release bump
1704
1705 2005-08-13  Morten Welinder <terra@gnome.org>
1706
1707         * Release 1.12.2
1708
1709 2005-08-11  Jean Brefort  <jean.brefort@normalesup.org>
1710
1711         * gsf/gsf-impl-utils.h: made GSF_CLASS_FULL and GSF_DYNAMIC_CLASS_FULL
1712         really full.
1713
1714 2005-08-09  J.H.M. Dassen (Ray) <jdassen@debian.org>
1715
1716         * configure.in: Changed tests for g_chmod and g_access: actually try
1717         linking the test fragments and use the LIBS being constructed in those
1718         attempts.
1719
1720 2005-08-09  Morten Welinder  <terra@gnome.org>
1721
1722         * configure.in: Test for g_chmod and g_access.
1723
1724         * gsf/gsf-output-stdio.c (gsf_output_stdio_close): Use the right
1725         errno.  Fixes part of #312930.
1726         (chmod_wrapper): New function to help Win32.
1727         (access_wrapper): Renamed from gsf_access and simplified.
1728
1729 2005-08-09  J.H.M. Dassen (Ray) <jdassen@debian.org>
1730
1731         * thumbnailer/main.c (show_error_and_exit): Mark this G_GNUC_NORETURN
1732         as well.
1733
1734 2005-08-08  J.H.M. Dassen (Ray) <jdassen@debian.org>
1735
1736         * *: Updated the FSF's address.
1737
1738 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
1739
1740         * gsf/gsf-input-stdio.c (gsf_input_stdio_new_FILE): Don't forget
1741           to set the keep_open flag.
1742         * thumbnailer/main.c (show_error_string_and_exit): Add G_GNUC_NORETURN.
1743
1744 2005-08-05  Jody Goldberg <jody@gnome.org>
1745
1746         * gsf/gsf-msole-utils.c (msole_prop_parse) : be more careful
1747
1748 2005-08-02  Morten Welinder  <terra@gnome.org>
1749
1750         * gsf/gsf-input-stdio.c (gsf_input_stdio_new_FILE): New function
1751         for symmetry.  (This is not as useful as it might seem since the
1752         file must be seekable.)
1753
1754 2005-08-02  Stepan Kasal  <kasal@ucw.cz>
1755
1756         * Makefile.am (clean-local): That rule contained command
1757           "rm -f intl/po2tbl.sed".  But it seems the subdirectory intl/ is
1758           no longer used.
1759         (ACLOCAL_AMFLAGS): Remove again.
1760         (EXTRA_DIST): Remove files added by gettextize and files distributed
1761           by default.
1762         (DISTCLEANFILES): Add the three intltool-* scripts.
1763         * configure.in (GCONFTOOL): Determine by a procedure similar to
1764           what is in gnumeric/configure.in.
1765         * thumbnailer/Makefile.am (install-data-local): Fix the rule so that
1766           we pass distcheck.
1767         * acinclude.m4, acinclude.m4.am15: Partial cleanup of the comments;
1768           in particular, don't speak as if Automake 1.5 were something new.
1769
1770 2005-07-11  Morten Welinder  <terra@gnome.org>
1771
1772         * gsf/gsf-output.c (gsf_output_set_name_from_filename): Make this
1773         work for NULL filename.
1774
1775 2005-07-30  Jody Goldberg <jody@gnome.org>
1776
1777         http://bugzilla.gnome.org/show_bug.cgi?id=310118
1778         * gsf/gsf-msole-utils.c (msole_metadata_write_prop) : be more careful
1779           about NULL strings.  This fixes the crash on export, but there are
1780           still some warnings on import that put us into an inconsistent
1781           state.
1782         (msole_prop_parse) : In the LPSTR case use the actual byte size not
1783           the result of the conversion.  If the encoding is off, we ended up
1784           with the wrong size.
1785
1786 2005-07-24  Dom Lachowicz <cinamod@hotmail.com>
1787
1788         * gsf/gsf-msole-utilc.c (msole_prop_parse): Move some g_prints behind
1789           a debug macro.
1790
1791 2005-07-19  Federico Mena Quintero  <federico@ximian.com>
1792
1793         * thumbnailer/main.c (main): Oops, remove some leftover debugging code.
1794
1795         * configure.in: Generate thumbnailer/Makefile.  Add a test for GConf.
1796
1797         * Makefile.am (SUBDIRS): Added the thumbnailer directory.
1798
1799         * gsf/gsf-utils.c (gsf_init): Call bindtextdomain() and
1800         bind_textdomain_codeset().
1801
1802         * gsf/gsf-clip-data.c: Mark strings for translation.
1803
1804         * gsf/gsf-blob.c: Likewise.
1805
1806         * gsf/gsf-msole-utils.c: Mark strings in GErrors for translation.
1807
1808         * gsf/Makefile.am (AM_CPPFLAGS): Add the locale directory.
1809
1810 2005-07-19  gettextize  <bug-gnu-gettext@gnu.org>
1811
1812         * Makefile.am (SUBDIRS): Add po.
1813         (ACLOCAL_AMFLAGS): New variable.
1814         (EXTRA_DIST): Add config.rpath, m4/ChangeLog.
1815         * configure.in (AC_CONFIG_FILES): Add po/Makefile.in.
1816
1817 2005-07-19  Federico Mena Quintero  <federico@ximian.com>
1818
1819         * configure.in: Pull in intltool and gettext.
1820
1821         * thumbnailer/gsf-office-thumbnailer.schemas.in: New file with the
1822         schemas for the thumbnailer.
1823
1824 2005-07-18  Federico Mena Quintero  <federico@ximian.com>
1825
1826         * thumbnailer/main.c: New file with a very simple GNOME
1827         thumbnailer for MS Office files.  This will grow to something more
1828         sophisticated in the future.
1829
1830         * thumbnailer/Makefile.am: New file.
1831
1832         I'll add this subdir to the build tomorrow, when I get the GConf
1833         bits right for configure.in.
1834
1835 2005-07-18  Stepan Kasal  <kasal@ucw.cz>
1836
1837         * gsf/gsf-libxml.c (gsf_xml_in_doc_free): In the description, remove
1838         the reference to the nonexistent gsf_xml_in_doc_prep.
1839
1840 2005-07-07  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1841
1842         * msvc/.cvsignore:
1843         * msvc/README:
1844         * msvc/config.dsp:
1845         * msvc/install.pl:
1846         * msvc/autom4te.hack: New
1847         Include a hacked version autoheader that doesn't need a posix
1848         environment. The whole MSVC building process is now posix-
1849         independent.
1850
1851 2005-07-06  Federico Mena Quintero  <federico@ximian.com>
1852
1853         * gsf/gsf-blob.[ch]: New files with a GsfBlob object, used to hold
1854         generic binary data.
1855
1856         * gsf/gsf-clip-data.[ch]: New files with a GsfClipData object,
1857         used to hold the VT_CF property data.
1858
1859         * gsf/gsf-msole-utils.c (parse_vt_cf): New function; creates a
1860         GsfClipData for the resulting GValue.
1861         (msole_prop_parse): Handle the VT_CF property.
1862
1863         * gsf/gsf-utils.h (GSF_ERROR): Add a generic error quark.
1864         (GsfError): Add an enum with generic error values; so far we only
1865         have GSF_ERROR_OUT_OF_MEMORY and GSF_ERROR_INVALID_DATA.
1866
1867         * gsf/gsf-utils.c (gsf_error_quark): Implement.
1868
1869         * gsf/Makefile.am: Added gsf-blob.[ch] and gsf-clip-data.[ch].
1870
1871         * doc/gsf-sections.txt: Added sections for GsfBlob and
1872         GsfClipData.  Added the GsfError stuff to the "utils" section.
1873
1874         * doc/gsf-docs.sgml: Add the GsfBlob and GsfClipData sections.
1875         Renamed the old "GsfBlob" entity to "GsfStructuredBlob", to match
1876         the object to which it refers.
1877
1878         * doc/tmpl/utils.sgml: Document the GError bits.
1879
1880         * doc/tmpl/gsf-clip-data.sgml: New file.
1881
1882         * doc/tmpl/gsf-blob.sgml: New file.
1883
1884 2005-07-05  Jon K Hellan  <hellan@acm.org>
1885
1886         * gsf/gsf-msole-utils.c (msole_metadata_write_prop): Fix
1887         VT_FILETIME export.
1888
1889 2005-07-01  Morten Welinder  <terra@gnome.org>
1890
1891         * gsf/gsf-output-memory.c (gsf_output_memory_vprintf): Don't use a
1892         va_list twice as an argument.  (The standard does not allow that.)
1893         Fixes i86_64 problems and was found by Jean.
1894
1895         * gsf/gsf-utils.c (gsf_mem_dump_full): Kill a warning.
1896
1897 2005-06-30  Jody Goldberg <jody@gnome.org>
1898
1899         * gsf/gsf-msole-utils.c (gsf_msole_iconv_get_codepage_string_list) :
1900           Add 0x8001 as a synonym for 1252 as per the OOo docs.  I wish there
1901           was something more normative than that.
1902
1903         * gsf/gsf-docprop-vector.c : remove custom GTypeValueTable it was
1904           wrong and unnecessary.  This fixes the leak of the GValueArray
1905
1906 2005-06-30  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1907
1908         * win: Rename to msvc
1909         * msvc: Add MSVC build files, see msvc/README for
1910           details.
1911
1912 2005-06-23  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1913
1914         * configure.in: Check for the existence of S_ISREG,
1915           if it is not defined (e.g. MS's PSDK), do
1916           it ourself.
1917
1918 2005-06-21  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1919
1920         * gsf/gsf-input-stdio.c:
1921         * gsf/gsf-libxml.c:
1922         * gsf/gsf-msole-utils.c:
1923         * gsf/gsf-outfile-msole.c:
1924         * gsf/gsf-outfile-stdio.c:
1925         * gsf/gsf-output-stdio.c:
1926         * gsf/gsf-timestamp.c:
1927         * gsf/gsf-utils.h
1928         * gsf-win32/gsf-input-win32.c:
1929         * gsf-win32/gsf-output-win32.c: Remove all #warning. That is
1930           a gcc only directive. Use /* FIXME FIXME FIXME Blah Blah */ instead.
1931           Remove all _MSC_VER, which are either unnecessary or not belong
1932           there.
1933
1934 2005-06-13  Morten Welinder  <terra@gnome.org>
1935
1936         * gsf/gsf-msole-utils.c (msole_prop_parse): Use g_value_set_uint64
1937         and g_value_set_int64 where appropriate.
1938         (msole_prop_cmp): Handle offsets larger than int.
1939
1940 2005-06-12  Jody Goldberg <jody@gnome.org>
1941
1942         * configure.in : post release bump
1943
1944 2005-06-12  Jody Goldberg <jody@gnome.org>
1945
1946         * Release 1.12.1
1947
1948 2005-06-12  Jody Goldberg <jody@gnome.org>
1949
1950         * gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : codepages are
1951           signed.
1952         (gsf_msole_iconv_win_codepage) : ditto.
1953         (gsf_msole_iconv_open_codepages_for_export) : ditto.
1954         (gsf_msole_iconv_open_codepage_for_export) : ditto.
1955         (gsf_msole_iconv_get_codepage_string_list) : ditto.
1956           -535(uint16) == 65001
1957
1958 2005-06-12  Jody Goldberg <jody@gnome.org>
1959
1960         * gsf/gsf-impl-utils.h (GSF_DYNAMIC_CLASS_FULL) : remove useless
1961           trailing backslash that was confusing gtk-doc
1962
1963         * gsf/gsf-output-stdio.c (gsf_output_stdio_new_valist) : new.
1964         (gsf_output_stdio_new_full) Use it here.
1965         (gsf_output_stdio_new) : And use that here.
1966         * gsf/gsf-outfile-stdio.c (gsf_output_stdio_new_valist) : new.
1967         (gsf_outfile_stdio_new_full) Use it here.
1968         (gsf_outfile_stdio_new) : And use that here.
1969
1970 2005-06-10  Morten Welinder  <terra@gnome.org>
1971
1972         * gsf/gsf-libxml.c (gsf_xml_out_add_enum): New function.
1973
1974 2005-06-08  Morten Welinder  <terra@gnome.org>
1975
1976         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Test
1977         directory-ness of the right mode.
1978
1979 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
1980
1981         * gsf/gsf-output.h (gsf_output_vprintf): Add the function attribute
1982           G_GNUC_PRINTF (2, 0).  Add the same to various static *vprintf
1983           funtions in other files.
1984         * gsf/gsf-output-csv.c (gsf_output_cvs_close): The parameter is
1985           unused, mark it as such.
1986
1987         * .cvsignore: Add gtk-doc.make; remove gsf-config; replace stamp-h
1988         and stamp-* by stamp-h*.
1989
1990 2005-06-03  Jody Goldberg <jody@gnome.org>
1991
1992         * gsf/gsf-utils.h (gsf_init_dynamic) : new hook.  Unimplemented yet.
1993
1994         * gsf/gsf-impl-utils.h (prefix) : use a cleaner pattern for the
1995           dynamic type/interface declarations.
1996
1997 2005-06-02  Jody Goldberg <jody@gnome.org>
1998
1999         * gsf/gsf-msole-utils.c (msole_vt_name) : suppress warning
2000         (msole_prop_parse) : assign the right type.
2001
2002 2005-06-02  Dom Lachowicz <cinamod@hotmail.com>
2003
2004         * gsf/gsf-outfile-zip.c (zip_flush): Check for Z_BUF_ERROR case.
2005         This is the cause of AbiWord bug #7652
2006
2007 2005-06-02  Morten Welinder  <terra@gnome.org>
2008
2009         * gsf/gsf-libxml.c (gsf_xml_out_add_float): Use "C" locale
2010         conventions.  Fix ambiguities in docs.
2011
2012 2005-06-01  Morten Welinder  <terra@gnome.org>
2013
2014         * gsf/gsf-input-gzip.c (gsf_input_gzip_read): Only trigger the
2015         truncated-file check after we have added a single NUL byte.
2016         (check_header): Avoid overflows.
2017
2018 2005-05-31  Jody Goldberg <jody@gnome.org>
2019
2020         * gsf/gsf-input-gzip.c (gsf_input_gzip_read) : get upset when an input
2021           file is truncated.
2022         (check_header) : Add a heuristic to warn about files with > 1000:1
2023           compression ratios.  It is crude but likely to catch the worst
2024           truncated files were we're using data rather than a trailer by
2025           accident.
2026
2027 2005-05-31  Jody Goldberg <jody@gnome.org>
2028
2029         * gsf/gsf-libxml.c (gsf_xml_in_parse) : add some protection.
2030
2031 2005-05-30  Jody Goldberg <jody@gnome.org>
2032
2033         * gsf/gsf-msole-utils.c (msole_metadata_write_section) : warning
2034           suppression.
2035         (msole_prop_parse) : it seems GValue needs to be a G_OBJECT in order
2036           for it to be unrefed.
2037
2038 2005-05-28  Jody Goldberg <jody@gnome.org>
2039
2040         * gsf/gsf-docprop-vector.c (gsf_docprop_vector_finalize) : patch leak.
2041
2042 2005-05-25  Morten Welinder  <terra@gnome.org>
2043
2044         * configure.in (CFLAGS): Don't use -Wcrazy.
2045
2046 2005-05-15  J.H.M. Dassen (Ray) <jdassen@debian.org>
2047
2048         * configure.in: Enable a number of additional warnings (when available)
2049         for which the current code base is already virtually clean.
2050         Ensure at link time that the shared objects, contain complete
2051         dependency information for all symbols they use from elsewhere.
2052
2053 2005-05-10  Jody Goldberg <jody@gnome.org>
2054
2055         * configure.in : post release bump
2056
2057 2005-05-09  Jody Goldberg <jody@gnome.org>
2058
2059         * Release 1.12.0
2060
2061 2005-05-08  Jody Goldberg <jody@gnome.org>
2062
2063         * gsf/gsf-outfile-msole.c (ole_bytes_left_in_block) : As per Stuart
2064           Cunningham from the AAF group the header is always bb.size.
2065         (gsf_outfile_msole_new_full) : ditto.  pad the header with zeros.
2066
2067 2005-05-08  Jody Goldberg <jody@gnome.org>
2068
2069         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : Do not check for a
2070           namespace we have not seen yet.  Fixes crash when reading OOo 2.0
2071           with the dtd from 1.0
2072
2073 2005-05-05  Jody Goldberg <jody@gnome.org>
2074
2075         * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : Add some safety.
2076
2077 2005-05-04  Jody Goldberg <jody@gnome.org>
2078
2079         * gsf/gsf-msole-utils.c (msole_vt_name) : handle sparse entries.
2080
2081 2005-05-03  Jody Goldberg <jody@gnome.org>
2082
2083         * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : complete rewrite.
2084           Just write the properties then seek back to fill in the offsets
2085           rather than measuring then writing.
2086         (cb_count_props) : new. collect builtin vs user defined props
2087          from the hash.
2088         (msole_metadata_write_section) : new. write the props and collect the
2089           offsets and ids.  Handle linked props, vectors and variant vectors.
2090         (msole_metadata_write_prop) : Adds padding to the simple types.
2091         (gvalue_to_msole_vt) : map from a GValue to a variant type.  Be smart
2092           about handling boxed types, and check vectors to see if they are
2093           fixed type vs variant.  Use the table of builtin types if possible
2094           to deal with ambiguities.
2095         (cb_write_dict) : new.
2096         (msole_vtname) : new util to get debug name.
2097
2098 2005-04-27  Morten Welinder  <terra@gnome.org>
2099
2100         * gsf/gsf-utils.c (gsf_property_settings_collect,
2101         gsf_property_settings_collect_valist, gsf_property_settings_free):
2102         New functions.
2103
2104         * gsf/gsf-outfile-zip.c (gsf_outfile_zip_new): Move guts into
2105         gsf_outfile_zip_constructor.
2106         (gsf_outfile_zip_constructor): New function.
2107         (gsf_outfile_zip_class_init): Link in gsf_outfile_zip_constructor.
2108         Add entry-name and sink properties.  In the process separate
2109         filenames from gsf_output_name which is UTF-8 encoded.
2110         (stream_name_write_to_buf): Greatly simplify using GString.
2111
2112         * gsf/gsf-infile-zip.c: New property "source".  Install a proxy
2113         layer between the zip file and the source so we don't dup
2114         GsfInputStdio or GsfInputGnomeVFS objects (which is expensive and
2115         subject to lots of problems).
2116
2117 2005-04-26  Morten Welinder  <terra@gnome.org>
2118
2119         * tests/test-cp-zip.c (clone): Be a bit verbose.  Make the copy
2120         use the compression levels of the source.
2121
2122         * gsf/gsf-outfile-zip.c: Add construct-only compression-level
2123         property.
2124         (gsf_outfile_zip_set_compression_method): Make this an empty stub
2125         and deprecate.
2126
2127         * gsf/gsf-zip-utils.c (gsf_vdir_add_child): Do not sort because
2128         doing so breaks copying of OOo files.
2129
2130         * gsf/gsf-infile-zip.c: Add readable compression-level property.
2131         (vdir_child_by_index): simplify.  (This is really use
2132         g_slist_nth_data, modulo pointer types.)
2133
2134 2005-04-26  Jody Goldberg <jody@gnome.org>
2135
2136         * gsf/gsf-msole-utils.c (cb_measure_props) : handle custom props for
2137           ints and uints.
2138
2139 2005-04-26  Jody Goldberg <jody@gnome.org>
2140
2141         * gsf/gsf-msole-utils.c (msole_gsf_name_to_prop) : fix my silliness
2142         (check_variant) : new.
2143         (cb_measure_props) : renamed from add_props.  Signature changed to
2144           match the new foreach semantics.  Some initial work on handling
2145           variant vectors vs single type vectors.  Removed nasty kludge for
2146           DocumentParts and HeadingPairs.
2147
2148         * gsf/gsf-docprop-vector.c (gsf_value_get_docprop_vector) : Use
2149           g_value_get_object and clarify the docs.
2150         (gsf_value_set_docprop_vector) : delete
2151         (VAL_IS_GSF_DOCPROP_VECTOR) : new.
2152         (IS_GSF_DOCPROP_VECTOR) : adjust to use the std GObject semantics
2153
2154 2005-04-23  Jody Goldberg <jody@gnome.org>
2155
2156         * gsf/gsf-doc-meta-data.h (gsf_doc_prop_new) : new
2157         (gsf_doc_prop_free) : new
2158         (gsf_doc_prop_swap_val) : new
2159
2160         * gsf/gsf-msole-utils.c : disable the debug spew
2161
2162 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
2163
2164         * configure.in: Use m4 macros for version numbering.
2165
2166 2005-04-16  Jody Goldberg <jody@gnome.org>
2167
2168         * tests/test-msole1.c : update for the new ms-ole property import api
2169
2170         * gsf/gsf-msole-utils.c : disable debug spew
2171         (msole_prop_id_to_gsf) : flag links
2172         (msole_prop_read) : store the property directly.
2173         (msole_prop_store) : delete.
2174
2175 2005-04-16  Jody Goldberg <jody@gnome.org>
2176
2177         * gsf/gsf-docprop-vector.c (gsf_value_get_docprop_varray) : Add some
2178           safety.
2179
2180 2005-04-16  Jody Goldberg <jody@gnome.org>
2181
2182         * gsf/gsf-doc-meta-data.[ch] : Major interface changes to make the
2183           hash like behavior perfectly clear, and to support links.
2184
2185 2005-04-16  Jody Goldberg <jody@gnome.org>
2186
2187         * doc/gsf-sections.txt :  update
2188
2189 2005-04-12  Morten Welinder  <terra@gnome.org>
2190
2191         * configure.in: revert last change.
2192
2193 2005-04-12  Stepan Kasal  <kasal@ucw.cz>
2194
2195         * configure.in: Small changes in the pygtk check, though it's
2196           currently not in use.
2197
2198 2005-04-11  Jody Goldberg <jody@gnome.org>
2199
2200         * tests/test-msole1.c: Make the test program work.
2201
2202 2005-04-10  Jody Goldberg <jody@gnome.org>
2203
2204         * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : replace incessant
2205           if (success) with a 'goto err' and prune more non-C89 var decls
2206
2207 2005-04-09  Jody Goldberg <jody@gnome.org>
2208
2209         * gsf/gsf-outfile.h : remove G_GNUC_NULL_TERMINATED for now.
2210           we do not want to require glib-2.7
2211
2212 2005-04-09  Jody Goldberg <jody@gnome.org>
2213
2214         * gsf/gsf-outfile-impl.h (new_child) : change the signature to pass in
2215           var_args.  Changed all callers.
2216
2217         * gsf/gsf-outfile.c (gsf_outfile_new_child_full) : new.
2218         (gsf_outfile_new_child) : convert into a wrapper to
2219           gsf_outfile_new_child_full.
2220         * gsf/gsf-input.c (gsf_input_error_id) : renamed from gsf_input_error
2221           and a deprecated wrapper with the old name.
2222         * gsf/gsf-docprop-vector.c (gsf_value_get_docprop_varray) : new.
2223         * gsf/gsf-infile-msvba.c (vba_project_read) : add a few new
2224           signatures.
2225
2226 2005-04-09  Jody Goldberg <jody@gnome.org>
2227
2228         From Manuel Mausz <Manuel.Mausz@fabasoft.com>
2229         * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : initial
2230           implementation.
2231
2232 2005-04-07  Jody Goldberg <jody@gnome.org>
2233
2234         * configure.in : bump the library version to indicate api change
2235
2236 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
2237
2238         * configure.in (LIBGSF_MODULES): This macro was replaced by...
2239         (libgsf_reqs, libgsf_gnome_reqs): ... these two shell variables.
2240         PKG_CHECK_MODULES from pkconfig-0.16.0 double quotes its arguments,
2241         which is an error; using shell variables is a handy workaround.
2242         * Makefile.am: Clean up.
2243         * test/Makefile.am (LDADD): Use this, instead of the per-target
2244           variables.
2245
2246 2005-04-04  Morten Welinder  <terra@gnome.org>
2247
2248         * gsf/gsf-output-csv.c (gsf_output_csv_write_field): Fix auto
2249         quoting.
2250
2251         * gsf/gsf-output-iconv.h: Make GsfOutputIconvClass public.
2252         * gsf/gsf-output-impl.h: Make GsfOutputClass public.
2253         * gsf/gsf-output-csv.h: Make GsfOutputCsvClass public.
2254
2255 2005-04-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
2256
2257         * configure.in: Fixed the GNOME support check: "LIBGSF_MODULES" needed
2258         to be expanded in the PKG_CHECK_MODULES.
2259
2260 2005-04-01  Morten Welinder  <terra@gnome.org>
2261
2262         * gsf/gsf-output-iconv.c: New file.
2263         * gsf/gsf-output-csv.c: New file.
2264
2265         * gsf/gsf-output.c (gsf_output_dispose): Silently close if needed.
2266
2267 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
2268
2269         s/INCLUDES/AM_CPPFLAGS/  "automake -Wall" has told me this.
2270
2271         * configure.in: More sophisticated check for zlib, an improved
2272           version of the check in gnumeric (to be removed soon from there),
2273           which in turn was inspired by libxml2's configure.in.
2274           Require Autoconf 2.54 and other cosmetic changes.
2275         * autogen.sh: Require Autoconf 2.54 and other cosmetic changes.
2276
2277 2005-03-31  Morten Welinder  <terra@gnome.org>
2278
2279         * gsf/gsf-output.c (gsf_output_set_error): Make public.
2280
2281         * */*.c: Don't test for NULL before g_free.
2282
2283         * gsf/gsf-utils.h (GSF_LE_GET_GINT64, GSF_LE_SET_GINT64,
2284         GSF_LE_SET_GUINT64): New macros for completeness.
2285
2286 2005-03-29  Morten Welinder  <terra@gnome.org>
2287
2288         * gsf/gsf-impl-utils.h (GSF_PARAM_STATIC): Define suitably.
2289         * gsf/*.c: Use GSF_PARAM_STATIC for properties.
2290
2291         * configure.in: Don't check for readline and lstat.  Do check for
2292         mode_t.
2293
2294         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Again use mode_t
2295         for saved umask.
2296
2297 2005-03-28  Morten Welinder  <terra@gnome.org>
2298
2299         * */*.c: Use canonical property names.
2300
2301 2005-03-25  Morten Welinder  <terra@gnome.org>
2302
2303         * gsf/gsf-output-stdio.c (gsf_output_stdio_close): In case of
2304         error, simply unlink the temporary file and leave the target file
2305         alone.
2306
2307         * gsf/gsf-output-gzip.c (gzip_output_block): If we cannot write to
2308         the sink, set an error for ourself.
2309         (gzip_flush): If we get a compression failure, set an error for
2310         ourself.
2311
2312         * gsf/gsf-input-gzip.c (gsf_input_gzip_class_init): Install
2313         set_property, get_property, and constructor methods.
2314         (check_header): Allow skipping the header.  Allow getting
2315         uncompressed size from construction property.
2316         (gsf_input_gzip_read): Allow having to trailer.
2317         (gsf_input_gzip_dup): Cleanly construct the new object.
2318
2319         * gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Rename
2320         "container" property to "raw" with opposite semantics.
2321
2322 2005-03-25  Morten Welinder  <terra@gnome.org>
2323
2324         * gsf/gsf-output-gzip.c (gsf_output_gzip_set_property): Handle
2325         NULL sink better.
2326         (gsf_output_gzip_new): Don't bother closing the output on error.
2327
2328         * gsf/gsf-output.c (gsf_output_dispose): Renamed from _finalize.
2329         Don't complain when a stream with an error is not closed -- just
2330         silently close it.
2331         (gsf_output_class_init): Hook up for _dispose instead of
2332         _finalize.
2333
2334         * gsf/gsf-output-gzip.c (gsf_output_gzip_close): Do nothing for a
2335         stream with an error.
2336
2337 2005-03-25  Morten Welinder  <terra@gnome.org>
2338
2339         * gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Install
2340         set_property, get_property, and constructor methods.
2341         (gsf_output_gzip_constructor): Allow skipping the gzip header.
2342         (gsf_output_gzip_close): Allow skipping the tail.
2343
2344 2005-03-24  Morten Welinder  <terra@gnome.org>
2345
2346         * gsf/gsf-output-stdio.c (gsf_access): Renamed from
2347         file_is_writable.  Make it a full access wrapper.  Caller changed.
2348
2349 2005-03-23  Morten Welinder  <terra@gnome.org>
2350
2351         * gsf/gsf-utils.c (gsf_filename_to_utf8): Make this sane (which it
2352         never was).  We no longer use this, but keep it around.
2353         (gsf_extension_pointer): Fix this for Win32.
2354
2355 2005-03-23  Ivan, Wong Yat Cheung <email@ivanwong.info>
2356
2357         * gsf/gsf-msole-utils.c: Add new function
2358         gsf_msole_iconv_get_codepage_string_list() which returns all
2359         possible names of a codepage given a codepage number. This helps
2360         gsf_msole_iconv_open_codepage_for_(im|ex)port().
2361         * gsf-win32/Makefile.am: some more minor changes so that
2362         libgsf_win32_1_la can be built as dll.
2363
2364 2005-03-23  Morten Welinder  <terra@gnome.org>
2365
2366         * gsf/gsf-output-stdio.c (follow_symlinks): Handle lack of ELOOP.
2367
2368         * gsf/gsf-input-memory.c (gsf_input_mmap_new): g_open has a
2369         mandatory mode arg that open does not.
2370
2371 2005-03-22  Morten Welinder  <terra@gnome.org>
2372
2373         * gsf/gsf-libxml.c (close_tag_if_neccessary): New function.
2374         (gsf_xml_out_add_cstr_unchecked, gsf_xml_out_add_cstr): Use
2375         close_tag_if_neccessary.  Patch from #167166.
2376
2377 2005-03-22  Morten Welinder  <terra@gnome.org>
2378
2379         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Conditionalize
2380         owner/group stuff on HAVE_CHOWN.  Use file_is_writable.
2381         (file_is_writable): New function.
2382
2383         * gsf/gsf-input-memory.c (gsf_input_mmap_new): Use f_open, not
2384         open.
2385
2386         * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new): Simplify using
2387         g_mkdir.
2388
2389         * configure.in: Require glib 2.6 for g_filename_display_name.
2390
2391         * gsf/gsf-output-stdio.c (rename_wrapper): Use g_rename and
2392         g_unlink.
2393         (gsf_output_stdio_new): Use g_stat.  Fix error message.
2394
2395         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Don't call perror.
2396         (struct GsfInputStdio): Add filename member.
2397         (gsf_input_stdio_finalize): Free filename member.
2398         (gsf_input_stdio_dup): Use filename member.
2399         (gsf_input_stdio_new): Fix error messages; initialize filename
2400         member; use g_fopen to open file.
2401
2402         * gsf/gsf-docprop-vector.c: Fix includes.
2403
2404         * gsf/gsf-infile-stdio.c (gsf_infile_stdio_new): Simply using
2405         glib's GDir stuff.  (This should fix Win32 in the process.)
2406
2407 2005-03-05  Jody Goldberg <jody@gnome.org>
2408
2409         Patch from Frank Chiulli
2410         * gsf/Makefile.am : Add gsf-docprop-vector
2411         * gsf/gsf-docprop-vector.{c,h} : new files to add vector support
2412         * tests/test-msole1.c (print_property) : support for vectors
2413         * gsf/gsf-msole-utils.c (msole_prop_parse) : ditto
2414
2415 2005-02-02  Dom Lachowicz <cinamod@hotmail.com>
2416
2417         * gsf/gsf-output-gnomevfs.c: A bit more robustness and documentation
2418         for bug 159442.
2419
2420 2005-01-16  Dom Lachowicz <cinamod@hotmail.com>
2421
2422         * gsf/gsf-output-gnomevfs.c: This should fix bug 159442 by truncating
2423         newly-created files whenever possible WHILE preserving file permissions.
2424
2425 2004-09-25  Stepan Kasal <kasal@ucw.cz>
2426
2427         * gsf/gsf-output-stdio.c: Use g_file_read_link() - (bug 149827)
2428
2429 2004-12-02  Dom Lachowicz <cinamod@hotmail.com>
2430
2431         * gsf/gsf-input-memory.c: Add mmap support on win32 (bug #160294)
2432         * gsf/gsf-shared-memory.c: Ditto
2433
2434 2004-12-06  Jody Goldberg <jody@gnome.org>
2435
2436         * configure.in : post release bump
2437
2438 2004-12-06  Jody Goldberg <jody@gnome.org>
2439
2440         * Release 1.11.1
2441
2442 2004-12-05  Morten Welinder  <terra@gnome.org>
2443
2444         * gsf/gsf-output-stdio.c (gsf_output_stdio_close): Flush file if
2445         we don't close it.
2446
2447 2004-12-01  Morten Welinder  <terra@gnome.org>
2448
2449         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Make sure new
2450         files end us with as lose permissions as the umask says.
2451         [#159331]
2452         (rename_wrapper): New function to hide the fact that Win32's
2453         rename does not unlink the target file if it exists.  [#160108]
2454
2455 2004-11-28  Jody Goldberg <jody@gnome.org>
2456
2457         * configure.in : Post release bump
2458
2459 2004-11-28  Jody Goldberg <jody@gnome.org>
2460
2461         * Release 1.11.0
2462
2463 2004-11-28  Jody Goldberg <jody@gnome.org>
2464
2465         * gsf/gsf-msole-utils.c (msole_prop_parse) : NULL unhandled types
2466
2467 2004-11-25  Sven Herzberg  <herzi@gnome-de.org>
2468
2469         * gsf-gnome/gsf-output-gnomevfs.c: (gsf_output_gnomevfs_new_uri):
2470         truncate the output file to length 0 when opening (fix #159442)
2471
2472 2004-11-23  Jody Goldberg <jody@gnome.org>
2473
2474         * gsf/gsf-output-stdio.c (gsf_output_stdio_close) : add a hook to
2475           accept existing FILE*
2476         (gsf_output_stdio_new_FILE) : new.
2477
2478 2004-11-19  Veerapuram Varadhan <vvaradhan@novell.com>
2479
2480         * Add gsf/gsf-meta-names.h
2481
2482         * gsf/gsf-doc-meta-data.[ch] (gsf_get_prop_val,
2483         gsf_get_prop_val_str): new
2484         (gsf_doc_meta_data_get_prop) : return GsfDocProp instead of
2485         GsfDocMetaData.  Caller should release the return value.
2486
2487         * gsf/Makefile.am : Add gsf-meta-names.h to the list of headers.
2488
2489 2004-11-16  Jody Goldberg <jody@gnome.org>
2490
2491         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : Check the unknown
2492           handler if we come across something that has not been registered
2493           yet.
2494         (gsf_xml_in_doc_set_unknown_handler) : new.
2495         (gsf_xml_in_doc_new) : split part of this out into
2496         (gsf_xml_in_doc_extend) : here, so that we can add nodes to a
2497           description later.
2498
2499 2004-11-12  Morten Welinder  <terra@gnome.org>
2500
2501         * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Escape 1..31 when used
2502         in attributes.
2503
2504 2004-11-02  Jody Goldberg <jody@gnome.org>
2505
2506         * tests/test-msole1.c (test) : fix leak and use
2507           gsf_msole_metadata_read_real.
2508
2509         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store them in
2510           GsfDocProp
2511         (gsf_msole_metadata_read_real) : renamed from gsf_msole_metadata_read
2512         (gsf_msole_metadata_read) : a quick stub to avoid creating a leak in
2513           existing calls to this routine.
2514
2515 2004-11-02  Jody Goldberg <jody@gnome.org>
2516
2517         From Frank
2518         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store the
2519           properties
2520         * tests/test-msole1.c (test) : dump the properties
2521         * gsf/Makefile.am : Add gsf-doc-meta-data.c to the build
2522         * gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_set_prop) : init
2523           the GValue before we assign.
2524
2525 2004-09-20  Morten Welinder  <terra@gnome.org>
2526
2527         * gsf/*.c: Remove useless casts of 0 to gsf_off_t in parameters.
2528
2529         * gsf/gsf-output.c (gsf_output_set_name_from_filename): New function.
2530         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Use
2531         gsf_output_set_name_from_filename.
2532         * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new): Use
2533         gsf_output_set_name_from_filename.
2534
2535         * gsf/gsf-input.c (gsf_input_set_name_from_filename): New function.
2536         * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Use
2537         gsf_input_set_name_from_filename.
2538         * gsf/gsf-infile-stdio.c (gsf_infile_stdio_new): Use
2539         gsf_input_set_name_from_filename.
2540
2541         * gsf/gsf-infile-zip.c (zip_update_stream_in): Add seek error check.
2542         (gsf_infile_zip_read): Ditto.
2543
2544 2004-09-19  Dom Lachowicz <cinamod@hotmail.com>
2545
2546         * configure.in: Morten's VFS local copy requires VFS >= 2.2. Upgrade configure check.
2547         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri): Follow symlinks similarly to the STDIO input
2548         * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Convert file name to UTF8
2549         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Convert file name to UTF8
2550         * BUGS: remove above
2551
2552 2004-09-17  Morten Welinder  <terra@gnome.org>
2553
2554         * gsf/gsf-infile-zip.c (zip_find_trailer): Fix gsf_input_seek
2555         check.
2556
2557         * gsf/gsf-input.c: Doc fixes, notably reversing the sense of
2558         gsf_input_seek_emulate's return value.
2559
2560 2004-09-17  Morten Welinder  <terra@gnome.org>
2561
2562         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
2563         Force local copy for small (<256KB) files that are not local.
2564
2565         * gsf/gsf-infile-msole.c (gsf_infile_msole_new): Add a proxy layer
2566         so we don't have to dup files or net connections.
2567
2568         * gsf/gsf-input.c (gsf_input_dup): Provide error messages.
2569
2570         * gsf/gsf-input-proxy.c (gsf_input_proxy_read): gsf_input_read
2571         updates our position so we should not.
2572
2573         * gsf/gsf-input-proxy.[ch]: New file.
2574
2575 2004-09-16  Morten Welinder  <terra@gnome.org>
2576
2577         * gsf/gsf-input-textline.c (gsf_input_textline_dup): Set size.
2578
2579         * gsf/gsf-input-memory.c (gsf_input_memory_dup): Set size.
2580
2581         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ugly
2582         work-around for gnome-vfs bug.
2583
2584         * gsf/gsf-input.c (gsf_input_dup): Check size and seek return
2585         value.
2586
2587         * gsf/gsf-infile.c (gsf_infile_child_by_name): Protect against
2588         NULL input name.
2589         (gsf_infile_child_by_index): Ditto.
2590
2591         * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Handle
2592         failure to dup.
2593         (ole_info_get_sb_file): Handle failure to dup.
2594         (gsf_infile_msole_new_child): Handle failure from
2595         ole_info_get_sb_file.
2596
2597 2004-09-15  Dom Lachowicz <cinamod@hotmail.com>
2598
2599         * gsf-win32/gsf-input-win32.c: Create more meaningful error messages
2600         from HRESULTs.
2601         * gsf-win32/gsf-output-win32.c: Ditto. Add error reporting.
2602
2603 2004-08-27  Stepan Kasal  <kasal@ucw.cz>
2604
2605         * gsf/gsf-outfile-zip.c (gsf_outfile_zip_seek): Use G_GNUC_UNUSED.
2606         * gsf/gsf-output-gzip.c (gsf_output_gzip_seek): Likewise.
2607         * gsf/gsf-structured-blob.c (blob_dup): Likewise.
2608         * gsf/gsf-input-textline.c (gsf_input_textline_dup): Likewise.
2609         * gsf/gsf-input-memory.c (gsf_input_memory_dup): Likewise.
2610         (gsf_input_mmap_new): Remove useless #warning.
2611
2612 2004-08-26  Morten Welinder  <terra@gnome.org>
2613
2614         * gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Don't
2615         check size overflow here.
2616         (gsf_shared_memory_mmapped_new): Check it here.  Return NULL if we
2617         don't have mmap.
2618
2619         * gsf/gsf-timestamp.c (gsf_value_set_timestamp): Renamed from
2620         g_value_set_timestamp.
2621
2622 2004-08-25  Stepan Kasal  <kasal@ucw.cz>
2623
2624         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root): Be careful
2625           with empty files (fixes bug #150923).
2626
2627 2004-08-25  Morten Welinder  <terra@gnome.org>
2628
2629         * gsf/gsf-utils.c (gsf_base64_encode_step): Avoid potential
2630         rounding error.
2631
2632         * gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Kill
2633         pointless #warning.
2634
2635 2004-08-23  Jody Goldberg <jody@gnome.org>
2636
2637         * gsf/gsf-libxml.c (gsf_xml_out_add_cstr) : Add some libxml compat
2638           behavior and ignore NULLs
2639         (gsf_xml_out_add_cstr_unchecked) : ditto
2640
2641 2004-08-17  Stepan Kasal  <kasal@ucw.cz>
2642
2643         * gsf/gsf-utils.c (BASE64_LINE_LEN): New constant to determine
2644           the line length, my mbox indicates that 76 is commonly used.
2645         (gsf_base64_encode_simple): Use it.
2646         (gsf_base64_encode_step): Use it too; remember that `already'
2647           holds line length / 4.
2648         (gsf_base64_encode_close): Don't add '\n' if not necessary.
2649
2650 2004-07-29  Stepan Kasal  <kasal@ucw.cz>
2651
2652         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_full): One more sanity
2653           check, bb.size has to be at least DIRENT_SIZE.
2654         (gsf_outfile_msole_close_root): For non-root dirs, don't set
2655           FIRSTBLOCK to DIRENT_MAGIC_END, it is BAT_MAGIC_END_OF_CHAIN; though
2656           both are -1.  Explanation: BAT_MAGIC_END_OF_CHAIN is of type ``block
2657           number'' while DIRENT_MAGIC_END is of type ``dirent number''.
2658
2659 2004-08-20  Jody Goldberg <jody@gnome.org>
2660
2661         * configure.in : post release version bump
2662
2663 2004-08-20  Jody Goldberg <jody@gnome.org>
2664
2665         * Release 1.10.1
2666
2667 2004-08-17  Jon K Hellan  <hellan@acm.org>
2668
2669         * gsf/gsf-utils.c (gsf_base64_decode_simple): Revert base64
2670         initialization change.
2671
2672 2004-08-16  Morten Welinder  <terra@gnome.org>
2673
2674         * gsf/gsf-utils.c (gsf_base64_encode_simple): Request line
2675         breaking.
2676
2677 2004-08-13  Jon K Hellan  <hellan@acm.org>
2678
2679         * gsf/gsf-utils.c (gsf_base64_decode_simple): Initialize during
2680         first use.
2681
2682 2004-08-10  Morten Welinder  <terra@gnome.org>
2683
2684         * gsf/gsf-input-textline.c (gsf_input_textline_utf8_gets): Fix
2685         off-by-one in buffer length check.
2686
2687 2004-08-08  Jon K Hellan  <hellan@acm.org>
2688
2689         * gsf/gsf-output-stdio.c (follow_symlinks, gsf_output_stdio_new):
2690         Use g_error_new_literal, not g_error_new on strings which we do
2691         not control.
2692
2693 2004-07-30  Christopher James Lahey  <clahey@ximian.com>
2694
2695         * gsf/gsf-input.c (gsf_input_class_init), gsf/gsf-output.c
2696         (gsf_output_class_init): Use correct types for properties here.
2697
2698 2004-07-30  Jody Goldberg <jody@gnome.org>
2699
2700         * gsf/gsf-libxml.c (gsf_xml_out_class_init) : Init the parent_class
2701           here.
2702         (gsf_xml_out_init) : not here.
2703
2704 2004-07-27  Stepan Kasal  <kasal@ucw.cz>
2705
2706         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_full):
2707           Fix a race condition with a static buffer.
2708           Write correct sb.shift to the header, even if it differs
2709           from the default.
2710
2711 2004-07-29  Jody Goldberg <jody@gnome.org>
2712
2713         * gsf/gsf-outfile-msole.c (ole_bytes_left_in_block) : sigh.
2714           Pull my head out of my rearend.  a one line function with two
2715           errors.  I really shouldn't code when tired.
2716         (ole_pad_zero) : remove residual parm rename ole_ from bb_
2717         (ole_pad_bat_unused) : add a residual parm.
2718         (gsf_outfile_msole_close_root) : pad metabat with BAT_UNUSED
2719
2720 2004-07-29  Morten Welinder  <terra@gnome.org>
2721
2722         * gsf/gsf-input-memory.c (gsf_input_mmap_new): Use NULL, not 0 for
2723         pointer.
2724         (gsf_input_memory_seek): Use G_GNUC_UNUSED instead of
2725         void-casting.
2726
2727         * gsf/gsf-libxml.c (gsfXMLInParser): Ditto.
2728         (gsf_xml_in_get_entity, gsf_xml_in_warning, gsf_xml_in_error,
2729         gsf_xml_in_fatal_error): Use G_GNUC_UNUSED instead of
2730         void-casting.
2731         (gsf_xml_out_add_color): Make buffer size overflow safe.
2732
2733         * gsf/gsf-utils.c: Always #define G_ARMFLOAT_ENDIAN.
2734
2735 2004-07-28  Stepan Kasal  <kasal@ucw.cz>
2736
2737         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root):
2738           Check for overflow of the size field of a regular file entry.
2739
2740 2004-07-28  Jody Goldberg <jody@gnome.org>
2741
2742         * gsf/gsf-outfile-msole.c (bb_pad_zero) : add a residual param to not
2743           fill the entire block if desired and clarify that the current block
2744           is cur_size - HEADER not block_size.
2745         (gsf_outfile_msole_close_root) : Clarify the metabat writing logic a
2746           bit and just in case add a CHAIN_END to the last incomplete metabat
2747         (ole_bytes_left_in_block) : similar to Kasal's suggestion without the
2748           -1 % size + 1
2749         (bb_pad_zero) : use it here to make this safe to use when not at the
2750           end of the file.
2751         (ole_pad_bat_unused) : and here to fix the mystery corruption when XL
2752           reads the file.
2753
2754 2004-07-27  Jody Goldberg <jody@gnome.org>
2755
2756         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root) : the last
2757           xbat does not require a forwarding link
2758
2759 2004-07-27  Stepan Kasal  <kasal@ucw.cz>
2760
2761         * gsf/gsf-outfile-msole.c (metabat_size): Nuke; doesn't have to
2762           be an instance variable, it can be local ...
2763         (gsf_outfile_msole_close_root): ... here.
2764         (gsf_outfile_msole_set_block_shift): Don't set metabat_size.
2765
2766 2004-07-26  Jody Goldberg <jody@gnome.org>
2767
2768         * gsf/gsf-outfile-msole.c (OLE_DEFAULT_METABAT_SIZE): delete
2769         (gsf_outfile_msole_close_root) : pull out of
2770         (gsf_outfile_msole_close) : here as a cleanup gesture.
2771
2772         Per : Stepan Kasal  <kasal@ucw.cz>
2773         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_set_block_shift) : Use
2774           BAT_INDEX_SIZE, not hardwired shift of 2.
2775         (gsf_outfile_msole_close): Use the current sb.shift, not
2776           OLE_DEFAULT_SB_SHIFT.
2777
2778 2004-07-23  Stepan Kasal  <kasal@ucw.cz>
2779
2780         Replace various instances of local parent_class variables by
2781         a static ones, initialized by class_init.
2782         * gsf/gsf-*.c: (20 files touched)
2783         * gsf/gsf-output-transaction.c: A general cleanup.
2784
2785 2004-07-21  Stepan Kasal  <kasal@ucw.cz>
2786
2787         The gsf_ouput_printf method didn't correctly update cur_offset.
2788
2789         The implementations of vprintf virtual method shouldn't touch
2790         cur_offset but they should return the number of bytes written;
2791         the dispatcher updates cur_offset accordingly.
2792
2793         * gsf/gsf-output-impl.h (Vprintf): The virtual private method now
2794           returns number of bytes printed.
2795         * gsf/gsf-output.c (gsf_output_vprintf): Renamed to ...
2796           (gsf_output_ireal_vprintf): ... this.
2797           (gsf_output_printf): Collect the va_list and call ...
2798           (gsf_output_vprintf): ... this new function, which dispatches
2799           the Vprintf virtual method and takes care of updating cur_offset
2800           and cur_size, via ...
2801           (gsf_output_inc_cur_offset): ... a new static function, extracted
2802           from ...
2803           (gsf_output_write): ... there.
2804           (gsf_output_real_vprintf): In this fallback code, don't call
2805           gsf_output_write, but only dispatch to the Write virual method,
2806           so that gsf_output_inc_cur_offset is not called twice.
2807         * gsf/gsf-output.h (gsf_output_vprintf): New public method.
2808         * gsf/gsf-output-stdio.c (gsf_output_stdio_vprintf): Adapt.
2809         * gsf/gsf-output-transaction.c (gsf_output_trans_vprintf): Likewise.
2810         * gsf/gsf-outfile-msole.c (gsf_output_class): New static variable,
2811           which is set to point to GsfOutput class structure.
2812           (gsf_outfile_msole_vprintf): Adapt. If it's a MSOLE_BIG_FILE,
2813           call vprintf method of the underlaying file, else fall back to
2814           gsf_output_class->Vprintf.
2815         * gsf/gsf-output-memory.c (parent_class): New static variable.
2816           (gsf_output_memory_vprintf): Use it too. Adapt to the new prototype.
2817
2818 2004-07-21  Stepan Kasal  <kasal@ucw.cz>
2819
2820         Make the two fseek() wrappers more consistent.
2821
2822         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Fix the overflow
2823           checking.
2824         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Set errno=0
2825           before calling fseek().
2826
2827 2004-07-21  Stepan Kasal  <kasal@ucw.cz>
2828
2829         Gnomish autogen.sh uses ACLOCAL_FLAGS, if some of the macros are
2830         in nonstandard places.  If you touch configure.in then, aclocal.m4
2831         is regenerated, but without ACLOCAL_FLAGS.  This change ensures
2832         that ACLOCAL_FLAGS is propagated to the Makefile.
2833
2834         * configure.in: AC_SUBST(ACLOCAL_FLAGS)
2835         * Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
2836
2837 2004-07-20  Stepan Kasal  <kasal@ucw.cz>
2838
2839         * gsf/gsf-output-stdio.c: Check for overflow
2840
2841 2004-07-09  Stepan Kasal  <kasal@ucw.cz>
2842
2843         * gsf/gsf-infile-zip.c (zip_find_trailer): Remove the
2844           "overflow check"; it can never catch anything.
2845
2846         * gsf/gsf-output-memory.c (MAX_STEP): Parenthesize.
2847         (gsf_output_memory_expand): Fix the overflow checking.
2848         (gsf_output_memory_seek): make use of G_GNUC_UNUSED, instead of void
2849          reference.
2850
2851 2004-07-12  Stepan Kasal  <kasal@ucw.cz>
2852
2853         * gsf/gsf-output-iochannel.c (GET_OUTPUT_CLASS): Remove unused macro.
2854         * gsf/gsf-structured-blob.c (GET_CLASS): Likewise.
2855
2856 2004-06-15  Jody Goldberg <jody@gnome.org>
2857
2858         * gsf/gsf-utils.c (gsf_input_dump) : flush the stream when we're just
2859           using stdio.
2860
2861 2004-07-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
2862
2863         * configure.in: recheck all PKG_CHECK_MODULES for libgsf for
2864         libgsf-gnome as well, so as not to trip on unresolved symbols with a
2865         -Wl,-z,defs build.
2866
2867 2004-07-03  Jody Goldberg <jody@gnome.org>
2868
2869         * configure.in : post release bump
2870
2871 2004-07-03  Jody Goldberg <jody@gnome.org>
2872
2873         * Release 1.10.0
2874
2875 2004-07-01  Jody Goldberg <jody@gnome.org>
2876
2877         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_vprintf) : premature
2878           optimization is the root of all evil.  We can not directly write
2879           small block data because it will be in the wrong place and will miss
2880           the transition to large block.  This is not a hugely common case and
2881           does not need such special attention.
2882
2883 2004-06-25  Jody Goldberg <jody@gnome.org>
2884
2885         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek) : conditionalize the
2886           use of fseeko.
2887         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : ditto.
2888         * gsf/gsf-outfile-msole.c : Extend Stuart's work to use the internal
2889           block sizes rather than keeping them global.
2890
2891 2004-06-25  Jody Goldberg <jody@gnome.org>
2892         For : Stuart Cunningham <stuartc@rd.bbc.co.uk>
2893         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek) : use fseeko
2894         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : ditto.
2895         * gsf/gsf-outfile-msole.c : rework to honor the requested block sizes
2896
2897 2004-06-15  Morten Welinder  <terra@gnome.org>
2898
2899         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
2900         Don't leak info components.  Handle lack of get_file_info
2901         supports.  Rework make_local_copy case.  Work around gnomevfs
2902         get_file_info bogosity.
2903
2904 2004-06-13  Jody Goldberg <jody@gnome.org>
2905
2906         * configure.in : bump to 1.10.0 to handle all the signature changes in
2907           return values.
2908         * *.[ch] : return the interesting base type rather than the derived
2909           type for *_new.
2910
2911 2004-06-11  Morten Welinder  <terra@gnome.org>
2912
2913         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Change
2914         return type to plain GsfInput*.
2915         (gsf_input_gnomevfs_new_uri): Change return type to plain
2916         GsfInput*.  If seek is not supported, snarf a local copy.
2917
2918 2004-06-06  Dom Lachowicz <cinamod@hotmail.com>
2919
2920         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Better
2921         solution for Morten's problem.
2922
2923 2004-05-26  Morten Welinder  <terra@gnome.org>
2924
2925         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Handle
2926         failure to parse URI.
2927
2928 2004-05-20  Dom Lachowicz <cinamod@hotmail.com>
2929
2930         * gsf/gsf-outfile-stdio.c: mkdir() has a different prototype on win32
2931
2932 2004-05-17  Jody Goldberg <jody@gnome.org>
2933
2934         * gsf/gsf-infile-msole.c (ole_dirent_new) : work around odd files from
2935           softmaker, seems like they consider dirs to be rootdirs ??
2936
2937 2004-05-17  Morten Welinder  <terra@gnome.org>
2938
2939         * gsf/gsf-utils.c (gsf_le_get_double, gsf_le_set_double): Attempt
2940         ARM fix.  Fix various #error messages.
2941
2942 2004-05-15  Jody Goldberg <jody@gnome.org>
2943
2944         * configure.in : post release bump
2945
2946 2004-05-15  Jody Goldberg <jody@gnome.org>
2947
2948         * Release 1.9.1
2949
2950 2004-05-11  Jody Goldberg <jody@gnome.org>
2951
2952         * gsf/gsf-libxml.c (gsf_xml_out_set_doc_type) : new.
2953
2954         * doc/gsf-sections.txt : more cleanup, still ugly but at least it's
2955           somewhat better.
2956         * doc/gsf-docs.sgml : drop the useless Gsf section
2957
2958 2004-05-09  Jody Goldberg <jody@gnome.org>
2959
2960         * s/ZipDirent/GsfZipDirent
2961         * s/ZipVDir/GsfZipVDir
2962
2963 2004-05-09  Dom Lachowicz <cinamod@hotmail.com>
2964
2965         * gsf/gsf-infile-zip.c: Don't pollute the global namespace
2966         * gsf/gsf-outfile-zip.c: Ditto
2967         * gsf/gsf-zip-impl.h: Ditto
2968         * gsf/gsf-zip-utils.c: Ditto
2969
2970 2004-05-09  Dom Lachowicz <cinamod@hotmail.com>
2971
2972         * gsf/gsf-infile-stdio.c: Fix non-static definition of 'parent_class'
2973         * gsf/gsf-outfile-stdio.c: Ditto
2974
2975 2004-05-07  James M. Cape <jcape@ignore-your.tv>
2976
2977         * doc/gsf-sections.txt: Hide type macros.
2978         * gsf/gsf-output.c: s/<protected>/<note>/.
2979
2980 2004-05-06  Jody Goldberg <jody@gnome.org>
2981
2982         http://bugzilla.gnome.org/show_bug.cgi?id=141899
2983         * doc/Makefile.am : Apply patch from James Cape
2984
2985 2004-05-05  J.H.M. Dassen (Ray) <jdassen@debian.org>
2986
2987         * doc/Makefile.am: Install docs in the $(DOC_MODULE) subdir of
2988         $(HTML_DIR) rather than in $(HTML_DIR) itself.
2989
2990 2004-05-05  Jody Goldberg <jody@gnome.org>
2991
2992         * configure.in : post release bump
2993
2994 2004-05-04  Jody Goldberg <jody@gnome.org>
2995
2996         * Release 1.9.0
2997
2998 2004-05-04  Jody Goldberg <jody@gnome.org>
2999
3000         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : support merging of
3001           content from a node and some of it's children
3002         (gsf_xml_in_end_element) : ditto.
3003         (gsf_xml_in_characters) : ditto.
3004         (sf_xml_in_doc_new) : kludge to support the old interface but still
3005           allow new semantics.
3006
3007 2004-05-01  Dom Lachowicz <cinamod@hotmail.com>
3008
3009         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Don't
3010         require gnome-vfs-method.h
3011
3012         * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri): we
3013         require random access.
3014
3015         * gsf-win32/gsf-input-win32.c: fix seek's return value in the win32
3016         IStream input.
3017
3018 2004-04-28  Jody Goldberg <jody@gnome.org>
3019
3020         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : we
3021           require random access.
3022
3023 2004-04-26  Jody Goldberg <jody@gnome.org>
3024
3025         * doc/Makefile.am : steal a few things from gtk-doc.make to get things
3026           building.  A full jump to gtk-doc.make directly is failing, dunno
3027           why
3028
3029         * Makefile.am : Remove the AUTOMAKE_OPTIONS = 1.4 that disabled the
3030           DISTCHECK_CONFIGURE_FLAGS
3031
3032 2004-04-24  Jody Goldberg <jody@gnome.org>
3033
3034         * gsf/gsf-infile-msole.c (ole_dirent_new) : placate the bogus
3035           -fstrict-aliasing gods.  gcc is being stupid.
3036
3037         * configure.in : call this 1.9.0
3038
3039 2004-04-27  Dom Lachowicz <cinamod@hotmail.com>
3040
3041         * gsf/gsf-output-bzip.c (gsf_output_bzip_write): If the output
3042         buffer turns full on the last deflate, empty the buffer.
3043
3044 2004-04-24  Morten Welinder  <terra@gnome.org>
3045
3046         * gsf/gsf-output-gzip.c (gsf_output_gzip_write): If the output
3047         buffer turns full on the last deflate, empty the buffer.
3048
3049 2004-04-05  Jody Goldberg <jody@gnome.org>
3050
3051         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek) : fix sense
3052           of return.  This code is clearly not being used.  A year and a half
3053           and no one noticed ???
3054
3055 2004-03-31  Morten Welinder  <terra@gnome.org>
3056
3057         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Plug leak.
3058
3059 2004-03-31  Michael Meeks  <michael@ximian.com>
3060
3061         * tests/test-msvba-zip.c (find_match):
3062         size limit the matches to the available bits for
3063         storing the match length (doh). & make debug nicer.
3064
3065 2004-03-16  Morten Welinder  <terra@gnome.org>
3066
3067         * gsf/gsf-output.c (gsf_output_finalize): Chain up.
3068         * gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Chain up.
3069         * gsf-gnome/gsf-shared-bonobo-stream.c
3070         (gsf_shared_bonobo_stream_finalize): Chain up.
3071
3072 2004-03-12  Michael Meeks  <michael@ximian.com>
3073
3074         * gsf/gsf-infile-msvba.c (vba_dir_read),
3075         * tests/test-msvba-zip.c (decode_dir):
3076         simplify / treat op 9 as the quirk-meister.
3077
3078 2004-03-11  Michael Meeks  <michael@ximian.com>
3079
3080         * tests/test-msvba-zip.c (decode_dir): better
3081         quirk understanding.
3082         (find_match): remove unnecessary hacks.
3083
3084 2004-03-10  Michael Meeks  <michael@ximian.com>
3085
3086         * tests/test-msvba-zip.c (decode_dir): impl.
3087         a good run at enterpreting 'dir'.
3088
3089         * tests/test-msvba-zip.c (do_compress): bin nasty
3090         3 byte header store / restore and generate header
3091         on the fly.
3092
3093 2004-03-09  Michael Meeks  <michael@ximian.com>
3094
3095         * tests/test-msvba-zip.c (find_match): shrink dodgy
3096         looking matches.
3097
3098 2004-03-08  Michael Meeks  <michael@ximian.com>
3099
3100         * tests/test-msvba-zip.c (output_match): add a
3101         small/stupid LZSS compressor.
3102
3103 2004-03-08  Michael Meeks  <michael@ximian.com>
3104
3105         * tests/test-msvba-zip.c: add for compressing/decompressing
3106         'dir' (or other pure compressed) streams.
3107
3108         * gsf/gsf-msole-utils.c (gsf_msole_inflate): move from
3109         * gsf/gsf-infile-msvba.c (gsf_vba_inflate): here.
3110
3111 2004-03-01  Jody Goldberg <jody@gnome.org>
3112
3113         * configure.in : drop -Wmissing-format-attribute because it was
3114           irritating me.
3115
3116 2004-03-01  Jody Goldberg <jody@gnome.org>
3117
3118         * gsf/gsf-outfile-stdio.c :
3119         * gsf/gsf-infile-stdio.c : Some utility wrappers to pull or push from
3120           a directory tree.
3121         * tests/test-dump-msole.c :
3122         * tests/test-restore-msole.c : tests for it.
3123
3124 2004-02-24  Dom Lachowicz <cinamod@hotmail.com>
3125
3126         * configure.in: Add Win32 stuff
3127         * libgsf-win32-1.pc.in: Ditto
3128         * Makefile.am: Ditto
3129         * gsf-win32/Makefile.am: Win32 build system
3130
3131 2004-02-05  Jon K Hellan  <hellan@acm.org>
3132
3133         * configure.in: Fix typo.
3134
3135 2004-02-05  Tomasz K³oczko <kloczek@pld.org.pl>
3136
3137         * Makefile.am: Added "DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc"
3138           for force correct pass build documentation during "make dist"
3139           (like in many other GNOME projects).
3140           Added gtk-doc.make to EXTRA_DIST for generate correct tar ball on
3141           "make dist".
3142         * configure.in: Removed old on place defined gtk-doc suport and added use
3143           GTK_DOC_CHECK([1.0]).
3144
3145 2004-01-30  Jody Goldberg <jody@gnome.org>
3146
3147         * gsf/gsf-libxml.c (gsf_xml_in_fatal_error) : Looks like Daniel has
3148           added another field
3149
3150 2004-01-30  Jody Goldberg <jody@gnome.org>
3151
3152         http://bugzilla.gnome.org/show_bug.cgi?id=130596
3153         * configure.in : apply the patch
3154
3155 Wed Jan 28 00:43:36 2004  Matthias Clasen  <maclas@gmx.de>
3156
3157         * doc/Makefile.am (EXTRA_HFILES): Add ../gsf-gnome/*.h to give
3158         gtk-doc a chance to pick up declarations from there.  (Partial fix
3159         for bug #132661.
3160
3161 2004-01-20  Jody Goldberg <jody@gnome.org>
3162
3163         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : minor portability fix.
3164
3165 2004-01-18  Dom Lachowicz <cinamod@hotmail.com>
3166
3167         * gsf/gsf-msole-utils.c: Country code for Albania is sq_AL not al_AL
3168         * gsf-win32/*.c: Some work on the IStream input and output
3169
3170 2003-12-09  Dom Lachowicz <cinamod@hotmail.com>
3171
3172         * gsf/*.c: Documentation
3173
3174 2003-12-06  Jody Goldberg <jody@gnome.org>
3175
3176         * gsf/gsf-infile-msvba.c : Major work.
3177           We can now extract the compressed source for all of our sample
3178           files.  There's still lots of unknowns, but at least the code
3179           is visible now.  The next step will be looking at the p-code
3180
3181 2003-11-28  Jody Goldberg <jody@gnome.org>
3182
3183         * gsf/gsf-utils.c (gsf_input_hex_dump) : new.
3184         (gsf_mem_dump_full) : expand the interface a bit.
3185
3186 2003-11-03  Jody Goldberg <jody@gnome.org>
3187
3188         * gsf/Makefile.am (uninstall) : make the impl headers for the base
3189           interfaces public.
3190
3191 2003-10-29  Jody Goldberg <jody@gnome.org>
3192
3193         * gsf/gsf-msole-utils.c (msole_prop_parse) : The anal check should
3194           take the prevailing char width also as noted by Xavier Roche.
3195
3196         * gsf/gsf-infile-msole.c (ole_init_info) : Doh!  do not double convert
3197           to native endianness.  Fixes error reading files > 13.6 Meg on sparc
3198           and alpha as noted by Xavier Roche.
3199
3200 2003-10-21  Jody Goldberg <jody@gnome.org>
3201
3202         * gsf/gsf-msole-utils.c : Make the codepage arguments int to allow
3203           smooth handling of bogus files that encode the codepage as an int
3204           and break the utf-8 page '65001' because it looks like -535
3205
3206 2003-10-09  Jody Goldberg <jody@gnome.org>
3207
3208         * libgsf-gnome-1.spec.in : An old patch from Joseph Frazee
3209
3210 2003-09-29  Jody Goldberg <jody@gnome.org>
3211
3212         * gsf/gsf-infile-msole.c (gsf_infile_msole_new) : as noted by Nick
3213           Lamb a failure should not change the file pos of @input.
3214
3215 2003-09-23  Jody Goldberg <jody@gnome.org>
3216
3217         * configure.in : downgrade.  No need to force a version bump yet.
3218         * gsf/gsf-libxml.c (gsf_xml_parser_context_full) : use a _full version
3219           internally because that seems cleaner than manually tweaking pointers.
3220           However, its a cosmetic change and not worth a version bump.
3221
3222 2003-09-22  Jody Goldberg <jody@gnome.org>
3223
3224         * configure.in : jump to 1.9.0 for api change.
3225
3226         * gsf/gsf-libxml.c :  Initialize sax handler correctly to make sure
3227           they work with libxml2 2.6.0.
3228         (gsf_xml_parser_context) : take a sax handler and user data so taht we
3229           can initialize it on creation.
3230
3231 2003-09-21  Tor Lillqvist  <tml@iki.fi>
3232
3233         * libgsf-zip.in: New file.
3234
3235         * configure.in: Expand it.
3236
3237         * Makefile.am (EXTRA_DIST): Distribute it.
3238
3239 2003-09-13  Jody Goldberg <jody@gnome.org>
3240
3241         * configure.in : post release bump to 1.8.3 for now.
3242           If this becomes the basis for the interleaved write support it will
3243           jump to 1.9 without a release.
3244
3245 2003-09-12  Jody Goldberg <jody@gnome.org>
3246
3247         * Release 1.8.2
3248
3249 2003-09-12  Jody Goldberg <jody@gnome.org>
3250
3251         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : libole2 depends
3252           on all entries having names.  Hard code 'Root Entry' for the root.
3253
3254 2003-08-24  Dom Lachowicz <cinamod@hotmail.com>
3255
3256         * win/libgsf.ds*: Add win32 project files, from Jeremy Davis
3257         * gsf/*: Some casts and ifdefs to let this puppy build on win32 using
3258         MSVC. Also from Jeremy Davis, with some touch-up work by myself.
3259         * configure.in: check for <io.h>
3260
3261 2003-08-03  Jody Goldberg <jody@gnome.org>
3262
3263         * gsf/gsf-outfile-msole.c : some initial work to define an interface
3264           for using non-default block sizes.  We're just managing these values
3265           not using them yet.
3266
3267 2003-08-02  Jody Goldberg <jody@gnome.org>
3268
3269         * gsf/gsf-infile-msole.c (ole_make_bat) : weaken the post condition
3270           from error -> warning in the event that a BAT is missing a valid
3271           terminator.  We've already loaded a BAT, and we're sure that it is
3272           not too big.  Hopefully this will allow some of the data to be
3273           restored.
3274
3275 2003-08-01  Jody Goldberg <jody@gnome.org>
3276
3277         For Stuart Cunningham <stuartc@rd.bbc.co.uk>
3278         * gsf/gsf-infile-msole.c (gsf_infile_msole_read) : another patch to
3279           fix non-default sector size support.
3280
3281 2003-07-17  Jody Goldberg <jody@gnome.org>
3282
3283         * gsf/gsf-infile-zip.c (zip_dup) : take an error arg.
3284         (zip_child_init) : ditto.
3285         (gsf_infile_zip_dup) : use the error from zip_dup and zip_child_init.
3286
3287         * gsf/gsf-infile-impl.h : Take GError args for child_by_* virtuals.
3288           We can not expose them yet.
3289         * gsf/gsf-structured-blob.c (blob_child_by_index) : fix here.
3290         (blob_child_by_name) : and here.
3291         * gsf/gsf-infile-ar.c : and here.
3292         * gsf/gsf-infile-msvba.c : and here.
3293
3294         * gsf/gsf-infile-msole.c (ole_dup) : catch gsf_input_dup failures
3295           for the underlying source, and take a GError arg.
3296         (gsf_infile_msole_dup) : pass the new err arg to ole_dup and use error
3297           from ole_dup directly.  No need to cruft another one up.
3298         (gsf_infile_msole_new_child) : Take a GError arg to pass to ole_dup.
3299
3300 2003-07-15  Jody Goldberg <jody@gnome.org>
3301
3302         For Stuart Cunningham <stuartc@rd.bbc.co.uk>
3303         * gsf/gsf-infile-msole.c (ole_get_block) : fix ole block seeking in
3304           4k-sector files
3305
3306 2003-07-03  Jody Goldberg <jody@gnome.org>
3307
3308         For : Stuart Cunningham <stuartc@rd.bbc.co.uk>
3309         * gsf/gsf-infile-msole.c (ole_dirent_new) : store the directory's CLSID
3310         (gsf_infile_msole_get_class_id) : new.
3311
3312         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : store the CLSID
3313         (gsf_outfile_msole_set_class_id) : new.
3314         (gsf_outfile_msole_init) : be really anal and ensure the CLSID is 0.
3315
3316 2003-07-02  Jody Goldberg <jody@gnome.org>
3317
3318         * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child) : Even if a
3319           directory claims to have a size set it to 0.  Thanks to the AAF
3320           people for the test case.
3321
3322 2003-06-28  Jody Goldberg <jody@gnome.org>
3323
3324         * doc/Makefile.am : fix the case when gtk-doc is not available
3325
3326 2003-06-20  Morten Welinder  <terra@gnome.org>
3327
3328         * gsf/gsf-input-gzip.c (gsf_input_gzip_read): Handle premature end
3329         of stream.
3330
3331 2003-06-21  Jody Goldberg <jody@gnome.org>
3332
3333         As per ryang@bway.org :
3334         * README : s/automake/autoconf/ and add automake details.
3335
3336 2003-06-15  Jon K Hellan  <hellan@acm.org>
3337
3338         * configure.in: Remove test for obsolete orbit-python module.
3339
3340 2003-06-09  J.H.M. Dassen (Ray) <jdassen@debian.org>
3341
3342         * debian/*: Updated debianisation.
3343
3344 2003-06-07  Jody Goldberg <jody@gnome.org>
3345
3346         * configure.in : post release version bump
3347
3348 2003-06-07  Jody Goldberg <jody@gnome.org>
3349
3350         * Release 1.8.1
3351
3352 2003-06-06  Jody Goldberg <jody@gnome.org>
3353
3354         * gsf/gsf-libxml.c (gsf_xml_out_simple_int_element) : new util.
3355         (gsf_xml_out_simple_float_element) : ditto.
3356
3357 2003-05-14  J.H.M. Dassen (Ray) <jdassen@debian.org>
3358
3359         * gsf/Makefile.am: Added $(LIBGSF_LIBS) to libgsf_1_la_LIBADD to get
3360         complete inter-library dependency information.
3361
3362 2003-05-13  Dom Lachowicz <cinamod@hotmail.com>
3363
3364         * COPYING.LIB: update the the version of the LGPL license we're
3365         actually licensed under
3366
3367 2003-05-13  Dom Lachowicz <cinamod@hotmail.com>
3368
3369         * libgsf-1.spec.in: Updates from Rui
3370
3371 2003-05-12  Morten Welinder  <terra@gnome.org>
3372
3373         * gsf/gsf-output-gzip.c (gsf_output_gzip_finalize): Plug
3374         truck-sized leak.
3375
3376 2003-05-12  Jody Goldberg <jody@gnome.org>
3377
3378         * configure.in : post release version bump
3379
3380 2003-05-11  Jody Goldberg <jody@gnome.org>
3381
3382         * Release 1.8.0
3383
3384 2003-04-29  Dom Lachowicz <cinamod@hotmail.com>
3385
3386         * gsf-win32/gsf-input-istream.[ch]: IStream based input. Untested
3387         * gsf-win32/gsf-output-istream.[ch]: IStream based output. Untested
3388
3389 2003-04-29  Morten Welinder  <terra@gnome.org>
3390
3391         * gsf/gsf-msole-utils.c
3392         (gsf_msole_iconv_open_codepage_for_import): Try MACROMAN as alias
3393         for 10000.
3394
3395 2003-04-28  Morten Welinder  <terra@gnome.org>
3396
3397         * gsf/gsf-msole-utils.c
3398         (gsf_msole_iconv_open_codepage_for_import): Remove code
3399         duplication.
3400
3401 2003-04-21  Jody Goldberg <jody@gnome.org>
3402
3403         * gsf/gsf-infile-msole.c (ole_dirent_new) : terminate the name before
3404           conversion.
3405
3406 2003-04-15  Morten Welinder  <terra@gnome.org>
3407
3408         * gsf/gsf-input-memory.c (gsf_input_mmap_new): FREEBSD have broken
3409         mmap -- we must keep the file descriptor around.
3410
3411 2003-04-09  Jody Goldberg <jody@gnome.org>
3412
3413         From Xavier Roche <roche@exalead.com>
3414         * gsf/gsf-msole-utils.c (msole_prop_parse) : gsize is not always
3415           guinit32.  Fixes sparc-64 problem.
3416         * gsf/gsf-infile-msvba.c (vba3_dir_read) : ditto.
3417
3418 2003-04-01  Jody Goldberg <jody@gnome.org>
3419
3420         * gsf/gsf-impl-utils.h : Add utils for objects in plugins
3421
3422 2003-03-20  Dom Lachowicz <cinamod@hotmail.com>
3423
3424         * configure.in: Better checks for bz2
3425
3426 2003-03-20  Morten Welinder  <terra@diku.dk>
3427
3428         * gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Warning
3429         killer.
3430
3431         * gsf/gsf-libxml.c (gsf_xml_in_doc_new): Kill warning.
3432
3433 2003-03-09  Jody Goldberg <jody@gnome.org>
3434
3435         * Relicense from GPL -> LGPL
3436
3437 2003-03-05  Dom Lachowicz <cinamod@hotmail.com>
3438
3439         * NEWS: update for correctness and mention AR infile
3440         * README: typo police
3441
3442 2003-03-05  Jody Goldberg <jody@gnome.org>
3443
3444         * gsf/gsf-libxml.c : More morten  warnings
3445
3446 2003-03-05  Morten Welinder  <terra@diku.dk>
3447
3448         * gsf/gsf-input-memory.c (gsf_input_memory_seek): Fix return type.
3449
3450         * gsf/gsf-input.c (gsf_input_seek): Fix failure return.
3451
3452 2003-03-05  Morten Welinder  <terra@diku.dk>
3453
3454         * gsf/gsf-infile.c (gsf_infile_num_children): Fix failure return
3455         value.
3456         (gsf_infile_name_by_index): Ditto.
3457         (gsf_infile_child_by_index): Ditto.
3458         (gsf_infile_child_by_name): Ditto.
3459         * gsf/gsf-outfile.c (gsf_outfile_new_child): Ditto.
3460
3461 2003-03-04  Dom Lachowicz <cinamod@hotmail.com>
3462
3463         * gsf/gsf-zip-impl.h: s/off_t/gsf_off_t
3464         * gsf/gsf-infile-ar.[ch]: AR infile. DOES NOT YET WORK
3465
3466 2003-02-23  Dom Lachowicz <cinamod@hotmail.com>
3467
3468         * gsf/gsf-input.c (gsf_input_copy): remove == TRUE for Morten
3469
3470 2003-02-22  Dom Lachowicz <cinamod@hotmail.com>
3471
3472         * gsf/gsf-input.c (gsf_input_uncompress): Support uncompressing BZ2
3473         streams as well, optionally
3474
3475 2003-02-22  Dom Lachowicz <cinamod@hotmail.com>
3476
3477         * gsf/gsf-output-bzip.c: Restructure things so that it's possible to
3478         build without bzip2 support
3479
3480 2003-02-22  Dom Lachowicz <cinamod@hotmail.com>
3481
3482         * gsf/gsf-input-textline.c: Replace g_realloc with g_renew
3483         * gsf/gsf-output-memory.c: Ditto
3484
3485 2003-02-21  Dom Lachowicz <cinamod@hotmail.com>
3486
3487         * gsf/gsf-input-bzip.c: Implement this
3488         * gsf/gsf-input-memory.[ch]: New function: gsf_input_memory_new_clone
3489         * gsf/Makefile.am: Build bz2 importer, distribute header
3490         * tests/test-bzip.c: New test
3491         * tests/Makefile.am: Add new test
3492
3493 2003-02-20  Dom Lachowicz <cinamod@hotmail.com>
3494
3495         * gsf/gsf-input-bzip.[ch]: Stubs for a BZ2 input I'm working on
3496
3497 2003-02-18  Dom Lachowicz <cinamod@hotmail.com>
3498
3499         * gsf/gsf-input.c (gsf_input_class_init): Install GObject properties
3500         (gsf_input_get_property): Ditto
3501         (gsf_input_set_property): Ditto
3502
3503         * gsf/gsf-output.c (gsf_output_class_init): Install GObject properties
3504         (gsf_output_get_property): Ditto
3505         (gsf_output_set_property): Ditto
3506
3507 2003-02-14  Dom Lachowicz <cinamod@hotmail.com>
3508
3509         * configure.in: Emit a warning instead of breaking if VFS and Bonobo
3510         aren't found, but --without-gnome wasn't specified. Makes the KDE folk
3511         happy.
3512
3513 2003-02-11  Jody Goldberg <jody@gnome.org>
3514
3515         * configure.in : compartmentalize the bzip config tests, and trust
3516           libtool for the dependent libraries enough to not mention them in
3517           the pkg-config file
3518
3519         * gsf/gsf-output-bzip.c : improve the conditionalization.
3520
3521         * gsf/gsf-input-iochannel.c (gsf_input_memory_new_from_iochannel) :
3522           warning suppression.
3523
3524 2003-02-09  Dom Lachowicz <cinamod@hotmail.com>
3525
3526         * configure.in: Changes to (optionally) compile bz2 functionality
3527         * Makefile.am: Ditto
3528         * gsf/Makefile.am: Ditto
3529         * tests/Makefile.am: Ditto
3530         * gsf/gsf-output-bzip2.c: Changes to optionally compile parts of this
3531
3532 2003-02-09  Dom Lachowicz <cinamod@hotmail.com>
3533
3534         * tests/test-out-bzip.c: Tester for new BZip2 output
3535         * gsf/gsf-impl-utils.h: Correct typo
3536         * gsf/gsf-output-gzip.c: Fix memory leak (leaked buffer)
3537         * gsf/gsf-output-bzip.[ch]: New output class, not currently built
3538
3539 2003-02-09  Dom Lachoiwcz <cinamod@hotmail.com>
3540
3541         * gsf/gsf-input-iochannel.[ch]: Rework as per Jody's suggestions. Now
3542         it is a utility constructor.
3543
3544 2003-02-09  Dom Lachowicz <cinamod@hotmail.com>
3545
3546         * gsf/gsf-input-iochannel.c: Fixed iochannel. Unfortunately uses memory
3547         backend because there's no way to query the size of an IOChannel
3548
3549 2003-02-07  Rodrigo Moya <rodrigo@gnome-db.org>
3550
3551         * gsf/gsf-input-iochannel.[ch]: new GIOChannel based input.
3552
3553 2003-02-07  Dom Lachowicz <cinamod@hotmail.com>
3554
3555         * gsf/gsf-doc-meta-data.[ch]: Clean API a bit to include consts, gsize
3556
3557 2003-02-05  Jody Goldberg <jody@gnome.org>
3558
3559         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : clip long names,
3560           and do not output a name for the root file.
3561
3562 2003-02-04  Dom Lachowicz <cinamod@hotmail.com>
3563
3564         * Changed below commit to use g_new instead of g_malloc + typecast, at
3565         Jody's and Morten's request
3566
3567 2003-02-01  Dom Lachowicz <cinamod@hotmail.com>
3568
3569         * gsf/gsf-infile-msole.c
3570         * gsf/gsf-infile-zip.c
3571         * gsf/gsf-input-gzip.c
3572         * gsf/gsf-input-stdio.c
3573         * gsf/gsf-input-textline.c
3574         * gsf/gsf-outfile-msole.c
3575         * gsf/gsf-output-gzip.c
3576         * gsf/gsf-output-memory.c
3577         * gsf/gsf-utils.c
3578         * gsf-gnome/gsf-input-bonobo.c
3579         * gsf-gnome/gsf-input-gnomevfs.c: More castings needed
3580
3581 2003-02-01  Dom Lachowicz <cinamod@hotmail.com>
3582
3583         * gsf/gsf-infile-msole.c: Some castings to help things build using
3584         MSVC++
3585         * gsf/gsf-msole-utils.c: Ditto
3586
3587 2003-01-31  Dom Lachowicz <cinamod@hotmail.com>
3588
3589         * test/*.c: Correctness fixes in the testcases. No need to unref a null
3590         object
3591
3592 2003-01-29  Dom Lachowicz <cinamod@hotmail.com>
3593
3594         * *: With Jody's permission, change all _new() calls to return the
3595         derived/subclassed type, instead of the mix we had before
3596         * tests/*: Updated to conform with above
3597
3598 2003-01-28  Jody Goldberg <jody@gnome.org>
3599
3600         * configure.in : post release version bump
3601
3602 2003-01-28  Jody Goldberg <jody@gnome.org>
3603
3604         * Release 1.7.2
3605
3606 2003-01-24  Jody Goldberg <jody@gnome.org>
3607
3608         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : be a touch more anal.
3609
3610 2003-01-24  Jody Goldberg <jody@gnome.org>
3611
3612         * configure.in : remove -Wunreachable-code it was damn irritating and
3613           mostly wrong.
3614
3615         * gsf/gsf-msole-utils.c : warning suppression.
3616
3617         * gsf/gsf-libxml.c (gsf_xml_in_start_element) : support default
3618           namespaces.
3619         (gsf_xml_in_end_element) : ditto.
3620         (gsf_xml_in_start_document) : ditto.
3621
3622 2003-01-23  J.H.M. Dassen (Ray) <jdassen@debian.org>
3623
3624         * configure.in: Calculate MAJOR_VERSION_PLUS_MINOR_VERSION.
3625
3626 2003-01-22  Jody Goldberg <jody@gnome.org>
3627
3628         * gsf/gsf-libxml.c : Rename everything (again) and add namespace
3629           support for the import wrappers.
3630
3631         * configure.in : bump version to 1.7.1 to reflect the major changes in
3632           the xml import/export api.
3633
3634 2003-01-22  J.H.M. Dassen (Ray) <jdassen@debian.org>
3635
3636         * gsf/gsf-utils.h, gsf/gsf-utils.c (gsf_base64_encode_close,
3637         gsf_base64_encode_step), gsf/gsf-input.c (gsf_input_copy,
3638         gsf_input_uncompress),
3639         gsf-input-textline.c (gsf_input_textline_utf8_gets): Fixed signedness.
3640
3641 2003-01-21  J.H.M. Dassen (Ray) <jdassen@debian.org>
3642
3643         * gsf/gsf-msole-utils.c: Mark the 11644473600 constant as ULL.
3644
3645 2003-01-21  J.H.M. Dassen (Ray) <jdassen@debian.org>
3646
3647         * gsf/gsf-input.c: The gzip signature consists of unsigned chars.
3648
3649 2003-01-21  J.H.M. Dassen (Ray) <jdassen@debian.org>
3650
3651         * gsf/gsf-libxml.c, gsf/gsf-output-memory.c, gsf/gsf-output.c,
3652         gsf/gsf-structured-blob.c, gsf/gsf-zip-utils.c: #include <string.h> for
3653         strcmp(), strlen() and memcpy().
3654
3655 2003-01-21  J.H.M. Dassen (Ray) <jdassen@debian.org>
3656
3657         * configure.in: Redirect grep output to /dev/null instead of using -q
3658         which Morten pointed out doesn't work on Solaris.
3659
3660 2003-01-20  J.H.M. Dassen (Ray) <jdassen@debian.org>
3661
3662         * configure.in: Check if -D_POSIX_SOURCE is needed for the fdopen()
3663         prototype in a cleaner fashion; might fix problems on Mac OS X.
3664
3665 2003-01-09  Morten Welinder  <terra@diku.dk>
3666
3667         * gsf/gsf-input-stdio.c (gsf_input_stdio_read): Handle eof.
3668
3669 2003-01-08  Dom Lachowicz <cinamod@hotmail.com>
3670
3671         * gsf/gsf-output-iochannel.c (gsf_output_iochannel_write): ensure
3672         large writes happen
3673
3674         * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_write):
3675         Ditto
3676
3677         * gsf/gsf-input-stdio.c (gsf_input_stdio_read): Ensure that large
3678         reads happen
3679
3680         * gsf-gnome/gsf-output-gnomevfs.c (gsf_input_gnomevfs_read) :
3681         Ditto
3682
3683 2003-01-08  Jody Goldberg <jody@gnome.org>
3684
3685         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : fix off by 1 in
3686           calculation of how many meta bats are required.  Store correct
3687           position of initial xbat, the original code did not take small
3688           blocks into account.
3689
3690         * gsf/gsf-infile-msole.c (ole_make_bat) : add protection against
3691           cycles.
3692
3693 2003-01-07  Jody Goldberg <jody@gnome.org>
3694
3695         * gsf/gsf-libxml.c (gsf_output_xml_add_attr_cstr_safe) : clone over
3696           logic for escaping strings from libxml and revamp it to be more
3697           libgsf-ish.
3698
3699         * gsf/gsf-utils.c : rename the base64 utilities and clean up the types
3700           and const to match gsf conventions.
3701
3702 2003-01-06  Dom Lachowicz <cinamod@hotmail.com>
3703
3704         * gsf/gsf-output-transaction.c : New capability - transacted
3705         outputs. Not thoroughly tested.
3706
3707         * tests/test-trans.c : Transaction testsuite for above
3708
3709         * gsf/gsf-output-stdio.c (gsf_output_stdio_write) : Put write
3710         inside of a loop to ensure that large writes are carried out
3711         properly and feof is properly detected
3712
3713         * TODO: remove the "try to support canceling a write" item since
3714         such functionality is supported via transactions
3715
3716 2003-01-05  Tor Lillqvist  <tml@iki.fi>
3717
3718         * configure.in: Check for lstat() and readlink().  Check for
3719         native Win32 and for Win32 in general (including Cygwin).  Set
3720         automake conditionals OS_WIN32 and PLATFORM_WIN32 accordingly.
3721         Add AC_LIBTOOL_WIN32_DLL.
3722
3723         * gsf/Makefile.am: On Win32, use -no-undefined, and install (and
3724         uninstall) import libraries.
3725
3726         * gsf/gsf-output-stdio.c: Add workaround #defines for various Unix
3727         stuff on Win32. Bypass follow_symlinks() unless HAVE_READLINK.
3728
3729 2003-01-05  Jody Goldberg <jody@gnome.org>
3730
3731         * gsf/gsf-utils.c : Pull in the bas64 utilites from evolution.  Unused
3732           for now.
3733
3734 2003-01-05  Jody Goldberg <jody@gnome.org>
3735
3736         * gsf/gsf-output.c (cb_output_unwrap) : renamed from
3737           cb_output_wrap_screwup and weaken restrictions.  The weak ref
3738           handler is called before the wrappers finalize, so we can not always
3739           unwrap in such a way as to avoid a warning.  Just handle it silently
3740           now.
3741         (gsf_output_wrap) : ditto.  Weaken the requirement of the wrapper to
3742           be a GObject, no need for a full fledged GsfOutput.
3743         (gsf_output_unwrap) : ditto.
3744
3745         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : fix reversal of
3746           arguments for the wrapping.
3747         (gsf_outfile_msole_write) : ditto.
3748         * gsf/gsf-outfile-zip.c (zip_init_write) : ditto.
3749         (zip_close_stream) : ditto.
3750
3751         * gsf/gsf-libxml.c : rename xml_sax -> GsfInputXML
3752         (GsfOutputXML) : new
3753
3754 2003-01-03  Jody Goldberg <jody@gnome.org>
3755
3756         * gsf/gsf-impl-utils.h : add hooks for interfaces
3757
3758 2002-12-24  Jody Goldberg <jody@gnome.org>
3759
3760         * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : patch some warnings.
3761
3762 2003-01-01  J.H.M. Dassen (Ray) <jdassen@debian.org>
3763
3764         * debian/changelog, debian/control, debian/libgsf-1-dev.dirs,
3765         debian/libgsf-1-dev.files, debian/rules: Updated.
3766
3767 2002-12-30  Jon K Hellan  <hellan@acm.org>
3768
3769         * gsf/gsf-msole-utils.c (msole_prop_parse): Check if res is a GValue.
3770         (gsf_msole_metadata_read): Check if v is a GValue and holds an int
3771         before reading codepage. Check if v is a GValue before unsetting.
3772
3773 2002-12-23  Morten Welinder  <terra@diku.dk>
3774
3775         * gsf/gsf-libxml.c (gsf_xml_output_buffer_new): Fix comment and
3776         ref output to match gsf_libxml_close.
3777
3778 2002-12-20  Morten Welinder  <terra@diku.dk>
3779
3780         * gsf/gsf-libxml.c (gsf_libxml_close): Plug leak.
3781
3782 2002-12-19  Dom Lachowicz <cinamod@hotmail.com>
3783
3784         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Able to
3785         open URI objects as well as strings
3786
3787         * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri) : ditto
3788
3789 2002-12-11  Jody Goldberg <jody@gnome.org>
3790
3791         * configure.in : post release version bump.
3792
3793 2002-12-11  Jody Goldberg <jody@gnome.org>
3794
3795         * Release 1.6.0
3796
3797 2002-12-10  Jody Goldberg <jody@gnome.org>
3798
3799         * gsf/gsf-msole-utils.c (gsf_msole_lid_for_language) : Suggestion from
3800         Nicolas Peninguy <peninguy.nicolas@wanadoo.fr>
3801
3802 2002-12-10  Jody Goldberg <jody@gnome.org>
3803
3804         * gsf/gsf-infile-msole.c (gsf_infile_msole_finalize) : do not unref
3805           the info for the magic internal small block file it was already
3806           removed.
3807         (ole_info_get_sb_file) : do not create a reference loop from the info
3808           to the small block file and back.  Remove the default reference from
3809           the magic internal small block file to the info.
3810
3811 2002-12-10  Morten Welinder  <terra@diku.dk>
3812
3813         * gsf/gsf-structured-blob.c (blob_finalize): Link to the right
3814         parent type.
3815
3816         * gsf/gsf-outfile-zip.c (zip_dirent_new_out): Don't allocate and
3817         throw away memory.
3818
3819 2002-12-09  Jon K Hellan  <hellan@acm.org>
3820
3821         * gsf/gsf-msole-utils.c (msole_prop_parse): Fix typo.
3822
3823 2002-12-09  Morten Welinder  <terra@diku.dk>
3824
3825         * gsf/gsf-outfile-zip.c (disconnect_children): Factor out from
3826         zip_close_root.
3827         (gsf_outfile_zip_finalize): Use here too.  (This closes a leak if
3828         closing fails.)
3829
3830         * gsf/gsf-msole-utils.c (msole_prop_parse): Free the property
3831         values until we figure out what to do with them.
3832
3833         * gsf/gsf-infile-msole.c (gsf_infile_msole_finalize): Plug leak.
3834
3835         * gsf/gsf-timestamp.c (gsf_timestamp_as_string): 64-bit fix.
3836
3837 2002-12-04  Dom Lachowicz <cinamod@hotmail.com>
3838
3839         * gsf/gsf-input.c (gsf_input_copy): Copies a GsfInput to a GsfOutput.
3840         Will probably be useful for some abiword stuff I'll be doing
3841
3842         * tests/test-cp.c: New test program exercising gsf_input_copy
3843
3844 2002-12-04  Morten Welinder  <terra@diku.dk>
3845
3846         * gsf/gsf-output-stdio.c (follow_symlinks): Fix error return
3847         conventions.
3848         (gsf_output_stdio_new): Clean up error messages.
3849
3850 2002-12-03  Morten Welinder  <terra@diku.dk>
3851
3852         * gsf/gsf-output-stdio.c (gsf_output_stdio_close): Try much harder
3853         restoring owner and permissions.  Still not good.
3854         (gsf_output_stdio_new): Simplify using g_path_get_dirname.
3855         Respect non-writable files!
3856         (follow_symlinks): Simplify using g_path_is_absolute and
3857         g_path_get_dirname.  Eliminate some race conditions.
3858
3859 2002-11-29  Jon K Hellan  <hellan@acm.org>
3860
3861         * gsf/gsf-output-gzip.c (init_gzip): Return set error if
3862         deflateInit2 fails.
3863         (gzip_output_header): Add missing argument to time().
3864
3865 2002-11-27  Jon K Hellan  <hellan@acm.org>
3866
3867         * gsf/gsf-libxml.c (gsf_libxml_close): Change to do nothing. We
3868         expect higher layers to close.
3869         (gsf_xmlDocFormatDump): Use encoding argument. Don't call
3870         xmlOutputBufferClose - libxml calls it for us via the callback we
3871         supply.
3872
3873         * gsf/gsf-libxml.[ch] (gsf_xmlDocFormatDump: Add encoding parameter.
3874
3875 2002-11-27  Jon K Hellan  <hellan@acm.org>
3876
3877         * tests/Makefile.am (check_PROGRAMS): Add test-out-gzip.c
3878
3879         * gsf/gsf-output-gzip.[ch]: New files. Gzip output.
3880
3881         * gsf/Makefile.am (libgsf_1_la_SOURCES): Add gsf-output-gzip.c.
3882         (libgsf_1_include_HEADERS): Add gsf-output-gzip.h.
3883
3884 2002-11-25  Jon K Hellan  <hellan@acm.org>
3885
3886         * tests/test-outmem-printf.c (test): Adjust to new
3887         gsf_output_memory_get_bytes API.
3888
3889         * gsf/gsf-outfile-zip.c (root_register_child): Don't ref children
3890         which are directories.
3891
3892         * tests/test-zip-out-subdirs.c (test): Make close/unref strategy
3893         the same as in test-cp-zip/test-cp-ole (with change above, this
3894         works!). Test closing subdirs at different times in the lifecycle.
3895
3896 2002-11-25  Jon K Hellan  <hellan@acm.org>
3897
3898         * gsf/gsf-outfile-zip.c (zip_init_write): Fail if already writing
3899         to another stream in archive. Set "writing" flag in zip root to
3900         indicate that we're writing to a stream.
3901         (zip_close_stream): Unset "writing" flag in zip root to indicate
3902         that we're now free to write to a new stream.
3903          (zip_close_root): s/g_message/g_warning/.
3904
3905         * tests/test-zip-out-subdirs.c (test): Close each substream before
3906         starting to write to the next.
3907
3908 2002-11-24  Jon K Hellan  <hellan@acm.org>
3909
3910         * gsf/gsf-outfile-zip.c (stream_name_len,
3911         stream_name_write_to_buf): Stop recursing at root of zip archive,
3912         i.e. don't append name of archive file to stream names. Take zip
3913         rather than outfile argument.
3914         (stream_name_build): Take zip rather than outfile argument.
3915         (zip_dirent_new_out): Call stream_name_build with new signature.
3916
3917 2002-11-24  Dom Lachowicz <cinamod@hotmail.com>
3918
3919         * gsf/gsf-ouput-iochannel.c (): New output sink. No IOChannel
3920         input sink possible due to API limitations
3921
3922         * gsf/gsf-input-stdio.c (_new): Open files with "rb" status
3923
3924 2002-11-24  Dom Lachowicz <cinamod@hotmail.com>
3925
3926         * gsf/gsf-output-memory.c (gsf_output_memory_get_bytes): WARNING:
3927         changed prototype
3928         (gsf_output_memory_seek): Re-implement seek() in a saner fashion
3929         (gsf_output_memory_write): ditto
3930         (gsf_output_memory_vprintf): ditto
3931         (gsf_output_memory_init): ditto
3932
3933 2002-11-24  Dom Lachowicz <cinamod@hotmail.com>
3934
3935         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Code
3936         cleanup
3937
3938 2002-11-24  Dom Lachowicz <cinamod@hotmail.com>
3939
3940         * gsf/gsf-output-memory.c (gsf_output_memory_seek): Implement
3941         seek() by implementing a cursor as well as the existing nwritten
3942         and capacity fields
3943         (gsf_output_memory_write): ditto
3944         (gsf_output_memory_vprintf): ditto
3945         (gsf_output_memory_init): ditto
3946
3947 2002-11-23  Jody Goldberg <jody@gnome.org>
3948
3949         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_vprintf) : rename from
3950           gsf_output_msole_vprintf to conform to naming convention.
3951         (gsf_outfile_msole_class_init) : hook up the vprintf method and fix
3952           some old cut-n-paste errors.
3953
3954         * gsf/gsf-output.c (gsf_output_finalize) : free the new printf buf.
3955         (gsf_output_init) : init the new printf buf.
3956         (gsf_output_vprintf) :  use a stream local buffer and handle older
3957           version of glibc that did not return the required number of
3958           characters.
3959
3960 2002-11-23  Jon K Hellan  <hellan@acm.org>
3961
3962         * tests/test-zip-out-subdirs.c: New test program. Add.
3963
3964         * tests/Makefile.am (check_PROGRAMS): Add test-zip-out-subdirs.
3965
3966 2002-11-23  Jon K Hellan  <hellan@acm.org>
3967
3968         * tests/test-zip-out.c: New test program. Add.
3969
3970         * tests/Makefile.am (check_PROGRAMS): Add test-zip-out.
3971
3972         * gsf/gsf-outfile-zip.c (gsf_outfile_zip_finalize): Only free
3973         vdirs from the root down.
3974         (zip_trailer_write): Take no. of entries as a parameter, so that
3975         the root_order array doesn't have to be live when we call this
3976         function.
3977         (zip_close_root): Slight tweak of Dom's fix.
3978
3979 2002-11-23  Dom Lachowicz <cinamod@hotmail.com>
3980
3981         * gsf/gsf-outfile-zip.c (zip_close_root): Free the root_array and
3982         unref the child outputs when closing the root directory
3983
3984 2002-11-22  Dom Lachowicz <cinamod@hotmail.com>
3985
3986         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Disable creating
3987         backup copies of files, open files with "wb" status instead of
3988         just "w"
3989
3990 2002-11-22  Dom Lachowicz <cinamod@hotmail.com>
3991
3992         * gsf/gsf-output.c (gsf_output_puts): Check for null input
3993         (gsf_output_vprintf): Don't use static internal buffer, will lead
3994         to nasty race conditions and a memory-leak on shutdown
3995
3996 2002-11-22  Jon K Hellan  <hellan@acm.org>
3997
3998         * tests/test-outmem-printf.c: New test program. Add.
3999
4000         * tests/Makefile.am (check_PROGRAMS): Add test-outmem-printf.
4001
4002         * gsf/gsf-output-memory.c (gsf_output_memory_vprintf):
4003         New. vprintf implementation which uses g_vsnprintf directly
4004         into buffer if there is space.
4005         (gsf_output_memory_class_init):  Initialize vprintf virtual.
4006
4007 2002-11-22  Jody Goldberg <jody@gnome.org>
4008
4009         * doc/Makefile.am : pull in newer magic from gtk.
4010         * configure.in : ditto.
4011
4012 2002-11-22  Jon K Hellan  <hellan@acm.org>
4013
4014         * gsf/gsf-outfile-msole.c (gsf_output_msole_vprintf): New. vprintf
4015         implementation which falls through to the sink's implementation if
4016         possible.
4017         (gsf_outfile_msole_class_init):  Initialize vprintf virtual.
4018
4019         * gsf/gsf-output-stdio.c (gsf_output_stdio_vprintf): New. vprintf
4020         implementation which just falls through to vfprintf.
4021         (gsf_output_stdio_class_init): Initialize vprintf virtual.
4022
4023 2002-11-22  Jon K Hellan  <hellan@acm.org>
4024
4025         * tests/test-msole-printf.c: New test program. Add.
4026
4027         * tests/Makefile.am (check_PROGRAMS): Add test-msole-printf.
4028
4029 2002-11-21  Jon K Hellan  <hellan@acm.org>
4030
4031         * gsf/gsf-output.c (gsf_output_puts): Remove unused variable.
4032
4033 2002-11-21  Jon K Hellan  <hellan@acm.org>
4034
4035         * gsf/gsf-libxml.c (gsf_libxml_write): Fix inverted
4036         success/failure test.
4037
4038         * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Set name
4039
4040 2002-11-21  Jon K Hellan  <hellan@acm.org>
4041
4042         * gsf/gsf-output.[ch] (gsf_output_printf): New function. printf
4043         for GsfOutput.
4044         (gsf_output_puts): New function. fputs for GsfOutput.
4045
4046         * gsf/gsf-output-impl.h (struct GsfOutputClass): Add Vprintf virtual.
4047
4048         * gsf/gsf-output.c (gsf_output_class_init): Initialize to default
4049         vprintf method.
4050         (gsf_output_vprintf): New function: Default vprintf method.
4051
4052         * tests/test-out-printf.c: New test program. Add.
4053
4054         * tests/Makefile.am (check_PROGRAMS): Add test-out-printf.
4055
4056 2002-10-28  Jody Goldberg <jody@gnome.org>
4057
4058         * gsf/gsf-infile-msole.c (ole_dirent_new) : be more careful about
4059           invalid stream names.
4060
4061 2002-10-30  J.H.M. Dassen (Ray) <jdassen@debian.org>
4062
4063         * debian/changelog, debian/control, debian/rules: updated.
4064         * debian/shlibs.local: dropped.
4065
4066 2002-10-26  Jody Goldberg <jody@gnome.org>
4067
4068         * configure.in : post release version bump
4069
4070 2002-10-26  Jody Goldberg <jody@gnome.org>
4071
4072         * Release 1.5.0
4073
4074 2002-10-26  Jody Goldberg <jody@gnome.org>
4075
4076         * gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : remove warning.
4077
4078 2002-10-14  Jody Goldberg <jody@gnome.org>
4079
4080         * gsf/gsf-output-memory.c (gsf_output_memory_finalize) : close != exit.
4081           Chain to the parent, and keep the content around until detruction.
4082
4083 2002-10-22  Dom Lachowicz <cinamod@hotmail.com>
4084
4085         * gsf/gsf-msole-utils.c
4086         (gsf_msole_iconv_open_codepage_for_export): Fix bug where we used
4087         UTF-8 regardless of the 'from' codepage
4088
4089 2002-10-21  Dom Lachowicz <cinamod@hotmail.com>
4090
4091         * gsf/gsf-msole-utils.c (*): Large rewrite of the codepage handling
4092         code. More functions, more complete, more flexible, etc...
4093
4094 2002-10-18  Morten Welinder  <terra@diku.dk>
4095
4096         * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Handle
4097         end-of-buffer case without asserting.
4098
4099 2002-10-08  Morten Welinder  <terra@diku.dk>
4100
4101         * gsf/gsf-utils.c (gsf_filename_to_utf8): New function.
4102
4103         * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Ensure sane
4104         filenames before putting them into error messages.
4105         * gsf/gsf-output-stdio.c (follow_symlinks): Ditto.
4106         (gsf_output_stdio_new): Ditto.
4107         (gsf_output_stdio_close): Ditto.
4108         * gsf/gsf-input-memory.c (gsf_input_mmap_new): Ditto.
4109
4110 2002-10-01  Jody Goldberg <jody@gnome.org>
4111
4112         * gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : support recursive
4113           structures.
4114
4115 2002-09-30  Jody Goldberg <jody@gnome.org>
4116
4117         * configure.in : post release bump
4118
4119 2002-09-30  Jody Goldberg <jody@gnome.org>
4120
4121         * Release 1.4.0
4122
4123 2002-09-27  Jody Goldberg <jody@gnome.org>
4124
4125         * gsf/gsf-structured-blob.c (gsf_structured_blob_read) : fix.
4126         (gsf_structured_blob_write) : fix.
4127
4128 2002-09-26  Jon K Hellan  <hellan@acm.org>
4129
4130         * gsf/gsf-output-memory.c: Remove debug printouts.
4131
4132 2002-09-26  Jon K Hellan  <hellan@acm.org>
4133
4134         * gsf/gsf-output-memory.[ch] (gsf_output_memory_get_bytes): Take
4135         1st argument GsfOutputMemory instead of GsfOutput.
4136
4137         * gsf/gsf-output-memory.c (struct _GsfOutputMemory): Add
4138         'capacity' member.
4139         (gsf_output_memory_new): Don't duplicate work done in
4140         gsf_output_memory_init.
4141         (gsf_output_memory_expand): Encapsulate expansion and make it more
4142         intelligent.
4143         (gsf_output_memory_write): Use gsf_output_memory_expand.
4144         (gsf_output_memory_init): Initialize capacity.
4145
4146 2002-09-25  Jody Goldberg <jody@gnome.org>
4147
4148         * gsf/gsf-msole-utils.c (msole_prop_read) : remove some debug spew
4149           that snuck in.
4150
4151 2002-09-24  Jody Goldberg <jody@gnome.org>
4152
4153         * gsf/gsf-msole-utils.c :  support unicode property names and values,
4154           including some ugly heuristics to add the documented padding only
4155           when using unicode (? what where they smoking ?)
4156
4157 2002-09-23  Jody Goldberg <jody@gnome.org>
4158
4159         * gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : typo
4160           and make the errors more verbose.
4161
4162 2002-09-20  Jody Goldberg <jody@gnome.org>
4163
4164         * gsf/gsf-structured-blob.c (gsf_structured_blob_read) : handle out of
4165           memory.
4166
4167 2002-09-20  Jody Goldberg <jody@gnome.org>
4168
4169         * gsf/gsf-libxml.c (gsf_xmlSAX_parse) : some initial work on utility
4170           structures and routines to make building a sax parser easy.
4171
4172         * gsf/gsf-structured-blob.c : new utility to read/write trees of
4173           unparsed data.
4174
4175 2002-09-19  Jon K Hellan  <hellan@acm.org>
4176
4177         * gsf/gsf-outfile-zip.h (enum GsfZipCompressionMethod): Define.
4178
4179         * gsf/gsf-outfile-zip.[ch]
4180         (gsf_outfile_zip_set_compression_method): New function. Set
4181         compression method.
4182
4183         * gsf/gsf-outfile-zip.c (struct _GsfOutfileZip): Add
4184         compression_mehod member.
4185         (zip_dirent_new_out): Set compression method.
4186         (zip_header_write): Write current compression method.
4187         (zip_init_write, zip_close_stream, gsf_outfile_zip_write): Handle
4188         noncompressed streams.
4189         (zip_header_write_sizes): New function. Write crc and sizes to
4190         local file header.
4191         (gsf_outfile_zip_init): Initialize compression method to deflated.
4192         (gsf_outfile_zip_set_compression_method): New function. Set
4193         compression method.
4194
4195         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Fix typo.
4196
4197 2002-09-19  Jon K Hellan  <hellan@acm.org>
4198
4199         * gsf/gsf-infile-zip.c (zip_read_dirents): Don't expect a file
4200         header at the start of the archive. It's not required by the
4201         specification, and e.g. self-extracting zips do not have one.
4202         With this change, we can read self-extracting zips.
4203
4204 2002-09-16  Jody Goldberg <jody@gnome.org>
4205
4206         * gsf/gsf-output.c (gsf_output_close) : always close even if the
4207           implementation failed.
4208         (gsf_output_finalize) : free the error.
4209         (gsf_output_init) : init the error.
4210         (gsf_output_seek) : inver the return flag to be consistent with write.
4211         (gsf_output_error) : new.
4212         (gsf_output_set_error) : new.
4213
4214         * gsf/gsf-output-stdio.c : borrow the temp file handling from gedit so
4215           that we can handle setgid directories correctly.
4216
4217         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek) :
4218           invert the return type.
4219         * gsf/gsf-outfile-zip.c (gsf_outfile_zip_seek) : ditto.
4220         * gsf/gsf-output-memory.c (gsf_output_memory_seek) : ditto.
4221
4222         * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : add some error
4223           checking.
4224
4225 2002-09-15  Jody Goldberg <jody@gnome.org>
4226
4227         * gsf/gsf-msole-utils.c (gsf_msole_iconv_win_codepage) : fix warning.
4228
4229         * configure.in : reorder the _BSD_SOURCE and _POSIX_SOURCE tests
4230           because POSIX changes things under linux.
4231           Add an lstat test
4232
4233 2002-09-15  Jon K Hellan  <hellan@acm.org>
4234
4235         * tests/test-zip2.c: Add.
4236
4237 2002-09-14  Rodrigo Moya <rodrigo@gnome-db.org>
4238
4239         * gsf/gsf-command-context.[ch]: added support for warnings.
4240         (gsf_command_context_has_warnings, gsf_command_context_push_warning,
4241          gsf_command_context_pop_warning): new functions.
4242
4243 2002-09-14  Rodrigo Moya <rodrigo@gnome-db.org>
4244
4245         * gsf/gsf-command-context.[ch]: new class for command contexts,
4246         stealing some implementation from GsfIOContext.
4247
4248         * gsf/gsf-io-context.[ch]: base this class on GsfCommandContext.
4249
4250 2002-09-14  Jon K Hellan  <hellan@acm.org>
4251
4252         * gsf/gsf-infile-zip.c (gsf_infile_zip_read): Fix reading
4253         non compressed streams.
4254
4255 2002-09-13  Jody Goldberg <jody@gnome.org>
4256
4257         * gsf/gsf-msole-utils.c (msole_prop_read) : tweak boundary case
4258           to match reality
4259
4260 2002-09-14  Jon K Hellan  <hellan@acm.org>
4261
4262         * gsf/gsf-outfile-zip.[ch]: Really add this time.
4263
4264         * gsf/gsf-infile-zip.c: gsf-zip-utils.h doesn't exist - don't
4265         include it!
4266
4267         * gsf/gsf-zip-utils.c: Ditto.
4268
4269 2002-09-14  Jon K Hellan  <hellan@acm.org>
4270
4271         * tests/Makefile.am: Add test-cp-zip.c
4272
4273 2002-09-13  Jon K Hellan  <hellan@acm.org>
4274
4275         * tests/test-cp-zip.c: Add a test program for zip export.
4276
4277 2002-09-13  Jon K Hellan  <hellan@acm.org>
4278
4279         * gsf/gsf-zip-util.c: Add.
4280
4281         * gsf/gsf-infile-zip.c (enum ZipCompressionMethod, struct
4282         ZipDirent, struct ZipDir): Move to gsf-zip-impl.h.
4283         (vdir_new, vdir_free, vdir_compare, vdir_add_child,
4284         zip_dirent_free): Move to gsf-zip-utils.c.
4285         (zip_dirent_new): Rename to zip_dirent_new_in.
4286         (vdir_free, zip_info_unref): Add free_dirent parameter to
4287         vdir_free.
4288         (zip_child_init): Move before first use.
4289         (gsf_infile_zip_finalize): Free zlib stream.
4290
4291         * gsf/Makefile.am: Add gsf-zip-utils.c, gsf-outfile-zip.[ch]
4292
4293 2002-09-12  Dom Lachowicz <cinamod@hotmail.com>
4294
4295         * gsf/Makefile.am: add gsf-output-memory
4296
4297         * gsf/gsf-output-memory.c (_seek): fix seek type, compiles
4298
4299         * gsf-gnome/Makefile.am: add gsf-output-bonobo
4300
4301         * gsf-gnome/gsf-output-bonobo.c (): make compile
4302
4303 2002-09-06  Jon K Hellan  <hellan@acm.org>
4304
4305         * gsf/gsf-input-gzip.c (init_zip): Factored out of gsf_input_gzip_new.
4306         (gsf_input_gzip_new): See init_zip.
4307         (gsf_input_gzip_dup): Dup source instead of sharing it, and
4308         initialize zip context.
4309
4310         * gsf/gsf-infile-zip.c (gsf_infile_zip_dup): Call zip_child_init.
4311
4312 2002-09-04  Jon K Hellan  <hellan@acm.org>
4313
4314         * gsf/gsf-infile-zip.c (struct ZipDirent, struct _GsfInfileZip,
4315         zip_dirent_new, zip_dirent_free, zip_update_stream_in,
4316         gsf_infile_zip_read, zip_child_init, gsf_infile_zip_seek,
4317         gsf_infile_zip_init): Move zlib context to GsfInfile object. It is
4318         per opened stream, not per subfile.
4319         (gsf_infile_zip_init, gsf_infile_zip_new): Initialize all fields
4320         in gsf_infile_zip_init.
4321
4322 2002-09-03  Jon K Hellan  <hellan@acm.org>
4323
4324         * gsf/gsf-input-gzip.c (check_header): Fix typo.
4325
4326 2002-09-03  Jon K Hellan  <hellan@acm.org>
4327
4328         * gsf/gsf-libxml.c (gsf_libxml_read): Don't signal error when
4329         reading len = 0.
4330
4331         * gsf/gsf-input-gzip.c (check_header): Check signature before
4332         seeking to end. Seeking to end is *expensive* if seek is slow in
4333         underlying stream.
4334         Add check that there's room for payload.
4335
4336 2002-09-02  Jon K Hellan  <hellan@acm.org>
4337
4338         * gsf/gsf-infile-zip.c (struct _GsfInfileZip): Add seek_skipped.
4339         (gsf_infile_zip_seek): Implement. As slow as gzip.
4340         (zip_child_init): Initialize dirent->restlen,
4341         dirent->crestlen. Don't call zip_update_stream_in.
4342         (gsf_infile_zip_new): Initialize seek_skipped.
4343
4344 2002-09-01  Jody Goldberg <jody@gnome.org>
4345
4346         * tests/test-cat-zip.c : replace the old test with test-msole2.c
4347           with s/msole/zip/ so that we get the end of file right.
4348
4349 2002-08-31  Jody Goldberg <jody@gnome.org>
4350
4351         * gsf/gsf-infile-zip.c (gsf_infile_zip_num_children) : return -1 for
4352           non directories.
4353
4354 2002-08-31  Jody Goldberg <jody@gnome.org>
4355
4356         * gsf/gsf-timestamp.c : dummy up a quick implementation.
4357         * gsf/gsf-msole-utils.c (msole_prop_parse) : support FILETIME.
4358
4359 2002-08-30  Jody Goldberg <jody@gnome.org>
4360
4361         * configure.in : remove -Wconversion because it was pissing me off.
4362
4363 2002-08-30  Jody Goldberg <jody@gnome.org>
4364
4365         * gsf/gsf-msole-utils.c (msole_prop_parse) : add some basic
4366           implementation.
4367         (msole_prop_id_to_gsf) : new.
4368
4369 2002-08-29  Jody Goldberg <jody@gnome.org>
4370
4371         * gsf/gsf-msole-utils.c (gsf_msole_prop_read) : conditionalize the
4372           debug spew.
4373
4374 2002-08-29  Jody Goldberg <jody@gnome.org>
4375
4376         * gsf/gsf-msole-utils.c (gsf_msole_prop_parse) : new.
4377         (gsf_msole_prop_read) : new.
4378         (gsf_msole_metadata_read) : prepare to parse the actual properties.
4379
4380 2002-08-28  Jody Goldberg <jody@gnome.org>
4381
4382         * gsf/gsf-input-gzip.c (gsf_input_gzip_new) : restore the current file
4383           position when sniffing for gzip fails.
4384
4385 2002-08-28  Jody Goldberg <jody@gnome.org>
4386
4387         * gsf/gsf-msole-metadata.c (gsf_msole_iconv_open_for_export) : moved
4388           from gnumeric.
4389         (gsf_msole_iconv_open_for_import) : ditto.
4390         (gsf_msole_iconv_win_codepage) : ditto.
4391         * gsf/gsf-utils.c (gsf_iconv_close) : ditto.
4392         (gsf_extension_pointer) : moved from gnumeric, originally from libgnome.
4393
4394 2002-08-26  Jon K Hellan  <hellan@acm.org>
4395
4396         * gsf-gnome/gsf-input-bonobo.[ch],
4397         gsf-gnome/gsf-output-bonobo.[ch],
4398         gsf-gnome/gsf-input-gnomevfs.[ch],
4399         gsf-gnome/gsf-output-gnomevfs.c, gsf/gsf-infile-msvba.c,
4400         gsf/gsf-input-gzip.h, gsf/gsf-input-impl.h,
4401         gsf/gsf-input-memory.h, gsf/gsf-msole-impl.h,
4402         gsf/gsf-output-impl.h, gsf/gsf-output-memory.h,
4403         gsf/gsf-output-stdio.h, gsf/gsf-output.c, gsf/gsf-shared-memory.h,
4404         gsf/gsf-zip-impl.h, gsf/gsf.h: Fix file headers - file name was
4405         wrong.
4406
4407 2002-08-26  Jon K Hellan  <hellan@acm.org>
4408
4409         * gsf/gsf-infile-zip.c (struct ZipVDir): Define struct to
4410         represent a directory entry in a tree of contained files.
4411         (struct ZipInfo): Add vdir. Move dirent_list here from
4412         _GsfInfileZip.
4413         (struct _GsfInfileZip): Add vdir. Remove dirent_list and dirent.
4414         (vdir_new, vdir_free, vdir_child_by_name, vdir_child_by_index,
4415         vdir_compare, vdir_add_child, vdir_insert): New
4416         functions. Operations on file tree directories.
4417         (zip_info_unref): Free dirent_list and vdir.
4418         (zip_read_dirents): Renamed from zip_init_info. dirent_list now in
4419         ZipInfo.
4420         (zip_build_vdirs): New function. Build directory tree of contained
4421         files.
4422         (zip_init_info): New function, old name. Wraps zip_read_dirents
4423         and zip_build_vdirs.
4424         (gsf_infile_zip_dup): Copy vdir, not dirent.
4425         (zip_update_stream_in,
4426         (gsf_infile_zip_read): dirent now in vdir.
4427         (zip_child_init): New function. Contains the parts of
4428         gsf_infile_zip_new_child which operated on the zip file.
4429         (gsf_infile_zip_new_child): Simplify and call zip_child_init.
4430         (gsf_infile_zip_child_by_index, gsf_infile_zip_name_by_index): Use
4431         vdir_child_by_index.
4432         (gsf_infile_zip_child_by_name): Use vdir_child_by_name
4433         (gsf_infile_zip_num_children): Count children in vdir.
4434         (gsf_infile_zip_finalize): dirent_list is no longer freed here.
4435         (gsf_infile_zip_init, gsf_infile_zip_new): Initialize vdir.
4436
4437         * gsf/gsf-zip-impl.h (ZIP_NAME_SEPARATOR): Define path name
4438         component separator for zip archives.
4439
4440 2002-08-26  Morten Welinder  <terra@diku.dk>
4441
4442         * gsf/gsf.h: Don't include <glib-object.h> here.
4443         * gsf/gsf-input.h: Do it here.
4444         * gsf/gsf-output.h: And here.
4445
4446         * configure.in: Take out -Wcast-align until someone fixes the
4447         hundreds of things that violates it.
4448
4449 2002-08-25  Jody Goldberg <jody@gnome.org>
4450
4451         * configure.in : post release version bump
4452
4453 2002-08-25  Jody Goldberg <jody@gnome.org>
4454
4455         * Release 1.3.0
4456
4457 2002-08-22  Jon K Hellan  <hellan@acm.org>
4458
4459         * gsf/gsf-infile-zip.c (zip_find_trailer): Fix case when no match
4460         is found first time round.
4461
4462 2002-08-21  Jon K Hellan  <hellan@acm.org>
4463
4464         * gsf/gsf-infile-zip.c (zip_find_trailer): Don't try to read
4465         beyond EOF.
4466
4467 2002-08-21  Jon K Hellan  <hellan@acm.org>
4468
4469         * gsf/gsf-infile-zip.c (struct _GsfInfileZip): Add buf and
4470         buf_size for inflating.
4471         (zip_init_info, gsf_infile_zip_dup): Use g_error_new rather than
4472         g_set_error.
4473         (gsf_infile_zip_read): Fix segfaulting bug. Make inflate buffer a
4474         private member of the class rather than a static.
4475         (gsf_infile_zip_finalize): Free inflate buffer.
4476         (gsf_infile_zip_new): Initialize inflate buffer.
4477
4478         * tests/test-cp-msole.c: Revert 2nd arg to
4479         gsf_input_read/write from gsf_off_t to size_t.
4480
4481 2002-08-21  Mikael Hallendal  <micke@codefactory.se>
4482
4483         * tests/test-textline.c (test): output argv[0] when printing
4484           Usage.
4485
4486 2002-08-20  Jody Goldberg <jody@gnome.org>
4487
4488         * gsf-gnome/Makefile.am : depend on libgsf
4489
4490 2002-08-20  Jon K Hellan  <hellan@acm.org>
4491
4492         * gsf-gnome/.cvsignore: Add.
4493
4494 2002-08-19  Jon K Hellan  <hellan@acm.org>
4495
4496         * tests/test-cp-msole.c (clone): Cast 2nd arg to
4497         gsf_input_read/write to gsf_off_t.
4498
4499 2002-08-19  Jon K Hellan  <hellan@acm.org>
4500
4501         * gsf/gsf.h: Remove GsfSeekType.
4502
4503         * gsf/gsf-input.[ch]: s/GsfSeekType/GSeekType/ in gsf_input_seek
4504         signature.
4505
4506         * gsf/gsf-output.[ch]: s/GsfSeekType/GSeekType/ in gsf_output_seek
4507         signature.
4508
4509         * gsf/gsf-input-impl.h (GsfInputClass) s/GsfSeekType/GSeekType/ in
4510         Seek method.
4511
4512         * gsf/gsf-output-impl.h (GsfOutputClass) Ditto.
4513
4514         * gsf/gsf-infile-msole.c (gsf_infile_msole_seek):
4515         s/GsfSeekType/GSeekType/ in signature.
4516
4517         * gsf/gsf-infile-msvba.c (gsf_infile_msvba_seek): Ditto.
4518
4519         * gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Ditto.
4520
4521         * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
4522
4523         * gsf/gsf-input-memory.c (gsf_input_memory_seek): Ditto.
4524
4525         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4526
4527         * gsf/gsf-input-textline.c (gsf_input_textline_seek): Ditto.
4528
4529         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
4530
4531         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
4532
4533         * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4534
4535         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
4536
4537         * gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
4538
4539         * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
4540
4541         * gsf/gsf-input.c (gsf_input_seek): Replace GSF_SEEK_SET, CUR, END
4542         with G_SEEK_SET, CUR, END.
4543
4544         * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
4545
4546         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4547
4548         * gsf/gsf-output.c (gsf_output_seek): Ditto.
4549
4550         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
4551
4552         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
4553
4554         * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4555
4556         * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
4557
4558         * gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
4559
4560         * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
4561
4562         * gsf/gsf-infile-msole.c (ole_get_block, ole_init_info,
4563         gsf_infile_msole_read, gsf_infile_msole_new_child):
4564         s/GSF_SEEK_SET/G_SEEK_SET/.
4565
4566         * gsf/gsf-infile-msvba.c (vba_inflate, vba56_dir_read,
4567         gsf_infile_msvba_seek, gsf_infile_msvba_seek): Ditto.
4568
4569         * gsf/gsf-infile-zip.c (zip_find_trailer, zip_dirent_new)
4570         (zip_init_info, zip_init_info, zip_update_stream_in)
4571         (gsf_infile_zip_new_child): Ditto.
4572
4573         * gsf/gsf-input-gzip.c (check_header, check_header): Ditto.
4574
4575         * gsf/gsf-input.c (gsf_input_dup, gsf_input_uncompress): Ditto.
4576
4577         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek,
4578         gsf_outfile_msole_close): Ditto.
4579
4580 2002-08-18  Jon K Hellan  <hellan@acm.org>
4581
4582         * configure.in: Revert today's first change to the file, but keep
4583         the second.
4584
4585 2002-08-18  Jon K Hellan  <hellan@acm.org>
4586
4587         * configure.in: See below. Hope it's true this time.
4588
4589 2002-08-18  Jon K Hellan  <hellan@acm.org>
4590
4591         * configure.in: Make --without-gnome work.
4592
4593 2002-08-18  Jon K Hellan  <hellan@acm.org>
4594
4595         * acinclude.m4: Change it to just a comment referring to
4596         python/README-python.
4597
4598         * acinclude.m4.am15: Added. A copy of the previous version, but no
4599         longer commented out. See python/README-python.
4600
4601 2002-08-17  Jody Goldberg <jody@gnome.org>
4602
4603         * gsf/Makefile.am : install the xml header
4604
4605 2002-08-17  Jon K Hellan  <hellan@acm.org>
4606
4607         * libgsf-gnome-1.pc.in (Cflags): Fix Libs line.
4608
4609 2002-08-17  Jon K Hellan  <hellan@acm.org>
4610
4611         * Makefile.am (pkgconfig_DATA): Add libgsf-gnome-1.pc when
4612         --with-gnome is selected.
4613         (EXTRA_DIST): Add libgsf-gnome-1.spec, libgsf-gnome-1.spec.in and
4614         libgsf-gnome-1.pc.in
4615
4616 2002-08-16  Jody Goldberg <jody@gnome.org>
4617
4618         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : pad the last bat
4619           and sbat block with unused rather than 0.
4620         (ole_pad_bat_unused) : New.
4621
4622 2002-08-16  Jody Goldberg <jody@gnome.org>
4623
4624         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : clean up the
4625           iteration to calculate the number of bat blocks required to hold the
4626           bat and metabat.  Fill in the bat flags for the metabat.
4627
4628 2002-08-16  Jody Goldberg <jody@gnome.org>
4629
4630         * configure.in  : move bonobo and gnome-vfs into a standalone library.
4631
4632         * gsf/gsf-infile-msole.c (ole_init_info) : add a warning about invalid
4633           state.
4634
4635         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new) : Fill with 0xff
4636           instead of 0 to be more compatible with MS.
4637         (gsf_outfile_msole_close) : If there is no small block data don't
4638           pretend there is an allocation chain for it.  Write BAT entries for
4639           the bat itself.  TODO : BAT entries for the metabat.
4640
4641 2002-08-16  Morten Welinder  <terra@diku.dk>
4642
4643         * gsf/gsf-io-context.c (gsf_io_context_update_progress): Don't
4644         zero out memory only to overwrite it.
4645
4646 2002-08-16  Jon K Hellan  <hellan@acm.org>
4647
4648         * configure.in: Require autoconf 2.52
4649
4650 2002-08-16  Morten Welinder  <terra@diku.dk>
4651
4652         * gsf/gsf-metadata-bag.c (gsf_metadata_bag_new): Fix prototype.
4653         * gsf/gsf-output-memory.c (gsf_output_memory_new): Ditto.
4654         (gsf_output_memory_write): Fix brown-bag.
4655
4656 2002-08-15  Jon K Hellan  <hellan@acm.org>
4657
4658         * configure.in: Test for orbit-python.
4659
4660 2002-08-15  Jon K Hellan  <hellan@acm.org>
4661
4662         *  gsf/gsf-input-memory.c  (gsf_input_mmap_new):  Stop warnings on
4663         Solaris.
4664
4665 2002-08-15  Jon K Hellan  <hellan@acm.org>
4666
4667         * gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Cast to
4668         gsf_off_t when checing for overflow.
4669
4670         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close,
4671         gsf_outfile_msole_write): Ditto.
4672
4673         * gsf/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4674
4675         * gsf/gsf-infile-zip.c (zip_find_trailer): Ditto.
4676
4677         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Use long, not
4678         off_t for offset arg. to fseek.
4679
4680         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4681
4682         * gsf/gsf-input-memory.c (gsf_input_mmap_new): Add forgotten
4683         argument to g_error_new.
4684
4685 2002-08-15  Jon K Hellan  <hellan@acm.org>
4686
4687         * configure.in: Bump minor verision to 1.3. Add AC_SYS_LARGEFILE.
4688
4689         * gsf/gsf.h: Rename GsfOff_t enum to GsfSeekType. Define gsf_off_t
4690         type to use instead of off_t. We have to do this because we do not
4691         know what idea the application has of the size of off_t, this can
4692         be defined with #define _FILE_OFFS_BITS xx.
4693
4694         * gsf/gsf-shared-memory.h (struct _GsfSharedMemory): Change type
4695         of size to gsf_off_t.
4696
4697         * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Change type of
4698         offset parameter to gsf_off_t, type of 'whence' parameter to
4699         GsfSeekType. Check for overflow copying from gsf_off_t to off_t.
4700
4701         * gsf/gsf-output-impl.h (struct _GsfOutput): Change type of
4702         cur_size, cur_offset to gsf_off_t.
4703         (GsfOutputClass): Change type of offset parameter of Seek method
4704         to gsf_off_t, type of 'whence' parameter to GsfSeekType.
4705
4706         * gsf/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new): Various
4707         fixes.
4708         (gsf_output_gnomevfs_seek): Change type of offset parameter to
4709         gsf_off_t, type of 'whence' parameter to GsfSeekType.  Cast
4710         'whence' argument to gnome_vfs_seek to GnomeVFSFileOffset to shut
4711         up warning.
4712         (gsf_output_gnomevfs_write): Cast 'bytes' argument to
4713         gnome_vfs_write to GnomeVFSFileSize to shut up warning.
4714
4715         * gsf/gsf-output-bonobo.c (gsf_output_bonobo_seek): Change type of
4716         offset parameter to gsf_off_t, type of 'whence' parameter to
4717         GsfSeekType.
4718
4719         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Change type of
4720         offset parameter to gsf_off_t, type of 'whence' parameter to
4721         GsfSeekType. Type of offset argument to gsf_input_seek has changed
4722         to gsf_off_t. Use.
4723         (gsf_outfile_msole_close): Return type of gsf_output_tell is
4724         changed to gsf_off_t. Introduce gsf_off_t typed variable data_size
4725         to detect overflow. Type of size argument to gsf_output_set_size
4726         has changed to gsf_off_t. Use. Type of offset argument to
4727         gsf_output_seek has changed to gsf_off_t. Use.
4728         (gsf_outfile_msole_write): Return type of gsf_output_tell is
4729         changed to gsf_off_t. Introduce gsf_off_t typed variables wsize
4730         and start_offset to detect overflow.
4731
4732         * gsf/gsf-libxml.c (gsf_libxml_read): Return type of
4733         gsf_input_remaining has changed to gsf_off_t. Use.
4734
4735         * gsf/gsf-io-context.c (GSF_CLASS): G_TYPE_GLIB is the parent
4736         class, not the io-context class itself.
4737
4738         * gsf/gsf-input.h: (gsf_input_size, gsf_input_remaining,
4739         gsf_input_tell): Change return type to gsf_off_t.
4740         (gsf_input_seek): Change type of offset parameter to gsf_off_t,
4741         type of 'whence' parameter to GsfSeekType.
4742
4743         * gsf/gsf-input.c (gsf_input_dup): Type of offset argument to
4744         gsf_input_seek has changed to gsf_off_t. Use.
4745         (gsf_input_size, gsf_input_remaining, gsf_input_tell): Change
4746         return type to gsf_off_t.
4747         (gsf_input_seek): Change type of offset parameter to gsf_off_t,
4748         type of 'whence' parameter to GsfSeekType.
4749         (gsf_input_set_size): Change type of size parameter to gsf_off_t.
4750         (gsf_input_seek_emulate): Change type of pos parameter to
4751         gsf_off_t.
4752         (gsf_input_uncompress): Change type of cur_offset variable to
4753         gsf_off_t. Type of offset argument to gsf_input_seek has changed
4754         to gsf_off_t. Use.
4755
4756         * gsf/gsf-input-textline.c (gsf_input_textline_new): Remove cast
4757         of size argument to gsf_input_set_size.
4758         (gsf_input_textline_seek): Change type of offset parameter to
4759         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4760         (gsf_input_textline_ascii_gets, gsf_input_textline_utf8_gets ):
4761         Add 'remain' variable, and make sure that overflows don't occur.
4762
4763         * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Change type of size
4764         variable to gsf_off_t.
4765         (gsf_input_stdio_seek): Change type of offset parameter to
4766         gsf_off_t, type of 'whence' parameter to GsfSeekType. Check for
4767         overflow copying from gsf_off_t to off_t.
4768
4769         * gsf/gsf-input-memory.h: Change type of length parameter to
4770         gsf_off_t.
4771
4772         * gsf/gsf-input-memory.c (gsf_input_memory_new): Change type of
4773         length parameter to gsf_off_t.
4774         (gsf_input_memory_seek): Change type of offset parameter to
4775         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4776         (gsf_input_mmap_new): Check for overflow copying from st.st_size
4777         to ssize_t. Type of size argument to gsf_shared_memory_mmapped_new
4778         and gsf_input_set_size has changed to gsf_off_t. Use.
4779
4780         * gsf/gsf-input-impl.h (struct _GsfInput): Change type of size,
4781         cur_offset to gsf_off_t.
4782         (GsfInputClass): Change type of offset parameter of Seek method to
4783         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4784         (gsf_input_set_size): Change type of size parameter to gsf_off_t.
4785         (gsf_input_seek_emulate): Change type of pos parameter to
4786         gsf_off_t.
4787
4788         * gsf/gsf-input-gzip.c (struct _GsfInputGZip): Change type of
4789         seek_skipped to gsf_off_t.
4790         (check_header): Type of offset argument to gsf_input_seek is
4791         changed to gsf_off_t. Use. Type of size argument to
4792         gsf_input_set_size has changed to gsf_off_t. Use.
4793         (gsf_input_gzip_read): Return type of gsf_input_remaing has
4794         changed to gsf_off_t. Use.
4795         (gsf_input_gzip_seek): Change type of offset parameter to
4796         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4797
4798         * gsf/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Change type
4799         of size variable to gsf_off_t. Cast 'code' argument to g_set_error
4800         to gint to shut up warning.
4801         (gsf_input_gnomevfs_read): Cast 'bytes' argument to gnome_vfs_read
4802         to GnomeVFSFileSize to shut up warning.
4803         (gsf_input_gnomevfs_seek): Change type of offset parameter to
4804         gsf_off_t, type of 'whence' parameter to GsfSeekType.  Cast
4805         'whence' argument to gnome_vfs_seek to GnomeVFSFileOffset to shut
4806         up warning.
4807
4808         * gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Change type of
4809         'pos' to gsf_off_t.
4810         (gib_synch_shared_ptr): Cast to gsf_off_t when assigning pos.
4811         (gsf_input_bonobo_new): Change type of size variable to
4812         CORBA_long.  Type of size argument to gsf_input_set_size is
4813         changed to gsf_off_t. Use.
4814         (gsf_input_bonobo_seek): Change type of offset parameter to
4815         gsf_off_t, type of 'whence' parameter to GsfSeekType. Check for
4816         overflow copying from gsf_off_t to CORBA_long.
4817
4818         * gsf/gsf-infile-zip.c (zip_find_trailer): Change return type to
4819         gsf_off_t. Check for overflow copying from gsf_off_t to size_t.
4820         (zip_dirent_new, gsf_infile_zip_new_child): Change type of offset
4821         parameter to gsf_off_t. Type of size argument to
4822         gsf_input_set_size has changed to gsf_off_t. Use.
4823         (gsf_infile_zip_new): Type of size argument to gsf_input_set_size
4824         has changed to gsf_off_t. Use.
4825
4826         * gsf/gsf-infile-msvba.c (vba_inflate): Change type of offset
4827         parameter to gsf_off_t.
4828         (vba3_dir_read): Cast 2nd argument to vba_inflate to gsf_off_t.
4829         (gsf_infile_msvba_seek): Change type of offset parameter to
4830         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4831         (gsf_infile_msvba_new): Type of size argument to
4832         gsf_input_set_size has changed to gsf_off_t. Use.
4833
4834         * gsf/gsf-infile-msole.c (ole_get_block, ole_init_info,
4835         gsf_infile_msole_read, gsf_infile_msole_new_child): Type of offset
4836         argument to gsf_input_seek has changed to gsf_off_t. Use.
4837         (gsf_infile_msole_seek): Change type of offset parameter to
4838         gsf_off_t, type of 'whence' parameter to GsfSeekType.
4839         (gsf_infile_msole_new_child, gsf_infile_msole_new): Type of size
4840         argument to gsf_input_set_size has changed to gsf_off_t. Use.
4841
4842 2002-08-12  Jody Goldberg <jody@gnome.org>
4843
4844         * Release 1.2.0
4845
4846 2002-08-06  Morten Welinder  <terra@diku.dk>
4847
4848         * gsf/gsf-utils.c (gsf_le_get_double, gsf_le_set_double): New
4849         functions (from gnumeric).
4850         * gsf/gsf-utils.h: Add macros for signed types.
4851
4852 2002-08-05  Jody Goldberg <jody@gnome.org>
4853
4854         * tests/test-msole1.c (test) : why did I add that limitation ?
4855
4856 2002-08-05  Jody Goldberg <jody@gnome.org>
4857
4858         * gsf/gsf-output.c (gsf_output_is_closed) : forgot to implement.
4859
4860 2002-08-02  Jody Goldberg <jody@gnome.org>
4861
4862         * configure.in : bump version
4863
4864         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize) : add a safety
4865           to close the file before finalizing.
4866
4867         * gsf/gsf-output.c (gsf_output_finalize) : add a warning when
4868           finalizing an unclosed stream.
4869         (gsf_output_init) : init the new is_closed flag.
4870
4871 2002-08-02  Rodrigo Moya <rodrigo@gnome-db.org>
4872
4873         * gsf/gsf-io-context.c: removed progress_min and progress_max, since
4874         they don't seem too useful right now (ie, let's keep it simple).
4875         (gsf_io_context_clear): free progress_ranges list and initialize
4876         progress-related internal values.
4877         (gsf_io_context_update_progress): implemented.
4878         (gsf_io_context_class_init): added "progress" signal to class.
4879
4880 2002-08-01  J.H.M. Dassen (Ray) <jdassen@debian.org>
4881
4882         * doc/Makefile.am (HTML_DIR) : conditionally define.
4883         * doc/gsf-docs.sgml : tidy up.
4884
4885 2002-07-27  Dom Lachowicz <cinamod@hotmail.com>
4886
4887         * MAINTAINERS : add myself
4888         * gsf-metadata-bag.[ch] : add cardinatliy (size) method
4889
4890 2002-07-26  Dom Lachowicz <cinamod@hotmail.com>
4891
4892         * gsf-output-bonobo.[ch]: implement output stream (untested)
4893
4894 2002-07-26  Dom Lachowicz <cinamod@hotmail.com>
4895
4896         * gsf-meta-keys.h: list of default/builtin keys that we will want
4897         to support
4898
4899         * gsf-metadata-bag.[ch]: add key creation and manipulation
4900         functions, update TODO list
4901
4902 2002-07-26  Dom Lachowicz <cinamod@hotmail.com>
4903
4904         * gsf-metadata-bag.c: implement (untested)
4905
4906 2002-07-25  Dom Lachowicz <cinamod@hotmail.com>
4907
4908         * gsf-input-gnomevfs.[ch]: implement (untested)
4909         * gsf-output-gnomevfs.[ch]: implement (untested)
4910         * gsf-output-memory.[ch]: implement (untested)
4911
4912 2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
4913
4914         * gsf-input-gnomevfs.c (struct _GsfInputGnomeVFS):
4915         Added missing semicolon at the end of struct.
4916
4917 2002-07-21  Jody Goldberg <jody@gnome.org>
4918
4919         * Release 1.1.0
4920
4921 2002-07-17  Jody Goldberg <jody@gnome.org>
4922
4923         * gsf/gsf-utils.c (gsf_mem_dump) : tweak.
4924
4925 2002-07-15  Morten Welinder  <terra@diku.dk>
4926
4927         * gsf/gsf-infile-msole.c (gsf_infile_msole_dup): Don't ignore err
4928         -- that will crash the caller.
4929
4930         * gsf/gsf-input-memory.c (gsf_input_mmap_new): Plug file
4931         descriptor leaks.
4932
4933 2002-07-09  Jody Goldberg <jody@gnome.org>
4934
4935         * gsf/gsf-input.c (gsf_input_dup) : avoid leak if derived dup has
4936           already assigned a name.
4937
4938 2002-07-08  Jody Goldberg <jody@gnome.org>
4939
4940         * tests/test-cp-msole.c (test) : simplify.
4941
4942 2002-07-08  Jody Goldberg <jody@gnome.org>
4943
4944         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new) : doh!
4945           fix the header to include the correct small block shift.
4946
4947 2002-07-08  Jody Goldberg <jody@gnome.org>
4948
4949         * gsf/gsf-outfile-msole.c (ole_name_cmp) : new.
4950         (gsf_outfile_msole_new_child) : order the names correctly.
4951         (gsf_outfile_msole_close) : write meta bats.
4952
4953         * gsf/gsf-msole-impl.h : add OLE_HEADER_METABAT_SIZE.
4954         * gsf/gsf-infile-msole.c (ole_init_info) : use it here.
4955         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : and here.
4956
4957 2002-07-07  Jody Goldberg <jody@gnome.org>
4958
4959         * gsf/Makefile.am : Make gsf-impl-utils.h public
4960
4961 2002-07-06  Jody Goldberg <jody@gnome.org>
4962
4963         * gsf/gsf-msole-impl.h : pull in more information.  We may not need it
4964           but it makes for better documentation than 'unknown'
4965
4966 2002-07-06  Jody Goldberg <jody@gnome.org>
4967
4968         * gsf/gsf-outfile-msole.c : initial implementation.
4969         * gsf/gsf-outfile.c : initial implementation.
4970         * gsf/gsf-output.c : initial implementation.
4971
4972 2002-07-05  Jody Goldberg <jody@gnome.org>
4973
4974         * gsf/gsf-infile-msole.c (ole_dirent_new) : be more anal in case the
4975           input file has a cycle.
4976
4977 2002-07-03  Jody Goldberg <jody@gnome.org>
4978
4979         * tests/test-textline.c (test) : make the compiler shut up.
4980
4981 2002-06-27  Morten Welinder  <terra@diku.dk>
4982
4983         * gsf/gsf-input-gzip.c (check_header): Set header_size here.
4984         (gsf_input_gzip_read): When allocating a buffer, allocate at least
4985         256 bytes so we don't have to realloc all the time.
4986         (gsf_input_gzip_read): Handle truncated streams.
4987
4988         * gsf/gsf-input.c (gsf_input_seek): Handle seeks that go to same
4989         position here.
4990         (gsf_input_uncompress): Reorganise a bit.
4991
4992         * gsf/gsf-infile-msole.c (ole_dirent_free): Actually free the
4993         dirent.  And the list of children.
4994
4995 2002-06-27  Morten Welinder  <terra@diku.dk>
4996
4997         * gsf/gsf-input-gzip.c (gsf_input_gzip_read): Exit on error.
4998
4999         * gsf/gsf-infile-msole.c (ole_init_info): Always set error info.
5000
5001         * configure.in (LIBGSF_LIBS): Include the Bonobo libs.
5002
5003         * tests/test-msole2.c (test): Plug leak.  Uncompress source.
5004
5005         * gsf/gsf-input.c (gsf_input_uncompress): New function.
5006
5007         * gsf/gsf-input-gzip.c (gsf_input_gzip_finalize): Plug leak.
5008
5009 2002-06-27  Jon K Hellan  <hellan@acm.org>
5010
5011         * gsf/gsf-input-bonobo.c: Actually check in the stuff mentioned
5012         yesterday.
5013
5014 2002-06-27  Morten Welinder  <terra@diku.dk>
5015
5016         * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Attempt
5017         implementation.
5018
5019         * gsf/gsf-input.c (gsf_input_seek): Make pos an off_t.
5020
5021 2002-06-26  Jon K Hellan  <hellan@acm.org>
5022
5023         * gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Replace stream
5024         attribute with GsfSharedBonoboStream * 'shared'. Add 'pos'
5025         attribute.
5026         (gib_synch_shared_ptr): New helper function. Seek the shared
5027         stream if necessary.
5028         (gsf_input_bonobo_new): Probably better to free the exceptions
5029         *after* retrieving the exception texts.  Initialize 'shared'.
5030         (gsf_input_bonobo_finalize): unref 'shared'.
5031         (gsf_input_bonobo_dup): Implement.
5032         (gsf_input_bonobo_read): Use shared stream. Use
5033         gib_synch_shared_ptr to seek first if necessary.
5034         (gsf_input_bonobo_seek): Ditto.
5035         (gsf_input_bonobo_init): Initialize 'shared'.
5036
5037         * gsf/gsf-shared-bonobo-stream.[ch]: new helper class for bonobo
5038         stream IO. Lets us dup the streams.
5039         * gsf/Makefile.am: added new files.
5040
5041 2002-06-26  Morten Welinder  <terra@diku.dk>
5042
5043         * configure.in: If needed, define __EXTENSIONS__.
5044
5045 2002-06-26  Jon K Hellan  <hellan@acm.org>
5046
5047         * gsf/gsf-input-bonobo.c: Include bonobo-persist-stream.h
5048         (gsf_input_bonobo_read): Silence warning.
5049
5050 2002-06-25  Jon K Hellan  <hellan@acm.org>
5051
5052         * configure.in: New flag --with-bonobo
5053
5054         * gsf/Makefile.am (INCLUDES): added new files.
5055
5056         * gsf/gsf-input-bonobo.[ch]: new class for bonobo stream IO.
5057
5058 2002-06-25  Rodrigo Moya <rodrigo@gnome-db.org>
5059
5060         * gsf/gsf-io-context.[ch]: new class for managing IO contexts.
5061
5062         * gsf/Makefile.am: added new files.
5063
5064 2002-06-24  Jody Goldberg <jody@gnome.org>
5065
5066         * python/Makefile.am : pyexec is not available in automake-1.4.
5067         nor is nodist_.
5068
5069         * acinclude.m4 : something was still interpretting the AC_REQUIRE even
5070           though ti was commented out.  change case and comment for now to
5071           avoid problems.
5072
5073 2002-06-23  Jon K Hellan  <hellan@acm.org>
5074
5075         * acinclude.m4: Comment out everything.
5076
5077 2002-06-21  Jody Goldberg <jody@gnome.org>
5078
5079         * configure.in : uncomment the AM_CONDITIONAL for WITH_PYTHON
5080
5081 2002-06-21  Jon K Hellan  <hellan@acm.org>
5082
5083         * acinclude.m4: Add it. It provides AM_CHECK_PYTHON_HEADERS.
5084
5085 2002-06-20  Morten Welinder  <terra@diku.dk>
5086
5087         * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_child): Add
5088         missing arg.
5089
5090 2002-06-20  Jon K Hellan  <hellan@acm.org>
5091
5092         * configure.in: Add support for building Python bindings, but
5093         comment it out because it requires automake1.5.
5094
5095         * Makefile.am: Build python subdir if WITH_PYTHON is set.
5096
5097 2002-06-18  Rui M. Seabra <rms@1407.org>
5098
5099         * libgsf-1.spec.in : set permission correctly
5100             fix common mistake of Copyright flag into License flag.
5101
5102 2002-06-18  Jody Goldberg <jody@gnome.org>
5103
5104         * configure.in : lower the libxml version req
5105
5106 2002-06-17  Jody Goldberg <jody@gnome.org>
5107
5108         * gsf/gsf-outfile.c (gsf_outfile_new_child) : adjust signature to
5109           include 'is_dir'
5110
5111 2002-06-15  Jody Goldberg <jody@gnome.org>
5112
5113         * gsf/gsf-input.c (gsf_input_eof) : fix docs.
5114
5115         * gsf/gsf-utils.c (gsf_mem_dump) : use size_t.
5116
5117 2002-06-13  Jody Goldberg <jody@gnome.org>
5118
5119         * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets) : implement.
5120         (gsf_input_textline_utf8_gets) : pretend to implement.
5121
5122 2002-06-13  Jody Goldberg <jody@gnome.org>
5123
5124         * Makefile.am : move the tests into a standalone dir because they are
5125           getting irritating to build for every single library rebuild.
5126
5127 2002-06-13  Morten Welinder  <terra@diku.dk>
5128
5129         * gsf/gsf-infile-msvba.c (vba_inflate): Make offset an off_t.
5130
5131 2002-06-13  Jody Goldberg <jody@gnome.org>
5132
5133         * gsf/gsf-outfile-msole.c : initial stub implementation.
5134         * gsf/gsf-outfile.c : initial stub implementation.
5135         * gsf/gsf-output-stdio.c : initial stub implementation.
5136         * gsf/gsf-output.c : initial stub implementation.
5137
5138 2002-06-13  Jody Goldberg <jody@gnome.org>
5139
5140         * gsf/gsf-infile-msvba.c (vba_inflate) : cleanup.
5141
5142 2002-06-13  Jody Goldberg <jody@gnome.org>
5143
5144         * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT{8,16,32}) : move to
5145           gsf-utils and rename.
5146
5147         * gsf/gsf-input-memory.c (gsf_input_memory_dup) : silence warning.
5148         (gsf_input_mmap_new) : fix the no mmap case.
5149
5150 2002-06-12  Jody Goldberg <jody@gnome.org>
5151
5152         * gsf/gsf-infile-msvba.c (vba_inflate) : store the uncompressed
5153           result.
5154         (vba_dirent_read) : new.  We can now lookup the correct offsets for
5155           the compressed source.  The question remaining is how to fin the
5156           start of the dir table ...
5157
5158 2002-06-12  Rodrigo Moya <rodrigo@gnome-db.org>
5159
5160         * gsf/*: s/IS_GSF/GSF_IS.
5161
5162 2002-06-12  Jon K Hellan  <hellan@acm.org>
5163
5164         * libgsf-1.pc.in (Requires): Add libxml-2.0
5165
5166 2002-06-11  Jody Goldberg <jody@gnome.org>
5167
5168         * gsf/gsf-infile-msole.c (gsf_infile_msole_read) : fix reading into an
5169           assigned buffer for small block files.
5170
5171 2002-06-10  Jody Goldberg <jody@gnome.org>
5172
5173         * gsf/gsf-infile.c (gsf_infile_child_by_name) : typo.
5174
5175 2002-06-09  J.H.M. Dassen (Ray) <jdassen@debian.org>
5176
5177         * gsf/test-msole1.c (read_types): Casts to suppress signedness
5178           warnings.
5179         * gsf/gsf-input-memory.c (gsf_input_memory_read): Changed src type to
5180           guchar.
5181         * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Cast
5182           return value.
5183         * gsf/gsf-infile-msole.c (ole_dirent_new): Signedness fixes.
5184         * debian/*: updated; include pkgconfig file.
5185
5186 2002-06-09  Jody Goldberg <jody@gnome.org>
5187
5188         * gsf/gsf-infile-msvba.c : new.
5189         * gsf/test-msvba.c : new.
5190
5191         * gsf/gsf-infile.c (gsf_infile_child_by_vname) : new utility routine.
5192
5193 2002-06-07  Jody Goldberg <jody@gnome.org>
5194
5195         * gsf/gsf-input.c (gsf_input_dup) : Add an err parameter.
5196
5197 2002-06-07  Morten Welinder  <terra@diku.dk>
5198
5199         * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Plug FILE* leak.
5200         (gsf_input_stdio_dup): Go via filename.
5201
5202 2002-06-07  Jody Goldberg <jody@gnome.org>
5203
5204         * doc/Makefile.am : fix the type init function for gtk-doc.
5205         * gsf/* : fix docs a bit.
5206
5207 2002-06-07  Jody Goldberg <jody@gnome.org>
5208
5209         * gsf/gsf-utils.c (gsf_input_dump) : new utility split out of.
5210         * gsf/test-gzip1.c (test) : here.
5211
5212         * gsf/test-msole2.c (test) : spruce this up a might so that it can be
5213           used as a general utility to dump streams and storages.
5214
5215         * gsf/gsf-input-stdio.c (gsf_input_stdio_dup) : dup the descriptor
5216           before creating a new file handle.
5217
5218 2002-06-06  Jody Goldberg <jody@gnome.org>
5219
5220         * configure.in : remove -Wmissing-noreturn
5221
5222         * gsf/test-msole1.c (test) : remove the --use-memory bit.  Just use
5223           mmap.  We can test the other input types in another program.
5224
5225         * gsf/*.c : change the convention for wrappers.  They all add their
5226                own references to the source rather than absorbing the ref that
5227                was passed in.
5228
5229 2002-06-06  Jody Goldberg <jody@gnome.org>
5230
5231         * configure.in : add zlib.
5232         * libgsf-1.pc.in (Cflags) : ditto.
5233
5234         * gsf/gsf-input-gzip.c : wrapper to uncompress things.
5235
5236         * gsf/gsf-libxml.c : some convenience routines for dealing with libxml.
5237
5238         * gsf/test-gzip1.c :  add some tests for gzip.
5239
5240 2002-06-05  Morten Welinder  <terra@diku.dk>
5241
5242         * gsf/*.[ch]: switch to using system types.
5243
5244 2002-06-05  Jon K Hellan  <hellan@acm.org>
5245
5246         * gsf/Makefile.am: Fix typo - libgsf_1_includedir didn't get defined.
5247
5248 2002-06-05  Jody Goldberg <jody@gnome.org>
5249
5250         * gsf/gsf-input-memory.c (gsf_input_mmap_new) : set the filename.
5251
5252 2002-06-04  Jody Goldberg <jody@gnome.org>
5253
5254         * gsf/gsf-input.c (gsf_input_eof) : do this internally.
5255         * gsf/gsf-input* : remove the _eof methods.
5256
5257 2002-06-04  Morten Welinder  <terra@diku.dk>
5258
5259         * gsf/gsf-input-impl.h (GsfInputClass): Change structure members
5260         from "read" to "Read", etc.  This avoids names reserved by the
5261         system libraries.
5262
5263 2002-06-04  Morten Welinder  <terra@diku.dk>
5264
5265         * gsf/test-msole1.c (test): Add --memory option.
5266
5267         * gsf/gsf-shared-memory.c: New class.
5268
5269         * gsf/gsf-input-memory.c (gsf_input_memory_new): Use new
5270         GsfSharedMemory class.
5271         (gsf_input_memory_read): Add missing parameter.
5272
5273 2002-06-01  Jody Goldberg <jody@gnome.org>
5274
5275         * gsf/Makefile.am : Add gsf-input-textline.[ch]
5276           Add gsf-libxml.[ch]
5277
5278 2002-05-30  Jody Goldberg <jody@gnome.org>
5279
5280         * gsf/gsf-input-stdio.h : fix the name mismatch.
5281
5282 2002-05-28  Jody Goldberg <jody@gnome.org>
5283
5284         * gsf/gsf-input.c (gsf_input_seek) : doh!
5285
5286 2002-05-28  Morten Welinder  <terra@diku.dk>
5287
5288         * gsf/gsf-infile-msole.c (ole_make_bat): Cast via gconstpointer to
5289         please gcc.
5290
5291         * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8, GSF_OLE_GET_GUINT16,
5292         GSF_OLE_GET_GUINT32): fix alignment problems.
5293
5294         * gsf/test-msole1.c (read_types): Fix isspace usage.
5295
5296 2002-05-27  Jody Goldberg <jody@gnome.org>
5297
5298         * gsf/gsf-infile-msole.c : add some prepoc constants to prep for
5299           export support.
5300
5301 2002-05-25  Jody Goldberg <jody@gnome.org>
5302
5303         * README : add more details
5304
5305 2002-05-25  Jody Goldberg <jody@gnome.org>
5306
5307         * gsf/test-msole1.c (get_biff_opcode_name) : suppress warning.
5308
5309         * gsf/gsf-input-memory.c (gsf_input_mmap_new) : ensure it is a regular
5310           file.
5311
5312         * configure.in : remove -Wundef to shut it up about glib.
5313           remove -Wcast-qual because we sometimes need to explicitly cast away
5314           const.  C does not have const_cast<>().
5315
5316 2002-05-25  Jody Goldberg <jody@gnome.org>
5317
5318         * gsf/gsf-impl-utils.h (GSF_CLASS_FULL) : suppress warning.
5319
5320         * gsf/gsf-infile-msole.c (ole_dirent_new) : disable debug spew.
5321         (ole_init_info) : suppress bogus compile warning.
5322           Use gsf_ole_get_guint32s to convert the data to normal endianness.
5323         (gsf_ole_get_guint32s) : new.
5324         (ole_info_read_metabat) : assume the metabat is already uses native
5325           byte ordering.
5326
5327         * gsf/gsf-input.c (gsf_input_seek) : suppress warning.
5328         (gsf_input_dup) : ditto.
5329         (gsf_input_init) : ditto.
5330
5331 2002-05-25  J.H.M. Dassen (Ray) <jdassen@debian.org>
5332
5333         * configure.in:
5334           Actually use warning flags from GNOME_COMPILE_WARNINGS, so
5335           "--enable-warnings=maximum" and "--with-iso-c" are honoured.
5336           Test whether defining _BSD_SOURCE is needed for caddr_t.
5337           (e.g. on Debian with -ansi for gcc3.0 and 3.1)
5338           Test whether defining _POSIX_SOURCE is needed for fdopen().
5339           Enable a lot more warnings.
5340         * debian/rules: minor tweaks.
5341
5342 2002-05-25  Jody Goldberg <jody@gnome.org>
5343
5344         * gsf/gsf-input.c (gsf_input_seek) : more error checking.
5345
5346 2002-05-25  Jody Goldberg <jody@gnome.org>
5347
5348         * gsf/test-msole1.c (test) : dump head of odd records.
5349
5350         * gsf/gsf-input.c (gsf_input_seek) : do more of the work up here.
5351         * gsf/gsf-infile-msole.c (gsf_infile_msole_seek) : adjust here.
5352         * gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : and here.
5353         * gsf/gsf-input-memory.c (gsf_input_memory_seek) : and here.
5354
5355 2002-05-25  Jody Goldberg <jody@gnome.org>
5356
5357         * gsf/gsf-infile-msole.c (ole_dirent_new) : fix off by 1 error in
5358           handling broken ascii stream names.
5359
5360 2002-05-25  Jody Goldberg <jody@gnome.org>
5361
5362         * gsf/gsf-infile-msole.c (ole_init_info) : libole2 knew about a smidge
5363           more of the ole header, use the sbat counter.
5364
5365         * gsf/test-msole1.c (test) : even more sanity checking.
5366
5367 2002-05-25  Jody Goldberg <jody@gnome.org>
5368
5369         * gsf/test-msole1.c (test) : add more safety checks to automate
5370           validation of imported biff records.
5371
5372         * gsf/gsf-infile-msole.c (ole_dirent_new) : Based on char-width2.xls
5373           it looks like directory sizes are periodically screwed.
5374
5375 2002-05-25  Jody Goldberg <jody@gnome.org>
5376
5377         * gsf/gsf-infile-msole.c : fix small block support.
5378           Handle the bogus use of ascii stream names in some case.
5379
5380 2002-05-24  Jody Goldberg <jody@gnome.org>
5381
5382         * gsf/gsf-input-stdio.c (gsf_input_stdio_new) : merge the size
5383           checking in here and do more error reporting.
5384         (gsf_input_stdio_class_init) : delete gsf_input_stdio_size
5385         (gsf_input_stdio_size) : delete.
5386
5387         * gsf/gsf-input.c (gsf_input_read) : put the bound check here.
5388
5389 2002-05-24  Jody Goldberg <jody@gnome.org>
5390
5391         * gsf/gsf-input-stdio.c (gsf_input_stdio_new) : make buf_size unsigned.
5392         (gsf_input_stdio_finalize) : and here.
5393         (gsf_input_stdio_read) : and here.
5394
5395         * gsf/gsf-input.c (gsf_input_seek) : As morten suggested this is
5396           better as > size rather than >= size.
5397
5398 2002-05-24  Jody Goldberg <jody@gnome.org>
5399
5400         * gsf/gsf-infile-msole.c (gsf_infile_msole_read) : only seek if we
5401           need to.
5402
5403 2002-05-24  Jody Goldberg <jody@gnome.org>
5404
5405         * gsf/test-msole1.c (test) : more debug info, and less content spew.
5406
5407 2002-05-23  Jody Goldberg <jody@gnome.org>
5408
5409         * gsf/gsf-input-stdio.c (gsf_input_stdio_size) : be more careful about
5410           people who open devices.
5411
5412 2002-05-23  Jody Goldberg <jody@gnome.org>
5413
5414         * gsf/gsf-infile-msole.c (ole_dirent_new) : more error handling.
5415         (ole_info_get_sb_file) : make things more readable and split this out.
5416         (gsf_infile_msole_new_child) : fix reading small blocks.
5417
5418 2002-05-23  Jody Goldberg <jody@gnome.org>
5419
5420         * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8) : move here.
5421         (GSF_OLE_GET_GUINT16) : ditto.
5422         (GSF_OLE_GET_GUINT32) : ditto.
5423
5424 2002-05-23  Jody Goldberg <jody@gnome.org>
5425
5426         * gsf/gsf-utils.h : Use the glib type macros instead of defining our
5427           own.
5428
5429 2002-05-23  J.H.M. Dassen (Ray) <jdassen@debian.org>
5430
5431         * doc/Makefile.am: Introduced DOC_DIR so the location can be easily
5432         overridden when building packages.
5433         * debian/*: Preliminary Debian packaging.
5434
5435 2002-05-23  Jody Goldberg <jody@gnome.org>
5436
5437         * gsf/gsf-infile-msole.c (ole_info_read_xbat) : DOH!
5438           We need to check endianness when reading the bat elements.
5439         (gsf_infile_msole_read) : slow but effective work around for
5440           breaking at block boundaries.  I'll work up something faster this
5441           evening.
5442
5443 2002-05-19  Jody Goldberg <jody@gnome.org>
5444
5445         * Start making this into a real package.