Commit graph

10254 commits

Author SHA1 Message Date
Caolán McNamara
8a539e49c4 ditch some UniStrings and intermediate temporaries 2012-03-26 12:18:08 +01:00
Michael Stahl
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
Michael Stahl
e476a7632c .java files don't need executable bits 2012-03-23 21:58:12 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Caolán McNamara
8550b42a1d remove extra string casts 2012-03-20 12:57:31 +00:00
Lionel Elie Mamane
9f6e09e241 fdo#47560 properly separate each new sorting column 2012-03-20 11:07:15 +01:00
Lionel Elie Mamane
470feb03f1 fdo#47370 properly duplicate (invisible) out-of-order sort columns
Keep track of position of previous sorting column and use it to decide whether to duplicate invisible new sort column
2012-03-20 11:07:13 +01:00
Luboš Luňák
e569e0ad23 do not initialize a field with itself 2012-03-16 20:58:10 +01:00
Lionel Elie Mamane
08ba87c558 fixup: use introduced preprocessor constant instead of hardcoded constant 2012-03-15 18:54:48 +01:00
Lionel Elie Mamane
80c235510a fdo#46843 look for order by clause as fifth child of select_statement
Since commit 33b9b857ea (dba34c: #i20306# support for window function and limit fetch first, ... added), order by is the fifth child. It was the fourth one before.
2012-03-15 18:37:01 +01:00
Stephan Bergmann
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
Stephan Bergmann
cbdc446e6f Clean up ODocumentInfoPreview 2012-03-13 10:39:51 +01:00
Luboš Luňák
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Stephan Bergmann
490f83d480 fdo#47021: the naive join attempt leads to deadlock
...something better is required (getting rid of the solar mutex?).
2012-03-09 09:13:22 +01:00
Tor Lillqvist
b344c30ab4 Sprinkle more DISABLE_SCRIPTING ifdefs 2012-03-05 22:30:12 +02:00
Stephan Bergmann
906ca2e0e5 WNT-only IMPL_LINK_NOARG fixes 2012-03-02 08:55:49 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Caolán McNamara
ac08d3f696 we don't want any of these to be streamed out/in as 64bit values 2012-02-28 16:59:01 +00:00
Stephan Bergmann
2eaa1422a0 Adapted AsyncEventNotifier to safer-to-use salhelper::Thread 2012-02-23 10:47:37 +01:00
Luboš Luňák
f150ed241f OUString ctor for string literals without RTL_CONSTASCII stuff
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-22 16:21:37 +01:00
Thomas Arnhold
7dc7a33a30 WaE: duplicateBranch 2012-02-21 20:57:02 +01:00
Elton Chung
eab072e468 Remove unused code 2012-02-20 15:56:17 +00:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Caolán McNamara
af9709c3cb remove adabas/adabasui 2012-02-19 13:38:45 +00:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Stephan Bergmann
81921bec4b Make sure spawned thread is joined again
...otherwise, it might still run during exit(3) and cause problems.
2012-02-16 19:01:27 +01:00
Markus Mohrhard
a05286296b dbaccess' macros_test is still failing in some situations 2012-02-16 00:55:18 +01:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Elton Chung
806bec7107 Fix typos in comments 2012-02-13 15:27:24 +00:00
Markus Mohrhard
699eae5bd3 disable new test on win and mac since it is a test with UI 2012-02-12 20:14:56 +01:00
Markus Mohrhard
b97bdba24e finish initial work on the Base test
Base needs the numberformatter to initialize a document
2012-02-12 20:14:56 +01:00
Markus Mohrhard
75b4d17f96 use better assertion macros 2012-02-12 02:47:37 +01:00
Markus Mohrhard
0f4451c0b3 first part of a c++ based test for base 2012-02-11 17:21:59 +01:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Miklos Vajna
c57da7aa44 dbaccess: DatabaseDataProvider is not in chart2 2012-02-10 13:25:06 +01:00
Lionel Elie Mamane
53ca46cdff translate german comments 2012-02-09 18:47:32 +01:00
Lionel Elie Mamane
9c6ca789ef reorganise code for better readability
No behaviour change intended. However, if behaviour changed, probably the *old* behaviour is buggy, not new one.
2012-02-09 13:10:29 +01:00
Lionel Elie Mamane
4ea68987e9 typo in comment 2012-02-09 13:10:21 +01:00
Lionel Elie Mamane
843c830953 ORowSetCache::moveWindow: yet another off-by-one error 2012-02-09 13:10:12 +01:00
Lionel Elie Mamane
bd9d0aa967 Revert "Tentative fix for invalid iterator range regression"
This reverts commit 23151ab535.

Fixed root cause in previous commit.
2012-02-09 02:14:05 +01:00
Lionel Elie Mamane
370fa77a41 ORowSetCache::moveWindow fix variable inversion; fixes subsequentcheck 2012-02-09 02:11:05 +01:00
Stephan Bergmann
23151ab535 Tentative fix for invalid iterator range regression
37b5dce665 re-wrote a std::rotate call to cause
an "error: function requires a valid iterator range [__middle, __last)" abort
from debug-mode GCC libstdc++ during smoketest.  Lionel should check whether
this fix is actually good -- at least, it causes "make check" to succeed again.
2012-02-08 21:52:37 +01:00
Lionel Elie Mamane
37b5dce665 ORowSetCache: handle case total data < m_nFetchSize
As a drive-by: fillMatrix update m_nEndSize
2012-02-08 13:22:16 +01:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Josh Heidenreich
b5fa0ec905 Added READMEs for modules used by LibO Base and LibO Calc. 2012-02-08 07:46:58 +01:00
Tor Lillqvist
f8d30ec82d Attempt to disable database connectivity for iOS for now 2012-02-06 16:57:40 +02:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00