summaryrefslogtreecommitdiff
path: root/basic
AgeCommit message (Collapse)Author
2013-03-25sal_Bool to boolTakeshi Abe
Change-Id: Ibc63340b3ae431c7cdac78893dbdd1989ebe5ff9
2013-03-24basic: Remove non working AboutStarBasicThomas Arnhold
The content of this function was commented out since the first import. So as it does nothing remove it. Change-Id: Ia46674f7bdc12e80d61a8142697e875f5c58f482 Reviewed-on: https://gerrit.libreoffice.org/2899 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-23coverity#704205/704206/704207 Logically dead codeJulien Nabet
Change-Id: Ic2cbd96f393a21cf2c6634d3c5e5a4c5a5b486ef
2013-03-22in Val() check status after stringToDouble()Eike Rathke
instead of calling checkArithmeticOverflow() Change-Id: I2e3307ee054db77bab0a106d886823dba9e56ea8
2013-03-21added unit test for 10e308 math overflowEike Rathke
Change-Id: I492d991545239539d21fb59de3eccdd1ab56a9af
2013-03-21SbiScanner::NextSym: check status after rtl_math_uStringToDouble()Eike Rathke
For example, 10e308 is overflow, not 0 ... Change-Id: Ib7d622865bfb73581732bda45c76e078ee7d05d0
2013-03-21another variation of the localised Cdbl testNoel Power
Change-Id: Icf6dd7428cb88f1891c6d816a24a4126ea2cc135
2013-03-20tweak basic_coverage test to support locale specific testingNoel Power
in basic some function results are influenced by locale, now in the basic_coverage directory you can have sub dirs ( named by the proper locale e.g. de-DE etc. ) and any macros found there will be run in the desired locale Change-Id: I625ee58d37493f83a15a62214bde6708e8fa75f7
2013-03-20replace decimal separator at correct position, rhbz#919020Eike Rathke
Change-Id: I97a652e6a1286726fe21ae580f6dbf5536f9d52d
2013-03-19resolved rhbz#919020 Basic CDbl() and CSng() scan localized numberEike Rathke
Code wrongly replaced decimal separator with '.' and used atof() to scan the number string which itself may be localized on *iX systems but not on Windows. Hence on *iX the numbers may had been truncated where on Windows they were not. Additionally made this work with Unicode separators if defined for the locale, removed the awkward conversion to ASCII byte string and eliminated use of toupper() and isdigit() calls. Also eliminated a possible buffer overflow. Change-Id: Ic3f791601c321ef1386fe51a5244d3dacac3d908
2013-03-19windows build fixAndras Timar
Change-Id: I6ff724052660d73b583fb1e44265a60a6fa4379f
2013-03-19fdo#39445 writing out tools/fsys.hxx (basic)Andras Timar
Change-Id: I2ec7546572fa72359615f371715b4aa82b1182ca
2013-03-19remove unused header: tools/fsys.hxxAndras Timar
Change-Id: Id6ac74e88e7e57dfbee9aa70a83909c3280a58cd
2013-03-19fdo#39445 writing out tools/fsys.hxx (basic)Krisztian Pinter
removed unused include from runtime.cxx and step0.cxx changed DirEntry::GetAccessDelimiter() to SAL_PATHDELIMITER in methods1.cxx removed unused DirEntry declaration from methods1.cxx Change-Id: I0d8c64b6498cf5b16757edaf13e1108f279934dd Reviewed-on: https://gerrit.libreoffice.org/2848 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-19More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixesStephan Bergmann
Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
2013-03-19follow on fix for fdo#62090 ensure out of range startpos is handledNoel Power
Change-Id: Ic1f57480a36415998748faeea3b606a47d277181
2013-03-19remove commented out line I inserted to screw up Juliens patchNoel Power
Change-Id: I7f874267a640a7cc754eb7477b764f7546fdc5ea
2013-03-19fix for fdo#62090 Mid function regressionJulien Nabet
Change-Id: Ia6a73d6a44a34345b512922037d01b8b40ac24a8
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-16coverity#982854 Assign instead of compareJulien Nabet
Change-Id: I9ac6a537da3a945cc48be84559f9ce253a93cd47
2013-03-16coverity#982853 Assign instead of compareJulien Nabet
Change-Id: I51df1f766314ea801ae33d6843b5ce6fc49445ac
2013-03-15WaE: Werror=shadowCaolán McNamara
Change-Id: I7f1bddbed85076f1c909d0d9f4ecdd1cda6f1880
2013-03-15unittest and test data for bnc#809017Noel Power
Change-Id: I3ccae692db44bb3ce41b371f0b511a9db7181bf4
2013-03-15detect follow-on default member of default member object bnc#809017Noel Power
Change-Id: I366c049fc342240081957b81d2f28bfcf8d4e331
2013-03-14i119933 - make Basic FORMAT function work with non-ASCII textAriel Constenla-Haile
Conflicts: basic/source/sbx/sbxscan.cxx Change-Id: I5b77231d1b09cbf32fa914f3d7b60d6e631e5870
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-14Windows oleautobridge depends on ATLStephan Bergmann
Change-Id: I94b43b03f742da7c6c8cf2e6a60ed305c1395fa7
2013-03-13Fix Set/Let mixup ( from String -> OUString rework ) fdo#60752Noel Power
Change-Id: I56f3e8b54d80f4575937f8515e8a8d9318353b8d
2013-03-12basic: make the makefile a bit nicerMatúš Kukan
Change-Id: Ib606c0a9c84b35f4ab4b10dd7dc4dd82e85fcb71
2013-03-11basic: translation of all debug messagesThomas Arnhold
runtime.cxx: Added some output instead of nothing. Change-Id: Ia25ae4b5fe8661a8a3ac317bc0562e1339640cd8
2013-03-11remove some rtl:: and RTL_CONSTASCII_USTRINGPARAM fooNoel Power
Change-Id: I68e2891999f306865d00b33fdfef3bc539a34e93
2013-03-11unit tests and data for bnc#805071Noel Power
Change-Id: I36fefa280ee922cbade676c951b753e632c9d8bb
2013-03-11bnc#805071 fix object assigment problems when default members presentNoel Power
Change-Id: I6f7dfd369a36aff06f15b9a3affadb9d19787a9c
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-09coverity#705627: fix memory leakMarkus Mohrhard
Change-Id: I4f73f77b27d2ed28a9f97757105c8a6cc5521b33
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08remove duplicate file loading from basic_coverage ( now in MacroSnippet )Noel Power
Change-Id: I1b19fec59419575fcf09d79986b6bac73ea51c9a
2013-03-08fix WAE mbError unusedNoel Power
Change-Id: I03bae6808008dcb0b53b1e816f3fe84739036773
2013-03-08some further OUString cleanupThomas Arnhold
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-07doh! sReturnStrg is OUStringBuffer, no need to assignNoel Power
Change-Id: I490d20e8b494b4f59277b1cc92c73beb65a05813
2013-03-07fix String->OUString foobarNoel Power
Change-Id: Ia924e6e8f3cfa25b131185713699d64e9d339357
2013-03-07Add some stand alone vba specific tests ( mostly vba only functions )Noel Power
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2013-03-07finally remove no long needed BasicTestBaseNoel Power
Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
2013-03-07Nested_Struct should really inherit from test::BootstrapFixtureNoel Power
Change-Id: I06255940f41c32493187d1ec847f7238fef4e9f8
2013-03-07adapt existing tests to use MacroSnipper helper classNoel Power
Change-Id: I50980d9510b82277a5da04cc4f6c1d3ec8e7c756
2013-03-07use "doUnitTest" as the method to search for, tweak error reportingNoel Power
Change-Id: I0c0f4ce1304b561bf94af5444c83d8920062568b
2013-03-07Create new Macro helper class to help invoking macros for unittestsNoel Power
Change-Id: Icc3cbfc3eae6ade037960497e7fe2addf1912897
2013-03-07fdo#46808, Convert singleton theMasterScriptProviderFactoryNoel Grandin
Change-Id: I647a02e552acdd354463fc46c13c5a73b1c90d09