Commit graph

29 commits

Author SHA1 Message Date
adam
27057d742f Changes 0.9.1:
* Parse correctly WP 2 for Mac documents without resource fork
* Improvements in parsing of pictures in WP1 parser
* Fix wrong sizes of some functions in WP1 and WP42 parsers
* Fix handling of character attributes
2011-02-04 19:53:06 +00:00
wiz
bf1c1356ea Remove libgsf here as well. 2010-11-25 10:41:17 +00:00
wiz
624c2eb816 Update to 0.9.0. Bump API depends for shlib name change.
CHANGES:
0.8.x - 0.9.0
- Conversion of page-numbering (William)
- Conversion of embedded images and text boxes in WP1, WP3, WP5 and WP6 documents
  (Fridrich)
- Conversion of password protected WP1, WP3, WP42 and WP5 documents (Fridrich)
- Conversion of annotations/comments in WP6 parser (Fridrich)
- Fix some greek characters so that Text written in WP5.1 with Printer Polyglott
  convert correct.
- Fix unicode mappings of some older Symbol and Dingbats fonts (Fridrich)
- Drop the libgsf dependency in favour of pure C++ implementation of the WPXInputStream
  interface (Fridrich, Ariya)
- Fix the footnote/endnote/comment/annotation/textbox writing in wpd2html converter
- Improve metadata parsing (David Hislop)
2010-11-25 10:27:49 +00:00
wiz
3be2649e22 Set LICENSE. 2010-10-09 12:17:12 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
wiz
e32076591e Update to 0.8.14:
0.8.13 - 0.8.14
- Fix some warnings due to unused variables
- Fix a warning due to a name hiding.
- Fix two loops with corrupted documents (Thank you, sum1!)

0.8.12 - 0.8.13
- Implement readahead in the WPXStreamImplementation class (Jan Holesovsky, Fridrich)
- Fix some memory issues properly (each class deletes what it allocated) (Fridrich)
- Work around an issue with relative seeks backward and certain versions of libstdc++
  in the buffered stream implementation (Fridrich, sum1)
- Fix a problem of conversion of some page breaks due to an unreachable block in the
  code (Fridrich)
- Fix a crasher in a rare case of a footnote/endnote being defined in a table and the
  footnote/endnote having itself a table (Fridrich).
- Fix some null pointer crashes with corrupted documents in table code and in cases where
  there is no prefix ID present (sum1, Fridrich).
- Fix a out of bounds array in parsing WP5 extended characters with broken documents
  (sum1).
- Remove some abuse of pointers (Fridrich).
- In "wpd2raw --callback", return "-1" if no one callback was called (Fridrich).
- Fix some issues with incorrect indents in some rear cases (Fridrich).
- Fix some signedness problems (Fridrich).

0.8.11 - 0.8.12
- Enable building of statically linked tools even when a shared library is built,
  useful for scripting the creation of win32 release packages (Robert Staudinger,
  Fridrich Strba)
- Package also the tools automatically for win32 (Fridrich)
- Do not build doxygen documentation on win32 unless explicitely asked for it (Fridrich)
- Convert Tab Set function for WP5 parser (Fridrich)
- Basic conversion of tabulators and indents in WP3 parser (Smokey Ardisson, Fridrich)
- Basic conversion of tabulators and indents in WP5 parser (Fridrich)
- Convert the most usual Macintosh fonts from fontId to font name in WP1 parser
  (Hubert Figuiere, Fridrich)
- Fix compilation with the upcoming gcc 4.3 (Rene Engelhard, Fridrich)

0.8.10 - 0.8.11
- Fix incorrect conversion of tables with cells spanning more then 127 rows due to
  incorrect information in the file-format (Fridrich)
- Fix incorrect reading of font name information in prefix packets (Fridrich)
- Fixing http://bugzilla.abisource.com bug #10957: Bad -L flags in Makefile.am break
  compiling if different libwpd version is already installed (Daniel Mack)
- Fixing http://bugzilla.abisource.com bug #10958: Risky -I ordering (Daniel Mack)
- Making a proper release win32 (MinGW) binaries crosscompilation on Linux possible and
  smooth (Fridrich)

