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 ...
Only build the StarBasic "DLL manager" on x86 Win32, instead ofany Windows system that isn't AMD64. It only supports x86 Win32and never supported anything else; there were discussions onbugs 11206
Only build the StarBasic "DLL manager" on x86 Win32, instead ofany Windows system that isn't AMD64. It only supports x86 Win32and never supported anything else; there were discussions onbugs 112064 and 126277 about other platforms, but developmentnever got completed and merged.Patch by: me
vcl/basic/sfx2/unixODBC: Win64 (x64) source fixesSource-level fixes needed to compile/link these modules for Windows x86-64(VS2008 x64). Each is arch-neutral or arch-guarded, so the x86 build is
vcl/basic/sfx2/unixODBC: Win64 (x64) source fixesSource-level fixes needed to compile/link these modules for Windows x86-64(VS2008 x64). Each is arch-neutral or arch-guarded, so the x86 build isunchanged; isolated here so they can be cherry-picked onto the dmakewindows-amd64 branch / upstream.- vcl/inc/win/wincomp.hxx: the pointer/handle class- and window-long indices GCL_HCURSOR/GCL_HICON/GCL_HBRBACKGROUND and GWL_HINSTANCE do not exist on Win64; use GCLP_*/GWLP_* with SetClassLongPtr/GetClassLongPtr/ GetWindowLongPtr and (LONG_PTR) casts (compile on x86 too).- vcl/win/source/window/salframe.cxx: PtrToInt(wParam) misused on the integer IME request code (WPARAM is 64-bit on x64) -> static_cast<int>.- vcl/win/source/gdi/salgdi.cxx: ImplPreparePolyDraw took const sal_uLong* while the drawPolyPolygon* callers pass const sal_uInt32* (distinct pointer types on x64) -> sal_uInt32*.- vcl/source/window/scrwnd.cxx: Max(sal_uIntPtr, 1UL) ambiguous on x64 (sal_uIntPtr is 64-bit, 1UL is unsigned long) -> Max(..., sal_uIntPtr(1UL)).- basic/source/runtime/dllmgr.cxx: the DllMgr_call32/callFp trampolines (wnt.asm) are x86 stdcall only; guard #if defined WNT -> #if defined(WNT) && !defined(_WIN64) so x64 uses the existing not-implemented stub (Basic Declare'd DLL calls unsupported on x64 until an x64 trampoline is written).- sfx2/source/bastyp/progress.cxx: extern Get10ThSec declared sal_uIntPtr but the definition returns sal_uInt32; these coincide on x86 but diverge on x64 (link error) -> declare sal_uInt32.- unixODBC/inc/sqltypes.h: the _WIN64 branch uses INT64/UINT64 for SQLLEN/SQLULEN without pulling them in -> #include <basetsd.h> (arch-guarded).Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>(cherry picked from commit ca1383cbf9353b4189783687c37e993025edf764)(cherry picked from commit a82fa8aef582f462d3f5518690eb9c6c33e5e8d0)
Use 'zeros' instead of 'zeroes', at least in UI
pre-commit whitespace cleanup for s files (#463)Enforced 3 hooks for s files:- end-of-file-fixer- mixed-line-ending- trailing-whitespace
pre-commit whitespace clean up for asm files (#462)Enforced 3 hooks for asm files:- end-of-file-fixer- mixed-line-ending- trailing-whitespace
Fix typos (#442)* Fix spelling* Regenerate ignored words list codespell.txt
Fix more typos (#441)* Fix spelling* Regenerate ignored words list codespell.txt
Fix more typos (#440)* Fix more typos* Regenerate ignored words list codespell.txt
Cleanup resource files
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 auto whitespace clean up for `bas` files (#417)Enforced two hooks for `bas` files:- end-of-file-fixer- trailing-whitespace
Fix spelling (#413)* Fix spelling* Recreate the ignored words list
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 remove trailing whitespace from h files (#385)Another big auto clean up by pre-commit similar to the others
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 trailing whitespace from Makefiles (#378)Cleaned up some whitespace in the Makefiles
pre-commit auto remove trailing whitespace from `.mk` files (#377)If there are too many changes / files I can create a smaller PRThanks
Fix spelling (#368)* misc: fix spelling* Update ignored words list
Fix spelling (#365)* Fix spelling* Update ignored words list* Update shell.cxx---------Co-authored-by: Matthias Seidel <mseidel@apache.org>
Cleanup
Remove second semicolon (work in progress)
1234