summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)Author
2015-02-27initialize pActionAttrTokenMapCaolán McNamara
Change-Id: I3d68ec1c7c43773c05344e88cc4eec8edbd4108b
2015-02-27tdf#46343: Add the tensor product operator to "Elements Dock"Takeshi Abe
This is not exactly what the reporter of the issue requested because this is for "Elements Dock", not for "Elements". However, according to tdf#68871, Elements Dock would be the desired place to be improved. Change-Id: I6806d33f1ea89c7fe7565753f000f7bf747552a5 Reviewed-on: https://gerrit.libreoffice.org/14652 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-27starmath: render the selected subexpression of MathML's <maction>Takeshi Abe
... specified by the selection attribute. For its expected behavior, see the section <maction> in MathML 1.01: <http://www.w3.org/TR/REC-MathML/chap3_6.html#sec3.6.1> Change-Id: I70c1b2cfe1afec730f3e67ba0938bbaf8ada8e23 Reviewed-on: https://gerrit.libreoffice.org/14600 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-26starmath: drop a lurking space in the tooltipTakeshi Abe
Change-Id: I1fb80f10098eee414514e95ddd069d772beadca1 Reviewed-on: https://gerrit.libreoffice.org/14651 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-21Typos: caculate->calculate + acceses->accessesJulien Nabet
Change-Id: Id2b645829ceb9affc76483a651fe6830a9f01cda
2015-02-21Various typosJulien Nabet
Change-Id: I61d6a92e5301e07c9180d94dafec23ef1a06e0ef
2015-02-21Typo: gramar->grammarJulien Nabet
Change-Id: I4a8245a2b0f4e073240d8b62f16bf92cc8d39573
2015-02-19starmath: prefer exact types such as size_t and sal_uInt16 to sal_uLongTakeshi Abe
Change-Id: Idb8e8ab8f73248021b9aa13efa04e77d9e331475 Reviewed-on: https://gerrit.libreoffice.org/14530 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-15boost::scoped_array->std::vectorCaolán McNamara
Change-Id: I21aa10e1b4b0aa301f8b3022585e148fb727fbc9
2015-02-14boost::scoped_ptr->std::unique_ptrCaolán McNamara
Change-Id: I0f9d93e945ec554e9ea89621ecd30f683f3f184c
2015-02-12Math: Make use of officecfg API and remove unneeded codeMarcos Paulo de Souza
Change-Id: I8b747588ebde70e322b8e6719fb7e2cf789e8a99 Reviewed-on: https://gerrit.libreoffice.org/14347 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-11coverity#1267649 Logically dead codeCaolán McNamara
and coverity#1267645 Logically dead code coverity#1267651 Logically dead code Change-Id: If92e17708576bf11cefc28f903a24ad271b826c8
2015-02-09Mark it as staticTakeshi Abe
Change-Id: I3193c5b7181f61a9047985f115d2ea49c683cb73
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I74b07d7e6f38753dfba3d4c89ee6f7f106b2e564
2015-02-06coverity#1267644 Logically dead codeCaolán McNamara
Change-Id: Ida19552cd9163507bea36a189811fdf8c152cae6
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03starmath: Refactor common code inside cfgitemMarcos Paulo de Souza
using initializer_lists with Sequences Change-Id: Ic6177f99b6c083710135348039958d72a6faf327 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-27Fix a single quote slipped inTakeshi Abe
See void SmNodeToTextVisitor::Visit( SmFontNode* pNode ) for comparison. Change-Id: Id7e58fef3b715ef2a4bcb4e1a1d390aadf917b5f Reviewed-on: https://gerrit.libreoffice.org/14193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-26fix coverity#1266487Caolán McNamara
Change-Id: I414dae9b5de83d0e0f9c3195262995cf0f4fd3e2
2015-01-26coverity#1266461 Improper use of negative valueCaolán McNamara
Change-Id: I4f78617129de21f7088d6f0d8b781674faa6b45a
2015-01-26coverity#1266487 Use of untrusted scalar valueCaolán McNamara
Change-Id: I6de5b1e4d363063ec5d9e471c40cf1f943468634
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-24Typo: syncro->synchroJulien Nabet
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-21Some more loplugin:cstylecast: starmathStephan Bergmann
Change-Id: I0d1c743343d8f84c0491957ad43d8b16d9490622
2015-01-17Drop unused inline functionsTakeshi Abe
Change-Id: Iba54fb717b4337ffe255d849a1c073f7baf7c921
2015-01-15remove unnecessary castsNoel Grandin
leftovers from conversion of SvStream operator>> to Write methods Change-Id: Id1d1e60ae42afb689910845a3c6ec75e3388fb56
2015-01-15protected -> privateTakeshi Abe
Change-Id: I199f4cd8897e3fa7b794f3d6d96077e98ccff51e
2015-01-15no need to compare it with trueTakeshi Abe
Change-Id: I9c825663508abdc7efa9cf2801770acc2b79174a
2015-01-13fdo#70185: starmath: unit test writingTakeshi Abe
This adds a unit test of importing a simple MathML file. New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on visibility of symbols required from a CppunitTest. Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a Reviewed-on: https://gerrit.libreoffice.org/13861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06fdo#84938: convert EXPORT_ #defines to 'enum class'Noel Grandin
Change-Id: I2ed239fa073b5fa8fb56c1af9d4b0bac89acfacf
2015-01-06fdo#84938: convert IMPORT_ constants to 'enum class'Noel Grandin
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-03drop unused includesTakeshi Abe
Change-Id: I6652b45a6010a05b59c1f87faaf7c06318f91fc1
2015-01-01starmath: boost::shared_ptr to std::shared_ptrTakeshi Abe
Change-Id: Id077493f9e462a00c427bc493f823fed79617c07
2014-12-30drop an unused defineTakeshi Abe
Change-Id: I8d34dd364de81c7adeddfd3a8ff0fb8c8b08a5d4
2014-12-28kill unused CMD_SID_* definesTakeshi Abe
Change-Id: If263d1e8f5852c03d57c3378084570cfcbb134ce
2014-12-23fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I404f121ee2e5020359a662f54ffe341f466cd1d5 Reviewed-on: https://gerrit.libreoffice.org/13608 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-22prefer constant to macroTakeshi Abe
Change-Id: I5e629491b5be9e2de1f72fdbe6887038305d0742
2014-12-18starmath: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I474eef1f76e171c5a016dd0b1fe225dcaeeb0eda
2014-12-17RID_CMDBOXWINDOW is so hacky and src entry so small just hardcode in cxxCaolán McNamara
Change-Id: I63e97e91792fcf2bf8758a1444bb29e3c1ccd541
2014-12-17try to get reasonable sizes for docking windowsCaolán McNamara
start docked, move to undocked start undocked, move to dock, back to undocked start undocked, with and without size saved in settings and restored Change-Id: I0bfdceb11aabdf9fdb855b97433b2af0532e4d03
2014-12-17implement loading docking windows from .ui formatCaolán McNamara
Change-Id: I90375232aefbe40412614ca0f30ba467cf393f2e