christos
|
9bee9dd870
|
remove unrecheable code (Kamil Dudka)
|
2011-11-18 20:22:03 +00:00 |
|
christos
|
872b7bf4a3
|
easier with an int for now.
|
2011-11-16 01:45:10 +00:00 |
|
christos
|
749960097c
|
Since Width() is used only for display purposes we don't want to pass -1 for
unprintable characters.
|
2011-11-15 23:54:14 +00:00 |
|
christos
|
6a96f344c7
|
Fixed misplaced parenthesis (Nirbhay Choubey)
|
2011-10-23 17:37:55 +00:00 |
|
christos
|
b6f308812d
|
fixed warnings where wint_t is unsigned.
|
2011-10-04 15:27:04 +00:00 |
|
christos
|
8c9fc8838c
|
fix broken change (parenthesis in the wrong place). From Nirbhay Choubey
|
2011-10-03 14:09:38 +00:00 |
|
christos
|
f02b490980
|
include <wchar.h> if we don't have wcsdup()
|
2011-09-28 14:08:04 +00:00 |
|
plunky
|
2b8aaed8cd
|
NULL does not need a cast, here
|
2011-09-16 16:13:16 +00:00 |
|
christos
|
3d802cf59d
|
re-enable -Wconversion
|
2011-08-16 16:25:15 +00:00 |
|
christos
|
436299cdac
|
need err.h now
|
2011-08-04 14:33:05 +00:00 |
|
joerg
|
98ea74e048
|
Only use -Wconversion if GCC is actually the active compiler.
|
2011-08-02 17:22:02 +00:00 |
|
tron
|
67fb973487
|
Don't use "-Wconversion" with GCC 4.5 which will complain about all the
expressions where signed variables are converted to unsigned in an
expression e.g. "size_t foo = sizeof(something) * int_var;".
|
2011-07-30 10:07:27 +00:00 |
|
christos
|
c11bd863f5
|
pass -Wconversion
|
2011-07-29 23:44:44 +00:00 |
|
christos
|
1237974a30
|
- fix unused params
- unconditionalize vis.h
|
2011-07-29 20:58:07 +00:00 |
|
christos
|
f46176b9a9
|
better autoconf results
|
2011-07-29 20:57:34 +00:00 |
|
christos
|
f4bf097e85
|
add -Wunused-parameter
Is that the right way? Perhaps WARNS=5?
|
2011-07-29 20:56:58 +00:00 |
|
christos
|
7ecb1ef25e
|
kill ifdef notdef
|
2011-07-29 15:20:39 +00:00 |
|
christos
|
b71bed95b3
|
KNF return (\1); -> return \1;
|
2011-07-29 15:16:33 +00:00 |
|
christos
|
a13cd75612
|
kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.
|
2011-07-28 20:50:55 +00:00 |
|
christos
|
56eac9ea53
|
fix unused variable warnings on systems without _r functions
|
2011-07-28 17:33:55 +00:00 |
|
christos
|
df86a66a1c
|
handle systems without getpwent_r
|
2011-07-28 17:33:39 +00:00 |
|
joerg
|
4104b0e782
|
Sync compat defines to unbreak build.
XXX Do a proper config.h update from configure
|
2011-07-28 05:18:43 +00:00 |
|
christos
|
7da8639ecc
|
whitespace
|
2011-07-28 03:52:19 +00:00 |
|
christos
|
02479cacb5
|
whitespace
|
2011-07-28 03:48:46 +00:00 |
|
christos
|
47b4c27f8c
|
whitespace and comments
|
2011-07-28 03:44:36 +00:00 |
|
christos
|
d47f958456
|
Rename key to keymacro to avoid conflicts with term.h. The renaming of term
to terminal was again to avoid conflicts with term.h. term.h is a moving
namespace violation.
|
2011-07-28 01:56:26 +00:00 |
|
christos
|
8cf227343c
|
- check and don't cast malloc return
- more wide function use
|
2011-07-28 01:08:58 +00:00 |
|
christos
|
98c7cbebbc
|
term -> terminal
XXX: need to rename key_ too.
|
2011-07-28 01:05:20 +00:00 |
|
christos
|
78cb86e064
|
regen
|
2011-07-28 01:05:00 +00:00 |
|
christos
|
fd46b57ee4
|
avoid shadowed variable
|
2011-07-28 01:04:41 +00:00 |
|
christos
|
5fc21e9736
|
use vis.h from .
|
2011-07-28 00:54:26 +00:00 |
|
christos
|
b210596944
|
eliminate alloca for portability
portable getpw{nam,uid}
|
2011-07-28 00:50:23 +00:00 |
|
christos
|
82edb784c6
|
term -> terminal
eliminate MAXPATHLEN
|
2011-07-28 00:49:18 +00:00 |
|
christos
|
0c0f23399c
|
- fix memory allocation botch in wide strings
- check mbstowcs return code
|
2011-07-28 00:48:21 +00:00 |
|
christos
|
e63c844a17
|
term -> terminal
|
2011-07-28 00:45:50 +00:00 |
|
christos
|
885062da0b
|
more portability defines
|
2011-07-28 00:45:30 +00:00 |
|
christos
|
c2c011fc82
|
term -> terminal
|
2011-07-28 00:45:14 +00:00 |
|
christos
|
adb2121e55
|
term -> terminal
fix wide function confusion
|
2011-07-28 00:44:35 +00:00 |
|
christos
|
f375da6e14
|
include config.h for all c files.
|
2011-07-28 00:43:53 +00:00 |
|
christos
|
b723d6a65c
|
include vis.h from dot.
|
2011-07-28 00:43:33 +00:00 |
|
christos
|
df2309ca73
|
fix confusion with wide functions.
|
2011-07-28 00:43:12 +00:00 |
|
christos
|
5bf2e3dbda
|
fix narrow compilation
|
2011-07-27 13:18:20 +00:00 |
|
christos
|
32d7653d74
|
- don't leave cursor dangling on memory failure or after clearing the list
- compute the string length to be strvis'ed after the string is encoded
|
2011-07-27 02:23:29 +00:00 |
|
christos
|
c76d71fc1a
|
fix buffer growing code.
|
2011-07-27 02:18:30 +00:00 |
|
christos
|
0da54e076e
|
add history testing code.
|
2011-07-27 02:18:00 +00:00 |
|
christos
|
3021376b9c
|
don't stop reading after empty lines from: Nirbhay Choubey
|
2011-07-26 21:03:17 +00:00 |
|
christos
|
047570cb9a
|
make obvious what we are trying to do...
|
2011-07-09 23:54:39 +00:00 |
|
tron
|
f5c0fd2c7b
|
Try to fix build of port where "char" is unsigned.
|
2011-07-09 16:04:34 +00:00 |
|
christos
|
c6c51b75eb
|
Support other non-latin1 single byte character sets.
From: Alexander Barkov and Nirbhay Choubey at oracle dot com
|
2011-07-08 15:54:56 +00:00 |
|
mrg
|
0a0dd75b65
|
add some XXX'd -Wno-foo if HAVE_GCC >= 45.
XXX: someone should look at these.
|
2011-06-21 02:32:55 +00:00 |
|