summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)Author
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
2014-12-16Omit unused default valueTakeshi Abe
Change-Id: I2b703312ddff29772b31cf74ab6408dbbe90a5db
2014-12-15starmath: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: Iff85fd325211708591c289d083cf3d0ee4269634
2014-12-11Remove resizable:False property from dialogs containing GtkEntry.Jan Holesovsky
As agreed with Adolfo (and others) at the Design hangout on 2014-12-10. Change-Id: Ibe0e8075566523e746866b9d2c15c348c345d2df
2014-12-10Typo: postion(s)=>position(s)Julien Nabet
Change-Id: Id2957f1cb68fc4b2fef9966abeb6745b548bcb75
2014-12-09changed timers to idlesTobias Madl
Change-Id: Ic0d7730f7880dfe2e83c84e773b8cc420249b269
2014-12-09capitalize Infinite tooltip in Elements panel of MathStanislav Horacek
Change-Id: I6bb19e199c1014536e967d427b966afd8ecd0302 Reviewed-on: https://gerrit.libreoffice.org/13345 Reviewed-by: Wesley J. Landaker <wjl@icecavern.net> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-04-Wunused-macrosTakeshi Abe
Change-Id: I40aa11584b76ea2e3d4e0d13690893e340229172
2014-12-03loplugin: cstylecastNoel Grandin
Change-Id: I759f55218538c8d39018626f14e78cd56341d44b
2014-12-01fix the order of arguments: expected and actualTakeshi Abe
Change-Id: Ie7c1dce636df2891f1888aa95cec6d37ed0380b4
2014-11-28recycle SmVisitorTest for unit testTakeshi Abe
i.e. move unused SmVisitorTest to qa/ as MockVisitor, and call it in existing test cases. Change-Id: I20dc45537f7a0e325e952724607e695f3b3da21f Reviewed-on: https://gerrit.libreoffice.org/13165 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-26Correct and reenable SmNodeToTextVisitor's test for RSUPTakeshi Abe
See 44a3a345ac2b9901122a9eac70538ef04417bbd4 about why ^ is chosen. Change-Id: I05cda4d69eaa1757a95c06c199e09d9c67f47832 Reviewed-on: https://gerrit.libreoffice.org/13037 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-26fdo#70185: Correct and reenable SmNodeToTextVisitor's test caseTakeshi Abe
This fixes the order of handling csub/csup changed at 80de3c0fe6b191f6d528ae1142737e2561b12ccd. Change-Id: I1b5ad39b367e1933f8a17ce8126feed4d996f662 Reviewed-on: https://gerrit.libreoffice.org/13086 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-25Remove ptr_deque.hpp header include from vcl/outdev.hxx.Kohei Yoshida
This header is also a very high impact header. Change-Id: Iab63f2ec2edebc14b47820c6377a7f83131cfd06
2014-11-25all these ids and their associated resources were unnecessaryCaolán McNamara
Change-Id: I3f538668c9c5f1727b8cf49ab72fd5879e12f156
2014-11-25We now only need one bit of information hereCaolán McNamara
whether there *is* an id, or whether there is not an id. An id of 0 seems to be used as a flag that an interface is some sort of superclass which can be subclassed by something else and have its toolbars etc reused. Convert this to a bool so we don't need an a resource id for each one and just drop the third arg for the normal "final" case and use a different define for the inheritable case Change-Id: I98380f03d73d57bf8cba02d339097e384518abaa
2014-11-24these were just ids, shouldn't be backed by actual string resourcesCaolán McNamara
Change-Id: I639fafce2c4aa919b7f1f6c993dabecf16d312da
2014-11-24so these ResIds are only being used for the numerical valueCaolán McNamara
Change-Id: I21c67b56424de59d7231f8420055775cd5f67aae
2014-11-23fix typo in color nameStanislav Horacek
Change-Id: I9dbd6a59b4c0f28d7d5e98767911873135c295ec Reviewed-on: https://gerrit.libreoffice.org/13070 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-11-21Use boost::signal in SmElementsControlMarcos Paulo de Souza
Change-Id: Icb19466db6720350e105b75cb1c0c858f39403ef Reviewed-on: https://gerrit.libreoffice.org/12509 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-11-20fix memory leaks caused with SmNodeStackTakeshi Abe
SmNodeStack now frees its own pointers after use. Change-Id: Ie43eb887810a3424109708c956ccbdf97fc5a2e5 Reviewed-on: https://gerrit.libreoffice.org/12970 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-17"#pragma hdrstop" looks quite obsoleteMichael Stahl
Change-Id: Id4b01f02d5d90215164c07b8076498df65978fa3
2014-11-17assert that no other types than TGOPER can happen in SmParser::Oper()Takeshi Abe
TOVERBRACE/TUNDERBRACE belongs to TGPRODUCT. Change-Id: I34b23858fb70f38ffd82e373e16ab68632d6e303 Reviewed-on: https://gerrit.libreoffice.org/12508 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-16Mark as noncopyableTakeshi Abe
Change-Id: Ibbec7a5d9b6726865da14c9bdfad8b8118f85e5b
2014-11-15Math: Remove aqua and fuchsia from the Elements DockMarcos Paulo de Souza
We can remove these colors from the UI because these colors are equal to cyan and magenta, and will be useful just in the import/exports filters. If the user still wants to use aqua and fuchsia, they can type them in the Math editor. Change-Id: Ia93d458e07b218aa007ec43bd490f774e5b4ea5b Reviewed-on: https://gerrit.libreoffice.org/12467 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-11-16Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I06525aa32bc17464291126ed676809e23e4227b1