History log of /trunk/main/sc/source/core/tool/interpr1.cxx (Results 1 - 23 of 23)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: AOO417, AOO420-Dev-m1, AOO416, AOO416-RC1, AOO415, AOO414, AOO413, AOO4121
# 5dfc2e73 31-May-2016 pfg

RAND(): Destroy the random pool after seeding.

We are using rtl_random() only for seeding, we can save some memory here.


git-svn-id: https://svn.apache.org/repos/asf/openoffice

RAND(): Destroy the random pool after seeding.

We are using rtl_random() only for seeding, we can save some memory here.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1746363 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# a940b7f5 06-Dec-2015 asf-sync-process

#i126701# Patch for adding bit shift functions to calc

Patch by: Pathangi Janardhanan Jatinshravan <JATINSHR001 at e dot ntu dot edu dot sg>
Review by: me




git-svn

#i126701# Patch for adding bit shift functions to calc

Patch by: Pathangi Janardhanan Jatinshravan <JATINSHR001 at e dot ntu dot edu dot sg>
Review by: me




git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1718196 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 0f94c4d7 22-Nov-2015 Damjan Jovanovic

#i126668# Addition of Bitwise Arithmetic Operations (BITAND, BITOR and BITXOR) in calc

Patch by: Pathangi Janardhanan Jatinshravan <JATINSHR001 at e dot ntu dot edu dot sg>
Review by: me

#i126668# Addition of Bitwise Arithmetic Operations (BITAND, BITOR and BITXOR) in calc

Patch by: Pathangi Janardhanan Jatinshravan <JATINSHR001 at e dot ntu dot edu dot sg>
Review by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1715605 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO412, SNAPSHOT, AOO411
# c9b8e806 21-Apr-2015 Pedro Giffuni

Minor cleanups in the random generator code.

Drop unused variables.
Enhance slightly the naming of static variables.


git-svn-id: https://svn.apache.org/repos/asf/openoffice

Minor cleanups in the random generator code.

Drop unused variables.
Enhance slightly the naming of static variables.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1675168 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b54ae672 26-Mar-2015 Pedro Giffuni

Re-implement Calc's RAND() function using a variant of KISS PRNG.

George Marsaglia's KISS algorithm is a rather simple implementation
of a random number generator but it has interesting

Re-implement Calc's RAND() function using a variant of KISS PRNG.

George Marsaglia's KISS algorithm is a rather simple implementation
of a random number generator but it has interesting properties with
respect ot the traditional Mersenne Twister.

I used the 2011 32 bit Multiply-with-carry variant, with an
undetermined period which is known to be not less than 10^40000000;
it is known to pass all the statistical tests.

The Apache OpenOffice implementation uses an aggressive seeding
scheme based on the internal rtl_random functions, rendering the
function basically unpredictable. As a side effect it is also not
possible to specify a seed for repeatability. No claims are made
concerning crypto-safeness.

The specific adaption for Apache OpenOffice is:

Copyright 2015 Pedro Giffuni
All rights reserved.

Huge thanks to Steve Kargl for pointing me to the algorithm and
the late George Marsaglia for creating it in the first place.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1669455 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 86e1cf34 29-Apr-2014 Pedro Giffuni

Many spelling fixes: directories r* - z*.

Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame

Many spelling fixes: directories r* - z*.

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.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1591062 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO410, AOO410_Beta
# a845386b 10-Mar-2014 Andre Fischer

i124361: Removed some warnings from sc.

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1575927 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO401, AOO400
# 46d2a04e 18-Apr-2013 Herbert Dürr

WaE: fix implicit conversions from boolean false to the NULL pointer


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1469301 13f79535-47bb-0310-9956-ffa450edef68


# 0d05bb74 25-Jan-2013 Pedro Giffuni

i121421 - Calc's RAND() behaves poorly on most platforms.

Replace WH2006 PRNG with the well known Mersenne Twister
as implemented in Boost. This actually has some drawbacks
with resp

i121421 - Calc's RAND() behaves poorly on most platforms.

Replace WH2006 PRNG with the well known Mersenne Twister
as implemented in Boost. This actually has some drawbacks
with respect to our previous implementation: we lose the
nifty seeding and instead use the timer which is
non-optimal.

The main reason is the speed: MT is said to be at least
4 times faster.

On the other hand I also moved the WH to the scaddins
module where it is used by Calc's RANDBETWEEN function.
This way we still have the alternative PRNG and we
drop another use of the unreliable rand from libc.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1438322 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 34d5e9da 04-Jan-2013 Herbert Dürr

