Commit graph

25 commits

Author SHA1 Message Date
Tobias Hunger
2d2c560220 janitor: Remove unnecessary return statements
Some of these actually seem to make some stylistc sense
2022-01-09 13:46:33 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Olivier Goffart
34ea35d32b Some complement to the SharedString docs 2021-12-19 21:53:24 +01:00
Olivier Goffart
9440d3c003 SharedString and SharedVector should be Send
SharedString used to be Send, but this regress when we moved the implementation
over to SharedVector.
This regression was cought trying to compile CargoUI with master
2021-12-12 15:01:41 +01:00
Olivier Goffart
ffe561f8d8 Use SharedVector internally in SharedString
Get rid of the triomphe dependency
2021-12-02 12:42:30 +01:00
Olivier Goffart
4149563817 More fixes with no_std regarding statics and thread_locals 2021-11-30 09:33:39 +01:00
Olivier Goffart
80c0602277 WIP: start making the corelib crate a no_std crate
Does not compile yet with no_std because of the lack of
alternative for thread_local
2021-11-25 12:02:16 +01:00
Tobias Hunger
60ef093aaa Janitor: Fix clippy::len_without_is_empty 2021-08-04 22:50:35 +02:00
Tobias Hunger
57ed130380 Janitor: Fix clippy::from_over_into 2021-08-04 22:50:35 +02:00
Olivier Goffart
13bd828b96 Update license date 2021-07-02 15:55:54 +02:00
Tobias Hunger
13d7f5e7bd Janitor: Fix typos in comments and user-facing strings
Also adapt tests for error messages containing the fixed strings.

No behavior change is intended!
2021-06-28 08:32:25 +02:00
Olivier Goffart
35cce45cbc Add a fii feature so that we don't compile in the ffi code if not required 2021-03-16 18:09:57 +01:00
Simon Hausmann
f087cc18bc Remove extern "C" functions from wasm module
We don't need these functions and their export. They account for ~20kb in
the optimized .wasm - plus JS glue code.
2021-02-26 17:04:49 +01:00
Simon Hausmann
79b7e825bb Minor cleanup of font cache handling
Store the font family as a SharedString, as that allows us to make a
lookup without a string copy.
2020-11-23 18:23:22 +01:00
Olivier Goffart
ec2f500f69 Use a combobox in the booker example
Also enable the button depending on the order of the string
2020-11-03 18:38:35 +01:00
Olivier Goffart
bb332b56ca Fix Display for SharedString
It shoud not add the quotes
2020-10-20 14:43:17 +02:00
Olivier Goffart
1de39e5769 String concatenation 2020-10-19 18:37:15 +02:00
Simon Hausmann
26ae1bfdb2 Add From<String> and Into<String> for SharedString 2020-09-14 08:49:41 +02:00
Simon Hausmann
3bf5d68508 Tweak Rust SharedString docs a bit 2020-09-09 08:15:06 +02:00
Simon Hausmann
da913ae917 Minor doc tweaks for SharedString 2020-09-08 22:58:49 +02:00
Olivier Goffart
58cdaeb8dd Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00
Olivier Goffart
2c0fc29c5c Some fixup for the documentation 2020-08-25 14:42:18 +02:00
Simon Hausmann
2823f32692 Apply license headers to all non-binary/non-json sources 2020-08-17 17:55:20 +02:00
Simon Hausmann
e655909e9f Adding missing missing_docs guards
Those used to be in the abi {} sub-module
2020-08-12 11:45:55 +02:00
Simon Hausmann
dbd6708959 Move string out of abi
And split the FFI-only bits into an ffi submodule.
2020-08-03 17:44:49 +02:00
Renamed from sixtyfps_runtime/corelib/abi/string.rs (Browse further)