Moulins
|
e5caf0fda8
|
core: use unified repr for non-static `AvmString`s, interned and not
This shrinks the size of `AvmString` back from 3 to 2 usizes.
|
2023-04-27 00:17:31 +02:00 |
Moulins
|
90d5515d47
|
wstr: fix `wstr_impl_traits` macro not working without `use ruffle_wstr::*`
|
2023-04-26 23:49:18 +02:00 |
Moulins
|
e9a16ff5fe
|
wstr: cleanup and expose the `ptr` module
- move `WStr` declaration to `common`;
- move `MAX_STRING_LEN` to the `WStr` type;
- split `ptr` methods into `*const` and `*mut` variants;
- add safe methods `WStrMetadata::new32/len32`;
- add `WString::{from, into}_raw_parts`.
|
2023-04-26 23:49:18 +02:00 |
Moulins
|
604a15f957
|
wstr: add `WStr::make_ascii_lowercase`
|
2023-04-26 23:49:18 +02:00 |
Moulins
|
2e255a5bba
|
wstr: Shrink WString to 16 bytes on 64-bits targets
|
2022-08-16 13:47:00 -07:00 |
Moulins
|
2d60e62b8b
|
wstr: introduce explicit WStrMetadata type
|
2022-08-16 13:47:00 -07:00 |
CUB3D
|
05bfa3770e
|
chore: Fix warnings with cargo doc
|
2022-08-08 20:20:18 +03:00 |
Mike Welsh
|
9d5e461278
|
core: Add WStr::eq_with_case
|
2022-05-09 17:39:49 -07:00 |
Moulins
|
3bbbf2f764
|
wstr: make the crate no_std
This requires removing the Error impl of ParseNumError, because the
Error trait is std-only.
|
2022-03-26 13:42:57 -07:00 |
Moulins
|
bd576639d5
|
wstr: refactor traits macro (again) to make it usable outside the crate
And add the AsRef, Borrow, wstr::Pattern to the macro
|
2022-03-26 13:42:57 -07:00 |
Moulins
|
826708a91b
|
wstr: refactor traits macro so that each wstr type uses it separately
|
2022-03-26 13:42:57 -07:00 |
Moulins
|
1911aa9a6b
|
Move core::string into separate ruffle_wstr crate.
|
2022-03-26 13:42:57 -07:00 |