1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-16 14:41:02 +02:00
Commit graph

270 commits

Author SHA1 Message Date
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
fece5e8960 20556: change SOCKLEN_T to ZSOCKLEN_T to avoid clash 2004-11-16 11:04:25 +00:00
Wayne Davison
3ccc3e4bdc Use the new gettempfile() function. 2004-10-21 00:33:50 +00:00
Wayne Davison
8901caa58f Call gettempname() with its new args. 2004-10-18 19:07:55 +00:00
Wayne Davison
aee4661e96 We can't use "%d" on a histent number (which is a zlong these days).
Changed the sprintf() to convbase().
2004-10-01 18:48:27 +00:00
Clint Adams
ceb7a09833 20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings. 2004-06-22 23:47:57 +00:00
Peter Stephenson
ed76bafc5e 20029: fix randomness of mathfunc rand48(seed) 2004-06-08 21:51:11 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
12b2ed63ab Silenced one signed/unsigned comparison compiler warning. 2004-05-28 19:24:13 +00:00
Wayne Davison
327481b391 Silenced one signed/unsigned comparison compiler warning. 2004-05-28 19:22:17 +00:00
Peter Stephenson
f57f65282b 19877: improved test for empty strftime strings 2004-05-04 16:43:29 +00:00
Peter Stephenson
8de7436fc0 19674, modified: support for non-standard ports in zftp. 2004-03-24 11:31:30 +00:00
Clint Adams
2dbe1c5436 * 19641: Src/Modules/pcre.c: implement -pcre-match conditional
suggested by Oliver.
2004-03-16 21:44:40 +00:00
Peter Stephenson
89057ab512 19629: fix zpty on HP-UX 2004-03-16 19:52:52 +00:00
Clint Adams
851c3882ed * 19640: Src/Modules/pcre.c: improve error reporting a bit. 2004-03-16 19:41:00 +00:00
Clint Adams
befd90b847 * 19631: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c: avoid segfault
when pcre_study is called before pcre_compile; documentation on
      pcre_compile options.
