summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)Author
2013-08-12convert vcl/font.hxx from String to OUStringNoel Grandin
Change-Id: I3df88f26516296ca8f4e81576e86372c8b499a84
2013-08-11String->OUStringIvan Timofeev
Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
2013-08-08Extension to fix all cases of fdo#32059: Commands merge with variablesMichael Duelli
Change 467d5e0a2e074ff2afb4d1b1a37cff2094b0895b fixed insertions of space in front of commands for Elements dialog only. This change also fixes insertion via Elements dock. Change-Id: I37f8510bc4a6dc0145026ca04fbb0443e1e31cd0 Reviewed-on: https://gerrit.libreoffice.org/5225 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-02fdo#67470 Element Dock: Subset icon missing in Set Operation sectionJoren De Cuyper
RID_XSUPSETY wasn't just listed, RID_XSUPSETEQY (notice the Q) was. Adding it adds it to the dock. Change-Id: I4c621aab74b424aacd5421ed90f35b42ae6e0a14
2013-07-29Fix i#84002 by putting braces when neededMarcos Paulo de Souza
In the case of sqrt with more than 2 operands, like over, we need to put braces in the beginning and in the end of the element. Change-Id: I391db14cd2ddc37695fe0b1f590a89b9dd4369ef Reviewed-on: https://gerrit.libreoffice.org/5153 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-26convert GetSelectEntry family to OUStringCaolán McNamara
Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
2013-07-25minor updatesCsikós Tamás
alignmentdialog.ui - The default button's text was aligned to the right mvtabdlg.cc - the warning text doesn't occupy the space, when there is no warning movecopysheet.ui - top alignment set to 6, radiobuttons aligned horizontally Change-Id: I5c3fbc512292917a2f4297e164fce73c56a124f3 Reviewed-on: https://gerrit.libreoffice.org/5110 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-25have my own stab at fixing the leaking SmDocShellCaolán McNamara
i.e. alternatives to 5dd1cd72f45df0ec13842d4ee9c849726cb74ea9 ef66cc105e0051fa1414b72c5ee2bf1b2f9331cb f9e981ba0e2da6ce122e3ef30aef057c439c8fb8 d3cf684146162a1528046ab2bcd7d9fa94443c69 Change-Id: Ib094f5ac1455a9770c99aeac5eb1af118bdab829
2013-07-25Revert "Fix memory leak in Math, by holding SmModel pointer"Fridrich Strba
Breaks unit tests of rtf import This reverts commit ef66cc105e0051fa1414b72c5ee2bf1b2f9331cb Change-Id: I95c13fc2bc3f9494a33153c62a7d52eb6f8efdd9 Reviewed-on: https://gerrit.libreoffice.org/5095 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-25Fix memory leak in Math, by holding SmModel pointerMarcos Paulo de Souza
And deleting this in destructor of SmDocShell Change-Id: Ida96648c7aae90fb5b0afac916587bbb049f90b3 Reviewed-on: https://gerrit.libreoffice.org/5088 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fdo#43090: Improvement: Just auto close when found placeholderMarcos Paulo de Souza
Another verification needs to be done, auto close when it's in the end of line. Change-Id: I675ac6b6a0477fc9b5747860df8dff2866189433 Reviewed-on: https://gerrit.libreoffice.org/5008 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Change function to void, nobody checks the returned dataMarcos Paulo de Souza
Change-Id: I9ef7eb7a9c32153f0a886479f65678907969adc5 Reviewed-on: https://gerrit.libreoffice.org/5000 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-22Revert "Math: Fix memory leak with SmDocShell"Fridrich Strba
It breaks "make check" This reverts commit d3cf684146162a1528046ab2bcd7d9fa94443c69 Change-Id: Iae8ef2a49a395e885aa8ab3658244836c9ce71c5 Reviewed-on: https://gerrit.libreoffice.org/5021 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Math: Fix memory leak with SmDocShellMarcos Paulo de Souza
Change-Id: Ife984f60344fe41501c9e17b10dab256e14fe9e6 Reviewed-on: https://gerrit.libreoffice.org/5017 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-16fix problem caused by confusing immutability OUString semantics againLuboš Luňák
Change-Id: I9207ec3309b9970afd5c56718829836eead4592b
2013-07-16String.AppendAscii() cleanup in mathRicardo Montania
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 McNamara
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
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 McNamara
GNOME HIG states that "Alert windows are not resizable" so consistent with that. Change-Id: I44240f2202fafca2e6a0502e09f22683bbea4c50
2013-07-09ditch last XubString in starmathCaolán McNamara
Change-Id: I5092bad1d56ecb302fff611546196a8ab439b52b
2013-07-09 fdo#66277 - fix alignment for binom and stack too.Frédéric Wang
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 Wang
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 Bergmann
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-08Robustify MathType::HandleRecords.Mark Wielaard
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 Thiebaud
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 Souza
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 Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-04fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang
Change-Id: I6833140aaf3fcfc47b81f7d324af88843de00834
2013-07-04 fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang
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 Štrba
Change-Id: I8447d776ba315db5ef961818bc577d13e4f35a20
2013-07-03don't need an explicit help handler, the default will be fineCaolán McNamara
Change-Id: I61643e507a68e66e1798c2d21a3f9372027fda1a
2013-07-03fonttypedialog.ui widgetManal Alhassoun
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 McNamara
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-28 fdo#66088 Export some math symbols as <mi> elements.Frédéric Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 Wang
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 McNamara
Change-Id: I756ac431dfcd6a4d6a365fc38b465f4b588ddd79