reverting 1428926 as revison 1428922 does the same and was earlier

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1428929 13f79535-47bb-0310-9956-ffa450edef68


# 95b0c91e 04-Jan-2013 Herbert Dürr

#i121561# workaround windows build problem with the new boost functions

Stlport 5.2 and newer set the _STLP_HAS_NATIVE_FLOAT_ABS define for all MSVC>=2005,
so that the stl::abs() defines

#i121561# workaround windows build problem with the new boost functions

Stlport 5.2 and newer set the _STLP_HAS_NATIVE_FLOAT_ABS define for all MSVC>=2005,
so that the stl::abs() defines are enabled. Otherwise the compilation fails because
only stl::abs(complex<>) gets included which messes things up because it is the
only one available after the SFINAE eliminations when the compiler tries to
instantiate e.g. boost's atanh using stl::abs()


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1428926 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 76ea2dee 02-Jan-2013 Pedro Giffuni

i121561 - Use of boost instead of RTL hyperbolic/power functions.

Boost provides some well implemented and tested versions of the
inverse hyperbolic and small power functions. According

i121561 - Use of boost instead of RTL hyperbolic/power functions.

Boost provides some well implemented and tested versions of the
inverse hyperbolic and small power functions. According to the
documentation the error for these boost versions should be about
1 or 2 Epsilon.

Testing shows that for recent Apache OpenOffice this won't cause
much difference but Symphony users will see important precision
improvements.

Special Thanks to Regina Henschel for providing excellent test cases.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1427988 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# f3b46342 07-Dec-2012 Pedro Giffuni

i121421 - Mostly cosmetic fixes.

Attempt to comply with optional hungarian notation.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1418174 13f79535-47bb-0310-99

i121421 - Mostly cosmetic fixes.

Attempt to comply with optional hungarian notation.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1418174 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 05aa205c 02-Dec-2012 Pedro Giffuni

i121421 - Calc's RAND() behaves poorly on most platforms.

The random number generation function from libc was useful for very basic
purposes but hasn't kept up with the times.

T

i121421 - Calc's RAND() behaves poorly on most platforms.

The random number generation function from libc was useful for very basic
purposes but hasn't kept up with the times.

There are many options to provide a Portable Random Number Generator: one
of the most popular and easiest to implement was designed by B.A Wichmann
and I.D Hill in 1982.

We chose to implement the newer 2006[1] algorithm which is better suited
modern platforms and passes DIEHARD and TestU01 - Big Crush tests.

Use of libc's rand() has been completely eliminated by using preexisting
rtl/random support to generate the initial seeds.

Special thanks to orcmid@ for discussion and testing.

Reference:

[1] B. A. Wichmann and Hill, Generating good pseudorandom numbers,
Computational Statistics & Data Analysis, Volume 51 Issue 3,
December, 2006, Pages 1614-1622.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1416271 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO340
# 39c2db0b 10-Oct-2012 Wang Lei

#i121120 AOO doesn't support RightB(), LeftB(),LenB() and MidB() in formula

Patch by: Zhang Lu
Review by: Wang Lei

git-svn-id: https://svn.apache.org/repos/a

#i121120 AOO doesn't support RightB(), LeftB(),LenB() and MidB() in formula

Patch by: Zhang Lu
Review by: Wang Lei

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1396491 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 51df7705 06-Sep-2012 Andrew Rist

calcishmakkica: init vars

From: Eike Rathke <erack@apache.org>

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracl

calcishmakkica: init vars

From: Eike Rathke <erack@apache.org>

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1298043566 -3600
# Node ID 346e0beefed21519bbb6545bccfea022dd75ed66
# Parent 2416febcae5c81a24b40439f09f91e40a686b911

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381450 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 41f10097 06-Sep-2012 Andrew Rist

calcishmakkica: WaE wntmsci12

From: Eike Rathke <erack@apache.org>

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@o

calcishmakkica: WaE wntmsci12

From: Eike Rathke <erack@apache.org>

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1297940971 -3600
# Node ID 2416febcae5c81a24b40439f09f91e40a686b911
# Parent 0d84fd3534ea7cda60f795f7dc5d99db58d8cc6e


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381449 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 6e86bbc1 06-Sep-2012 Andrew Rist

calcishmakkica: #i90269# #i95144# #i101466#

From: Eike Rathke <erack@apache.org>

