Commit graph

292142 commits

Author SHA1 Message Date
Kohei Yoshida
d8897ebb47 Removed custom html options iterator class; use the real iterators. 2011-08-04 00:10:02 -04:00
Kohei Yoshida
0a99c69971 Combined two html option loops. 2011-08-04 00:05:26 -04:00
Kohei Yoshida
24d8e4eaf4 Parse CSS in the <style> content and set number formats to cells.
Pick up number formats specified in the CSS content of Excel
generated HTML documents.  This makes use of a template-based CSS
parser from the orcus project.
2011-08-03 21:27:26 -04:00
Kohei Yoshida
7b812c921a Store the content of <style> element, and pass it to the handler. 2011-08-03 21:17:46 -04:00
Kohei Yoshida
760589c835 Check if the XML stream contains '<?xml' at the beginning.
If not, we'll simply bail out.  Note that this will temporarily break
type detections for those esoteric, non-XML file format types that
incorrectly depended on the XML filter detect service to detect their
format types.  To make them work again, please write a different
detection service other than the css.comp.filters.XMLFilterDetect.
2011-08-03 21:14:37 -04:00
Markus Mohrhard
f2ea23963d some clean-up
you need boost::nullable if you want to insert a null pointer in a
boost::ptr_vector and it seems that ptr_vector::c_array isn't supported
then
2011-08-04 02:17:59 +02:00
Miklos Vajna
74561937b7 CVE-2010-3451-1.rtf: reduce size of this
The fix for this is in commit 9bd6527559cf12ef7b04761212e26149e1a229a7,
reverting the rtfnum.cxx part of it shows that this smaller sample tests
the issue as well.
2011-08-04 01:31:34 +02:00
Miklos Vajna
6f48388f89 add new failing test rtf files 2011-08-04 01:18:52 +02:00
Miklos Vajna
4b3008dc45 testrtf: ignore dotfiles 2011-08-04 01:04:15 +02:00
Miklos Vajna
fe02b4ec17 reject files with unmatched { or } 2011-08-04 00:57:43 +02:00
Miklos Vajna
957a48e650 dmapper: m_xText may be null 2011-08-04 00:57:24 +02:00
Markus Mohrhard
20984798a4 change from sal_Bool to bool 2011-08-03 23:53:08 +02:00
Fridrich Štrba
433bf9ba2d Package the odfflatxml component properly and make the flat xml filter work again 2011-08-03 23:47:10 +02:00
Caolán McNamara
db01f854d7 SwFilterBase::ReadUnicode is dubious, luckily unused 2011-08-03 22:41:41 +01:00
Caolán McNamara
abc48eaff8 ByteString::ConvertToUnicode->rtl::OUString ctor 2011-08-03 22:37:55 +01:00
Markus Mohrhard
4fdd461b16 change from c-array to boost::ptr_vector 2011-08-03 23:37:40 +02:00
Caolán McNamara
370ce31850 callcatcher: remove unused methods 2011-08-03 22:25:28 +01:00
Miklos Vajna
a249d1e96f testrtftok: fix path on windows 2011-08-03 21:35:15 +02:00
Miklos Vajna
0b4df1d83d a control word's name cannot be longer than 32 letters 2011-08-03 20:18:18 +02:00
Tor Lillqvist
63904d57b6 Add statically linked i18npool cppunittester for iOS 2011-08-03 21:14:54 +03:00
Miklos Vajna
a426d5890e more passing rtf test docs 2011-08-03 19:47:22 +02:00
Miklos Vajna
7a897a329b fixes for CVE-2010-3333-1.rtf 2011-08-03 19:47:22 +02:00
Miklos Vajna
f2c14788dd fixes for CVE-2007-0245-1.rtf 2011-08-03 19:42:07 +02:00
Miklos Vajna
e9eeee0d82 initial rtf unit test 2011-08-03 19:35:05 +02:00
Miklos Vajna
6353ccd87f couple of null pointer checks for the unit test 2011-08-03 19:02:44 +02:00
Matúš Kukan
98e3b6e9e7 avmedia cleanup - remove unused code 2011-08-03 18:28:55 +02:00
Matúš Kukan
7f56a4d2ee avmedia cleanup - update list 2011-08-03 18:26:32 +02:00
Caolán McNamara
2d775f593a Produce correct sha256 uri, consume correct uri and original spec typo
See:
http://tools.oasis-open.org/issues/browse/OFFICE-3702
http://tools.oasis-open.org/issues/browse/OFFICE-3708
2011-08-03 16:41:50 +01:00
Caolán McNamara
8e042b47b9 restore this, was unused due to incorrect merge 2011-08-03 16:32:59 +01:00
Caolán McNamara
c4de35ab55 fix this leak again post-merge 2011-08-03 16:28:58 +01:00
Takeshi Abe
5b7e8986ff fixed typo 2011-08-04 00:15:24 +09:00
Tor Lillqvist
c2b202910e Add statically linked basebmp cppunittester for iOS 2011-08-03 17:46:15 +03:00
Tor Lillqvist
7df04586e9 No need to link explicitly with the objc library 2011-08-03 17:44:04 +03:00
Miklos Vajna
735dea2d93 the old filter does not support parsing without a destination document 2011-08-03 16:36:13 +02:00
Tor Lillqvist
ab2c15bb4d Add statically linked basegfx cppunittester for iOS 2011-08-03 17:35:24 +03:00
Tor Lillqvist
208160fae6 Need to link with sal_textenc, too, now 2011-08-03 17:35:17 +03:00
Miklos Vajna
8560e419af RtfFilter::filter: always do an import, unless a source document is given 2011-08-03 16:27:13 +02:00
Joseph Powers
7835a60f6a Update list. 2011-08-03 06:54:30 -07:00
Joseph Powers
91049237ff unusedcode.easy: Removed some members. 2011-08-03 06:54:10 -07:00
Joseph Powers
b0d68ad8bb Anything to do with position in MenuItemList should be size_t
The old code was mixing sal_uInt16 & sal_uLong all over the place. Plus,
MenuItemList is now a std::vector<> which uses size_t as index variables.
2011-08-03 06:28:09 -07:00
Caolán McNamara
086a0140f6 callcatcher: remove unused methods 2011-08-03 13:30:49 +01:00
Caolán McNamara
e6c3cc8ade Revert adding -mno-avx to CXXFLAGS, not universally supported
This reverts commit bf85809783ba11c9018c03f5a26508fa856ff3f8.
2011-08-03 12:25:35 +01:00
Robert Nagy
a3b17c3390 Revert "fix: qnametostr is no cxx file"
This reverts commit f526eddfa4feaf02461b3f218eeed36e9004f948.
2011-08-03 13:25:20 +02:00
Tomáš Chvátal
ce5469751c Fix segmentation fault when linking -mavx on new CPUs is enabled by explicitly adding -mno-avx to CXXFLAGS. 2011-08-03 12:09:50 +01:00
Caolán McNamara
4c3f33d8d5 callcatcher: remove unused methods 2011-08-03 10:47:36 +01:00
Caolán McNamara
4022e4ac05 throw out some more 2011-08-03 10:47:13 +01:00
Caolán McNamara
d66a06ce6a Related: #i38880# crash in new field code 2011-08-03 10:35:38 +01:00
Caolán McNamara
e1e44f2152 get this working under windows again 2011-08-03 10:34:32 +01:00
Caolán McNamara
099c2bbbec get this working under windows again 2011-08-03 10:34:32 +01:00
Caolán McNamara
72ae518285 make exception useful, state *what* url is invalid 2011-08-03 10:34:32 +01:00