summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)Author
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10starmath: Assert FindIndex()'s preconditionTakeshi Abe
by using std::assert rather thatn DBG_ASSERT. Change-Id: I8fca2b82f8d86a843c024556a0a29c7848b1e602 Reviewed-on: https://gerrit.libreoffice.org/19294 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10tdf#43090: Add option to disable auto close bracketsMarcos Paulo de Souza
As many users asked, now there is a checkbox inside Tools->Math called "Auto close brackets, parentheses and braces". This option is enabled by default, but can be turned off now. Change-Id: I6f96201c0720fb62fc2dce99222f97194e930fbe Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/19750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
2015-11-09starmath: replace boost::ptr_deque with std::deque<std::unique_ptr>Michael Stahl
Change-Id: I1d2671a0b355bd4dbb195d69af2c432c50df904e
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: Id5b78aa78fc585a67712fa44329479a86230d194
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-29com::sun::star->css in starmath,stoc,svgio,svlNoel Grandin
Change-Id: If4308b358a55351f6e951ebf055df076ce4ad4ce Reviewed-on: https://gerrit.libreoffice.org/19667 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Ib596b759e876a4a7d341e1b476bfec9f7a54069e
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I7a836a62f5614415e7aa982133ef7b34262e0bf9
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15tdf#73691 - add alt-x support to mathJustin Luth
At the request of bug tdf#94957, adding unicode conversion shortcut (alt+x) to Math also. Change-Id: I5b4d17543a819f035ade0d9a516eeef8542a286e Reviewed-on: https://gerrit.libreoffice.org/19323 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-15convert Link<> to typedNoel Grandin
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14Fix gb_Library_use_externals callStephan Bergmann
...from d8f46f854ee64ad9fe6356a8d4b30f98f3b20135 "enable ICU_HEADER includes for starmath" Change-Id: Idcafaeb6a43c4aa423a2c7a7ea4669d4fdaf3744
2015-10-13enable ICU_HEADER includes for starmathJustin Luth
Although $include <i18nutils/unicode.hxx> compiles on Linux, it doesn't compile on the Mac without this. Change-Id: I56eae77b1c293b2348ca1fd7b38b543ea713557d Reviewed-on: https://gerrit.libreoffice.org/19355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09starmath: Prefix members of SmNodeTakeshi Abe
Change-Id: I2658b8fc9d36fe92dd91e0f5adc27612ce1dc438 Reviewed-on: https://gerrit.libreoffice.org/19268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-08starmath: Represent ownership by std::unique_ptrTakeshi Abe
Change-Id: I7ce39cbdc0199d3508e7d16d1ce0b78f8d8ca620 Reviewed-on: https://gerrit.libreoffice.org/19230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07starmath: Prefix members of SmCursorTakeshi Abe
Change-Id: Ib3407b5457f4d69294c95879455553dc013cc340 Reviewed-on: https://gerrit.libreoffice.org/19186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-05starmath: Simply add elements to the end of the vectorTakeshi Abe
No logic changed. Change-Id: I5df80d6c31f1c103c49ac4310a7d06da57d1a05f Reviewed-on: https://gerrit.libreoffice.org/19142 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-05starmath: Kill c-style castTakeshi Abe
Change-Id: I6f65c2518b25fbe3a08070e81c33ce346ffb0801 Reviewed-on: https://gerrit.libreoffice.org/19117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-05starmath: Avoid unnecessary castTakeshi Abe
Change-Id: I18abd676b81c714e21ad83acbe4a4163fd5830fb Reviewed-on: https://gerrit.libreoffice.org/19116 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-02starmath: it is just a stack that is needed hereTakeshi Abe
Change-Id: I5b929a462f8084105ba6254e53e9d5bfa0a96c79 Reviewed-on: https://gerrit.libreoffice.org/19096 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-02starmath: SmAlignNode has only one childTakeshi Abe
So, do not bother to extend its children array. Change-Id: I9550501469aec5c4420f127ab64003c5ab14f9c1 Reviewed-on: https://gerrit.libreoffice.org/19089 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-02loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Ic3d2171521e308261c354d8f699b44b26c95f1ea Reviewed-on: https://gerrit.libreoffice.org/18978 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29starmath: ClaimPaternity() is only for SmStructureNodeTakeshi Abe
rather than SmNode. Change-Id: I2c4765500f077007979417b90f47cc22c6362491 Reviewed-on: https://gerrit.libreoffice.org/18917 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29starmath: tdf#93240 replace boost::ptr_vectorTakeshi Abe
with std::vector<std::unique_ptr> Change-Id: I72f96b08273c73cbd11c7796c34a45b262325209 Reviewed-on: https://gerrit.libreoffice.org/18820 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23starmath: Use member initialization lists for SmTokenTakeshi Abe
Change-Id: I3c5389135054ee866ebac3122edc71ec8c163124 Reviewed-on: https://gerrit.libreoffice.org/18785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23starmath: Prefix members of SmErrorDescTakeshi Abe
Change-Id: I4910561e3671f546f2e36344016e2b50fd2a70eb Reviewed-on: https://gerrit.libreoffice.org/18788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Idc8e9b0ad0032940b98357b07f3e6caf26c5c2d7
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: If9d4ec8d33719a76603a266c14990897fbbc11a7
2015-09-17Use member initialization lists for SmParserTakeshi Abe
Change-Id: I421794df067314dbfc56f8651be6225bbb9683e2 Reviewed-on: https://gerrit.libreoffice.org/18659 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-14Avoid getTokenCount in SmViewShell::DrawTextMatteo Casalin
Change-Id: I1a4ee666900c3c412777ea2e8c01a4f38dc58b3a
2015-09-14Avoid getTokenCount in SmViewShell::DrawTextLineMatteo Casalin
Change-Id: If2c059b1284257c73e64f30ffe845ee4d1ccc84d
2015-09-14Avoid getTokenCount in SmViewShell::GetTextSizeMatteo Casalin
Change-Id: Ic81b961ae2360ea3fe40c9e536a6f10a5788fe1a
2015-09-14String tokens do not include token separatorMatteo Casalin
Change-Id: I03ab73e5f53b2068efc3c4cdaed15f2ec3854c76
2015-09-14Avoid getTokenCount in SmViewShell::SetZoomFactorMatteo Casalin
Change-Id: Idb874a60868595ccc648da86c8bd32c28b92547b
2015-09-14String tokens do not include token separatorMatteo Casalin
Change-Id: Ia469f84412bdaed59b9e9eb3c8942de3d14270b9
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: I1140910c8e90a3022cc88ff33fa37db62007b745
2015-09-07Fix harmless, historic mis-mergeStephan Bergmann
...between 6037a79c3791e41578c384481acec48904951ae0 "cws tl82: #i74049# math symbols should be able to handle 20 bit Unicode characters (surrogates)" and a93c9517dc52b1d9c22a0e69f9d92c119983f7fe "Removes a fair amount of BOOL variables in starmath." Change-Id: Id146defb7231458b945629d4e4dcb7fc8de69f0e