Commit graph

277 commits

Author SHA1 Message Date
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
Charlie Gordon
4ce5261fa1 cosmetics, small fix 2008-04-04 18:23:10 +00:00
Charlie Gordon
446aa12e02 added crude support for terminal size in xterm buffer fixed spurious \n insertions in shell unlimited line xterm mode prevent tty input for non-interactive xterm buffers force TERM variable to xterm in process buffers reset PAGER to enable man colored output with default 'less' pager added 'make' command on C-x m added man command 2008-04-04 13:16:09 +00:00
Charlie Gordon
ebf5d5e24c removed obsolete declaration 2008-04-04 13:11:17 +00:00
Charlie Gordon
a929df2f41 remarks 2008-04-04 12:09:32 +00:00
Charlie Gordon
1266c949ef added completion on style property names 2008-04-04 12:06:07 +00:00
Charlie Gordon
781f2e6af4 support set extended foreground/background escape sequences, with only 16 foreground colors and 8 background colors support set bright foreground / background (only 8 background colors) support SCO colors parse and ignore xterm define extended color command prevent crash bug on non colored shell buffers, such as compile output 2008-04-04 10:19:37 +00:00
Charlie Gordon
10c0e75827 improved and documented terminal synching with erase-to-end-of-line 2008-04-04 09:56:17 +00:00
Charlie Gordon
8151d4ea8f added xterm normal colors too 2008-04-04 09:55:20 +00:00
Charlie Gordon
6f219cc45c added test files from putty testdata 2008-04-04 07:13:11 +00:00
Charlie Gordon
2a304d585d added simplistic lisp mode 2008-04-04 07:11:14 +00:00
Charlie Gordon
83f2911f36 added simplistic lisp mode 2008-04-04 07:11:07 +00:00
Charlie Gordon
25834d334a added transpose commands (chars, words, lines) 2008-03-31 21:52:01 +00:00
Charlie Gordon
7868f2b05c added command find-file-other-window
added module extra.c for commands in full version
added command compare_windows
added command delete_horizontal_space
added command show_date_and_time
moved block navigation and kill commands from clang.c to extras.c
2008-03-31 20:35:31 +00:00
Charlie Gordon
82ca364b60 made tty_term_glyph_width generic and faster
improved tty_term_flush:
 - separate handling of fgcolor and bgcolor changes
 - simplified line drawing kludge
 - cleaned up handling of missing glyph
2008-03-31 09:44:27 +00:00
Charlie Gordon
298c42499c return NULL in select_font for fallback failure 2008-03-31 09:41:17 +00:00
Charlie Gordon
90d65f6cfb added flag BF_UTF8 so set buffer charset to uft-8 at creation time
set utf8 charset for buffers:
  *bufed*, *dired*, *xml-error*, *messages, *errors*, *minibuf*, *Help*
remove BF_SYSTEM bit from buffers *messages*, *error*
added syntax for messages not stored in *messages*: start message with ~
2008-03-30 16:10:15 +00:00
Charlie Gordon
f430a35836 fixed defined macros bug: first key was combined with current
no longer use register_bottom_half for current keyboard macro
added QEmacsState::executing_macro to prevent double store of macro keys
accept regular text as self insert in defined macros
2008-03-30 12:02:01 +00:00
Charlie Gordon
dfa56150c6 start buffer names at <1> upon collisions 2008-03-30 11:00:07 +00:00
Charlie Gordon
72e59be778 fixed crash bug on forward_block in text mode:
- renamed get_colorized_line() to generic_get_colorized_line
 - added get_non_colorized_line() for uncolored modes
 - renamed EditState::get_colorized_line_func to get_colorized_line
   make this function pointer always non NULL

fixed bug in global-set-key: current bindings could not be overloaded

better tty charset detection and handling:
 - always use utf8 when output is not a tty
 - allow override with -c CHARSET command line option
 - added state variable show-unicode to display non latin1 as \uXXXX
 - added command line argument -c CHARSET (--ttycharset) to specify the
   charset of the tty. tty charset is reported in *messages* buffer at startup
 - display unsupported glyphs as half-width or full-width question mark pairs

improved tty output: use kill_end_of_line escape sequence
2008-03-29 18:06:41 +00:00
Charlie Gordon
f58f2920de accept NULL in find_charset() 2008-03-29 17:41:46 +00:00
Charlie Gordon
b2bf3813bb more scripts and cleaner presentation 2008-03-29 17:34:42 +00:00
Charlie Gordon
6417c70833 simplified some dired functions
fixed navigation bugs:
 - current file stays current on sort, dired, parent
 - default entry is first upon navigating to a subdirectory
2008-03-28 12:26:23 +00:00
Charlie Gordon
4d36e09d10 favor C mode on files starting with C comment 2008-03-28 12:23:53 +00:00
Charlie Gordon
ae082b5dd7 remark 2008-03-28 12:23:00 +00:00
Charlie Gordon
1ccf1aec26 added is_directory 2008-03-28 12:21:39 +00:00
Charlie Gordon
18a00e8379 prevented many useless redraw calls in X11 event handling 2008-03-28 08:38:14 +00:00
Charlie Gordon
134cf1973e prevent mouse wheel scrolling from moving the cursor if not needed 2008-03-28 08:35:06 +00:00
Charlie Gordon
77bbf48dab removed absolete xterm patch 2008-03-28 08:32:01 +00:00
Charlie Gordon
0113f16285 added more scripts, fixed Hindi 2008-03-27 07:28:35 +00:00
Charlie Gordon
28a0bd2c99 simplifications 2008-03-27 07:27:07 +00:00