0.8.9 - 0.8.10
- Fix a locale dependency in our float to string conversion (Fridrich)
- Enhance our reading of document meta data for WP6 (David Hislop)
- Fix some sillies and be gracious with documents with corrupted prefix packets (Fridrich)
- Prevent the heuristic typedetection from throwing (Fridrich)
- Add a new stream implementation based on C++ streams, rendering libgsf dependency
  very optional; deprecate GSFInputStream (Fridrich)
- Allow building of wpd2foo tools by Micro$oft Visual studio (David Hislop, Fridrich)
2008-04-14 13:38:43 +00:00
wiz
8e810a2bc9 Recursive PKGREVISION bump for gnutls-2.2.2 update with shlib major bump. 2008-03-06 14:53:47 +00:00
wiz
3528e06345 Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
2007-09-21 13:03:25 +00:00
wiz
42825e73a6 Bump PKGREVISION for gnome-vfs rename. 2007-09-19 23:18:43 +00:00
wiz
9d27f90a6f opencdk shlib major changed; bump ABI depends and PKGREVISIONs of
affected packages.
2007-06-05 05:36:59 +00:00
rillig
bcb5770f00 ... and a patch for NetBSD 3.0. 2007-03-18 20:41:50 +00:00
rillig
9796feb67d Updated libwpd to 0.8.9.
CHANGES:
0.8.8 - 0.8.9
- Fix http://qa.openoffice.org/issues/show_bug.cgi?id=74134, a bug in WP1 document
  type detection where we could try to seek to a negative place in document (Fridrich)
- Fix a regression wrt. 0.8.7 preventing the conversion of tab table in
  WP1 and WP3 file-format (Fridrich)
