Commit graph

109 commits

Author SHA1 Message Date
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
Charlie Gordon
cd81b0f9f9 applied patch by Guido Classen: removed spurious 2005-05-18 22:35:14 +00:00
Charlie Gordon
3f73242a38 fixed compilation warning. 2005-05-18 22:34:42 +00:00
Charlie Gordon
1b3eed74c5 added '*' in command argument strings for commands that modify buffer contents
changed command definitions accordingly.
added C-x C-g binding for abort
added C-\ binding for call-last-kbd-macro
changed binding for switch-input-method to C-x C-\
added commands:
  not-modified on A-~ (reset buffer modified flag)
  load-file-from-path(file)
  mark-whole-buffer() on C-x h
  count-lines() on C-x l
  what-cursor-position on C-x =
allow key_grabber to quit and unget last key.
added splitpath() to dispatch directory and filename into separate buffers.
make separate functions for show_version and show_usage.
make separate function for parse_command_line.
added command line options:
  --help          -h   display help message and exit
  --no-init-file  -q   do not load config files
  --user          -u   load ~USER/.qe/config instead of your own
  --version       -V   display version information and exit
merged Flavien Lebarbé's patch on init macros for gcc 3.4.3.
a better fix might be to remove the static keyword on the symbol itself ?
2005-05-14 08:14:37 +00:00
Charlie Gordon
2aada1a78b - fixed some compilation errors.
- Added disabled commands.
- Much work needed ;-)
- fixed TODOs
2005-05-13 10:14:37 +00:00
Charlie Gordon
f6867f8b51 - Added font locking to fix crash bugs in html/css.
- select_font() now locks the font, which must be unlocked with
  release_font().  Extra locks can be added with lock_font().
- Added release_font() wherever needed.
- Added put_error() to store errors in *errors* system buffer.
- Make put_status() store messages in *messages* system buffer.
2005-05-13 10:05:23 +00:00
Charlie Gordon
5c37cc9049 moved utility functions from cutils.c to util.c to fix conflict with
ffmpeg's own cutils.c module
fixed Makefile to skip cutils when linking with ffmpeg
2005-05-13 09:56:44 +00:00
Charlie Gordon
888f045e4f cosmetics only 2005-05-13 09:53:45 +00:00
Charlie Gordon
6f7b797b69 removed unused variable 2005-05-12 17:03:56 +00:00
Charlie Gordon
65daffbd4f fixed filename buffer sizes (MAX_FILENAME_SIZE)
various cosmetics (spacing, untabify)
fixed some cursor bugs on long lines
commented on portability issues in command invokation
improved defaut_path_name on fileless buffers
added status with screen size upon screen resizing
2005-05-11 15:51:53 +00:00
Charlie Gordon
5c4499580d cosmetics only 2005-05-11 15:49:36 +00:00
Charlie Gordon
11ea924d6a fixed filename buffer sizes (MAX_FILENAME_SIZE)
various cosmetics (spacing, untabify)
2005-05-11 15:48:31 +00:00
Charlie Gordon
c52d77ea70 cosmetics only (spacing, untabify) 2005-05-11 15:12:14 +00:00
Charlie Gordon
3fa679698c cosmetics (untabify); fixed filename buffer sizes 2005-05-11 14:37:16 +00:00
Charlie Gordon
c01661ec0e cosmetics only 2005-05-11 14:35:54 +00:00
Charlie Gordon
15b5b42d34 fixed gcc warning on incomplete initializers, and protect macro args 2005-05-11 12:22:51 +00:00
Charlie Gordon
c2c4061aa3 use simplistic test to disable png support 2005-05-11 12:16:59 +00:00
Charlie Gordon
312836fc43 fixed some buffer sizes, cosmetics 2005-05-11 12:13:56 +00:00
Charlie Gordon
9b1a0ea97b cleaned up filename issue 2005-05-11 12:04:30 +00:00