about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* A better version of my last change.Wayne Davison2006-01-131-12/+4
|
* Metafy the output of the ztrftime() string since that's what theWayne Davison2006-01-131-1/+12
| | | | prompt expects and some date names might not be ASCII.
* Values being stored in an array or a hash needed to be metafiedWayne Davison2006-01-131-5/+5
| | | | (using META_DUP) instead of just duplicated via ztrdup().
* If we are saving the ztrftime() value in a variable, we now metafyWayne Davison2006-01-131-1/+1
| | | | the string (using META_DUP) instead of duplicating it via ztrdup().
* 22159: completion for tpb.Clint Adams2006-01-132-0/+22
|
* Added missing "Src/" prefixes to a recent list of changed files.Wayne Davison2006-01-121-2/+3
|
* The new "eol" var was being set in singlerefresh(), but not accessed.Wayne Davison2006-01-121-1/+1
|
* 22153: completion for tpconfig.Clint Adams2006-01-122-0/+29
|
* Even more multibyte code cleanup.Wayne Davison2006-01-121-6/+4
|
* - When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison2006-01-121-21/+30
| | | | | | | | string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* - Use "mbs" for the multi-byte state variable name (for consistency).Wayne Davison2006-01-121-5/+5
| | | | | - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* - When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison2006-01-124-31/+42
| | | | | | | | string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* - The return value of mbsrtowcs() is also a size_t (like mbrtowc()).Wayne Davison2006-01-121-21/+33
| | | | | | | | | - 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 "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* - The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-121-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).
* Define MB_INCOMPLETE and MB_INVALID for MULTIBYTE_SUPPORT.Wayne Davison2006-01-121-0/+3
|
* A few more mbrtowc() cleanups.Wayne Davison2006-01-111-0/+9
|
* Tweaked the code to handle mbrtowc() converting '\0' the same way asWayne Davison2006-01-111-11/+20
| | | | the other callers do. Also, changed the variable name to 'cnt'.
* Decided to use a switch() in mb_niceformat().Wayne Davison2006-01-111-7/+12
|
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-111-6/+6
| | | | | assign it to an int and then check if it's <= 0, as that won't work on a system where an int is larger than a size_t.
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-111-5/+7
| | | | | assign it to an int and then check if it's >= 0, as that won't work on a system where an int is larger than a size_t.
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-111-3/+6
| | | | | assign it to an int and then check if it's < 0, as that won't work on a system where an int is larger than a size_t.
* 22151: bug outputting here-strings from which etc. when already quotedPeter Stephenson2006-01-102-10/+16
|
* Minor mbrtowc() changes.Wayne Davison2006-01-091-4/+12
|
* Changed the name of the "ret" variable in mb_niceformat() to "cnt"Wayne Davison2006-01-091-8/+7
| | | | | | | because "ret" is usually used for a variable name to hold the return value of the function. Also, changed the test when checking for a \0 to only check if "cnt" is 0, since we must always change a value of 0 to 1.
* Changed the name of the "ret" variable in mb_niceformat() to "cnt"Wayne Davison2006-01-091-8/+8
| | | | | | | because "ret" is usually used for a variable name to hold the return value of the function. Also, changed the test when checking for a \0 to one that checks if "cnt" is 0, since we must always change a value of 0 to 1.
* A test for (size_t)-1 needed to check for (size_t)-2 too.Wayne Davison2006-01-091-1/+1
|
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-10/+9
| | | | | | | | | | assign it to an int and then check if it's < 0, as that won't work on a system where an int is larger than a size_t. Also, the code that handled partial multibyte characters (that were assembled from multiple bytes of a metafied string) was not advancing past all the assembled bytes, nor was it handling the decoding of a '\0' char (it looks like it could have infinite looped in that case).
* Mention unposted changes to various bits of mbrtowc() code.Wayne Davison2006-01-091-0/+6
|
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-15/+10
| | | | | | | | assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t. Also, we needed to use STOUC() on a char value passed to nicechar(), and we need to clear the mbstate_t object if mbrtowc() returns an error.
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-4/+4
| | | | | | assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t. Also, we needed to use STOUC() on a char value passed to nicechar().
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-3/+3
| | | | | assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t.
* Mention configure.ac changes.Wayne Davison2006-01-081-0/+4
|
* Got rid of check for wcswidth() and added my missing commit thatWayne Davison2006-01-081-2/+2
| | | | added checks for fchown() and fchmod().
* An improved version of the patch from 22140.Wayne Davison2006-01-081-0/+4
|
* Changed mb_niceformat() so that it does not truncate a name thatWayne Davison2006-01-081-15/+14
| | | | | | has an invalid character sequence in the current character set, displaying them as \M-... chars. (Improved version of the patch from workers/22140.)
* Got rid of our use of wcswidth().Wayne Davison2006-01-081-0/+6
|
* Got rid of wcswidth() define for OpenBSD now that wcswidth() isn'tWayne Davison2006-01-081-4/+0
| | | | used.
* Changed wcswidth(&c, 1) to wcwidth(c).Wayne Davison2006-01-081-1/+1
|
* typo in AE and OE ligaturesPeter Stephenson2006-01-082-1/+6
|
* 22124: handle bad multibyte input betterPeter Stephenson2006-01-063-3/+16
|
* 22123: probe for wcswidth() and assume 1 if not foundPeter Stephenson2006-01-063-1/+10
|
* 22118: fix cdpath documentationPeter Stephenson2006-01-052-6/+21
|
* Minor _perforce changes for deleting fixes and changes.Peter Stephenson2006-01-042-4/+42
|
* 22113: allow single option characters to be combined in completion for lastClint Adams2006-01-022-1/+6
|
* A couple more improvements to the HIST_SAVE_BY_COPY section.Wayne Davison2005-12-272-2/+11
|
* 22105: ssh -M, -S, and -OClint Adams2005-12-252-2/+6
|
* 22104: add support for new options such as ControlMaster and ControlPath.Clint Adams2005-12-252-1/+14
|
* Fixed a bogus file path.Wayne Davison2005-12-231-1/+1
|
* Fixed a typo and improved a sentence.Wayne Davison2005-12-231-2/+2
|
* unposted: updated _yum from Scott MurrayPeter Stephenson2005-12-192-13/+43
|