summaryrefslogtreecommitdiff
path: root/basic
AgeCommit message (Collapse)AuthorFilesLines
2013-03-19WaE: Werror=shadowCaolán McNamara1-7/+7
Change-Id: I7f1bddbed85076f1c909d0d9f4ecdd1cda6f1880
2013-03-19detect follow-on default member of default member object bnc#809017Noel Power4-4/+57
Change-Id: I3ccae692db44bb3ce41b371f0b511a9db7181bf4
2013-03-11don't even attempt the ole related test except on windowsNoel Power1-1/+3
Change-Id: I971cf33e96c435cd3fa27766e79c2638b69eecb5
2013-03-11unit tests and data for bnc#805071Noel Power5-4/+132
Change-Id: I36fefa280ee922cbade676c951b753e632c9d8bb
2013-03-11bnc#805071 fix object assigment problems when default members presentNoel Power1-11/+32
Change-Id: I6f7dfd369a36aff06f15b9a3affadb9d19787a9c
2013-03-08arghhh add another forgotten new file for unit testsNoel Power1-0/+61
Change-Id: I93f67c1b2b421086226660a372e6f5cf1d7bf7c4
2013-03-08fix mistakely changed rtl::OUString->OUString ( not valid for 3.6 )Noel Power1-129/+130
Change-Id: I661906c91bdaf958e3f18299808e06886f06dee7
2013-03-08add missing file :-(Noel Power1-0/+59
Change-Id: Ic1c471a9ca3ea45533b9de36cf572d8f3b829bde
2013-03-08cherry-pick/backport bunch of vba unit test related patchesNoel Power19-193/+2173
Change-Id: I7c7e5652bc1b44ce0085f9c593aa73077165c090 master:4596120336b575d94d305c4139054afd95d2f740 master:76c3184813c97224cfd1e114ec13796e1da040d5 master:fea9b3a99a24366b4dea22ed1b79f34046f7f521 master:8534787f95dfbfff24167b2160cfe07a1b70bcc6 master:49417b0b68e8c9743bd6f664a5f8b4a0f3c19723 master:a9fc6ee7dc640f016728bf524d684696a376e989 master:b68a0f659500c2db86aa99df78bac292e3e93d79
2013-03-04Merge tag 'libreoffice-3.6.5.2' into suse-3.6Petr Mladek1-1/+5
Tag libreoffice-3.6.5.2 Conflicts: editeng/source/editeng/impedit3.cxx instsetoo_native/util/openoffice.lst oovbaapi/UnoApi_oovbaapi.mk sc/source/filter/oox/workbookhelper.cxx sc/source/ui/app/scmod.cxx sc/source/ui/cctrl/checklistmenu.cxx solenv/inc/minor.mk writerfilter/source/dmapper/DomainMapper_Impl.cxx writerfilter/source/dmapper/DomainMapper_Impl.hxx writerfilter/source/dmapper/PropertyMap.cxx Change-Id: I7ea70b82b3b874cbe78354d5dd97307e63842e72
2013-01-07fdo#53521 Crash when running BASIC's "shell()" with a non-existent programChristopher Copits1-1/+5
The problem is that the process handle is freed regardless of whether osl_executeProcess was successful or not. Therefore, a segmentation fault would result, as a random memory address would be freed. This patch checks whether osl_executeProcess was successful. If it was, then it frees the handle; if it wasn't successful, the memory is not freed. Change-Id: Ic3af07be06e7af7730a3bcb1680c659a88b66af3 Reviewed-on: https://gerrit.libreoffice.org/1530 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit dbfc8777bf73872d1b96f956b9e778d9099d52b3) (cherry picked from commit 96b985145b3efbaf4552adbeccf24bfac2fa71b0) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-12-14bnc#792048 - squash error accessing object ( for ole property )Noel Power1-1/+10
strange scenario where lhs property which is assigned to an object, in this case ( the property ) ADODB.Recordset.Source can assigned a String or ASODB.Command, however the Property will only return a string. This confuses the basic runtime. But... this happens in checkUnoStruct so really in this case the scenario is harmless, but.. we need to either squash the error ( or retain any previous error ) as appropriate Change-Id: I091877315a0c956b46fab8ff59feeb7e0572a169
2012-09-11fdo#54718 fix opcode detection in basic resulting in failed/unregcognized codeNoel Power1-3/+3
fix is followup to bf5b493104d2dd4ab964f1fcb845200eaefbbcd5 which didn't adjust the runtime to cater for the new enum layout Change-Id: I6613fb8aacd8a70947c4fff556fb3e2d33c1113e Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-10tweak for commit 8181dddb7bf166be4a00e9280d52f8d7a1741290 fdo#42492Noel Power1-4/+2
avoid char buffer and snprintf. Change-Id: Ia83cfc9333591bcb3b191679ccf2be587b4be243 Signed-off-by: Andras Timar <atimar@suse.com>
2012-08-10fdo#42492: fixing Basic HEX commandUray M. János1-6/+7
Change-Id: I133590c9f2a34d8daab031da0c77bd049d275c29 Signed-off-by: Andras Timar <atimar@suse.com>
2012-08-02basic, cui, extensions, filter, vcl: fix some warningsMichael Stahl1-3/+3
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-06-12SbPropertyValues::setPropertyValue doesn't check that property existsMichael Stahl2-9/+14
(cherry picked from commit f9c5a36609523317b6634f18d834296c6b3dcb22) Conflicts: basic/source/classes/propacc.cxx Change-Id: Ia63eea0c19bfa750b80f4c99f278f8d144c714a8
2012-06-02targeted string re-workNorbert Thiebaud1-2/+2
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
2012-06-02targeted string re-workNorbert Thiebaud7-105/+105
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-05-31targetted misc. minor cppcheck cleanups reversionMichael Meeks1-1/+1
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-31nuke unused typedefTakeshi Abe1-2/+0
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-14add missing licence ( populated from TEMPLATE.SOURCECODE.HEADER )Noel Power2-0/+14
Change-Id: I088e8fef273a42ad3e1d87d249a998867c22b4c6
2012-05-14Revert "attempt to disable multi-defined symbol on windows for basic test"Michael Stahl1-2/+1
Let's hope this works now. This reverts commit 6113b27ec15da2a3b140ae58676062d74c99b31e. This reverts commit 4e90345a4dea1ddf0ddded4f1fcae1c87894e120.
2012-05-14CppunitTest_basic_enable does not seem to need library objectsMichael Stahl1-2/+0
and it apparently causes linking failures on Windows, so try without.
2012-05-14fix missing ')' in Module.basic.mkNoel Power1-1/+1
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14attempt to disable multi-defined symbol on windows for basic testNoel Power1-1/+2
CppunitTest_basic_enable.mk & test_basic_enable.dll seems to suffer for some strange multiple defined symbol crack which is killing the tinderboxes, disable for the moment Change-Id: I1584c11a0445ac36c138ae075ca365ad4b2effe1
2012-05-14add simple basic runtime testNoel Power2-10/+27
Change-Id: If8742cb174aa1d017763d3ba42807ac4cf6c7420
2012-05-14simple compile test for use of 'Enable' in a Dim statementNoel Power3-0/+137
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-05-09EasyHack fdo#42783: get rid of CPU define/build system variableThomas Collerton1-4/+4
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-24WaE: return SYMBOL -> return trueCaolán McNamara1-1/+1
has been return SYMBOL since initial checkin in 2000, SYMBOL is a non-0 enum so return true here instead
2012-04-24Fix eleven year old typoTor Lillqvist1-1/+1
No idea if it has actually caused any uninteded behaviour, or if this fix now then causes something to break.
2012-04-23This incorporates the suggested changes.Abeer Sethi1-1/+1
2012-04-20WaE: MSVC2008 C2220 unsafe mix of types in operationCaolán McNamara2-5/+7
2012-04-13made the search straightforwardTakeshi Abe1-5/+7
2012-04-13extract ImpGetIntntlSep() into sbxconv.hxx and reuse itTakeshi Abe3-11/+5
2012-04-10String::CreateFromInt32->rtl::OUString::valueOfCaolán McNamara3-15/+12
2012-04-09add package deps for resourcesDavid Tardon1-0/+7
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi3-5/+5
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl2-7/+7
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi3-11/+7
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-2/+2
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-02reorganize trickier staticsCaolán McNamara1-12/+10
2012-04-02remove static objects from static_initialization_and_destruction chainCaolán McNamara1-13/+13
2012-04-02callcatcher: remove some unused codeCaolán McNamara1-20/+2
2012-03-30remove static OUStrings from static_initialization_and_destruction chainCaolán McNamara1-2/+2
2012-03-28removed duplicate includes in avmedia / basic / canvas / chart2 / comphelperTakeshi Abe3-9/+0
2012-03-26removed duplicate includes in basic / canvas / chart2 / comphelperTakeshi Abe1-5/+0
2012-03-23.component files don't need executable bitsMichael Stahl1-0/+0