vcl: check bounds in the font subsetterMake the CFF charstring interpreter's stack and array checks run-timechecks, and limit its output to the buffer it writes into.Check the TrueType parser's
vcl: check bounds in the font subsetterMake the CFF charstring interpreter's stack and array checks run-timechecks, and limit its output to the buffer it writes into.Check the TrueType parser's table, glyph and cmap subtable offsets andlengths against the tables they refer to.Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
show more ...
VCL: when loading PNG's, ensure we do not reuse an object that was created on the stackAlso, add a guard to ZCodec against unwanted reusal of variables.
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
Windows/amd64 compatibility fixes for winaccessibility.Patch by: me(cherry picked from commit 1a3e085a5d8dd98130f9986ce05a96232f54c559)
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)
Cleanup
Use 'zeros' instead of 'zeroes', at least in UI
Code cleanup
Quick hack to get rid of the embossed look in tabbar, cleanup
Fix pre-commit trim trailing whitespace
misc: fix spelling (#461)* misc: fix spelling* Regenerate ignored words list codespell.txt
misc: fix more typos (#460)* misc: fix more typos* Regenerate ignored words list codespell.txt
misc: fix spelling (#459)* misc: fix spelling* Regenerate ignored words list codespell.txt
Merge pull request #402 from apache/bug126768Address bug #126768
Do not assume that mvGlyph2Char and mvChar2BaseGlyph are the same size
Fix more spelling (#443)* Fix spelling* Regenerate ignored words list codespell.txt
Fix more typos (#440)* Fix more typos* Regenerate ignored words list codespell.txt
Fix typos (#438)* Fix more typos* Regenerate ignored words list codespell.txt
Some nicer code from László from:https://bz.apache.org/ooo/show_bug.cgi?id=42424
Fixed typos, cleanup
Fix typos (#425)* Fix typos* Recreate ignored words list codespell.txt
12345678910>>...14