- Fixed several overflow bugs reported by iDefense. An attacker could create a
  carefully crafted Word Perfect file that could cause an application linked with
  libwpd, such as OpenOffice, to crash or possibly execute arbitrary code if the
  file was opened by a victim. (CVE-2007-0002) (iDefense's Sean Larsson, Fridrich)

0.8.7 - 0.8.8
- Add unit tests for the stream class (Fridrich & Andrew Ziem)
- Ignore foot/endnotes that are referenced inside other foot/endnotes (Fridrich);
  fixes http://www.openoffice.org/issues/show_bug.cgi?id=71487
- Handle graciously unsupported password-protected documents; (Fridrich)
  fixes http://www.openoffice.org/issues/show_bug.cgi?id=72307
- Remove warnings on main OpenOffice.org platforms (Fridrich)
- Remove some potential memory leaks in the WPXPropertyList class and optimize
  the WPXPropertyList subscription operator (Fridrich)
- When possible, pass WPXStrings by reference instead of passing them by copy
  (Fridrich)
- Refactor WPXString to not cast from and to void*; refactor WPXPropertyList and
  WPXPropertyListVector classes as to save a bunch of virtual calls (Fridrich)
2007-03-18 20:41:27 +00:00
wiz
415b95be37 Update to 0.8.7:
CHANGES:
0.8.6 - 0.8.7
- Revert the alignment fix, in order to mimick the way WP for Mac renders
  the documents (Fridrich)
- Support for WP Mac 1.x documents (Fridrich)
- Fix memory leak in standalone converters (Andrew Ziem)
- Miscellaneous code cleanups (Fridrich)

0.8.5 -> 0.8.6
- Initial support of WP Mac 2.x documents (Fridrich)
- Fix an alignment bug where alignment was propagated from multicolumn
  sections into following single column sections (Fridrich)
- Initial conversion of headers/footers in WP42 parser (Fridrich)
- Fix some parser errors in WP42 parser; now we seek to the right place
  and parse correctly all functions (Fridrich)
- Fixed crash in wpd2foo if invoked with non-existing filename (Jody Goldberg)
- Assure that the table we send to the listener implementation is a valid
  table independent of how messy the table is in the WP document (Fridrich)
- Fix situations where there is no tab position information in WPUs inside
  the tabulator function; the fallback works now even if the position is 0
  like in WP6 for DOS documents.
- Try not to crash under any circumstance by sanitizing the code and throwing
  exception in illogical, but in WP documents very real, situations (sum1,
  Fridrich)
- Make every implementation of WPXInputStream that we use return !0 if a seek
  fails; be more paranoiac with the result of read functions (sum1, Fridrich)
- Ignore corrupted prefix packets in WP5 documents (Fridrich)
- Try to convert as much information as possible even in corrupted WP3, WP5 and
  WP6 documents (Fridrich) - Libwpd now converts many documents that make crash
  WordPerfect itself.
- Fine-tune the WP42 document detection. Detect as many WP42 files as possible
  while still discarding plain text documents (Fridrich, Marc)
- Let the WP6 parser not die if the prefix packet it refers to is corrupted or
  absent (Fridrich)
- Fix hangs while parsing a corrupted WP6ExtendedDocumentSummaryPacket (sum1,
  Fridrich)
- General improvement of libwpd's conversion-success-rate and extensive QA with
  more than 46'000 real life documents (Mr. SUM1)

0.8.4 -> 0.8.5
- Conversion of font face, size and colour in WP5 parser, including the
  default font information (Fridrich)
- Conversion of foot/endnotes in WP5.x format (Fridrich)
- Conversion of headers/footers in WP3 and WP5 parsers (Fridrich)
- Prevent negative paragraph margins due to page margin change.
  Removes the ugly text-border lines running across the text in
  OpenOffice.org (Fridrich)
- Make page margins constant between two hard page breaks (Fridrich)
- Convert page margin changes into section margins in multi-column sections
- Move absolute position values in multicolumn sections from whatever column
  they are in into  the first one. Fixes the off-page position of the second
  table in 05mechanicalservice.wpd (Fridrich)
- Defer page span change to the end of the current paragraph if it is
  opened in order to prevent a paragraph break where it is not there in the
  original document (Fridrich)
- Fix http://bugzilla.abisource.com/show_bug.cgi?id=10105, an incorrect
  conversion of table alignment in WP3.x file format (Fridrich)
- Fix small issue with incorrect number of pages in page-spans (Fridrich)
- Fix an issue with "==" operator for WPXPageSpan classes. The result is now
  the same independent on the order of the operands (Fridrich)
- Fix http://bugzilla.abisource.com/show_bug.cgi?id=10279, a crash if a table
  from the middle of the tableList is in footnote and/or endnote (Marc, Fridrich)
- Add an option "--info" to wpd2text; called with this option, wpd2text dumps the
  information of the document instead of converting it. This could be useful for
  beagle (Fridrich)
- Refactoring of the listener structure and split of WPXListener into WPXContentListener
  and WPXStylesListener (Fridrich, Marc and Cyrille Moureaux as a guest star)
2006-11-18 22:02:28 +00:00
jmmv
f190ea92a4 Bump revisions due to gnome-vfs2 update: dbus-glib is now a dependency.
This fixes problems when some installed packages are outdated.
Per wiz@'s request.

Grrr, I really hate this kind of change.
2006-09-16 12:20:32 +00:00
rillig
144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
reed
148d1976c1 This uses and depends on "c++". Bump PKGREVISION also. 2006-05-09 15:45:28 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
wiz
35af66a196 Belatedly bump PKGREVISION for all libtasn1 dependencies, since
libtasn1 had a shlib major bump.
Also update dependencies in bl3.mk files.

Addresses PR 32998 by Robert Elz.
2006-03-06 00:18:10 +00:00
adam
0af5d77af8 Changes 0.8.4:
- Fix compilation with gcc >=  4.1.0
- Initial support for tables in WP5.x format
- Fix compilation on MacOSX
- Conversion of font name, size and colour for WP3.x format
- Collapse the LL and HL Listeners into one classe each
- Initial support of tables in WP3.x format including the cell background
  colour
- Conversion of sections with multiple columns in WP3.x format
- Conversion of foot/endnotes in WP3.x format
- Adding an assignment operator to WPXString class as well as trying
  to make it much more a std::string wrapper
2006-02-08 09:42:53 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
salo
998bd5a5f8 Needs pkg-config to build. 2006-01-05 20:32:25 +00:00
wiz
f61c002199 Recursive PKGREVISION bump for gnutls shlib major bump.
Bump BUILDLINK_RECOMMENDED.
2005-12-31 12:32:31 +00:00
wiz
321a09857a Bump PKGREVISION for libgsf dependencies, and BUILDLINK_DEPENDS because
of the libgsf shlib major bump and associated BUILDLINK_DEPENDS bump.
2005-11-25 21:23:14 +00:00
markd
ba70c74ffc Initial import of libwpd version 0.8.1.
From Jeremy Reed in pkgsrc-wip, updated to 0.8.1 by me.

libwpd is a library for reading and writing WordPerfect(tm)
documents.

This package also includes utilities for converting to HTML
and plain text.
2005-06-26 22:08:08 +00:00