Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Bail from hi if input is binary | June McEnroe | 2019-12-18 |
| | | | | | NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. | ||
* | Add option to default to text in hi | June McEnroe | 2019-12-15 |
| | |||
* | Match .profile and .shrc as shell in hi | June McEnroe | 2019-12-15 |
| | |||
* | Don't match comments in strings in make | June McEnroe | 2019-07-25 |
| | |||
* | Add diff syntax to hi | June McEnroe | 2019-07-01 |
| | |||
* | Highlight yacc and lex files as C | June McEnroe | 2019-05-10 |
| | | | | Their %-prefixed directives should probably be highlighted Macro. | ||
* | Use val instead of suboptarg | June McEnroe | 2019-05-10 |
| | | | | | suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? | ||
* | Highlight line continuations in line comments | June McEnroe | 2019-03-14 |
| | |||
* | Use getsubopt(3) to parse -o options in hi | June McEnroe | 2019-02-27 |
| | |||
* | Add type and ulimit shell keywords | June McEnroe | 2019-02-27 |
| | |||
* | Fix make target pattern whitespace in hi | June McEnroe | 2019-02-27 |
| | |||
* | Match make targets as Tag | June McEnroe | 2019-02-20 |
| | |||
* | Don't match nested parentheses in Tag for C | June McEnroe | 2019-02-18 |
| | | | | | | Fixes mistaken highlight of: pngWrite(file, (uint8_t []) { 0, 0, 0 }, 3); | ||
* | Match whitespace between * [] {} | June McEnroe | 2019-02-18 |
| | |||
* | Fix function-like #define regex | June McEnroe | 2019-02-18 |
| | | | | A define like #define FOO (1) is not function-like. | ||
* | Match Tag in Rust | June McEnroe | 2019-02-18 |
| | |||
* | Match sh functions as Tag | June McEnroe | 2019-02-18 |
| | |||
* | Match Sh and Ss as Tag in mdoc | June McEnroe | 2019-02-18 |
| | |||
* | Match statics and typedefs as Tag | June McEnroe | 2019-02-18 |
| | |||
* | Clean up htmlHeader | June McEnroe | 2019-02-18 |
| | |||
* | Remove hi line numbering | June McEnroe | 2019-02-18 |
| | | | | | | Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>. | ||
* | Add Tag class to hi | June McEnroe | 2019-02-18 |
| | |||
* | Add hi -f html -o anchor for line number links | June McEnroe | 2019-02-17 |
| | |||
* | Add line numbers to hi | June McEnroe | 2019-02-17 |
| | | | | | | | Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. | ||
* | Always split spans after newlines | June McEnroe | 2019-02-17 |
| | | | | | Simplifies ANSI and IRC output code, and prepares for line numbered output. | ||
* | Highlight Interp as yellow | June McEnroe | 2019-02-15 |
| | |||
* | Highlight strings in sh command substitutions | June McEnroe | 2019-02-15 |
| | |||
* | Match newlines in sh strings | June McEnroe | 2019-02-13 |
| | |||
* | Fix sh comment pattern to require blank | June McEnroe | 2019-02-12 |
| | |||
* | Use a proper fread-realloc loop in hi | June McEnroe | 2019-02-12 |
| | |||
* | Don't match Rust raw strings inside other strings | June McEnroe | 2019-02-12 |
| | |||
* | Add Rust to hi | June McEnroe | 2019-02-12 |
| | | | | This also fixes the block comment pattern to match /* **/ correctly. | ||
* | Call setlocale in hi | June McEnroe | 2019-02-12 |
| | |||
* | Add plain text "language" to hi | June McEnroe | 2019-02-10 |
| | |||
* | Don't match DQ string inside SQ string | June McEnroe | 2019-02-10 |
| | |||
* | Skip only one character if a match fails due to parent | June McEnroe | 2019-02-10 |
| | | | | | Really it should skip forward until the parent changes, but this is simpler. | ||
* | Remove pattend from hi | June McEnroe | 2019-02-10 |
| | |||
* | Replace uses of pattend with newline patterns | June McEnroe | 2019-02-10 |
| | |||
* | Add hi debug output | June McEnroe | 2019-02-10 |
| | |||
* | Actually do HTML " escaping | June McEnroe | 2019-02-10 |
| | |||
* | Add back missing static keyword | June McEnroe | 2019-02-10 |
| | | | | Ooops. | ||
* | Add tab option to HTML output of hi | June McEnroe | 2019-02-09 |
| | |||
* | Add css and inline HTML options to hi | June McEnroe | 2019-02-09 |
| | |||
* | Combine all Keyword patterns | June McEnroe | 2019-02-09 |
| | |||
* | Fix IRC output monospace option to emit once per line | June McEnroe | 2019-02-09 |
| | |||
* | Add output format options to hi | June McEnroe | 2019-02-09 |
| | | | | | The monospace option for IRC output doesn't really work, since IRCCloud puts a box around each span this way. | ||
* | Avoid using SGRReset and IRCReset | June McEnroe | 2019-02-09 |
| | |||
* | Use X macros for hi classes | June McEnroe | 2019-02-08 |
| | |||
* | Add sh syntax to hi | June McEnroe | 2019-02-08 |
| | |||
* | Use [] to quote special characters in regex | June McEnroe | 2019-02-08 |
| | | | | This looks much cleaner than having to double-escape backslash. |