Commit Graph

2844 Commits

Author SHA1 Message Date
14ced14a22 add missing licence ( populated from TEMPLATE.SOURCECODE.HEADER )
Change-Id: I088e8fef273a42ad3e1d87d249a998867c22b4c6
2012-05-14 15:41:07 +01:00
e9bc6d7897 Revert "attempt to disable multi-defined symbol on windows for basic test"
Let's hope this works now.

This reverts commit 6113b27ec15da2a3b140ae58676062d74c99b31e.
This reverts commit 4e90345a4dea1ddf0ddded4f1fcae1c87894e120.
2012-05-14 16:34:10 +02:00
4b88c6e705 CppunitTest_basic_enable does not seem to need library objects
and it apparently causes linking failures on Windows, so try without.
2012-05-14 16:32:05 +02:00
4e90345a4d fix missing ')' in Module.basic.mk
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14 15:08:28 +01:00
6113b27ec1 attempt to disable multi-defined symbol on windows for basic test
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-14 15:06:29 +01:00
d7149abc77 add simple basic runtime test
Change-Id: If8742cb174aa1d017763d3ba42807ac4cf6c7420
2012-05-14 13:59:09 +01:00
d87676da22 simple compile test for use of 'Enable' in a Dim statement
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-05-14 12:01:08 +01:00
9520dbf59f EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09 16:31:31 +02:00
b1c3e8ae28 make gbuild the default assumption of build.pl
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-29 03:50:46 +02:00
bc069413e5 WaE: return SYMBOL -> return true
has been return SYMBOL since initial checkin in 2000,
SYMBOL is a non-0 enum so return true here instead
2012-04-24 15:44:37 +01:00
fd58025dc7 Fix eleven year old typo
No idea if it has actually caused any uninteded behaviour, or if this
fix now then causes something to break.
2012-04-24 12:22:10 +03:00
c9afb3f5a7 This incorporates the suggested changes. 2012-04-23 19:37:11 +02:00
b2fdaed465 WaE: MSVC2008 C2220 unsafe mix of types in operation 2012-04-20 20:02:25 +01:00
a9bad6b8f9 made the search straightforward 2012-04-13 02:18:05 +09:00
7465f5e604 extract ImpGetIntntlSep() into sbxconv.hxx and reuse it 2012-04-13 02:18:05 +09:00
3f82d94bdc String::CreateFromInt32->rtl::OUString::valueOf 2012-04-10 12:49:48 +01:00
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
c923f7d2c2 gbuild: "use" vs. "add":
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-08 01:05:52 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
15f14ec794 reorganize trickier statics 2012-04-02 14:53:48 +01:00
ae92197691 remove static objects from static_initialization_and_destruction chain 2012-04-02 14:53:48 +01:00
b26df89e6c callcatcher: remove some unused code 2012-04-02 14:53:47 +01:00
1889728897 remove static OUStrings from static_initialization_and_destruction chain 2012-03-30 14:07:20 +01:00
16244e7f24 removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper 2012-03-28 00:30:29 +09:00
6749dcc154 removed duplicate includes in basic / canvas / chart2 / comphelper 2012-03-26 22:39:42 +09:00
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
ed0ffbba06 over-engineered thread-safe static OUString
This is a ridiculous over-engineered thread-safe static string for
something which is called so few times, and costs 1k of long-term
memory as the OUString dtor needs to be put into a callback
queue to get called at module unload time.

Just return a new string every time, *rolls eyes*
2012-03-22 12:26:42 +00:00
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
7dafa7a3b1 fix error comparing a struct vs an uno prop containing a struct fdo#42819
hack to fix the scenario where sometimes we get "Object required" error when comparing an uno property containing a struct with another struct ( if that property is "MAYBEVOID" )
2012-03-09 18:48:36 +00:00
e4fe6a9c46 state *what* was not found when throwing exception 2012-03-08 12:02:38 +00:00
f150208ca8 these Links either shouldn't be links, or shouldn't exist 2012-03-08 12:02:36 +00:00
2d7550d53f Removed unused macro 2012-03-08 00:06:25 +09:00
dc24525d09 more idle code documentation improvement 2012-03-06 14:41:45 +00:00
033d98557e Removed useless #ifdef guard 2012-03-06 21:52:55 +09:00
fe4bb3579a basic: add missing forward declarations for helper functions 2012-03-05 22:32:22 +00:00
c5bf9b10b9 Remove unused SbxMemoryStream 2012-03-05 23:03:34 +02:00
b344c30ab4 Sprinkle more DISABLE_SCRIPTING ifdefs 2012-03-05 22:30:12 +02:00
b69285590d Change my mind again: Do build a subset sb library even for DISABLE_SCRIPTING
The tables functionality in Writer documents need SbxValue.
2012-03-05 22:30:10 +02:00
99ff0ab0b2 Remove unused code from basic 2012-03-05 18:54:28 +02:00
8d4fe3ed1f Convert SbxFactory from SV_DECL_PTRARR_DEL to boost::ptr_vector 2012-03-05 12:57:08 +02:00
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
Nah, these dummy classes would turn out quite complex anyway. Better
to just use ifdefs elsewhere, the number required is not that large.

This reverts commit 6d33801b4498f5c13d2dc75588f88c22a11f455b.
2012-03-05 02:05:24 +02:00
6d33801b44 Build libsb with a few dummy classes also for --disable-scripting
Work in progress, the dummy class implementations surely still
incomplete and/or might contain methods not actually needed. More
dummy class implementations needed, hopefully not too many
though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key
places in sc and elsewhere to cut down on the need.
2012-03-01 01:26:18 +02:00
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00