* For SUMIFS, AVERAGEIFS and COUNTIFS:
* All ranges must be of same dimension and size.

calcishmakkica: #i90269# #i95144# #i101466#

From: Eike Rathke <erack@apache.org>

* For SUMIFS, AVERAGEIFS and COUNTIFS:
* All ranges must be of same dimension and size.
* Bail out if error encountered for any parameter, without calculating
remaining parameters.
* Adapted ScParameterClassification to cope with paired repeated parameters.
* In function resource have a trailing blank for repeated parameters so the
number is appended with a blank between.

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1288820521 -3600
# Node ID 79da8a1033b663c919f0dc48799f70256bffa497
# Parent 02cf226fcde498f6fd926d45df497e9fb412fe0f


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381448 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 1b1b70fb 06-Sep-2012 Andrew Rist

calcishmakkica: #i90269# #i95144# #i101466# implement SUMIFS, AVERAGEIFS, COUNTIFS; patch from <makkica>

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <mak

calcishmakkica: #i90269# #i95144# #i101466# implement SUMIFS, AVERAGEIFS, COUNTIFS; patch from <makkica>

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <makkica@openoffice.org>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1288810126 -3600
# Node ID 02cf226fcde498f6fd926d45df497e9fb412fe0f
# Parent 528da6bfd0daed4355d745590d5ac3a319b08fb4

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381447 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 245212b4 06-Sep-2012 Andrew Rist

calcishmakkica: #i114428# implement XOR

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <makkica@openoffice.org>
Original Committer: Eike Rathke [er] <ei

calcishmakkica: #i114428# implement XOR

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <makkica@openoffice.org>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1284060031 -7200
# Node ID 528da6bfd0daed4355d745590d5ac3a319b08fb4
# Parent 237cb91dd986ff11eb100cc631206cda102e91f7


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381446 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# f53782eb 06-Sep-2012 Andrew Rist

calcishmakkica: #i101466# implement AVERAGEIF; slightly reworked patch by <makkica>

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <makkica@openoffice.org>

calcishmakkica: #i101466# implement AVERAGEIF; slightly reworked patch by <makkica>

From: Eike Rathke <erack@apache.org>

Original Author: Marina Plakalovic <makkica@openoffice.org>
Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1284055400 -7200
# Node ID 237cb91dd986ff11eb100cc631206cda102e91f7
# Parent 1c32319bb02fdf173de6a609fca9f2e9c9f4c73a

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1381445 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b3f79822 06-Nov-2011 Andrew Rist

Update headers to Alv2 headers

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1198280 13f79535-47bb-0310-9956-ffa450edef68


# cdf0e10c 16-Aug-2011 rcweir

Initial import of the old OOo hg repository tip revision.

.../trunk/main is a copy of (currently tip-most)
http://hg.services.openoffice.org/OOO340/rev/c904c1944462

.../trunk/

Initial import of the old OOo hg repository tip revision.

.../trunk/main is a copy of (currently tip-most)
http://hg.services.openoffice.org/OOO340/rev/c904c1944462

.../trunk/extras/l10n is a copy of (currently tip-most)
http://hg.services.openoffice.org/master_l10n/OOO340/rev/af6bc9467af5

Note that the following files with line-end and/or encoding anomalies were left out (they will need to be to be checked in separately):

/ooo/trunk/core/dictionaries/de_DE/README_hyph_de_DE.txt
/ooo/trunk/core/dictionaries/de_CH/README_hyph_de_CH.txt
/ooo/trunk/core/dictionaries/de_AT/README_hyph_de_AT.txt
/ooo/trunk/core/gettext/gettext-0.18.1.1.patch
/ooo/trunk/core/apache-commons/patches/codec.patch
/ooo/trunk/core/libcroco/libcroco-0.6.2.patch
/ooo/trunk/core/testautomation/writer/optional/input/import/mactext.txt
/ooo/trunk/core/graphite/graphite-2.3.1.patch
/ooo/trunk/core/hwpfilter/source/hwpeq.cpp
/ooo/trunk/core/solenv/bin/cwstouched.pl
/ooo/trunk/core/readlicense_oo/html/THIRDPARTYLICENSEREADME.html
/ooo/trunk/core/writerfilter/source/doctok/escher.html
/ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/xsdlib.xsd
/ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/wordnetaux.xsd
/ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/body.xsl
/ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl

Also: Repository.mk from the l10n toplevel


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162288 13f79535-47bb-0310-9956-ffa450edef68

show more ...