| ed55d629 | 17-Nov-2026 |
Pedro Giffuni <pfg@apache.org> |
H.6: Defer ODDFPRICE/ODDFYIELD native implementation
- Revert H.6.1 opcode registration (c4aad856fa) - Update roadmap: Group 3 DEFERRED pending financial registration policy - AddIn implementations
H.6: Defer ODDFPRICE/ODDFYIELD native implementation
- Revert H.6.1 opcode registration (c4aad856fa) - Update roadmap: Group 3 DEFERRED pending financial registration policy - AddIn implementations preserved (financial.cxx, analysishelper.cxx) - Priority P2 but DEFERRED until policy defined
show more ...
|
| 7024dd43 | 18-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 ...
|
| 510e06d8 | 17-Nov-2026 |
Pedro Giffuni <pfg@apache.org> |
H.6.1: Opcode registration for ODDFPRICE and ODDFYIELD
- SC_OPCODE_ODDFPRICE=417, SC_OPCODE_ODDFYIELD=418 - ocOddfprice, ocOddfyield in opcode.hxx - Function names registered in ODF and Excel namesp
H.6.1: Opcode registration for ODDFPRICE and ODDFYIELD
- SC_OPCODE_ODDFPRICE=417, SC_OPCODE_ODDFYIELD=418 - ocOddfprice, ocOddfyield in opcode.hxx - Function names registered in ODF and Excel namespaces (core_resource.src) - saFuncTable_Odf import entries (8-9 params) - LAST_OPCODE_ID=418 - AddIn implementations preserved (financial.cxx, analysishelper.cxx)
show more ...
|
| 578bbe7f | 17-Nov-2026 |
Pedro Giffuni <pfg@apache.org> |
H.5.2: OpenFormula roadmap review and H.6 recommendation
- Read-only audit of remaining function gaps post H.5 - Current status: H.1–H.5 complete (7 functions) - Remaining P2: ODDFPRICE, ODDFYIELD,
H.5.2: OpenFormula roadmap review and H.6 recommendation
- Read-only audit of remaining function gaps post H.5 - Current status: H.1–H.5 complete (7 functions) - Remaining P2: ODDFPRICE, ODDFYIELD, RRI, GETPIVOTDATA, FDIST, FINV - P3: HARMEAN; DEFER: DDE - Recommended H.6: ODDFPRICE + ODDFYIELD (Group 3 — Financial Odd-Period) Rationale: highest compatibility gap (no native opcode), shared code path, follows established pattern, no new dependencies - Alternative H.6: RRI (lower risk, smaller scope) - Proposed H.6.1–H.6.6 milestones documented
show more ...
|
| 9bc678ec | 17-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 ...
|
| 517a2e3b | 17-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 ...
|
| 62e7f86e | 17-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 ...
|
| 47032aef | 17-Nov-2026 |
Pedro Giffuni <pfg@apache.org> |
fix: Wire DATEDIF BIFF import mapping to native opcode
Change BIFF5/BIFF7 function ID 351 (DATEDIF) from ocNoName to ocDateDif in xlformula.cxx saFuncTable_5. This enables XLS import of DATEDIF to r
fix: Wire DATEDIF BIFF import mapping to native opcode
Change BIFF5/BIFF7 function ID 351 (DATEDIF) from ocNoName to ocDateDif in xlformula.cxx saFuncTable_5. This enables XLS import of DATEDIF to resolve to the native evaluator instead of producing #NAME!.
- Preserves argument count metadata (3 args) and EXC_FUNCFLAG_IMPORTONLY - DATESTRING (ID 352) and NUMBERSTRING (ID 353) remain as ocNoName - BIFF export remains unsupported (import-only policy unchanged) - ocDateDif = SC_OPCODE_DATEDIF = 415, already registered and dispatched
Updated audit documentation across all 5 deliverable files.
Static verification: code change reviewed, opcode registration confirmed in compiler.hrc, opcode.hxx, interpr4.cxx.
show more ...
|
| f8b15cbb | 17-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 ...
|