Commit graph

1,090 commits

Author SHA1 Message Date
Charlie Gordon
e2e290ec72 Improve libqhtml build
- add dependencies
- support expression syntax in csstoqe
2021-02-03 09:03:51 +01:00
Charlie Gordon
2450fae550 echo config flags in terse output 2021-02-01 20:41:00 +01:00
Charlie Gordon
da22ee7f3b Improve build process
- factorize target rules,
- use recursion for different targets
- make debug versions for all targets
- add help target
2021-02-01 20:38:29 +01:00
Charlie Gordon
e8fc3b130d tidy up module list 2021-01-26 09:39:32 +01:00
Charlie Gordon
fcf9136fdb Improve naming consistency
- rename qe_skip_spaces() as eb_skip_spaces() and take EditBuffer
- rename skip_spaces() as qe_skip_spaces()
- use qe_skip_spaces() return value to simplify loops
2020-11-25 18:55:15 +01:00
Charlie Gordon
803fbace90 remove compile warning 2020-11-24 13:51:39 +01:00
Charlie Gordon
1af2af7d31 fix splint target 2020-11-23 00:00:49 +01:00
Charlie Gordon
9d3c15e85a fix splint target 2020-11-22 23:53:07 +01:00
Charlie Gordon
02f647d02a Fix t1qe target rules 2020-11-21 13:17:39 +01:00
Charlie Gordon
cbe325b000 Split more languages from lang/extra-mode.c:
- add asm inifile postscript modes as separate modules
2020-11-20 23:44:36 +01:00
Charlie Gordon
0212e35f05 Split more languages from lang/extra-mode.c:
- add agena coffee elixir erlang julia ocaml modes as separate modules
2020-11-19 23:54:59 +01:00
Charlie Gordon
3b4f3c9f48 Split more languages from lang/extra-mode.c:
- add ada basic fortran haskell lua pascal python ruby smalltalk sql
  vimscript modes as separate modules
2020-11-18 23:20:57 +01:00
Charlie Gordon
66eef8269b Split exotic languages from lang/extra-mode.c:
- add falcon magpie openscad tiger wolfram modes as separate modules
2020-11-17 23:42:40 +01:00
Charlie Gordon
abe90ade7b sundries 2020-11-16 23:56:35 +01:00
Charlie Gordon
b26563f74f Add odin-mode and fix some language issues
- add icon programming language
- compile rust, swift, icon, groovy and virgil as separate modules
- simplify Makefile accordingly
- handle nested block comments in koka, scala, wren and v modes
2020-11-15 22:07:23 +01:00
Charlie Gordon
c5e4d9d3dc Improve file completion, sundries
- fix bogus test for . and .. in find_file_next()
- use strequal() instead of !strcmp()
- add some emacs-lisp defined symbols
- fixed awk mode for `#` comments
2020-11-14 09:57:48 +01:00
Charlie Gordon
120380987c Improve file completion
- add flags to find_file_open():
  - FF_PATH:    enumerate path argument
  - FF_NODIR:   only match regular files
  - FF_NOXXDIR: do not match . or ..
  - FF_ONLYDIR: do not match non directories
  - 0..15:      max recursion depth
