Commit graph

477 commits

Author SHA1 Message Date
Charlie Gordon
b82cea744d small simplifications, remarks
small fixes and extra info in code page files
2007-12-05 08:49:38 +00:00
Charlie Gordon
71f55ca730 handle extra kmaps
fixed numerous bugs in kmaptoqe.c: handle \ syntax and report errors.
disable HebrewIsraeli.kmap and Kana.kmap because of partial support
2007-12-04 23:08:46 +00:00
Charlie Gordon
500161856e imported kmap files from yudit 1.6 2007-12-04 09:22:50 +00:00
Charlie Gordon
36567230e2 added charsetjis.c and charsetjis.def
moved code from charsetmore.c to charset.c and charsetjis.c
separate JIS table generation into jistoqe.c, make it generate charsetjis.def
2007-12-03 16:16:24 +00:00
Charlie Gordon
134ced6963 removed charset_table.c
added charsetjis.c and charsetjis.def
moved code from charsetmore.c to charset.c and charsetjis.c
improved cp parser cptoqe.c, make it generate charsetmore.c
small changes in QECharset structure: added eol_char and made aliases const
removed redundant QECharset declarations from qe.h
separate JIS table generation into jistoqe.c, make it generate charsetjis.def
updated Makefile, .cvsignore
improved fbftoqe.c
improved kmaptoqe.c, added --dump option
added argc, argv to QEmacsState
improved set_user_option: put runtime and user directories in front of res_path
added some missing file headings
2007-12-03 16:15:01 +00:00
Charlie Gordon
4937be13b6 cosmetics 2007-12-03 16:12:40 +00:00
Charlie Gordon
6c65411200 added missing headings, cosmetics 2007-12-03 16:10:38 +00:00
Charlie Gordon
c150f0a9a7 Added missing headings
Cosmetics
Fixed Makefile details
2007-12-03 10:40:21 +00:00
Charlie Gordon
9fdbca2c87 Imported original code page and keyboard map files
Fixed Makefile
Fixed .cvsignore
2007-12-03 10:18:33 +00:00
Charlie Gordon
0e1cfa053a report correct column number in terminal emulation, fixed crash bug on TAB in process buffer non interactive mode 2007-02-07 23:28:36 +00:00
Charlie Gordon
4dee871155 delayed terminal utf8 capability detection so qe no longer leaves 2 weird character on terminal upon leaving 2007-02-07 23:27:33 +00:00
Charlie Gordon
a0bfcd45bd fixed unsigned char issues
added TODOs
bumped version to 0.4.0dev
mention chqrlie in --version
cosmetics: reindented Makefile
2007-02-06 17:41:16 +00:00
Charlie Gordon
eb3afbb862 renamed do_less_quit() to do_less_exit() for consistency with command name
fixed crash in do_less_exit() when invoking "less-exit" with A-x
fixed c auto-indenter to not move point unless within the indent space
fixed the electric-c mode
2007-01-12 15:06:16 +00:00
Charlie Gordon
494e9f7866 include cflags.mk for extra gcc warnings if present
utf8_encode now returns the number of characters copied,
  simplified code accordingly
made local functions static
tagged unused function arguments
fixed shadowing issues
added support for GCC attributes for unused arguments and format strings
use snprintf() instead of sprintf()
moved scattered declarations to qe.h
removed duplicate declarations in header files
eb_write() payload argument is now const
fixed crash bug: reset trace_buffer upon deletion
improved trace_buffer readability: trace all pseudo tty streams separately
added missing structure initializers
removed buffered string handling from cutils.h
added new buffered string API for statically allocated buffers (should unify)
small improvements in X11 initialization
improved consistency in tty.c (function names...)
  added STDIN and STDOUT streams in QEditScreen to stop using stdin and stdout
  use unlocked stream I/O if available (faster)
  changed and documented terminal setup and exit sequences
  improved charset handling
mode_line functions now return the character count (like snprintf)
2006-12-31 19:34:00 +00:00
Charlie Gordon
45636730b0 include cflags.mk for extra gcc warnings if present
utf8_encode now returns the number of characters copied
simplified code accordingly
made local functions static
fixed shadowing issues
added __attr_printf() attributes for gcc to check printf arguments
use snprintf() instead of sprintf()
2006-12-28 11:27:30 +00:00
Charlie Gordon
b47f7998df allocate tty screen and shadow buffer in the same block
use various simple techniques to reduce tty refresh traffic
2006-12-12 01:03:03 +00:00
Charlie Gordon
714157c255 added TTY_STATE_STRING state to ignore escape string sequences
improved tty_goto_xy() [renamed from tty_gotoxy()] x and y can be specified
   as relative independently
fixed bug on relative y argument: caused bogus display
fixed another bug in tty_goto_xy() : caused last non blank character on row
   to be missing sometimes.
