Commit 1a7e07c9 authored by André Simon's avatar André Simon

added categories to plug-ins; updated mail contact

parent ec22c4ad
Pipeline #43328665 passed with stage
in 2 minutes and 20 seconds
......@@ -956,7 +956,7 @@ Please see the {makefile} for further options.
Andre Simon
a[email protected]
a[email protected]
{andre-simon_de}
......
......@@ -966,7 +966,7 @@ Im {makefile} finden Sie weitere Informationen.
Andre Simon
a[email protected]
a[email protected]
{andre-simon_de}
......
......@@ -453,7 +453,7 @@ Can be used to disable a default syntax element.
Andre Simon
a[email protected]
a[email protected]
http://www.andre-simon.de/
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add hyperlinks in AsciiDoc files"
Categories = {"html", "asciidoc", "hyperlinks"}
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -6,6 +6,8 @@ without parantheses
]]
Description="Add function names to keyword list"
Categories = {"bash"}
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
Description="Add man7.org reference links to HTML, LaTeX, RTF and ODT output of Bash scripts"
Categories = {"bash", "html", "rtf", "latex", "odt", "hyperlinks" }
function syntaxUpdate(desc)
if desc~="Bash" then
......@@ -249,53 +251,53 @@ man1p_items = Set {
}
man2_items = Set {
"accept","access","acct","adjtimex","afs_syscall","alarm","alloc_hugepages",
"arch_prctl","bdflush","bind","break","brk","cacheflush","capget","capset",
"chdir","chmod","chown","chroot","clone","close","connect","creat",
"create_module","DC_CTX_new","DC_PLUG_new","DC_PLUG_read","DC_SERVER_new",
"delete_module","dup2","dup","epoll_create","epoll_ctl","epoll_wait","execve",
"_exit","fchdir","fchmod","fchown","fcntl","fdatasync","fgetxattr","flistxattr",
"flock","fork","free_hugepages","fremovexattr","fsetxattr","fstat","fstatfs",
"fstatvfs","fsync","ftruncate","futex","getcontext","getdents","getdomainname",
"getdtablesize","getegid","geteuid","getgid","getgroups","gethostid",
"gethostname","getitimer","get_kernel_syms","getpagesize","getpeername",
"getpgid","getpgrp","getpid","getpmsg","getppid","getpriority","getresgid",
"getresuid","getrlimit","getrusage","getsid","getsockname","getsockopt",
"get_thread_area","gettid","gettimeofday","getuid","getxattr","gtty","idle",
"inb","inb_p","init_module","inl","inl_p","insb","insl","insw","intro","inw",
"inw_p","io_cancel","ioctl","ioctl_list","io_destroy","io_getevents","ioperm",
"iopl","io_setup","io_submit","ipc","kill","killpg","lchown","lgetxattr","link",
"listen","listxattr","llistxattr","_llseek","llseek","lock","lookup_dcookie",
"lremovexattr","lseek","lsetxattr","lstat","madvise","mbind","mincore","mkdir",
"mknod","mlock.2","mlock","mlockall.2","mlockall","mmap2","mmap","modify_ldt",
"mount","mprotect","mpx","mremap","msgctl","msgget","msgop","msgrcv","msgsnd",
"msync","munlock","munlockall","munmap","NAL_ADDRESS_new","NAL_BUFFER_new",
"NAL_CONNECTION_new","NAL_decode_uint32","NAL_LISTENER_new","NAL_SELECTOR_new",
"nanosleep","_newselect","nfsservctl","nice","obsolete","oldfstat","oldlstat",
"oldolduname","oldstat","olduname","open","outb","outb_p","outl","outl_p",
"outsb","outsl","outsw","outw","outw_p","pause","pciconfig_iobase",
"pciconfig_read","pciconfig_write","personality","pipe","pivot_root","poll",
"posix_fadvise","prctl","pread","prof","pselect","ptrace","putpmsg","pwrite",
"query_module","quotactl","read","readahead","readdir","readlink","readv",
"reboot","recv","recvfrom","recvmsg","remap_file_pages","removexattr","rename",
"rmdir","sbrk","sched_getaffinity","sched_getparam","sched_get_priority_max",
"sched_get_priority_min","sched_getscheduler","sched_rr_get_interval",
"sched_setaffinity","sched_setparam","sched_setscheduler","sched_yield",
"security","select","select_tut","semctl","semget","semop","semtimedop","send",
"sendfile","sendmsg","sendto","setcontext","setdomainname","setegid","seteuid",
"setfsgid","setfsuid","setgid","setgroups","sethostid","sethostname","setitimer"
,"set_mempolicy","setpgid","setpgrp","setpriority","setregid","setresgid",
"setresuid","setreuid","setrlimit","setsid","setsockopt","set_thread_area",
"settimeofday","setuid","setup","setxattr","sgetmask","shmat","shmctl","shmdt",
"shmget","shmop","shutdown","sigaction","sigaltstack","sigblock","siggetmask",
"sigmask","signal","sigpause","sigpending","sigprocmask","sigqueue","sigreturn",
"sigsetmask","sigsuspend","sigtimedwait","sigvec","sigwaitinfo","socket",
"socketcall","socketpair","ssetmask","sstk","stat","statfs","statvfs","stime",
"stty","swapoff","swapon","symlink","sync","syscall","syscalls","_sysctl",
"sysctl","sysfs","sysinfo","syslog","time","times","tkill","truncate","tux",
"umask","umount2","umount","uname","undocumented","unimplemented","unlink",
"uselib","ustat","utime","utimes","vfork","vhangup","vm86","wait","wait3",
"wait4","waitpid","write","writev"
"accept","access","acct","adjtimex","afs_syscall","alarm","alloc_hugepages",
"arch_prctl","bdflush","bind","break","brk","cacheflush","capget","capset",
"chdir","chmod","chown","chroot","clone","close","connect","creat",
"create_module","DC_CTX_new","DC_PLUG_new","DC_PLUG_read","DC_SERVER_new",
"delete_module","dup2","dup","epoll_create","epoll_ctl","epoll_wait","execve",
"_exit","fchdir","fchmod","fchown","fcntl","fdatasync","fgetxattr","flistxattr",
"flock","fork","free_hugepages","fremovexattr","fsetxattr","fstat","fstatfs",
"fstatvfs","fsync","ftruncate","futex","getcontext","getdents","getdomainname",
"getdtablesize","getegid","geteuid","getgid","getgroups","gethostid",
"gethostname","getitimer","get_kernel_syms","getpagesize","getpeername",
"getpgid","getpgrp","getpid","getpmsg","getppid","getpriority","getresgid",
"getresuid","getrlimit","getrusage","getsid","getsockname","getsockopt",
"get_thread_area","gettid","gettimeofday","getuid","getxattr","gtty","idle",
"inb","inb_p","init_module","inl","inl_p","insb","insl","insw","intro","inw",
"inw_p","io_cancel","ioctl","ioctl_list","io_destroy","io_getevents","ioperm",
"iopl","io_setup","io_submit","ipc","kill","killpg","lchown","lgetxattr","link",
"listen","listxattr","llistxattr","_llseek","llseek","lock","lookup_dcookie",
"lremovexattr","lseek","lsetxattr","lstat","madvise","mbind","mincore","mkdir",
"mknod","mlock.2","mlock","mlockall.2","mlockall","mmap2","mmap","modify_ldt",
"mount","mprotect","mpx","mremap","msgctl","msgget","msgop","msgrcv","msgsnd",
"msync","munlock","munlockall","munmap","NAL_ADDRESS_new","NAL_BUFFER_new",
"NAL_CONNECTION_new","NAL_decode_uint32","NAL_LISTENER_new","NAL_SELECTOR_new",
"nanosleep","_newselect","nfsservctl","nice","obsolete","oldfstat","oldlstat",
"oldolduname","oldstat","olduname","open","outb","outb_p","outl","outl_p",
"outsb","outsl","outsw","outw","outw_p","pause","pciconfig_iobase",
"pciconfig_read","pciconfig_write","personality","pipe","pivot_root","poll",
"posix_fadvise","prctl","pread","prof","pselect","ptrace","putpmsg","pwrite",
"query_module","quotactl","read","readahead","readdir","readlink","readv",
"reboot","recv","recvfrom","recvmsg","remap_file_pages","removexattr","rename",
"rmdir","sbrk","sched_getaffinity","sched_getparam","sched_get_priority_max",
"sched_get_priority_min","sched_getscheduler","sched_rr_get_interval",
"sched_setaffinity","sched_setparam","sched_setscheduler","sched_yield",
"security","select","select_tut","semctl","semget","semop","semtimedop","send",
"sendfile","sendmsg","sendto","setcontext","setdomainname","setegid","seteuid",
"setfsgid","setfsuid","setgid","setgroups","sethostid","sethostname","setitimer"
,"set_mempolicy","setpgid","setpgrp","setpriority","setregid","setresgid",
"setresuid","setreuid","setrlimit","setsid","setsockopt","set_thread_area",
"settimeofday","setuid","setup","setxattr","sgetmask","shmat","shmctl","shmdt",
"shmget","shmop","shutdown","sigaction","sigaltstack","sigblock","siggetmask",
"sigmask","signal","sigpause","sigpending","sigprocmask","sigqueue","sigreturn",
"sigsetmask","sigsuspend","sigtimedwait","sigvec","sigwaitinfo","socket",
"socketcall","socketpair","ssetmask","sstk","stat","statfs","statvfs","stime",
"stty","swapoff","swapon","symlink","sync","syscall","syscalls","_sysctl",
"sysctl","sysfs","sysinfo","syslog","time","times","tkill","truncate","tux",
"umask","umount2","umount","uname","undocumented","unimplemented","unlink",
"uselib","ustat","utime","utimes","vfork","vhangup","vm86","wait","wait3",
"wait4","waitpid","write","writev"
}
......
Description="Modify URLs within comments to clickable hyperlinks in HTML, LaTeX, ODT and RTF output"
Categories = {"html", "rtf", "latex", "odt", "hyperlinks" }
function syntaxUpdate(desc)
table.insert( Keywords,
......@@ -61,4 +63,4 @@ Plugins={
{ Type="lang", Chunk=syntaxUpdate },
{ Type="theme", Chunk=themeUpdate },
}
\ No newline at end of file
}
......@@ -7,6 +7,9 @@ formatting in colour theme
Description="Add Qt keywords to C and C++"
Categories = {"c++", "qt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
if desc=="C and C++" then
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add cplusplus.com reference links to HTML, LaTeX, RTF and ODT output of C and C++ code"
Categories = {"c++", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.13
Description="Add developer.gnome.org reference links to HTML, LeTeX, RTF and ODT output of C++ GTK code"
Categories = {"c++", "gtk", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,9 @@ Sample plugin file for highlight 3.9
Description="Add reference links to local C or C++ headers in HTML, LaTeX, RTF and ODT output. Set base_url in the plug-in script if needed."
Categories = {"c++", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
Description="Add doc.qt.io reference links to HTML, LaTeX, RTF and ODT output of C++ code"
Categories = {"c++", "qt", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add wxwidgets.org reference links to HTML, LaTeX, RTF or ODT output of C++ code"
Categories = {"c++", "wxwidgets", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -10,6 +10,8 @@ USAGE: highlight -I main.cpp --plug-in=plugin.lua
Description="Add syslog and kernel log levels to C and C++ keywords"
Categories = {"c++", "syslog" }
-- function to update language definition with syslog levels
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -9,6 +9,8 @@ USAGE: highlight -I main.cpp --plug-in=plugin.lua
Description="Add wxWidgets class names to C and C++ keywords"
Categories = {"c++", "wxwidgets" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
if desc=="C and C++" then
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add tooltips based on a ctags file (default input file: tags)"
Categories = {"ctags", "html" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -7,6 +7,8 @@ USAGE: highlight -I main.java --plug-in=plugin.lua
Description="Add standard library class names to Java definition"
Categories = {"java" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
if desc=="Java" then
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Capitalize keywords if the syntax is not case sensitive."
Categories = {"format" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Convert keywords to lower case, if the syntax is not case sensitive."
Categories = {"format" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Convert keywords to upper case, if the syntax is not case sensitive."
Categories = {"format" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -5,6 +5,8 @@ Sample plugin file for highlight 3.45
Description="Inserts a section into each LaTeX output file to concatenate the results later"
Categories = {"latex" }
function formatUpdate(desc)
function DocumentHeader(numFiles, currFile, options)
......
Description="Marks the lines defined as comma separated list in the plug-in parameter (HTML and RTF only)."
Categories = {"format", "html", "rtf" }
function syntaxUpdate(desc)
if HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML
......
......@@ -6,6 +6,8 @@ Adds background stripes
Description="Adds background stripes in HTML output "
Categories = {"format", "html" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
......@@ -6,6 +6,8 @@ Adds a background pattern using an inline SVG
Description="Adds a background inline SVG pattern for HTML output (edit parameters in the file)"
Categories = {"format", "html" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
Description="Adds figure and figcapture in HTML output. Define capture as plug-in parameter."
Categories = {"format", "html" }
function syntaxUpdate(desc)
if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then
return
......
......@@ -6,6 +6,8 @@ Adds a line to the left of the code box
Description="Adds a line to the left of the code box in HTML output"
Categories = {"format", "html" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
......@@ -6,6 +6,9 @@ Adds a shadow and margin to the code box
Description="Adds a shadow and margin to the code box in HTML output (intended for bright themes)"
Categories = {"format", "html" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
Description="Adds code folding for C style languages, Pascal, Lua and Ruby and more to HTML output (not compatible with inline CSS or ordered list output)."
Categories = {"format", "html", "usability" }
function syntaxUpdate(desc)
if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then
......
......@@ -6,6 +6,8 @@ Assumes that CSS is enabled (ie Inline CSS is not set)
Description="Shows matching curly brackets in HTML output."
Categories = {"format", "html", "usability" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -2,6 +2,8 @@
Description="Adapt HTML to ancient MS Web Controls"
Categories = {"format", "html", "compatibility" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -2,6 +2,8 @@
Description="Shows matching keywords in HTML output. Define the keyword group as plug-in parameter."
Categories = {"format", "html", "usability" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,9 @@ Adds ligature fonts
Description="Adds ligature fonts in HTML output"
Categories = {"format", "html", "usability" }
function themeUpdate()
if (HL_OUTPUT == HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then
......
......@@ -6,6 +6,9 @@ Adds modern monospace fonts
Description="Adds modern monospace fonts in HTML output"
Categories = {"format", "html", "usability" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
......@@ -6,6 +6,8 @@ Assumes that CSS is enabled (ie Inline CSS is not set)
Description="Shows matching parantheses and curly brackets in HTML output."
Categories = {"format", "html", "usability" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
Description="Add HTML tooltips within comments linked to circled numbers (format as @tip[tooltip text])"
Categories = {"format", "html", "usability" }
function syntaxUpdate(desc)
ttCnt=0 -- tooltip counter
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add perldoc.perl.org reference links to HTML, LaTeX, RTF and ODT output of Perl code"
Categories = {"perl", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -4,6 +4,8 @@ Sample plugin file for highlight 3.9
Description="Add python.org reference links to HTML, LaTeX, RTF and ODT output of Python code"
Categories = {"python", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
Description="Reduce output file size by ignoring numbers and operators"
Categories = {"format" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
Digits = '(?!x)x'
......
......@@ -6,6 +6,8 @@ Sample plugin file for highlight 3.9
Description="Add scala-lang.org reference links to HTML, LaTeX, RTF and ODT output of Scala code"
Categories = {"scala", "html", "rtf", "latex", "odt" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
......
......@@ -5,6 +5,8 @@ Sample plugin file for highlight 3.45
Description="Adds file information to terminal output (ansi, xterm, truecolor)"
Categories = {"format", "ansi", "xterm", "truecolor" }
function formatUpdate(desc)
function DocumentHeader(numFiles, currFile, options)
......
......@@ -9,6 +9,9 @@ USAGE: highlight -I main.cpp --plug-in=plugin.lua
Description="Invert colours of the original theme"
Categories = {"format" }
-- function to update theme definition
-- optional parameter: theme description
function themeUpdate()
......
Description="Add internal state IDs behind each token (for debugging)."
Categories = {"debug" }
function syntaxUpdate(desc)
function Decorate(token, state)
return token .. ' ('.. string.format("%d",state) .. ')'
......
......@@ -3,7 +3,7 @@
-------------------
begin : Sun Nov 25 2001
copyright : (C) 2001-2017 by Andre Simon
email : a[email protected]
email : a[email protected]
***************************************************************************/
/*
......
......@@ -3,7 +3,7 @@
-------------------
begin : Sun Nov 25 2001
copyright : (C) 2001-2017 by Andre Simon
email : a[email protected]
email : a[email protected]
***************************************************************************/
......
......@@ -3,7 +3,7 @@
-------------------
begin : Die Apr 23 2002
copyright : (C) 2002-2018 by Andre Simon
email : a[email protected]
email : a[email protected]
***************************************************************************/
/*
......
......@@ -3,7 +3,7 @@
-------------------
begin : Die Apr 23 2002
copyright : (C) 2002-2007 by Andre Simon
email : a[email protected]
email : a[email protected]
***************************************************************************/
......
......@@ -3,7 +3,7 @@
-------------------
begin : Die Apr 23 22:16:35 CEST 2002
copyright : (C) 2002-2018 by Andre Simon
email : a[email protected]
email : a[email protected]
Highlight is a universal source code to HTML converter. Syntax highlighting
is formatted by Cascading Style Sheets. It's possible to easily enhance
......@@ -45,7 +45,7 @@ void HLCmdLineApp::printVersionInfo()
{
cout << "\n highlight version "
<< HIGHLIGHT_VERSION
<< "\n Copyright (C) 2002-2018 Andre Simon <andre.simon1 at gmx.de>"
<< "\n Copyright (C) 2002-2019 Andre Simon <a dot simon at mailbox.org>"
<< "\n\n Argparser class"
<< "\n Copyright (C) 2006-2008 Antonio Diaz Diaz <ant_diaz at teleline.es>"
<< "\n\n Artistic Style Classes (3.1)"
......