Commit graph

810 commits

Author SHA1 Message Date
Charlie Gordon
f9783afdc6 add virgil language colorizer 2016-11-26 11:00:42 +00:00
Charlie Gordon
e0961c3a4e completion: improve popup window handling
- fix completion popup current selection display
- TAB toggles completion popup open/close if there are matches
- SPC opens the completion popup and pages down through matches
- add non ambiguous completion as highlighted region in mini-nbuffer
- adding more characters with popup active rescans and filters list
- remove completion popup as more typing occurs without a match
2016-07-29 11:20:08 +00:00
Charlie Gordon
cb3f1a1f61 edit: delete or kill the highlighted region automatically
- typing now first deletes the highlighted region
- delete-char and backward-delete-char delete the highlighted region if any.
- kill-line kills the highlighted region if any.
- yank first deletes the highlighted region
2016-07-29 11:04:31 +00:00
Charlie Gordon
e87bac0f37 x11: fix compilation without Xshm
- patches by Francois Revol to allow compilation in some
  X11 environments without Xshm support.
2016-07-26 09:43:14 +00:00
Charlie Gordon
9f693f5aa3 clang: prevent crash bug if tab-width is set to 0 2016-07-15 14:49:03 +00:00
Charlie Gordon
92f31a2ce3 use new style parser for pascal colorizer 2016-07-12 07:50:19 +00:00
Charlie Gordon
a4247a878f dired: improve current directory support
- pass EditPane to canonicalize_absolute_path() to make current directory
  context based.
- use shell buffer context based directory for next-error.  Should actually
  use more context such as current position to compute current directory.
- move canonicalize_absolute_path() and is_abs_path() from util.c to qe.c
2016-06-26 08:35:25 +00:00
Charlie Gordon
8bd15ce4aa dired: support file patterns, improve current directory support
- add `is_filepattern` utility function to check for wildcards
- add `get_default_path` public function to retrieve the context specific
  current directory associated with a window.
- explore directories and file patterns in dired window
- compare-files determines parent file from current directory
- accept file patterns for dired listing
2016-06-13 17:12:35 +00:00
Charlie Gordon
fd49b712a2 x11 patches
- merged patches by Clemmit Sigler
- handle shifted keys in x11 mode
- install xqe if CONFIG_X11
2016-06-11 15:55:46 +00:00
Charlie Gordon
d5e10dfe77 update copyrights, TODO list 2016-06-09 16:24:10 +00:00
Charlie Gordon
9faeebcfdd build: fix warnings in linux 2016-06-08 00:35:04 +00:00
Charlie Gordon
31f4362ce2 shell: improve shell editing, yank kill buffer at shell prompt
- add mode specific `delete_bytes()` method
- reorder `write_char()` and `mouse_goto()` mode methods
- pass `keep` argument to `do_kill()`
- pass `argval` to `do_kill_line()`
- add `do_kill_beginning_of_line()` command
- allow kill commands in read-only buffers, copies contents to kill-ring and
  moves point.
- change `do_kill_line()` semantics when invoked with numeric argument
- add `cur_prompt` and `last_char` in ShellState to track start of
  shell input line
- C-a moves to start of shell input, exits interactive mode if there already
- force interactive mode on shell-end-of-line and shell-end-of-buffer
- simplify shell_write_char(), remove hard coded dispatcher
- add `shell_delete_bytes()` to delete contents in shell input line
- change shell-kill-word and shell-kill-line to not rely on mode specific
  cursor movement commands because of asynchronous behavior.  This is also
  a problem for macros
- make shell-yank insert data via shell input.
- pause for 1ms after each CR sent to the process
2016-06-07 08:56:39 +00:00
Charlie Gordon
4e653889ab dired: load directories in dired pane 2016-06-07 06:50:44 +00:00
Charlie Gordon
cde3d64660 shell: improve shell editing
- add shell_exchange_point_and_mark() command
  handled by the process in interactive mode
