* Made findfile update suggestions as more results come in.
* To make the Guldo happy.
* Ensures that we don't update a commandview we don't own.
* Grumble.
* Refined scroing, and made it so things don't jump around on empty string.
* Updated scoring algorithm.
* Added in ability for commandview to preserve the suggestion index.
* Added in ability to preserve things, and made sure that we zero out a thread if it's dead.
* Clarity.
* Made interval make more sense.
* Ensured that core.visited_files is involved.
* Added in comments and changed the maximum amount of time we can spend in a loop.
* Removed unecessary variable.
* Keeps tracks of last user action on the commandview.
* Reworked to avoid needing to specify preserve.
* Updated constants.
* Updated to record the user's last supplied text, and then use it when we're grepping through suggestions.
* Typo.
* Implementing Guldo's changes.
* build.sh: support building SDL3 with cmake
* ci: install cmake
* ci: make msvc use bash to build again
* ci: use get-command to get link.exe
* build.sh: revert back to CMAKE_INSTALL_PREFIX
* ci: hardcode CMAKE_INSTALL_LIBDIR
* ci: set cc_ld to not step on cmake
* build.sh: less messing with cwd
* build.sh: fix prefix once and for all
* ci: skip installing cmake on macos to avoid warnings
* build.sh: pass MACOSX_DEPLOYMENT_TARGET to cmake
* build.sh: remove extra .. in configure command
* build.sh: remove unused variable
* build.sh: allow SIMD runtime detection
* build.sh: propagate LTO to SDL3
* fix: don't go down the directory tree in `system.list_dir`
* feat: use `lua_rawlen` instead of `luaL_len` in `list_dir` callback
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
* refactor: remove unneeded `lua_pop` in `list_dir`
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
---------
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
* update to SDL 3.2.0
* remove SDL wrap
* fix darwin and windows CI
* update build box, correct msys sdl3 dependency
* port leftovers from renderer backend to SDL3
* remove SDL main dep
the main implementation is now included in a header
* main.c: use SDL_main.h
This needs to be included to work.
* ci: use vcpkg and pkgconf to support SDL3 on MSVC
* ci: use 7z to create zip
* renwindow: create texture and surface suitable for the display
* system: remove trailing whitespace
* renderer: fix trailing whitespace
* system: fix checking the wrong argument
* system: port rmdir and stat to SDL3 API
* system: remove unneeded API level check
* system: fix wrong parameter index
* system: make set_window_hit_test and set_window_bordered accept a window
* docs/system: update docs
* system: restore some comments
* docs/system: add missing documentation for system.text_input
* system: use SDL_setenv_unsafe
* system: add back comment for setenv
* system,renderer: remove unnecessary SDL_ClearError calls
---------
Co-authored-by: takase1121 <20792268+takase1121@users.noreply.github.com>
* build.sh: replace -d with -m
* ci: generate debug builds for PR and non-master CI
* ci: bump lite-xl-build-box to v4
* ci: remove wrong options for packaging script
* ci: check for tag pushes as well
* ci: run release step only when tagged or continuous release
These are only needed for building the actual project and not for managing resources or setting various flags.
Gets rid of the double `source-only` check and moves it closer to the consumer
ren_font_group_get_width() is getting called a lot while not 100% of the
glyphs loaded from this function will be actually rendered. We can defer
the bitmap rendering to ren_draw_text.
* added a stupid __tostring to every object
* moved every __tostring to just after the :extend() call
---------
Co-authored-by: Adam <adamdharrison@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.
Removed superceded function.
Applied jgm's suggestions.
* Bump modversion.
* Bumped modversion and changed a few minor things.
* Added in handling of ignored files.
* Fixed small issue.
* Fixed issue with absolute arguments.
* Removed home encoding; may revert this if I can find out why it was done.
* Fixed minor issue with file suggestions.
* Cleaned up treeview.
* Typo.
* Added in visible.
* Ensured that the appropriate project module is loaded.
* Fixed improper rebase.
* Abstracted out the storage system of the workspace plugin so other plugins can use it.
* Fixed double return.
* Fixed functional issue.
* Added documentation.
* Sumenko reports duplicate function definitions, unsure why.
* Fixed minor bug with workspace.
* Fixed switching projects on restart.
* Harmonized spacing around asserts, and fixed an issue forgetting to set has_restarted.
* Made project an object.
* Removing unecessary yields.
* Removed unecessary fallback.
* Removed unecessary line.
* Reveted backslash handling, as it doesn't seem to make any difference.
* Spacing.
* Only stonks.
* Removed uneeded error handling.
* Added in function to determine project by path, and added in deprecation warnings for legacy interface.
* Removed storage module.
* Typo.
* Changed to use deprecation log instead of regular warn so as to not spam logs.
* Fixed small bug with saving workspaces on project change.
* Update data/core/init.lua
---------
* api/system: make stat() call consistent across platforms
* docs/system: symlink parameter is now available on most platforms
* system: set symlink flag only when path is directory
* docs: document type == nil on linux
* abstracted new_file and new_folder
* check for both slashes when creating new folder
---------
Co-authored-by: FloppyDisco <joshuapaulpiasecki@gmail.com>