about summary refs log tree commit diff stats
path: root/source.lua
Commit message (Collapse)AuthorAgeFilesLines
* Merge text.loveKartik K. Agaram2025-05-061-13/+13
|\
| * Merge lines.loveKartik K. Agaram2025-05-061-13/+13
| |\
| | * plumb through all supported args in LÖVE handlersKartik K. Agaram2025-05-061-12/+12
| | | | | | | | | | | | | | | | | | 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-(
| | * bugfixKartik K. Agaram2025-05-061-1/+1
| | |
* | | Merge text.loveKartik K. Agaram2024-09-101-0/+1
|\| |
| * | Merge lines.loveKartik K. Agaram2024-09-101-0/+1
| |\|
| | * bugfix in source editorKartik K. Agaram2024-09-101-0/+1
| | |
* | | Merge text.loveKartik K. Agaram2024-06-111-1/+0
|\| |
| * | Merge lines.loveKartik K. Agaram2024-06-111-1/+0
| |\|
| | * stop caching startyKartik K. Agaram2024-06-111-1/+0
| | | | | | | | | | | | | | | This is quite useful because I used to have a long list of places in which to invalidate the cache.
* | | Merge text.loveKartik K. Agaram2024-01-151-2/+2
|\| |
| * | Merge lines.loveKartik K. Agaram2024-01-151-2/+2
| |\|
| | * use editor state font for width calculationsKartik K. Agaram2024-01-121-2/+2
| | |
| | * don't save settings on error in source editorKartik K. Agaram2024-01-121-1/+0
| | |
| | * fix still more issues with the previous scenarioKartik K. Agaram2024-01-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - source editor always expects relative paths - refresh mocked data There's still one issue after this: the font size saved in the config file is the one we use in tests. More broadly, Editor_state is completely wrong. Ideally I'd just not save any settings for the source editor if the tests fail.
* | | Merge text.loveKartik K. Agaram2023-12-291-6/+4
|\| |
| * | Merge lines.loveKartik K. Agaram2023-12-291-6/+4
| |\|
| | * moar bugfix X-(Kartik K. Agaram2023-12-291-1/+1
| | |
| | * bugfixKartik K. Agaram2023-12-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | scenario: run without config file, quit, run again expected: font size remains the same on second run Before this commit it was increasing on each run. It turns out the font height that you pass into love.graphics.newFont() is not the result of font:getHeight().
| | * pull font into editorKartik K. Agaram2023-12-291-6/+4
| | | | | | | | | | | | | | | Now it adjusts the current font for itself. And it's up to the caller to adjust the current font after.
* | | Merge text.loveKartik K. Agaram2023-09-151-2/+2
|\| |
| * | Merge lines.loveKartik K. Agaram2023-09-151-2/+2
| |\|
| | * source: show file being edited in window title barKartik K. Agaram2023-09-151-1/+1
| | |
| | * hide line numbers from log browserKartik K. Agaram2023-09-151-1/+1
| | |
* | | Merge text.loveKartik K. Agaram2023-09-141-2/+3
|\| |
| * | Merge lines.loveKartik K. Agaram2023-09-141-2/+3
| |\|
| | * always show line numbers in source editorKartik K. Agaram2023-09-141-2/+3
| | | | | | | | | | | | | | | | | | The drawing buttons are now absolutely positioned, which is a horrible hack. But for just the source editor it seems good enough. The alternative is to modify magic constants in all the tests :/
* | | Merge text.loveKartik K. Agaram2023-09-101-7/+0
|\| |
| * | Merge lines.loveKartik K. Agaram2023-09-101-7/+0
| |\|
| | * Revert "deemphasize the source editor"Kartik K. Agaram2023-09-101-7/+0
| | | | | | | | | | | | | | | | | | | | | Now that we have decent error handling, I think we can encourage people to press ctrl+e again. This reverts commit 4b43e9e85d985bcedd105fa9693ae751e5b6d0b6.
* | | Merge text.loveKartik K. Agaram2023-09-041-0/+7
|\| |
| * | Merge lines.loveKartik K. Agaram2023-09-041-0/+7
| |\|
| | * show any error after switching to source editorKartik K. Agaram2023-09-041-0/+7
| | | | | | | | | | | | | | | | | | Error_message is a special global. It's set when the app (Current_app = 'run') encounters an error and switches to the source editor, and cleared when switching from source editor back to the app.
* | | Merge text.loveKartik K. Agaram2023-07-111-2/+2
|\| |
| * | Merge lines.loveKartik K. Agaram2023-07-111-2/+2
| |\|
| | * drop an unused argKartik K. Agaram2023-07-111-2/+2
| | |
* | | Merge text.loveKartik K. Agaram2023-07-101-57/+29
|\| |
| * | Merge lines.loveKartik K. Agaram2023-07-101-57/+29
| |\|
| | * standardize between run and source some moreKartik K. Agaram2023-07-101-4/+2
| | | | | | | | | | | | | | | We shouldn't be thinking about saving settings when we're initializing window geometry.
| | * simplify saving settingsKartik K. Agaram2023-07-101-5/+1
| | | | | | | | | | | | We don't ever call one app's settings while Current_app is the other.
| | * bugfix: Windows pushing title bar off screenKartik K. Agaram2023-07-101-43/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm learning the hard way that resizing the window is a big deal. Only do this when someone explicitly requests it, otherwise follow LÖVE's defaults. Therefore we're also going to stop trying to be smart when showing the log browser. Leave window resizing to manual operations. Now initialization looks a lot more similar for the run and source apps.
| | * delete flags that have never been exercisedKartik K. Agaram2023-07-101-4/+0
| | | | | | | | | | | | Initialization is getting complex, and I'm finding bugs.
| | * bugfix: preserve window positionKartik K. Agaram2023-07-101-2/+7
| | |
* | | Merge text.loveKartik K. Agaram2023-06-041-0/+5
|\| |
| * | Merge lines.loveKartik K. Agaram2023-06-041-0/+5
| |\|
| | * port inscript's bugfix to source editorKartik K. Agaram2023-06-041-0/+5
| | |
* | | Merge text.loveKartik K. Agaram2023-05-141-1/+1
|\| |
| * | Merge lines.loveKartik K. Agaram2023-05-141-1/+1
| |\|
| | * hide cursor in log browser windowKartik K. Agaram2023-05-141-1/+1
| | |
* | | Merge text.loveKartik K. Agaram2023-04-091-0/+7
|\| |