Commit Graph

95 Commits

Author SHA1 Message Date
Nicolás Hatcher
f26cdd3a4b FIX: Sets the patternFill to solid when changing the background color 2024-10-11 21:08:16 +02:00
Nicolás Hatcher Andrés
48719b6416 UPDATE: Adds cell and formula editing (#92)
* UPDATE: Adds cell and formula editing

* FIX: Do not loose focus when clicking on the formula we are editing

* FIX: Minimal implementation of browse mode

* FIX: Initial browse mode within sheets

* UPDATE: Webapp

Minimal Web Application
2024-10-08 19:44:27 +02:00
Nicolás Hatcher Andrés
bf9a1ed9f4 FIX: Add infrastructure for python tests (#91)
Also integrated with CI and runs tests in documentation
2024-09-21 15:46:32 +02:00
Nicolás Hatcher Andrés
00b5b65588 UPDATE: bump version to 0.2.0 (#89) 2024-09-17 00:27:06 +02:00
Varun Hegde
2b03b3e3b9 Error Handling of public Set functions (#88)
What are we trying to achieve ?

++ Currently all the major public set functions is panic prone and does not handle and return error. This PR tries to address to all those functions.

What major errors that could happen in these functions ?

++ All the functions which are being made as error safe is being tested against invalid sheet, row and column values, which could given by user

What are the list of functions whose return type has been altered ?

**base/src/model.rs**
1. update_cell_with_text
2. update_cell_with_bool
3. update_cell_with_number
4. set_user_input
5. get_cell_style_index
6. get_style_for_cell
7. set_cell_with_string

++> New functions being added

1. set_cell_with_boolean
2. set_cell_with_number

**base/src/styles.rs**

1. get_style_with_quote_prefix
3. get_style_with_format
4. get_style_without_quote_prefix
5. get_style

**base/src/worksheet.rs**

1. update_cell
2. set_cell_style
3. set_cell_with_formula
4. set_cell_with_number
6. set_cell_with_string
8. set_cell_with_boolean
9. set_cell_with_error
10. cell_clear_contents
11. cell_clear_contents_with_style

++> Above is the comprehensive list of all functions being ( most are public, some are private ) altered for better error handling. As a side effect of changing function signature, there are many changes being done to other functions ( mostly adding "?" to enable to error propagation further )
2024-09-14 17:37:31 +02:00
Nicolás Hatcher Andrés
dc23a7f29c UPDATE: Adds web app (#79)
Things missing:

* Browse mode
* Front end tests
* Storybook
2024-08-18 11:44:16 +02:00
Nicolás Hatcher Andrés
864a37f1e6 UPDATE: Adds autofill_columns (#74) 2024-06-02 18:43:43 +02:00
Nicolás Hatcher Andrés
72c7c94f3d UPDATE: Autofill by rows (#73) 2024-06-02 10:01:46 +02:00
Nicolás Hatcher Andrés
b37397acb8 UPDATE: Adds ability to show/hide grid lines (#71) 2024-05-26 21:28:00 +02:00
Nicolás Hatcher Andrés
49c3b14bf0 UPDATE: Adds get/set views to the user model API (#69) 2024-05-20 17:51:09 +02:00
Nicolás Hatcher Andrés
d2cba48f8e FIX: Fixes incorrect result in M1 Apple silicom (#68) 2024-05-19 10:34:57 +02:00
Nicolás Hatcher Andrés
f752c90058 UPDATE: Parses selected row/column/range and selected sheet (#67)
* FIX: Update to Rust 1.78.0

* UPDATE: Parses selected row/column/range and selected sheet
2024-05-09 11:46:26 +02:00
Nicolás Hatcher Andrés
f9cf86a17c Bugfix/nicolas more fixes (#36)
* FIX: Remove the serde_json depndendency

* UPDATE: Use binary representation also for languages and locales
2024-04-15 19:25:38 +02:00
Nicolás Hatcher Andrés
49ef846ebd FIX: small diverse fixes (#35) 2024-04-14 21:50:14 +02:00
Nicolás Hatcher Andrés
196e074ef5 UPDATE: Serialize/Deserialize with bitcode (#31)
* UPDATE: Serialize/Deserialize with bitcode

Fixes #12
2024-04-11 23:45:00 +02:00
Nicolás Hatcher Andrés
489027991c UPDATE: Adds Web browser wasm bindings (#30)
* UPDATE: Adds Web browser wasm bindings

* FIX: install wasm-pack in the GitHub actions
2024-04-07 12:41:33 +02:00
Nicolás Hatcher Andrés
d445553d85 UPDATE: Adds 'user model' API (#27)
* bump version for documentation
* Fixes wrong doc comment
* renames old APIs to be consistent
2024-04-03 22:41:15 +02:00
Nicolás Hatcher
e9fc41541b FIX: adds test 2024-03-21 23:07:07 +01:00
Nicolás Hatcher
d6a1f9c28e FIX: Rust update to 1.77.0 2024-03-21 22:51:19 +01:00
Nicolás Hatcher Andrés
0029901ca3 UPDATE: Adds minimal generated documented functions (#22)
See #21
2024-03-16 12:57:25 +01:00
fosdick.io
5cf797d382 Adding new example counting formulas and errors (#6) 2024-02-21 07:01:00 +01:00
Nicolas Hatcher
d2bab6608b FIX: Revert back to intel
Seems like Intel and M1 compute this one differently
2024-02-20 15:34:38 +01:00
Nicolas Hatcher
ab2f1f10fc FIX: Consolidate two structs 2024-02-20 15:19:05 +01:00
Nicolas Hatcher
55a963e360 FIX: Adds more documentation 2024-02-20 15:19:05 +01:00
Nicolás Hatcher
2d6e45ad94 UPDATE: Adds a bunch of documentation and examples 2024-02-19 23:00:55 +01:00
fosdick.io
ee34b30ef0 Fixing lexer documentation to not make incorrect formatting. 2024-02-14 14:47:35 -07:00
fosdick.io
ef8c5af236 Reverting trailing commas. 2024-02-14 14:39:22 -07:00
fosdick.io
de23d717cb Adding more error for testing error codes. 2024-02-14 12:12:23 -07:00
fosdick.io
08f1e4a214 Adding additional lexer unit tests 2024-02-14 11:45:21 -07:00
Nicolás Hatcher
8fc4d587e0 FIX: Adds one more test 2024-02-14 10:17:44 +01:00
Nicolás Hatcher
9e548de2aa FIX: Adds tests 2024-02-14 10:11:15 +01:00
Nicolás Hatcher
1ee5c6a151 FIX: Remove more unused code 2024-02-14 09:53:05 +01:00
Nicolás Hatcher
e1bdabed2a FIX: Removes unused code 2024-02-14 09:40:00 +01:00
Nicolás Hatcher
52773494b3 FIX: We need to serialize/deserialize tokens in wasm 2024-02-13 22:58:55 +01:00
Nicolás Hatcher
29743f09e1 FIX: removes more unused code 2024-02-13 19:05:11 +01:00
Nicolás Hatcher
ef8b1053dc UPDATE: removes unused code 2024-02-13 18:58:04 +01:00
fosdick.io
c46e2ce98e Running cargo fmt -- 2024-02-09 11:05:27 -07:00
fosdick.io
efb0b140ed Adding lexer test coverage. 2024-02-09 11:02:26 -07:00
Nicolás Hatcher
f3e383e96c FIX: Try to add simple code coverage 2024-02-09 14:41:52 +01:00
Nicolás Hatcher
ba56e13ead UPDATE: Publish changes to crates.io 2024-02-09 08:58:47 +01:00
fosdick.io
1445e2eab0 Fixing formatting issue that is causing the build to fail. 2024-02-07 11:31:57 -07:00
fosdick.io
47fafa1a4e Adding code documentation to base/src/actions.rs. 2024-02-06 13:08:10 -07:00
Nicolás Hatcher
67e8b0ce14 FIX: Adds shared_strings dict for performance reasons
NB: There are not benchmarks yet
2023-12-08 11:27:21 +01:00
Nicolás Hatcher
c63acd72d0 UPDATE: Update README to include a minimal ROADMAD 2023-12-01 08:53:12 +01:00
Nicolás Hatcher
c5b8efd83d UPDATE: Dump of initial files 2023-11-20 10:46:19 +01:00