| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-07-10 | Run `cargo fmt` | Sebastian Holmin | 2 | -2/+2 | |
| 2025-04-04 | Add support for different orderings of arguments for translations | Jonatan Rhodin | 2 | -7/+98 | |
| 2024-04-03 | Enable single-use-lifetimes rustc lint | Linus Färnstrand | 1 | -1/+1 | |
| Removes superfluous lifetime definitions. Simplifying the code | |||||
| 2024-02-27 | Replace err_derive with thiserror | Joakim Hulthe | 3 | -20/+14 | |
| `err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical. | |||||
| 2024-02-08 | Fix `clippy` lint `ineffective_open_options` | Markus Pettersson | 1 | -4/+1 | |
| This new `clippy` lint was introduced in the latest Rust release (1.76). | |||||
| 2023-08-03 | Migrate translation-converter to err_derive | Linus Färnstrand | 3 | -24/+27 | |
| 2023-05-23 | Make Android translations-converter compat with rust_2018_idioms | Linus Färnstrand | 1 | -1/+1 | |
| 2023-01-30 | Run `cargo clippy --fix` with the new Rust 1.67 preferred format | Linus Färnstrand | 3 | -11/+11 | |
| 2022-12-21 | Fix rust formatting | Albin | 1 | -2/+1 | |
| 2022-12-21 | Apply more clippy fixes. | Emīls | 1 | -3/+1 | |
| 2022-06-13 | Perform a clippy --fix | jonathan | 1 | -5/+5 | |
| This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same. | |||||
| 2022-05-13 | Remove unused macro expressions | Emīls | 1 | -50/+0 | |
| With the advent of the latest nightly, the unused macro expressions are producing warnings, which fail the CI. So the unused expressions are removed, and can be added back if they are ever required again. | |||||
| 2021-05-28 | Remove obsolete `parse_line` helper function | Janito Vaqueiro Ferreira Filho | 1 | -11/+0 | |
| Replaced by the new `match_str!` macro implementation. | |||||
| 2021-05-28 | Fix handling of multi-line messages | Janito Vaqueiro Ferreira Filho | 1 | -15/+162 | |
| A message string can be split among multiple lines, and this was not properly handled. Now it is handled by separate states that join all the lines it finds related to the message. | |||||
| 2021-05-28 | Test `MsgString` concatenation | Janito Vaqueiro Ferreira Filho | 1 | -0/+36 | |
| Test by moving the operands and by borrowing them. Also test appending to a `MsgString`. | |||||
| 2021-05-28 | Implement `Add` for `MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -1/+21 | |
| Allow joining two `MsgString`s, either by moving them or by borrowing them. | |||||
| 2021-05-28 | Implement `AddAssign` for `MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -1/+16 | |
| Allowing appending to a `MsgString`. | |||||
| 2021-05-28 | Refactor parser into a clearer state machine | Janito Vaqueiro Ferreira Filho | 1 | -73/+322 | |
| Make it more robust, maintainable and readable. | |||||
| 2021-05-28 | Return errors from parser methods | Janito Vaqueiro Ferreira Filho | 2 | -22/+50 | |
| Avoid panicking inside of `Parser`. | |||||
| 2021-05-28 | Derive `Eq` and `PartialEq` for `MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -1/+1 | |
| This is to allow `Eq` to be derived for the future `gettext::parser::Error` type. | |||||
| 2021-05-28 | Move `Parser` into a separate module | Janito Vaqueiro Ferreira Filho | 3 | -109/+145 | |
| Prepare for refactoring the parsing logic to improve readability and maintainability. | |||||
| 2021-05-28 | Add `Messages::add_plural` helper method | Janito Vaqueiro Ferreira Filho | 1 | -0/+10 | |
| Adds plural entries. | |||||
| 2021-05-28 | Add `Messages::add` helper method | Janito Vaqueiro Ferreira Filho | 1 | -0/+10 | |
| Adds non-plural message entries. | |||||
| 2021-05-28 | Add `Messages::starting_with` constructor | Janito Vaqueiro Ferreira Filho | 1 | -0/+15 | |
| Helper constructor to create the instance with an initial entry. | |||||
| 2021-05-28 | Implement `FromStr` for `PluralForm` | Janito Vaqueiro Ferreira Filho | 1 | -0/+19 | |
| Makes it simpler to obtain an error when attempting to create an instance from a formula string. | |||||
| 2021-05-28 | Add `Messages::with_plural_formula` constructor | Janito Vaqueiro Ferreira Filho | 1 | -0/+8 | |
| Helper method to parse a specified plural formula in order to create a new empty `Messages` list with the plural form configured. | |||||
| 2021-05-28 | Return result from `gettext::Messages::from_file` | Janito Vaqueiro Ferreira Filho | 1 | -8/+15 | |
| Instead of panicking on error. | |||||
| 2021-05-28 | Move `Messages` and related types to new module | Janito Vaqueiro Ferreira Filho | 2 | -162/+173 | |
| 2021-05-28 | Rename `Translations` into `Messages` | Janito Vaqueiro Ferreira Filho | 1 | -3/+3 | |
| Because it's also used for the messages template file. | |||||
| 2021-05-28 | Refactor `match_str` to have extra features | Janito Vaqueiro Ferreira Filho | 2 | -14/+209 | |
| It now allows matching prefixes and suffixes. | |||||
| 2021-05-28 | Move `match_str!` macro to a separate module | Janito Vaqueiro Ferreira Filho | 2 | -17/+18 | |
| 2021-05-21 | Impl. more escape sequences in gettext messages | Janito Vaqueiro Ferreira Filho | 1 | -4/+22 | |
| 2021-05-19 | Test creating an already escaped `MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -0/+9 | |
| 2021-05-19 | Test `MsgString` escaping of double quotes | Janito Vaqueiro Ferreira Filho | 1 | -0/+9 | |
| 2021-05-19 | Test creating an empty `MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -0/+12 | |
| 2021-05-19 | Rename `android::StringValue` constructor | Janito Vaqueiro Ferreira Filho | 1 | -1/+1 | |
| Make it consistent with `gettext::MsgString` and make it clearer that escaping will be performed. | |||||
| 2021-05-19 | Remove previous gettext string normalization | Janito Vaqueiro Ferreira Filho | 1 | -26/+4 | |
| 2021-05-19 | Improve construction semantics for `MsgString` | Janito Vaqueiro Ferreira Filho | 2 | -13/+22 | |
| 2021-05-19 | Implement `Normalize` for `gettext::MsgString` | Janito Vaqueiro Ferreira Filho | 1 | -2/+1 | |
| 2021-05-19 | Move `PluralForm` into a new module | Janito Vaqueiro Ferreira Filho | 2 | -34/+35 | |
| Also replace the `panic` that could happen when an unknown plural formula is used with returning `None`. | |||||
| 2021-05-19 | Move `MsgString` type into a separate module | Janito Vaqueiro Ferreira Filho | 2 | -32/+38 | |
| 2021-05-19 | Move `gettext` module into a new sub-directory | Janito Vaqueiro Ferreira Filho | 1 | -0/+314 | |
