aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge lines.loveHEADmainKartik K. Agaram2026-04-015-21/+22
|\
| * update documentationKartik K. Agaram2026-04-011-2/+3
| |
| * better support other keyboard layoutsKartik K. Agaram2026-04-015-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks Garvalf for improving my understanding here relative to https://love2d.org/forums/viewtopic.php?p=257623#p257623 back in Nov 2023. Levels of understanding: - never trigger both textinput and keypressed, so never trigger textinput if a modifier is down - wait, shift is a modifier. Ok, ignore modifiers except shift. - ctrl can never be triggered anyway. get rid of the whole modifier check. - wait, alt-c does trigger textinput('c') - allow textinput if a modifier changes the key being pressed - and now: turns out azerty requires shift to turn keypress '1' into textinput '1'. Better understand that layout and others. Textinput events can be triggered by either shift or altGr combinations. altGr isn't directly represented by LÖVE. It's usually the right alt key. There are probably devices out there that send other key combinations on altGr. I'll wait for people to chime in who can help test on those devices. In the fullness of time this probably requires some configuration: [ ] altGr is right alt [ ] altGr is ctrl+alt [ ] disable altGr
* | Merge lines.loveKartik K. Agaram2026-01-062-2/+12
|\|
| * bugfixKartik K. Agaram2026-01-062-2/+12
| | | | | | | | | | | | | | | | | | | | scenario: - position cursor at start of buffer - press backspace - press ctrl-z to undo Before this commit the editor would crash, because an undo event had no before.
* | Merge lines.loveKartik K. Agaram2025-11-121-1/+1
|\|
| * fix tests on Mac OSKartik K. Agaram2025-11-121-1/+1
| |
* | Merge lines.loveKartik K. Agaram2025-11-128-30/+49
|\|
| * add idiomatic home/end on Mac OSKartik K. Agaram2025-11-122-4/+4
| |
| * use cmd key on Mac OS for some idiomatic shortcutsKartik K. Agaram2025-11-126-26/+45
| |
* | Merge lines.loveKartik K. Agaram2025-10-251-0/+11
|\|
| * update source editorKartik K. Agaram2025-10-251-0/+11
| |
* | Merge lines.loveKartik K. Agaram2025-10-252-0/+12
|\|
| * experiment: switch mouse icon over buttonsKartik K. Agaram2025-10-252-0/+21
| |
* | Merge lines.loveKartik K. Agaram2025-08-184-12/+23
|\|
| * fix a bug with LÖVE 12 and DPI scalingKartik K. Agaram2025-08-181-1/+13
| |
| * reenable DPI scalingKartik K. Agaram2025-08-183-11/+10
| | | | | | | | | | | | | | | | | | | | | | I disabled it 2 days ago to fix this bug: with LÖVE 12 (both a release from Feb and a recent release) on Linux, every successive invocation would shrink the window. However, in disabling it I introduced a new bug: Carousel ended up with a huge resolution on my phone and text became miniscule. Just undo for starters.
* | merge bugfix for LÖVE 12Kartik K. Agaram2025-08-161-1/+1
| |
* | Merge lines.loveKartik K. Agaram2025-08-1610-4132/+8287
|\|
| * update source editorKartik K. Agaram2025-08-165-2129/+4269
| |
| * disable DPI scalingKartik K. Agaram2025-08-162-5/+6
| | | | | | | | | | It will require lots of changes, and I don't know how to think about it yet.
| * wrap lines like lines2 forksKartik K. Agaram2025-08-163-175/+212
| |
| * split up editor tests between LÖVE 11 and LÖVE 12Kartik K. Agaram2025-08-163-2102/+4202
| | | | | | | | Both are for desktop only. Not guaranteed to work on mobile.
* | Merge lines.loveKartik K. Agaram2025-05-131-0/+3
|\|
| * explicitly specify app nameKartik K. Agaram2025-05-131-0/+3
| | | | | | | | | | | | | | | | | | | | I've resisted this for some reason all these years, but finally encountered a situation that requires it: $ love ./ This runs the app, but with an identity of 'lovegame'. So all new save dir, etc.
* | Merge lines.loveKartik K. Agaram2025-05-0611-58/+58
|\|
| * plumb through all supported args in LÖVE handlersKartik K. Agaram2025-05-0610-57/+57
| | | | | | | | | | | | I just noticed that the is_touch arg in mouse handlers is extremely useful for arbitrating between events on a mobile device. And I'd totally forgotten about its existence X-(
| * standardize nameKartik K. Agaram2025-05-062-3/+3
| |
| * bugfixKartik K. Agaram2025-05-061-1/+1
| |
* | Merge lines.loveKartik K. Agaram2025-02-173-33/+33
|\|
| * slightly improve deepcopy everywhereKartik K. Agaram2025-02-172-8/+8
| |
| * reindentKartik K. Agaram2025-02-171-25/+25
| |
* | Merge lines.loveKartik K. Agaram2025-01-221-6/+6
|\|
| * bugfix: scrolling up using scroll wheelKartik K. Agaram2025-01-222-12/+12
| | | | | | | | | | The culprit is an ambiguously named helper. put_cursor_on_next_text_line is not supposed to move to next line if the current line is text.
* | Merge lines.loveKartik K. Agaram2024-12-063-7/+9
|\|
| * clarify a misleading testKartik K. Agaram2024-12-063-7/+9
| | | | | | | | | | I'm still using these to periodically reassure myself about the state of lines2 and its descendants.
* | Merge lines.loveKartik K. Agaram2024-12-061-3/+0
|\|
| * delete redundant method descriptionKartik K. Agaram2024-12-011-3/+0
| |
* | drop an unused variableKartik K. Agaram2024-12-031-1/+1
| |
* | Merge lines.loveKartik K. Agaram2024-10-292-46/+2
|\|
| * simpler implementation of bugfix #2Kartik K. Agaram2024-10-292-46/+2
| |
* | some more renamesKartik K. Agaram2024-10-292-6/+6
| |
* | Merge lines.loveKartik K. Agaram2024-10-296-10/+118
|\|
| * bugfix #3, attempt #2 in search UIKartik K. Agaram2024-10-292-5/+5
| | | | | | | | Avoid accidental side-effects.
| * bugfix #3 in search UIKartik K. Agaram2024-10-292-9/+5
| | | | | | | | | | This is a regression. Scenario: search for a string, then backspace until it goes empty.
| * bugfix #2 in search UIKartik K. Agaram2024-10-295-6/+44
| |
| * bugfix in search UIKartik K. Agaram2024-10-295-13/+83
| | | | | | | | | | | | | | | | | | | | | | | | This one is ancient and it affects every single one of my forks, including the whole lines2 lineage. The corner case: searching for empty string. In the process I've also cleaned up edit.check_locs on initialization to only modify cursor if it can find a legal place for it. In general I should be more careful about mutating the cursor. Just adding 1 to it is irresponsible.
| * bugfix: restart search on backspaceKartik K. Agaram2024-10-281-0/+3
| | | | | | | | Ported from bugfix of 2024-06-23.
* | Merge lines.loveKartik K. Agaram2024-10-142-4/+4
|\|
| * bugfix: UnicodeKartik K. Agaram2024-10-142-4/+4
| |