summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)AuthorFilesLines
2016-03-12Resolves tdf#88485: Allow to select rightmost symbols in the dialogTakeshi Abe1-0/+2
by adjusting target area with proper offsets. Change-Id: I66100c898354909623991c3af3e78287d6f5a9a0 Reviewed-on: https://gerrit.libreoffice.org/23147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit e7e1d50fc0c8077be9d9603eab8ef86098c9aa24) Reviewed-on: https://gerrit.libreoffice.org/23158
2016-02-02Resolves: tdf#97495 fix SmElementsControl tooltipsCaolán McNamara2-8/+51
instead of setting a single tooltip for the whole panel area, wait for a tooltip request and specify the area to which it applies. Which is what other widgets that have different tooltip areas do, and maps much better to the gtk3 tooltip system which functions like that too. Change-Id: I56f452562c3c4d9dcec4109a8ee6168f34619472 (cherry picked from commit f6c3c942976d615972674c5a5e12337d07be104c)
2016-01-27starmath: fix OOXML export of non-BMP UnicodeMichael Stahl1-3/+3
(cherry picked from commit 331a0a347e2ed238ff41c8cd7815b946cc95ac0f) Change-Id: Iafaeb9ea2e96ee6d8cc96174731ba3845c230b5e Reviewed-on: https://gerrit.libreoffice.org/21785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-01-25i18npool: handle non-BMP Unicode in cclass_Unicode::parseText()Michael Stahl1-4/+22
The UTF-16 code unit limitation was mangling starmath import. Change-Id: I087e5c5b7954799fdb73e7ee1a8d3d02669f8831 (cherry picked from commit fefd1221be844a033e409a18e05e8c6e98f6d1a7) Reviewed-on: https://gerrit.libreoffice.org/21784 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-01-21starmath: only use WordProcessingML elements in DOCX filesMichael Stahl6-9/+26
Change-Id: I1b0f6d67bd0db0796756fd920ab92303a7ee7d79 (cherry picked from commit 80b55dcfc9754553e42625d0d6e9ebbb728200eb) Reviewed-on: https://gerrit.libreoffice.org/21494 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-23starmath: Prefix members of SmCaretPos2LineVisitorTakeshi Abe2-16/+17
Change-Id: I277a66d32af51af7e28fd424dedd7980619e9d6e Reviewed-on: https://gerrit.libreoffice.org/20104 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-22cppcheck: redundantAssignmentTakeshi Abe1-1/+0
Change-Id: Iad347c2575cdbd6ee117461ea89f16234ecdd49e
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt1-1/+1
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20starmath: Use std::unique_ptr for exception safetyTakeshi Abe1-4/+3
Change-Id: Idc71dc410000b88463440dd18f41ff945b7616d7
2015-11-19Remove redundant toolbar:style attributesSamuel Mehrbrodt1-1/+1
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-11-17Toolbar: Remove empty attributesSamuel Mehrbrodt3-24/+24
Change-Id: Id78cae55eb89520bd87713f9ea6c009c922f2870
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann1-1/+1
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-172/+134
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-115th step to remove tools/rtti.hxxOliver Specht7-8/+0
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 Abe1-5/+5
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 Souza10-2/+59
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 Bergmann35-315/+315
Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
2015-11-09starmath: replace boost::ptr_deque with std::deque<std::unique_ptr>Michael Stahl3-150/+168
Change-Id: I1d2671a0b355bd4dbb195d69af2c432c50df904e
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann9-15/+15
Change-Id: Id5b78aa78fc585a67712fa44329479a86230d194
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin2-20/+9
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
2015-11-04yyyyyNoel Grandin2-5/+5
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-29com::sun::star->css in starmath,stoc,svgio,svlNoel Grandin15-231/+223
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 Bergmann5-10/+10
Change-Id: Ib596b759e876a4a7d341e1b476bfec9f7a54069e
2015-10-19loplugin:defaultparamsStephan Bergmann4-4/+4
Change-Id: I7a836a62f5614415e7aa982133ef7b34262e0bf9
2015-10-16convert Link<> to typedNoel Grandin2-17/+15
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 Luth3-0/+76
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 Grandin2-20/+16
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14Fix gb_Library_use_externals callStephan Bergmann1-1/+4
...from d8f46f854ee64ad9fe6356a8d4b30f98f3b20135 "enable ICU_HEADER includes for starmath" Change-Id: Idcafaeb6a43c4aa423a2c7a7ea4669d4fdaf3744
2015-10-13enable ICU_HEADER includes for starmathJustin Luth1-1/+1
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 Bergmann25-658/+658
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann4-19/+19
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin6-21/+14
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 Abe2-52/+52
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 Abe2-6/+4
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 Abe2-117/+117
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 Specht6-12/+10
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 Abe1-15/+5
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 Abe1-2/+2
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 Abe1-6/+3
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 Abe1-10/+10
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 Abe2-1/+3
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 Grandin2-14/+0
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 Gelmini8-9/+9
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 Gelmini2-4/+4
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 Abe2-10/+9
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 Abe2-10/+11
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 Grandin2-8/+7
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 Abe1-11/+16
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 Abe4-13/+13
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 Grandin2-7/+11
Change-Id: Idc8e9b0ad0032940b98357b07f3e6caf26c5c2d7