Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 41641: Some math operations shouldn't be lvalues. | Peter Stephenson | 2017-09-05 | 1 | -8/+2 |
| | | | | | This includes pre- and post- increment and decrement. Simply mark all values after operations as rvalues. | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -3/+4 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 40622 with typos fixed: functions -Ms. | Peter Stephenson | 2017-03-01 | 1 | -10/+22 |
| | | | | | | This adds the capability for mathematical functions based on shell functions to have a string argument. Module functions have had this for a long time. | ||||
* | 37018: Make WARNCREATEGLOBAL more consistent. | Peter Stephenson | 2015-10-29 | 1 | -26/+0 |
| | | | | | Wd don't need separate math handling any more, and can make it output the function name in all cases. | ||||
* | unposted: strdup should be ztrdup | Barton E. Schaefer | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | 36651: WARN_CREATE_GLOBAL += math expressions | Daniel Shahaf | 2015-09-27 | 1 | -0/+25 |
| | | | | | Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn about $x and $i, respectively, being created global. | ||||
* | 35359: Improved math parsing and errors. | Peter Stephenson | 2015-06-02 | 1 | -7/+14 |
| | | | | | | Check for bogus trailing ")" at end of top-level parse. Extend some math error messages to indicate they are math errors. | ||||
* | unposted: rewrite Nularg math handling to be like other cases | Peter Stephenson | 2015-04-15 | 1 | -2/+6 |
| | |||||
* | 34892 (slightly tweaked): math evaluation fix | Peter Stephenson | 2015-04-15 | 1 | -2/+2 |
| | | | | | An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string. | ||||
* | 34280: more widespread use of FORCE_FLOAT. | Peter Stephenson | 2015-01-15 | 1 | -1/+12 |
| | | | | Add the case of variables read for use in arithmetic expressions. | ||||
* | Propagate float/integer type in arithmetic assignment. | Peter Stephenson | 2015-01-12 | 1 | -1/+28 |
| | | | | | | Add test. Mention this and also floating point mod change in README. | ||||
* | 34230: call fmod() for modulo with floats | Barton E. Schaefer | 2015-01-11 | 1 | -3/+5 |
| | |||||
* | 33793: add 0b binary interpretation to integer constants | Peter Stephenson | 2014-11-26 | 1 | -2/+4 |
| | |||||
* | 32299: add use of underscores on arithmetic output for spacing | Peter Stephenson | 2014-01-23 | 1 | -10/+25 |
| | |||||
* | 31982: detection of floating point constants was problematic. | Peter Stephenson | 2013-11-14 | 1 | -8/+3 |
| | | | | | Remove the cause and fix the original problem with floating point numbers with leading zeros (users/17445) a different way. | ||||
* | 31937: zle -Fw uses widget semantics for file descriptor handler | Peter Stephenson | 2013-11-07 | 1 | -3/+20 |
| | |||||
* | 31353: fix handling of floating point in ternary | Bart Schaefer | 2013-04-30 | 1 | -1/+2 |
| | |||||
* | 31140: avoid crash when hitting recursion limit | Mikael Magnusson | 2013-03-13 | 1 | -1/+2 |
| | |||||
* | users/17665: add FORCE_FLOAT option | Peter Stephenson | 2013-03-05 | 1 | -0/+15 |
| | |||||
* | users/17445: fix handling of leading zeroes in floating point | Bart Schaefer | 2012-12-08 | 1 | -1/+2 |
| | |||||
* | 30647, 30649: allow underscores in numeric constants | Peter Stephenson | 2012-09-11 | 1 | -6/+33 |
| | |||||
* | 30656: prevent SIGFPE in division by -1 by multiplying instead | Peter Stephenson | 2012-09-06 | 1 | -3/+23 |
| | |||||
* | 29491: remove some variables set but not used | Peter Stephenson | 2011-06-19 | 1 | -2/+0 |
| | |||||
* | 29329: fix undefined behaviour in math.c | Mikael Magnusson | 2011-05-27 | 1 | -1/+2 |
| | |||||
* | 29307, 29308 + replies: Fix some doubled words in docs and comments. | Mikael Magnusson | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | 28037: improved error messages for module autoloads | Peter Stephenson | 2010-06-14 | 1 | -1/+2 |
| | | | | of math functions and builtins | ||||
* | 27611: cache parameter values in math eval so subscripts are eval'd once | Peter Stephenson | 2010-01-20 | 1 | -14/+71 |
| | |||||
* | 25905: fix and test doubled-hash radix output | Peter Stephenson | 2008-10-16 | 1 | -1/+2 |
| | |||||
* | 25744: dynamic named directories and further doshfunc() simplification | Peter Stephenson | 2008-09-26 | 1 | -1/+1 |
| | |||||
* | 25677: add %x and %I prompt escapes for shell source code debugging | Peter Stephenson | 2008-09-16 | 1 | -3/+3 |
| | | | | tidy up interface to doshfunc() | ||||
* | 25149: add C_PRECEDENCES option to make arithmetic have C/Perl precedence | Peter Stephenson | 2008-06-12 | 1 | -117/+229 |
| | |||||
* | Mikael: 25143: spelling corrections | Peter Stephenson | 2008-06-10 | 1 | -1/+2 |
| | | | | | 25144: report supported bases 25139: fix number | ||||
* | 25025: check radix for integer constants is between 2 and 36 inclusive | Peter Stephenson | 2008-05-14 | 1 | -0/+4 |
| | |||||
* | 23553: bit missed out | Peter Stephenson | 2007-06-15 | 1 | -1/+12 |
| | |||||
* | 23165: fix problems with bases: error if over 36 and don't interpret octal | Peter Stephenson | 2007-02-12 | 1 | -9/+25 |
| | |||||
* | 22684: improve getkeystring() interface and make printf do octal escapes | Peter Stephenson | 2006-09-10 | 1 | -1/+1 |
| | |||||
* | 22558: declaration after statement | Peter Stephenson | 2006-07-26 | 1 | -1/+1 |
| | |||||
* | 22544: Improve use of ztype tests for multibyte characters. Add | Peter Stephenson | 2006-07-10 | 1 | -4/+5 |
| | | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names. | ||||
* | 22529: multibyte conversion in math expressions | Peter Stephenson | 2006-06-30 | 1 | -2/+14 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -25/+22 |
| | |||||
* | 22416, tweaked: math functions via shell functions | Peter Stephenson | 2006-04-19 | 1 | -12/+52 |
| | | | | unposted: add styles to pick-web-browser | ||||
* | 20592: Debian bug#283358: $((##)) failed erratically | Peter Stephenson | 2004-11-29 | 1 | -0/+4 |
| | |||||
* | 20251: integer conversion truncation | Peter Stephenson | 2004-08-16 | 1 | -48/+72 |
| | | | | | | 20258: save command status in prompt substitution update FAQ rename version to 4.2.1-dev-1 | ||||
* | 19941: fix (( 3, )) | Peter Stephenson | 2004-05-13 | 1 | -2/+2 |
| | |||||
* | 18938: Export some data symbols. | Peter Stephenson | 2003-08-11 | 1 | -1/+1 |
| | |||||
* | 18330: save output of setlocale as the pointer it returns gets clobbered | Oliver Kiddle | 2003-03-10 | 1 | -2/+2 |
| | |||||
* | 18015: empty math parse acts like zero | Peter Stephenson | 2002-12-18 | 1 | -1/+4 |
| | |||||
* | Got rid of a gcc-3.2 compiler warning. | Wayne Davison | 2002-10-30 | 1 | -1/+2 |
| | |||||
* | 17503: fix various typos and spelling mistakes in source code comments | Oliver Kiddle | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | 17175: Src/math.c: didn't handle parameters before a ternary expression | Peter Stephenson | 2002-05-17 | 1 | -0/+2 |
| | | | | properly. |