Commit graph

216 commits

Author SHA1 Message Date
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
Charlie Gordon
40bf14fbba added some TODOs and DONEs 2005-05-11 12:03:13 +00:00
Charlie Gordon
74970610a0 limit fallback sequence in font lookup
fixed crash bug when font fallback scheme fails
2005-05-11 12:01:32 +00:00
Charlie Gordon
e27c83422d extended MAX_SCREEN_WIDTH to 1024 2005-05-11 11:59:03 +00:00
Charlie Gordon
6789e229c1 cosmetics 2005-05-11 09:04:12 +00:00
Charlie Gordon
76fda12164 use splitpath instead of deprecated pathname in get_default_path 2005-05-10 20:56:42 +00:00
Charlie Gordon
33c43fccbf removed pathname()
moved pstrncpy() to cutils.h/cutils.c
allow NULL pointers in splitpath for extraction for dirname or basename alone
changed sizes of filename or pathname buffers to MAX_FILENAME_SIZE
2005-05-10 18:53:03 +00:00
Charlie Gordon
c5655e7859 mark stuff as DONE 2005-05-09 17:27:14 +00:00
Charlie Gordon
2c62d409f1 fix CONFIG_xxx summary 2005-05-09 17:24:13 +00:00
Charlie Gordon
6dbffb4024 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
added -- as a marker for end of command line options.
allow most keys to be transmitted to shell process, including function keys.
improved shell buffer escape sequence parser.
added automatic detection of full screen shell applications and grab all keys
  try mc, Menuconfig, or even qemacs within qemacs !
improved *trace* buffer: do not trace keys when trace buffer is current,
  thus allowing navigation without side-effects
improved Makefile to not make html stuff if disabled
reduced CONFIG_TINY feature set
2005-05-09 09:10:37 +00:00
Charlie Gordon
421067af0b added fake charset vt100 for shell buffer
use simpler utf8 terminal test, ie: compatible with shell buffer.
added terminal dependant escape sequences,
  with limited support for vt100 variants.
more precise escape sequence parser in shell buffer.
trace shell output in trace_buffer.
improved file_completion :
  fix buffer overflows,
  ignore . and .. and backup files
  ignore file_completion_ignore_extensions,
2005-05-09 06:21:49 +00:00
Charlie Gordon
9dc81376fc cosmetics only : untabified 2005-05-09 06:03:07 +00:00
Charlie Gordon
86150616b0 simplified do_latex command construction 2005-05-09 05:58:47 +00:00
Charlie Gordon
c6fa69e7d4 added more shell buffer emulation stuff.
select charsets in vt100 tty.
2005-05-09 03:32:19 +00:00
Charlie Gordon
ff7d6f4c34 another try for linedrawing chars using alternate charsets 2005-05-09 03:24:22 +00:00
Charlie Gordon
811a16a0e3 changed do_line_numbers to do_toggle_line_numbers
changed do_line_truncate to do_toggle_truncate_lines
fixed define_kbd_macro string arguments mixup
added edit_find() to locate window with a given buffer
removed test kludge in term_flush()
various cosmetics.
2005-05-09 03:19:36 +00:00
Charlie Gordon
64d8b56fb6 try kludge for line drawing chars 2005-05-09 02:51:04 +00:00
Charlie Gordon
c5c717474c ignore more target files 2005-05-09 02:47:03 +00:00
Charlie Gordon
1f1df524cd added commands:
non-incremental search-forward, search-backward.
  unconditional replace-string
  set-visited-file-name with optional file rename
  set-emulation
  cd (change directory)
  set-mode
start in dired mode when invoked with no arguments
2005-05-09 02:42:07 +00:00
Charlie Gordon
8fac0ab42e reordered KEY_xxx definitions
added KEY_DEL=127 (formerly KEY_BACKSPACE)
added KEY_BS=8  C-H  to handle control-h as backspace on some ttys
fixed KEY_F6 thru KEY_F12 (were off by one)
added strtokeys() to convert a string with key names to a key buffer
added define-kbd-macro() from key string
added execute-macro-keys() to execute commands from a key string
improved qe_key_process().
changed method to update shell cursor : tty_update_cursor disabled
  shell_display_hook() used instead
greatly improved shell buffer behaviour, charset handling.
much improved tty input handling : support more key combinations and modes.
added missing charset declarations in qe.h
added borders_invalid and complete_refresh window flags
made C-L completely refresh display
moved window border display to separate function
changed edit_display() to allow complete redisplay even with popups
fixed window delete crash bugs by improving consistency with
  edit_attach and edit_detach.
