Tobias Schmitz
0ed6b31b70
refactor: implement TryFrom<&Bytes> for Lines
...
- remove Bytes::load_str and impl From<Utf8Error> for LoadError
2025-06-10 13:47:41 +02:00
Tobias Schmitz
2d3e883d2b
refactor: apply some suggestions
...
- rename Loaded::bytes to data
- change `let data = source.load()` to `let loaded`
- only expose a single `within` method for the LoadedWithin trait
- invalid utf-8 data is a rare edge case
- only store one EcoString inside LoadError
- mutate it when using `LoadedWithin::within` method
2025-06-10 13:47:41 +02:00
Tobias Schmitz
7e6c3b4159
feat: show external error messages in csv, json, toml, xml, yaml, and syntax/theme files
2025-06-10 13:47:41 +02:00
Malo
4329a15a1c
Improve calc.round
documentation ( #6345 )
2025-06-02 13:04:49 +00:00
Patrik Simic
ca8d223fde
Removing unused warnings in nightly ( #6169 )
2025-05-20 16:25:26 +00:00
alluring-mushroom
9829bd8326
Document exceptions and alternatives to using type
( #6027 )
...
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
+merlan #flirora
14a0565d95
Show warnings from eval ( #6100 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 18:42:29 +00:00
Andrew Voynov
14928ef962
Fix typo in module docs ( #6146 )
...
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
Malo
417f5846b6
Support comparison functions in array.sorted
( #5627 )
...
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
+merlan #flirora
a64af130dc
Add default parameter for array.{first, last} ( #5970 )
2025-03-31 09:06:18 +00:00
Ian Wrzesinski
91956d1f03
Use std::ops::ControlFlow
in Content::traverse
( #6053 )
...
Co-authored-by: Max Mynter <maxmynter@me.com>
2025-03-24 18:07:19 +00:00
evie
3650859ae8
Fix cargo clippy
warnings (mostly about .repeat.take
and .next_back
) ( #6038 )
2025-03-11 10:00:53 +00:00
Ludovico Gerardi
e66e190a21
Fix typo in docs ( #6034 )
2025-03-10 11:39:30 +00:00
Andrew Voynov
6271cdceae
Fix debug implementation of Recipe ( #5997 )
2025-03-04 09:33:39 +00:00
Andrew Voynov
bf0d45e2c0
Make array.chunks
example more readable ( #5975 )
2025-03-03 11:31:39 +00:00
evie
d11ad80dee
Add #str.normalize(form)
( #5631 )
...
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 14:01:01 +00:00
Laurenz
69c3f95705
Bump MSRV to 1.83 and Rust in CI to 1.85 ( #5946 )
2025-02-24 12:28:01 +00:00
Laurenz
ebe2543264
Fix comparison of Func
and NativeFuncData
( #5943 )
2025-02-24 11:17:31 +00:00
Malo
56f4fa2b4d
Documentation improvements ( #5888 )
2025-02-23 11:31:28 +00:00
+merlan #flirora
83ad407d3c
Update documentation for float.{to-bits, from-bits}
( #5836 )
2025-02-12 12:35:03 +00:00
Malo
ca702c7f82
Documentation fixes and improvements ( #5816 )
2025-02-06 10:18:10 +00:00
Laurenz
029ae4a5ea
Export target docs ( #5812 )
...
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-02-05 13:24:10 +00:00
Laurenz
50ccd7d60f
Scope deprecations ( #5798 )
2025-02-04 09:38:31 +00:00
Laurenz
eee903b0f8
Refactor Scope
( #5797 )
2025-02-03 16:04:54 +00:00
Laurenz
a1f263862c
Change type repr to short name ( #5788 )
2025-01-31 09:56:49 +00:00
Laurenz
be1fa91a00
Modular, multi-threaded, transitioning plugins ( #5779 )
2025-01-30 13:36:15 +00:00
Laurenz
1b2719c94c
Resolve bound name of bare import statically ( #5773 )
2025-01-29 14:20:30 +00:00
Laurenz
26e65bfef5
Semantic paragraphs ( #5746 )
2025-01-24 12:11:26 +00:00
Ian Wrzesinski
c47b71b435
Basic SymbolElem addition
2025-01-23 16:28:29 -05:00
Laurenz
6fcc432284
Don't link items if container is already linked ( #5732 )
2025-01-22 13:24:14 +00:00
Laurenz
b90ad470d6
Remove redundant doc comments on standard arguments ( #5725 )
2025-01-21 11:10:06 +00:00
Laurenz
e2b37fef33
Revamp data loading and deprecate decode
functions ( #5671 )
2025-01-09 09:34:16 +00:00
Laurenz
dacd6acd5e
More flexible and efficient Bytes
representation ( #5670 )
2025-01-08 10:57:56 +00:00
Malo
e09b55f00f
Allow adding and joining arguments
( #5651 )
2025-01-06 15:41:58 +00:00
Andrew Voynov
ec1e8f9e8d
Added precise definition for "character" in the docs for str.split
( #5616 )
2025-01-06 13:15:11 +00:00
Malo
a2f685483a
Improve repr
for arguments
( #5652 )
2025-01-06 12:43:41 +00:00
Malo
39706fe42f
Error on duplicate symbol variant with modifiers in different orders ( #5587 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 11:15:14 +00:00
Joshua Gawley
6953685358
Document result of splitting string with empty string as separator ( #5572 )
2024-12-20 10:18:52 +00:00
Joshua Gawley
21e608e6e9
Change error when accessing non-existant label ( #5571 )
2024-12-18 16:52:37 +00:00
Malo
24c08a7ec0
Mention the calc
module in the operator list ( #5595 )
2024-12-18 13:37:32 +00:00
Laurenz
1346385255
Rename pattern
to tiling
( #5590 )
2024-12-17 09:25:27 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours ( #5591 )
2024-12-17 09:25:15 +00:00
Malo
8b1e0d3a23
Improve symbol
repr
( #5505 )
2024-12-16 14:10:42 +00:00
Jakob Peters
57f7c167d8
Document integer literal parsing ( #5462 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-08 16:52:57 +00:00
Laurenz
0ef97c104a
HTML DOM types
2024-12-04 10:12:07 +01:00
Laurenz
d00a5d6c9b
Add contextual target
function
2024-12-04 10:12:07 +01:00
Laurenz
008b59839f
Add some more spans
2024-12-04 10:12:07 +01:00
Nikolai Neff-Sarnow
76c24ee6e3
Add documentation example to array.sorted()
( #5475 )
...
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2024-11-30 09:10:22 +00:00
Laurenz
d40c8ab6ab
Compile-time PicoStr
interning ( #5491 )
2024-11-29 15:03:08 +00:00
+merlan #flirora
89d96c623d
Let decimal constructor accept decimal values ( #5481 )
2024-11-27 16:36:04 +00:00