add test for empty file

update tests

removes build/ucx from makefile

ucx is now used as external library

removes span around line number

test header file now contains user-select:none property

Release of version 2.0

improves API and adds functions for strings Version 2.0

fixes ancient header macro

adds appropriate public API

highlighter can now handle files which do not end with a blank line

adds appendfile() function to main module + adds TODOs for source files which do not terminate with a blank line

merges all highlighter functions into one highlighter module

replaces stack buffers with UCX buffers

minor fixes and macro removals

cleans up includes

highlighter now use the UcxBuffer API for writing to the destination buffer

words (token) are now stored as sstr_t

refactors highlighter_t and removes abstraction overhead

changes signature of parser functions to use a UcxBuffer - the functions itself don't use the API yet

cleans up formatfile function up to the parser call

cleans up main function

replaces custom copyfile() function with ucx_stream_copy calls

increases input buffer + adds regression tests

fixes plaintext output

adds UCX + changes how the input file is read (uses an consecutive memory area now)

use macros for exit codes

adds version number and changes build system

fixed possible naming conflicts with is.* functions

adjusted copyright info

better compiler flags

fixed macros with digits not highlighted

applied multi line comment fix to java code generator

fixed corrupted multi line comments, when a blank line (containing only white spaces) is present in the comment

added HTML escaping for plain text files

introduced macro for constant string memcpy + fixed string highlight fix

fixed string highlighting when different quote symbol is in string

added links for line numbers

fixed wrong comment formatting in strings

more and better test cases + fixed memory leak introduced by changeset e43dee5892f4

improved code structure and added option for disabling line numbers

fixed licenses

added command line parameters for header and footer file

structured source code

replaced function static variables with struct members

formatted with 4 spaces

fixed highlighting for java

implemented java highlighting

prepared java highlighting

double free fix

added -p to help message

changes merged

option for plaintext

option for output file

includes (with links in user includes)

long words are correctly separated by non alpha numeric chars, underscore or hash + support for macro constants

comments

strings and directives

fixed worthless memset

support for keywords and types

introduced parser

removed gay htm extension

extra style for line numbers

first prototype: creates unformatted output with line numbers

(0) tip

mercurial