2018-12-16 |
Denys Vlasenko | bc: fix handling of 'return' not in functions, and... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-16 |
Denys Vlasenko | bc: partially rewrite parser, tests pass, ^C might... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-15 |
Denys Vlasenko | bc: lexer debugging, added some failing test cases Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-15 |
Denys Vlasenko | bc: simplify BC_INST_JUMP[_ZERO] handling Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: rewrite "block flag stack" using simple realloc... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: drop zbc_parse_endBody() bool parameter, move its... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: shorten one message, make defines more readable Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: pull zbc_lex_next() call out of zbc_parse_operator... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bx: add more debug scaffolding Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: convert macro bc_parse_push() to function, add... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: rename zbc_parse_text() to ..._init(), reuse existing... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: compress two constant arguments of bc_lex_assign... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: remove stale comment, empty lines, regularize comment... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: tweak bc_num_parseDecimal() for readability, logic... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: shrink s() in library again Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: yet another library shrink Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library yet more Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library more Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: group ENABLE_BC code a bit better, no logic changes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: fix "dc only" bug Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: unbreak "only bc" and "only dc" configs Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: simplify bc_lex_whitespace() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: G.sbgn and G.send are unused, remove them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: simplify filename saving in zbc_vm_file() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: do not append duplicate NUL, reduce indentation... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: change bc_read_line() and zbc_vm_stdin() to avoid... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: further simplification in zbc_vm_stdin() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: fix another thinko Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: fix a thinko: dc uses [] string delimiters, bot bc! Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: fix comment handling Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: further zbc_vm_stdin() optimizations Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: shrink zbc_vm_stdin() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-13 |
Denys Vlasenko | bc: trim config help text, add a few comments, no code... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: remove lexer function pointer Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: remove parse function pointer Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: convert two more functions to "z" logic Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: remove BC_STATUS_EOF (again), the condition is... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | dc: fix EOF handling in case of last line being incomplete Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | testsuite: add bc and dc tests Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: further conversions to "z" logic Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: optimize bc_parse_pushIndex() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: convert even more of lexer functions to "z" convention Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: convert even more of lexer functions to "z" convention Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: convert more of lexer functions to "z" convention Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: partially convert lexer functions to "z" convention Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-12 |
Denys Vlasenko | bc: code shrink in bc_num_cmp() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: simplify zbc_program_logical() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: simplify nested read() check Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: in non-interactive config, POSIX error functions... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: use common_parse_init() in bc_vm_init() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: fix EOF handling in bc_program_read() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: tweak comment Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: convert bc_program_asciify to "z" function Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: shrink bc_program_printString Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: convert zbc_program_op to "z" function, fix a thinko... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: convert bc_program_logical to "z" function Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: do not use "(cond ? f1 : f2)(params)" idiom, it... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: convert arithmetic calc functions to "z" logic Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: rename arithmetic calc functions to "z" functions... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: move declarations around, no code changes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: code shrink in zbc_lex_number() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: make bc_program_pushVar "z-function" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-11 |
Denys Vlasenko | bc: improve "noninteractive" macro machinery so that... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: it's not clear bc_vm_file() always exits on errors... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: more ERRORS_ARE_FATAL annotations Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: stop checking for name length in bc_lex_name() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: optimize non-interactive config: we know that many... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: in non-interactive config, let compiler know that... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | tls: prepare for ECDH_anon ciphers Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | tls: fix a potential (currently "disabled" by a macro... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | tls: if !ENABLE_FEATURE_TLS_SHA1, tls->MAC_size is... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | tls: introduce FEATURE_TLS_SHA1 to make SHA1 code optional Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: simplify bc_num_parseDecimal() further Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: make all function pointers FAST_FUNC, on i486 this... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: 0xffffffffffffffff may be larger than unsigned... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: optimize bc_vec_concat() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: simplify bc_program_len() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: simplify bc_program_print() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: simplify bc_num_ulong2num() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-10 |
Denys Vlasenko | bc: move str-to-num conversion functions to their only... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: further simplify string-to-number conversion code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: simplify string-tonumber conversion code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: no need to "set to zero" BcNum after bc_num_init... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: add and use bc_num_init_DEF_SIZE() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: in bc_program_execStr(), push two variables into... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-09 |
Denys Vlasenko | bc: in bc_program_exec(), push two variables into inner... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: add accessors for G.prog.strs[idx], G.prog.fns... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: eliminate always the same params to bc_num_printBase() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: remove redundant error checks in bc_parse_print() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: stop propagating pointer to G.prog.nchars deep... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: do not pass line width in parameters, it's in globals Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: remove "ready for more input" message, GNU bc does... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | tls: AES-GCM: in GMULT, avoid memcpy, use one less... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | bc: trim banner, use empty interactive prompts (GNU... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | dc: fix "small dc" to have standard command line API Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | lineedit: fix "defined but not used" sigaction2 warning Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | mdev: suppress aliasing warning Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
2018-12-08 |
Denys Vlasenko | inetd: suppress aliasing warning Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
commit | commitdiff | tree |
next |