aboutsummaryrefslogtreecommitdiff
path: root/midend.c (unfollow)
Commit message (Expand)Author
2024-07-31Refactor `button & ~MOD_MASK' as `STRIP_BUTTON_MODIFIERS(button)'.Franklin Wei
2024-07-31midend_process_key: allow Shift+Tab to pass through to the backend.Franklin Wei
2023-08-24midend_request_keys: fix memory leak of a game_params.Simon Tatham
2023-07-29midend_get_prefs: Don't free memory that we just copied elsewhere.Asher Gordon
2023-06-26Fix control-character generation fixBen Harris
2023-06-25Reduce the set of keys from which we generate control charactersBen Harris
2023-06-11Expose the NO_EFFECT/UNUSED distinction through midend_process_key()Ben Harris
2023-06-11Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()Ben Harris
2023-06-11Rename UI_UPDATE as MOVE_UI_UPDATEBen Harris
2023-06-06Fix a few minor memory leaks.Simon Tatham
2023-05-02midend_apply_prefs: apply prefs to the right ui.Simon Tatham
2023-04-24Fix bounds check in buffer_append.Simon Tatham
2023-04-23Fix failure to update me->ui when changing preferences.Simon Tatham
2023-04-23Universal preference option for one-key shortcuts.Simon Tatham
2023-04-23Keep a set of preferences in the midend.Simon Tatham
2023-04-23Generalise the midend serialisation callbacks.Simon Tatham
2023-04-21Pass a game_ui to compute_size, print_size and print.Simon Tatham
2023-04-08Add a game_state argument to decode_ui()Ben Harris
2023-04-08Make encode_ui() and decode_ui() optional in back-endsBen Harris
2023-03-05Further restrict the keys that can have MOD_NUM_KEYPADBen Harris
2023-03-04Treat keypad-Enter as CURSOR_SELECT, same as Return.Simon Tatham
2023-02-26Correctly handle some short save filesBen Harris
2023-02-23More cleverness in midend_process_key()Ben Harris
2023-02-20Fix memory leak in midend_game_id_int()Ben Harris
2023-02-13Validate that save file values are ASCII (mostly)Ben Harris
2023-01-16Fix memory leak in convert_tilesizeBen Hutchings
2023-01-15When loading, don't decode_ui unless we have a UIBen Harris
2023-01-15Don't load too many states just because there's no STATEPOSBen Harris
2023-01-15Range-check record lengths when deserialising gamesBen Harris
2022-12-14Add an assertion that all colours are within rangeBen Harris
2022-12-09New backend function: current_key_label()Ben Harris
2022-12-06Assert that the back-end has provided a background colourBen Harris
2022-11-15Extra key mappings: '*' to undo and '#' to redoBen Harris
2022-11-10Remove a couple of unused variables.Simon Tatham
2022-11-08Add a way for midend_process_key() to report whether it handled a keypressBen Harris
2022-11-08Teach the mid-end about device pixel ratiosBen Harris
2022-10-21Build fix: take declarations out of for loops.Simon Tatham
2022-10-20Assert that everything written to a save file is printable ASCIIBen Harris
2022-10-20Hex-encode non-ASCII random seeds in save filesBen Harris
2022-10-20Add assertions that game descriptions consist only of printable ASCII.Ben Harris
2022-10-20Add an assertion to check the format of encoded parametersBen Harris
2022-10-16Correct and enable the range check on statepos when loadingBen Harris
2022-10-16Add more validation to midend deserialisation routineBen Harris
2021-04-27Reinsert some missing screen-clears.Simon Tatham
2021-04-25Centralise initial clearing of the puzzle window.Simon Tatham
2020-12-07Add method for frontends to query the backend's cursor location.Franklin Wei
2019-04-05Fix a handful of memory leaks in the midend.Simon Tatham
2018-11-13Use C99 bool within source modules.Simon Tatham
2018-11-13Replace TRUE/FALSE with C99 true/false throughout.Simon Tatham
2018-11-13Adopt C99 bool in the midend API.Simon Tatham