| Age | Commit message (Collapse) | Author |
|
* New basic `repl` command useful to interactively execute
Lua code with access to the Pragtical API. Supports
single and multiple line expressions and includes
some useful (maybe) built-in commands.
* New `run` command that allows executing Lua files
or Lua code strings with access to the Pragtical API.
* Flags and commands list help output is now padded and wrapped.
* The current terminal columns width is detected for padding
and wrapping.
* Now only treat as files the cli unhandled arguments.
* Support fetching value of single char flags when no spaces,
eg: -Fvalue
* Support for insensitive true or false on boolean flags.
* Added new `edit` command to explicitly open a new editor
instance by skipping the IPC system.
|
|
Improvements to the Lua doc comments that allows improved
generation of the Lua API reference using the gendocs plugin.
|
|
On startup we chdir to the initial working directory to
properly resolve the absolute path of given arguments.
If no ipc method is called we just chdir back to currently
loaded project.
|
|
This fix restores opening of a relative path from within the IPC plugin
which was broken by #93
|
|
This corrects the remanent of old function name to the new core.add_project().
|
|
* move window creation and management to Lua (#1751)
* remove scaling logic from font code
for the time being its been hardcoded to 1 for the non SDL Renderer basewin setup, so nothing is lost for non MacOS users.
will be revisited in the future when scaling is improved with SDL3 and moved into scripts.
* remove unused window_renderer argument from font functions
* move window logic to lua, pass window via argument
* rename window creation functions `*_create`, `*_destroy`, add real init
* Set active window when processing frame
* get size directly from RenWindow, get active window size from renderer
* correct reverted draw calls
* fix window not reappearing on restart
* add simple logic to persist the core window
* fix style
* add renwindow documentation
* make windows hidden by default again
* reorder ren_update_rects execution, add comment to note future work
* Adapt code that calls system.win functions
* Remove scale detection from start.lua
* Trimmed spaces from renwindow docs
* Enable darkmode on window creation and added min win size
---------
Co-authored-by: Jan <sentrycraft123@gmail.com>
|
|
|
|
* Initial commit to clean up projects; spun off find-file to
its own plugin, removed project limit, removed the concept of a
project maintaining an ordered list of files, and allowed treeview
to see things like hidden files and files not actually in the project.
* Normalizing things, fixed typo.
* Abstracted root project, and made things more in line with current master behaviour.
* Removed unused legacy code, as well as ensured that we use absolute paths.
* Fixed issue with backslahes on linux, will look at windows at some point.
* Removed stray print.
* Removed orphaned function.
* Removed extraneous command.
* Fixed the ability to close project folders.
* Adaptations for project rework.
* Removed superceded function.
* Applied jgm's suggestions.
|
|
|
|
|
|
|
|
|