2005-05-09 02:17:47 +00:00
Charlie Gordon
8d2cbbb4cc no longer infer binary file on form feed character 2005-05-09 01:37:13 +00:00
Charlie Gordon
29242809bb allow window navigation with C-X n / C-X p /
C-X up / C-X down / C-X left and C-X right.
added completion on color names
2005-05-09 01:35:31 +00:00
Charlie Gordon
bcd278f8c4 added do_toggle_control_h() declaration
put message in do_quote(), do_set_mark(),
added find_window() to locate window in a given direction.
added do_previous_window() for window navigation.
do not split popup window in do_split_window().
allow window navigation with C-X n / C-X p /
  C-X up / C-X down / C-X left and C-X right.
2005-05-09 01:29:34 +00:00
Charlie Gordon
7a1c445091 minor cosmetics 2005-05-08 16:37:42 +00:00
Charlie Gordon
be58a93b28 test TERM variable for backspace key code detection (^H or DEL)
ansi, cygwin, vt -> ^H
  linux, xterm, ... -> DEL (unchanged)
changed set-backspace-is-control-h to toggle-control-h.
changed CMD() command definition macro to CMD_() with arg definition
  string at the end for improved readability.
removed obsolete CMDi and CMDss command definition macros.
dired.c hex.c image.c latex-mode.c qe.c qe.h qeconfig.h shell.c tty.c
2005-05-08 16:31:47 +00:00
Charlie Gordon
662cbad090 added *trace* buffer to track actual tty input 2005-05-08 15:33:24 +00:00
Charlie Gordon
48773a28e4 added various ideas and bugs 2005-05-08 15:23:33 +00:00
Charlie Gordon
e6fb53ce39 cosmetics (untabify) 2005-05-08 15:18:31 +00:00
Charlie Gordon
a18ce8dcba improved bufed mode:
added BUFED_ALL_VISIBLE flag to include system buffers in list
  display buffer size
  added bufed_clear_modified, bufed_toggle_modified.
  added bufed_toggle_all_visible, navigation keys.
improved dired mode:
  store file details in separate structure
  added sorting options, marking options
2005-05-08 15:08:07 +00:00
Charlie Gordon
33716b7010 allow more C-X key combinations in command tables
improved error context handling, removed error_printf.
make get_str() skip spaces before and after token.
simplified use of get_str(), removing space skipping.
simplified libqhtml/xmlparse.c and libqhtml/cssparse.c accordingly.
extend config file syntax :
  support for 1 level if(0 or 1) { } blocks
  report syntax errors
added local config files .qerc for project based settings
added TODOs
added support for home dir syntax in canonize_absolute_path().
2005-05-08 15:07:28 +00:00
Charlie Gordon
3123572e8f fixed name conflict on get_str 2005-05-08 14:56:51 +00:00
Charlie Gordon
82c15b904b cosmetics, comments 2005-05-08 14:54:34 +00:00
Charlie Gordon
c525f403c2 added support for backspace key generating control-h :
do_set_backspace_is_control_h command and
  backspace_is_control_h variable.
added display_hook support in edit_display to allow windows to
  do mode specific stuff prior to display loop.
added BF_DIRED buffer flag.
fixed get_default_path for dired mode.
dont count popups in do_delete_window().
fixed more popup stuff in do_delete_window.
pass filename to parse_config.
added parse-config-file(filename) command.
2005-05-06 08:40:47 +00:00
Charlie Gordon
d438ba54a2 retrieve errors from *errors* buffer as well 2005-05-06 08:08:57 +00:00
Charlie Gordon
96a1eff81f cosmetics 2005-05-05 17:29:38 +00:00
Charlie Gordon
f4649fc080 added dummy_font so select_font never returns NULL
do not free system fonts
changed scroll command to support half window and one line modes
added commands to navigate window layout
2005-05-05 17:21:54 +00:00
Charlie Gordon
90da5da321 removed most references to global state structure qe_config 2005-05-05 17:11:13 +00:00
Charlie Gordon
2fc6a8c2ad better initialization for shell structure
some minor cosmetics
2005-05-05 16:53:45 +00:00
Charlie Gordon
e52ad7b44e moved minibuffer and less-mode initialisation to separate functions 2005-05-05 16:49:37 +00:00
Charlie Gordon
3a16f90da7 fixed spurious warning 2005-05-05 16:31:02 +00:00
Charlie Gordon
1afad683a1 fixed gcc warnings about signed/unsigned compare 2005-05-05 14:25:48 +00:00
Charlie Gordon
0a3659b866 added strfind to allow more efficient keyword/extension match in language modes
some cosmetic changes
2005-05-05 14:07:50 +00:00
Charlie Gordon
ce16cf2d1e select C mode on more extensions 2005-05-05 13:44:59 +00:00
Charlie Gordon
da2628b53f added dummy display, error_context and error_printf to track errors during
startup time, esp. while parsing config file.
various comments and cosmetics
some cosmetic changes
some assertion checks in buffer.c
2005-05-05 13:40:57 +00:00