Commit graph

307 commits

Author SHA1 Message Date
Charlie Gordon
04ebeb7606 better separation of function pointers and void*
use CmdFunc typedef for generic command function pointers
no longer use \e for escape use \033 instead
use memcpy trick to prevent gcc warning on dlsym in -pedantic mode
2008-04-20 12:01:34 +00:00
Charlie Gordon
cc1e3bae29 done this 2008-04-20 11:57:06 +00:00
Charlie Gordon
c158298f8a do not use %m, use strerror 2008-04-20 11:56:25 +00:00
Charlie Gordon
3ac1bd5aa0 use proper format in fscanf 2008-04-20 11:55:49 +00:00
Charlie Gordon
8aa15b90f0 remark 2008-04-20 11:55:11 +00:00
Charlie Gordon
180f61a8b9 use c99 syntax for varadic macros 2008-04-20 11:54:36 +00:00
Charlie Gordon
083d96dc3c remark 2008-04-20 11:51:58 +00:00
Charlie Gordon
9e7ccb5423 fixed delete-char and backward-delete-char to append to kill buffer after a kill command 2008-04-19 09:03:58 +00:00
Charlie Gordon
7e55f9b05d use preprocessor trick to prevent gcc warning, add special key 2008-04-18 16:25:07 +00:00
Charlie Gordon
24d4fda0aa split global key binding list into mode specific and global lists
added commands local-unset-key and global-unset-key
2008-04-18 14:39:07 +00:00
Charlie Gordon
f27f1df169 added INSTALL variable 2008-04-17 15:06:44 +00:00
Charlie Gordon
f329cf4dce cleaned up install target, added uninstall and rebuild 2008-04-17 08:42:10 +00:00
Charlie Gordon
62f320c7d5 added str_credits and str_version to share between usage and help 2008-04-17 08:15:19 +00:00
Charlie Gordon
d8d0d6429a fixed use of DESTDIR variable in make install 2008-04-17 08:14:35 +00:00
Charlie Gordon
58b5872c52 fixed OpenBSD compile issues:
- check OpenBSD as uname output
- no longer use strcpy, strcat, sprintf
- added CONFIG_PTSNAME to disable Unix98 API under BSD
- fixed crash bug in tty.c on empty window
2008-04-15 23:24:03 +00:00
Charlie Gordon
444b5cd507 updated clean target 2008-04-15 08:32:12 +00:00
Charlie Gordon
53bf5ef8c2 fixed qe_collate to sort system buffers last 2008-04-15 08:14:07 +00:00
Charlie Gordon
eab4195f2f more X11 todos 2008-04-15 08:08:09 +00:00
Charlie Gordon
517ad341ad added support for DESTDIR in make install 2008-04-15 08:07:51 +00:00
Charlie Gordon
8a2ee13f81 further kludges for linedraw in cygwin 2008-04-14 00:42:32 +00:00
Charlie Gordon
08da1814c5 fixed some BSD build issues 2008-04-13 23:44:39 +00:00
Charlie Gordon
ce6df0f885 fixed support for BS and M-BS in shell mode 2008-04-13 23:03:20 +00:00
Charlie Gordon
dc40af78a6 fake underline in shell terminal
improved V100 parsing, more comments, more compatible with putty
2008-04-13 17:31:46 +00:00
Charlie Gordon
85d121989e fixed some more tty color issues.
use tty.term_flags for emulation flags
improved cygwin tests
do not use V220 escapes to reset bold and blink
reset char attributes in more places to avoid side effects
2008-04-12 19:26:05 +00:00
Charlie Gordon
fa7b29d311 use blink for high intensity background color 2008-04-12 12:40:23 +00:00
Charlie Gordon
675c981c15 prepare qscript support 2008-04-12 12:37:07 +00:00
Charlie Gordon
9d0c9f2be8 ignore .tags 2008-04-12 12:36:31 +00:00
Charlie Gordon
851a541b6f fixed typo 2008-04-12 08:14:00 +00:00
Charlie Gordon
fbe133e213 no longer use non portable ptsname_r reentrant version of ptsname 2008-04-12 08:13:19 +00:00
Charlie Gordon
bdf7a89b29 comments 2008-04-10 21:21:14 +00:00
Charlie Gordon
7252dbb2da comment 2008-04-10 21:15:18 +00:00
Charlie Gordon
50d752b733 fixed terminal emulation for charset selection 2008-04-10 20:57:25 +00:00
Charlie Gordon
dc093a1e86 added more c-electric-keys 2008-04-10 20:48:49 +00:00
Charlie Gordon
d3823e1bb1 fixed shell mode: use ptsname instead of ptsname_r
disabled 16 color modes in cygwin, some issues remain if shell is started
2008-04-09 16:51:30 +00:00
Charlie Gordon
0cb0552601 fixed 32/64 bit compilation issues 2008-04-09 16:27:15 +00:00
Charlie Gordon
39c9da1dd1 remove cvs backup files in make clean 2008-04-09 16:19:19 +00:00
Charlie Gordon
597e4a48a0 renamed extension() to get_extension() for consistency
added safe cast functions s8(): u8* -> char * and const variant cs8()
strip # suffix in reduce_filename()
2008-04-09 16:15:45 +00:00
Charlie Gordon
82ce3587f6 recognize more files: *.hh, #pragma 2008-04-09 16:13:40 +00:00
Charlie Gordon
7d088e15f9 handle upto 16 colors in console output and shell terminal
simulate xterm 256 colors in terminal
improved bold trick
2008-04-08 19:57:33 +00:00
Charlie Gordon
4e41846e35 recognise Halibut files 2008-04-08 11:36:16 +00:00
Charlie Gordon
f538848ffe simplified extended escape sequence handling 2008-04-08 09:33:18 +00:00
Charlie Gordon
34dc258c63 fixed pseudo-tty allocation using Unix98 API 2008-04-08 09:29:38 +00:00
Charlie Gordon
0f862d64dd pass key to exec_command and call_func
added intrinsic command argument ki for last key pressed
simplified C electric keys: : ; { } invoke the same command c-electric-key
pass actual key to self-insert-command
handle M-d, M-DEL, M-p, M-n in shell mode
2008-04-08 09:25:16 +00:00
Charlie Gordon
a905cf029a renames basename to get_basename to avoid conflicts 2008-04-08 09:14:47 +00:00
Charlie Gordon
ab07f56522 cosmetics 2008-04-08 06:55:44 +00:00
Charlie Gordon
2d0783cfd9 renames basename to get_basename to avoid conflicts 2008-04-08 06:54:44 +00:00
Charlie Gordon
f4c0fc380a fixed mingw compile under linux 2008-04-05 23:30:31 +00:00
Charlie Gordon
d4d6f8a0f3 fixed some configure issues for mingw compile under cygwin
added CONFIG_MMAP to control availability of memory mapped files
added CONFIG_DOC to control doc rebuild
use state variables to control file mmapping and loading
default limit of 512MB for loading file
try and load the file upon mmap failure
do not use alloca in CONFIG_WIN32
use CONFIG_WIN32 instead of WIN32
update Makefile to enable win32 build under cygwin (dumps core)
renamed mouse_event to prevent compile warning
patched unix.c util.c win32.c to enable WIN32 compile
fixed kmap.c to load mapping files when mmap fails or is unavailable
2008-04-05 23:04:56 +00:00
Charlie Gordon
2301b82aeb fixed mingw compilation 2008-04-05 18:16:30 +00:00
Charlie Gordon
97d4535be5 use texi2html 1.78 for premade qe-doc.html 2008-04-04 18:26:55 +00:00