1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 02:51:01 +02:00
Commit graph

276 commits

Author SHA1 Message Date
Peter Stephenson
1e41a8a44a 24864: Jun. T: typos in alternative wcwidth(). 2008-04-23 08:39:58 +00:00
Peter Stephenson
2cec7aae44 24861 (with tweaks): logic to use alternative wcwidth() if needed;
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
5a0c547e91 24856: add IS_COMBINING() and IS_BASECHAR() and widen tests 2008-04-21 11:49:55 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Peter Stephenson
78ce07b49f 24818: add HIST_FCNTL_LOCK.
unposted: update NEWS with new features
2008-04-17 10:23:45 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
2c5ea79f17 24782: initial go at highlighting of characters in zle command lines 2008-04-03 11:38:55 +00:00
Peter Stephenson
948f015df0 24711: fix re-presentation of here-documents munged internally
to here-strings
2008-03-14 11:40:57 +00:00
Peter Stephenson
2d03aa87fb 24264: restrict effect of 24234 to parameter substitution code and document 2007-12-16 14:05:14 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
abae4fe16e 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
8ce657c2cb Phil Pennock + tweaks: 23398 + more tweaks: exec compatibility options 2007-05-08 10:02:58 +00:00
Peter Stephenson
7f03c3d851 23375: Phil Pennock: =~, zsh/regex etc. etc. 2007-05-01 22:05:03 +00:00
Peter Stephenson
af8a88e4f5 23248: Completion listing problem with lines nearly screen width
If compiled with debug send dputs() output to $ZSH_DEBUG_LOG if defined.
2007-03-29 21:35:39 +00:00
Peter Stephenson
3b14a11d1f 23221: Martin Koeppe: don't use XTABS if not defined 2007-03-19 12:21:54 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
de272e0309 23115: ";|" at end of case clause causes later patterns to be tested 2007-01-19 21:36:00 +00:00
Peter Stephenson
6dbc34b0d4 23104: fix line numbers for DEBUGBEFORECMD
tidy up some wordcode definitions
2007-01-14 19:22:45 +00:00
Peter Stephenson
e8b56578db users/11111: add DEBUG_BEFORE_CMD option 2007-01-09 21:59:31 +00:00
Peter Stephenson
94bdf92a06 23097: splitting of $'...' strings in completion 2007-01-08 22:05:54 +00:00
Peter Stephenson
46a163bd34 23088: printf formats and arguments need different octal escape sequences 2007-01-04 17:24:01 +00:00
Peter Stephenson
cfbcd2dbe0 23086: printf should handle octal escapes in the \0NNN form 2007-01-04 15:41:21 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +00:00
Peter Stephenson
9471bbcfa0 22934, modified, see 22937: add HIST_SUBST_PATTERN option
make ${.../#%...} anchor at both ends
2006-11-01 12:25:18 +00:00
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
2bfad02a94 22742: parameter padding uses string lengths unless (m) flag set
22743: restrict sh "- [args]" -> "-xv [-- args]" hack to sh mode
2006-09-20 09:22:34 +00:00
Clint Adams
a7c0640c0a 22728: $functrace parameter for function backtraces. 2006-09-17 19:28:45 +00:00
Peter Stephenson
a242b1eb35 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
Peter Stephenson
80acfd135c 22684: improve getkeystring() interface and make printf do octal escapes 2006-09-10 18:10:48 +00:00
Peter Stephenson
b726ead94e 22676, 22678: extend sched and make it able to run events when waiting for
input
2006-09-10 15:24:26 +00:00
Peter Stephenson
2ccad2310e 22599: use wide character widths in completion 2006-08-11 21:30:38 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
9d5f320f38 22542: deoverenthuse cmdpopping 2006-07-09 14:47:22 +00:00
Peter Stephenson
6157c14d06 22525: lengths and cases of multibyte strings in parameters and history 2006-06-28 13:12:55 +00:00
Peter Stephenson
05bd0b2dd1 22518: Initial go at making parameter subscripts
use multibyte characters.
2006-06-26 18:17:31 +00:00
Peter Stephenson
b7474e065b 22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Peter Stephenson
ef330a5dfd 22408: support for multibyte characters in patterns 2006-04-09 21:47:21 +00:00
Wayne Davison
5fd72f0f1a Initialize the new "flags" integer when creating a list. 2006-03-07 22:05:44 +00:00
Wayne Davison
d9d04545a5 Changed struct listnode to use "prev" for the previous pointer,
not "last".
2006-03-07 21:43:34 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Wayne Davison
3039f65d74 Define MB_INCOMPLETE and MB_INVALID for MULTIBYTE_SUPPORT. 2006-01-12 00:51:38 +00:00
Wayne Davison
d8838293f5 Changed two zle functions to each return a char pointer, not an
unsigned char pointer.
2005-11-15 08:44:21 +00:00
Wayne Davison
16697055ac Changed zle_text to a "char *" to match the new ZLE_STRING_T. 2005-11-01 03:26:50 +00:00
Wayne Davison
0fb08f5670 Made the two ZC_REDIR_*() macros return an int. 2005-10-28 22:14:22 +00:00
Peter Stephenson
aea7715261 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
cc81bba1e3 21870: bad INULL() definition
21869: multibyte characters in %-substitutions, invalid multibyte
characters in completion listings
2005-10-13 13:19:29 +00:00
Peter Stephenson
cca66ab341 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter
substitutions that don't match anything.
2005-10-11 16:48:05 +00:00
Peter Stephenson
d307660dee 21575 plus unposted: Add WARN_CREATE_GLOBAL option 2005-08-08 16:48:52 +00:00
Wayne Davison
9ba458948a Added the PROMPTSP option plus 3 new termcap defines
(TCSAVECURSOR, TCRESTRCURSOR, and TCBACKSPACE).
2005-07-15 17:41:33 +00:00
Peter Stephenson
772007e76c 21296: Add ERR alias for ZERR where possible.
"trap" reports alias names.
2005-06-01 10:45:32 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00
Peter Stephenson
38eb8ac293 21049: Don't close process substitution file descriptors for external programmes 2005-03-31 09:54:54 +00:00
Wayne Davison
e6435dcca6 Added HISTSAVEBYCOPY to the options enum. 2005-03-18 22:40:23 +00:00
Peter Stephenson
ddd172ebe2 20863: fix history (i)searching for Unicode 2005-02-25 10:20:38 +00:00
Peter Stephenson
88a37cc187 c.f. 20675: improve zle as a basis for Unicode.
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Peter Stephenson
77166e259e 20695: Fix Cygwin problem with initialising from pointer to imported variable 2005-01-12 12:18:58 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Peter Stephenson
b115ca307a 20500: Unmetafy patterns where possible and other minor pattern fixes 2004-10-18 11:56:14 +00:00
Peter Stephenson
a82a2564dd 20490: Don't assume null termination for test string in pattern matching. 2004-10-15 10:21:02 +00:00
Peter Stephenson
8a67a66a61 20467: Reintroduce rusage-based escapes for TIMEFMT. 2004-10-08 14:36:51 +00:00
Peter Stephenson
cc72740775 20462: Use getrusage for timing again.
Time processes from before rather than after fork.
2004-10-07 09:45:43 +00:00
Wayne Davison
0c77a8e876 Changed HFILE_GOT_SIGNAL to HFILE_NO_REWRITE. 2004-10-01 19:10:59 +00:00
Wayne Davison
aa5c13f71c Added HFILE_GOT_SIGNAL. 2004-10-01 18:55:16 +00:00
Peter Stephenson
6b1dc0f701 20331: Use internal zlong variables for consistency
20332: Add WIDGETSTYLE zle parameter
2004-09-09 10:12:42 +00:00
Peter Stephenson
97fd0d9b89 20308: add EVAL_LINENO option 2004-09-03 09:47:44 +00:00
Peter Stephenson
86ae90bc1c 20149: improve prompt-reset code
20150: commit ancient memory leak fix(?) in completion
2004-07-11 22:53:01 +00:00
Peter Stephenson
d591334e9d 20076, 20084: { ... } always { ... } syntax. 2004-06-22 13:09:55 +00:00
Oliver Kiddle
ca0deae382 19767, 19785: store flags for -z and -k options to autoload allowing the
completion system to be used with ksh_autoload set
2004-04-20 12:11:13 +00:00
Peter Stephenson
b5ceb73026 zsh-users/7365: new TRAPS_ASYNC option 2004-04-19 16:02:17 +00:00
Oliver Kiddle
95231270ed 19595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1 2004-03-11 14:25:12 +00:00
Peter Stephenson
1777b67b1c zsh-users/7121: NO_CASE_GLOB option for case-insensitive globbing 2004-03-06 00:22:58 +00:00
Peter Stephenson
6eb5f99f1e 19295: $CONTEXT zle parameter 2003-12-15 22:45:27 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Peter Stephenson
eeb9ec4714 19129: extra argument to typeset -T gives character for joining array 2003-09-24 14:55:32 +00:00
Peter Stephenson
3ffb3ad2f2 19014: add alias -s suf=handler 2003-09-03 10:15:32 +00:00
Peter Stephenson
1be7d4744d 18559, 18562: make modules use proper option arguments 2003-05-22 09:48:25 +00:00
Peter Stephenson
62719196b2 18536: EMACS and VI compatibility options 2003-05-14 15:09:14 +00:00
Peter Stephenson
94da86f795 18492: Provide partial fix for multios and output process substitution
asynchronicity problem.  Document workarounds for remaining problems.
2003-05-02 10:25:27 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Peter Stephenson
4c149a8abc 18252: pass ignoreeof as flag to zleread 2003-02-17 14:06:39 +00:00
Peter Stephenson
28a62d5a4b 17979: Add ERR_RETURN option. 2002-12-04 13:57:48 +00:00
Peter Stephenson
25e363df2b 17602, 17603: Rationalise option handling, in particular for cd, pushd, popd. 2002-09-03 09:33:35 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Sven Wischnowsky
053629183d add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387) 2002-07-01 08:25:15 +00:00
Peter Stephenson
19817c34d1 17334: TYPESET_SILENT shell option and typeset -p option 2002-06-20 16:39:47 +00:00
Peter Stephenson
0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
2002-06-07 14:44:21 +00:00
Oliver Kiddle
52b8303537 16353: add += parameter assignments 2001-12-17 17:17:38 +00:00
Bart Schaefer
d98a67c569 16201: introduce the PM_NAMEDDIR flag 2001-11-03 23:36:33 +00:00
Geoff Wing
cc28002e54 16063: add transientrprompt option to remove right prompt from
display when accepting commands
2001-10-24 07:00:49 +00:00
Peter Stephenson
2c75f5b0da 15291, 15292: fix bug setting scalar in math mode 2001-07-06 18:33:59 +00:00
Sven Wischnowsky
b275190ff4 add autocontinue option to automatically make stopped jos running when they are being disowned; make that the default for %job &!' and %job &|' (15115) 2001-06-27 11:22:04 +00:00
Peter Stephenson
c26704f7a3 Added KSH_TYPESET option. 2001-06-12 10:34:57 +00:00
Clint Adams
975c0b44c5 14813: autoload functions from deleted .zwc files 2001-06-08 18:34:53 +00:00
Wayne Davison
4a28d81c47 Added HIST_TMPSTORE define. 2001-05-15 16:32:28 +00:00
Bart Schaefer
e2e9121893 Subscripting optimization and error checking. 2001-04-24 05:45:16 +00:00
Peter Stephenson
c925a15aa7 13611, 13615: Bind cursor keys using termcap, including in viins. 2001-03-13 15:32:41 +00:00
Sven Wischnowsky
33ec971c33 two optimisations 2001-03-07 12:58:40 +00:00
Sven Wischnowsky
061c1ce912 add `aliases' option to be able to disable alias expansion (13554) 2001-02-28 09:12:54 +00:00
Peter Stephenson
0c96a1b963 Joel Smith: 13230: avoid name clashes with Linux kernel 2000-12-05 10:34:23 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Bart Schaefer
c88d3a57cf Andrej, 12623: Fix dynamic linking for cygwin. 2000-08-15 05:13:40 +00:00
Peter Stephenson
f6ecbb7f4d 12581: C_BASES option 2000-08-10 16:19:11 +00:00
Peter Stephenson
c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +00:00
Peter Stephenson
a021f6329b 12555: fix static linking on cygwin 2000-08-07 17:17:05 +00:00
Peter Stephenson
4f1aa826f5 Andrej: Dynamic loading on cygwin 2000-08-02 18:01:51 +00:00
Andrew Main
9743c19d61 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h,
Src/zsh.mdd: Allow options to be specified on the zsh command line
in the form of GNU-style long options.  Also handle --version
and --help.  Do not permit extra option letters to be stacked
after `-whatever-' (they used to be ignored).  Exit if the
command line specifies an option name that doesn't exist.
2000-07-30 17:03:52 +00:00
Sven Wischnowsky
b9a533f382 allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029) 2000-06-22 08:42:36 +00:00
Peter Stephenson
65b3fdc4ab Make PRINT_* flags unique again 2000-06-13 09:13:29 +00:00
Peter Stephenson
055d961f84 11867: restrict typeset -H application 2000-06-12 09:27:09 +00:00
Peter Stephenson
6b87e6fda3 11838: typeset -H 2000-06-09 15:37:05 +00:00
Wayne Davison
91d5f73434 Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
2000-06-02 01:54:16 +00:00
Peter Stephenson
7bf294f2b8 Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Sven Wischnowsky
7f9f81f3e2 save and restore more variables in bufferwords(); move gotword() into core (11523) 2000-05-23 08:20:56 +00:00
Clint Adams
195f1c4015 11387: OCTAL_ZEROES option 2000-05-15 18:48:21 +00:00
Peter Stephenson
705fd24fd5 11044, 11260: DVORAK options for spell checking. 2000-05-08 15:56:37 +00:00
Peter Stephenson
5c53fb9500 10771: new GLOBAL_EXPORT option; successful compilation on OpenBSD 2000-04-16 19:02:13 +00:00
Peter Stephenson
2295c59fcb 10756: fix (#s) and (#e) for parameter substitution forms 2000-04-14 11:49:31 +00:00
Clint Adams
c281f5c3ba 10745: MAXJOB = MAX_TASKS_PER_USER from linux/tasks.h 2000-04-13 22:25:04 +00:00
Sven Wischnowsky
c80d9e45e6 compare mapped zwc files using stat instead of the pathnames (10699) 2000-04-12 13:06:18 +00:00
Sven Wischnowsky
8488dcb806 keep association elements from being exported 2000-04-04 12:02:04 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00