Commit Graph

313 Commits (main)

Author SHA1 Message Date
Zef Hemel 337534cf02 Lua: early work on LuaQueryCollections 2025-01-09 18:22:26 +01:00
Zef Hemel 15ad6f3129 Lua: language fixes, and new space_lua APIs 2025-01-09 18:22:12 +01:00
Zef Hemel 86f31e3a00 Lua: experimental string interpolation 2025-01-09 11:45:15 +01:00
Zef Hemel b6f1977cec Lua runtime fixes 2025-01-09 10:27:41 +01:00
Zef Hemel 821dddff5e Lua string.gsub fixes 2025-01-09 09:00:29 +01:00
Zef Hemel c2fea2d25b Lua work 2025-01-08 17:09:09 +01:00
Zef Hemel fc9213c7ca Lua cleanup 2025-01-08 11:39:00 +01:00
Zef Hemel fc1ff7dc5b Lua test cleanup 2025-01-08 11:23:30 +01:00
Zef Hemel 076c296dfd Lua iterator fixes 2025-01-08 11:12:26 +01:00
Zef Hemel ec6db8c766 Lua vararg testing 2025-01-08 11:04:33 +01:00
Zef Hemel c70f8fef1a Lua scope fixes 2025-01-08 10:00:46 +01:00
Mufeed Ali f801fd263b
fix(system): Add condition to prevent remote script reload when syncOnly is enabled (#1198) 2025-01-04 07:02:49 +01:00
David Chiles 4cadb8cb4d
fix Swift syntax highlighting (#1183) 2024-12-26 08:17:48 +01:00
TR Staake 2020e85a6f
Update how tags are rendered to allow for custom styling (#1179)
* Updated how tags are rendered to allow for custom styling via space-styles

* Wrapped the existing span for a tag with an anchor element <a> to
improve ux for screen readers
* Added data-tag-name attribute to tags so that given a tag `#my-tag` it
will have the attribute `data-tag-name="my-tag"` added to the new `<a>`
element wrapper allowing for end users to target tags for styling with a
css selector such as `.sb-hashtag[data-tag-name="my-tag"]{...}`

* Updated Docs
2024-12-14 09:57:46 +01:00
Ohad Lutzky 3e153a525c
Fix trailing periods for naked URLs (#1175)
Fixes https://github.com/silverbulletmd/silverbullet/issues/1160
2024-12-14 09:19:25 +01:00
Michael Stapelberg 8114b25470
markdown_parser: allow comma and semicolon in naked URLs (#1162) 2024-11-21 22:39:27 +01:00
Peter Weston b532b9e3f1
Fix tests for windows paths (#1153) 2024-11-13 21:08:24 +01:00
Zef Hemel d79d84be8c Fix sync mode failing due to Lua 2024-10-28 14:26:00 +01:00
Zef Hemel 123309d791 Lua get and set now possibly async 2024-10-26 16:02:37 +02:00
Zef Hemel 8acb112e4e Lua stack frame refactor 2024-10-20 15:06:23 +02:00
Marek S. Łukasiewicz 010e2b23f4
Allow tags to start with a number and be escaped with angle brackets (#1116)
Includes tests and Markdown/Hashtags page for website. Closes #1072
2024-10-20 12:39:58 +02:00
Zef Hemel 413855c180 More Space Lua docs, and slight API tweaks 2024-10-15 21:20:50 +02:00
Zef Hemel 6ec6f0cd6d First Lua docs 2024-10-14 20:59:10 +02:00
Zef Hemel c1a20af981 Lua: widgets 2024-10-13 15:14:22 +02:00
Zef Hemel 5c8332a109 Cleaning some dependencies 2024-10-11 15:52:37 +02:00
Zef Hemel 64e398fd90 deno fmt 2024-10-11 15:34:27 +02:00
Zef Hemel 6a30284bab Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
Zef Hemel 3319c7f21c More lua progress: JS Interop 2024-10-09 20:35:11 +02:00
Zef Hemel 899c2556cb Lua: more fixes and work on stdlib 2024-10-08 19:53:09 +02:00
Zef Hemel 6c71862641 Lua: multi-line string literals 2024-10-07 09:08:36 +02:00
Zef Hemel 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +02:00
Zef Hemel 2c08cb1821 More lua features (some metatable support) and tests 2024-10-04 17:15:50 +02:00
Zef Hemel 69c1da3dfb [Lua] Property access and function call fixes 2024-10-03 18:52:44 +02:00
Zef Hemel b2ff858f1d Support empty Lua strings 2024-10-03 18:40:06 +02:00
Zef Hemel 3cf7b72ebb First integration of Lua into the core (via space-lua code blocks) 2024-10-03 17:55:51 +02:00
Zef Hemel c0a248daba deno fmt 2024-09-30 12:50:54 +02:00
Zef Hemel a5c4bcc43b Lua AST refactor 2024-09-29 15:09:13 +02:00
MrMugame f7cfe328b8
Fixes #1101 (#1102)
* Make all keywords use @specialize

* Rebuild the grammar

* Making it work in the later parsers
2024-09-29 13:26:44 +02:00
Zef Hemel cdcce0d828 Lua work 2024-09-27 17:09:25 +02:00
Zef Hemel aa712ed8f4 More work on Lua 2024-09-27 09:11:06 +02:00
Zef Hemel 4eae0c975b Another attempt at better supporting auth proxies 2024-09-25 17:06:43 +02:00
Zef Hemel cb88eae885 Attempt to fix auth proxies by making redirects manual #1028 2024-09-25 13:25:15 +02:00
Zef Hemel 362b590ba3 Some more Lua progress 2024-09-24 10:15:22 +02:00
Zef Hemel 9d43c9a11d Fix lint issues 2024-09-12 21:53:37 +02:00
Zef Hemel 4c87d3eb9e Evaluator start 2024-09-12 17:01:54 +02:00
Zef Hemel 00501690cf Parser complete 2024-09-12 13:40:43 +02:00
Zef Hemel 8725655b9d WIP lua 2024-09-11 21:19:41 +02:00
Zef Hemel f7fe7cadbc Revert "Attempt to fix auth proxies by making redirects manual #1028"
This reverts commit d6fb5e0c29.
2024-09-11 21:18:27 +02:00
Abin Simon b41297e437
Add nix language syntax highlight (#1081) 2024-09-09 19:27:02 +02:00
Zef Hemel d6fb5e0c29 Attempt to fix auth proxies by making redirects manual #1028 2024-09-09 18:36:54 +02:00