| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-08-20 | Remove redundant semicolons | Dr. Dystopia | |
| 2024-07-28 | InputCommon: Translate ExpressionParser error messages | JosJuice | |
| The _trans macro marks strings for translation but doesn't do anything at runtime. For that, we need to use a function like GetStringT. | |||
| 2024-04-12 | NumericSetting: Stop values from binding to numbered input names. | Jordan Woyak | |
| 2024-04-12 | ExpressionParser: Support unary plus operator. | Jordan Woyak | |
| 2023-12-12 | Merge pull request #12399 from lioncash/erasing | Tilka | |
| General: Make use of std::erase_if/std::erase where applicable | |||
| 2023-12-12 | ExpressionParser: Avoid some miscellaneous copies | Lioncash | |
| Just some trivial copies that can be eliminated or turned into moves. | |||
| 2023-12-12 | ExpressionParser: Mark constructors explicit where applicable | Lioncash | |
| Makes for consistency with the surrounding code. | |||
| 2023-12-12 | ExpressionParser: Pass control qualifiers by const reference | Lioncash | |
| These aren't necessarily cheap to copy, since a control qualifier will have around 3 std::strings inside of it, so passing by value can churn allocations a little bit. | |||
| 2023-12-12 | ExpressionParser: Make use of std::erase_if | Lioncash | |
| 2023-06-08 | Prefer static const std::regex | get | |
| std::regex has a relatively expensive constructor, and these are unchanging regexes. | |||
| 2023-02-17 | InputCommon: Fix memory leak in ExpressionParser | Pokechu22 | |
| We allocate in MakeSuppressor via `return unique_ptr(std::make_unique<...>(...).release(), InvokingDeleter{}`, so it wasn't properly getting freed. | |||
| 2022-10-11 | Input: Add "abs" input expression function. | Jordan Woyak | |
| 2022-07-25 | StripSpaces: only strip spaces | Shawn Hoffman | |
| StripWhitespace maintains old behavior | |||
| 2021-10-13 | Fix all uninitialized variable warnings (C26495) | Pokechu22 | |
| 2021-07-05 | treewide: convert GPLv2+ license info to SPDX tags | Pierre Bourdon | |
| SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel. | |||
| 2021-05-24 | Expose Control Expression variables to mappings UI | Filoppi | |
| -add a way to reset their value (from the mappings UI) -fix "memory leak" where they would never be cleaned, one would be created every time you wrote a character after a "$" -fix ability to create variables with an empty string by just writing "$" (+added error for it) -Add $ operator to the UI operators list, to expose this functionality even more | |||
| 2021-05-12 | InputCommon: follow coding conventions | Filoppi | |
| 2021-05-12 | Add mixed comments to input code, make some tooltip clearer | Filoppi | |
| 2021-04-28 | Merge pull request #9674 from Filoppi/fix_hotkey_suppresion_crash | Jordan Woyak | |
| Fix hotkey suppression crash | |||
| 2021-04-26 | InputCommon: small hotkey threshold symmetry fix | Filoppi | |
| 2021-04-26 | InputCommon: fix hotkey suppression crash if nullptr suppressions were added ↵ | Filoppi | |
| to the map Update references was failing to update the references, causing input to stay nullptr and crashing. I fixed the case that triggered that, though also added checks against nullptrs for safety. (cherry picked from commit 4bdcf707555a5568eddff957fa3604975ffb6ed7) | |||
| 2021-04-02 | Replace uses of cassert with Common/Assert.h | Pokechu22 | |
| 2021-01-27 | rename InputCommon/ControllerInterface/Device to CoreDevice | Shawn Hoffman | |
| 2020-11-08 | InputCommon: Return error, if any, from ControlReference::SetExpression(). | Admiral H. Curtiss | |
| 2020-10-20 | ExpressionParser: Add missing <functional> include | Lioncash | |
| Unbreaks Windows CMake builds. | |||
| 2020-09-25 | ExpressionParser: Improve hotkey suppression logic. Allow activation with ↵ | Jordan Woyak | |
| simultaneous press of modifier and final input. | |||
| 2020-09-25 | ExpressionParser: Replace ScopeGuard with custom deleter unique_ptr. | Jordan Woyak | |
| 2020-09-25 | InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / ↵ | Jordan Woyak | |
| R_Ctrl hierarchy. | |||
| 2020-09-25 | InputCommon: Clean up modifier ignoring logic. | Jordan Woyak | |
| 2020-09-25 | ExpressionParser: Allow duplicate and superset modifier hotkeys to function. | Jordan Woyak | |
| 2020-09-25 | ExpressionParser: Suppress inputs when hotkey modifiers are pressed. | Jordan Woyak | |
| 2020-09-25 | ExpressionParser: Add Hotkey syntax. | Jordan Woyak | |
| 2020-08-02 | InputCommon: Add a handful of math functions to the expression parser. | Admiral H. Curtiss | |
| 2020-03-24 | Cleanup warnings of -Wmissing-declarations | Jun Su | |
| Add static to the functions which is not intentionally export to big scope. | |||
| 2020-02-09 | InputCommon: Eliminate some duplicated button threshold logic. | Jordan Woyak | |
| 2020-02-08 | InputCommon: Allow controller settings specified with input expresions. | Jordan Woyak | |
| 2019-11-22 | InputCommon/FunctionExpression: Use Yoda conditions, we do not | Lioncash | |
| The general convention in the codebase is to compare the non-constant value/string with the constant value/string, not the other way around. | |||
| 2019-11-22 | InputCommon/FunctionExpression: Remove unnecessary 'else' in ↵ | Lioncash | |
| MakeFunctionExpression() Given all conditional bodies only contain a return, the use of else here isn't necessary. This has the benefit of consistently vertically aligning the names. | |||
| 2019-11-22 | InputCommon/FunctionExpression: Make MakeFunctionExpression() take a ↵ | Lioncash | |
| std::string_view There's nothing within this function that requires a copy of the string to be made, so we can make use of a non-owning view | |||
| 2019-11-22 | InputCommon/FunctionExpression: Remove unused LOOP_MAX_REPS constant | Lioncash | |
| This isn't used anywhere in the translation unit, so we can remove it. | |||
| 2019-11-22 | InputCommon/FunctionExpression: Remove cyclical include | Lioncash | |
| This header was including itself, which is likely not intended. | |||
| 2019-11-22 | InputCommon/FunctionExpression: Collapse namespaces | Lioncash | |
| Since we target C++17, we can collapse the namespaces into a single declaration specifier. | |||
| 2019-11-22 | InputCommon/FunctionExpression: include <algorithm> | Lioncash | |
| std::min/std::max are used within this translation unit, so it needs to be included to prevent potential compilation failures. | |||
| 2019-11-06 | InputCommon: Make the "input gate" not racey. | Jordan Woyak | |
| 2019-10-25 | InputCommon: Change "EOF" to "end of expression" in user facing string | JosJuice | |
| This is hopefully clearer, since we're not dealing with a file. | |||
| 2019-10-20 | ExpressionParser: Add XOR operator. | Jordan Woyak | |
| 2019-10-12 | ExpressionParser: Make Lexer ctor explicit and move argument. | Jordan Woyak | |
| 2019-10-12 | ExpressionParser: Add support for /* */ style comments. | Jordan Woyak | |
| 2019-10-11 | ExpressionParser: Show error message with expected arguments. | Jordan Woyak | |
| 2019-10-11 | ExpressionParser: Remove ! character from function syntax. Remove unused ↵ | Jordan Woyak | |
| serialization functions. | |||
