Commit graph

214 commits

Author SHA1 Message Date
Álvaro González
78d7b190db line wrap at 120 2026-03-05 18:31:27 +01:00
Álvaro González
e3c5d9cef9 Formula solver seems to work, now the UI should be reworked 2026-03-05 18:27:07 +01:00
Álvaro González
5fabb4424c Some tests, seems it is working 2026-03-05 12:47:10 +01:00
Álvaro González
bc38acbff6 Initial formula solver 2026-03-04 22:24:37 +01:00
Álvaro González
fe666fdcd6 Merge branch 'feature/uuid-for-formulas' 2026-03-04 19:53:08 +01:00
Álvaro González
0b0fccd4a3 UUID for formulas 2026-03-04 19:52:31 +01:00
Álvaro González
a9fd3bfc99 Merge branch 'feature/pretty-print-formulas' 2026-03-04 19:10:19 +01:00
Álvaro González
803b98d7ac prettyPrint done 2026-03-04 19:09:48 +01:00
Álvaro González
bb468ff601 setutils: static util methods 2026-03-01 13:51:14 +01:00
Álvaro González
aadfc9dac5 refactor shared formula 2026-03-01 11:03:13 +01:00
Álvaro González
23d8957377 refactor shared formula 2026-03-01 10:49:46 +01:00
Álvaro González
db83c6ecc2 saved formulas 2026-02-28 19:35:47 +01:00
Álvaro González
1ae1f9b6d7 Merge branch 'feature/more-copilot-formulas' of ssh://codeberg.org/alvarogonzalezsotillo/d4rt_formulas into feature/more-copilot-formulas 2026-02-28 14:24:16 +01:00
Álvaro González
4fb89fa78b added shareplus 2026-02-28 14:22:18 +01:00
alvaro@a33
42d775ff5b Better error handling of strings 2026-02-27 11:29:15 +01:00
Álvaro González
9f2c569279 Big merge. Watch out!
Merge branch 'feature/more-copilot-formulas' of ssh://codeberg.org/alvarogonzalezsotillo/d4rt_formulas into feature/more-copilot-formulas
2026-02-27 08:40:38 +01:00
Álvaro González
9c8afe739d save formula, not tested 2026-02-26 21:49:32 +01:00
Álvaro González
9b6887f58a Missing generated file 2026-02-26 20:39:40 +01:00
Álvaro González
7461a2addf fn() for use inside formulas.
Compiling in:
Flutter 3.38.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 67323de285 (4 weeks ago) • 2026-01-28 13:43:12 -0800
Engine • hash 5eb06b7ad5bb8cbc22c5230264c7a00ceac7674b (revision 587c18f873) (29 days ago) • 2026-01-27 23:23:03.000Z
Tools • Dart 3.10.8 • DevTools 2.51.1
2026-02-26 20:03:19 +01:00
Álvaro González
77bea838f7 More formulas, added formula editor 2026-02-25 09:08:06 +01:00
Álvaro González
a50474ef9b First test of network, string as input 2026-02-24 20:28:01 +01:00
Álvaro González
fe1f907759 Better makefile 2026-02-24 17:14:00 +01:00
Álvaro González
1bcf829525 more formulas 2026-02-24 10:21:07 +01:00
Álvaro González
f7a678d7dd Need to remove duplicates, check images 2026-02-23 20:02:13 +01:00
Álvaro González
6aefb47839 More copilot formulas, they lack description 2026-02-22 18:06:44 +01:00
Álvaro González
4356782a12 Precached linux, web and android flutter tools 2026-02-19 07:14:16 +01:00
Álvaro González
cb44bd5af6 better cache in Dockerfile 2026-02-18 20:22:08 +01:00
Álvaro González
c10a660585 toStringLiteral fixed, using r"""raw strings""" 2026-02-18 19:52:10 +01:00
Álvaro González
1e33a6f80d test is not working 2026-02-18 11:25:14 +01:00
Álvaro González
69a08e2872 Signal on formula evaluation 2026-02-18 09:46:02 +01:00
Álvaro González
25ef37f62b new units were not loaded 2026-02-17 17:35:51 +01:00
Álvaro González
d4f255646e Version problem, pinned flutter container image version 2026-02-17 09:38:00 +01:00
Álvaro González
f5c9493360 updated markdown 2026-02-16 14:19:10 +01:00
Álvaro González
88d7802bd5 Merge branch 'feature/share-button' 2026-02-15 20:31:00 +01:00
Your Name
db7ac04c1c share button marked done 2026-02-15 20:29:49 +01:00
Your Name
05fd37dd9a Add share functionality and improve string escaping in FormulaElement.toStringLiteral
- Add share button to formula list with export functionality
- Implement proper escaping of special characters (\n, \t, \", etc.) in FormulaElement.toStringLiteral methods
- Create escapeD4rtString helper function for consistent escaping
- Update Formula, UnitSpec, and VariableSpec toStringLiteral methods to use escaping
- Add share_plus package dependency for sharing functionality

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-15 12:10:48 +01:00
Your Name
8b5529dddc Implement Corpus.withDependencies method with duplicate prevention
- Add withDependencies method that returns formula and all related units
- Include units with same base unit as formula inputs and outputs
- Use functional approach with List.map and List.addAll for cleaner code
- Prevent duplicates by using Set for internal storage
- Add comprehensive tests to verify functionality and duplicate prevention
- Mark task as [R] in TODO.md as required by workflow

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-15 11:45:24 +01:00
Your Name
9441b7b01b typo y todo 2026-02-15 11:30:14 +01:00
Álvaro González
865142e158 Merge branch 'refactor/unify-datatabase-files' 2026-02-14 19:17:16 +01:00
Álvaro González
4fe82dc3db Working on linux and web 2026-02-14 19:16:32 +01:00
Álvaro González
d9dd3cd7aa Drift working in web and linux.
TODO: migrate web drift from "web" to "wasm"
2026-02-14 14:06:23 +01:00
Your Name
74b226591e Try to read formulas from database, it is not working 2026-02-13 08:53:04 +01:00
Your Name
c63a215212 Add platform-specific database directory logic and update Makefile targets
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-11 09:39:40 +01:00
Your Name
692ad41502 Use implements instead of extends 2026-02-11 09:19:18 +01:00
Your Name
6133e58226 FormulaElement as abstract class 2026-02-11 09:07:13 +01:00
Your Name
f70d744ef7 One more todo 2026-02-11 08:59:20 +01:00
Your Name
6753fd99ea formula element toStringLiteral 2026-02-11 08:56:43 +01:00
Your Name
034f87945f Initially collapsed description 2026-02-11 08:45:56 +01:00
Your Name
2493c5b4be Only one table for formula elements 2026-02-09 19:11:00 +01:00
Your Name
8df50f5e79 Better formula elements loading 2026-02-09 17:34:20 +01:00