- add recursion level in find_file_next()
- add completion pointer in CompleteState
- add CF_DIRNAME and CF_RESOURCE CompletionDef flags
- pass filename to load_ligatures() and load_input_methods()
- remove find_resource_file() dummy definition in html2png.c
- add dir and resource completion methods
- allow makepath() to modify path in place
- enable completion in `load-resource-file` and `load-file-from-path`
2020-11-12 00:21:50 +01:00
Charlie Gordon
46d9be3442 Reorganize repository tree
- move language syntax handling to `lang` directory
- move other modes to `modes` directory
- move tools to `tools` directory
- compile tools to `bin` directory
- bump version to 5.3alpha
- remove duplicate node names in qe-doc
- update Makefiles
2020-11-11 19:31:07 +01:00
Charlie Gordon
a5de44ba69 simplify tar and archive targets, remove .filelist 2020-11-10 00:30:45 +01:00
Charlie Gordon
a3fac89268 Add standard bindings, improve consistency
- `C-g` invokes keyboard-quit
- bind `ESC ESC ESC` to keyboard-quit
- prevent ESC key combination in `combine_keys()` if not first
- rename `abort` as `keyboard-quit` and do_break() as do_keyboard_quit()
- rename do_combine_char() as do_combine_accent()
- rename do_word_right() as do_word_left_right()
- pass numeric argument to do_scroll_left_right()
- pass numeric argument to do_minibuffer_history()
2020-11-08 00:47:24 +01:00
Charlie Gordon
ed14c58bef Update mapping tables
- fix cptoqe.c for APPLE mapping tables
- get KOI8-U.TXT from unicode to replace koi8_u.cp
- update mapping files from unicode repository
2020-11-07 17:51:16 +01:00
Charlie Gordon
695ace964f Improve charset conversion utilities
- fix cptoqe.c and jistoqe.c to regenerate same charsetmore.c charsetjis.def
2020-11-07 00:14:43 +01:00
Charlie Gordon
3d58d4f0dd Improve buffer-list
- fix current position issues in popup buffer list
2020-11-06 23:08:53 +01:00
Charlie Gordon
e2c2a3f8c2 fix mailing list webpage reference 2020-11-06 09:56:31 +01:00
Charlie Gordon
f4316de741 Improve buffer-list
- add sorting options
- add description strings
- remove selection command bindings
- remove bufed-next-line and bufed-previous-line,
  just bind to text-mode commands
2020-11-05 14:32:17 +01:00
Charlie Gordon
a998f8bca8 Miscellaneous improvements
- fix typos and presentation in markdown documentation
- split binary- and hex-mode commands and bindings
- hex-mode inherits bindings from binary-mode (remove explicit bindings)
- enabled word movement in binary and hex modes
2020-11-05 13:39:05 +01:00
Charlie Gordon
8ac9061fc8 move TODO.org to markdown format as TODO.md 2020-11-04 00:52:03 +01:00
Charlie Gordon
1eb57c06b2 commented some limitations 2020-11-04 00:51:20 +01:00
Charlie Gordon
b446926c31 Add bazel and protobuf modes
- add description string in ModefDef structure
- match file extension in markdown code block tag handling
- add bazel mode: python based build system
- add protobuf: google protocol buffer specification files
2020-11-03 09:27:49 +01:00
Charlie Gordon
28128ae68c Improve command argument parsing
- add description placeholders to all CMDx definitions
- swap arguments to qe_split_window() and do_split_window()
- pass iteration count based on universal argument to
  do_up_down(), do_left_right(), do_word_right(), do_kill_word(),
  do_forward_paragraph(), do_kill_paragraph(), do_c_forward_conditional(),
  do_forward_block(), do_kill_block(),
- remove do_backward_paragraph()
- add int eb_prev_paragraph(EditBuffer *b, int offset);
- dont call command on 0 universal prefix
2020-11-01 19:03:33 +01:00
Charlie Gordon
e1cd76cc3c Improve command argument parsing
- add CmdArgSpec structure for parse_arg()
- add argument type prefixes for defautl values:
  'm' prefix for CMD_ARG_USE_MARK, 'p' for CMD_ARG_USE_POINT
  'z' for CMD_ARG_USE_ZERO and 'e' for CMD_ARG_USE_BSIZE,
- rename parse_args as parse_arguments to avoid confusion with parse_arg
- make tabify-region and tabify-buffer call do_tabify()
- make untabify-region and untabify-buffer call do_untabify()
- move command argument specification to CmdDef:spec, followed by description string
2020-10-31 21:47:30 +01:00
Charlie Gordon
6a50b76644 Improve file and buffer completion, fix some inconsistencies
- fix completion bug where highlighted region was not removed upon enter
- add file_print_entry() in dired.c to display file size in file completion popup
- add buffer_print_entry() to display filename in buffer completion popup
- small fixes
- rename many C functions to match corresponding command name:
  do_return -> do_newline, do_quote -> do_quoted_insert,
  do_start_macro -> do_start_kbd_macro, do_end_macro -> do_end_kbd_macro,
  do_call_macro -> do_call_last_kbd_macro,
  minibuf_complete_scroll_up_down -> do_minibuffer_scroll_up_down,
  do_shell_return -> do_shell_newline, do_compile_error -> do_next_error,
  do_incr_width -> do_increase_width
