Commit Graph

58 Commits

Author SHA1 Message Date
Noel Grandin
52bbd9cc00 remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
Convert code like:
    aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
    aStrBuf.append( "ln(x)" );
which compiles down to the same code.

Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20 10:07:32 +02:00
Noel Grandin
3af99e4d59 convert equalsAsciiL calls to startsWith calls
Convert code like:
    aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) )
to
    aStr.startsWith( "ActiveConnection" )
which compiles down to the same machine code.

Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-20 10:07:31 +02:00
Stephan Bergmann
cb327052cb Better assertions
Change-Id: I4ba11570328e17abdf063049065b4fc6dcc65a9d
2013-08-22 14:55:30 +02:00
Tor Lillqvist
08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Luboš Luňák
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
Matúš Kukan
65be07720b do not use deprecated rtl_registerModuleForUnloading
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-16 17:52:36 +02:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Stephan Bergmann
925e14220e osl_atomic_increment/decrement are macros
Change-Id: Ib2d61e436d625ac89defe718d4cc1d866d538397
2013-02-21 16:50:01 +01:00
Tor Lillqvist
f09f52e4ad Need also uno_ext_getMapping for Java when DISABLE_DYNLOADING
Change-Id: I65f09e54c80df4e96e24548692eeb3a57e1de517
2012-09-21 14:46:24 +03:00
Tor Lillqvist
e5045bea0a Adapt for DISABLE_DYNLOADING possibility also for Android
Change-Id: Ie1ff96b6f58bf694b8d08a3316144becaaefe6d9
2012-09-21 14:46:12 +03:00
Norbert Thiebaud
195f17ee40 migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomic
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0
Reviewed-on: https://gerrit.libreoffice.org/632
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17 14:26:12 +00:00
Michael Meeks
c3a6a57fc2 re-base on ALv2 code. 2012-06-13 14:18:29 +01:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Tor Lillqvist
694bb9f5de Do two fairly useless but often emitted OSL_TRACEs only if OSL_DEBUG_LEVEL > 2 2012-04-05 20:46:26 +03:00
Tor Lillqvist
128749140f More hacking on static linking (iOS) support 2012-03-21 00:00:05 +02:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Stephan Bergmann
2af1a97346 Removed superfluous CPPU_DLLPUBLIC from definitions. 2011-12-19 11:33:13 +01:00
Matúš Kukan
d899f976ee cppu: add visibility symbols 2011-12-19 10:14:52 +01:00
Olivier Hallot
1b99d8800e Fix for fdo43460 Part X getLength() to isEmpty()
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
Norbert Thiebaud
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
Julien Nabet
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
Fridrich Strba
4724f82bf2 move module cppu to boost unordered containers 2011-02-03 23:39:38 +01:00
Caolán McNamara
39b67dcf71 add an explicit 2011-01-13 08:59:22 +00:00
Jesús Corrius
7ed1d1de5e Make calls to unary_function and binary_function less ambiguous for VC10 2010-10-16 22:09:55 +02:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Ivo Hinkelmann
50f9ae5a90 CWS-TOOLING: integrate CWS sb109
2009-04-21 13:42:45 +0200 sb  r271035 : removed obsolete psprint dependency
2009-04-21 10:33:31 +0200 sb  r271024 : changes to previous -c270971 so that build does not break for USE_SHELL!=bash (but instead resulting bridgetest_xxx scripts are nonfunctional)
2009-04-21 08:56:48 +0200 sb  r271017 : merged in cws/sb107 -c 268250 (avoid warnings about format specifier and argument mismatch (on 64bit debug builds))
2009-04-20 16:42:27 +0200 sb  r270995 : #i98625# add make_xxx functions for C++ representations of UNO polystructs; fixed and adapted tests (patch by thb, slightly adapted)
2009-04-20 14:23:45 +0200 sb  r270981 : #i84751# selective performance improvements (patch by mmeeks, slightly adapted)
2009-04-20 13:39:50 +0200 sb  r270978 : #i99711# removed dead code (patch by cmc, slightly modified)
2009-04-20 11:59:39 +0200 sb  r270972 : #i97975# avoid crashes during shutdown (patch by cmc, slightly modified)
2009-04-20 11:57:52 +0200 sb  r270971 : made tests work again after LD_LIBRARY_PATH clean up
2009-04-20 09:49:32 +0200 sb  r270963 : #i95593# made tests work again after LD_LIBRARY_PATH cleanup
2009-04-17 13:52:33 +0200 sb  r270941 : merged in cws/sb107 -c 270023 (added svn:ignore)
2009-04-15 13:46:24 +0200 sb  r270841 : #i92131# dead code elimination (based on a patch by cmc)
2009-04-15 13:29:27 +0200 sb  r270839 : #i100743# use a FastLess for the Data map (based on a patch my mmeeks)
2009-04-15 13:12:11 +0200 sb  r270837 : #i100583# dead code elimination (patch by cmc)
2009-04-15 13:02:19 +0200 sb  r270835 : avoid bogus Solaris C++ compiler warning when building with debug=x
2009-04-15 11:49:46 +0200 sb  r270828 : adapted to cleared LD_LIBRARY_PATH
2009-04-15 10:49:48 +0200 sb  r270826 : #i101101# for performance reasons, do not put ComponentContext in unsafe appartment
2009-04-15 10:08:20 +0200 sb  r270824 : #i99113# removed duplicated stocservices.uno lib from basis layer
2009-04-28 18:00:14 +00:00
Rüdiger Timm
f370fb9aa2 INTEGRATION: CWS changefileheader (1.29.16); FILE MERGED
2008/03/31 07:23:22 rt 1.29.16.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:41:25 +00:00
Vladimir Glazounov
593ba0941f INTEGRATION: CWS sb71 (1.28.4); FILE MERGED
2007/06/20 12:49:01 sb 1.28.4.1: #i75466# Unlike Solaris and Linux, Mac OS X dlopen does not search for file next to the library calling dlopen if file does not contain slashes (you have to prefix file with "@loader_path/" for that to work on Mac OS X); refactored accordingly.
2007-10-15 11:19:40 +00:00
Kurt Zenker
87e9b5e42e INTEGRATION: CWS bunoexttm (1.27.12); FILE MERGED
2007/01/25 13:33:03 kr 1.27.12.1: joined changes from utf2
2007-05-09 12:39:24 +00:00
Rüdiger Timm
9ad03cd66b INTEGRATION: CWS bunoidmap (1.26.16); FILE MERGED
2006/11/09 09:04:40 kr 1.26.16.1: implemented: i71242 - Binary Uno should support Ident Mappings
2006-12-01 16:26:17 +00:00
Oliver Bolte
f11bc0042d INTEGRATION: CWS pchfix02 (1.25.10); FILE MERGED
2006/09/01 17:23:03 kaib 1.25.10.1: #i68856# Added header markers and pch files
2006-09-16 23:21:32 +00:00
Jens-Heiner Rechtien
0b47d03a97 INTEGRATION: CWS warnings01 (1.22.126); FILE MERGED
2006/05/23 17:49:05 sb 1.22.126.5: RESYNC: (1.23-1.24); FILE MERGED
2005/09/22 20:46:05 sb 1.22.126.4: RESYNC: (1.22-1.23); FILE MERGED
2005/09/06 10:11:51 sb 1.22.126.3: #i53898# sal::reinterpret_int_cast is not needed.
2005/08/31 13:43:22 sb 1.22.126.2: #i53898# Made code warning-free.
2005/08/29 14:03:54 sb 1.22.126.1: #i53898# Made code warning-free.
2006-06-19 12:14:56 +00:00
Jens-Heiner Rechtien
98ef4c9093 INTEGRATION: CWS sb49 (1.23.38); FILE MERGED
2006/03/22 10:14:07 sb 1.23.38.1: #i63397# Keep objects alive long enough so that threads still running while atexit handlers are processed do not access dead objects.
2006-04-19 12:49:56 +00:00
Rüdiger Timm
952c05c933 INTEGRATION: CWS ooo19126 (1.22.130); FILE MERGED
2005/09/05 13:54:33 rt 1.22.130.1: #i54170# Change license header: remove SISSL
2005-09-08 07:53:22 +00:00
Vladimir Glazounov
42c5cb2e8d INTEGRATION: CWS dbgmacros1 (1.21.4); FILE MERGED
2003/04/09 10:38:54 kso 1.21.4.1: #108413# - debug macro unification.
2003-04-15 15:37:52 +00:00
Vladimir Glazounov
479dc59b5c #100000# getting rid of build dep from offuh 2003-03-20 13:44:59 +00:00
Vladimir Glazounov
9d436d4fb4 INTEGRATION: CWS uno1 (1.19.18); FILE MERGED
2003/03/07 15:02:21 dbo 1.19.18.2: #107762# fixing interface release
2003/02/25 16:41:32 dbo 1.19.18.1: #107762# avoid use of generated headers; minor modifications
2003-03-20 11:29:49 +00:00
Daniel Boelzle
dee7c8d4f3 #102391# fixed exc decl; namespace 2002-08-19 12:02:55 +00:00
Martin Hollmichel
952c06b02b join: from OOO_STABLE_1, #101685# 2002-08-13 14:09:09 +00:00
Daniel Boelzle
8bc570246b #67468# added unloading for bridges/ environments 2001-07-02 10:43:51 +00:00
Daniel Boelzle
ceafe5a64b C bridge test; method param name correction 2001-04-12 12:39:24 +00:00
Daniel Boelzle
d17143e649 no use of SAL_DLLEXPORT anymore, using def file 2001-03-28 09:50:37 +00:00
Joachim Lingner
40b79cab48 OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 12:28:14 +00:00
Daniel Boelzle
dddee54f56 assertions 2001-03-12 10:46:19 +00:00
Daniel Boelzle
fee2a34fc7 revised function throw () clauses 2001-03-09 11:10:57 +00:00
Daniel Boelzle
780a743ea8 init of uno_Any::pData; minor modifications 2001-02-20 09:16:11 +00:00
Ping Liao
7629ea50fb Added MACOSX linker/loader bug workaround code. 2001-02-07 02:40:09 +00:00
Martin Hollmichel
99a4bd87f8 chg: include for STL 2001-01-31 08:36:30 +00:00