summaryrefslogtreecommitdiff
path: root/basic
AgeCommit message (Collapse)Author
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-13BASIC: Merge BasicLibs with BasicManagerImpl and use boost::ptr_vector.Arnaud Versini
Change-Id: I36fc3ce26b129b11fc2d6d2829a146b3fa57b783 Reviewed-on: https://gerrit.libreoffice.org/15267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-08A UNO Any can't contain an AnyStephan Bergmann
...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I69cac41fd3db1e99ecb55e23ac81c67046f81cb4
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29Clean up remaining C-style casts among void pointersStephan Bergmann
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I6dd7c7fbaf0d4b22abba0a7b1f5e37f0a46d0747
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
2015-03-26WaE: this method is empty and should be removedTor Lillqvist
Change-Id: Ia5ec3890a4e57c460dab58fcd690530ebf836140
2015-03-25TyposJulien Nabet
Change-Id: I665a56fcad10e136e949a10497f6ab8813af9968
2015-03-25Basic: scanner should'nt use 0xFF mask on charactersArnaud Versini
Change-Id: I2fd3f70c3d8e411430f84c7383da7ab8700513bd Reviewed-on: https://gerrit.libreoffice.org/14682 Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org> Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2015-03-24loplugin:constantfunction: basicNoel Grandin
Change-Id: I1c9a33cefb68bec978b2a922c2c3ef00f2a7a1b4
2015-03-23remove trailing blanks rubbishEike Rathke
Change-Id: I97cee7ea1d63375b73f0d4003022e9f09ad38e5f
2015-03-23more engineering notation format tests, tdf#30716Eike Rathke
Change-Id: Iefb035af9258c21e4fcc7f9b997f40ec318ed1ff
2015-03-23tdf#30716 Engineering notationLaurent Balland-Poirier
Implement engineering notation: fomat ##0.00E+00 for instance Saved in ODF thanks to https://gerrit.libreoffice.org/14875/ Change-Id: I1e401183a95ce05481a9af52e49bbcfe08cd1a20 Reviewed-on: https://gerrit.libreoffice.org/14886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-12CppCheck cleanlyness : reduce variable's scopeMichaël Lefèvre
Change-Id: I5bd18b1a93f7197121eb42f6b82d2d8d87e7671f Reviewed-on: https://gerrit.libreoffice.org/14843 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-09cppcheck: variableScopeCaolán McNamara
Change-Id: Ie77a988956927475ea384c36664ca7c3dd00b2a7
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-08TyposJulien Nabet
Change-Id: Ibc378fa5f515de61bb768b4ef082638b40c94e00
2015-03-07convert error number to stringLeMoyne Castle
BASIC error type was printing as "Error "+ odd char instead of "Error " + error number Change-Id: I7407833626d6117f932cc29c6dab1a8a64c50b5a Reviewed-on: https://gerrit.libreoffice.org/14776 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-02WaE: implicit conversion from bool to 'int'Tor Lillqvist
Change-Id: I40782009fb8d73f827c82c298586a7d4542561c9
2015-03-02convert SBI_ constants to enum classNoel Grandin
Change-Id: I65e706f4e1adfe242808293d9514c9db8d22cc12
2015-03-01likely intentDavid Tardon
Change-Id: I2372ddec8e82eb99206661469843d7837d2bf6d1
2015-02-26Clean up previous commitStephan Bergmann
Change-Id: Iddade9d297be8f4a4e69b3bec5ab7588bf68c112
2015-02-26basic: convert sb.component to constructor usageChris Sherlock
Change-Id: I45ddf460fa7d673c5210f9415b2a8015988a643e Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-24fix marking of free slots in arrayNoel Grandin
Change-Id: I5170b9bbc4a3acab8307f7ad5ebc5e4ba9d58352
2015-02-23tdf#86543: reinterpret_cast -1 of appropriate width as special markerStephan Bergmann
Change-Id: Idf0d2a77a78e0e8fcbf435984b9b8f4393e4c207
2015-02-17tdf#39440 - cppcheck cleanlinessRadu Ioan
Fixed some cppcheck defects Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb Reviewed-on: https://gerrit.libreoffice.org/14487 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-09Basic : Partially rewrite hex and octal constant reading.Arnaud Versini
Change-Id: I42f72e7b1ca897aba71950841f90b501cf3b6dc2 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-08Basic : Small OString usage simplificationArnaud Versini
Change-Id: I6d6032b3075e98abb38859207e4a25e1a2e13e98 Reviewed-on: https://gerrit.libreoffice.org/14351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Iabc7b3fe295743db014e0bce78f9dc65e069d848
2015-02-05Remove redundant explicit up-castsStephan Bergmann
Change-Id: I58fd91354fe41673216674f5ae9c11c17cb3f29d
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-05fdo#39440: replace C-style cast'sJuan Picca
* Add get() method to tools::SvRef Change-Id: I3825852176c9c37f3ee21f4fd57328b1c7451951 Reviewed-on: https://gerrit.libreoffice.org/14268 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-02callcatcher: shave off a few moreCaolán McNamara
Change-Id: Ie48cf7f89c8c826e56409c2493e1e1250086f10a
2015-01-31Use rtl/character.hxx in basic module when possibleArnaud Versini
Change-Id: I1296541ac1a6a65a613818a1264c2b7482915e64 Reviewed-on: https://gerrit.libreoffice.org/14170 Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org> Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2015-01-30coverity#1267698 Uninitialized scalar fieldCaolán McNamara
Change-Id: I79974d276a8f7f856dbf09b14b06ce3b1bb418f0
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-29tdf#76174: basic: lock SolarMutex in BasicScriptListener_ImplMichael Stahl
... before calling into BASIC. Change-Id: I51a59fe5ca9b15ff7ec509c052964523d87a9790
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26implement css::i18n::XCalendar4 and LocaleCalendar2 service, tdf#63230Eike Rathke
Implementation only, new local date/time routines not used yet from the outside in this step.