2016-05-28 16:27:56 +00:00
Charlie Gordon
41cccd9643 shell: improve shell history handling
- add shell_previous_next() function:
  - does previous/next command at shell prompt
  - moves by four lines elsewhere
- bind shell-previous command on M-p
- bind shell-next command on M-n
- flag shell-kill-line, shell-kill-beginning-of-line, shell-yank,
  shell-enter, shell-backward-delete-char, shell-tabulate commands
  as modifying the buffer
2016-05-28 10:34:17 +00:00
Charlie Gordon
64149adc97 shell: improve current directory handling
- add get_default_path mode function
- move dired specific code to dired_get_default_path()
- add shell_get_default_path(), gets directory from prompt on current line
2016-05-27 18:20:30 +00:00
Charlie Gordon
6782c6bc93 lisp: use newer colorizer switch with style variable 2016-05-21 16:18:35 +00:00
Charlie Gordon
2b55531e13 shell: improve interactive mode switching
- beginning of buffer (M-<) and end-of-buffer (M->) indirect through mode
- switch in and out of interactive mode on beginning- and end-of-buffer
- improve other cursor movement handling in shell buffer.
- add shell-intr(), shell-delete-char(), shell-delete-word(),
  shell-backspace(), shell-kill-line(), shell-yank(), shell-tabulate()...
2016-05-21 16:13:41 +00:00
Charlie Gordon
9d5fc34605 clang: add C-minus colorizer 2016-05-21 16:04:16 +00:00
Charlie Gordon
18734f7b08 extras: add compare_files
- add function and command compare-files() to compare a file
  with a modified version in the parent directory.
- improve compare-windows to fix ignore-spaces setting and improve resync
- fix show-date-and-time handling of universal argument
2016-05-21 15:45:19 +00:00
Charlie Gordon
9ddd52a7ac basic: made force-tty a global setting and user accessible variable 2016-03-07 10:35:22 +00:00
Charlie Gordon
8e79b7d83f compile tqe in 32 bits -Os, 32KB smaller, but still 122KB 2016-03-07 10:34:12 +00:00
Charlie Gordon
03d4509bd4 compile tqe in 32 bits -Os, 32KB smaller, but still 122KB 2016-03-07 10:30:24 +00:00
Charlie Gordon
b962e33ade updated copyrights 2016-03-06 19:53:06 +00:00
Charlie Gordon
66acc15b06 extra-modes: syntax fixes, added new syntaxes
- fixed fortran number syntax
- fixed comments for init files
- added coffee-mode for the Javascript-like Coffee language
- use coffee-mode for Cakefile
- added scad-mode for the OpenSCAD language
- use single set_color for ini_colorize_line, python_colorize_line
  ruby_colorize_line, elixir_colorize_line, agena_colorize_line