- add do_open_line as a separate function
- simplify hex and binary mode navigation functions
- do_overwrite_mode(arg) disables overwrite mode if arg <= 0
- fix universal argument parsing for M-0 to M-9 and other subtle details
2020-10-28 23:49:09 +01:00
Charlie Gordon
b9dd2b93b0 Improve completion system
- fix completion bug where highlighted region was not removed upon enter
- add file_print_entry() in dired.c to display file size in file completion popup
- add buffer_print_entry() to display filename in buffer completion popup
- small fixes
2020-10-27 08:38:12 +01:00
Charlie Gordon
aa2903be8f improve README.md 2020-10-26 07:55:07 +01:00
Charlie Gordon
5dda71b3d9 pass C-r and C-s to shell in interactive mode 2020-10-26 07:54:56 +01:00
Charlie Gordon
c6b4d90b80 Initial post on github
- renamed README as README.md and improved description
2020-10-24 23:59:54 +02:00
Charlie Gordon
c6b3780622 Add command and variable descriptions:
- add command and variable description field
- add fuzzy completion on repeated TAB in minibuffer
- remove fuzzy_search variable
- add CompletionDef flags:
  - CF_FILENAME to use `/` as separator
  - CF_NO_FUZZY to prevent fuzzy matching on second TAB
  - CF_SPACE_OK to prevent SPC from completing entry
  - CF_NO_AUTO_SUBMIT to insert current match on ENTER
- fix invalid free on CommandDef structures
- improve symbol completion in eval-expression
- use symbol completion in apropos
- fix post increment and decrement evaluation
2020-10-24 12:44:23 +00:00
Charlie Gordon
063c98dcd7 Improve buffer sorting:
- add SF_PARAGRAPH to sort multiline paragraphs
- sort commands and variables in print_bindings(), apropos(), about_qemacs()
- split buffer sorting code from do_sort_span() to eb_sort_span()
2020-10-24 08:04:30 +00:00
Charlie Gordon
cff2909ff0 Fixed small issues in qescript:
- fix memory leak in qe_cfg_append()
- fix potential buffer overflow in qe_cfg_format()
2020-10-22 08:53:41 +00:00
Charlie Gordon
90487345a1 Improve colorization
- add cur_pos in QEColorizeContext to track cursor position if on current line
- highlight trailing blanks except before the cursor
2020-10-21 23:22:25 +00:00
Charlie Gordon
e13fcfb543 remove trailing blanks 2020-10-21 15:01:52 +00:00
Charlie Gordon
2c85e017fd Improve colorization
- add QE_STYLE_BLANK_HILITE style for extra blanks at end of lines
- add MODEF_NO_TRAILING_BLANKS flag to control this feature on a mode basis
- add -nc (--no-crc) command line option du disable CRC based update cache
- add disable-crc global variable for the same purpose
- fix termios c_oflag flags in raw mode
2020-10-21 09:55:01 +00:00
Charlie Gordon
0735453f67 add require keyword in lua-mode 2020-10-21 09:51:40 +00:00
Charlie Gordon
41246b85cb prevent compilation warnings 2020-10-20 09:59:32 +00:00
Charlie Gordon
43448c64c3 fix gcc compile warnings 2020-10-20 09:38:20 +00:00
Charlie Gordon
b42b318a81 renamed qscript.c as qescript.c 2020-10-20 08:48:20 +00:00
Charlie Gordon
00fd3fb644 shell: temporary fix for backscroll in less command 2020-10-20 08:44:46 +00:00
Charlie Gordon
c8414744e0 sundries 2020-10-18 09:23:34 +00:00
Charlie Gordon
d0b9f3dad4 bumped copyrights on modified files 2020-10-17 21:09:49 +00:00
Charlie Gordon
6e0564d4ed Improve completion system
- pass CompleteState to print_entry() handler
- remove list_get_colorized_line()
- remove get_colorized_line() window handler
- add colorize_mode along with colorize_func
- add list_display_hook() to fix list mode navigation
- rename generic_get_colorized_line() as get_colorized_line()
- fix memory leak in eb_add_property()
- pretty print tags in tag_complete() and list_tags()
2020-10-17 20:55:47 +00:00