Win10 msvc trunk (#498)Build trunk on Windows with a modern MSVCconfigure.ac required VS2008, but the bundled dependencies had moved pastwhat VC9 can compile -- boost 1.84 needs C++11, Python 3.
Win10 msvc trunk (#498)Build trunk on Windows with a modern MSVCconfigure.ac required VS2008, but the bundled dependencies had moved pastwhat VC9 can compile -- boost 1.84 needs C++11, Python 3.11 needs VS2017 ornewer -- so the configured compiler could not build the configureddependencies, and no combination of the two worked. Every other platform hadalready moved; Windows was the one left pinned.This branch accepts a VS2015-or-newer toolset and the Windows 10 SDK, thenfixes what a modern compiler and SDK find: export lists, entry points, CRTand manifest handling, and source conformance across the tree. Everydependency builds, including Python, which trunk has never built on Windowsat all. The CLI/.NET binding is ported from Managed C++ to C++/CLI and itsbridgetest passes.configure, bootstrap and build.pl now run to completion, andinstsetoo_native produces openoffice450.msi and openoffice450sdk.msi.coinMp has been updated to the latest Version.What this does not claim: the office has not been started, andtesttools/source/bridgetest still fails getCaughtException() in the x86 C++bridge. Python is built without _ssl, _ctypes, _bz2, _lzma and _sqlite3, andPlatform SDK v7.0 is still required alongside the Windows 10 SDK. No otherplatform's build is changed.Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>Claude-Session: https://claude.ai/code/session_01UWgzQY2r1XwFvgeLPFWPsi
show more ...
scaddins: trailing whitespace in Complex::SechTwo spaces after "Num = 1.0 / Num;", arrived with c6461c6d88 "Calc: use STDC++ for Complex functions." pre-commit's trailing-whitespace hook runs--a
scaddins: trailing whitespace in Complex::SechTwo spaces after "Num = 1.0 / Num;", arrived with c6461c6d88 "Calc: use STDC++ for Complex functions." pre-commit's trailing-whitespace hook runs--all-files on every pull request, so this one line fails the check forevery change to the tree, not just for that commit.Whitespace only -- `git diff --ignore-all-space` over this commit is empty.Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>Claude-Session: https://claude.ai/code/session_01UWgzQY2r1XwFvgeLPFWPsi
Calc: use STD C++ for Complex functions.At first many of these calculations were handwritten and could overflow.Later we started using the available Boost for some edge cases which wasa good solu
Calc: use STD C++ for Complex functions.At first many of these calculations were handwritten and could overflow.Later we started using the available Boost for some edge cases which wasa good solution to make up for the lack of such function in some of thesupported platforms.The latest versions of Boost though, are deprecating Boost complex functionsin favor of the C++ standard library and its now time to catch up.As a result of this change, the results of IMSECH and IMCSCH don't matchthe examples in the the help but matches the results in Excel.
chore: whitespace clean up for `.src` files (#429)Enforced 3 hooks for `.src` files- end-of-file-fixer- mixed-line-ending- trailing-whitespace
pre-commit whitespace cleanup for `.component` files (#398)Enforced 3 hooks for `.component` files:- end-of-file-fixer- mixed-line-ending- trailing-whitespace
pre-commit auto remove trailing whitespace from cxx files (#383)Another big auto clean up. So many lines !!Another one bites the dusthttps://www.youtube.com/watch?v=rY0WxgSXdEECo-authored-by:
pre-commit auto remove trailing whitespace from cxx files (#383)Another big auto clean up. So many lines !!Another one bites the dusthttps://www.youtube.com/watch?v=rY0WxgSXdEECo-authored-by: Matthias Seidel <mseidel@apache.org>
pre-commit auto clean trailing whitespace in dxp and hxx files (#381)A huge auto clean up by pre-commit and I can make smaller PRs if needed.Seems we have a lot of extra whitespace junk in our co
pre-commit auto clean trailing whitespace in dxp and hxx files (#381)A huge auto clean up by pre-commit and I can make smaller PRs if needed.Seems we have a lot of extra whitespace junk in our code baseThe NeverEnding Story was a great film back in the old days :)Great video and theme song by Limahlhttps://www.youtube.com/watch?v=lHytjEj7B9ghttps://en.wikipedia.org/wiki/The_NeverEnding_Story_(film)
pre-commit auto remove unneeded whitespace in idl files (#380)I know way to many files and changes for a standard pull request.I can make a smaller PR if needed.Ran pre-commit here locally to a
pre-commit auto remove unneeded whitespace in idl files (#380)I know way to many files and changes for a standard pull request.I can make a smaller PR if needed.Ran pre-commit here locally to auto clean up all this trialing whitespaceUp for review. Thanks
pre-commit auto remove trailing whitespace from `.mk` files (#377)If there are too many changes / files I can create a smaller PRThanks
pre-commit(trailing-whitespace): autofix .hrc files (#350)
pre-commit(end-of-file-fixer): autofix more cxx files in main (#314)
pre-commit(end-of-file-fixer): auto fix idl files
Fix end of hxx files remove unneeded blank lines (#242)
Fixed typos (thats -> that's) and many more
Allow specifying the .rdb file, and which UNO types to generate headersfrom, in the gbuild *_set_private_api function. Fix codemaker'smakefile to use this.Port main/scaddins to gbuild.Patch by:
Allow specifying the .rdb file, and which UNO types to generate headersfrom, in the gbuild *_set_private_api function. Fix codemaker'smakefile to use this.Port main/scaddins to gbuild.Patch by: megit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839908 13f79535-47bb-0310-9956-ffa450edef68
Fix build with modern boost which has dropped the old tr1 headers.Support for the native <complex> include file has been around on Linuxsince at least CentOS 5.git-svn-id: https://svn.apache.org
Fix build with modern boost which has dropped the old tr1 headers.Support for the native <complex> include file has been around on Linuxsince at least CentOS 5.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1809957 13f79535-47bb-0310-9956-ffa450edef68
Replace the random generator in RANDBETWEEN()For consistency with RAND(), replace the old Wichman-Hill withan even older version of George Marsaglia's KISS algorithm.For the intended use this is
Replace the random generator in RANDBETWEEN()For consistency with RAND(), replace the old Wichman-Hill withan even older version of George Marsaglia's KISS algorithm.For the intended use this is more than enough andstill should pass all statistics tests.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1702992 13f79535-47bb-0310-9956-ffa450edef68
#i95167 XIRR() function gives Err:502Patch by: Driss Ben Zoubeir <driss.zoubeir@gmail.com>Review by: Regina Henschel <rb.henschel@t-online.de>git-svn-id: https://svn.apache.org/repos/asf/openoffi
#i95167 XIRR() function gives Err:502Patch by: Driss Ben Zoubeir <driss.zoubeir@gmail.com>Review by: Regina Henschel <rb.henschel@t-online.de>git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1671558 13f79535-47bb-0310-9956-ffa450edef68
Many spelling fixes: directories r* - z*.Attempt to clean up most but certainly not all the spellingmistakes that found home in OpenOffice through decades. Wecould probably blame the internationa
Many spelling fixes: directories r* - z*.Attempt to clean up most but certainly not all the spellingmistakes that found home in OpenOffice through decades. Wecould probably blame the international nature of the code butit 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
#i122301# switch Mac port to SDK 10.7 / 64bitgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1560747 13f79535-47bb-0310-9956-ffa450edef68
#i123068# remove implicit conversions from rtl strings to their elementsgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1546390 13f79535-47bb-0310-9956-ffa450edef68
#i122997 Calculation error in IMABS() functiongit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1512966 13f79535-47bb-0310-9956-ffa450edef68
i121722 corrected calculation for IMCSCH and IMSECHAuthor: Maarten KesselaersReview by: Regina Henschelgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1457731 13f79535-47bb-0310-995
i121722 corrected calculation for IMCSCH and IMSECHAuthor: Maarten KesselaersReview by: Regina Henschelgit-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1457731 13f79535-47bb-0310-9956-ffa450edef68
Use TR1 C++ complex class instead of simple record fields.The syntax is different and somewhat ugly as it doesn't seempossible to manipulate directly the real or imaginary partsbut it is possible
Use TR1 C++ complex class instead of simple record fields.The syntax is different and somewhat ugly as it doesn't seempossible to manipulate directly the real or imaginary partsbut it is possible to use operator overloading.This is done for "fun" and to keep in line with evolving C++standards. Numerical results should be unaffected.git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1441604 13f79535-47bb-0310-9956-ffa450edef68
i121421 - Calc's RAND() behaves poorly on most platforms.Replace WH2006 PRNG with the well known Mersenne Twisteras implemented in Boost. This actually has some drawbackswith respect to our previ
i121421 - Calc's RAND() behaves poorly on most platforms.Replace WH2006 PRNG with the well known Mersenne Twisteras implemented in Boost. This actually has some drawbackswith respect to our previous implementation: we lose thenifty seeding and instead use the timer which isnon-optimal.The main reason is the speed: MT is said to be at least4 times faster.On the other hand I also moved the WH to the scaddinsmodule where it is used by Calc's RANDBETWEEN function.This way we still have the alternative PRNG and wedrop 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
12