Julien Nabet
a10447301f
Typo: excute->execute
...
Change-Id: I8c73d95d92dc4a30dd6a71260817ab4fc3096f27
2015-02-28 10:23:17 +01:00
Laurent Balland-Poirier
cc8a2d0038
tdf#88835 Calc: General format: 2 digits in exponent
...
Create 4 new formats enums rtl_math_StringFormat:
rtl_math_StringFormat_E1, rtl_math_StringFormat_E2,
rtl_math_StringFormat_G1, rtl_math_StringFormat_G2
to 1 or 2 digits in exponent for scientific notation.
Set General format to use rtl_math_StringFormat_E2.
Set trendline equation in status bar to use rtl_math_StringFormat_E1
Change-Id: I41466a6d4ba808ba5b9b38ba252b37c6b4560f12
Reviewed-on: https://gerrit.libreoffice.org/14562
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-02-23 20:26:34 +00:00
Noel Grandin
ba233e87ef
remove unnecessary parenthesis in return statements
...
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'
Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
Michael Stahl
8d997133c3
sal: -Werror=unused-parameter
...
Change-Id: Iad2a1c7796812e09c408868d7fa60705a1cc91be
2015-02-16 23:46:08 +01:00
Thorsten Behrens
5818dd9459
Related: tdf#63690 - add stubs for removed rtl_logfile functions.
...
This fixes up 3d403f2af2
, by not
removing public API.
Change-Id: I60a4b7284661238bdf32a1600f27a7e507c5374a
2015-02-16 23:26:55 +01:00
Caolán McNamara
a1ceacc17e
boost::foo_ptr->std::foo_ptr
...
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-16 12:54:44 +00:00
Jan Holesovsky
3d9b364b56
It is not necessary to be _that_ verbose.
...
Change-Id: Ie7685beae20df8b3798070135fad529cde3604a9
2015-02-16 09:20:45 +01:00
Thorsten Behrens
3d403f2af2
Related: tdf#63690 - remove rtl_logfile
...
This was unused since the earlier cleanup.
Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-14 00:46:15 +01:00
Caolán McNamara
5e62dc99bf
coverity#1268298 mark up code
...
Change-Id: I6e48e2593f93efd71e84a076a99457c3daf7d9e0
2015-02-12 11:41:49 +00:00
Stephan Bergmann
3ff852364b
coverity#1267660 etc.: remove redundant checks
...
...all these functions take a "handle to a created condition."
Change-Id: I043f310801452b05e6daaca4d246b305d18f6104
2015-02-11 09:01:23 +01:00
Caolán McNamara
1479190c86
coverity#1267668 Logically dead code
...
Change-Id: Id9458f55efa4d27914c24b8ab7c4ced081e19626
2015-02-08 12:29:29 +00:00
Caolán McNamara
5e691dbfb3
make this a comment a coverity queller
...
Change-Id: I0eccec058f506be69f6c95a1a6d97be64cb734bc
2015-02-08 12:29:29 +00:00
Caolán McNamara
d3aa72da44
coverity#1268297 Logically dead code
...
Change-Id: Ie9a37e7eb837abf0d2783a9a0f8c2b33a6772d33
2015-02-07 14:27:13 +00:00
Stephan Bergmann
027c383584
O[U]StringBuffer::appendUninitialized unit tests
...
Change-Id: I55f0a5bd01a3e250764e1eb34d674b535b85b56f
2015-02-06 12:08:26 +01:00
Stephan Bergmann
2c03d6fb05
Remove bogus asserts
...
...regression introduced with b0ef5cf258
"sal: add
some argument checking assertions for strings and buffers" not being aware of
186990395d
"Clean up Mac _imp_getProcessLocale:
Introduces OUStringBuffer::appendUninitialized."
Change-Id: I828d98eb52f57f4e39e71ded39ef034e1788f4d1
2015-02-06 10:23:01 +01:00
Michael Stahl
b0ef5cf258
sal: add some argument checking assertions for strings and buffers
...
Also remove some now redundant asserts from headers.
Some of these actually trigger on unit tests so are commented out.
Change-Id: I07c6b2b2bd175361691a141f22eec584e3ab8f0b
2015-02-05 23:33:07 +01:00
Caolán McNamara
4d6a509efe
convert all remaining BOOST_STATIC_ASSERT to static_assert
...
and we can include a few less headers
Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05 22:21:49 +00:00
Ashod Nakashian
de68bb8514
Updated all precompiled headers.
...
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157
Reviewed-on: https://gerrit.libreoffice.org/14292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-05 10:46:33 +00:00
Tor Lillqvist
ff6ad0df27
Let's use log tags starting with "sal" here in sal
2015-02-03 14:17:57 +01:00
Tor Lillqvist
d6dd209355
Let's use log tags starting with "sal" here in sal
...
Change-Id: I89e71e03ede5175fabe1df949b8d3200f64757a0
2015-02-03 14:17:55 +01:00
Tor Lillqvist
a883b6b13b
Improve logging
...
Change-Id: Iabfe272e95e4f3517f3072dd6c36b8889c2fdbd1
2015-02-03 13:18:30 +01:00
Tor Lillqvist
dbe269df9c
Fix typo
...
Change-Id: I4f96972255ca99debd53d4302073d1823cc27492
2015-02-03 11:53:50 +01:00
Tor Lillqvist
7b3e504747
Improve logging, change OSL_TRACE into SAL_WARN and SAL_INFO
...
Change-Id: I37a0003ca321ca788f7885eb9fdea69ed388a35d
2015-02-03 11:42:04 +01:00
Tor Lillqvist
f02c5f71d6
Bin stupid macro that was used just once
...
Change-Id: I2e7528cb374d621f148d559c51521013bba62477
2015-02-03 11:21:43 +01:00
Tor Lillqvist
997066dd48
Bin code that has been commented out since initial import
...
Change-Id: Ie96cf3043b126577087eadae5900489a5eb84bcf
2015-02-03 11:19:18 +01:00
Stephan Bergmann
e76bc369b8
warning C4701: potentially uninitialized local variable 'Addr' used
...
Change-Id: I63c22fb682175edc450b1ce3b6ea78cf5a5bc2f1
2015-02-02 12:22:32 +01:00
Stephan Bergmann
331faca18e
Extract loplugin:redundantcast from loplugin:cstylecast
...
Change-Id: I08f17dd9cc092206083ff41bbbc178e0322e86d0
2015-01-29 22:21:04 +01:00
Stephan Bergmann
4e3da621fe
Some more loplugin:cstylecast clean-up
...
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-28 13:50:37 +01:00
Stephan Bergmann
4b60941b60
Clean up implementation of osl_getSymbol et al
...
Change-Id: Ic71b7bc8e8b5783deb1f9fa89136537c24281a55
2015-01-28 13:50:37 +01:00
Tor Lillqvist
69d7bdfb83
This typedef is not unused
...
Fix fallout from fe480d8136
.
Change-Id: I36807f0e43311e66f4ccd3542a4c064d5ccd7430
2015-01-28 09:42:53 +02:00
Noel Grandin
fe480d8136
remove unused typedefs
...
found with some minor modifications to find/find-unused-defines.sh
Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd
Reviewed-on: https://gerrit.libreoffice.org/14194
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-28 06:19:49 +00:00
Stephan Bergmann
598d8194b0
Visible function type RTTI for Clang -fsanitize=function
...
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf.
b4f6b26b5a
"SAL_DLLPUBLIC_RTTI for proper RTTI
visibility for LLVM") and by making sure relevant function types do not use
incomplete types in their parameter and return types (which would make the RTTI
hidden).
Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26 15:17:28 +01:00
Michael Stahl
c106f83da1
sal,sd: Windows SDK 8.1 deprecates inet_addr()
...
Change-Id: I443f73fab48f1b66b38e2c77af0fe89f99ee4cd0
Reviewed-on: https://gerrit.libreoffice.org/14142
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-26 10:54:15 +00:00
Stephan Bergmann
cac3f3e48e
loplugin:cstylecast (MACOSX)
...
Change-Id: I9d798beba649a946446893063386a8e521455a48
2015-01-22 11:19:38 +01:00
Stephan Bergmann
ed8110e101
Avoid reinterpret_cast to same type
...
...as GCC 4.6 reports "error: invalid cast from type 'pthread_t {aka long
unsigned int}' to type 'long unsigned int'" despite [expr.reinterpret.cast]/2:
"An expression of integral, enumeration, pointer, or pointer-to-member type can
be explicitly converted to its own type; such a cast yields the value of its
operand."
Change-Id: I26f1a3e6df2f0e55c665ad4f49185e0ebf432e95
2015-01-21 14:28:53 +01:00
Stephan Bergmann
1ca9c116ec
loplugin:cstylecast (on Mac OS X, where pthread_t is a pointer type)
...
Change-Id: Ie4474a1bae02de88ea0c79510f3730d2f829239c
2015-01-21 14:06:19 +01:00
Stephan Bergmann
e7057033be
Fix for Android gethostbyaddr
...
Change-Id: Icc8f5f71f07d0afb016b6188daea26068db93769
2015-01-20 10:33:54 +01:00
Stephan Bergmann
a3f3d4d190
Missing const
...
Change-Id: I13058a46526a1186deaa8fffde303c272c0cc8aa
2015-01-20 09:24:37 +01:00
Stephan Bergmann
b70b4e644b
Some more loplugin:cstylecast: sal
...
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
2015-01-20 09:06:50 +01:00
Stephan Bergmann
550b6bf613
rtl_arena_alloc must never obey AMode_SYSTEM
...
...as e.g. the read+write+exec arena used in
bridges/source/cpp_uno/shared/vtablefactory.cxx has specific requirements on
obtained memory. This broke recent 8b9968a262
"fdo#72755: Only use double mmap as fallback" for e.g. --enable-ooenv (which
sets G_SLICE). This is a partial revert of
ce906b8096
"skip tricky allocators on
G_SLICE=always-malloc."
Change-Id: I5a5fb7c3c920a7856381e6c55638137c625b5111
2015-01-16 17:31:29 +01:00
Tomaž Vajngerl
0dbc6f5689
android: No reason to return JNI version less than Java 6
...
Change-Id: Id9fae6561268bb7e5a465c19bdb80124f94f4939
2015-01-12 11:06:40 +01:00
Stephan Bergmann
393132ca73
[API CHANGE] Remove osl_send/receiveResourcePipe
...
...they had not been documented in osl/process.h and the sal/osl/unx
implementation had been stubbed out since
7b37265b8e
"sal: remove unx implementation of
osl_sendResourcePipe/osl_receiveResourcePipe" in 2012
Change-Id: Ia3ae853d95b6f3b2d2743f06755ef8f6246501d8
2015-01-08 12:29:49 +01:00
Noel Grandin
45ec1d9b56
brute-force find-and-remove of unused #define constants.
...
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-08 10:39:36 +02:00
Stephan Bergmann
7b1261f6f9
loplugin:cstylecast: sal
...
Change-Id: I0ad9681a8b31d78cefce5b66040415154a1c7a99
2015-01-07 14:42:07 +01:00
Caolán McNamara
8ab4d2f29f
drop crashrep unused since start of LibreOffice
...
Change-Id: I3df1216054c133314b2317849744a0a37e9fbc8f
Reviewed-on: https://gerrit.libreoffice.org/13733
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07 11:41:32 +00:00
Stephan Bergmann
8672eca430
-Werror,-Wmacro-redefined (under Clang -fsanitize=*)
...
Change-Id: Ifd23373b1ac4919793d1b4251ed90cf2dd6f2bda
2015-01-06 14:35:18 +01:00
Caolán McNamara
fd1372ba8b
boost::unordered_map->std::unordered_map
...
you can get debug stl this way
Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02 16:14:36 +00:00
Miklos Vajna
effd189842
error C2039: 'max' : is not a member of 'std'
...
Change-Id: I2a059f9332215678936d78990ee36a5ae2161712
2015-01-01 20:12:26 +01:00
Julien Nabet
5f2cfd1bee
"NOMINMAX" is not used [-Werror=unused-macros]
...
So let's let this for Windows only
Change-Id: I1f76e03b0e3431a6954a75f5cb247ef1a1644a28
2014-12-29 10:01:09 +01:00
Markus Mohrhard
4c9cf98819
try to fix windows build
2014-12-28 21:50:44 +01:00