Commit graph

164 commits

Author SHA1 Message Date
zawwz
4c984bdc39 minify empty variable manipulation 2021-07-24 08:26:24 +02:00
zawwz
56bd8a3db7 Merge branch 'dev' of github.com:zawwz/lxsh into dev 2021-07-08 14:34:57 +02:00
zawwz
66b4aaa153 fix quote minify being applied on heredocuments 2021-07-08 14:15:30 +02:00
zawz
982e86cc87 optimize fct minify by counting call occurences 2021-06-30 15:53:38 +02:00
zawz
c5f505462f fix var minify collisions with reserved words 2021-06-30 14:47:19 +02:00
zawz
5a34d8c39e fix deletions causing some empty clauses 2021-06-30 13:23:24 +02:00
zawz
6e87d180c2 fix minify on heredocument at end of case 2021-06-30 09:48:54 +02:00
zawz
aef06f4932 fix quote minify not escaping parentheses 2021-06-30 09:44:17 +02:00
zawz
be4c043a08 fix parsing escaped subshells in heredocuments 2021-06-30 09:43:48 +02:00
zawz
3af1fc57fc fix fct minify encountering reserved words 2021-06-29 15:53:25 +02:00
zawz
767302dd56 fix processing not being done on heredocuments 2021-06-29 15:35:13 +02:00
zawz
0be14815fa fix minify on empty case creating incorrect syntax 2021-06-29 15:34:53 +02:00
zawz
40aee8e3cf fix # not escaped on quote minify 2021-06-29 15:33:54 +02:00
zawz
e7d868de9e implement separated variables on assigns and cmdvars 2021-06-29 15:17:59 +02:00
zawz
38845e8652 multiple parsing fixes
- comment in pipeline throwing an error
- heredocument tries to parse quotes
- split pipeline/condlist combined with heredocuments don't parse correctly
2021-06-29 14:09:11 +02:00
zawz
c6c224bd12 cleanup 2021-06-29 14:07:49 +02:00
zawz
d8b3041e85 fix broken interactive tty on live-exec 2021-06-29 14:07:24 +02:00
zawz
8c3d693182 fixed incorrect debashified echo in combined string and variable 2021-06-28 17:18:34 +02:00
zawz
0e6fc1262d deduplicate parsing constant 2021-06-23 16:54:21 +02:00
zawz
3dc60ff7e3 fix non-quoted resolution of link commands 2021-06-23 16:47:30 +02:00
zawz
579a806c64 remove unused %include -e option 2021-06-23 16:46:57 +02:00
zawz
d461f625e8 fix escape sequences in quoted resolve 2021-06-23 15:53:08 +02:00
zawz
f80594d292 fix parsing stopping after heredocument 2021-06-23 15:52:41 +02:00
zawz
ca2839ec9c add --bash option 2021-06-22 10:52:28 +02:00
zawz
e5d0cf819d fix parsing errors on heredocument not aborting 2021-06-22 10:44:38 +02:00
zawz
bc846bcc56 fix lost file reference + incorrect unexpected token on herestring 2021-06-22 10:27:19 +02:00
zawz
f851650c15 increment bugfix version 2021-06-22 10:02:36 +02:00
zawz
56ed26ed96 fix parsing errors on variables in arithmetics 2021-06-22 10:01:29 +02:00
zawz
5d8ea952a2 fix segfaults and infinite loops on some parsing errors 2021-06-22 09:48:02 +02:00
zawz
052b2b92cb remove extra space on generate redirect-only commands 2021-06-21 16:56:23 +02:00
zawwz
76779cd32d
fix install command 2021-06-11 14:36:06 +02:00
zawwz
3429a398cf
Merge pull request #1 from zawwz/dev
v1.2.0
2021-06-11 14:32:47 +02:00
zawz
a07d0d7a93 update install doc 2021-06-11 14:29:47 +02:00
zawz
bb515636ff improve some error messages 2021-06-11 14:27:59 +02:00
zawz
4b16fa029f add extension command doc 2021-06-08 16:25:20 +02:00
zawz
f4d417406b fix debashify echo on expandable args 2021-06-04 14:04:25 +02:00
zawz
f9a3efce9a remove -J option from release 2021-05-28 16:35:24 +02:00
zawz
8b6a576713 improve echo debashifying 2021-05-28 16:31:17 +02:00
zawz
9918bb61ba fix static linking build 2021-05-28 16:30:12 +02:00
zawz
05723fe994 add color to error printing + reorganise options 2021-05-25 16:12:02 +02:00
zawz
9ddf23dd4b fix parsing error on ;; on newline 2021-05-25 11:55:02 +02:00
zawz
6b8f7241bb fix memory leak 2021-05-25 11:54:38 +02:00
zawz
09186df7b1 remove useless parse catch 2021-05-21 16:49:01 +02:00
zawz
15ac04f505 implement delayed heredocument parsing 2021-05-21 16:36:24 +02:00
zawz
3e21098d95 update doc: add string processors 2021-05-21 16:24:32 +02:00
zawz
064c37b4ee fix error messages on bash 'function' 2021-05-19 16:56:46 +02:00
zawz
86a4d4a118 fix compacted case parsing bug 2021-05-19 16:48:23 +02:00
zawz
7379eaf180 internal rework: implement parsing context 2021-05-19 16:44:57 +02:00
zawz
c0f5e4ba27 further improve minimizing of cases 2021-05-11 18:06:48 +02:00
mateoferon
bc215fc994 code cleanup 2021-05-04 09:32:30 +02:00