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
Charlie Gordon
ec59a69ec6
add colorizing mode for the go language
2014-04-18 21:04:40 +00:00
Charlie Gordon
ceda512a9c
improve lisp mode
...
* colorize standard lisp functions and builtins as 'keywords' and 'types'
* parse and colorize character constants, numbers, symbols, quoted symbols
2014-04-18 21:00:45 +00:00
Charlie Gordon
3797c0100e
dired: disable display of number of blocks
2014-04-18 20:54:28 +00:00
Charlie Gordon
bb1fd8df88
use man mode for compressed SSL man pages
2014-04-17 17:24:19 +00:00
Charlie Gordon
b858880675
use man mode for compressed man pages
2014-04-17 17:21:01 +00:00
Charlie Gordon
1ea8739da2
add man mode
...
* add buffer loader for automatic conversion of man pages
* BUG: currently, this prevents editing of man page source files
A-M cycles through buffer-modes but does not cycle buffer-load handlers
2014-04-17 17:16:57 +00:00
Charlie Gordon
6cf7cf24f3
fix problems with shell buffers
...
* create styles for existing buffers passed to new_shell_buffer
* preserve unmodified status for read-only shell output buffers
2014-04-17 17:14:09 +00:00
Charlie Gordon
8f5f8350bb
improve C, js, java modes, add php mode
...
* add php support as variant of c-mode
* add js_colorize_line, css_colorize_line and php_colorize_line
as special cases of c_colorize_line
* use mode_flag specific keyword and type lists for C/CPP, Java, JS, PHP
2014-04-15 08:08:01 +00:00
Charlie Gordon
7c400cb0ce
make val an OCaml keyword instead of a type
2014-04-15 08:04:19 +00:00
Charlie Gordon
a40e0264cb
lower html-mode probe value for php files
2014-04-15 08:01:05 +00:00