Commit Graph
521 Commits
Author SHA1 Message Date
FredApps 996c7ba467 Merge branch 'main' into charts/keep-unedited-chart-xml 2026-11-26 22:22:37 +01:00
FredApps 04720627bd Merge main into the bench branch 2026-11-26 21:15:32 +01:00
FredApps 2469308bf6 Merge branch 'main' into PR #2404
# Conflicts:
#	ROADMAP.md
2026-11-26 20:34:18 +01:00
FredApps c5e735410a Merge branch 'main' into PR #2371
# Conflicts:
#	ROADMAP.md
2026-11-26 20:34:10 +01:00
FredApps eb73335d12 Merge branch 'main' into gc-a24-password-to-modify 2026-11-26 20:17:42 +01:00
FredApps 2fbd3585af Merge branch 'main' into PR #2371
# Conflicts:
#	ROADMAP.md
2026-11-26 20:11:17 +01:00
FredApps e3f897ce7e Merge branch 'main' into PR #2508
# Conflicts:
#	ROADMAP.md
2026-11-26 20:11:00 +01:00
FredApps 2514c099b1 Merge branch 'main' into feat/chart-100-stacked-line 2026-11-26 20:06:17 +01:00
FredApps 24a0ce5a67 Merge main into the keep-chart-xml branch 2026-11-26 19:59:54 +01:00
FredApps a5039ec907 Merge main into the write-reservation branch 2026-11-26 19:58:21 +01:00
FredApps a99895c037 Merge branch 'main' into PR #2371
# Conflicts:
#	ROADMAP.md
2026-11-26 19:45:31 +01:00
FredApps 41b8ec1218 Merge branch 'main' into PR #2398
# Conflicts:
#	ROADMAP.md
2026-11-26 19:45:12 +01:00
FredApps e59e03cd9e Merge branch 'main' into gc-irr-xirr-excel-solver 2026-11-26 19:24:05 +01:00
FredApps 501fca9eb5 Merge branch 'main' into PR #2499
# Conflicts:
#	docs/file-format-parity.md
2026-11-26 19:18:44 +01:00
FredApps ceaa6c129f Merge main into print-selection (resolve conflicts onto main's split print modules) 2026-11-26 18:55:44 +01:00
FredApps d5ebe99cd7 Merge branch 'main' into PR #2404
# Conflicts:
#	docs/file-format-parity.md
2026-11-26 18:51:28 +01:00
FredApps b6dd901fe6 Merge branch 'main' into PR #2508
# Conflicts:
#	docs/file-format-parity.md
2026-11-27 00:44:18 +07:00
FredApps a2ac77711d Merge branch 'main' into PR #2499
# Conflicts:
#	docs/file-format-parity.md
2026-11-27 00:44:13 +07:00
FredApps 77a569cf91 Merge branch 'main' into PR #2398
# Conflicts:
#	ROADMAP.md
2026-11-27 00:44:03 +07:00
FredApps 17e94d26d2 Merge branch 'main' into PR #2651
# Conflicts:
#	ROADMAP.md
2026-11-27 00:28:45 +07:00
FredApps 4744b591d1 Merge branch 'main' into PR #2650
# Conflicts:
#	ROADMAP.md
2026-11-27 00:28:27 +07:00
FredApps bd050fc833 Merge branch 'main' into PR #2499
# Conflicts:
#	ROADMAP.md
#	crates/xlsx/src/pivot/read.rs
#	crates/xlsx/src/pivot/write.rs
#	crates/xlsx/src/read.rs
#	crates/xlsx/src/write.rs
#	docs/file-format-parity.md
2026-11-27 00:16:08 +07:00
FredApps 35ea16aa63 Merge branch 'main' into PR #1822
# Conflicts:
#	contributors/people.toml
#	crates/engine/src/cmd/insert.rs
#	crates/ui-egui/src/dialogs/cond_format_rules.rs
#	crates/ui-egui/src/i18n/cs.rs
#	crates/ui-egui/src/i18n/de.rs
#	crates/ui-egui/src/i18n/el.rs
#	crates/ui-egui/src/i18n/es.rs
#	crates/ui-egui/src/i18n/fr.rs
#	crates/ui-egui/src/i18n/it.rs
#	crates/ui-egui/src/i18n/ja.rs
#	crates/ui-egui/src/i18n/ko.rs
#	crates/ui-egui/src/i18n/nl.rs
#	crates/ui-egui/src/i18n/pl.rs
#	crates/ui-egui/src/i18n/pt.rs
#	crates/ui-egui/src/i18n/ro.rs
#	crates/ui-egui/src/i18n/ru.rs
#	crates/ui-egui/src/i18n/sr.rs
#	crates/ui-egui/src/i18n/tr.rs
#	crates/ui-egui/src/i18n/uk.rs
#	crates/ui-egui/src/i18n/vi.rs
#	crates/ui-egui/src/i18n/zh.rs
2026-11-27 00:12:50 +07:00
FredApps 313f50a96b Merge branch 'main' into PR #2508
# Conflicts:
#	ROADMAP.md
#	crates/model/src/lib.rs
#	crates/xlsx/src/write.rs
#	docs/file-format-parity.md
2026-11-26 23:48:42 +07:00
FredApps 3ac1f3746f Merge branch 'main' into PR #2398
# Conflicts:
#	ROADMAP.md
#	crates/functions/src/financial/tests.rs
#	docs/function-parity.md
2026-11-26 23:37:06 +07:00
FredApps 0d32f7a504 Merge branch 'main' into PR #2602
# Conflicts:
#	ROADMAP.md
2026-11-26 23:35:38 +07:00
FredApps aa2d0d1f17 Merge branch 'main' into PR #2395
# Conflicts:
#	ROADMAP.md
2026-11-26 23:35:24 +07:00
FredApps 86a539e22b Merge branch 'main' into PR #2404
# Conflicts:
#	crates/xlsx/src/read.rs
#	crates/xlsx/src/sheet_write.rs
#	docs/chart-parity.md
#	docs/file-format-parity.md
2026-11-26 22:53:00 +07:00
FredApps c1bc906ee7 Merge branch 'main' into PR #2492
# Conflicts:
#	docs/file-format-parity.md
2026-11-26 16:49:51 +01:00
FredApps 4884d635a7 Merge branch 'main' into feat/fill-linear-growth-trend 2026-11-26 16:27:44 +01:00
FredApps a79a50120c Merge branch 'main' into PR #2651
# Conflicts:
#	ROADMAP.md
2026-11-26 22:04:04 +07:00
FredApps 062c34b69a Merge branch 'main' into paste-transpose-refs 2026-11-26 15:11:43 +01:00
FredApps 014e0583b7 Merge branch 'main' into PR #2395
# Conflicts:
#	ROADMAP.md
#	crates/ui-egui/src/grid/keyboard.rs
#	docs/ui-parity.md
2026-11-26 20:56:02 +07:00
FredApps 37c5dbf021 Merge branch 'main' into PR #2492
# Conflicts:
#	crates/xlsx/src/read.rs
#	crates/xlsx/src/sheet_write.rs
#	docs/file-format-parity.md
2026-11-26 20:18:09 +07:00
FredApps bd943295a8 Merge branch 'main' into PR #2606 2026-11-26 20:04:25 +07:00
FredApps a53b23d470 Merge branch 'main' into PR #2503
# Conflicts:
#	crates/calc/src/tests.rs
#	crates/engine/src/tests.rs
2026-11-26 19:55:35 +07:00
FredApps 45181a217f Merge branch 'main' into PR #2650
# Conflicts:
#	ROADMAP.md
#	docs/gaps.md
2026-11-26 19:24:38 +07:00
vangel76 7f2ae3cff8 Merge remote-tracking branch 'sm/main' into qa795
# Conflicts:
#	docs/ui-parity.md
2026-11-25 18:52:45 +01:00
dotCooCoo d23654cdf0 Merge main into feat/chart-100-stacked-line 2026-11-24 04:53:09 -08:00
dotCooCoo f9b39debd2 Merge main into feat/fill-linear-growth-trend 2026-11-23 19:14:23 -08:00
f9af787c7b Dropdown filter (#2119)
* Searchable validation dropdown lists

* double dropdown bug solved

* performance improvements for dropdown list filtering

* docstrings and documentation added

* precisions regarding accented characters for dropdown list search

* Latin extended characters added to accent list in dropdown list search

* formula bar check button handled as enter for highlighted entry

* capping list at 10,000 entries

* Bound the searched validation list's source work

A searched list (data.validationList, and the edit that typing into a list
cell opens) read its whole source first: a whole-column list evaluated every
cell into an array and folded each entry, so a search with few or no matches
could still stall the UI. The search now reads at most LIST_SOURCE_BUDGET
(200,000) cells of the source: a range is walked cell by cell instead of
evaluated, a computed source gets the budget as its formula work, and
`truncated` reports when the source was cut short. The popup says when
entries aren't shown. The validation membership check still reads the
whole list.

* Bound the dropdown arrow's validation list

The full list that the dropdown arrow or Alt+Down opens called list_items
every frame while it was open and drew a button for every entry, so a list
over a huge column reread its source and laid out all of it on each repaint.
It now reads the list once with list_search_source (within
LIST_SOURCE_BUDGET), keeps it while the popup stays open on the same cell of
the same workbook version, and draws only the rows in view, saying when
entries aren't shown. Rows are measured at their real button height, so the
popup shows the eight rows it was meant to (it showed six).

* Dropdown list fixes

1. Row height: the search popup now measures its rows at the real button height, through a helper shared with the arrow picker. It shows eight rows, the highlight stays in view and the end of a long list is reachable.
2. Duplicate call: the second e.update_list() in control.rs is gone.
3. Stale cache: list_picker_items is cleared wherever list_picker is cleared for an edit (start_edit and the editor branch of list_picker).
4. Translation: "More entries not shown" is one constant and goes through lang.tr(...) in both popups. I did not add catalog entries, so it still shows in English in every language until translations are written.
5. Flip above: the search popup opens above the cell when it would run past the bottom of the window, using the same rule as the arrow picker.
6. Width: the popup width is measured once per search and cached in ListSearch::text_width; update_list resets it.

* Validation lists: fixed-height rows, translated cut-short note

The rows of both validation list popups are drawn in slots of exactly the
height the popup scrolls by. A button sizes itself to its laid-out text,
which can be a pixel taller than the font's nominal line height, so the
last visible row ran under the "More entries not shown" note with the
pinned test fonts (the CI gate failure).

The note is translated in all 18 interface catalogs, with a test that no
catalog falls back to English.

The validation-list UI tests move into the shared integration binary and
use the pinned font harness, so they no longer depend on host fonts.

* Validation list note: use each catalog's word for list items

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: skylartaylor <skylartaylor@users.noreply.github.com>
2026-11-23 17:32:01 -06:00
dotCooCoo fdb96edf1f Merge main into feat/chart-100-stacked-line 2026-11-21 14:19:55 -08:00
vangel76 1da7c3ae92 Merge upstream/main into feat/quick-analysis-791 2026-11-18 18:38:43 +01:00
Michael Higgins 00e8f4fae0 Drag a selected chart's data outline to change its range (#4389, #4390) (#4391)
#4389, #4390: drag a selected chart's data outline to change its range

A selected chart now outlines its data as Excel does: series names in red,
category labels in purple and the values as one blue block. The values
block has a handle on each corner. Dragging one previews the new block,
and the release points the chart at it as one undo step. Esc cancels.

The new engine command chart.setValuesRange does the move. Each series
keeps its formatting, a wider block adds series and a narrower one drops
them, and names, category labels and bubble sizes that line up with the
block follow it. PivotCharts and series that are not one block are
refused.
#4389: chart data drag review fixes

- Category labels are compared as blocks, so a reference written with a
  leading = still counts as the same labels.
- A resize keeps the orientation the series were read in, so a chart
  shrunk to one cell per series stays resizable.
- The preview stays while edge scrolling moves the chart off screen.
- A values corner hidden under frozen panes is not a handle.
- The release takes the block from the pointer's last position, even when
  it moved in the release frame.
- Esc cancels the drag with Ctrl or Cmd held too.

Each fix has a test that fails without it.
#4389: read a corner drag from the grabbed corner's own cell

A values corner lies on a cell boundary, which belongs to the next row
and column, so a press on the bottom-right corner of A1:A5 read as B6:
releasing where the press was, or dragging straight down the edge of
column A, changed the other axis too. The drag now records the offset
from the press point to the centre of the corner's cell and reads the
pointer through it, so the press point stays in its cell and each whole
cell of movement moves the corner by one.
#4389: snap a dragged chart data edge to the nearest gridline

Reading the pointer from the middle of the grabbed corner's cell let the
grabbed row's height decide when the block moved: with a tall row 5 and
a short row 6, the pointer reached the bottom of row 6 while the block
stayed at A1:A5. Each edge the corner moves now snaps to the gridline
nearest the pointer, so every row and column changes over at its own
middle. A release where the press was still changes nothing, since the
corner lies on its own gridlines, and an edge dropped on its fixed edge
keeps one row or column.
#4389: drop a chart data drag when the chart's data changes under it

A command run between frames (the control channel, a macro) could change
the chart's values block while the button was held, and the release then
put the dragged block over that change. The drag now checks, from the
session, that the chart still plots the block it started from: a move
drops a stale drag, and the release skips it.
2026-11-18 21:53:00 +07:00
FredApps f5737157a0 Merge main into feat/chart-100-stacked-line
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 20:40:43 +07:00
FredApps 53fafbf5d5 Merge main into perf/xtask-bench
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 20:40:43 +07:00
Harrison Booth aef4ceb10d RATE follows Excel's iteration (#2502)
fix(functions): RATE follows Excel's iteration

RATE used Newton with fallbacks and a bracketing search, so it found roots
Excel doesn't and missed the last iterate Excel returns. It now follows
Excel's solver as observed with synthetic inputs: a secant iteration from
the guess and the guess moved 0.001 toward a larger equation value, at most
200 steps, stopping when a step is under 1e-7 and the equation is within
1e-7 of zero (or as close as its terms allow), with the result more than
1e-7 above -100%. After 200 steps the last iterate is kept if it is within
a looser 1e-4. Subnormal steps flush to zero as in Excel.

RATE(5,0,-100,0) is now -0.999999409145182 like Excel (was #NUM!), and
RATE(4,0,-0.0001,100) is #NUM! like Excel (was 30.62). A guess at or below
-1 is #VALUE!. IRR and XIRR keep their solver.

RATE test: compare with a relative tolerance, not exact equality
ROADMAP: keep the progress log in descending date order
RATE: pin Excel's #NUM! for a fractional nper with a guess near -1
2026-11-18 20:39:57 +07:00
FredApps f187179552 Merge main into perf/xtask-bench
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	ROADMAP.md
#	docs/gaps.md
#	docs/target-app-parity.md
2026-11-18 18:49:22 +07:00
FredApps 46a8525585 Merge main into gc-irr-xirr-excel-solver
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	ROADMAP.md
#	docs/function-parity.md
2026-11-18 18:49:22 +07:00
FredApps 0a6e534676 Merge main into feat/chart-100-stacked-line
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 18:35:31 +07:00