Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40260: zero new space allocated in prompt buffer | Paulo Andrade | 2017-01-03 | 1 | -0/+1 |
| | |||||
* | 39545: Add some missing unqueue_signals(). | Peter Stephenson | 2016-10-03 | 1 | -1/+3 |
| | | | | All of these are added simply to fit existing logic in other branches. | ||||
* | 38971: Start using the new arrlen_ge() / arrlen_le() helpers. | Daniel Shahaf | 2016-08-01 | 1 | -3/+3 |
| | |||||
* | 38809: fix tracking of colour attributes and restore them when turning bold off | Oliver Kiddle | 2016-07-08 | 1 | -4/+8 |
| | |||||
* | 37868: add 'static' to file local variables | Jun-ichi Takimoto | 2016-02-03 | 1 | -1/+1 |
| | |||||
* | 36227: attempt to fix metafication problem with ztrftime. | Peter Stephenson | 2015-08-18 | 1 | -3/+5 |
| | | | | | fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls. | ||||
* | Add non-metafied character length handling. | Peter Stephenson | 2015-06-12 | 1 | -1/+1 |
| | | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters. | ||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 1 | -1/+1 |
| | | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy. | ||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles. | ||||
* | 33256: fix prompttrunc() counting of %{ %} spans | Barton E. Schaefer | 2014-09-27 | 1 | -8/+6 |
| | |||||
* | 33070: add %(e..) based on %e | Barton E. Schaefer | 2014-08-30 | 1 | -0/+11 |
| | |||||
* | 33057: %e in prompts shows evaluation / execution depth | Peter Stephenson | 2014-08-29 | 1 | -0/+13 |
| | |||||
* | 32971: negative argument with %(l..) and with %<< or %>> calculates space ↵ | Barton E. Schaefer | 2014-08-07 | 1 | -3/+13 |
| | | | | available before right margin | ||||
* | 32918: add %. to ztrftime for use in prompts | Peter Stephenson | 2014-07-30 | 1 | -3/+5 |
| | |||||
* | 30496: Parse argument to %F and %K as prompt sequences | Mikael Magnusson | 2013-03-10 | 1 | -14/+29 |
| | |||||
* | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long | Peter Stephenson | 2012-03-05 | 1 | -0/+16 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -3/+3 |
| | |||||
* | 28853: Fix typo: preceed -> precede | Frank Terbeck | 2011-03-04 | 1 | -1/+1 |
| | |||||
* | 27983: colours could be output twice | Peter Stephenson | 2010-06-03 | 1 | -1/+6 |
| | |||||
* | 27125: handle nested use of colour code buffer allocation | Peter Stephenson | 2009-07-10 | 1 | -2/+14 |
| | |||||
* | 26958: Fix reallocation problem in prompts | Peter Stephenson | 2009-05-12 | 1 | -0/+3 |
| | |||||
* | 25930: dynamic directory expansion memory handling was screwy | Peter Stephenson | 2008-10-24 | 1 | -196/+222 |
| | |||||
* | 25775: fix logical problem with function line numbering inside eval-style traps | Peter Stephenson | 2008-09-29 | 1 | -2/+2 |
| | |||||
* | 25684: make %x and %I consistent with eval line numbering | Peter Stephenson | 2008-09-25 | 1 | -2/+4 |
| | |||||
* | 25677: add %x and %I prompt escapes for shell source code debugging | Peter Stephenson | 2008-09-16 | 1 | -0/+26 |
| | | | | tidy up interface to doshfunc() | ||||
* | 25672: remove unnecessary Nularg when prompt expanding | Peter Stephenson | 2008-09-15 | 1 | -0/+6 |
| | | | | to avoid problem with glitch space | ||||
* | 25242: Mikael V prompt test for contents of psvar | Peter Stephenson | 2008-06-24 | 1 | -0/+6 |
| | |||||
* | 25051: add colour sequences to formatting strings in completion | Peter Stephenson | 2008-05-16 | 1 | -3/+1 |
| | |||||
* | 25002: only ZLE should update attributes resulting from prompt expansion | Peter Stephenson | 2008-05-12 | 1 | -33/+37 |
| | |||||
* | unposted: fix uninitialised variable | Peter Stephenson | 2008-05-09 | 1 | -1/+1 |
| | |||||
* | 24986: prompt escapes for colours | Peter Stephenson | 2008-05-09 | 1 | -20/+539 |
| | |||||
* | 24861 (with tweaks): logic to use alternative wcwidth() if needed; | Peter Stephenson | 2008-04-22 | 1 | -4/+4 |
| | | | | slightly improve test for overwriting with combining characters. | ||||
* | 24566: fix prompts with glitch spaces a bit more | Peter Stephenson | 2008-02-17 | 1 | -7/+24 |
| | |||||
* | 24556: %G in prompt for glitch characters | Peter Stephenson | 2008-02-15 | 1 | -0/+10 |
| | |||||
* | add some mod_export tags where needed zsh-4.3.4-dev-2 | Peter Stephenson | 2007-11-20 | 1 | -1/+1 |
| | |||||
* | 24007: prompt allocation and use of "shout" | Peter Stephenson | 2007-10-22 | 1 | -2/+2 |
| | |||||
* | 22753: minor character bugs spotted on Cygwin | Peter Stephenson | 2006-09-21 | 1 | -1/+2 |
| | |||||
* | assume width 1 for control characters; | Peter Stephenson | 2006-09-15 | 1 | -4/+13 |
| | | | | don't crash if width of repeated padding string is 0 | ||||
* | 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters | Peter Stephenson | 2006-09-13 | 1 | -9/+9 |
| | |||||
* | rationalise mb<->wc conversions to use restartable form | Peter Stephenson | 2006-08-03 | 1 | -0/+1 |
| | |||||
* | 22542: deoverenthuse cmdpopping | Peter Stephenson | 2006-07-09 | 1 | -3/+22 |
| | |||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 1 | -1/+1 |
| | |||||
* | Tweaked the code that handles %D so that: (1) we don't free() a NULL | Wayne Davison | 2006-01-17 | 1 | -4/+3 |
| | | | | | pointer (we use zsfree() instead), and (2) we avoid a rare bug that could call free() on same memory twice (e.g. "%D{}%D"). | ||||
* | Got rid of some superfluous STOUC() calls (such as the ones I added | Wayne Davison | 2006-01-13 | 1 | -6/+7 |
| | | | | for the arg of calls to nicechar(), which doesn't need this). | ||||
* | A better version of my last change. | Wayne Davison | 2006-01-13 | 1 | -12/+4 |
| | |||||
* | Metafy the output of the ztrftime() string since that's what the | Wayne Davison | 2006-01-13 | 1 | -1/+12 |
| | | | | prompt expects and some date names might not be ASCII. | ||||
* | - The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-12 | 1 | -61/+71 |
| | | | | | | | | | | | | | assign it to an int and then check for negativity, as that won't work on a system where an int is larger than a size_t. - When mbrtowc() returns -2 when given all the remaining chars in a string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use STOUC() when passing a char value to nicechar(). - Use "mbs" for the multi-byte state variable name (for consistency). - Be sure to reset the mbs state if mbrtowc() returns -1. - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively). | ||||
* | 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT; | Peter Stephenson | 2005-10-28 | 1 | -11/+11 |
| | | | | use multibyte versions of nicechar wherever possible. | ||||
* | Fix --disable-multibyte compile error. | Bart Schaefer | 2005-10-23 | 1 | -3/+5 |
| | |||||
* | remove a couple of TODOs | Peter Stephenson | 2005-10-21 | 1 | -94/+19 |
| |