History log of /trunk/test/ (Results 1 – 25 of 366)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4309068e18-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: SEARCHB.regex.star should expect 3

As a regex a*c on "abc" matches the c, like SEARCH does.
1 is the wildcard answer.

e1d6348918-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: ODS-related save/reload check for ISOWEEKNUM and WEEKNUM

f15d8c2318-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: calcval cases for ODDFPRICE and ODDFYIELD

Expected values are Excel results from the random comparison. The rows
where we differ from Excel (DFC equal to E, annual 30/360 at the e

test/odf-validate: calcval cases for ODDFPRICE and ODDFYIELD

Expected values are Excel results from the random comparison. The rows
where we differ from Excel (DFC equal to E, annual 30/360 at the end of
February) we decide to keep our results and document it in the note.

show more ...

5c5cb5c318-Nov-2026 Jim Jagielski <jimjag@gmail.com>

Merge branch 'openformula' of https://github.com/apache/openoffice into openformula

437c29e018-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: F.DIST for very large X, RRI with Nper <= 0

F.DIST(1E308;5;10) gave #VALUE! and F.DIST(1E17;5;1;0) gave Err:502.
RRI(0;100;100) returned 0 and RRI(-2;100;200) a finite rate. Both are errors
now,

sc: F.DIST for very large X, RRI with Nper <= 0

F.DIST(1E308;5;10) gave #VALUE! and F.DIST(1E17;5;1;0) gave Err:502.
RRI(0;100;100) returned 0 and RRI(-2;100;200) a finite rate. Both are errors
now, as they should have been.

show more ...

b5b8b95318-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: more calcval cases for the post-#523 functions

Edge cases for ISOWEEKNUM, HYPGEOMDIST, F.DIST, F.INV, FINDB, SEARCHB
and REPLACEB, from Pedro's cases with the expected values reco

test/odf-validate: more calcval cases for the post-#523 functions

Edge cases for ISOWEEKNUM, HYPGEOMDIST, F.DIST, F.INV, FINDB, SEARCHB
and REPLACEB, from Pedro's cases with the expected values recomputed;
several of his were wrong. SEARCHB goes by regex, not wildcards.

show more ...

481a24d818-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: replace the post-#523 calcval cases with ones checked against Excel

Again, we're using Excel (and our interpretation of the docs)
to determine "correctness"


/trunk/audit/openformula-function-gaps/function-gap-inventory.md
/trunk/audit/openformula-function-gaps/function-gap-summary.tsv
/trunk/audit/openformula-function-gaps/function-implementation-roadmap.md
/trunk/audit/openformula-function-gaps/function-source-audit.md
/trunk/main/formula/inc/formula/FormulaCompiler.hxx
/trunk/main/formula/inc/formula/compiler.hrc
/trunk/main/formula/inc/formula/opcode.hxx
/trunk/main/formula/source/core/api/FormulaCompiler.cxx
/trunk/main/formula/source/core/resource/core_resource.src
/trunk/main/helpcontent2/source/text/scalc/01/04060102.xhp
/trunk/main/helpcontent2/source/text/scalc/01/04060109.xhp
/trunk/main/helpcontent2/source/text/scalc/01/04060110.xhp
/trunk/main/helpcontent2/source/text/scalc/01/04060182.xhp
/trunk/main/helpcontent2/source/text/scalc/01/func_datedif.xhp
/trunk/main/helpcontent2/source/text/scalc/01/func_errortype.xhp
/trunk/main/helpcontent2/source/text/scalc/01/func_numbervalue.xhp
/trunk/main/helpcontent2/source/text/scalc/01/func_searchb.xhp
/trunk/main/helpcontent2/util/scalc/makefile.mk
/trunk/main/oox/source/xls/formulabase.cxx
/trunk/main/sc/inc/helpids.h
/trunk/main/sc/source/core/inc/interpre.hxx
/trunk/main/sc/source/core/tool/interpr1.cxx
/trunk/main/sc/source/core/tool/interpr2.cxx
/trunk/main/sc/source/core/tool/interpr3.cxx
/trunk/main/sc/source/core/tool/interpr4.cxx
/trunk/main/sc/source/filter/excel/xlformula.cxx
/trunk/main/sc/source/ui/src/scfuncs.src
/trunk/main/sc/util/hidother.src
/trunk/main/scaddins/source/analysis/analysishelper.cxx
/trunk/main/scaddins/source/analysis/financial.cxx
odf-validate/calcval-cases14.tsv
odf-validate/calcval.py
38aedfe218-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.9.1: Fix HYPGEOMDIST cumulative default for backward compatibility

- 4-argument calls return PMF (Cumulative=FALSE) for legacy Excel/Calc compatibility
- 5-argument calls respect explicit Cumulati

H.9.1: Fix HYPGEOMDIST cumulative default for backward compatibility

- 4-argument calls return PMF (Cumulative=FALSE) for legacy Excel/Calc compatibility
- 5-argument calls respect explicit Cumulative flag (TRUE=CDF, FALSE=PMF)
- Updated help text to clarify default behavior for 4-arg vs 5-arg calls
- Updated test comments to reflect correct expectations

show more ...

c588e16118-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.9: Add Cumulative parameter to HYPGEOMDIST

- ScHypGeomDist(): Support 4-5 params, add Cumulative flag (default TRUE)
- Add lcl_CalcHypGeomPMF() helper using log-gamma for PMF
- CDF: sum of PMF fro

H.9: Add Cumulative parameter to HYPGEOMDIST

- ScHypGeomDist(): Support 4-5 params, add Cumulative flag (default TRUE)
- Add lcl_CalcHypGeomPMF() helper using log-gamma for PMF
- CDF: sum of PMF from 0 to x when Cumulative=TRUE
- Function Wizard: 5 params, Cumulative param added
- Help: Updated syntax, Cumulative param doc, examples
- Tests: 15 cases (PMF, CDF, legacy, edge cases, legacy name)

Fixes Err:504 for 5-arg calls

show more ...

643fd76218-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.8.1: FDIST/FINV opcode separation — standard left-tail vs legacy right-tail

- New opcodes: SC_OPCODE_LEGACY_F_DIST=417, SC_OPCODE_LEGACY_F_INV=418
- Standard FDIST/FINV: left-tail CDF and inverse

H.8.1: FDIST/FINV opcode separation — standard left-tail vs legacy right-tail

- New opcodes: SC_OPCODE_LEGACY_F_DIST=417, SC_OPCODE_LEGACY_F_INV=418
- Standard FDIST/FINV: left-tail CDF and inverse
- Legacy LEGACY.FDIST/LEGACY.FINV: right-tail CDF and inverse (preserved)
- New evaluators: ScLegacyFDist(), ScLegacyFInv() (right-tail)
- Standard ScFDist() now computes left-tail CDF (1 - right-tail)
- Standard ScFInv() now inverts left-tail CDF
- BIFF import uses legacy opcodes for backward compatibility
- ODF import uses standard opcodes
- Function Wizard resources for both standard and legacy
- Help IDs and help topics for both standard and legacy
- Updated test vectors for standard/legacy/round-trip/cross-tail
- Updated help documentation for standard/legacy

show more ...

7024dd4318-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.8: Fix FDIST/FINV — param count, help, tests, density function

- FDIST: Add 4th param (cumulative flag) per ODF 6.17.9
- ScFDist() now supports 3-4 params, defaults to cumulative=TRUE
- Added

H.8: Fix FDIST/FINV — param count, help, tests, density function

- FDIST: Add 4th param (cumulative flag) per ODF 6.17.9
- ScFDist() now supports 3-4 params, defaults to cumulative=TRUE
- Added GetFDistDens() for probability density function
- Function Wizard: param count 4, help ID HID_FUNC_FDIST
- Help: HID_FUNC_FDIST (was HID_FUNC_FVERT), 04060182.xhp updated
- Added GetFDistDens() for density function

- FINV: Help and tests updated
- 04060182.xhp FINV section improved
- Test cases added

- Both: Added regression tests (SG.FDIST-01..12, SG.FINV-01..12)
- FDIST: basic, density, cumulative, edge cases, legacy name
- FINV: basic, roundtrip, edge cases, legacy name

- Audit records updated

show more ...

9bc678ec17-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.5.1: Priority 2 consistency fixes - calcval tests for H.1/H.2 functions

- Add 40 calcval test cases:
- SG.NUMVAL-01..10 (NUMBERVALUE: basic, European, group sep, percent, whitespace, empty, inva

H.5.1: Priority 2 consistency fixes - calcval tests for H.1/H.2 functions

- Add 40 calcval test cases:
- SG.NUMVAL-01..10 (NUMBERVALUE: basic, European, group sep, percent, whitespace, empty, invalid, locale, cell ref)
- SG.FINDB-01..10 (FINDB: basic, start pos, not found, case-sensitive, bounds, DBCS)
- SG.SEARCHB-01..10 (SEARCHB: basic, case-insensitive, wildcards, regex, DBCS)
- SG.REPLACEB-01..10 (REPLACEB: basic, append, multi-byte, DBCS, bounds, zero count)
- Update function-semantic-test-plan.md to reflect implemented status

show more ...

517a2e3b17-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.5: Implement ISO 8601 ISOWEEKNUM semantics

- Add SC_OPCODE_ISOWEEKNUM (416) and ocIsoWeekNum
- Add ScIsoWeekNum() using Date::GetWeekOfYear(MONDAY, 4)
- Register ISOWEEKNUM in ODF and Excel namesp

H.5: Implement ISO 8601 ISOWEEKNUM semantics

- Add SC_OPCODE_ISOWEEKNUM (416) and ocIsoWeekNum
- Add ScIsoWeekNum() using Date::GetWeekOfYear(MONDAY, 4)
- Register ISOWEEKNUM in ODF and Excel namespaces
- Add Function Wizard entry (1 arg, no mode)
- Add HID_FUNC_ISOWEEKNUM and help topic func_isoweeknum.xhp
- Add calcval tests SG.ISO-01..25 (year boundaries, week 53, leap, century, time fractions)
- WEEKNUM (ScGetWeekOfYear) unchanged: retains 2-arg SUN/MON mode
- Update audit records

show more ...

cf30ea8b17-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.4: Fix ERROR.TYPE error-code mapping, add help and tests

- Add MapErrorType() mapping internal AOO error codes to ODF 1-7
- Update ScErrorType() to return ERROR.TYPE values per ODF 1.4
- Add Engli

H.4: Fix ERROR.TYPE error-code mapping, add help and tests

- Add MapErrorType() mapping internal AOO error codes to ODF 1-7
- Update ScErrorType() to return ERROR.TYPE values per ODF 1.4
- Add English help topic func_errortype.xhp
- Add calcval test cases SG.ERRTYPE-01..12
- Update audit records

show more ...

62e7f86e17-Nov-2026 Pedro Giffuni <pfg@apache.org>

H.3.1: Complete DATEDIF semantics, help, and tests

- Correct md borrow, ym/yd anniversary handling, and signed arithmetic
- Add ScDateDif declaration and help topic registration
- Fix SG.DATEDIF-010

H.3.1: Complete DATEDIF semantics, help, and tests

- Correct md borrow, ym/yd anniversary handling, and signed arithmetic
- Add ScDateDif declaration and help topic registration
- Fix SG.DATEDIF-010-md expectation and expand DATEDIF calcval coverage
- Update DATEDIF design and audit records

show more ...

f8b15cbb17-Nov-2026 Pedro Giffuni <pfg@apache.org>

impl: Add DATEDIF function (H.3)

Implement ODF 1.4 §6.10.3 DATEDIF natively in Calc:

- New opcode SC_OPCODE_DATEDIF = 415 (existing opcodes unchanged;
STOP_2_PAR moved to 416, LAST_OPCODE_ID to 4

impl: Add DATEDIF function (H.3)

Implement ODF 1.4 §6.10.3 DATEDIF natively in Calc:

- New opcode SC_OPCODE_DATEDIF = 415 (existing opcodes unchanged;
STOP_2_PAR moved to 416, LAST_OPCODE_ID to 415)
- ScInterpreter::ScDateDif() evaluator in interpr2.cxx implementing
all six formats (y, m, d, md, ym, yd) using calendar arithmetic
(not day-count approximation)
- Document-aware null date via pFormatter->GetNullDate()
- Floor-based time fraction handling
- Case-sensitive format matching with invalid format rejection
- Reverse-date handling: y/m/d negated, md/ym/yd absolute
- Function Wizard entry, help ID, and 15 regression test cases
- Semantic design documented in audit/openformula-function-gaps/

No build or runtime testing performed (GCC 15.2 ABI incompatibility
blocks AOO compilation). Runtime validation deferred.

show more ...

0224e3dc17-Nov-2026 Pedro Giffuni <pfg@apache.org>

impl: Add NUMBERVALUE evaluator and FINDB/SEARCHB/REPLACEB functions (H.1, H.2)

Implement four missing Calc functions on the openformula branch:

1. NUMBERVALUE (ODF 1.4 §6.13.28) - evaluates text-t

impl: Add NUMBERVALUE evaluator and FINDB/SEARCHB/REPLACEB functions (H.1, H.2)

Implement four missing Calc functions on the openformula branch:

1. NUMBERVALUE (ODF 1.4 §6.13.28) - evaluates text-to-number with explicit
decimal and group separators. Connects existing opcode 392 (ocNumberValue)
to a new ScInterpreter::ScNumberValue() evaluator implementing whitespace
removal, trailing percent handling (each % divides by 100), lenient group
separator removal (no strict 3-digit rule), decimal-to-period replacement,
and full-string consumption validation via ::rtl::math::stringToDouble.
Locale defaults used for omitted/empty separators.

2. FINDB / SEARCHB / REPLACEB - byte-oriented text functions completing the
existing LENB/LEFTB/RIGHTB/MIDB family. New opcodes 412-414 added at the
end of the function range (existing opcodes unchanged to preserve XLS binary
compatibility, where tokstack.cxx stores 8192+opcode_value). DBCS byte model
(1 byte ASCII/non-DBCS, 2 bytes DBCS per IsDBCS()), consistent with existing
B functions. FINDB case-sensitive, SEARCHB case-insensitive via utl::TextSearch,
REPLACEB avoids splitting DBCS characters at boundaries.

Also adds Function Wizard documentation (scfuncs.src), help IDs (helpids.h,
hidother.src), and 26 regression test cases (calcval-cases14.tsv).

show more ...

6a2f742016-Nov-2026 Pedro Giffuni <pfg@apache.org>

fix: Correct CONVERT atm and Torr factors to ODF 1.4 Table 24

Correct atmospheric pressure conversion factors in Calc's CONVERT
implementation (Analysis add-in) to match ODF 1.4 Part 4, Section 6.16

fix: Correct CONVERT atm and Torr factors to ODF 1.4 Table 24

Correct atmospheric pressure conversion factors in Calc's CONVERT
implementation (Analysis add-in) to match ODF 1.4 Part 4, Section 6.16.18,
Table 24:

- atm: 1 atm = 101325.1 Pa (factor was 9.8692329999819300E-06, now
9.86922292699439618E-06 = 1/101325.1)
- Torr: 1 Torr = 101325/760 Pa exactly (factor was
7.5006380000000000E-03, now 7.50061682704169716E-03 = 760/101325)
- SI_at: unchanged at 1.0197162129779282E-05 = 1/98066.5 (correct to 1 ULP)

The table stores reciprocal base-unit factors (1 Pa = X units), so the
conversion algorithm result = input * dest_factor / source_factor remains
unchanged.

Added 6 regression test cases covering both conversion directions for all
three units plus cross-conversions (atm->Torr, SI_at->atm, Torr->SI_at).

show more ...


/trunk/main/avmedia/source/win/player.cxx
/trunk/main/avmedia/source/win/window.cxx
/trunk/main/crashrep/source/win32/soreport.cpp
/trunk/main/desktop/win32/source/setup/setup.cpp
/trunk/main/desktop/win32/source/setup/setup.ulf
/trunk/main/embedserv/source/embed/syswinwrapper.cxx
/trunk/main/external/vcredist/README
/trunk/main/helpcontent2/source/text/scalc/01/04060105.xhp
/trunk/main/helpcontent2/source/text/scalc/01/func_iferror.xhp
/trunk/main/helpcontent2/source/text/scalc/01/makefile.mk
/trunk/main/helpcontent2/util/scalc/makefile.mk
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt
/trunk/main/instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt
/trunk/main/oox/source/xls/formulabase.cxx
/trunk/main/python/makefile.mk
/trunk/main/python/python-3.11.15-win7.patch
/trunk/main/sal/systools/win32/uwinapi/makefile.mk
/trunk/main/sc/source/core/tool/compiler.cxx
/trunk/main/sc/source/filter/excel/xlformula.cxx
/trunk/main/sc/source/ui/app/inputwin.cxx
/trunk/main/scaddins/source/analysis/analysishelper.cxx
/trunk/main/scp2/source/ooo/windowscustomaction_ooo.scp
/trunk/main/sd/source/filter/sdfilter.cxx
/trunk/main/setup_native/source/win32/customactions/shellextensions/exports.dxp
/trunk/main/setup_native/source/win32/customactions/shellextensions/makefile.mk
/trunk/main/setup_native/source/win32/customactions/shellextensions/resetprofile.cxx
/trunk/main/setup_native/source/win32/nsis/downloadtemplate.nsi
/trunk/main/sfx2/source/appl/shutdowniconw32.cxx
/trunk/main/shell/source/tools/lngconvex/lngconvex.cxx
/trunk/main/solenv/bin/modules/installer/globals.pm
/trunk/main/solenv/bin/modules/installer/windows/file.pm
/trunk/main/solenv/bin/modules/installer/windows/upgrade.pm
/trunk/main/solenv/gbuild/platform/windows.mk
/trunk/main/solenv/inc/minor.mk
/trunk/main/solenv/inc/wntmsci11.mk
/trunk/main/solenv/inc/wntmscx.mk
/trunk/main/vcl/aqua/source/gdi/salbmp.cxx
/trunk/main/vcl/aqua/source/gdi/salgdi.cxx
/trunk/main/vcl/aqua/source/gdi/salgdiutils.cxx
/trunk/main/vcl/aqua/source/gdi/salvd.cxx
/trunk/main/vcl/aqua/source/window/salframe.cxx
/trunk/main/vcl/aqua/source/window/salframeview.mm
/trunk/main/vcl/inc/aqua/salbmp.h
/trunk/main/vcl/inc/aqua/salframe.h
/trunk/main/vcl/inc/aqua/salframeview.h
/trunk/main/vcl/inc/aqua/salgdi.h
/trunk/main/vcl/inc/aqua/salvd.h
/trunk/main/vcl/inc/aqua/scaledlayer.h
/trunk/odf_docs/openformula-conformance.md
/trunk/odf_docs/openformula-final-report.md
/trunk/odf_docs/openformula-milestone-a-report.md
/trunk/odf_docs/openformula-milestone-b-report.md
/trunk/odf_docs/openformula-milestone-c-report.md
/trunk/odf_docs/openformula-milestone-g-sequence.md
/trunk/odf_docs/openformula-modernization-plan.md
/trunk/odf_docs/openformula-odf13-14-diff.md
/trunk/odf_docs/openformula-release-notes.md
/trunk/odf_docs/openformula-semantics.md
/trunk/odf_docs/openformula-small-group-audit.md
/trunk/odf_docs/openformula-small-group-semantic-audit.md
/trunk/odf_docs/openformula-small-group-test-plan.md
/trunk/odf_docs/openformula-test-gap-analysis.md
odf-validate/calcval-cases14.tsv
/trunk/win10-msvc/README.md
6f13be1d16-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: implement IFERROR as a jump function like IFNA

b3bfdbdc15-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: allow string literals up to 32767 characters in formulas

4c0c4b0414-Nov-2026 Jim Jagielski <jimjag@gmail.com>

test/odf-validate: use one-column criteria arrays in the DCOUNT zero cases

ad46309f14-Nov-2026 Pedro Giffuni <pfg@apache.org>

docs/tests: G.2 ScDBCount empty-cell fix — source-level implementation with regression tests

The DCOUNT/DCOUNTA empty-cell limitation is resolved at source level via
CountRecords() (dociter.cxx:685-

docs/tests: G.2 ScDBCount empty-cell fix — source-level implementation with regression tests

The DCOUNT/DCOUNTA empty-cell limitation is resolved at source level via
CountRecords() (dociter.cxx:685-716), used by ScDBCount()
(interpr1.cxx:6871-6902) and ScDBCount2() (interpr1.cxx:6905-6935).
CountRecords() iterates row-by-row via IsQueryValid(), counting all
matching records regardless of cell emptiness — per ODF 1.4 §6.9.3/§6.9.4.

No production code changes needed — fix already in place via trunk commits
rebased onto openformula. G.2 marked IMPLEMENTED (source-level) in
milestone docs; semantic audit stale limitation statements removed.

Regression tests added to calcval-cases14.tsv:
- DB.DCOUNT.f.zero: numeric zero vs empty with field (COUNT: 0 counts,
empty does not)
- DB.DCOUNT.nf.zero: zero vs empty without field (all matching records count)
- DB.DCOUNTA.f.zero: zero vs empty with field for COUNTA (0 counts, empty
does not)

Update openformula-milestone-g-sequence.md G.2 status to IMPLEMENTED.
Remove stale G.2 limitation statements from
openformula-small-group-semantic-audit.md.
Update F-GAP-004 in semantic-gaps.tsv to reflect fix applied.

Runtime verification blocked: no AOO build tree available; calcval cannot
run. git diff --check clean; TSV format valid.

show more ...

30877e2713-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: do not count rows without content as records in DCOUNT and DCOUNTA

Without a field, blank rows in the database range matched "=" and "<>x".

b5a1b43b13-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: count every matching record in DCOUNT and DCOUNTA without a field

Records with an empty cell in a criteria column were missed.

c7c686a413-Nov-2026 Jim Jagielski <jimjag@gmail.com>

sc: replace #N/A element-by-element when IFNA gets an array

The fallback is only evaluated if the array holds a #N/A.

12345678910>>...15