summaryrefslogtreecommitdiff
path: root/basic
AgeCommit message (Collapse)AuthorFilesLines
2012-12-19fix crash for fdo#58306 by avoiding literal assignNoel Power1-1/+1
OUStringBuffer doesn't handler append ( if it had been previously assigned to "" literal ) Change-Id: Ief4379490a4873fbee4117db5833111943b86334
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann1-0/+7
The STLport was only built for the benefit of old extensions on platforms that once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We deliberately break such old extensions for LO 4.0 by no longer shipping that backwards-compatiblity cludge. Keeps STLport listed in readlicense_oo/ because of o3tl/inc/o3tl/compat_functionality.hxx. Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?). Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from l10ntools/inc/helpmerge.hxx that was once added with 854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01 (1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename -> MoveFileEx" but now starts to cause trouble on Windows. Also disables warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both tools/wintypes.hxx and the Windows API) in a number of places that include windows.h -- however the old STLport caused those warnings to not show. Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-2/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin1-6/+2
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-25German comment translationsMarkus Maier2-2/+2
Change-Id: I0d169b7cd0f47b6986063d0cc0b6697b1d575e6a
2012-11-23some i18n wrappers with LanguageTagEike Rathke2-4/+4
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22AllSettings with LanguageTagEike Rathke12-18/+21
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl1-1/+2
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-20Merge branch 'feature/killsdf'Andras Timar1-1/+1
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-19Bin the HACK() sillynessTor Lillqvist1-3/+3
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-18PutEntry familly of functions use consistent pairing OUString/sal_Int32Norbert Thiebaud3-5/+5
Change-Id: I23ae9d3e8bf71ef9ece75ea013d18c36ab2e69d4
2012-11-18basic: fix OUString copy overrun in Mid()Norbert Thiebaud1-1/+12
Change-Id: I91cdd3a52917b89ab2a452e0eeb7a9e00dc35e8b Reported-by: vmiklos@suse.cz
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin8-78/+65
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-14Clean upStephan Bergmann1-38/+25
Also, avoid global static data in sb lib, so that gengal.bin now also works well on Mac OS X, cf. 12fa9ece663f24eff44197befe546a92e6c90724 "Avoid global static data." Change-Id: I23f2a7abc0c06a752ded1c1c64619b3aab009190
2012-11-14Report errors for invalid DateAdd/Diff/Part Add parameter valuesStephan Bergmann1-3/+3
...so that e.g., DateAdd("x", 1, "1/31/2004") (where "x" is not in the list of valid values for the Add parameter, "yyyy", "q", "m", etc.) leads to a Basic runtime error rather than going into a seemingly endless while(nNewMonth>nTargetMonth) loop at the end of RTLFUNC(DateAdd) (basic/source/runtime/methods.cxx). Change-Id: I15c3bdb62723ffddf36ff2396ffb294369d93ff8
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar96-4671/+7502
Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-08fix more warning C4804 unsafe use of type boolMichael Stahl1-1/+1
... from commit bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
2012-11-07BasicScriptListener_Impl::firing_impl: actually this is the defaultMiklos Vajna1-1/+1
Change-Id: I0fdb522a1119da4a75094db86217449e9d940d19
2012-11-07basic: fix String -> OUString conversion in BasicScriptListener_ImplMiklos Vajna1-1/+1
Regression from commit ac476e78848ad02fd399633acbe9cb72e40d1235, the second parameter of OUString::copy() is not the end position, but the length. In practice this makes xray usable again. Change-Id: I9f345648c851b61e2e3c581bc605af7df4c12c87
2012-11-07basic: adapt dllmgr-x64.cxx to OUString changesMichael Stahl1-3/+3
Change-Id: I9e5ff5be1f001a9f55953fd516fb5ef7fe94bf44
2012-11-07Fix String -> OUString falloutTor Lillqvist1-3/+3
Change-Id: I038848aed0c64c39ca93da89b4a78bd3a1f6d7d0
2012-11-07basic: String -> OUStringNorbert Thiebaud67-2975/+3529
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-05fdo#46808, Adapt i18n::Transliteration UNO service to new styleNoel Grandin2-5/+5
Simply make the service implement XExtendedTransliteration, since all of the implementatins already do that. Change-Id: If03bf56a8d33931ad0230743a4603e2ae9b104ac
2012-11-04Fix .Len -> getLengthJulien Nabet1-1/+1
Change-Id: Ibe3e97a6fa59098b9234e4aae04118abc4e37eea
2012-11-03basic add a generic unit test fixtureNorbert Thiebaud5-0/+310
basic_coverage is a generic unit test that scan qa/basic_coverage/* each file there is supposed to be a well formed Basic script that define as least a Function doUnitTest as Integer that return 1 if OK, 0 if not OK Change-Id: I6c3cfac1e7ce4748f46c04344102a0eff69b6a49
2012-11-03basic: preliminary cosmetic clean-upNorbert Thiebaud43-1049/+2593
parsing 1000s of line of code is hard enough without having to fight with weird indentation and irregular formatting. So as the review progress, in order to follow the code, cosmetic changes were made... In order to minimize the task of the reviewers and allow them to concentrate on what matter, an effort is made to collect these cosmetic changes into this separate commit. Change-Id: I3c9b04a0150d0d0a048c2e976fe24de4f2b6b98a
2012-11-03basic: OUStringification of ddectrlNorbert Thiebaud5-44/+81
Change-Id: I2af40d7c8117aff8ce62a8ea0eec579664f8bdeb
2012-11-03basic migration to OUStringNorbert Thiebaud4-71/+180
Change-Id: I1f9403174b3779801d91ba20d846191ed9a09eed
2012-11-03basic: convert StepPAD to OUStringNorbert Thiebaud1-3/+7
Change-Id: I19d05f455767c973a47d0233b3af20af1ac3a20a
2012-11-03simplify and use OUString for StepLOADNCNorbert Thiebaud1-8/+4
Change-Id: I92c86f672cc79506c2c7c56bb3402b4436f71c98
2012-11-03basic: use OUString in DimAsNewRecoverItemNorbert Thiebaud1-5/+5
Change-Id: Icfecff549161c3c429524549b65752671792a94f
2012-11-03basic: unnecessary round-trip via StringNorbert Thiebaud1-1/+1
Change-Id: I691a59b8ab9e6352a9257dac35b8e378e6ef9666
2012-11-03basic: avoid String<>OUString issue by by-passing them completelyNorbert Thiebaud1-2/+20
Change-Id: If741661f1151950a2180fa5c6504957b44a7e998
2012-11-03basic: clean-up String from eventatt.cxxNorbert Thiebaud1-38/+55
Change-Id: I78f39310dbb0a024af4268f503a6150451f12778
2012-11-03basic: String -> OUString in basicmanagerNorbert Thiebaud5-187/+236
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-11-03svformatter already accept OUString inputNorbert Thiebaud1-4/+2
Change-Id: Icca8c40db4a4449876e115a0746319f3f893e846
2012-11-03basic: use OUString internaly for error messagesNorbert Thiebaud2-20/+20
Change-Id: I9ea243f93b7477814037deca2f332c3359ce527d
2012-11-03cosmetic prep-workNorbert Thiebaud1-110/+274
Change-Id: I732a8506a25f48c89cd0dc590e7305d355aa0762
2012-11-03use OUString for intermediary result in PrepareNumberFormatterNorbert Thiebaud1-8/+9
Change-Id: I9435d926beb2fd7ebe350f61634673eed7228fbe
2012-11-03cosmetic clean-upNorbert Thiebaud1-25/+90
Change-Id: Ie9569fba8b03656b9a50e9add06c8e13d0026624
2012-11-03basic: implement RIGHT with OUStringNorbert Thiebaud1-11/+8
Change-Id: Iff2150cf45569ca3d95f461495f49c455178cb5e
2012-10-30trivial empty-init String::Fill -> comphelper::padToLengthCaolán McNamara3-28/+32
Change-Id: I6c41b8f4d3ad739eff545063bd1f8fe8f4fba65e
2012-10-29Missing #includeStephan Bergmann1-0/+1
Change-Id: I63e68bd37b46f339d09d97a6bf6edfeaa6a7df1d
2012-10-29fdo#46808, Adapt i18n::LocaleCalendar UNO service to new styleNoel Grandin1-7/+3
Did not need to create a new interface, because XCalendar3 already covers the whole service interface. Change-Id: Iaf094014c16e872d2003ca6e8e7588abd081d882
2012-10-28UniString->rtl::OUStringBufferCaolán McNamara1-4/+12
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin1-12/+3
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin3-46/+14
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud14-54/+54
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-13Merge branch 'master' into feature/killsdfAndras Timar12-84/+83
Conflicts: Makefile.top Module_tail_build.mk RepositoryExternal.mk RepositoryFixes.mk accessibility/source/standard/vclxaccessibletoolbox.cxx basic/source/uno/dlgcont.cxx connectivity/Library_ado.mk cross_tail_build/prj/build.lst desktop/source/offacc/acceptor.cxx filter/Library_PptImporter.mk filter/source/t602/filterenv.cxx i18npool/Library_textconv_dict.mk ooo.lst.in saxon/ExternalProject_saxon.mk saxon/build.xml sc/sdi/scalc.sdi sc/source/filter/xml/xmlstyli.cxx sc/source/ui/condformat/condformatdlg.cxx sc/source/ui/condformat/condformatmgr.cxx sc/source/ui/view/cellsh1.cxx sdext/source/pdfimport/misc/pwdinteract.cxx shell/qa/zip/makefile.mk shell/qa/zip/testimpl/makefile.mk solenv/gbuild/CppunitTest.mk solenv/gbuild/gbuild.mk solenv/gbuild/platform/android.mk solenv/gbuild/platform/com_GCC_defs.mk solenv/gbuild/platform/macosx.mk soltools/Executable_adjustvisibility.mk soltools/Executable_checkdll.mk soltools/Executable_cpp.mk soltools/Executable_javadep.mk soltools/Executable_makedepend.mk sw/qa/extras/rtfimport/rtfimport.cxx tail_build/prj/build.lst tomcat/ExternalProject_tomcat.mk ucb/source/ucp/webdav/webdavcontent.cxx xml2cmp/Executable_xml2cmp.mk
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák3-11/+11
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5