Commit Graph

879 Commits (2e0eabbac730063130d05fe117b245dda35cfe3f)

Author SHA1 Message Date
TorchedSammy 2e0eabbac7
fix(website): hide overflow 2022-06-22 13:24:41 -04:00
TorchedSammy 00c8cab8bb
fix(website): add doc layout for doc pages 2022-06-22 13:22:36 -04:00
TorchedSammy 1d7a34e0c5
fix(website): use dash to separate title and site title instead of vertical bar 2022-06-22 12:21:53 -04:00
TorchedSammy 54fc4f72ae
fix(website): clean up footer/header and make footer bg color match header 2022-06-22 11:57:32 -04:00
TorchedSammy c886a585e7
docs(website): fix typo in install steps and add docs landing 2022-06-22 10:55:08 -04:00
TorchedSammy 00d7942e1c
docs(website): fix description for home page 2022-06-21 23:31:21 -04:00
TorchedSammy 025a5b0925
docs(website): use either description or summary for embed 2022-06-21 23:27:32 -04:00
TorchedSammy a80487e287
docs: flip order of page title 2022-06-21 23:10:37 -04:00
TorchedSammy 2cb48afe44
docs(website): add title to install page 2022-06-21 23:10:21 -04:00
TorchedSammy b8ad86d341
docs(website): fix references to logo on website 2022-06-21 23:07:50 -04:00
TorchedSammy 1fb855286b
docs(website): fix headers in home page properly 2022-06-21 23:03:03 -04:00
TorchedSammy c80bede1d3
docs(website): fix base url casing 2022-06-21 22:51:08 -04:00
TorchedSammy 350162d084
docs(website): only make header light if it is on home 2022-06-21 22:50:52 -04:00
TorchedSammy 5b8820beab
docs(website): include more embed info 2022-06-21 22:50:24 -04:00
TorchedSammy 1c2e0fbe72
ci(website): combine cd and hugo in 1 run cmd 2022-06-21 22:36:51 -04:00
TorchedSammy b89b49e3de
ci: fix website build 2022-06-21 22:32:46 -04:00
TorchedSammy 635f89aa3a
docs(website): add install steps 2022-06-21 22:28:39 -04:00
TorchedSammy 3ef564a26d
ci: allow builds on website branch 2022-06-21 22:09:01 -04:00
TorchedSammy 6e2e85a830
docs: add website 2022-06-21 22:05:46 -04:00
TorchedSammy 7af90eb1f1
chore: fix go sum 2022-06-20 20:37:54 -04:00
TorchedSammy a6b52047f2
chore: update golua to popen branch 2022-06-20 20:33:09 -04:00
TorchedSammy 587d08773f
chore: merge from remote 2022-06-20 17:16:59 -04:00
TorchedSammy 362bb14d7e
feat: auto start lua modules (closes #167) 2022-06-20 17:07:15 -04:00
TorchedSammy 153a89b188 docs: [ci] generate new docs 2022-06-20 20:47:56 +00:00
TorchedSammy 453ba9f8ad
feat(fs): add some functions and properties (closes #168) 2022-06-20 16:47:16 -04:00
TorchedSammy 3e807f5235
fix: handle lua eval errors and normal runner errors separately 2022-06-20 15:47:19 -04:00
TorchedSammy 7e57b3de7d
fix: check if input is 0 on multiline splitting (closes #170) 2022-06-20 15:35:25 -04:00
sammyette 226605a996
feat: allow runners to specify if they want more input (#162)
* refactor!: make runners require returning a table

allows for more options for runners in the future,
and makes it so that you can avoid passing
certain args more easily.

* feat: allow runners to specify continue in return to prompt for more input

* docs: update changelog

* refactor: reorder returns of handleSh function

* refactor: move out reprompting and runner handling to functions

makes codefactor happy hopefully. this commit includes
a fix to check if after reprompt the user hits ctrl d
and just exits cleanly
2022-06-02 22:33:30 -04:00
TorchedSammy 1b4b41846f
chore: merge from remote branch 2022-05-31 15:17:50 -04:00
TorchedSammy 3196f0dcb9
fix: don't refetch tab completion on refresh if its already open (closes #163) 2022-05-31 15:16:32 -04:00
TorchedSammy 3f745e7e4d
docs: update contributing info to include writing changes to changelog 2022-05-30 18:16:36 -04:00
TorchedSammy f9a2a981b4
fix: revert "fix: multiline cursor redraw"
This reverts commit 1339dc4a2f.
this caused a few issues, including
history search messing up previous lines
what this commit was trying to fix is unimportant anyway
2022-05-29 19:02:20 -04:00
TorchedSammy 1339dc4a2f
fix: multiline cursor redraw 2022-05-28 21:05:03 -04:00
TorchedSammy b4a5746093
ci: use make to build for artifacts 2022-05-28 20:21:57 -04:00
TorchedSammy 2faaf4e045
fix: print err don't panic and in the case of regex compile failing on menu find 2022-05-28 20:19:49 -04:00
sammyette 3990d370fa
feat: extend hilbish.runner interface to allow multiple runners (#159) 2022-05-28 19:06:18 -04:00
sammyette b28a2c24c1
refactor!: use userdata where appropriate (#157)
any interface which has lua side objects that are from go side for its api (namely jobs) they will use userdata instead of always creating a table to represent the object. this might or might not bring lower ram usage since there is now only 1 single reference to an object instead of always creating a table to expose on lua

breaking change since methods need to be called with a colon instead of dot
2022-05-28 19:03:44 -04:00
TorchedSammy e3c25586e4
fix: broken ansi escape codes on windows cmd 2022-05-28 09:07:28 -04:00
TorchedSammy 9d385efbfc
docs: add new methods for job objects 2022-05-24 19:32:03 -04:00
TorchedSammy d99c24842f
docs: update changelog 2022-05-24 19:31:51 -04:00
TorchedSammy 61271dc70c
fix: load bg command on init 2022-05-24 19:26:35 -04:00
sammyette 8697344f98
feat: implement job foregrounding/backgrounding (#155) 2022-05-24 19:15:02 -04:00
TorchedSammy d65b574cb2
docs: fix typo in job hook docs 2022-05-22 07:29:01 -04:00
TorchedSammy d808534da6
perf: use waitgroup instead of loop to wait on timers 2022-05-21 21:58:58 -04:00
TorchedSammy a4b358fd9c
perf: use struct{} for done channel in timer instead of bool 2022-05-21 21:39:14 -04:00
TorchedSammy 8f6f27e647
docs: add docs for lunacolors (closes #144) 2022-05-21 21:28:06 -04:00
TorchedSammy f888aabc80
chore!: update lunacolors 2022-05-21 21:26:34 -04:00
TorchedSammy 2572d0ea9e
docs: update changelog with latest changes 2022-05-21 21:11:59 -04:00
sammyette d2f16dfbbf
feat: job enhancements (#153)
* feat: add hilbish.job.add function

this is mainly to accomodate for the employer
handler (#152)

* feat!: add start function to jobs

the commit itself adds a few things but the
main purpose is to facilitate a lua side start
function that can restart the job

there is a breaking change in the hilbish.job.add
function; it is now required to provide an extra
table for arguments, since the first cmd
table isnt really what's actually ran

* fix: reuse standard files for jobs

* fix: deadlock in lua job add function and not taking proper amount of args

* fix: assign binary path to job

* feat: emit job.add hook when job is added

* chore: update modules

* fix: use setpgid on cmd procattr for background jobs

* fix: use right procattr on correct os

* fix: set bg proc attr in build tagged file

* feat: add disown function

* fix: stop jobs on exit

* feat: add disown command

* feat: add jobs.last function to get last job

* feat: make disown command get last job if id isnt suppied as arg

* chore: remove unused code

* feat: add job output

* chore: fix comments

* fix!: make exec path in job add explicit in lua side

* docs: add docs and changelogs relating to jobs
2022-05-21 20:53:36 -04:00
TorchedSammy 392cb66382
fix: handle sigterm and remove obsolete code 2022-05-21 20:53:02 -04:00