2004-03-16 15:14:30 +00:00
Peter Stephenson
3c04f95a33 19528: fix error if neither select nor poll available 2004-03-03 15:34:29 +00:00
Oliver Kiddle
0b787b5da2 19525: suppress compiler warnings and complete groups using lookupd on Mac OS 2004-03-03 11:05:40 +00:00
Peter Stephenson
cb3d3b0c9a 19514: typo in terminfo.c 2004-03-02 10:27:40 +00:00
Peter Stephenson
5138a42995 19512: --enable-pcre option 2004-03-01 17:58:53 +00:00
Wayne Davison
f75dc6bb86 Got rid of an unused-variable compiler-warning. 2004-02-26 20:48:09 +00:00
Peter Stephenson
8b8cc745d9 19460: Another go at fixing the terminfo configuration problem 2004-02-26 12:40:53 +00:00
Peter Stephenson
2073eca9f3 19456: Fix ptmx tests, again. 2004-02-20 15:27:35 +00:00
Peter Stephenson
460e417caa 19429: configure test for ptmx 2004-02-17 13:53:36 +00:00
Peter Stephenson
d83af1a97e 19420: Update configure.ac for better Autconf 2.50 support. 2004-02-14 18:50:15 +00:00
Peter Stephenson
e461877f40 19389+: fix zmodload -u zsh/datetime, add strftime -s scalar 2004-01-22 17:51:05 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Felix Rosencrantz
e939abd1cd add *.dll and fix typo with errnames.h 2003-11-03 02:51:19 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
6e46881fe9 18169: change parameter SECS in datetime to EPOCHSECONDS 2003-10-08 13:37:10 +00:00
Peter Stephenson
ed6a7ba60e 19168: Various problems with size of buffers and pointer usage in ztrftime 2003-10-06 22:46:24 +00:00
Peter Stephenson
530bbb503e unposted: update distribution files for 18980 and 19053 2003-10-06 18:39:56 +00:00
Clint Adams
95030cd034 19151: Src/Modules/datetime.c: add $SECS parameter for seconds since epoch. 2003-09-28 16:26:58 +00:00
Peter Stephenson
947a321baf 19096: crash unloading zsh/system 2003-09-17 10:57:41 +00:00
Clint Adams
cd89b92a0d 19076: don't call setupterm with NULL as last argument as that causes
the shell to exit when the terminal is unknown.
2003-09-14 05:10:05 +00:00
Peter Stephenson
b26ec00df5 19044: typo in setting $saliases elements 2003-09-08 11:17:20 +00:00
Peter Stephenson
3ffb3ad2f2 19014: add alias -s suf=handler 2003-09-03 10:15:32 +00:00
Peter Stephenson
c9c5f9da93 18980: new zsh/system module 2003-08-30 19:06:06 +00:00
Peter Stephenson
93141e6960 18888: Philippe Troin: allow clone to acquire a controlling tty 2003-07-23 09:27:56 +00:00
Peter Stephenson
ef8d5c7214 18880: Don't return unset parameters in $parameters 2003-07-22 13:12:09 +00:00
Oliver Kiddle
7675ddffdc 18626: improve echoti's arg support and fix compile problem on 64-bit Solaris 2003-06-24 18:07:37 +00:00
Peter Stephenson
7b60aae9f3 18616: Add ternary expression handling to zformat 2003-06-19 19:43:00 +00:00
Oliver Kiddle
cba898f217 18587: fix bug where only the beginning of the association key was compared 2003-05-30 12:35:59 +00:00
Peter Stephenson
1be7d4744d 18559, 18562: make modules use proper option arguments 2003-05-22 09:48:25 +00:00
Andrey Borzenkov
bd4cb9a4d1 unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
Peter Stephenson
905d036c33 17820, tweaked: attempt to fix compilation of tcp.h on recent versions
of cygwin
2003-04-28 15:05:47 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Peter Stephenson
f319daae1d 18466: tcp.mdh only included by C file 2003-04-23 18:47:59 +00:00
Clint Adams
1761a3b146 users/5986, 18380: arg support for echoti builtin. 2003-03-25 05:33:18 +00:00
Peter Stephenson
74c90c0ada 18325: options on by default weren't printed correctly by zsh/parameter 2003-03-07 12:31:00 +00:00
Peter Stephenson
5c1f3b65a6 18202: New TCP function system plus small error message change in ztcp. 2003-02-06 12:21:49 +00:00
Peter Stephenson
590a26709a 18195: Timeouts for read builtin. 2003-02-05 11:56:55 +00:00
Peter Stephenson
3ad5e3e7fe 17481 (Karl Tomlinson): get/set for terminfo and termcap parameters 2002-10-07 11:48:06 +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
Peter Stephenson
1c5d5bb1f4 17570: tweaks to socket module 2002-08-22 12:08:06 +00:00
Clint Adams
c6b5b1f147 17558: zsh/net/socket , zsocket builtin 2002-08-18 02:12:39 +00:00
Peter Stephenson
f60279ae24 17516, 17517: Attempted fixes for memory leaks shown by valgrind.
First with zstyle patterns, second with pwd in job structure.
2002-08-08 10:43:50 +00:00
Clint Adams
19424d40a8 17417: remove unused fluff from datetime.c 2002-07-04 17:03:18 +00:00
Clint Adams
c2c3e7e886 17297: 17265 continued. 2002-06-06 05:47:35 +00:00
Clint Adams
956eebdf62 zselect 2002-06-06 04:54:50 +00:00
Peter Stephenson
b2226ac72f remove builtin when tcp module is unloaded. 2002-06-05 21:02:34 +00:00
Peter Stephenson
5ef61a44b1 17265: make the jobs command work in subshells 2002-06-05 14:57:05 +00:00
Peter Stephenson
69b570e28c 17253: ztcp -L gives parseable information on tcp session 2002-05-30 15:16:18 +00:00
Peter Stephenson
7898d5b198 17249: fix user output from ztcp 2002-05-29 13:15:35 +00:00
Clint Adams
189aa5c9f2 17235: strftime builtin 2002-05-26 22:43:56 +00:00
Peter Stephenson
00d476ac20 17220: Src/Modules/tcp.c: bugs using ztcp to list connections. 2002-05-24 13:01:57 +00:00
Peter Stephenson
dbe104ca8c 17171: Src/Modules/tcp.c: ztcp didn't return failure
when a connect() failed.
2002-05-16 14:05:27 +00:00
Peter Stephenson
bbefa484f4 17166: Src/Modules/zftp.c: check fileno of zftp control
connection before closing, not after
2002-05-15 20:38:17 +00:00
Peter Stephenson
92e651c940 17162: Src/Modules/tcp.c: prevent warning on
gethostbyaddr() arguments.
2002-05-14 17:52:50 +00:00
Peter Stephenson
568d2e0aba 17161: Src/Modules/tcp.c: length parameter to accept()
wasn't initialised, causing random failures.
2002-05-14 17:29:49 +00:00
Peter Stephenson
12e6a9ad32 17102: looking up TCP sessions by fd returned the wrong pointer 2002-05-08 16:45:21 +00:00
Peter Stephenson
8c47be28f9 17097: closing all TCP sessions referenced freed memory. 2002-05-08 15:54:05 +00:00
Peter Stephenson
2f9ba2f0f9 17095: Bug in setting associative array; remove unused counter 2002-05-08 14:25:57 +00:00
Peter Stephenson
c5381b85ed 17081: New zselect module and documentation. 2002-05-08 13:13:52 +00:00
Peter Stephenson
421123b0f0 17040: Src/Modules/tcp.c: AF_INET6 wasn't copied into the
socket structure for IPv6.
17041: Src/Modules/zftp.c: Minor but fatal typos creating a data
connection for zftp using IPv6.
2002-04-25 14:06:47 +00:00
Sven Wischnowsky
f630c8abf4 remove one half of 17029; the part for zstyle wasn't right (17035) 2002-04-25 07:33:34 +00:00
Sven Wischnowsky
ed98c0bed8 fix two memory leaks (found by Felix): pre-compiled patterns when re-defining styles and compredirs-copies in comp_wrapper() (17029) 2002-04-24 07:59:17 +00:00
Peter Stephenson
2a55dc74ef 17011: Src/Modules/tcp.c, Src/Modules/zftp.c: restore
freehostent() incorrectly removed in 16172.
2002-04-18 11:39:13 +00:00
Clint Adams
0de96fc478 16673: add langinfo module as an interface to locale information. 2002-02-19 02:14:08 +00:00
Peter Stephenson
b0c56c0561 16241: new rand48(param) math function 2001-11-15 12:10:22 +00:00
Peter Stephenson
c9e1fd9567 16176: Src/Modules/tcp.c, Src/Modules/zftp.c: after fdclose(),
TCP control fd is no longer valid, but we still need to remove
the session cleanly.
2001-10-26 17:15:17 +00:00
Peter Stephenson
6d798f6700 16172: freehostent -> zfreehostent to avoid name clash 2001-10-26 12:06:38 +00:00
Peter Stephenson
f1a55ddaa9 15793: Src/Modules/zftp.c: require zsh/net/tcp explicitly.
15171: Doc/Zsh/zftpsys.yo: minor changes of phrasing
2001-10-26 11:09:46 +00:00
Clint Adams
6ef62b386b 16062: use O_EXCL when opening a temporary file. 2001-10-16 04:13:29 +00:00
Bart Schaefer
fdb4782642 Remove <arpa/telnet.h> from tcp.c. 2001-10-14 17:23:30 +00:00
Oliver Kiddle
bc0f49e09b remove duplicated includes which caused problems on IRIX 5 (15987) 2001-10-08 16:36:54 +00:00
Andrey Borzenkov
b109834dc2 15964: use SOCKLEN_T 2001-10-08 07:19:35 +00:00
Clint Adams
1bbe1d1b0a 15919: use LinkLists in place of somewhat equivalent code 2001-10-02 02:35:00 +00:00
Bart Schaefer
b5c135b2da Zftp control connection management cleanup. 2001-09-28 17:35:44 +00:00
Clint Adams
8c05772007 15886: use select if poll is not available, or complain if neither are available 2001-09-27 15:36:41 +00:00
Clint Adams
ab205e5bb9 15780: rename **arg to **dargs 2001-09-10 19:19:15 +00:00
Clint Adams
2e174804c8 15779: ztcp -d 2001-09-10 15:23:37 +00:00
Clint Adams
718fb33b29 stupid bugfixes 2001-09-10 12:37:21 +00:00
Clint Adams
cb0f8a08c7 unposted: stupid -a bug 2001-09-10 02:41:20 +00:00
Clint Adams
7093e779e6 15771: ztcp -t 2001-09-10 02:17:55 +00:00
Clint Adams
5eb6315b3e 15769: ztcp -a 2001-09-09 23:33:06 +00:00
Clint Adams
3756589f1b 1576x: take service names, stuff fd numbers into $REPLY 2001-09-09 22:08:55 +00:00
Clint Adams
394989e292 15766: ztcp -l 2001-09-09 09:39:24 +00:00
Clint Adams
9a31296b3e 1596x: ztcp -v 2001-09-08 22:08:04 +00:00
Clint Adams
b554563ece 15762: introduce ztcp builtin 2001-09-08 21:09:55 +00:00