Commit graph

1755 commits

Author SHA1 Message Date
Eike Rathke
cabf25372c old class Stack pop'ed 0 from empty stack, which std::stack doesn't
Some places in the code assumed that if the stack is empty a null pointer is
returned by top() (or old Pop()), this doesn't work anymore with ::std::stack
that instead has undefined behavior in that case, so check !stack.empty()
first before accessing top.
(cherry picked from commit ac40f7d650)
2011-12-07 17:27:31 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Luboš Luňák
7be8bac42a make the linear xml processing API more generic
I'm pretty sure I'll love to use it in writerfilter instead of the normal
API whenever I get the chance.
2011-12-07 14:47:11 +01:00
Luboš Luňák
1e4fb45c03 disable error logs for now, until the new log macros get sorted out 2011-12-07 14:47:11 +01:00
Luboš Luňák
efe72126d9 merge two duplicates of a function 2011-12-07 14:47:10 +01:00
Luboš Luňák
5799813f5b properly xml-escape written text in docx formula 2011-12-07 14:47:10 +01:00
Stephan Bergmann
b419bb21a7 Looks like the old stack implementation returned 0 on empty stack Pop(). 2011-12-07 00:25:55 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Marcel Metz
f5b63844cc Replace SmNodeStack with std::stack< SmNode* > 2011-12-05 22:53:17 +01:00
Ivan Timofeev
68c1f75796 visual formula editor: implement selection by mouse 2011-12-04 19:24:58 +04:00
Ivan Timofeev
558b5ea32a visual formula editor: copy/cut/paste for any keyboard layout 2011-12-04 19:24:58 +04:00
Ivan Timofeev
5a22774509 visual formula editor: place cursor on numerator when creating empty fraction 2011-12-04 19:24:57 +04:00
Ivan Timofeev
8fb78b1221 visual formula editor: optimize some buildings a bit 2011-12-04 19:24:57 +04:00
Michael Stahl
db74fdf534 sfx2::DocumentInserter: remove nFlags ctor param 2011-12-03 00:48:13 +01:00
Ivan Timofeev
c1baeb25ad visual formula editor: fix insertion of symbols from catalog 2011-12-02 20:56:21 +04:00
Ivan Timofeev
2292904f85 visual formula editor: fix insertion of "-" 2011-12-02 17:23:02 +04:00
Luboš Luňák
d5effb40f2 create placeholders properly in docx mathml import 2011-11-30 16:11:46 +01:00
Luboš Luňák
baaf0aa029 do not add unnecessary spaces in docx mathml import 2011-11-30 16:11:46 +01:00
Luboš Luňák
f606abf36b try with at least somewhat more generic handling of docx m:groupChr 2011-11-30 16:11:46 +01:00
Luboš Luňák
0ca8b2c700 do not ignore docx m:box contents (but m:box itself is not implemented) 2011-11-30 16:11:45 +01:00
Luboš Luňák
03f950d64f import docx m:limUpp/m:limLow properly 2011-11-30 16:11:45 +01:00
Luboš Luňák
c56e4ab667 export all sub/superscripts LO can handle to docx mathml 2011-11-30 16:11:45 +01:00
Luboš Luňák
53c9a92cc8 fix writing of docx m:sPre 2011-11-30 16:11:45 +01:00
Luboš Luňák
cb0965a860 import docx m:sPre, m:sSub, m:sSubSup and m:Sup 2011-11-30 16:11:44 +01:00
Luboš Luňák
e6ba4a206f helper for reading docx OMathArg 2011-11-30 16:11:44 +01:00
Luboš Luňák
9414d02629 implement docx m:rad 2011-11-30 16:11:44 +01:00
Luboš Luňák
f28c6c55ad warn about unknown m:chr in m:acc 2011-11-30 16:11:43 +01:00
Luboš Luňák
8168d6d3df implement sum properly in docx mathml 2011-11-30 16:11:43 +01:00
Luboš Luňák
500b6af777 implement docx m:nary 2011-11-30 16:11:43 +01:00
Luboš Luňák
a115442064 import docx m:m 2011-11-29 21:20:29 +01:00
Luboš Luňák
82c78e8790 finish reading in while() also when end of stream, just in case 2011-11-29 21:20:29 +01:00
Luboš Luňák
ad1a6c6d50 improve import of docx m:d 2011-11-29 21:20:29 +01:00
Luboš Luňák
d193f127db docx OMathArg can actually be more than one element 2011-11-29 21:20:29 +01:00
Luboš Luňák
dff36f4c4c docx m:r can contain multiple m:t 2011-11-29 21:20:28 +01:00
Luboš Luňák
34e2e7dd84 implement docx m:groupChr 2011-11-29 21:20:28 +01:00
Luboš Luňák
6e91e7d4e7 implement m:func, m:limLow, m:limUpp 2011-11-29 21:20:28 +01:00
Luboš Luňák
49987bbb47 fix reading when the next tag can be one of several 2011-11-29 21:20:28 +01:00
Luboš Luňák
eb31865c85 merge processing of OMathArg and OMath, for now 2011-11-29 21:20:27 +01:00
Luboš Luňák
09f94dc9d8 m:f docx import is reasonably done 2011-11-29 21:20:26 +01:00
Luboš Luňák
020eddb20a try to avoid unnecessary space in created formula 2011-11-29 21:20:26 +01:00
Luboš Luňák
7bdccfdc1d implement import of docx mathml m:d 2011-11-29 21:20:25 +01:00
Luboš Luňák
86927dd6e8 static const 2011-11-29 21:20:23 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Luboš Luňák
a4f73a0ba4 remove executable bit from source files 2011-11-29 13:27:43 +01:00
Luboš Luňák
34a98b79da set properly initial size of starmath component when importing docx 2011-11-29 13:27:43 +01:00
Luboš Luňák
f034c452c5 simplify attribute retrieval syntax a bit 2011-11-29 13:27:42 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
3d6592ae19 remove include o pch header from starmath 2011-11-27 13:23:17 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00