summaryrefslogtreecommitdiff
path: root/sal/rtl
AgeCommit message (Collapse)Author
2018-04-28Fix potential memory alignment issues on X86_64.Don Lewis
Clang version 4.0 and newer uses SSE instructions that require 16-byte alignment to zero memory allocated using the C++ new operator. The internal memory allocator does not understand anything larger than 8-byte alignment. Modify it to be capable of doing 16-byte alignment when necessary. There is also a debug layer beneath the C++ new and delete operators that is enabled by the --enable-debug configure option. This layer adds 8 to the requested size of any allocations before calling the underlying allocator, adds a known signature to the start of the memory block, and then adds an 8 byte offset to the pointer before returning it to the caller. The delete operator basically does the reverse, checking for the proper signature. Modify this code so that it adds and subtracts a 16-byte offset on X86_64 so that a properly aligned block from the underlying allocator does not cause new to return a misaligned pointer. Modify set_soenv.in so that it always requests 16-byte alignment on X86_64 so that the ABI is the same independent of the toolchain. Notes: prefer: cfd2691e5bf398304d7816227b933e53907b6204
2016-12-24Add some "Revision" svn keywords.Pedro Giffuni
Revisions were used within the tree, perhaps inherited by previous CVS/Subversion usage. Re-use them now since we have been lazy about updating them manually and because they can be useful for bug reports. Notes: ignore: obsolete
2016-04-10Replace 0 with NULL for pointers.Pedro Giffuni
Only applied to C code: common style for C++ is different. Found with coccinelle: http://coccinelle.lip6.fr/ Notes: prefer: 5bbdb9423e15b68438bb8397c15635e044129e28
2015-03-26Bring to SAL a wrapper implementation of the powr() IEEE 754 math function.Pedro Giffuni
This function was originally brought in r1444110 and is useful for OOXML compatibility. At this time it is not being used to fix the original issue it was meant to address but it is convenient for future use. It also reduces the differences from FreeBSD's port which will be receiving updates. Notes: ignore: obsolete
2014-05-15#i124896# remove obsoleted sal-module-internal custom STL allocatorHerbert Dürr
The SAL module avoided the heavy dependency on the stlport4-libraries by using a custom allocator for its internal STL containers. With stlport4 removed these dependencies are gone and the SAL-internal custom allocator is obsoleted. Since the custom allocator results in build problems with clang>=3.4 or xcode>=5.1 it is time to remove it for good. Notes: merged as: a908e4eb41b83d051232f9e551e779e77c9a9c4f
2014-04-29Many spelling fixes: directories r* - z*.Pedro Giffuni
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before. Notes: merged as: 820a29950b3085a713026995fdc43e32b6ded5f7
2013-11-25i118923 - OS/2 port: use libc memory allocator to reduce fragmentation.Yuri Dario
Notes: ignore: OS/2
2013-11-18#i122362# remove stlport4-build supportHerbert Dürr
but keep the --without-stlport configure option for now it is the new default anyway Notes: ignore: obsolete
2013-11-08i123001 - force destructor to be called before libc calls DosExit().Yuri Dario
Notes: ignore: OS/2
2013-02-14Revert of r1444110Rob Weir
Notes: reject: 0^0=1 revert.
2013-02-08i114430 - AOO Calc: 0^0=1 and it should be indeterminate.Pedro Giffuni
Many spreadsheets and math packages set the value of POWER( 0, 0) to 1 as that sometimes is required for some calculations. This is also done by the standard C99 libc pow() function. In mathematical terms the value is an indeterminate form and in strict mathematical sense such value should at least be considered with caution. OpenFormula permits implementation defined values of 0, 1 or error in this case. We shall now return NaN. Clean some headers while here. Notes: reject: 0^0=1 back-compat.
2012-02-22Update headers to Alv2 headersAndrew Rist
2012-02-15remove svn:executable properties from more source filesHerbert Dürr
2012-01-12Update headers to Alv2 headersAndrew Rist
2012-01-10Update headers to Alv2 headersAndrew Rist
2011-11-30Update headers to Alv2 headersAndrew Rist
2011-11-06Update headers to Alv2 headersAndrew Rist
2011-11-06Update headers to Alv2 headersAndrew Rist
2011-03-24mav60: rebase to DEV300_m103Mikhail Voytenko
2011-03-23mav60: #164341# fix problems with the new implementationMikhail Voytenko
2011-03-02#i115784# sal/rtl/alloc: fix makefile define to match source.Matthias Huetsch [mhu]
2011-03-01#i115784# configure: fix valgrind header check, use VALGRIND_CFLAGS.Matthias Huetsch [mhu]
2011-02-22#i115784# configure: Add check for valgrind/memcheck.h, defining ↵Matthias Huetsch [mhu]
HAVE_VALGRIND_MEMCHECK_H.
2011-01-31#i115784# sal/rtl/alloc: improved support for valgrind(memcheck).Matthias Huetsch [mhu]
2011-01-27#i115784# sal/rtl/alloc: improved support for valgrind(memcheck).Matthias Huetsch [mhu]
2011-01-27#i115784# Removed obsolete and unreferenced sal/rtl/alloc implementation.Matthias Huetsch [mhu]
2010-12-13Update from master repository (DEV300_m95).Matthias Huetsch [mhu]
2010-12-13#115784# sal/rtl/alloc: add support for valgrind(memcheck).Matthias Huetsch [mhu]
2010-10-28sb132: #i114840# fix inadvertent deviation of stringToDouble from C99 strtodsb
2010-08-27dba33h: #i112652#: rtl/math.h: string<->double conversion and XMLSchema-2:Michael Stahl
rtl_math_doubleTo{,U}String produce XMLSchema-2 values "NaN", "INF", "-INF". rtl_math_stringToDouble and rtl_math_uStringToDouble support XMLSchema-2 values in addition to deprecated previously supported values.
2010-08-27dba33h: #i112652#: math.cxx: indent stuff a bit and clean up whitespaceMichael Stahl
2010-06-22configure25: #i111045# jemallocRene Engelhard
2010-06-16Update from master repository (DEV300_m82).Matthias Huetsch [mhu]
2010-06-16Added enclosing classname to FixedMemPool diagnosis.Matthias Huetsch [mhu]
2010-06-09CWS-TOOLING: integrate CWS kfreebsdport01v2obo
2010-05-20sb122: merged in DEV300_m78sb
2010-05-04sb122: #i110905# removed unnecessary getAbsoluteFileURL callssb
2010-04-20kfreebsdport01: change identifier from linux_* to kfreebsd_*Rene Engelhard
2010-03-15linuxaxp01: #i110145# first cutCaolán McNamara
2010-03-03CWS-TOOLING: integrate CWS sb119Ivo Hinkelmann
Notes: split repo tag: ure_ooo/DEV300_m74
2010-02-26sb119: merged in DEV300_m72sb
2010-02-25sb111: merged in DEV300_m72sb
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-01-29sb119: #i108560# avoid never-released StringHashTableImpl; simplified codesb
2010-01-08sb111: merged in DEV300_m69sb
2009-12-07merged in DEV300_m66sb
2009-12-01sb111: merged in to-the-side QA fixessb
2009-11-19linuxhppa1: #i107051#: port to linux hppa (parisc)Caolán McNamara
2009-11-13sb116: #i106845# removed obsolete IRIX portsb
2009-10-29sb116: #i106384# avoid GCC warnings produced if -fno-strict-aliasing were ↵sb
removed (patch by cmc)