2016-03-06 18:45:20 +00:00
Charlie Gordon
d120014e73 clang: small fixes, added pawn-mode
- improved regex divide discrimination
- select javascript-mode for node scripts
- added pawn-mode for *.p files with pascal disambiguation
2016-03-06 18:21:58 +00:00
Charlie Gordon
74f5350611 updated todo list 2016-03-06 18:12:47 +00:00
Charlie Gordon
c2899920de markdown: added support for literate modes
- added mkd_add_lang() to handle language tags more generically
- added default language for literate modes
- added syntax colorizer for litcoffee
2016-03-06 18:09:26 +00:00
Charlie Gordon
2ec28aef7a cmake: added colorizer for cmake files 2016-03-06 18:03:25 +00:00
Charlie Gordon
26d89491b5 x11: generate separate executable xqe for X11 support 2016-03-06 18:02:21 +00:00
Charlie Gordon
482ea06c1b basic: improved timing feature
- accept non breaking space in qe_isspace() and qe_isblank()
- added cmd_start_time for timings
- added cache qs->diag_shadow for diag/timing messages
- use global state for cmd_start_time to display the innermost timings
- display timings at the bottom right with put_status(s, "|diag");
- prevent qe_register_cmd_line_options from registering the same table twice
- added dummy option `-nw` so non graphics qemacs does complain
2016-03-06 17:59:22 +00:00
Charlie Gordon
225af9a196 search: added count-matches
- handle dir=0 in eb_search as forward search
- renamed isearch_display to isearch_run
- display timing if isearch_run takes longer than 100ms
- do_search_string with dir=0 counts matches
- added count-matches(str) on M-C
2016-03-06 17:48:01 +00:00
Charlie Gordon
bb96ec15af shell: fixed colors for libcaca output
- increase number of ANSI escape arguments to 6
- added debug traces for unhandled escape sequences
- wrap traces before 80 columns in *trace* buffer
2016-03-06 17:42:26 +00:00
Charlie Gordon
056db10c78 charset: fixed scanning bug for DOS eol modes
- goto_char had infinite loops for EOL_DOS in 8, 16 and 32 bits modes.
- this bug caused qemacs to hang on searches on DOS/Windows files.
2016-03-06 17:31:44 +00:00
Charlie Gordon
1644b75cd6 archive: improve support for images
- add mode dependant shell flags
- add filter for bmp files with img2txt from libcaca package
- add filter for jpg files with jpg2a from libcaca package
- add filter for pdf files with pstotext from libcaca package
2016-03-06 17:04:26 +00:00
Charlie Gordon
91855a0cd7 fixed typo 2016-03-06 16:58:53 +00:00
Charlie Gordon
8ba10d70b9 clang: reorder definitions
- move all definitions for each language together with mode struct.
- add generic flag for triple quoted strings
2015-11-13 08:37:08 +00:00
Charlie Gordon
4620aab4a1 Makefile: small fixes 2015-11-13 08:31:47 +00:00
Charlie Gordon
b7b934f1de ignore xqe targets 2015-10-14 09:32:07 +00:00
Charlie Gordon
afabce40f1 build: improve portability
- detect X11 configuration in configure script, no longer
  assume directories in Makefile
- added CONFIG_XSHM and check for XShm availability
- added TARGET_OS and TARGET_ARCH to make specific object dirs
- no longer redefine qe_module_init in qe.c
- added tqe.c: combined source version of tiny version
- added target xqe to build it, but it currently generates an
  executable significantly larger than tqe.
  This oddity is under investigation.
2015-10-14 09:31:20 +00:00
Charlie Gordon
4a076c2a00 ignore all object directories 2015-10-13 21:16:03 +00:00
Charlie Gordon
adcd271ebf fix compilation errors on linux 2015-10-13 20:54:00 +00:00
Charlie Gordon
12bcbe9e43 added C flavor for C! (cbang) from EPITA/LSE laboratory 2015-10-04 17:16:12 +00:00
Charlie Gordon
1f5a77a784 portability: stop defining symbols starting with __ 2015-09-16 22:18:22 +00:00
Charlie Gordon
16aa2940f6 fix cpp compilation: fix enum values and types 2015-09-16 21:45:27 +00:00
Charlie Gordon
ea3b85cdb1 fix cpp compilation: use non const typedef 2015-09-16 21:44:12 +00:00
Charlie Gordon
4f47d8b945 portability: avoid using or pseudo-keyword 2015-09-16 21:43:22 +00:00
Charlie Gordon
6dfb503d62 fixed do_set_visited_file_name if no file associated 2015-09-16 21:42:18 +00:00
Charlie Gordon
8591718dd2 clang: add colorizer for JetBrains Kotlin language 2015-09-16 12:58:33 +00:00
Charlie Gordon
d815596cc2 clang: improve idl colorizer
- add keywords
- add generic flag for mixed case capitalized typenames
2015-09-16 12:56:04 +00:00