1 2011-05-20 Morten Welinder <terra@gnome.org>
5 2011-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7 * gsf/gsf-opendoc-utils.c (get_gsf_odf_version_string): bump to 1.2
8 (get_gsf_odf_version): bump to 1.2
10 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
16 2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
18 * gsf/gsf-opendoc-utils.c (od_meta_user_defined): initialize type
21 2011-05-02 Jean Brefort <jean.brefort@normalesup.org>
23 * gsf/gsf-impl-utils.h: fix GSF_DYNAMIC_CLASS_FULL to make gcc-4.6 happy.
25 2011-04-05 Morten Welinder <terra@gnome.org>
27 * Makefile.am: ${ACLOCAL_FLAGS}, not $(ACLOCAL_FLAGS) which seems
28 to matter to Gentoo. Fixes #645777.
30 2011-03-28 Morten Welinder <terra@gnome.org>
32 * configure.in: Implement --without-gconf (as opposed to looking
35 2011-03-24 Morten Welinder <terra@gnome.org>
39 2011-03-24 Morten Welinder <terra@gnome.org>
41 * configure.in: Post-release bump.
43 2011-03-11 Morten Welinder <terra@gnome.org>
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.
51 2010-12-17 Morten Welinder <terra@gnome.org>
53 * tests/test-outmem-printf.c (test): Attempt a leak fix.
55 2010-11-10 Morten Welinder <terra@gnome.org>
57 * gsf/gsf-msole-utils.c (msole_prop_parse): Handle NULL error
58 message without crashing. [#634435] Patch by Caolan McNamara.
60 2010-09-25 Morten Welinder <terra@gnome.org>
62 * configure.in: Post-release bump.
64 2010-09-25 Morten Welinder <terra@gnome.org>
68 2010-09-25 Morten Welinder <terra@gnome.org>
70 * gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
71 elements in unknown namespaces.
73 2010-09-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
75 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add another one of OOo's
77 * gsf/gsf-opendoc-utils.h: add new enum value to support above
80 2010-08-28 Morten Welinder <terra@gnome.org>
82 * gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Don't use C89 argument
85 * gsf/gsf-output-bzip.c (gsf_output_bzip_close): Rework previous
86 change. We do not want two prototypes.
88 2010-08-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
90 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add some more of OOo's
92 * gsf/gsf-opendoc-utils.h: add new enum values to support above
94 * gsf/gsf-output-bzip.c (gsf_output_bzip_close): quieten compile
96 2010-07-28 Morten Welinder <terra@gnome.org>
98 * gsf/gsf-utils.c (gsf_debug_flag): New function.
100 * gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
101 missing namespace uris unless a debug flag is set.
103 2010-04-07 Morten Welinder <terra@gnome.org>
105 * configure.in: Post-release-bump.
107 2010-04-07 Morten Welinder <terra@gnome.org>
111 2010-04-06 Morten Welinder <terra@gnome.org>
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.
118 * gsf/gsf-infile-zip.c (zip_dirent_new_in): Read dirent->flags.
120 2010-04-05 Morten Welinder <terra@gnome.org>
122 * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Fix win32 warning about
125 2010-02-13 Morten Welinder <terra@gnome.org>
127 * configure.in: Post-release-bump.
129 2010-02-13 Morten Welinder <terra@gnome.org>
133 2009-11-18 Morten Welinder <terra@gnome.org>
135 * gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_foreach): Sort the
138 2009-11-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
140 * autogen.sh: allow dirs on PATH to have spaces withou causing warning
142 2009-10-29 Morten Welinder <terra@gnome.org>
144 * gsf/gsf-libxml.c (gsf_xml_probe_element): Fix crash on documents
145 like <a:b xmlns:c="d://"/>
147 2009-10-11 Morten Welinder <terra@gnome.org>
151 2009-09-25 Morten Welinder <terra@gnome.org>
153 * thumbnailer/main.c (call_convert): Use gdk_pixbuf if available.
155 2009-09-25 Morten Welinder <mwelinder@gmail.com>
157 * configure.in (libgsf_gnome_reqs): Remove gnome-vfs stuff.
160 2009-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
162 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add variant of OO_NS_FIELD
164 2009-08-20 Morten Welinder <terra@gnome.org>
166 * gsf/gsf-libxml.c (gsf_xml_in_start_element): Complain to stderr,
167 not stdout. Fixes #592471.
169 2009-06-20 Morten Welinder <terra@gnome.org>
171 * configure.in: Post-release-bump.
173 2009-06-20 Morten Welinder <terra@gnome.org>
177 2009-06-17 Morten Welinder <terra@gnome.org>
179 * gsf/gsf-msole-utils.c (msole_prop_parse): Use gsf_timestamp_new
180 and gsf_timestamp_set_time.
182 * gsf/gsf-timestamp.c (gsf_timestamp_from_string): Improve error
184 (gsf_timestamp_set_time): New function.
185 (gsf_timestamp_new): New function.
187 2009-06-05 Morten Welinder <terra@gnome.org>
189 * gsf/gsf-msole-utils.c (msole_prop_parse): If parsing fails,
190 don't return a bogus value. Fixes #584848.
192 2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
200 2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
202 * gsf/gsf-opendoc-utils.[ch]: replace GSF_ODF_VERSION with a variable
204 2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
210 2009-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
217 2009-05-23 Morten Welinder <terra@gnome.org>
219 * configure.in: Psot-release bump.
221 2009-05-23 Morten Welinder <terra@gnome.org>
225 2009-05-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
232 2009-05-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
240 2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
242 * gsf/gsf-opendoc-utils.h: add namespace enumeration constant for
244 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add namespace for MSOXL
246 2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
248 * gsf/gsf-opendoc-utils.c (gsf_opendoc_meta_dtd): scan meta's
249 children for more namespaces to handle CleverAge's files.
251 2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
253 * gsf/gsf-opendoc-utils.h: add more new namespace enumeration
255 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add more new namespaces
257 2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
259 * gsf/gsf-opendoc-utils.h: add new namespace enumeration
261 * gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces
263 2009-05-06 Morten Welinder <terra@gnome.org>
265 * configure.in : post release bump
267 2009-05-06 Morten Welinder <terra@gnome.org>
271 2009-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
280 2009-04-28 Emmanuel Pacaud <emmanuel@gnome.org>
284 2009-04-25 Morten Welinder <terra@gnome.org>
286 * configure.in : post release bump
288 2009-04-25 Morten Welinder <terra@gnome.org>
292 2009-04-25 Morten Welinder <terra@gnome.org>
294 * gsf/gsf-input-memory.c (gsf_input_memory_new_clone): Fix
295 preconditions. Always allocate at least one byte. Avoid cast.
298 2009-04-17 Morten Welinder <terra@gnome.org>
300 * gsf/gsf-output.c (gsf_output_set_error): Fix allocation method
301 problem for errors. Fixes #579155.
303 2009-04-15 Morten Welinder <terra@gnome.org>
305 * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Fix a
308 2009-04-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
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
316 2009-04-11 Jody Goldberg <jody@gnome.org>
318 * gsf/gsf-libxml.c (lookup_child) : handle namespace uri being
319 declared as both default and explict prefix.
321 2009-02-07 Morten Welinder <terra@gnome.org>
323 * configure.in (bonobo): auto-detect.
325 2009-02-19 Jody Goldberg <jody@gnome.org>
327 * gsf/gsf.h : document the members of timestamp to avoid gtk-doc
330 * gsf/gsf-timestamp.c (gsf_timestamp_from_string) : renamed from.
331 (gsf_timestamp_parse) : here, and this is deprecated.
333 2009-02-18 Jody Goldberg <jody@gnome.org>
335 * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child) : Handle
336 small-block files that are not block aligned. [#572290]
338 2009-02-04 Morten Welinder <terra@gnome.org>
340 * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Drop characters that
341 xml 1.0 cannot represent. Bandaids #568919.
343 2009-01-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
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 .
352 2009-01-26 Morten Welinder <terra@gnome.org>
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.
358 2009-01-06 Jody Goldberg <jody@gnome.org>
360 * configure.in : post release bump
362 2009-01-06 Jody Goldberg <jody@gnome.org>
366 2009-01-02 Jody Goldberg <jody@gnome.org>
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.
372 2008-12-25 Morten Welinder <terra@gnome.org>
374 * configure.in (statfs): Fix detection for Darwin. Fixes #565603.
376 * gsf-gnome/gsf-input-gnomevfs.h, gsf-gnome/gsf-output-gnomevfs.h:
377 Fix compilation in gnome case. Fixes #565605.
379 2008-12-24 Morten Welinder <terra@gnome.org>
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
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.
390 2008-12-14 Morten Welinder <terra@gnome.org>
392 * */*.c: Clean up glib includes. Patch from Pedro Fragoso. Fixes
395 2008-11-23 Jody Goldberg <jody@gnome.org>
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.
403 * configure.in : add MSGs for the preceding bz2 test.
405 2008-11-23 Jody Goldberg <jody@gnome.org>
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.
411 2008-11-08 Morten Welinder <terra@gnome.org>
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.
418 2008-11-05 Morten Welinder <terra@gnome.org>
420 * */*.c: Fix problem with formats. Based on patch from Hib Eris,
423 2008-10-30 Morten Welinder <terra@gnome.org>
425 * gsf/gsf-output-stdio.c (rename_wrapper): Only use statfs if it
426 is the expected two-argument kind. Fixes #558253.
428 2008-10-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
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)
435 2008-10-19 Jody Goldberg <jody@gnome.org>
439 2008-10-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
441 * gsf-gnome/gsf-input-gnomevfs.h: add #define if
442 LIBGSF_GNOMEVFS_VIA_GIO is defined
444 2008-10-17 Morten Welinder <terra@gnome.org>
446 * gsf-gnome/Makefile.am: Don't compile the gnomevfs part unless
449 2008-10-16 Morten Welinder <terra@gnome.org>
451 * configure.in: Define LIBGSF_GNOMEVFS_VIA_GIO via command line,
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.
457 2008-10-05 Morten Welinder <terra@gnome.org>
459 * gsf/gsf-infile-msole.c (ole_info_read_metabat): Use g_warning,
460 not g_return_val_if_fail. Fixes #554848.
462 2008-09-28 Morten Welinder <terra@gnome.org>
464 * tools/gsf.c (ls_R): Handle NULL children. Fixes #553861.
466 2008-09-24 Morten Welinder <terra@gnome.org>
468 * gsf/gsf-infile-tar.c (unpack_octal): Add error check. Fixes
471 * tools/gsf.c (open_archive): Also try tar file format.
473 * gsf/gsf-infile-tar.[ch]: New files.
475 2008-09-14 Gil Forcada <gforcada@gnome.org>
479 Added support for po/LINGUAS file, closing #551577.
481 2008-09-12 Jody Goldberg <jody@gnome.org>
483 * gsf/gsf-msole-utils.c (gsf_msole_iconv_get_codepage_string_list) :
484 We intentionally fallthrough to the next case.
486 2008-09-11 Jody Goldberg <jody@gnome.org>
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
492 2008-09-10 Jody Goldberg <jody@gnome.org>
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.
499 2008-09-03 Morten Welinder <terra@gnome.org>
501 * gsf/gsf-output-stdio.c (rename_wrapper): Work around sshfs
502 brokenness. Fixes #509883.
504 2008-08-30 Jody Goldberg <jody@gnome.org>
506 * configure.in : Post release bump
508 2008-08-29 Jody Goldberg <jody@gnome.org>
512 2008-08-28 Morten Welinder <terra@gnome.org>
514 * configure.in (GNOMEVFS_REQ, BONOBO_REQ): Define as needed.
515 * libgsf-gnome-1.pc.in: Use the above.
517 2008-08-28 Jody Goldberg <jody@gnome.org>
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.
523 2008-08-24 Jody Goldberg <jody@gnome.org>
525 * gsf/gsf-infile-msvba.c (gsf_input_find_vba) : move this here from
527 (gsf_infile_msvba_get_modules) : new.
528 (vba_extract_module_source) : store the code rather than dumping it to stdout.
530 * tools/gsf-vba-dump.c (test) : use the new utilities.
531 (cb_dump_vba) : do the dumping here.
533 2008-07-28 Hubert Figuiere <hfiguiere@novell.com>
535 * thumbnailer/gsf-office-thumbnailer.schemas.in:
536 * thumbnailer/main.c (zip_thumbnail): Add support for OpenPkg
537 (MS Office Open XML) thumbnailing.
539 2008-07-19 Jody Goldberg <jody@gnome.org>
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.
544 2008-07-18 Dominic Lachowicz <domlachowicz@gmail.com>
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
549 2008-07-02 Morten Welinder <terra@gnome.org>
551 * gsf-gnome/gsf-output-gnomevfs.c: Use gio, not gnomevfs, when
552 LIBGSF_GNOMEVFS_VIA_GIO is defined.
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.
558 2008-07-01 Jody Goldberg <jody@gnome.org>
560 * gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel) : make public.
561 (gsf_open_pkg_foreach_rel) : new.
563 2008-06-30 Jody Goldberg <jody@gnome.org>
565 * gsf/gsf-infile.c (gsf_infile_child_by_aname) : new.
566 (gsf_infile_child_by_vaname) : new.
568 2008-06-13 Jody Goldberg <jody@gnome.org>
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
579 2008-06-08 Kjartan Maraas <kmaraas@gnome.org>
581 * configure.in: Add nb to ALL_LINGUAS.
583 2008-05-20 Tor Lillqvist <tml@novell.com>
585 * libgsf-zip.in: Message catalogs nowadays end up in share/locale
586 as they should, not lib/locale.
588 2008-05-04 Jody Goldberg <jody@gnome.org>
590 * tools/gsf-vba-dump.c (test) : support MS OOX.
592 2008-04-13 Morten Welinder <terra@gnome.org>
594 * gsf/gsf-utils.c (gsf_init): Run-time test for gsf_le_get_double.
595 Might save __arm__ people some head scratching.
597 2008-04-09 Morten Welinder <terra@gnome.org>
599 * configure.in: Reorganize gnome-vfs/bonobo checks.
601 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
602 Prepare for making this a simple wrapper over gio.
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.
609 2008-03-17 Dominic Lachowicz <domlachowicz@gmail.com>
611 * tests/Makefile.am: libgsf-gio-1.la doesn't exist any more
613 2008-03-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
615 * libgsf-gio-1.pc.in: No longer needed.
616 * configure.in, Makefile: Drop references to it.
618 2008-03-16 Morten Welinder <terra@gnome.org>
620 * gsf/Makefile.am: Don't install gio support in its own library.
622 2008-03-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
624 * doc/gsf-vba-dump.1: New.
626 2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
628 * libgsf-gio-1.pc.in:
632 * gsf/gsf-output-gio.h:
634 * gsf/gsf-input-gio.c:
635 * gsf/gsf-output-gio.c:
636 * gsf/gsf-input-gio.h:
640 * libgsf-gvfs-1.pc.in: Migrate names from "gvfs" to "gio";
641 move GIO code to gsf/ and get rid of gsf-gvfs/
643 2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
645 * gsf-gvfs/gsf-input-gvfs.c:
646 * gsf-gvfs/gsf-output-gvfs.c: g_file_new() functions cannot fail
648 2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
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:
657 * Makefile.am: Update GIO backend to use glib 2.16's API
659 2008-03-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
665 2008-03-05 Morten Welinder <terra@gnome.org>
667 * configure.in: Post release bump.
669 2008-03-05 Morten Welinder <terra@gnome.org>
673 2008-02-07 Morten Welinder <terra@gnome.org>
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.
679 (ole_init_info): Sanity check num_sbat too.
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
686 2007-11-22 Jody Goldberg <jody@gnome.org>
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.
691 2007-11-10 Morten Welinder <terra@gnome.org>
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.
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.
702 2007-11-02 Morten Welinder <terra@gnome.org>
704 * gsf/gsf-output-csv.c (gsf_output_csv_set_sink): Allow setting a
707 2007-10-29 Morten Welinder <terra@gnome.org>
709 * gsf/gsf-input-http.c (gsf_input_http_finalize): Let g_free
712 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize): Let
713 g_slist_free handle empty lists too.
715 2007-10-27 Morten Welinder <terra@gnome.org>
717 * gsf/gsf-msole-utils.c (msole_prop_parse): Improve sanity
720 2007-10-27 Jody Goldberg <jody@gnome.org>
722 * gsf-win32/Makefile.am : Only install headers on win32. [#459771]
724 2007-10-27 Jody Goldberg <jody@gnome.org>
726 * gsf/gsf-opendoc-utils.c : Add
727 urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
729 2007-10-15 Morten Welinder <terra@gnome.org>
731 * gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Sanity check
732 sections without hitting g_return_val_if_fail. Probably fixes
735 2007-09-25 Jody Goldberg <jody@gnome.org>
737 * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child) : use it for
738 standard children too.
740 2007-09-19 Dom Lachowicz <domlachowicz@gmail.com>
742 * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child): Pass the va_list
745 2007-09-07 Jody Goldberg <jody@gnome.org>
747 * configure.in : post release bump
749 2007-09-07 Jody Goldberg <jody@gnome.org>
753 2007-09-07 Jody Goldberg <jody@gnome.org>
755 * gsf/gsf-libxml.c (gsf_xml_out_start_element) : Good grief.
756 Overzealous renaming breaks all xml output.
758 2007-09-04 Jody Goldberg <jody@gnome.org>
760 * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_add_extern_rel) : add
763 * gsf/gsf-libxml.c : s/xml/xout/ to placate gtk-doc.
765 2007-09-03 Jody Goldberg <jody@gnome.org>
767 * configure.in : post release bump
769 2007-09-03 Jody Goldberg <jody@gnome.org>
773 2007-08-30 Jody Goldberg <jody@gnome.org>
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
787 (gsf_open_pkg_open_rel_by_type) : renamed from ...
788 (gsf_open_pkg_get_rel_by_type) : which was deprecated because the name
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.
796 * gsf/gsf-libxml.c (gsf_xml_out_get_output) : new.
798 2007-07-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
800 * configure.in: Resync ALL_LINGUAS with po files.
802 2007-07-24 Jody Goldberg <jody@gnome.org>
805 * gsf/gsf-msole-utils.c (cb_write_dict) : fix buffer overrun that
806 would overwrite a variable with itself +1
808 2007-07-22 Jody Goldberg <jody@gnome.org>
810 * gsf/gsf-input-memory.c (gsf_input_memory_new_clone) : add some
811 safety checks against invalid parameters.
813 2007-07-20 Dom Lachowicz <domlachowicz@gmail.com>
815 * gsf-gvfs/gsf-input-gvfs.c: Make a local copy of the stream if it's not
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
821 2007-07-14 Jean Brefort <jean.brefort@normalesup.org>
823 * configure.in: always initialize have_gvfs.
825 2007-07-12 Dom Lachowicz <domlachowicz@gmail.com>
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:
834 * configure.in: New GVFS-based backend
837 * tests/Makefile.am: Small test harness for the new GVFS-based backend
839 2007-07-10 Jody Goldberg <jody@gnome.org>
841 * configure.in : post release bump
843 2007-07-10 Jody Goldberg <jody@gnome.org>
847 2007-07-05 Jody Goldberg <jody@gnome.org>
849 * python/gsfmodule.c : warning suppression.
851 2007-06-30 Jody Goldberg <jody@gnome.org>
853 * gsf/gsf-output-csv.c (gsf_output_csv_quoting_mode_get_type) : missed
854 converting this back from a dynamic type.
856 2007-06-30 Jody Goldberg <jody@gnome.org>
858 * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_set_sink) : fix a doc
861 2007-06-30 Jody Goldberg <jody@gnome.org>
863 * configure.in : fix --without-bonobo case in the --without-gnome
866 2007-06-30 Jody Goldberg <jody@gnome.org>
868 * thumbnailer/Makefile.am : Work even if gconf macros are not
870 * configure.in : ditto.
872 2007-06-30 Jody Goldberg <jody@gnome.org>
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]
878 2007-06-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
880 * doc/Makefile.am: Add gsf.1 to manpage_DATA.
882 2007-06-18 Jody Goldberg <jody@gnome.org>
884 * configure.in : post release bump.
886 2007-06-18 Jody Goldberg <jody@gnome.org>
890 2007-06-13 Jody Goldberg <jody@gnome.org>
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
896 (GSF_DYNAMIC_INTERFACE_FULL) : ditto.
898 2007-06-11 Morten Welinder <terra@gnome.org>
900 * gsf/gsf-input-gzip.c (GsfInputGZip): Use gsf_off_t for
901 header_size and trailer_size to kill warnings.
903 * gsf/gsf-input.c (gsf_input_read): Fix warning.
905 * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_read): Fix printf
908 2007-06-10 Jody Goldberg <jody@gnome.org>
910 * gsf/gsf-open-pkg-utils.c : Move over from gnumeric.
911 * po/POTFILES.in : Add the new code.
913 2007-06-10 Jody Goldberg <jody@gnome.org>
915 * configure.in : Add a test for setrlimit.
916 * thumbnailer/main.c : use it here, just in case.
918 2006-12-21 Federico Mena Quintero <federico@novell.com>
920 https://bugzilla.novell.com/show_bug.cgi?id=229609 - Limit the
921 resource consumption of the helper process in gsf-office-thumbnailer.
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
927 (main): Call set_resource_limits().
929 2007-06-10 Jody Goldberg <jody@gnome.org>
931 * doc/gsf-sections.txt : Add the dynamic _register_type functions, and
932 the new nano-http class.
934 2007-06-10 Jody Goldberg <jody@gnome.org>
936 * gsf/gsf-utils.c (gsf_init_dynamic) : register the new input type.
938 From : Michael Lawrence [#362373]
939 * gsf/gsf-input-http.[ch] : provide a nano-http (from libxml2)
941 * tests/test-http.c : add.
943 2007-06-10 Jody Goldberg <jody@gnome.org>
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.
949 2007-06-10 Jody Goldberg <jody@gnome.org>
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.
956 2007-04-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
959 * gsf/gsf-meta-names.h, gsf/gsf.h, gsf/gsf-impl-utils.h,
960 gsf/gsf-utils.h: Documentation work.
962 2007-02-16 Jody Goldberg <jody@gnome.org>
964 * tests/test-cp-zip.c (clone) : make more resistant to read failures.
966 2007-01-23 Morten Welinder <terra@gnome.org>
968 * configure.in (pygtk): Show result.
970 2007-01-13 J.H.M. Dassen (Ray) <jdassen@debian.org>
972 * configure.in: Adjusted pkg-config requirements to reflect that
973 libgsf-gnome doesn't need libxml-2.0.
975 2007-01-10 Morten Welinder <terra@gnome.org>
977 * gsf/gsf-libxml.c (push_child, gsf_xml_in_end_element): Handle
980 2006-12-17 Jody Goldberg <jody@gnome.org>
982 * gsf/gsf-input-bzip.c : include gsf-input-impl.h
985 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
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
992 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
994 * gsf/gsf-input-textline.c (gsf_input_textline_new): Set the input's
995 size based on its source sink's size.
997 2006-12-10 Jody Goldberg <jody@gnome.org>
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.
1003 2006-12-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
1005 * gsf/gsf-output.h: Annotate GsfOutputClass.Vprintf with a format
1008 2006-12-06 Morten Welinder <terra@gnome.org>
1010 * gsf/gsf-utils.c (gsf_mem_dump_full): Cleanup. (Avoid boundary
1011 case problems and print line-by-line.)
1013 * gsf/gsf-output.c (gsf_output_real_vprintf): Do not reuse a
1014 va_list argument. That does not work.
1016 2006-12-04 Morten Welinder <terra@gnome.org>
1018 * thumbnailer/main.c: Use g_printerr, not fprintf. That fixes
1019 output in non-UTF8 locales.
1021 * configure.in (libgsf_reqs): Bump glib req to 2.8 for g_try_new.
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.
1026 * gsf/gsf-output-csv.c (gsf_output_csv_write_field): Quote on
1027 initial or terminal whitespace, see bug #359348.
1029 2006-12-02 Morten Welinder <terra@gnome.org>
1031 * gsf/gsf-infile-msole.c (ole_info_read_metabat): Advance bats in
1032 the empty case too. Fixes #381588.
1034 2006-12-01 Christian Neumair <chris@gnome-de.org>
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.
1040 2006-11-20 Morten Welinder <terra@gnome.org>
1042 * gsf/gsf-libxml.c (gsf_xml_out_add_gvalue): Plug leak.
1044 2006-11-20 Jody Goldberg <jody@gnome.org>
1046 * doc/gsf-docs.sgml : Add some missing indicies.
1047 * doc/Makefile.am : init with gsf_init
1049 2006-11-17 Jody Goldberg <jody@gnome.org>
1051 * gsf/*.[ch] : update copyrights
1053 2006-11-17 Jody Goldberg <jody@gnome.org>
1055 * gsf/*.[ch] : Make GTypes dynamic and enable gsf_init_dynamic
1057 2006-11-10 Jody Goldberg <jody@gnome.org>
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.
1063 2006-11-09 Tor Lillqvist <tml@novell.com>
1065 * libgsf-zip.in: Fix typo.
1067 2006-11-05 Jody Goldberg <jody@gnome.org>
1069 * configure.in : post release bump
1071 2006-11-05 Jody Goldberg <jody@gnome.org>
1075 2006-11-03 Jody Goldberg <jody@gnome.org>
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
1081 2006-11-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
1090 2006-10-25 Jody Goldberg <jody@gnome.org>
1092 * gsf/gsf-opendoc-utils.c (meta_write_props) : clean up the code to
1093 handle missing values and invalid properties.
1095 2006-10-24 Jody Goldberg <jody@gnome.org>
1097 * gsf/gsf-opendoc-utils.c (meta_write_props) : OLE2 stores a single
1098 string, ODF stores a vector.
1100 2006-10-02 Jody Goldberg <jody@gnome.org>
1102 * configure.in : post release bump
1104 2006-09-26 Jody Goldberg <jody@gnome.org>
1108 2006-09-26 Morten Welinder <terra@gnome.org>
1110 * configure.in (test_python): Fix python tests.
1112 2006-09-24 Jody Goldberg <jody@gnome.org>
1115 * autogen.sh : Check srcdir for the extra macros.
1116 * python/Makefile.am : Include srcdir.
1118 2006-09-24 Jody Goldberg <jody@gnome.org>
1121 * configure.in : conditionalize the python checks.
1123 2006-09-23 Jody Goldberg <jody@gnome.org>
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
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.
1139 2004-07-16 Stepan Kasal <kasal@ucw.cz>
1141 YES, 2004!. Commit an ancient patch that was forgotten.
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:
1151 2006-09-23 Jody Goldberg <jody@gnome.org>
1153 Patch from Frederic Peters : #354690
1154 * python/Makefile.am : Link to our version of libgsf, not the system.
1156 2006-09-18 Morten Welinder <terra@gnome.org>
1158 * gsf/gsf-input.c (gsf_input_uncompress): Use correct HAVE_ symbol
1159 for bzip2 and fix typo. Fixes #356391.
1161 2006-09-06 Morten Welinder <terra@gnome.org>
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.
1168 * tools/gsf.c (gsf_dump_props): Print proper filename in error
1171 2006-08-28 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1173 * thumbnailer/gsf-office-thumbnailer.schemas.in: Trivial
1174 patch to install all the schemas in the correct place.
1177 2006-08-20 Jody Goldberg <jody@gnome.org>
1179 * gsf/gsf-infile-msole.c (ole_init_info) : Add validation in case
1180 ::num_metabat too large for the ::num_bats.
1182 2006-08-19 Jody Goldberg <jody@gnome.org>
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.
1189 2006-08-19 Jody Goldberg <jody@gnome.org>
1191 * gsf/gsf-doc-meta-data.c (gsf_doc_prop_dump) : new.
1192 (cb_print_property) : split out from here.
1194 * tools/gsf.c (gsf_dump_props) : new.
1195 (main) : Add 'props' command to dump metadata.
1197 2006-06-30 Morten Welinder <terra@gnome.org>
1199 * gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Validate
1200 num_props a little bit. (#346189, Michal Kowalczuk)
1202 2006-06-14 Jody Goldberg <jody@gnome.org>
1205 * gsf/gsf-msole-utils.c (msole_metadata_write_prop) : Fix export of
1206 R8. Typo was using SET_FLOAT rather than SET_DOUBLE.
1208 2006-05-26 Jody Goldberg <jody@gnome.org>
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.
1215 2006-05-25 Jody Goldberg <jody@gnome.org>
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.
1220 2006-05-18 Jody Goldberg <jody@gnome.org>
1222 * thumbnailer/gsf-office-thumbnailer.schemas.in : Add OpenOffice 1.0
1223 mime types and missing OpenDocument types.
1225 2006-05-08 Jody Goldberg <jody@gnome.org>
1227 * configure.in : post release bump
1229 2006-05-08 Jody Goldberg <jody@gnome.org>
1233 2006-05-02 Jody Goldberg <jody@gnome.org>
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.
1239 2006-05-05 Morten Welinder <terra@gnome.org>
1241 * gsf/gsf.c (main): New (uninstalled) beginning of a tar-like
1244 2006-04-30 Jody Goldberg <jody@gnome.org>
1246 * gsf/gsf-libxml.c (GsfXMLOut) : added 'pretty-print' property to
1247 optionally disable auto indenting of output.
1249 2006-04-18 Jody Goldberg <jody@gnome.org>
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
1256 2006-04-21 Morten Welinder <terra@gnome.org>
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.
1262 2006-04-15 Jody Goldberg <jody@gnome.org>
1264 * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : handle default namespaces
1266 (gsf_xml_in_namecmp) : ditto.
1268 2006-04-10 Jody Goldberg <jody@gnome.org>
1270 * gsf/gsf-timestamp.c (gsf_timestamp_as_string) : single digit seconds
1273 2006-04-08 Jody Goldberg <jody@gnome.org>
1275 * gsf/gsf-input.c (gsf_input_sibling) : fix docs.
1277 2006-04-08 Morten Welinder <terra@gnome.org>
1279 * gsf/gsf-infile-msole.c (ole_init_info): Constrain big blocksize
1280 to be no bigger than file size.
1282 2006-04-07 Jody Goldberg <jody@gnome.org>
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.
1289 2006-04-07 Jody Goldberg <jody@gnome.org>
1291 * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : check the current default
1293 (gsf_xml_in_namecmp) : ditto.
1294 (gsf_xml_in_start_element) : improve the warning for unexpected
1297 * gsf/gsf-blob.h : deprecate the non-standard name 'GSF_TYPE_BLOB'
1298 and add GSF_BLOB_TYPE.
1300 * doc/gsf-docs.sgml : fix up the organization a bit.
1301 * doc/gsf-sections.txt : ditto.
1303 2006-03-20 Morten Welinder <terra@gnome.org>
1305 * gsf/gsf-libxml.c (gsf_xml_in_doc_parse): Set new member
1307 (gsf_xml_in_start_document): Ditto.
1308 (gsf_xml_in_end_document): Avoid crashing if not initialized.
1309 Works around #335152.
1311 2006-03-08 Morten Welinder <terra@gnome.org>
1313 * doc/Makefile.am (manpagedir): Fix #316107.
1315 2006-03-07 Eduardo Lima <eduardo.lima@indt.org.br>
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
1321 (gsf_doc_prop_set_link): Just free prop->linked_to if it is not NULL.
1323 2006-03-06 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
1325 * configure.in: detect gmtime/gmtime_r
1326 * gsf/gsf-timestamp.c: various fixes to enable compilatioon on win32
1328 * thumbnailer/Makefile.am: disable running of gconftool when
1331 2006-03-03 Jody Goldberg <jody@gnome.org>
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
1338 2006-03-02 Eduardo Lima <eduardo.lima@indt.org.br>
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.
1344 2006-03-02 Luciano M. Wolf <luciano.wolf@indt.org.br>
1346 * gsf/gsf-opendoc-utils.c (od_meta_keyword) : init the value to string
1347 before storing the result.
1349 2006-03-02 Jody Goldberg <jody@gnome.org>
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
1355 2006-03-02 Jody Goldberg <jody@gnome.org>
1357 * configure.in : post release bump
1359 2006-03-02 Jody Goldberg <jody@gnome.org>
1361 * Release 1.14.0 / 1.13.99 (for Novell)
1363 2006-03-02 Jody Goldberg <jody@gnome.org>
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.
1370 2006-03-02 Jody Goldberg <jody@gnome.org>
1372 * gsf/gsf-doc-meta-data.c (gsf_doc_meta_dump) : Move this here from
1375 2006-03-01 Jody Goldberg <jody@gnome.org>
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.
1381 2006-02-26 Jody Goldberg <jody@gnome.org>
1383 * thumbnailer/main.c (read_thumbnail_and_write) : split out ole2
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.
1389 2006-02-25 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
1394 2006-02-16 Morten Welinder <terra@gnome.org>
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.
1400 2006-01-21 Morten Welinder <terra@gnome.org>
1402 * gsf/gsf-libxml.c (gsf_xml_parser_context_full): Fix a
1405 2006-02-15 Morten Welinder <terra@gnome.org>
1407 * gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Plug leak by
1408 shutting down the old stream properly.
1410 2006-02-15 Morten Welinder <welinder@rentec.com>
1412 * gsf/gsf-infile-zip.c (gsf_infile_zip_seek):
1414 2006-02-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
1416 * configure.in: Add "sv" to ALL_LINGUAS.
1418 2006-01-20 Jody Goldberg <jody@gnome.org>
1420 * gsf/gsf-libxml.c (gsf_xml_parser_context_full) : set
1421 xmlParserCtxt::replaceEntities. This fixes parsing problems with
1422 attributes that contain &
1424 2006-01-08 Stepan Kasal <kasal@ucw.cz>
1426 * gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Wrap (type==0) by G_UNLIKELY.
1428 2006-01-06 Dom Lachowicz <cinamod@hotmail.com>
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
1434 2006-01-02 Stepan Kasal <kasal@ucw.cz>
1436 * doc/tmpl/*.sgml: Cleanup errors introduced by gtk-doc, #318666.
1438 2005-12-24 Stepan Kasal <kasal@ucw.cz>
1440 * doc/developer/blocksize.html: New file in a new subdir.
1441 * doc/Makefile.am: Distribute it.
1443 2005-12-07 Morten Welinder <terra@gnome.org>
1445 * gsf/gsf-output-iconv.c (iconv_flush): Fix handling of partial
1446 input sequences. Fixes #323503.
1448 2005-11-16 Tor Lillqvist <tml@novell.com>
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.
1454 * libgsf-zip.in: Use CURRENT_MINUS_AGE. DLLs are always in "bin"
1455 nowadays. Build packages for gsf-gnome, too.
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.
1461 * tests/*.c: Initialize GError pointers to NULL.
1463 * thumbnailer/Makefile.am (install-data-local): Workaround for
1464 MSYS feature that causes problems when running gconftool on Win32.
1466 2005-11-07 Kjartan Maraas <kmaraas@gnome.org>
1468 * gsf-win32/Makefile.am: Unbreak the build
1469 * gsf/Makefile.am: Same here.
1471 2005-11-07 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
1473 * gsf/gsf-opendoc-utils.c: use /* FIXME FIXME FIXME Blah Blah */
1474 instead of #warning for non-gcc compilers. (#306740)
1476 2005-11-07 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
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.
1493 * gsf-win32/.cvsignore:
1496 2005-11-07 Jody Goldberg <jody@gnome.org>
1498 * configure.in : post release bump
1500 2005-11-06 Jody Goldberg <jody@gnome.org>
1504 2005-11-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
1511 2005-11-05 Jody Goldberg <jody@gnome.org>
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.
1522 2005-11-05 Jody Goldberg <jody@gnome.org>
1524 Patch from Luciano Miguel Wolf <luciano.wolf@indt.org.br>
1525 * gsf/gsf-opendoc-utils.c (od_get_meta_prop) : fix typo.
1527 2005-11-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
1529 * doc/gsf-docs.sgml: Fleshed things out a bit.
1531 2005-11-04 Christian Neumair <chris@gnome-de.org>
1533 * libgsf-gnome-1.pc.in: Add required packages to Requires field.
1535 2005-11-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
1537 * README: Updated list archive URL. (Debian #336699)
1539 2005-10-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
1547 2005-10-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
1554 2005-10-26 Stepan Kasal <kasal@ucw.cz>
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.
1560 2005-10-17 Stepan Kasal <kasal@ucw.cz>
1562 * gsf/gsf-libxml.c (lookup_child): `inst' is a local variable, not
1565 * doc/gsf.types: Add #include <gsf/gsf-shared-memory.h> to fix a
1568 * gsf/gsf-output-csv.c (gsf_output_csv_init): Initialize eol_len, too.
1570 2005-10-10 Jody Goldberg <jody@gnome.org>
1572 * configure.in : post release bump
1574 2005-10-10 Jody Goldberg <jody@gnome.org>
1578 2005-10-10 Jody Goldberg <jody@gnome.org>
1581 * gsf/gsf-libxml.c (gsf_xml_in_end_element) : clear the content before
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
1588 2005-10-10 Jody Goldberg <jody@gnome.org>
1590 * configure.in : post release bump
1592 2005-10-10 Jody Goldberg <jody@gnome.org>
1596 2005-10-10 Jody Goldberg <jody@gnome.org>
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
1606 2005-10-04 Jody Goldberg <jody@gnome.org>
1608 * configure.in : post release bump
1610 2005-10-04 Jody Goldberg <jody@gnome.org>
1614 2005-10-03 Sven Herzberg <herzi@gnome-de.org>
1616 Got okay from Morten for this:
1618 * gsf-gnome/gsf-output-gnomevfs.c: create the file if necessary; fixes
1621 2005-10-02 Jody Goldberg <jody@gnome.org>
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}
1627 2005-10-02 Jody Goldberg <jody@gnome.org>
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.
1643 2005-10-02 Jody Goldberg <jody@gnome.org>
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
1650 2005-10-01 Stepan Kasal <kasal@ucw.cz>
1652 * configure.in (VERSION_INFO): Fix the definition, add a comment.
1654 2005-09-18 Stepan Kasal <kasal@ucw.cz>
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
1661 2005-09-16 Stepan Kasal <kasal@ucw.cz>
1663 * doc/gsf-sections.txt: Add gsf_input_stdio_new_FILE.
1665 2005-09-06 Jody Goldberg <jody@gnome.org>
1667 * configure.in : post release bump
1669 2005-09-06 Jody Goldberg <jody@gnome.org>
1673 2005-08-24 Jody Goldberg <jody@gnome.org>
1675 * configure.in : Make gconf optional
1676 * Makefile.am : ditto.
1678 2005-08-22 Jody Goldberg <jody@gnome.org>
1680 * gsf-gnome/Makefile.am : Add -no-undefined on win32 [#314221]
1682 2005-08-19 Tim Janik <timj@imendio.com>
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.
1688 2005-08-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
1690 * doc/gsf-office-thumbnailer.1: Added.
1691 * doc/Makefile.am: Updated accordingly.
1693 2005-08-16 Stepan Kasal <kasal@ucw.cz>
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
1699 * gsf/gsf-impl-utils.h: Align tabs.
1701 2005-08-13 Morten Welinder <terra@gnome.org>
1703 * configure.in: Post release bump
1705 2005-08-13 Morten Welinder <terra@gnome.org>
1709 2005-08-11 Jean Brefort <jean.brefort@normalesup.org>
1711 * gsf/gsf-impl-utils.h: made GSF_CLASS_FULL and GSF_DYNAMIC_CLASS_FULL
1714 2005-08-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
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
1720 2005-08-09 Morten Welinder <terra@gnome.org>
1722 * configure.in: Test for g_chmod and g_access.
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.
1729 2005-08-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
1731 * thumbnailer/main.c (show_error_and_exit): Mark this G_GNUC_NORETURN
1734 2005-08-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
1736 * *: Updated the FSF's address.
1738 2005-08-07 Stepan Kasal <kasal@ucw.cz>
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.
1744 2005-08-05 Jody Goldberg <jody@gnome.org>
1746 * gsf/gsf-msole-utils.c (msole_prop_parse) : be more careful
1748 2005-08-02 Morten Welinder <terra@gnome.org>
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.)
1754 2005-08-02 Stepan Kasal <kasal@ucw.cz>
1756 * Makefile.am (clean-local): That rule contained command
1757 "rm -f intl/po2tbl.sed". But it seems the subdirectory intl/ is
1759 (ACLOCAL_AMFLAGS): Remove again.
1760 (EXTRA_DIST): Remove files added by gettextize and files distributed
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
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.
1770 2005-07-11 Morten Welinder <terra@gnome.org>
1772 * gsf/gsf-output.c (gsf_output_set_name_from_filename): Make this
1773 work for NULL filename.
1775 2005-07-30 Jody Goldberg <jody@gnome.org>
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
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.
1786 2005-07-24 Dom Lachowicz <cinamod@hotmail.com>
1788 * gsf/gsf-msole-utilc.c (msole_prop_parse): Move some g_prints behind
1791 2005-07-19 Federico Mena Quintero <federico@ximian.com>
1793 * thumbnailer/main.c (main): Oops, remove some leftover debugging code.
1795 * configure.in: Generate thumbnailer/Makefile. Add a test for GConf.
1797 * Makefile.am (SUBDIRS): Added the thumbnailer directory.
1799 * gsf/gsf-utils.c (gsf_init): Call bindtextdomain() and
1800 bind_textdomain_codeset().
1802 * gsf/gsf-clip-data.c: Mark strings for translation.
1804 * gsf/gsf-blob.c: Likewise.
1806 * gsf/gsf-msole-utils.c: Mark strings in GErrors for translation.
1808 * gsf/Makefile.am (AM_CPPFLAGS): Add the locale directory.
1810 2005-07-19 gettextize <bug-gnu-gettext@gnu.org>
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.
1817 2005-07-19 Federico Mena Quintero <federico@ximian.com>
1819 * configure.in: Pull in intltool and gettext.
1821 * thumbnailer/gsf-office-thumbnailer.schemas.in: New file with the
1822 schemas for the thumbnailer.
1824 2005-07-18 Federico Mena Quintero <federico@ximian.com>
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.
1830 * thumbnailer/Makefile.am: New file.
1832 I'll add this subdir to the build tomorrow, when I get the GConf
1833 bits right for configure.in.
1835 2005-07-18 Stepan Kasal <kasal@ucw.cz>
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.
1840 2005-07-07 Ivan, Wong Yat Cheung <email@ivanwong.info>
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-
1851 2005-07-06 Federico Mena Quintero <federico@ximian.com>
1853 * gsf/gsf-blob.[ch]: New files with a GsfBlob object, used to hold
1854 generic binary data.
1856 * gsf/gsf-clip-data.[ch]: New files with a GsfClipData object,
1857 used to hold the VT_CF property data.
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.
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.
1867 * gsf/gsf-utils.c (gsf_error_quark): Implement.
1869 * gsf/Makefile.am: Added gsf-blob.[ch] and gsf-clip-data.[ch].
1871 * doc/gsf-sections.txt: Added sections for GsfBlob and
1872 GsfClipData. Added the GsfError stuff to the "utils" section.
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.
1878 * doc/tmpl/utils.sgml: Document the GError bits.
1880 * doc/tmpl/gsf-clip-data.sgml: New file.
1882 * doc/tmpl/gsf-blob.sgml: New file.
1884 2005-07-05 Jon K Hellan <hellan@acm.org>
1886 * gsf/gsf-msole-utils.c (msole_metadata_write_prop): Fix
1889 2005-07-01 Morten Welinder <terra@gnome.org>
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.
1895 * gsf/gsf-utils.c (gsf_mem_dump_full): Kill a warning.
1897 2005-06-30 Jody Goldberg <jody@gnome.org>
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.
1903 * gsf/gsf-docprop-vector.c : remove custom GTypeValueTable it was
1904 wrong and unnecessary. This fixes the leak of the GValueArray
1906 2005-06-30 Ivan, Wong Yat Cheung <email@ivanwong.info>
1908 * win: Rename to msvc
1909 * msvc: Add MSVC build files, see msvc/README for
1912 2005-06-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
1914 * configure.in: Check for the existence of S_ISREG,
1915 if it is not defined (e.g. MS's PSDK), do
1918 2005-06-21 Ivan, Wong Yat Cheung <email@ivanwong.info>
1920 * gsf/gsf-input-stdio.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:
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
1934 2005-06-13 Morten Welinder <terra@gnome.org>
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.
1940 2005-06-12 Jody Goldberg <jody@gnome.org>
1942 * configure.in : post release bump
1944 2005-06-12 Jody Goldberg <jody@gnome.org>
1948 2005-06-12 Jody Goldberg <jody@gnome.org>
1950 * gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : codepages are
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
1958 2005-06-12 Jody Goldberg <jody@gnome.org>
1960 * gsf/gsf-impl-utils.h (GSF_DYNAMIC_CLASS_FULL) : remove useless
1961 trailing backslash that was confusing gtk-doc
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.
1970 2005-06-10 Morten Welinder <terra@gnome.org>
1972 * gsf/gsf-libxml.c (gsf_xml_out_add_enum): New function.
1974 2005-06-08 Morten Welinder <terra@gnome.org>
1976 * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Test
1977 directory-ness of the right mode.
1979 2005-06-04 Stepan Kasal <kasal@ucw.cz>
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.
1987 * .cvsignore: Add gtk-doc.make; remove gsf-config; replace stamp-h
1988 and stamp-* by stamp-h*.
1990 2005-06-03 Jody Goldberg <jody@gnome.org>
1992 * gsf/gsf-utils.h (gsf_init_dynamic) : new hook. Unimplemented yet.
1994 * gsf/gsf-impl-utils.h (prefix) : use a cleaner pattern for the
1995 dynamic type/interface declarations.
1997 2005-06-02 Jody Goldberg <jody@gnome.org>
1999 * gsf/gsf-msole-utils.c (msole_vt_name) : suppress warning
2000 (msole_prop_parse) : assign the right type.
2002 2005-06-02 Dom Lachowicz <cinamod@hotmail.com>
2004 * gsf/gsf-outfile-zip.c (zip_flush): Check for Z_BUF_ERROR case.
2005 This is the cause of AbiWord bug #7652
2007 2005-06-02 Morten Welinder <terra@gnome.org>
2009 * gsf/gsf-libxml.c (gsf_xml_out_add_float): Use "C" locale
2010 conventions. Fix ambiguities in docs.
2012 2005-06-01 Morten Welinder <terra@gnome.org>
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.
2018 2005-05-31 Jody Goldberg <jody@gnome.org>
2020 * gsf/gsf-input-gzip.c (gsf_input_gzip_read) : get upset when an input
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
2027 2005-05-31 Jody Goldberg <jody@gnome.org>
2029 * gsf/gsf-libxml.c (gsf_xml_in_parse) : add some protection.
2031 2005-05-30 Jody Goldberg <jody@gnome.org>
2033 * gsf/gsf-msole-utils.c (msole_metadata_write_section) : warning
2035 (msole_prop_parse) : it seems GValue needs to be a G_OBJECT in order
2036 for it to be unrefed.
2038 2005-05-28 Jody Goldberg <jody@gnome.org>
2040 * gsf/gsf-docprop-vector.c (gsf_docprop_vector_finalize) : patch leak.
2042 2005-05-25 Morten Welinder <terra@gnome.org>
2044 * configure.in (CFLAGS): Don't use -Wcrazy.
2046 2005-05-15 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
2053 2005-05-10 Jody Goldberg <jody@gnome.org>
2055 * configure.in : post release bump
2057 2005-05-09 Jody Goldberg <jody@gnome.org>
2061 2005-05-08 Jody Goldberg <jody@gnome.org>
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.
2067 2005-05-08 Jody Goldberg <jody@gnome.org>
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
2073 2005-05-05 Jody Goldberg <jody@gnome.org>
2075 * gsf/gsf-libxml.c (gsf_xml_in_check_ns) : Add some safety.
2077 2005-05-04 Jody Goldberg <jody@gnome.org>
2079 * gsf/gsf-msole-utils.c (msole_vt_name) : handle sparse entries.
2081 2005-05-03 Jody Goldberg <jody@gnome.org>
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
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.
2098 2005-04-27 Morten Welinder <terra@gnome.org>
2100 * gsf/gsf-utils.c (gsf_property_settings_collect,
2101 gsf_property_settings_collect_valist, gsf_property_settings_free):
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.
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).
2117 2005-04-26 Morten Welinder <terra@gnome.org>
2119 * tests/test-cp-zip.c (clone): Be a bit verbose. Make the copy
2120 use the compression levels of the source.
2122 * gsf/gsf-outfile-zip.c: Add construct-only compression-level
2124 (gsf_outfile_zip_set_compression_method): Make this an empty stub
2127 * gsf/gsf-zip-utils.c (gsf_vdir_add_child): Do not sort because
2128 doing so breaks copying of OOo files.
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.)
2134 2005-04-26 Jody Goldberg <jody@gnome.org>
2136 * gsf/gsf-msole-utils.c (cb_measure_props) : handle custom props for
2139 2005-04-26 Jody Goldberg <jody@gnome.org>
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.
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
2154 2005-04-23 Jody Goldberg <jody@gnome.org>
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
2160 * gsf/gsf-msole-utils.c : disable the debug spew
2162 2005-04-22 Stepan Kasal <kasal@ucw.cz>
2164 * configure.in: Use m4 macros for version numbering.
2166 2005-04-16 Jody Goldberg <jody@gnome.org>
2168 * tests/test-msole1.c : update for the new ms-ole property import api
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.
2175 2005-04-16 Jody Goldberg <jody@gnome.org>
2177 * gsf/gsf-docprop-vector.c (gsf_value_get_docprop_varray) : Add some
2180 2005-04-16 Jody Goldberg <jody@gnome.org>
2182 * gsf/gsf-doc-meta-data.[ch] : Major interface changes to make the
2183 hash like behavior perfectly clear, and to support links.
2185 2005-04-16 Jody Goldberg <jody@gnome.org>
2187 * doc/gsf-sections.txt : update
2189 2005-04-12 Morten Welinder <terra@gnome.org>
2191 * configure.in: revert last change.
2193 2005-04-12 Stepan Kasal <kasal@ucw.cz>
2195 * configure.in: Small changes in the pygtk check, though it's
2196 currently not in use.
2198 2005-04-11 Jody Goldberg <jody@gnome.org>
2200 * tests/test-msole1.c: Make the test program work.
2202 2005-04-10 Jody Goldberg <jody@gnome.org>
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
2207 2005-04-09 Jody Goldberg <jody@gnome.org>
2209 * gsf/gsf-outfile.h : remove G_GNUC_NULL_TERMINATED for now.
2210 we do not want to require glib-2.7
2212 2005-04-09 Jody Goldberg <jody@gnome.org>
2214 * gsf/gsf-outfile-impl.h (new_child) : change the signature to pass in
2215 var_args. Changed all callers.
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
2226 2005-04-09 Jody Goldberg <jody@gnome.org>
2228 From Manuel Mausz <Manuel.Mausz@fabasoft.com>
2229 * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : initial
2232 2005-04-07 Jody Goldberg <jody@gnome.org>
2234 * configure.in : bump the library version to indicate api change
2236 2005-04-04 Stepan Kasal <kasal@ucw.cz>
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
2246 2005-04-04 Morten Welinder <terra@gnome.org>
2248 * gsf/gsf-output-csv.c (gsf_output_csv_write_field): Fix auto
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.
2255 2005-04-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
2257 * configure.in: Fixed the GNOME support check: "LIBGSF_MODULES" needed
2258 to be expanded in the PKG_CHECK_MODULES.
2260 2005-04-01 Morten Welinder <terra@gnome.org>
2262 * gsf/gsf-output-iconv.c: New file.
2263 * gsf/gsf-output-csv.c: New file.
2265 * gsf/gsf-output.c (gsf_output_dispose): Silently close if needed.
2267 2005-04-01 Stepan Kasal <kasal@ucw.cz>
2269 s/INCLUDES/AM_CPPFLAGS/ "automake -Wall" has told me this.
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.
2277 2005-03-31 Morten Welinder <terra@gnome.org>
2279 * gsf/gsf-output.c (gsf_output_set_error): Make public.
2281 * */*.c: Don't test for NULL before g_free.
2283 * gsf/gsf-utils.h (GSF_LE_GET_GINT64, GSF_LE_SET_GINT64,
2284 GSF_LE_SET_GUINT64): New macros for completeness.
2286 2005-03-29 Morten Welinder <terra@gnome.org>
2288 * gsf/gsf-impl-utils.h (GSF_PARAM_STATIC): Define suitably.
2289 * gsf/*.c: Use GSF_PARAM_STATIC for properties.
2291 * configure.in: Don't check for readline and lstat. Do check for
2294 * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Again use mode_t
2297 2005-03-28 Morten Welinder <terra@gnome.org>
2299 * */*.c: Use canonical property names.
2301 2005-03-25 Morten Welinder <terra@gnome.org>
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
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
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.
2319 * gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Rename
2320 "container" property to "raw" with opposite semantics.
2322 2005-03-25 Morten Welinder <terra@gnome.org>
2324 * gsf/gsf-output-gzip.c (gsf_output_gzip_set_property): Handle
2326 (gsf_output_gzip_new): Don't bother closing the output on error.
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
2331 (gsf_output_class_init): Hook up for _dispose instead of
2334 * gsf/gsf-output-gzip.c (gsf_output_gzip_close): Do nothing for a
2335 stream with an error.
2337 2005-03-25 Morten Welinder <terra@gnome.org>
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.
2344 2005-03-24 Morten Welinder <terra@gnome.org>
2346 * gsf/gsf-output-stdio.c (gsf_access): Renamed from
2347 file_is_writable. Make it a full access wrapper. Caller changed.
2349 2005-03-23 Morten Welinder <terra@gnome.org>
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.
2355 2005-03-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
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.
2364 2005-03-23 Morten Welinder <terra@gnome.org>
2366 * gsf/gsf-output-stdio.c (follow_symlinks): Handle lack of ELOOP.
2368 * gsf/gsf-input-memory.c (gsf_input_mmap_new): g_open has a
2369 mandatory mode arg that open does not.
2371 2005-03-22 Morten Welinder <terra@gnome.org>
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.
2377 2005-03-22 Morten Welinder <terra@gnome.org>
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.
2383 * gsf/gsf-input-memory.c (gsf_input_mmap_new): Use f_open, not
2386 * gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new): Simplify using
2389 * configure.in: Require glib 2.6 for g_filename_display_name.
2391 * gsf/gsf-output-stdio.c (rename_wrapper): Use g_rename and
2393 (gsf_output_stdio_new): Use g_stat. Fix error message.
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.
2402 * gsf/gsf-docprop-vector.c: Fix includes.
2404 * gsf/gsf-infile-stdio.c (gsf_infile_stdio_new): Simply using
2405 glib's GDir stuff. (This should fix Win32 in the process.)
2407 2005-03-05 Jody Goldberg <jody@gnome.org>
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
2415 2005-02-02 Dom Lachowicz <cinamod@hotmail.com>
2417 * gsf/gsf-output-gnomevfs.c: A bit more robustness and documentation
2420 2005-01-16 Dom Lachowicz <cinamod@hotmail.com>
2422 * gsf/gsf-output-gnomevfs.c: This should fix bug 159442 by truncating
2423 newly-created files whenever possible WHILE preserving file permissions.
2425 2004-09-25 Stepan Kasal <kasal@ucw.cz>
2427 * gsf/gsf-output-stdio.c: Use g_file_read_link() - (bug 149827)
2429 2004-12-02 Dom Lachowicz <cinamod@hotmail.com>
2431 * gsf/gsf-input-memory.c: Add mmap support on win32 (bug #160294)
2432 * gsf/gsf-shared-memory.c: Ditto
2434 2004-12-06 Jody Goldberg <jody@gnome.org>
2436 * configure.in : post release bump
2438 2004-12-06 Jody Goldberg <jody@gnome.org>
2442 2004-12-05 Morten Welinder <terra@gnome.org>
2444 * gsf/gsf-output-stdio.c (gsf_output_stdio_close): Flush file if
2447 2004-12-01 Morten Welinder <terra@gnome.org>
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.
2452 (rename_wrapper): New function to hide the fact that Win32's
2453 rename does not unlink the target file if it exists. [#160108]
2455 2004-11-28 Jody Goldberg <jody@gnome.org>
2457 * configure.in : Post release bump
2459 2004-11-28 Jody Goldberg <jody@gnome.org>
2463 2004-11-28 Jody Goldberg <jody@gnome.org>
2465 * gsf/gsf-msole-utils.c (msole_prop_parse) : NULL unhandled types
2467 2004-11-25 Sven Herzberg <herzi@gnome-de.org>
2469 * gsf-gnome/gsf-output-gnomevfs.c: (gsf_output_gnomevfs_new_uri):
2470 truncate the output file to length 0 when opening (fix #159442)
2472 2004-11-23 Jody Goldberg <jody@gnome.org>
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.
2478 2004-11-19 Veerapuram Varadhan <vvaradhan@novell.com>
2480 * Add gsf/gsf-meta-names.h
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.
2487 * gsf/Makefile.am : Add gsf-meta-names.h to the list of headers.
2489 2004-11-16 Jody Goldberg <jody@gnome.org>
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
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
2499 2004-11-12 Morten Welinder <terra@gnome.org>
2501 * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Escape 1..31 when used
2504 2004-11-02 Jody Goldberg <jody@gnome.org>
2506 * tests/test-msole1.c (test) : fix leak and use
2507 gsf_msole_metadata_read_real.
2509 * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store them in
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.
2515 2004-11-02 Jody Goldberg <jody@gnome.org>
2518 * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store the
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.
2525 2004-09-20 Morten Welinder <terra@gnome.org>
2527 * gsf/*.c: Remove useless casts of 0 to gsf_off_t in parameters.
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.
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.
2541 * gsf/gsf-infile-zip.c (zip_update_stream_in): Add seek error check.
2542 (gsf_infile_zip_read): Ditto.
2544 2004-09-19 Dom Lachowicz <cinamod@hotmail.com>
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
2552 2004-09-17 Morten Welinder <terra@gnome.org>
2554 * gsf/gsf-infile-zip.c (zip_find_trailer): Fix gsf_input_seek
2557 * gsf/gsf-input.c: Doc fixes, notably reversing the sense of
2558 gsf_input_seek_emulate's return value.
2560 2004-09-17 Morten Welinder <terra@gnome.org>
2562 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
2563 Force local copy for small (<256KB) files that are not local.
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.
2568 * gsf/gsf-input.c (gsf_input_dup): Provide error messages.
2570 * gsf/gsf-input-proxy.c (gsf_input_proxy_read): gsf_input_read
2571 updates our position so we should not.
2573 * gsf/gsf-input-proxy.[ch]: New file.
2575 2004-09-16 Morten Welinder <terra@gnome.org>
2577 * gsf/gsf-input-textline.c (gsf_input_textline_dup): Set size.
2579 * gsf/gsf-input-memory.c (gsf_input_memory_dup): Set size.
2581 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ugly
2582 work-around for gnome-vfs bug.
2584 * gsf/gsf-input.c (gsf_input_dup): Check size and seek return
2587 * gsf/gsf-infile.c (gsf_infile_child_by_name): Protect against
2589 (gsf_infile_child_by_index): Ditto.
2591 * gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Handle
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.
2597 2004-09-15 Dom Lachowicz <cinamod@hotmail.com>
2599 * gsf-win32/gsf-input-win32.c: Create more meaningful error messages
2601 * gsf-win32/gsf-output-win32.c: Ditto. Add error reporting.
2603 2004-08-27 Stepan Kasal <kasal@ucw.cz>
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.
2612 2004-08-26 Morten Welinder <terra@gnome.org>
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
2619 * gsf/gsf-timestamp.c (gsf_value_set_timestamp): Renamed from
2620 g_value_set_timestamp.
2622 2004-08-25 Stepan Kasal <kasal@ucw.cz>
2624 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root): Be careful
2625 with empty files (fixes bug #150923).
2627 2004-08-25 Morten Welinder <terra@gnome.org>
2629 * gsf/gsf-utils.c (gsf_base64_encode_step): Avoid potential
2632 * gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Kill
2635 2004-08-23 Jody Goldberg <jody@gnome.org>
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
2641 2004-08-17 Stepan Kasal <kasal@ucw.cz>
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.
2650 2004-07-29 Stepan Kasal <kasal@ucw.cz>
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''.
2659 2004-08-20 Jody Goldberg <jody@gnome.org>
2661 * configure.in : post release version bump
2663 2004-08-20 Jody Goldberg <jody@gnome.org>
2667 2004-08-17 Jon K Hellan <hellan@acm.org>
2669 * gsf/gsf-utils.c (gsf_base64_decode_simple): Revert base64
2670 initialization change.
2672 2004-08-16 Morten Welinder <terra@gnome.org>
2674 * gsf/gsf-utils.c (gsf_base64_encode_simple): Request line
2677 2004-08-13 Jon K Hellan <hellan@acm.org>
2679 * gsf/gsf-utils.c (gsf_base64_decode_simple): Initialize during
2682 2004-08-10 Morten Welinder <terra@gnome.org>
2684 * gsf/gsf-input-textline.c (gsf_input_textline_utf8_gets): Fix
2685 off-by-one in buffer length check.
2687 2004-08-08 Jon K Hellan <hellan@acm.org>
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
2693 2004-07-30 Christopher James Lahey <clahey@ximian.com>
2695 * gsf/gsf-input.c (gsf_input_class_init), gsf/gsf-output.c
2696 (gsf_output_class_init): Use correct types for properties here.
2698 2004-07-30 Jody Goldberg <jody@gnome.org>
2700 * gsf/gsf-libxml.c (gsf_xml_out_class_init) : Init the parent_class
2702 (gsf_xml_out_init) : not here.
2704 2004-07-27 Stepan Kasal <kasal@ucw.cz>
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
2711 2004-07-29 Jody Goldberg <jody@gnome.org>
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
2720 2004-07-29 Morten Welinder <terra@gnome.org>
2722 * gsf/gsf-input-memory.c (gsf_input_mmap_new): Use NULL, not 0 for
2724 (gsf_input_memory_seek): Use G_GNUC_UNUSED instead of
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
2731 (gsf_xml_out_add_color): Make buffer size overflow safe.
2733 * gsf/gsf-utils.c: Always #define G_ARMFLOAT_ENDIAN.
2735 2004-07-28 Stepan Kasal <kasal@ucw.cz>
2737 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root):
2738 Check for overflow of the size field of a regular file entry.
2740 2004-07-28 Jody Goldberg <jody@gnome.org>
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
2749 (bb_pad_zero) : use it here to make this safe to use when not at the
2751 (ole_pad_bat_unused) : and here to fix the mystery corruption when XL
2754 2004-07-27 Jody Goldberg <jody@gnome.org>
2756 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root) : the last
2757 xbat does not require a forwarding link
2759 2004-07-27 Stepan Kasal <kasal@ucw.cz>
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.
2766 2004-07-26 Jody Goldberg <jody@gnome.org>
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.
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.
2778 2004-07-23 Stepan Kasal <kasal@ucw.cz>
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.
2785 2004-07-21 Stepan Kasal <kasal@ucw.cz>
2787 The gsf_ouput_printf method didn't correctly update cur_offset.
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.
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
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.
2818 2004-07-21 Stepan Kasal <kasal@ucw.cz>
2820 Make the two fseek() wrappers more consistent.
2822 * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Fix the overflow
2824 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Set errno=0
2825 before calling fseek().
2827 2004-07-21 Stepan Kasal <kasal@ucw.cz>
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.
2834 * configure.in: AC_SUBST(ACLOCAL_FLAGS)
2835 * Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
2837 2004-07-20 Stepan Kasal <kasal@ucw.cz>
2839 * gsf/gsf-output-stdio.c: Check for overflow
2841 2004-07-09 Stepan Kasal <kasal@ucw.cz>
2843 * gsf/gsf-infile-zip.c (zip_find_trailer): Remove the
2844 "overflow check"; it can never catch anything.
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
2851 2004-07-12 Stepan Kasal <kasal@ucw.cz>
2853 * gsf/gsf-output-iochannel.c (GET_OUTPUT_CLASS): Remove unused macro.
2854 * gsf/gsf-structured-blob.c (GET_CLASS): Likewise.
2856 2004-06-15 Jody Goldberg <jody@gnome.org>
2858 * gsf/gsf-utils.c (gsf_input_dump) : flush the stream when we're just
2861 2004-07-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
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
2867 2004-07-03 Jody Goldberg <jody@gnome.org>
2869 * configure.in : post release bump
2871 2004-07-03 Jody Goldberg <jody@gnome.org>
2875 2004-07-01 Jody Goldberg <jody@gnome.org>
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.
2883 2004-06-25 Jody Goldberg <jody@gnome.org>
2885 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek) : conditionalize the
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.
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
2897 2004-06-15 Morten Welinder <terra@gnome.org>
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.
2904 2004-06-13 Jody Goldberg <jody@gnome.org>
2906 * configure.in : bump to 1.10.0 to handle all the signature changes in
2908 * *.[ch] : return the interesting base type rather than the derived
2911 2004-06-11 Morten Welinder <terra@gnome.org>
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.
2918 2004-06-06 Dom Lachowicz <cinamod@hotmail.com>
2920 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Better
2921 solution for Morten's problem.
2923 2004-05-26 Morten Welinder <terra@gnome.org>
2925 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Handle
2926 failure to parse URI.
2928 2004-05-20 Dom Lachowicz <cinamod@hotmail.com>
2930 * gsf/gsf-outfile-stdio.c: mkdir() has a different prototype on win32
2932 2004-05-17 Jody Goldberg <jody@gnome.org>
2934 * gsf/gsf-infile-msole.c (ole_dirent_new) : work around odd files from
2935 softmaker, seems like they consider dirs to be rootdirs ??
2937 2004-05-17 Morten Welinder <terra@gnome.org>
2939 * gsf/gsf-utils.c (gsf_le_get_double, gsf_le_set_double): Attempt
2940 ARM fix. Fix various #error messages.
2942 2004-05-15 Jody Goldberg <jody@gnome.org>
2944 * configure.in : post release bump
2946 2004-05-15 Jody Goldberg <jody@gnome.org>
2950 2004-05-11 Jody Goldberg <jody@gnome.org>
2952 * gsf/gsf-libxml.c (gsf_xml_out_set_doc_type) : new.
2954 * doc/gsf-sections.txt : more cleanup, still ugly but at least it's
2956 * doc/gsf-docs.sgml : drop the useless Gsf section
2958 2004-05-09 Jody Goldberg <jody@gnome.org>
2960 * s/ZipDirent/GsfZipDirent
2961 * s/ZipVDir/GsfZipVDir
2963 2004-05-09 Dom Lachowicz <cinamod@hotmail.com>
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
2970 2004-05-09 Dom Lachowicz <cinamod@hotmail.com>
2972 * gsf/gsf-infile-stdio.c: Fix non-static definition of 'parent_class'
2973 * gsf/gsf-outfile-stdio.c: Ditto
2975 2004-05-07 James M. Cape <jcape@ignore-your.tv>
2977 * doc/gsf-sections.txt: Hide type macros.
2978 * gsf/gsf-output.c: s/<protected>/<note>/.
2980 2004-05-06 Jody Goldberg <jody@gnome.org>
2982 http://bugzilla.gnome.org/show_bug.cgi?id=141899
2983 * doc/Makefile.am : Apply patch from James Cape
2985 2004-05-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
2987 * doc/Makefile.am: Install docs in the $(DOC_MODULE) subdir of
2988 $(HTML_DIR) rather than in $(HTML_DIR) itself.
2990 2004-05-05 Jody Goldberg <jody@gnome.org>
2992 * configure.in : post release bump
2994 2004-05-04 Jody Goldberg <jody@gnome.org>
2998 2004-05-04 Jody Goldberg <jody@gnome.org>
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.
3007 2004-05-01 Dom Lachowicz <cinamod@hotmail.com>
3009 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Don't
3010 require gnome-vfs-method.h
3012 * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri): we
3013 require random access.
3015 * gsf-win32/gsf-input-win32.c: fix seek's return value in the win32
3018 2004-04-28 Jody Goldberg <jody@gnome.org>
3020 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : we
3021 require random access.
3023 2004-04-26 Jody Goldberg <jody@gnome.org>
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
3029 * Makefile.am : Remove the AUTOMAKE_OPTIONS = 1.4 that disabled the
3030 DISTCHECK_CONFIGURE_FLAGS
3032 2004-04-24 Jody Goldberg <jody@gnome.org>
3034 * gsf/gsf-infile-msole.c (ole_dirent_new) : placate the bogus
3035 -fstrict-aliasing gods. gcc is being stupid.
3037 * configure.in : call this 1.9.0
3039 2004-04-27 Dom Lachowicz <cinamod@hotmail.com>
3041 * gsf/gsf-output-bzip.c (gsf_output_bzip_write): If the output
3042 buffer turns full on the last deflate, empty the buffer.
3044 2004-04-24 Morten Welinder <terra@gnome.org>
3046 * gsf/gsf-output-gzip.c (gsf_output_gzip_write): If the output
3047 buffer turns full on the last deflate, empty the buffer.
3049 2004-04-05 Jody Goldberg <jody@gnome.org>
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 ???
3055 2004-03-31 Morten Welinder <terra@gnome.org>
3057 * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Plug leak.
3059 2004-03-31 Michael Meeks <michael@ximian.com>
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.
3065 2004-03-16 Morten Welinder <terra@gnome.org>
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.
3072 2004-03-12 Michael Meeks <michael@ximian.com>
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.
3078 2004-03-11 Michael Meeks <michael@ximian.com>
3080 * tests/test-msvba-zip.c (decode_dir): better
3081 quirk understanding.
3082 (find_match): remove unnecessary hacks.
3084 2004-03-10 Michael Meeks <michael@ximian.com>
3086 * tests/test-msvba-zip.c (decode_dir): impl.
3087 a good run at enterpreting 'dir'.
3089 * tests/test-msvba-zip.c (do_compress): bin nasty
3090 3 byte header store / restore and generate header
3093 2004-03-09 Michael Meeks <michael@ximian.com>
3095 * tests/test-msvba-zip.c (find_match): shrink dodgy
3098 2004-03-08 Michael Meeks <michael@ximian.com>
3100 * tests/test-msvba-zip.c (output_match): add a
3101 small/stupid LZSS compressor.
3103 2004-03-08 Michael Meeks <michael@ximian.com>
3105 * tests/test-msvba-zip.c: add for compressing/decompressing
3106 'dir' (or other pure compressed) streams.
3108 * gsf/gsf-msole-utils.c (gsf_msole_inflate): move from
3109 * gsf/gsf-infile-msvba.c (gsf_vba_inflate): here.
3111 2004-03-01 Jody Goldberg <jody@gnome.org>
3113 * configure.in : drop -Wmissing-format-attribute because it was
3116 2004-03-01 Jody Goldberg <jody@gnome.org>
3118 * gsf/gsf-outfile-stdio.c :
3119 * gsf/gsf-infile-stdio.c : Some utility wrappers to pull or push from
3121 * tests/test-dump-msole.c :
3122 * tests/test-restore-msole.c : tests for it.
3124 2004-02-24 Dom Lachowicz <cinamod@hotmail.com>
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
3131 2004-02-05 Jon K Hellan <hellan@acm.org>
3133 * configure.in: Fix typo.
3135 2004-02-05 Tomasz K³oczko <kloczek@pld.org.pl>
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
3142 * configure.in: Removed old on place defined gtk-doc suport and added use
3143 GTK_DOC_CHECK([1.0]).
3145 2004-01-30 Jody Goldberg <jody@gnome.org>
3147 * gsf/gsf-libxml.c (gsf_xml_in_fatal_error) : Looks like Daniel has
3150 2004-01-30 Jody Goldberg <jody@gnome.org>
3152 http://bugzilla.gnome.org/show_bug.cgi?id=130596
3153 * configure.in : apply the patch
3155 Wed Jan 28 00:43:36 2004 Matthias Clasen <maclas@gmx.de>
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
3161 2004-01-20 Jody Goldberg <jody@gnome.org>
3163 * gsf/gsf-libxml.c (gsf_xml_in_start_element) : minor portability fix.
3165 2004-01-18 Dom Lachowicz <cinamod@hotmail.com>
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
3170 2003-12-09 Dom Lachowicz <cinamod@hotmail.com>
3172 * gsf/*.c: Documentation
3174 2003-12-06 Jody Goldberg <jody@gnome.org>
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
3181 2003-11-28 Jody Goldberg <jody@gnome.org>
3183 * gsf/gsf-utils.c (gsf_input_hex_dump) : new.
3184 (gsf_mem_dump_full) : expand the interface a bit.
3186 2003-11-03 Jody Goldberg <jody@gnome.org>
3188 * gsf/Makefile.am (uninstall) : make the impl headers for the base
3191 2003-10-29 Jody Goldberg <jody@gnome.org>
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.
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.
3200 2003-10-21 Jody Goldberg <jody@gnome.org>
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
3206 2003-10-09 Jody Goldberg <jody@gnome.org>
3208 * libgsf-gnome-1.spec.in : An old patch from Joseph Frazee
3210 2003-09-29 Jody Goldberg <jody@gnome.org>
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.
3215 2003-09-23 Jody Goldberg <jody@gnome.org>
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.
3222 2003-09-22 Jody Goldberg <jody@gnome.org>
3224 * configure.in : jump to 1.9.0 for api change.
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.
3231 2003-09-21 Tor Lillqvist <tml@iki.fi>
3233 * libgsf-zip.in: New file.
3235 * configure.in: Expand it.
3237 * Makefile.am (EXTRA_DIST): Distribute it.
3239 2003-09-13 Jody Goldberg <jody@gnome.org>
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.
3245 2003-09-12 Jody Goldberg <jody@gnome.org>
3249 2003-09-12 Jody Goldberg <jody@gnome.org>
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.
3254 2003-08-24 Dom Lachowicz <cinamod@hotmail.com>
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>
3261 2003-08-03 Jody Goldberg <jody@gnome.org>
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
3267 2003-08-02 Jody Goldberg <jody@gnome.org>
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
3275 2003-08-01 Jody Goldberg <jody@gnome.org>
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.
3281 2003-07-17 Jody Goldberg <jody@gnome.org>
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.
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.
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.
3300 2003-07-15 Jody Goldberg <jody@gnome.org>
3302 For Stuart Cunningham <stuartc@rd.bbc.co.uk>
3303 * gsf/gsf-infile-msole.c (ole_get_block) : fix ole block seeking in
3306 2003-07-03 Jody Goldberg <jody@gnome.org>
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.
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.
3316 2003-07-02 Jody Goldberg <jody@gnome.org>
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.
3322 2003-06-28 Jody Goldberg <jody@gnome.org>
3324 * doc/Makefile.am : fix the case when gtk-doc is not available
3326 2003-06-20 Morten Welinder <terra@gnome.org>
3328 * gsf/gsf-input-gzip.c (gsf_input_gzip_read): Handle premature end
3331 2003-06-21 Jody Goldberg <jody@gnome.org>
3333 As per ryang@bway.org :
3334 * README : s/automake/autoconf/ and add automake details.
3336 2003-06-15 Jon K Hellan <hellan@acm.org>
3338 * configure.in: Remove test for obsolete orbit-python module.
3340 2003-06-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
3342 * debian/*: Updated debianisation.
3344 2003-06-07 Jody Goldberg <jody@gnome.org>
3346 * configure.in : post release version bump
3348 2003-06-07 Jody Goldberg <jody@gnome.org>
3352 2003-06-06 Jody Goldberg <jody@gnome.org>
3354 * gsf/gsf-libxml.c (gsf_xml_out_simple_int_element) : new util.
3355 (gsf_xml_out_simple_float_element) : ditto.
3357 2003-05-14 J.H.M. Dassen (Ray) <jdassen@debian.org>
3359 * gsf/Makefile.am: Added $(LIBGSF_LIBS) to libgsf_1_la_LIBADD to get
3360 complete inter-library dependency information.
3362 2003-05-13 Dom Lachowicz <cinamod@hotmail.com>
3364 * COPYING.LIB: update the the version of the LGPL license we're
3365 actually licensed under
3367 2003-05-13 Dom Lachowicz <cinamod@hotmail.com>
3369 * libgsf-1.spec.in: Updates from Rui
3371 2003-05-12 Morten Welinder <terra@gnome.org>
3373 * gsf/gsf-output-gzip.c (gsf_output_gzip_finalize): Plug
3376 2003-05-12 Jody Goldberg <jody@gnome.org>
3378 * configure.in : post release version bump
3380 2003-05-11 Jody Goldberg <jody@gnome.org>
3384 2003-04-29 Dom Lachowicz <cinamod@hotmail.com>
3386 * gsf-win32/gsf-input-istream.[ch]: IStream based input. Untested
3387 * gsf-win32/gsf-output-istream.[ch]: IStream based output. Untested
3389 2003-04-29 Morten Welinder <terra@gnome.org>
3391 * gsf/gsf-msole-utils.c
3392 (gsf_msole_iconv_open_codepage_for_import): Try MACROMAN as alias
3395 2003-04-28 Morten Welinder <terra@gnome.org>
3397 * gsf/gsf-msole-utils.c
3398 (gsf_msole_iconv_open_codepage_for_import): Remove code
3401 2003-04-21 Jody Goldberg <jody@gnome.org>
3403 * gsf/gsf-infile-msole.c (ole_dirent_new) : terminate the name before
3406 2003-04-15 Morten Welinder <terra@gnome.org>
3408 * gsf/gsf-input-memory.c (gsf_input_mmap_new): FREEBSD have broken
3409 mmap -- we must keep the file descriptor around.
3411 2003-04-09 Jody Goldberg <jody@gnome.org>
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.
3418 2003-04-01 Jody Goldberg <jody@gnome.org>
3420 * gsf/gsf-impl-utils.h : Add utils for objects in plugins
3422 2003-03-20 Dom Lachowicz <cinamod@hotmail.com>
3424 * configure.in: Better checks for bz2
3426 2003-03-20 Morten Welinder <terra@diku.dk>
3428 * gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Warning
3431 * gsf/gsf-libxml.c (gsf_xml_in_doc_new): Kill warning.
3433 2003-03-09 Jody Goldberg <jody@gnome.org>
3435 * Relicense from GPL -> LGPL
3437 2003-03-05 Dom Lachowicz <cinamod@hotmail.com>
3439 * NEWS: update for correctness and mention AR infile
3440 * README: typo police
3442 2003-03-05 Jody Goldberg <jody@gnome.org>
3444 * gsf/gsf-libxml.c : More morten warnings
3446 2003-03-05 Morten Welinder <terra@diku.dk>
3448 * gsf/gsf-input-memory.c (gsf_input_memory_seek): Fix return type.
3450 * gsf/gsf-input.c (gsf_input_seek): Fix failure return.
3452 2003-03-05 Morten Welinder <terra@diku.dk>
3454 * gsf/gsf-infile.c (gsf_infile_num_children): Fix failure return
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.
3461 2003-03-04 Dom Lachowicz <cinamod@hotmail.com>
3463 * gsf/gsf-zip-impl.h: s/off_t/gsf_off_t
3464 * gsf/gsf-infile-ar.[ch]: AR infile. DOES NOT YET WORK
3466 2003-02-23 Dom Lachowicz <cinamod@hotmail.com>
3468 * gsf/gsf-input.c (gsf_input_copy): remove == TRUE for Morten
3470 2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
3472 * gsf/gsf-input.c (gsf_input_uncompress): Support uncompressing BZ2
3473 streams as well, optionally
3475 2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
3477 * gsf/gsf-output-bzip.c: Restructure things so that it's possible to
3478 build without bzip2 support
3480 2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
3482 * gsf/gsf-input-textline.c: Replace g_realloc with g_renew
3483 * gsf/gsf-output-memory.c: Ditto
3485 2003-02-21 Dom Lachowicz <cinamod@hotmail.com>
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
3493 2003-02-20 Dom Lachowicz <cinamod@hotmail.com>
3495 * gsf/gsf-input-bzip.[ch]: Stubs for a BZ2 input I'm working on
3497 2003-02-18 Dom Lachowicz <cinamod@hotmail.com>
3499 * gsf/gsf-input.c (gsf_input_class_init): Install GObject properties
3500 (gsf_input_get_property): Ditto
3501 (gsf_input_set_property): Ditto
3503 * gsf/gsf-output.c (gsf_output_class_init): Install GObject properties
3504 (gsf_output_get_property): Ditto
3505 (gsf_output_set_property): Ditto
3507 2003-02-14 Dom Lachowicz <cinamod@hotmail.com>
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
3513 2003-02-11 Jody Goldberg <jody@gnome.org>
3515 * configure.in : compartmentalize the bzip config tests, and trust
3516 libtool for the dependent libraries enough to not mention them in
3519 * gsf/gsf-output-bzip.c : improve the conditionalization.
3521 * gsf/gsf-input-iochannel.c (gsf_input_memory_new_from_iochannel) :
3522 warning suppression.
3524 2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
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
3532 2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
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
3539 2003-02-09 Dom Lachoiwcz <cinamod@hotmail.com>
3541 * gsf/gsf-input-iochannel.[ch]: Rework as per Jody's suggestions. Now
3542 it is a utility constructor.
3544 2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
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
3549 2003-02-07 Rodrigo Moya <rodrigo@gnome-db.org>
3551 * gsf/gsf-input-iochannel.[ch]: new GIOChannel based input.
3553 2003-02-07 Dom Lachowicz <cinamod@hotmail.com>
3555 * gsf/gsf-doc-meta-data.[ch]: Clean API a bit to include consts, gsize
3557 2003-02-05 Jody Goldberg <jody@gnome.org>
3559 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : clip long names,
3560 and do not output a name for the root file.
3562 2003-02-04 Dom Lachowicz <cinamod@hotmail.com>
3564 * Changed below commit to use g_new instead of g_malloc + typecast, at
3565 Jody's and Morten's request
3567 2003-02-01 Dom Lachowicz <cinamod@hotmail.com>
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
3578 * gsf-gnome/gsf-input-bonobo.c
3579 * gsf-gnome/gsf-input-gnomevfs.c: More castings needed
3581 2003-02-01 Dom Lachowicz <cinamod@hotmail.com>
3583 * gsf/gsf-infile-msole.c: Some castings to help things build using
3585 * gsf/gsf-msole-utils.c: Ditto
3587 2003-01-31 Dom Lachowicz <cinamod@hotmail.com>
3589 * test/*.c: Correctness fixes in the testcases. No need to unref a null
3592 2003-01-29 Dom Lachowicz <cinamod@hotmail.com>
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
3598 2003-01-28 Jody Goldberg <jody@gnome.org>
3600 * configure.in : post release version bump
3602 2003-01-28 Jody Goldberg <jody@gnome.org>
3606 2003-01-24 Jody Goldberg <jody@gnome.org>
3608 * gsf/gsf-libxml.c (gsf_xml_in_start_element) : be a touch more anal.
3610 2003-01-24 Jody Goldberg <jody@gnome.org>
3612 * configure.in : remove -Wunreachable-code it was damn irritating and
3615 * gsf/gsf-msole-utils.c : warning suppression.
3617 * gsf/gsf-libxml.c (gsf_xml_in_start_element) : support default
3619 (gsf_xml_in_end_element) : ditto.
3620 (gsf_xml_in_start_document) : ditto.
3622 2003-01-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
3624 * configure.in: Calculate MAJOR_VERSION_PLUS_MINOR_VERSION.
3626 2003-01-22 Jody Goldberg <jody@gnome.org>
3628 * gsf/gsf-libxml.c : Rename everything (again) and add namespace
3629 support for the import wrappers.
3631 * configure.in : bump version to 1.7.1 to reflect the major changes in
3632 the xml import/export api.
3634 2003-01-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
3641 2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
3643 * gsf/gsf-msole-utils.c: Mark the 11644473600 constant as ULL.
3645 2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
3647 * gsf/gsf-input.c: The gzip signature consists of unsigned chars.
3649 2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
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().
3655 2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
3657 * configure.in: Redirect grep output to /dev/null instead of using -q
3658 which Morten pointed out doesn't work on Solaris.
3660 2003-01-20 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
3665 2003-01-09 Morten Welinder <terra@diku.dk>
3667 * gsf/gsf-input-stdio.c (gsf_input_stdio_read): Handle eof.
3669 2003-01-08 Dom Lachowicz <cinamod@hotmail.com>
3671 * gsf/gsf-output-iochannel.c (gsf_output_iochannel_write): ensure
3674 * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_write):
3677 * gsf/gsf-input-stdio.c (gsf_input_stdio_read): Ensure that large
3680 * gsf-gnome/gsf-output-gnomevfs.c (gsf_input_gnomevfs_read) :
3683 2003-01-08 Jody Goldberg <jody@gnome.org>
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.
3690 * gsf/gsf-infile-msole.c (ole_make_bat) : add protection against
3693 2003-01-07 Jody Goldberg <jody@gnome.org>
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
3699 * gsf/gsf-utils.c : rename the base64 utilities and clean up the types
3700 and const to match gsf conventions.
3702 2003-01-06 Dom Lachowicz <cinamod@hotmail.com>
3704 * gsf/gsf-output-transaction.c : New capability - transacted
3705 outputs. Not thoroughly tested.
3707 * tests/test-trans.c : Transaction testsuite for above
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
3713 * TODO: remove the "try to support canceling a write" item since
3714 such functionality is supported via transactions
3716 2003-01-05 Tor Lillqvist <tml@iki.fi>
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.
3723 * gsf/Makefile.am: On Win32, use -no-undefined, and install (and
3724 uninstall) import libraries.
3726 * gsf/gsf-output-stdio.c: Add workaround #defines for various Unix
3727 stuff on Win32. Bypass follow_symlinks() unless HAVE_READLINK.
3729 2003-01-05 Jody Goldberg <jody@gnome.org>
3731 * gsf/gsf-utils.c : Pull in the bas64 utilites from evolution. Unused
3734 2003-01-05 Jody Goldberg <jody@gnome.org>
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
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.
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.
3751 * gsf/gsf-libxml.c : rename xml_sax -> GsfInputXML
3752 (GsfOutputXML) : new
3754 2003-01-03 Jody Goldberg <jody@gnome.org>
3756 * gsf/gsf-impl-utils.h : add hooks for interfaces
3758 2002-12-24 Jody Goldberg <jody@gnome.org>
3760 * gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : patch some warnings.
3762 2003-01-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
3764 * debian/changelog, debian/control, debian/libgsf-1-dev.dirs,
3765 debian/libgsf-1-dev.files, debian/rules: Updated.
3767 2002-12-30 Jon K Hellan <hellan@acm.org>
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.
3773 2002-12-23 Morten Welinder <terra@diku.dk>
3775 * gsf/gsf-libxml.c (gsf_xml_output_buffer_new): Fix comment and
3776 ref output to match gsf_libxml_close.
3778 2002-12-20 Morten Welinder <terra@diku.dk>
3780 * gsf/gsf-libxml.c (gsf_libxml_close): Plug leak.
3782 2002-12-19 Dom Lachowicz <cinamod@hotmail.com>
3784 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Able to
3785 open URI objects as well as strings
3787 * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri) : ditto
3789 2002-12-11 Jody Goldberg <jody@gnome.org>
3791 * configure.in : post release version bump.
3793 2002-12-11 Jody Goldberg <jody@gnome.org>
3797 2002-12-10 Jody Goldberg <jody@gnome.org>
3799 * gsf/gsf-msole-utils.c (gsf_msole_lid_for_language) : Suggestion from
3800 Nicolas Peninguy <peninguy.nicolas@wanadoo.fr>
3802 2002-12-10 Jody Goldberg <jody@gnome.org>
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
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.
3811 2002-12-10 Morten Welinder <terra@diku.dk>
3813 * gsf/gsf-structured-blob.c (blob_finalize): Link to the right
3816 * gsf/gsf-outfile-zip.c (zip_dirent_new_out): Don't allocate and
3819 2002-12-09 Jon K Hellan <hellan@acm.org>
3821 * gsf/gsf-msole-utils.c (msole_prop_parse): Fix typo.
3823 2002-12-09 Morten Welinder <terra@diku.dk>
3825 * gsf/gsf-outfile-zip.c (disconnect_children): Factor out from
3827 (gsf_outfile_zip_finalize): Use here too. (This closes a leak if
3830 * gsf/gsf-msole-utils.c (msole_prop_parse): Free the property
3831 values until we figure out what to do with them.
3833 * gsf/gsf-infile-msole.c (gsf_infile_msole_finalize): Plug leak.
3835 * gsf/gsf-timestamp.c (gsf_timestamp_as_string): 64-bit fix.
3837 2002-12-04 Dom Lachowicz <cinamod@hotmail.com>
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
3842 * tests/test-cp.c: New test program exercising gsf_input_copy
3844 2002-12-04 Morten Welinder <terra@diku.dk>
3846 * gsf/gsf-output-stdio.c (follow_symlinks): Fix error return
3848 (gsf_output_stdio_new): Clean up error messages.
3850 2002-12-03 Morten Welinder <terra@diku.dk>
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.
3859 2002-11-29 Jon K Hellan <hellan@acm.org>
3861 * gsf/gsf-output-gzip.c (init_gzip): Return set error if
3863 (gzip_output_header): Add missing argument to time().
3865 2002-11-27 Jon K Hellan <hellan@acm.org>
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
3873 * gsf/gsf-libxml.[ch] (gsf_xmlDocFormatDump: Add encoding parameter.
3875 2002-11-27 Jon K Hellan <hellan@acm.org>
3877 * tests/Makefile.am (check_PROGRAMS): Add test-out-gzip.c
3879 * gsf/gsf-output-gzip.[ch]: New files. Gzip output.
3881 * gsf/Makefile.am (libgsf_1_la_SOURCES): Add gsf-output-gzip.c.
3882 (libgsf_1_include_HEADERS): Add gsf-output-gzip.h.
3884 2002-11-25 Jon K Hellan <hellan@acm.org>
3886 * tests/test-outmem-printf.c (test): Adjust to new
3887 gsf_output_memory_get_bytes API.
3889 * gsf/gsf-outfile-zip.c (root_register_child): Don't ref children
3890 which are directories.
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.
3896 2002-11-25 Jon K Hellan <hellan@acm.org>
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/.
3905 * tests/test-zip-out-subdirs.c (test): Close each substream before
3906 starting to write to the next.
3908 2002-11-24 Jon K Hellan <hellan@acm.org>
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.
3917 2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
3919 * gsf/gsf-ouput-iochannel.c (): New output sink. No IOChannel
3920 input sink possible due to API limitations
3922 * gsf/gsf-input-stdio.c (_new): Open files with "rb" status
3924 2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
3926 * gsf/gsf-output-memory.c (gsf_output_memory_get_bytes): WARNING:
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
3933 2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
3935 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Code
3938 2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
3940 * gsf/gsf-output-memory.c (gsf_output_memory_seek): Implement
3941 seek() by implementing a cursor as well as the existing nwritten
3943 (gsf_output_memory_write): ditto
3944 (gsf_output_memory_vprintf): ditto
3945 (gsf_output_memory_init): ditto
3947 2002-11-23 Jody Goldberg <jody@gnome.org>
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.
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
3960 2002-11-23 Jon K Hellan <hellan@acm.org>
3962 * tests/test-zip-out-subdirs.c: New test program. Add.
3964 * tests/Makefile.am (check_PROGRAMS): Add test-zip-out-subdirs.
3966 2002-11-23 Jon K Hellan <hellan@acm.org>
3968 * tests/test-zip-out.c: New test program. Add.
3970 * tests/Makefile.am (check_PROGRAMS): Add test-zip-out.
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
3977 (zip_close_root): Slight tweak of Dom's fix.
3979 2002-11-23 Dom Lachowicz <cinamod@hotmail.com>
3981 * gsf/gsf-outfile-zip.c (zip_close_root): Free the root_array and
3982 unref the child outputs when closing the root directory
3984 2002-11-22 Dom Lachowicz <cinamod@hotmail.com>
3986 * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Disable creating
3987 backup copies of files, open files with "wb" status instead of
3990 2002-11-22 Dom Lachowicz <cinamod@hotmail.com>
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
3996 2002-11-22 Jon K Hellan <hellan@acm.org>
3998 * tests/test-outmem-printf.c: New test program. Add.
4000 * tests/Makefile.am (check_PROGRAMS): Add test-outmem-printf.
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.
4007 2002-11-22 Jody Goldberg <jody@gnome.org>
4009 * doc/Makefile.am : pull in newer magic from gtk.
4010 * configure.in : ditto.
4012 2002-11-22 Jon K Hellan <hellan@acm.org>
4014 * gsf/gsf-outfile-msole.c (gsf_output_msole_vprintf): New. vprintf
4015 implementation which falls through to the sink's implementation if
4017 (gsf_outfile_msole_class_init): Initialize vprintf virtual.
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.
4023 2002-11-22 Jon K Hellan <hellan@acm.org>
4025 * tests/test-msole-printf.c: New test program. Add.
4027 * tests/Makefile.am (check_PROGRAMS): Add test-msole-printf.
4029 2002-11-21 Jon K Hellan <hellan@acm.org>
4031 * gsf/gsf-output.c (gsf_output_puts): Remove unused variable.
4033 2002-11-21 Jon K Hellan <hellan@acm.org>
4035 * gsf/gsf-libxml.c (gsf_libxml_write): Fix inverted
4036 success/failure test.
4038 * gsf/gsf-output-stdio.c (gsf_output_stdio_new): Set name
4040 2002-11-21 Jon K Hellan <hellan@acm.org>
4042 * gsf/gsf-output.[ch] (gsf_output_printf): New function. printf
4044 (gsf_output_puts): New function. fputs for GsfOutput.
4046 * gsf/gsf-output-impl.h (struct GsfOutputClass): Add Vprintf virtual.
4048 * gsf/gsf-output.c (gsf_output_class_init): Initialize to default
4050 (gsf_output_vprintf): New function: Default vprintf method.
4052 * tests/test-out-printf.c: New test program. Add.
4054 * tests/Makefile.am (check_PROGRAMS): Add test-out-printf.
4056 2002-10-28 Jody Goldberg <jody@gnome.org>
4058 * gsf/gsf-infile-msole.c (ole_dirent_new) : be more careful about
4059 invalid stream names.
4061 2002-10-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
4063 * debian/changelog, debian/control, debian/rules: updated.
4064 * debian/shlibs.local: dropped.
4066 2002-10-26 Jody Goldberg <jody@gnome.org>
4068 * configure.in : post release version bump
4070 2002-10-26 Jody Goldberg <jody@gnome.org>
4074 2002-10-26 Jody Goldberg <jody@gnome.org>
4076 * gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : remove warning.
4078 2002-10-14 Jody Goldberg <jody@gnome.org>
4080 * gsf/gsf-output-memory.c (gsf_output_memory_finalize) : close != exit.
4081 Chain to the parent, and keep the content around until detruction.
4083 2002-10-22 Dom Lachowicz <cinamod@hotmail.com>
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
4089 2002-10-21 Dom Lachowicz <cinamod@hotmail.com>
4091 * gsf/gsf-msole-utils.c (*): Large rewrite of the codepage handling
4092 code. More functions, more complete, more flexible, etc...
4094 2002-10-18 Morten Welinder <terra@diku.dk>
4096 * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Handle
4097 end-of-buffer case without asserting.
4099 2002-10-08 Morten Welinder <terra@diku.dk>
4101 * gsf/gsf-utils.c (gsf_filename_to_utf8): New function.
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.
4110 2002-10-01 Jody Goldberg <jody@gnome.org>
4112 * gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : support recursive
4115 2002-09-30 Jody Goldberg <jody@gnome.org>
4117 * configure.in : post release bump
4119 2002-09-30 Jody Goldberg <jody@gnome.org>
4123 2002-09-27 Jody Goldberg <jody@gnome.org>
4125 * gsf/gsf-structured-blob.c (gsf_structured_blob_read) : fix.
4126 (gsf_structured_blob_write) : fix.
4128 2002-09-26 Jon K Hellan <hellan@acm.org>
4130 * gsf/gsf-output-memory.c: Remove debug printouts.
4132 2002-09-26 Jon K Hellan <hellan@acm.org>
4134 * gsf/gsf-output-memory.[ch] (gsf_output_memory_get_bytes): Take
4135 1st argument GsfOutputMemory instead of GsfOutput.
4137 * gsf/gsf-output-memory.c (struct _GsfOutputMemory): Add
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
4143 (gsf_output_memory_write): Use gsf_output_memory_expand.
4144 (gsf_output_memory_init): Initialize capacity.
4146 2002-09-25 Jody Goldberg <jody@gnome.org>
4148 * gsf/gsf-msole-utils.c (msole_prop_read) : remove some debug spew
4151 2002-09-24 Jody Goldberg <jody@gnome.org>
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 ?)
4157 2002-09-23 Jody Goldberg <jody@gnome.org>
4159 * gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : typo
4160 and make the errors more verbose.
4162 2002-09-20 Jody Goldberg <jody@gnome.org>
4164 * gsf/gsf-structured-blob.c (gsf_structured_blob_read) : handle out of
4167 2002-09-20 Jody Goldberg <jody@gnome.org>
4169 * gsf/gsf-libxml.c (gsf_xmlSAX_parse) : some initial work on utility
4170 structures and routines to make building a sax parser easy.
4172 * gsf/gsf-structured-blob.c : new utility to read/write trees of
4175 2002-09-19 Jon K Hellan <hellan@acm.org>
4177 * gsf/gsf-outfile-zip.h (enum GsfZipCompressionMethod): Define.
4179 * gsf/gsf-outfile-zip.[ch]
4180 (gsf_outfile_zip_set_compression_method): New function. Set
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
4191 (gsf_outfile_zip_init): Initialize compression method to deflated.
4192 (gsf_outfile_zip_set_compression_method): New function. Set
4195 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Fix typo.
4197 2002-09-19 Jon K Hellan <hellan@acm.org>
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.
4204 2002-09-16 Jody Goldberg <jody@gnome.org>
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.
4214 * gsf/gsf-output-stdio.c : borrow the temp file handling from gedit so
4215 that we can handle setgid directories correctly.
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.
4222 * gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : add some error
4225 2002-09-15 Jody Goldberg <jody@gnome.org>
4227 * gsf/gsf-msole-utils.c (gsf_msole_iconv_win_codepage) : fix warning.
4229 * configure.in : reorder the _BSD_SOURCE and _POSIX_SOURCE tests
4230 because POSIX changes things under linux.
4233 2002-09-15 Jon K Hellan <hellan@acm.org>
4235 * tests/test-zip2.c: Add.
4237 2002-09-14 Rodrigo Moya <rodrigo@gnome-db.org>
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.
4243 2002-09-14 Rodrigo Moya <rodrigo@gnome-db.org>
4245 * gsf/gsf-command-context.[ch]: new class for command contexts,
4246 stealing some implementation from GsfIOContext.
4248 * gsf/gsf-io-context.[ch]: base this class on GsfCommandContext.
4250 2002-09-14 Jon K Hellan <hellan@acm.org>
4252 * gsf/gsf-infile-zip.c (gsf_infile_zip_read): Fix reading
4253 non compressed streams.
4255 2002-09-13 Jody Goldberg <jody@gnome.org>
4257 * gsf/gsf-msole-utils.c (msole_prop_read) : tweak boundary case
4260 2002-09-14 Jon K Hellan <hellan@acm.org>
4262 * gsf/gsf-outfile-zip.[ch]: Really add this time.
4264 * gsf/gsf-infile-zip.c: gsf-zip-utils.h doesn't exist - don't
4267 * gsf/gsf-zip-utils.c: Ditto.
4269 2002-09-14 Jon K Hellan <hellan@acm.org>
4271 * tests/Makefile.am: Add test-cp-zip.c
4273 2002-09-13 Jon K Hellan <hellan@acm.org>
4275 * tests/test-cp-zip.c: Add a test program for zip export.
4277 2002-09-13 Jon K Hellan <hellan@acm.org>
4279 * gsf/gsf-zip-util.c: Add.
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
4288 (zip_child_init): Move before first use.
4289 (gsf_infile_zip_finalize): Free zlib stream.
4291 * gsf/Makefile.am: Add gsf-zip-utils.c, gsf-outfile-zip.[ch]
4293 2002-09-12 Dom Lachowicz <cinamod@hotmail.com>
4295 * gsf/Makefile.am: add gsf-output-memory
4297 * gsf/gsf-output-memory.c (_seek): fix seek type, compiles
4299 * gsf-gnome/Makefile.am: add gsf-output-bonobo
4301 * gsf-gnome/gsf-output-bonobo.c (): make compile
4303 2002-09-06 Jon K Hellan <hellan@acm.org>
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.
4310 * gsf/gsf-infile-zip.c (gsf_infile_zip_dup): Call zip_child_init.
4312 2002-09-04 Jon K Hellan <hellan@acm.org>
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.
4322 2002-09-03 Jon K Hellan <hellan@acm.org>
4324 * gsf/gsf-input-gzip.c (check_header): Fix typo.
4326 2002-09-03 Jon K Hellan <hellan@acm.org>
4328 * gsf/gsf-libxml.c (gsf_libxml_read): Don't signal error when
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
4334 Add check that there's room for payload.
4336 2002-09-02 Jon K Hellan <hellan@acm.org>
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.
4344 2002-09-01 Jody Goldberg <jody@gnome.org>
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.
4349 2002-08-31 Jody Goldberg <jody@gnome.org>
4351 * gsf/gsf-infile-zip.c (gsf_infile_zip_num_children) : return -1 for
4354 2002-08-31 Jody Goldberg <jody@gnome.org>
4356 * gsf/gsf-timestamp.c : dummy up a quick implementation.
4357 * gsf/gsf-msole-utils.c (msole_prop_parse) : support FILETIME.
4359 2002-08-30 Jody Goldberg <jody@gnome.org>
4361 * configure.in : remove -Wconversion because it was pissing me off.
4363 2002-08-30 Jody Goldberg <jody@gnome.org>
4365 * gsf/gsf-msole-utils.c (msole_prop_parse) : add some basic
4367 (msole_prop_id_to_gsf) : new.
4369 2002-08-29 Jody Goldberg <jody@gnome.org>
4371 * gsf/gsf-msole-utils.c (gsf_msole_prop_read) : conditionalize the
4374 2002-08-29 Jody Goldberg <jody@gnome.org>
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.
4380 2002-08-28 Jody Goldberg <jody@gnome.org>
4382 * gsf/gsf-input-gzip.c (gsf_input_gzip_new) : restore the current file
4383 position when sniffing for gzip fails.
4385 2002-08-28 Jody Goldberg <jody@gnome.org>
4387 * gsf/gsf-msole-metadata.c (gsf_msole_iconv_open_for_export) : moved
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.
4394 2002-08-26 Jon K Hellan <hellan@acm.org>
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
4407 2002-08-26 Jon K Hellan <hellan@acm.org>
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
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
4420 (zip_build_vdirs): New function. Build directory tree of contained
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.
4437 * gsf/gsf-zip-impl.h (ZIP_NAME_SEPARATOR): Define path name
4438 component separator for zip archives.
4440 2002-08-26 Morten Welinder <terra@diku.dk>
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.
4446 * configure.in: Take out -Wcast-align until someone fixes the
4447 hundreds of things that violates it.
4449 2002-08-25 Jody Goldberg <jody@gnome.org>
4451 * configure.in : post release version bump
4453 2002-08-25 Jody Goldberg <jody@gnome.org>
4457 2002-08-22 Jon K Hellan <hellan@acm.org>
4459 * gsf/gsf-infile-zip.c (zip_find_trailer): Fix case when no match
4460 is found first time round.
4462 2002-08-21 Jon K Hellan <hellan@acm.org>
4464 * gsf/gsf-infile-zip.c (zip_find_trailer): Don't try to read
4467 2002-08-21 Jon K Hellan <hellan@acm.org>
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
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.
4478 * tests/test-cp-msole.c: Revert 2nd arg to
4479 gsf_input_read/write from gsf_off_t to size_t.
4481 2002-08-21 Mikael Hallendal <micke@codefactory.se>
4483 * tests/test-textline.c (test): output argv[0] when printing
4486 2002-08-20 Jody Goldberg <jody@gnome.org>
4488 * gsf-gnome/Makefile.am : depend on libgsf
4490 2002-08-20 Jon K Hellan <hellan@acm.org>
4492 * gsf-gnome/.cvsignore: Add.
4494 2002-08-19 Jon K Hellan <hellan@acm.org>
4496 * tests/test-cp-msole.c (clone): Cast 2nd arg to
4497 gsf_input_read/write to gsf_off_t.
4499 2002-08-19 Jon K Hellan <hellan@acm.org>
4501 * gsf/gsf.h: Remove GsfSeekType.
4503 * gsf/gsf-input.[ch]: s/GsfSeekType/GSeekType/ in gsf_input_seek
4506 * gsf/gsf-output.[ch]: s/GsfSeekType/GSeekType/ in gsf_output_seek
4509 * gsf/gsf-input-impl.h (GsfInputClass) s/GsfSeekType/GSeekType/ in
4512 * gsf/gsf-output-impl.h (GsfOutputClass) Ditto.
4514 * gsf/gsf-infile-msole.c (gsf_infile_msole_seek):
4515 s/GsfSeekType/GSeekType/ in signature.
4517 * gsf/gsf-infile-msvba.c (gsf_infile_msvba_seek): Ditto.
4519 * gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Ditto.
4521 * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
4523 * gsf/gsf-input-memory.c (gsf_input_memory_seek): Ditto.
4525 * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4527 * gsf/gsf-input-textline.c (gsf_input_textline_seek): Ditto.
4529 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
4531 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
4533 * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4535 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
4537 * gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
4539 * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
4541 * gsf/gsf-input.c (gsf_input_seek): Replace GSF_SEEK_SET, CUR, END
4542 with G_SEEK_SET, CUR, END.
4544 * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
4546 * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4548 * gsf/gsf-output.c (gsf_output_seek): Ditto.
4550 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
4552 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
4554 * gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4556 * gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
4558 * gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
4560 * gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
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/.
4566 * gsf/gsf-infile-msvba.c (vba_inflate, vba56_dir_read,
4567 gsf_infile_msvba_seek, gsf_infile_msvba_seek): Ditto.
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.
4573 * gsf/gsf-input-gzip.c (check_header, check_header): Ditto.
4575 * gsf/gsf-input.c (gsf_input_dup, gsf_input_uncompress): Ditto.
4577 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek,
4578 gsf_outfile_msole_close): Ditto.
4580 2002-08-18 Jon K Hellan <hellan@acm.org>
4582 * configure.in: Revert today's first change to the file, but keep
4585 2002-08-18 Jon K Hellan <hellan@acm.org>
4587 * configure.in: See below. Hope it's true this time.
4589 2002-08-18 Jon K Hellan <hellan@acm.org>
4591 * configure.in: Make --without-gnome work.
4593 2002-08-18 Jon K Hellan <hellan@acm.org>
4595 * acinclude.m4: Change it to just a comment referring to
4596 python/README-python.
4598 * acinclude.m4.am15: Added. A copy of the previous version, but no
4599 longer commented out. See python/README-python.
4601 2002-08-17 Jody Goldberg <jody@gnome.org>
4603 * gsf/Makefile.am : install the xml header
4605 2002-08-17 Jon K Hellan <hellan@acm.org>
4607 * libgsf-gnome-1.pc.in (Cflags): Fix Libs line.
4609 2002-08-17 Jon K Hellan <hellan@acm.org>
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
4616 2002-08-16 Jody Goldberg <jody@gnome.org>
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.
4622 2002-08-16 Jody Goldberg <jody@gnome.org>
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.
4628 2002-08-16 Jody Goldberg <jody@gnome.org>
4630 * configure.in : move bonobo and gnome-vfs into a standalone library.
4632 * gsf/gsf-infile-msole.c (ole_init_info) : add a warning about invalid
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.
4641 2002-08-16 Morten Welinder <terra@diku.dk>
4643 * gsf/gsf-io-context.c (gsf_io_context_update_progress): Don't
4644 zero out memory only to overwrite it.
4646 2002-08-16 Jon K Hellan <hellan@acm.org>
4648 * configure.in: Require autoconf 2.52
4650 2002-08-16 Morten Welinder <terra@diku.dk>
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.
4656 2002-08-15 Jon K Hellan <hellan@acm.org>
4658 * configure.in: Test for orbit-python.
4660 2002-08-15 Jon K Hellan <hellan@acm.org>
4662 * gsf/gsf-input-memory.c (gsf_input_mmap_new): Stop warnings on
4665 2002-08-15 Jon K Hellan <hellan@acm.org>
4667 * gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Cast to
4668 gsf_off_t when checing for overflow.
4670 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_close,
4671 gsf_outfile_msole_write): Ditto.
4673 * gsf/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
4675 * gsf/gsf-infile-zip.c (zip_find_trailer): Ditto.
4677 * gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Use long, not
4678 off_t for offset arg. to fseek.
4680 * gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
4682 * gsf/gsf-input-memory.c (gsf_input_mmap_new): Add forgotten
4683 argument to g_error_new.
4685 2002-08-15 Jon K Hellan <hellan@acm.org>
4687 * configure.in: Bump minor verision to 1.3. Add AC_SYS_LARGEFILE.
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.
4694 * gsf/gsf-shared-memory.h (struct _GsfSharedMemory): Change type
4695 of size to gsf_off_t.
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.
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.
4706 * gsf/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new): Various
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
4712 (gsf_output_gnomevfs_write): Cast 'bytes' argument to
4713 gnome_vfs_write to GnomeVFSFileSize to shut up warning.
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
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
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.
4732 * gsf/gsf-libxml.c (gsf_libxml_read): Return type of
4733 gsf_input_remaining has changed to gsf_off_t. Use.
4735 * gsf/gsf-io-context.c (GSF_CLASS): G_TYPE_GLIB is the parent
4736 class, not the io-context class itself.
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.
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
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
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.
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.
4769 * gsf/gsf-input-memory.h: Change type of length parameter to
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.
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
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.
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
4808 * gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Change type of
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.
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.
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.
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.
4842 2002-08-12 Jody Goldberg <jody@gnome.org>
4846 2002-08-06 Morten Welinder <terra@diku.dk>
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.
4852 2002-08-05 Jody Goldberg <jody@gnome.org>
4854 * tests/test-msole1.c (test) : why did I add that limitation ?
4856 2002-08-05 Jody Goldberg <jody@gnome.org>
4858 * gsf/gsf-output.c (gsf_output_is_closed) : forgot to implement.
4860 2002-08-02 Jody Goldberg <jody@gnome.org>
4862 * configure.in : bump version
4864 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize) : add a safety
4865 to close the file before finalizing.
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.
4871 2002-08-02 Rodrigo Moya <rodrigo@gnome-db.org>
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.
4880 2002-08-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
4882 * doc/Makefile.am (HTML_DIR) : conditionally define.
4883 * doc/gsf-docs.sgml : tidy up.
4885 2002-07-27 Dom Lachowicz <cinamod@hotmail.com>
4887 * MAINTAINERS : add myself
4888 * gsf-metadata-bag.[ch] : add cardinatliy (size) method
4890 2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
4892 * gsf-output-bonobo.[ch]: implement output stream (untested)
4894 2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
4896 * gsf-meta-keys.h: list of default/builtin keys that we will want
4899 * gsf-metadata-bag.[ch]: add key creation and manipulation
4900 functions, update TODO list
4902 2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
4904 * gsf-metadata-bag.c: implement (untested)
4906 2002-07-25 Dom Lachowicz <cinamod@hotmail.com>
4908 * gsf-input-gnomevfs.[ch]: implement (untested)
4909 * gsf-output-gnomevfs.[ch]: implement (untested)
4910 * gsf-output-memory.[ch]: implement (untested)
4912 2002-07-22 Zbigniew Chyla <cyba@gnome.pl>
4914 * gsf-input-gnomevfs.c (struct _GsfInputGnomeVFS):
4915 Added missing semicolon at the end of struct.
4917 2002-07-21 Jody Goldberg <jody@gnome.org>
4921 2002-07-17 Jody Goldberg <jody@gnome.org>
4923 * gsf/gsf-utils.c (gsf_mem_dump) : tweak.
4925 2002-07-15 Morten Welinder <terra@diku.dk>
4927 * gsf/gsf-infile-msole.c (gsf_infile_msole_dup): Don't ignore err
4928 -- that will crash the caller.
4930 * gsf/gsf-input-memory.c (gsf_input_mmap_new): Plug file
4933 2002-07-09 Jody Goldberg <jody@gnome.org>
4935 * gsf/gsf-input.c (gsf_input_dup) : avoid leak if derived dup has
4936 already assigned a name.
4938 2002-07-08 Jody Goldberg <jody@gnome.org>
4940 * tests/test-cp-msole.c (test) : simplify.
4942 2002-07-08 Jody Goldberg <jody@gnome.org>
4944 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new) : doh!
4945 fix the header to include the correct small block shift.
4947 2002-07-08 Jody Goldberg <jody@gnome.org>
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.
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.
4957 2002-07-07 Jody Goldberg <jody@gnome.org>
4959 * gsf/Makefile.am : Make gsf-impl-utils.h public
4961 2002-07-06 Jody Goldberg <jody@gnome.org>
4963 * gsf/gsf-msole-impl.h : pull in more information. We may not need it
4964 but it makes for better documentation than 'unknown'
4966 2002-07-06 Jody Goldberg <jody@gnome.org>
4968 * gsf/gsf-outfile-msole.c : initial implementation.
4969 * gsf/gsf-outfile.c : initial implementation.
4970 * gsf/gsf-output.c : initial implementation.
4972 2002-07-05 Jody Goldberg <jody@gnome.org>
4974 * gsf/gsf-infile-msole.c (ole_dirent_new) : be more anal in case the
4975 input file has a cycle.
4977 2002-07-03 Jody Goldberg <jody@gnome.org>
4979 * tests/test-textline.c (test) : make the compiler shut up.
4981 2002-06-27 Morten Welinder <terra@diku.dk>
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.
4988 * gsf/gsf-input.c (gsf_input_seek): Handle seeks that go to same
4990 (gsf_input_uncompress): Reorganise a bit.
4992 * gsf/gsf-infile-msole.c (ole_dirent_free): Actually free the
4993 dirent. And the list of children.
4995 2002-06-27 Morten Welinder <terra@diku.dk>
4997 * gsf/gsf-input-gzip.c (gsf_input_gzip_read): Exit on error.
4999 * gsf/gsf-infile-msole.c (ole_init_info): Always set error info.
5001 * configure.in (LIBGSF_LIBS): Include the Bonobo libs.
5003 * tests/test-msole2.c (test): Plug leak. Uncompress source.
5005 * gsf/gsf-input.c (gsf_input_uncompress): New function.
5007 * gsf/gsf-input-gzip.c (gsf_input_gzip_finalize): Plug leak.
5009 2002-06-27 Jon K Hellan <hellan@acm.org>
5011 * gsf/gsf-input-bonobo.c: Actually check in the stuff mentioned
5014 2002-06-27 Morten Welinder <terra@diku.dk>
5016 * gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Attempt
5019 * gsf/gsf-input.c (gsf_input_seek): Make pos an off_t.
5021 2002-06-26 Jon K Hellan <hellan@acm.org>
5023 * gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Replace stream
5024 attribute with GsfSharedBonoboStream * 'shared'. Add 'pos'
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'.
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.
5041 2002-06-26 Morten Welinder <terra@diku.dk>
5043 * configure.in: If needed, define __EXTENSIONS__.
5045 2002-06-26 Jon K Hellan <hellan@acm.org>
5047 * gsf/gsf-input-bonobo.c: Include bonobo-persist-stream.h
5048 (gsf_input_bonobo_read): Silence warning.
5050 2002-06-25 Jon K Hellan <hellan@acm.org>
5052 * configure.in: New flag --with-bonobo
5054 * gsf/Makefile.am (INCLUDES): added new files.
5056 * gsf/gsf-input-bonobo.[ch]: new class for bonobo stream IO.
5058 2002-06-25 Rodrigo Moya <rodrigo@gnome-db.org>
5060 * gsf/gsf-io-context.[ch]: new class for managing IO contexts.
5062 * gsf/Makefile.am: added new files.
5064 2002-06-24 Jody Goldberg <jody@gnome.org>
5066 * python/Makefile.am : pyexec is not available in automake-1.4.
5069 * acinclude.m4 : something was still interpretting the AC_REQUIRE even
5070 though ti was commented out. change case and comment for now to
5073 2002-06-23 Jon K Hellan <hellan@acm.org>
5075 * acinclude.m4: Comment out everything.
5077 2002-06-21 Jody Goldberg <jody@gnome.org>
5079 * configure.in : uncomment the AM_CONDITIONAL for WITH_PYTHON
5081 2002-06-21 Jon K Hellan <hellan@acm.org>
5083 * acinclude.m4: Add it. It provides AM_CHECK_PYTHON_HEADERS.
5085 2002-06-20 Morten Welinder <terra@diku.dk>
5087 * gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_child): Add
5090 2002-06-20 Jon K Hellan <hellan@acm.org>
5092 * configure.in: Add support for building Python bindings, but
5093 comment it out because it requires automake1.5.
5095 * Makefile.am: Build python subdir if WITH_PYTHON is set.
5097 2002-06-18 Rui M. Seabra <rms@1407.org>
5099 * libgsf-1.spec.in : set permission correctly
5100 fix common mistake of Copyright flag into License flag.
5102 2002-06-18 Jody Goldberg <jody@gnome.org>
5104 * configure.in : lower the libxml version req
5106 2002-06-17 Jody Goldberg <jody@gnome.org>
5108 * gsf/gsf-outfile.c (gsf_outfile_new_child) : adjust signature to
5111 2002-06-15 Jody Goldberg <jody@gnome.org>
5113 * gsf/gsf-input.c (gsf_input_eof) : fix docs.
5115 * gsf/gsf-utils.c (gsf_mem_dump) : use size_t.
5117 2002-06-13 Jody Goldberg <jody@gnome.org>
5119 * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets) : implement.
5120 (gsf_input_textline_utf8_gets) : pretend to implement.
5122 2002-06-13 Jody Goldberg <jody@gnome.org>
5124 * Makefile.am : move the tests into a standalone dir because they are
5125 getting irritating to build for every single library rebuild.
5127 2002-06-13 Morten Welinder <terra@diku.dk>
5129 * gsf/gsf-infile-msvba.c (vba_inflate): Make offset an off_t.
5131 2002-06-13 Jody Goldberg <jody@gnome.org>
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.
5138 2002-06-13 Jody Goldberg <jody@gnome.org>
5140 * gsf/gsf-infile-msvba.c (vba_inflate) : cleanup.
5142 2002-06-13 Jody Goldberg <jody@gnome.org>
5144 * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT{8,16,32}) : move to
5145 gsf-utils and rename.
5147 * gsf/gsf-input-memory.c (gsf_input_memory_dup) : silence warning.
5148 (gsf_input_mmap_new) : fix the no mmap case.
5150 2002-06-12 Jody Goldberg <jody@gnome.org>
5152 * gsf/gsf-infile-msvba.c (vba_inflate) : store the uncompressed
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 ...
5158 2002-06-12 Rodrigo Moya <rodrigo@gnome-db.org>
5160 * gsf/*: s/IS_GSF/GSF_IS.
5162 2002-06-12 Jon K Hellan <hellan@acm.org>
5164 * libgsf-1.pc.in (Requires): Add libxml-2.0
5166 2002-06-11 Jody Goldberg <jody@gnome.org>
5168 * gsf/gsf-infile-msole.c (gsf_infile_msole_read) : fix reading into an
5169 assigned buffer for small block files.
5171 2002-06-10 Jody Goldberg <jody@gnome.org>
5173 * gsf/gsf-infile.c (gsf_infile_child_by_name) : typo.
5175 2002-06-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
5177 * gsf/test-msole1.c (read_types): Casts to suppress signedness
5179 * gsf/gsf-input-memory.c (gsf_input_memory_read): Changed src type to
5181 * gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Cast
5183 * gsf/gsf-infile-msole.c (ole_dirent_new): Signedness fixes.
5184 * debian/*: updated; include pkgconfig file.
5186 2002-06-09 Jody Goldberg <jody@gnome.org>
5188 * gsf/gsf-infile-msvba.c : new.
5189 * gsf/test-msvba.c : new.
5191 * gsf/gsf-infile.c (gsf_infile_child_by_vname) : new utility routine.
5193 2002-06-07 Jody Goldberg <jody@gnome.org>
5195 * gsf/gsf-input.c (gsf_input_dup) : Add an err parameter.
5197 2002-06-07 Morten Welinder <terra@diku.dk>
5199 * gsf/gsf-input-stdio.c (gsf_input_stdio_new): Plug FILE* leak.
5200 (gsf_input_stdio_dup): Go via filename.
5202 2002-06-07 Jody Goldberg <jody@gnome.org>
5204 * doc/Makefile.am : fix the type init function for gtk-doc.
5205 * gsf/* : fix docs a bit.
5207 2002-06-07 Jody Goldberg <jody@gnome.org>
5209 * gsf/gsf-utils.c (gsf_input_dump) : new utility split out of.
5210 * gsf/test-gzip1.c (test) : here.
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.
5215 * gsf/gsf-input-stdio.c (gsf_input_stdio_dup) : dup the descriptor
5216 before creating a new file handle.
5218 2002-06-06 Jody Goldberg <jody@gnome.org>
5220 * configure.in : remove -Wmissing-noreturn
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.
5225 * gsf/*.c : change the convention for wrappers. They all add their
5226 own references to the source rather than absorbing the ref that
5229 2002-06-06 Jody Goldberg <jody@gnome.org>
5231 * configure.in : add zlib.
5232 * libgsf-1.pc.in (Cflags) : ditto.
5234 * gsf/gsf-input-gzip.c : wrapper to uncompress things.
5236 * gsf/gsf-libxml.c : some convenience routines for dealing with libxml.
5238 * gsf/test-gzip1.c : add some tests for gzip.
5240 2002-06-05 Morten Welinder <terra@diku.dk>
5242 * gsf/*.[ch]: switch to using system types.
5244 2002-06-05 Jon K Hellan <hellan@acm.org>
5246 * gsf/Makefile.am: Fix typo - libgsf_1_includedir didn't get defined.
5248 2002-06-05 Jody Goldberg <jody@gnome.org>
5250 * gsf/gsf-input-memory.c (gsf_input_mmap_new) : set the filename.
5252 2002-06-04 Jody Goldberg <jody@gnome.org>
5254 * gsf/gsf-input.c (gsf_input_eof) : do this internally.
5255 * gsf/gsf-input* : remove the _eof methods.
5257 2002-06-04 Morten Welinder <terra@diku.dk>
5259 * gsf/gsf-input-impl.h (GsfInputClass): Change structure members
5260 from "read" to "Read", etc. This avoids names reserved by the
5263 2002-06-04 Morten Welinder <terra@diku.dk>
5265 * gsf/test-msole1.c (test): Add --memory option.
5267 * gsf/gsf-shared-memory.c: New class.
5269 * gsf/gsf-input-memory.c (gsf_input_memory_new): Use new
5270 GsfSharedMemory class.
5271 (gsf_input_memory_read): Add missing parameter.
5273 2002-06-01 Jody Goldberg <jody@gnome.org>
5275 * gsf/Makefile.am : Add gsf-input-textline.[ch]
5278 2002-05-30 Jody Goldberg <jody@gnome.org>
5280 * gsf/gsf-input-stdio.h : fix the name mismatch.
5282 2002-05-28 Jody Goldberg <jody@gnome.org>
5284 * gsf/gsf-input.c (gsf_input_seek) : doh!
5286 2002-05-28 Morten Welinder <terra@diku.dk>
5288 * gsf/gsf-infile-msole.c (ole_make_bat): Cast via gconstpointer to
5291 * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8, GSF_OLE_GET_GUINT16,
5292 GSF_OLE_GET_GUINT32): fix alignment problems.
5294 * gsf/test-msole1.c (read_types): Fix isspace usage.
5296 2002-05-27 Jody Goldberg <jody@gnome.org>
5298 * gsf/gsf-infile-msole.c : add some prepoc constants to prep for
5301 2002-05-25 Jody Goldberg <jody@gnome.org>
5303 * README : add more details
5305 2002-05-25 Jody Goldberg <jody@gnome.org>
5307 * gsf/test-msole1.c (get_biff_opcode_name) : suppress warning.
5309 * gsf/gsf-input-memory.c (gsf_input_mmap_new) : ensure it is a regular
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<>().
5316 2002-05-25 Jody Goldberg <jody@gnome.org>
5318 * gsf/gsf-impl-utils.h (GSF_CLASS_FULL) : suppress warning.
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
5327 * gsf/gsf-input.c (gsf_input_seek) : suppress warning.
5328 (gsf_input_dup) : ditto.
5329 (gsf_input_init) : ditto.
5331 2002-05-25 J.H.M. Dassen (Ray) <jdassen@debian.org>
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.
5342 2002-05-25 Jody Goldberg <jody@gnome.org>
5344 * gsf/gsf-input.c (gsf_input_seek) : more error checking.
5346 2002-05-25 Jody Goldberg <jody@gnome.org>
5348 * gsf/test-msole1.c (test) : dump head of odd records.
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.
5355 2002-05-25 Jody Goldberg <jody@gnome.org>
5357 * gsf/gsf-infile-msole.c (ole_dirent_new) : fix off by 1 error in
5358 handling broken ascii stream names.
5360 2002-05-25 Jody Goldberg <jody@gnome.org>
5362 * gsf/gsf-infile-msole.c (ole_init_info) : libole2 knew about a smidge
5363 more of the ole header, use the sbat counter.
5365 * gsf/test-msole1.c (test) : even more sanity checking.
5367 2002-05-25 Jody Goldberg <jody@gnome.org>
5369 * gsf/test-msole1.c (test) : add more safety checks to automate
5370 validation of imported biff records.
5372 * gsf/gsf-infile-msole.c (ole_dirent_new) : Based on char-width2.xls
5373 it looks like directory sizes are periodically screwed.
5375 2002-05-25 Jody Goldberg <jody@gnome.org>
5377 * gsf/gsf-infile-msole.c : fix small block support.
5378 Handle the bogus use of ascii stream names in some case.
5380 2002-05-24 Jody Goldberg <jody@gnome.org>
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.
5387 * gsf/gsf-input.c (gsf_input_read) : put the bound check here.
5389 2002-05-24 Jody Goldberg <jody@gnome.org>
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.
5395 * gsf/gsf-input.c (gsf_input_seek) : As morten suggested this is
5396 better as > size rather than >= size.
5398 2002-05-24 Jody Goldberg <jody@gnome.org>
5400 * gsf/gsf-infile-msole.c (gsf_infile_msole_read) : only seek if we
5403 2002-05-24 Jody Goldberg <jody@gnome.org>
5405 * gsf/test-msole1.c (test) : more debug info, and less content spew.
5407 2002-05-23 Jody Goldberg <jody@gnome.org>
5409 * gsf/gsf-input-stdio.c (gsf_input_stdio_size) : be more careful about
5410 people who open devices.
5412 2002-05-23 Jody Goldberg <jody@gnome.org>
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.
5418 2002-05-23 Jody Goldberg <jody@gnome.org>
5420 * gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8) : move here.
5421 (GSF_OLE_GET_GUINT16) : ditto.
5422 (GSF_OLE_GET_GUINT32) : ditto.
5424 2002-05-23 Jody Goldberg <jody@gnome.org>
5426 * gsf/gsf-utils.h : Use the glib type macros instead of defining our
5429 2002-05-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
5431 * doc/Makefile.am: Introduced DOC_DIR so the location can be easily
5432 overridden when building packages.
5433 * debian/*: Preliminary Debian packaging.
5435 2002-05-23 Jody Goldberg <jody@gnome.org>
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
5443 2002-05-19 Jody Goldberg <jody@gnome.org>
5445 * Start making this into a real package.