factorized code
added comments about many more colors and escape sequences
made ^H erase the character on the left (back_color_erase capability)
simplified CSI escape sequence parsing, default argument values to 1
added support for alt_charset_mode with 32 char kludge
ignore set-window-title xterm command: \E]0xxxxxxx\007
added \E[xG (goto_column_address) and \E[xd (goto y)
implement \E[xX erase n characters
document \E[y;xr change_scroll_region, still unimplemented
2006-12-11 23:35:45 +00:00
Charlie Gordon
0fe70595b6 simplified bogus utf-8 terminal test
fixed bogus tty_resize() : used to fill screen buffer attribute slots with
  invalid values, causing spurious ????? output on ^L
simplified tracing of tty input
improved term_flush(), further improvements pending.
2006-12-11 23:24:59 +00:00
Charlie Gordon
1c91b22914 moved charset_complete() to charset.c
added do_set_trace()
added mode_completion()
simplified command_completion()
simplified style_completion()
simplified buffer_completion()
fixed bogus terminal display for character ^? (DEL or 127)
2006-12-11 23:21:04 +00:00
Charlie Gordon
3fa9f0ab84 moved charset_complete() to charset.c
made charset names case insensitive (also ignore spaces, dashes, underscores)
2006-12-11 23:17:03 +00:00
Charlie Gordon
cc82df1fa4 moves basic types to top of declarations
added missing prototypes
added eb_find_window()
added eb_trace_bytes() trace_buffer_state and EB_TRACE_TTY, EB_TRACE_SHELL
  for trace buffer management.
2006-12-11 23:15:42 +00:00
Charlie Gordon
685d35964f added set-trace command 2006-12-11 23:11:31 +00:00
Charlie Gordon
fac6bd9acf added eb_find_window()
added eb_trace_bytes()
improved eb_printf(): removed potential buffer overflow
2006-12-11 23:10:33 +00:00
Charlie Gordon
7128c65b41 use 20% of width for dired/bufed modes 2006-12-11 23:08:50 +00:00
Charlie Gordon
e120f926a6 simplified completion enumerators 2006-12-11 23:07:58 +00:00
Charlie Gordon
4f5fc748c6 more TODOs about colors and tty emulation 2006-12-11 23:05:01 +00:00
Charlie Gordon
e549c9ae96 made color names case insensitive, simplified color_completion 2006-12-11 23:04:21 +00:00
Charlie Gordon
20c9993c3d changed stristart to ignore space, - and _
addded stricmp: same as strcasecmp, and ignore , - and _
2006-12-11 23:03:21 +00:00
Charlie Gordon
d447798717 added missing licence header
fixed typos
added constness
comments about potential problems
identified 64 bit portability problem
fixed small issue in get_default_path()
allow signed numbers in config file
added comments about old code for reference (tty.c, shell.c)
2006-12-09 19:47:20 +00:00
Charlie Gordon
c402c17a7a fixed typos, added comments about potential problems 2006-12-09 19:04:15 +00:00
Charlie Gordon
3551c36226 fixed typos, comments 2006-12-09 19:02:07 +00:00
Charlie Gordon
a42c2c8be4 use proper escaping for M-{ and M-}, use newer version of texi2html 1.76 2006-12-09 18:37:12 +00:00
Charlie Gordon
2123a3d4b1 typo 2006-12-09 17:45:53 +00:00
Charlie Gordon
6f747dbdaf default X11 window size to 80x50 2006-12-09 17:45:26 +00:00
Charlie Gordon
17c08b7f4a added more TODOs 2006-12-09 17:44:30 +00:00
Charlie Gordon
5d5e1c5a0a use newer version 1.66 of texi2html to generate html documentation 2006-05-07 10:43:31 +00:00
Charlie Gordon
bfc549ce42 initialize all fields in find_file_open 2006-04-27 15:24:14 +00:00
Charlie Gordon
b78ca68086 Display number of rows upon resize 2006-04-27 15:22:26 +00:00
Charlie Gordon
4fd86a71d4 Defensive programming: clear ptr after free 2006-04-27 15:20:12 +00:00
Charlie Gordon
020ed7b1d6 use libpng 1.2 interface, let library allocate structures.
use struct instead of volatile trick to silence gcc warnings about setjmp
  variable clobbering
2006-04-24 13:49:38 +00:00
Charlie Gordon
e306b6643b cosmetics, spacing, typos 2006-04-24 11:58:17 +00:00
Charlie Gordon
2fffd2ce7c allow multi-registering of command tables
added command do_minibuffer_get_binary (bound to minibuffer M-=)
  reads a word from the current buffer and display its value in decimal
  using CPU default endianness and long word size.  should take optional
  parameters to specify endianness, word size and destination.
2006-04-24 11:44:57 +00:00
Charlie Gordon
040a0add4a added binding: hex-mode M-g goto-byte
created separated command tables for hex and ascii modes
2006-04-24 11:32:29 +00:00
Charlie Gordon
b4845e8db7 improved configure autodetection of png, ffmpeg and x11 support
added --disable-ffmpeg option
2006-04-20 15:58:06 +00:00
Charlie Gordon
949b03c210 oops: msg was not submitted with previous changes ;-)
Added -funsigned-char compile option
Fixed various warnings about signed/unsigned clashes
Fixed extern/static clashes for gcc-4.0 build
Fixed QEColor signed/unsigned mismatches
Make screen size report visible when window is resized
2005-07-08 13:02:04 +00:00
Charlie Gordon
ade489eba5 msg 2005-07-08 09:30:43 +00:00
Charlie Gordon
240b6edfd0 applied patch by Guido Classen:
use the new attribute __used__ for the initcall/exitcall
sections to prevent gcc 3.4 and above from droping contents of this
sections.
2005-06-15 16:36:45 +00:00
Charlie Gordon
b9cee713fb added shell-intr to send kill signal on C-c 2005-06-01 23:49:30 +00:00
Charlie Gordon
2176037305 - added diagnostics messages for shell command failure
- added extra escape sequences for full screen mode switch
- added shell-yank as a pass-thru to shell getline
2005-06-01 23:43:37 +00:00
Charlie Gordon
2f2959b3b7 applied patch by Guido Classen: removed spurious ';' in vt100 escape sequence. 2005-05-18 22:35:57 +00:00