summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)AuthorFilesLines
2013-07-16fix problem caused by confusing immutability OUString semantics againLuboš Luňák1-1/+1
Change-Id: I9207ec3309b9970afd5c56718829836eead4592b
2013-07-16String.AppendAscii() cleanup in mathRicardo Montania9-240/+235
Change-Id: I567e1a80ab75d6ebdaba52cb9afd47dbd52f39ce Reviewed-on: https://gerrit.libreoffice.org/4933 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-15callcatcher: update unused codeCaolán McNamara2-11/+1
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke1-1/+1
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12Resolves: fdo#66675 set alerts to non resizableCaolán McNamara1-0/+1
GNOME HIG states that "Alert windows are not resizable" so consistent with that. Change-Id: I44240f2202fafca2e6a0502e09f22683bbea4c50
2013-07-09ditch last XubString in starmathCaolán McNamara1-4/+1
Change-Id: I5092bad1d56ecb302fff611546196a8ab439b52b
2013-07-09 fdo#66277 - fix alignment for binom and stack too.Frédéric Wang1-11/+23
Change-Id: Id4c104bb22cb7fc3c4811b3ea417229af01de02b Reviewed-on: https://gerrit.libreoffice.org/4752 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-09 Tests for fdo#55853, i#11752, fdo#66081Frédéric Wang1-0/+42
Change-Id: Ifb1fc23c416f47c6618e7ef22a53b1744ff0e2bc Reviewed-on: https://gerrit.libreoffice.org/4748 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann1-2/+2
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-08Robustify MathType::HandleRecords.Mark Wielaard1-0/+1
Initialize nTag to zero before reading from the stream. In case the stream is faulty. That will make nRecord equal to END so we drop out of the do while loop and don't use unitialized variables. Change-Id: Iad135e8d7f53c41cf8a764e5c7ab0f0cc5ffc6f0 Reviewed-on: https://gerrit.libreoffice.org/4759 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud1-1/+1
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-05Solve one more issue of fdo#59642Marcos Paulo de Souza1-18/+24
The old MathML XML style could begin just with <math. So this commit fixes that. This commits also fixes some documents that have the BOM marker at begin of file. Thanks a lot to Bjoern, Caolan and Eike! Change-Id: Ia2c3b51556e615c1e68e5e8aab4f883124c6adca Reviewed-on: https://gerrit.libreoffice.org/4742 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-05cleanup src filesThomas Arnhold2-43/+0
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-04fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang2-3/+7
Change-Id: I6833140aaf3fcfc47b81f7d324af88843de00834
2013-07-04 fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang2-3/+8
Change-Id: I6c66864381a6a5b7415e9fae682e50865b3f76db Reviewed-on: https://gerrit.libreoffice.org/4712 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-03Bail early the same way as in 709f6ba6aFridrich Štrba1-0/+7
Change-Id: I8447d776ba315db5ef961818bc577d13e4f35a20
2013-07-03don't need an explicit help handler, the default will be fineCaolán McNamara4-30/+12
Change-Id: I61643e507a68e66e1798c2d21a3f9372027fda1a
2013-07-03fonttypedialog.ui widgetManal Alhassoun8-259/+586
Change-Id: I4aac9046a004d84cd47d563aee8b7338e0d17896 Reviewed-on: https://gerrit.libreoffice.org/4697 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-03 fdo#66281 - followup: fix a comment for overbrace.Frédéric Wang1-3/+11
Change-Id: Ia88a1585a6ade94b1ecc95bf4b3d0a38881b71dd Reviewed-on: https://gerrit.libreoffice.org/4699 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-03 fdo#66282 - MathML export: improve ExportBraceFrédéric Wang1-27/+29
Change-Id: If15038f8942c649703659e05868162c31785c762 Reviewed-on: https://gerrit.libreoffice.org/4632 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-02 fdo#66283 - MathML export: remove useless mrow/mstyle with font commandsFrédéric Wang2-15/+14
Change-Id: I57870a22ef915950fe177dcb75ab31a25f2520c8 Reviewed-on: https://gerrit.libreoffice.org/4634 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-07-02 fdo#66088 - follow-up: handle NGLYPHSPECIAL and NSPECIAL too.Frédéric Wang1-3/+3
Change-Id: Ifc078732e28e9bdaa796c5be3c08c20f9512926e Reviewed-on: https://gerrit.libreoffice.org/4631 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02 fdo#66281 - make underbrace/overbrace stretchy in MathML exportFrédéric Wang1-4/+4
Change-Id: I63608cc4b56f6baa4101020c12c1384a828ce0d2 Reviewed-on: https://gerrit.libreoffice.org/4629 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02 fdo#66416 - Use appropriate unicode characters for math "Brackets"Frédéric Wang6-23/+31
Change-Id: I43d74c92f0de65f9456f5cd8ae150466b6a43717 Reviewed-on: https://gerrit.libreoffice.org/4661 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-02 fdo#66276 - MathML export: avoid using combining characters.Frédéric Wang3-13/+32
Change-Id: I68cf5aaeb5b13adda76953636b0d3225fff4030c Reviewed-on: https://gerrit.libreoffice.org/4630 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-01 #fdo66277 - Add support for alignment in MathML export.Frédéric Wang1-2/+40
Change-Id: I78352ff93da5b4e912040c4019fcea924f7b0c20 Reviewed-on: https://gerrit.libreoffice.org/4625 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01 fdo#66278 - MathML export: distinguish inline/display equations.Frédéric Wang1-8/+16
Change-Id: Ia764c2fd64ab772342ce86f67ee290ab38dc4a83 Reviewed-on: https://gerrit.libreoffice.org/4607 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-06-30misc minor tweaks to messagedialogsCaolán McNamara1-1/+1
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-28 fdo#66088 Export some math symbols as <mi> elements.Frédéric Wang9-21/+64
Change-Id: Ib08717c3d4d41abc7bce4cd6bc2e63bda7db6086 Reviewed-on: https://gerrit.libreoffice.org/4595 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28 fdo#66081 - reduce the number of nested <mrow>'s in MathMLFrédéric Wang2-5/+43
Change-Id: I768db4719119e53961c9cfa6a864daad7f1f7873 Reviewed-on: https://gerrit.libreoffice.org/4520 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#55853 - improve parsing of concatenated numbers and identifiers.Frédéric Wang2-39/+91
Change-Id: Ic1cce4cec27f4ca5c3be1daf50888bef788cd6f7 Reviewed-on: https://gerrit.libreoffice.org/4494 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Remove unused String::Copy in Math (try to fix fdo#36634)Frédéric Wang1-29/+23
Change-Id: I4a5618a7ef17a74edd036c34d748715d186f6528 Reviewed-on: https://gerrit.libreoffice.org/4457 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#66075 - Formula editor: export blanks as MathML <mspace> elements.Frédéric Wang2-3/+18
Change-Id: I5cc0ed9a1273b5fb59d5dbaf63a382c844820ff9 Reviewed-on: https://gerrit.libreoffice.org/4454 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#66086 - MathML export: wideslash, widebslash and overstrikeFrédéric Wang4-1/+91
Change-Id: I1e8da340ffdacab133b0cff6d6344fe56da34bf8 Reviewed-on: https://gerrit.libreoffice.org/4465 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#66024 - Formula Editor: make wide accents stretchy when exported to MathMLFrédéric Wang4-4/+19
Change-Id: Ifd0adc51d79e0673661b5646d27f657768ea5b20 Reviewed-on: https://gerrit.libreoffice.org/4450 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27must call FreeResource in old-resource-using dialogs/panelsCaolán McNamara1-0/+2
Change-Id: I756ac431dfcd6a4d6a365fc38b465f4b588ddd79
2013-06-27pClipEvtLstnr unused and xClipEvtLstnr always emptyCaolán McNamara2-4/+1
Change-Id: Ifc883acd91108981a190f35b19648ec3a747db7b
2013-06-27valgrind: bInsertIntoEditWindow uninitializedCaolán McNamara1-0/+1
Change-Id: I3da23e991a70e12bdfefeda5f5e7669ab111cfb4
2013-06-26Fix fdo#43090: Auto Closing of bracketsMarcos Paulo de Souza1-0/+21
Check if we hit the left bracket, left parenthesis or left braces, insert the right close character and set the current position to center the characters. Change-Id: If1ee8a00799ef0933d5dfd51c32f669a2a27b2a7 Reviewed-on: https://gerrit.libreoffice.org/4374 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-06-22fdo#65370 Dock ElementsDockingWindow to left at initial use and redrawTomaž Vajngerl1-3/+5
Change-Id: I0a7648569541667bba80cffde978558a9206c089
2013-06-20Fix fdo#59641 - Duplication in formula when import mathmlMarcos Paulo de Souza2-5/+1
Remove wrong concatenation of text from EditView in SmXMLImport::endDocument, and use just the text extracted from formula. After the SmXMLImport::endDocument method, we compare the text from doc(extracted from formula) and from editview(text inserted before call the importer) and as they're different, the text from formula will be inserted in the current edit cursor position. Also, remove bogus pDocShell->SetText( String() ), as we will set the text some lines below. Change-Id: Ia317a23d27964a9d1264dcaf9ec0d38b8c586655 Reviewed-on: https://gerrit.libreoffice.org/4369 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-19don't need explicit help handlers anymoreCaolán McNamara3-16/+0
Change-Id: I5333ff8c4e50cbc4374b937bc8d7617c3b99ee97
2013-06-19add a sizegroup and alignment to line up widgetsCaolán McNamara1-43/+53
Change-Id: I7db65ae46cd4fe5c36cdfda172adcb139b5ca4e0
2013-06-19fontsizedialog.ui widgetManal Alhassoun6-231/+399
Change-Id: I1c91b4c621c5a2da11cebdd8e58a5e5d0d86bf6c
2013-06-18even out the rowsCaolán McNamara1-0/+1
Change-Id: I37d2d5a1d174a951c45f7f51d909535dacc2b7d0
2013-06-18a few HIG tweaksCaolán McNamara1-1/+4
Change-Id: I063c5fac1727ea7ba2bf5c8054d425af4598395c
2013-06-18convert starmath settings option page to .ui formatFaisal M. Al-Otaibi7-172/+334
Change-Id: I908a29713ca1e01ec3e742193bd4b49e1fa97bc9
2013-06-18String to OUString (SfxStringItem and related)Matteo Casalin1-3/+2
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa Reviewed-on: https://gerrit.libreoffice.org/4280 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17fdo#43460 startmath,codemaker: use isEmpty()Jelle van der Waa1-1/+1
Change-Id: I55d3f4546f40a321ebf4b08db33536592f451944 Reviewed-on: https://gerrit.libreoffice.org/4318 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17Remove useless attributions in starmathMarcos Paulo de Souza1-29/+0
These values are initialized as 0 in the constructor(see starmath/source/parse.cxx). Change-Id: I68508f7f7132a2f43b99da3e7cdef9709fd62598 Reviewed-on: https://gerrit.libreoffice.org/4282 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>