Charlie Gordon
080e40dbb8
add mode for Forth languages
2014-05-30 17:53:18 +00:00
Charlie Gordon
9c5248eff6
add C flavors for elastiC and Jed slang languages
2014-05-30 17:37:31 +00:00
Charlie Gordon
2e5cc16713
improve syntax colorizing modes consistency
...
* create separate modes for all syntax colorizers
* add colorizing_flags to mode structure for code sharing
* pass ModeDef struct pointer to colorizing function
* remove obsolete window fields
2014-05-30 17:18:12 +00:00
Charlie Gordon
b8004d7072
simplify mode definitions
...
* assume text mode primitives for MODEF_SYNTAX modes
* initialize mode structures inline instead of cloning text_mode
2014-05-29 18:29:14 +00:00
Charlie Gordon
d46fa4a060
improve describe-buffer
...
* display all modes
* clump char / word / line counts
2014-05-29 11:35:17 +00:00
Charlie Gordon
569401da15
simplify mode init/close
...
* always regsister callbacks on s->top and s->top_offset
* handle saved_data generically, remove window callback
this will be replaced with view history mecanism.
2014-05-29 10:26:13 +00:00
Charlie Gordon
f7d64b4500
suppress redundant initializer
2014-05-29 06:32:21 +00:00
Charlie Gordon
0d3e4999f2
suppress compilation warning
2014-05-29 06:32:00 +00:00
Charlie Gordon
53168697f7
improve asm and pascal colorizers
...
* simplified code for x86 asm
* add keywords and types for pascal
* remove is_lc_keyword, use local symbol buffers
2014-05-27 23:43:59 +00:00
Charlie Gordon
ebc8f89a82
prevent strict warnings
2014-05-27 22:59:48 +00:00
Charlie Gordon
41005d5757
use qe_shell_subst instead of snprintf
2014-05-27 22:56:39 +00:00
Charlie Gordon
851321452f
use generic mode_probe function where possible
2014-05-27 15:50:47 +00:00
Charlie Gordon
f527a58e18
add mode flags to specify different types of modes
...
* add mode_flags as extra argument to qe_register_mode
* change all mode registration calls accordingly
2014-05-27 12:05:52 +00:00
Charlie Gordon
0a2857655a
remove redundant initializers
2014-05-26 20:39:48 +00:00
Charlie Gordon
47f2f83bff
remove redundant initializers
2014-05-26 20:39:31 +00:00
Charlie Gordon
ba22305321
remove useless init_mode functions and empty command lists
2014-05-26 20:29:09 +00:00
Charlie Gordon
061b18655c
clean up header, rename some fields
2014-05-26 14:35:37 +00:00
Charlie Gordon
e03177996e
suppress warnings
2014-05-26 13:57:20 +00:00
Charlie Gordon
223ea777b5
remove redundant binding
2014-05-26 12:42:58 +00:00
Charlie Gordon
94c14073a4
clang: fix type list for pike flavor
2014-05-20 07:15:15 +00:00
Charlie Gordon
fa22e51806
htmlsrc: check dashes when matching tags
2014-05-20 07:14:23 +00:00
Charlie Gordon
b98c0f89df
add coorizer for Pike language
2014-05-20 04:48:36 +00:00
Charlie Gordon
bfb76f245e
add colorizer for Dart
2014-05-19 19:11:43 +00:00
Charlie Gordon
ed47b8ea69
add colorizer for css files and portions
2014-05-18 22:40:04 +00:00
Charlie Gordon
f9f5ef791a
fixed bugs in memory mapped buffers
...
* unmap file upon buffer clear
* fix bug that caused file to be mmapped AND loaded (!)
2014-05-18 11:01:55 +00:00
Charlie Gordon
ad82a883a1
msg1
2014-05-18 11:01:00 +00:00
Charlie Gordon
55ebbc0d84
fixed max level for skipping deeply nested blocks
2014-05-18 10:49:58 +00:00
Charlie Gordon
b48786a05e
select c-mode for .i intermediary files
2014-05-18 10:47:13 +00:00
Charlie Gordon
b5447b9945
extend html-src-mode
...
* add support for ASP scripts with <% %. syntax
* add support for embedded C Sharp scripts
2014-05-17 10:15:21 +00:00
Charlie Gordon
7096d8f5ca
added c-mode flavor for Actionscript
2014-05-16 07:37:40 +00:00
Charlie Gordon
ef8fd31369
add c-mode flavors and simplify code
...
* improve Objective C flavor
* add C Sharp flavor
* add JSX flavor (extended javascript)
* add Haxe flavor (another extended javascript)
* add Limbo (from Inferno)
* add Cyclone flavor (safer C)
* add CH flavor (extended C interpreter)
* add Squirrel flavor (interpreted C-like language)
* add ICI flavor (another interpreted C-like language)
* fix regex parsing bug on /=xxx/
2014-05-14 21:24:56 +00:00
Charlie Gordon
d0e1447aa3
improve utf-8 support
...
* display non BMP code-points as utf-8 if not CONFIG_TINY
2014-05-14 17:40:53 +00:00
Charlie Gordon
5297ac77c5
added timing facility
...
* display elapsed time for commands and display lasting more than 100 ms
2014-05-14 17:19:44 +00:00
Charlie Gordon
58af8b2110
improve BOM handling
...
* colorize BOM character separately from mode based colorizer
* skip BOM char for mode probing
2014-05-14 17:14:05 +00:00
Charlie Gordon
00df0a88dc
improve describe-buffer
...
* fix line number for files with an imcomplete last line
* display word count
* align byte stats for large files
2014-05-14 16:15:00 +00:00
Charlie Gordon
ccc963a4c5
use temp file for BinHex hqx compressed files
2014-05-13 09:34:46 +00:00
Charlie Gordon
f102e3f2f9
improve auto colorizing system
...
* improve colorization speed on (very) large files
* use geometric progression instead of linear to reallocate state buffer
* fix bug that caused states to get lost when displaying previous pages
2014-05-13 08:56:23 +00:00
Charlie Gordon
46c2fdefca
added sharp-mode for txt files with # end of line comments
2014-05-13 08:49:17 +00:00
Charlie Gordon
5c94a41014
add D flavor for C colorizer
2014-05-01 19:32:01 +00:00
Charlie Gordon
e24adde425
improve c-mode
...
* colorize *.mm files as Objective-C
* fix forward/backward-block on special cases:
colorize end of line in comments and preprocessor lines
2014-04-29 22:29:56 +00:00
Charlie Gordon
88c82885f8
prevent buffer overflow on very long lines
2014-04-29 22:25:49 +00:00
Charlie Gordon
daad40d969
x11: fix meta mask for non Darwin targets (fbellard)
2014-04-29 22:24:40 +00:00
Charlie Gordon
db53f26499
fix archive and filtering commands
...
* fix reduce_filename for 7z archives and man pages
* add more man page extensions
* add more nroff head tests
2014-04-25 20:08:17 +00:00
Charlie Gordon
2ba97a9b71
fix dired behaviour on symlinks
2014-04-25 20:05:32 +00:00
Charlie Gordon
8e82d78124
fix filtering commands
...
* fix bug in http and ftp requests with embedded spaces and shell characters
* quote filename in man_buffer_load
* recognize nroff man pages starting with bare \"
2014-04-24 22:14:11 +00:00
Charlie Gordon
fac4ae98ac
improve lisp mode
...
* create lisp mode flavors for Scheme, Racket, ELisp
* add syntax for ,@ #t #f
* add syntax for scheme comment s-expression on #;
* add syntax for octal, binary and hex constants
2014-04-24 22:11:27 +00:00
Charlie Gordon
87b951633d
update TODOs
2014-04-24 22:07:02 +00:00
Charlie Gordon
01144fd1af
add coloring mode for Julia language
2014-04-24 22:06:11 +00:00
Charlie Gordon
a504f5c8e3
minibuf: use more specific command names
2014-04-24 22:05:26 +00:00
Charlie Gordon
fca58d1dde
improve latex mode detection
...
* detect latex syntax on sty files starting with a latex comment
* detect latex syntax on files starting with a tex function with arguments
2014-04-22 08:08:48 +00:00