Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-17 | Fix eof without newline handling. spotted by and ok deraadt@ | Otto Moerbeek | |
2004-12-02 | Fix signal races for isatty(3) (calls ioctl(2)) and printf(3); | Otto Moerbeek | |
save/restore errno. YY_FLUSH_BUFFER might still be a problem. Spotted by and ok deraadt@ | |||
2004-10-19 | Implement -e expression, for command line expression evaluation. | Otto Moerbeek | |
ok deraadt@ | |||
2004-08-25 | typos from -f (PR #3907); | Jason McIntyre | |
2004-07-09 | typo from rohee@ | Jason McIntyre | |
2004-04-21 | point people to usd doc; | Jason McIntyre | |
ok otto@ | |||
2004-04-06 | - add margins when formatting w/ -Tascii | Jason McIntyre | |
- remove some macros that were causing formatting errors | |||
2004-02-18 | Rewrite argv processing to not alter argv[] and optind while in the | Otto Moerbeek | |
getopt() loop. ok deraadt@ | |||
2004-02-01 | add paper.txt target; | Jason McIntyre | |
2004-01-13 | Missing cast. From deraadt@ | Otto Moerbeek | |
2003-12-19 | Pass SIGINT to dc process. | Otto Moerbeek | |
2003-12-02 | Describe long variable names, a non-portable extension. | Otto Moerbeek | |
help and ok jmc@ | |||
2003-12-02 | o Introduce long variable names, a non-portable extension. | Otto Moerbeek | |
o Make main program target left recursive. Reduces parse stack usage, making it possible to compile programs > 10000 lines. | |||
2003-11-17 | Document non-portable extensions: | Otto Moerbeek | |
o boolean operators !, && and ||. o allow relational operators to appear in any expression, not just conditional expressions. help and ok jmc@ | |||
2003-11-17 | Implement non-portable extensions: | Otto Moerbeek | |
o boolean operators !, && and ||. o allow relational operators to appear in any expression, not just conditional expressions. | |||
2003-11-13 | When using print, do not leave garbage on the dc stack. | Otto Moerbeek | |
2003-11-13 | Exponentiation operatator ^ is right associative. | Otto Moerbeek | |
2003-11-12 | kill some .Pp's before displays; | Jason McIntyre | |
ok otto@ | |||
2003-11-11 | Some syntactic sugar (all non-portable extensions): | Otto Moerbeek | |
- a line comment, starting with # - opening brace of define statement may be on next line - return expression, equivalent to return (expression) tweaks and ok jmc@ | |||
2003-11-11 | Some syntactic sugar (all non-portable extensions): | Otto Moerbeek | |
- a line comment, starting with # - opening brace of define statement may be on next line - return expression, equivalent to return (expression) tweaks and ok jmc@ | |||
2003-11-11 | Some syntactic sugar (all non-portable extensions): | Otto Moerbeek | |
- a line comment, starting with # - opening brace of define statement may be on next line - return expression, equivalent to return (expression) | |||
2003-11-11 | Describe new 'print' statement plus some tweaks. | Otto Moerbeek | |
ok jmc@ | |||
2003-11-11 | Document new 'print' statement, plus some tweaks. | Otto Moerbeek | |
help and ok jmc@ | |||
2003-11-11 | Implement `print' statement, a non-portable extension. | Otto Moerbeek | |
2003-11-09 | Introduce `last' as a synonym for `.' and document them. | Otto Moerbeek | |
2003-11-03 | Don't define a specific target when the default rule will do perfectly. | Otto Moerbeek | |
ok mickey@ | |||
2003-11-03 | Install bc(1) USD doc. | Otto Moerbeek | |
ok deraadt@ mickey@ jmc@ | |||
2003-10-22 | Document if ... else | Otto Moerbeek | |
2003-10-22 | Implement if ... else statement. If you do not use 'else', code generated | Otto Moerbeek | |
is still classic dc(1) compatible. If you do use 'else', you'll need a dc(1) that implements the new extended comparison operators like '=xey'. | |||
2003-10-21 | Document continue and for with empty parts. Also, our implementation | Otto Moerbeek | |
allows for scale > 99. | |||
2003-10-20 | tweaks; | Jason McIntyre | |
ok otto@ | |||
2003-10-19 | Allow the expressions in for (E ; E ; E ) to be empty. | Otto Moerbeek | |
2003-10-19 | Document modern assignment ops +=, -=, ... instead of the old =+, =-, ..., | Otto Moerbeek | |
which were already smelling funny for a long time. | |||
2003-10-18 | err(1, "cannot allocate mem") -> err(1, NULL) | Otto Moerbeek | |
2003-10-18 | o Fix assignment operators (+=, -=, ... ) | Otto Moerbeek | |
o Implement "continue" in loops. If continue is not used, generated code is still "classic" dc(1) compatible. If continue is used, you'll need a dc(1) that implements the J and M operators. | |||
2003-09-30 | Make sure strings and error messages sent to dc(1) properly escape [, ] and \. | Otto Moerbeek | |
2003-09-29 | Implement (undocumented) dot shorthand, which was missing. | Otto Moerbeek | |
Spotted by millert@. | |||
2003-09-28 | Better error hanndling: | Otto Moerbeek | |
- skip current line on syntax error - detect EOF in strings and comments - report correct line number in above case - more consistent warning and errors ok henning@ | |||
2003-09-28 | Fix function return types. Unbreaks sparc64 compilation. Spotted by | Otto Moerbeek | |
sturm@. ok deraadt@ sturm@ henning@ | |||
2003-09-26 | minor tweaks as i fail to find real bugs | Theo de Raadt | |
2003-09-26 | incorrect indent | Theo de Raadt | |
2003-09-26 | make usage match man page | Theo de Raadt | |
2003-09-26 | spacing | Theo de Raadt | |
2003-09-26 | File args are optional. Document strings and \<newline><whitespace> in | Otto Moerbeek | |
numbers. ok jmc@ | |||
2003-09-26 | cleanup, and an ammendment from otto@; | Jason McIntyre | |
2003-09-26 | Add a line saying we should conform to Posix. Also warn we do not have | Otto Moerbeek | |
non-portable extensions from GNU bc(1). | |||
2003-09-26 | Check strdup() return value, as pointed out by deraadt@ | Otto Moerbeek | |
2003-09-26 | spacing | Theo de Raadt | |
2003-09-26 | spacing | Theo de Raadt | |
2003-09-25 | USD doc for bc(1) using the Caldera license. | Otto Moerbeek | |
ok deraadt@ |