53f13f97ad
Update prettify.js
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828843 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 18:29:58 +00:00
50cb9264da
On the trunk:
...
removing leftovers of SSLPolicyDefine from docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828238 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 13:39:27 +00:00
7167e7c77c
docs: update the prettify.js files with new directives
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821120 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 22:34:39 +00:00
c78025d2b5
prettify.js: add highlight for MDRequireHttps
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808453 13f79535-47bb-0310-9956-ffa450edef68
2017-09-15 12:09:58 +00:00
b3945e5e1a
docs: allow Directive/<Directive> naming in prettify.js/css
...
Creditis to Humbedooh for all the work.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808224 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 09:54:37 +00:00
5bce17e0a0
docs: add ManagedDomain and SSLPolicy containers to prettify.js
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808204 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 07:54:28 +00:00
169929b0c0
docs: update the prettify.js files with new directives
...
Procedure that I've used:
1) Copy https://httpd.apache.org/docs/trunk/mod/directives.html
to a text file.
2) Generate a csv with something like
cat /tmp/trunk_directives | sort | tr "\n" ","
3) Replace the content of CONFIG_KEYWORDS in prettify.js
with the list generated in 2)
4) Run the command the MINIFY command to generate prettify.min.js
This commit should hopefully allow a better syntax highlighting
in our docs examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808203 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 07:28:57 +00:00
4472521195
Remove a superfluous \b after 'Proxy'
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776969 13f79535-47bb-0310-9956-ffa450edef68
2017-01-02 17:55:19 +00:00
267eedd0a3
add minified prettify script version
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563733 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 22:19:44 +00:00
49f3679ef5
remove trailing comma, avoiding syntax errors in older browsers - and chm
...
viewers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563730 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 22:09:55 +00:00
15a3b66b20
Update syntax highlighter to match mod_macro definitions
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1436362 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 14:18:12 +00:00
58e7c2a350
Add new directives, LuaInputFilter/LuaOutputFilter for creating content filters using Lua.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1377475 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 18:39:58 +00:00
2ca68b5fec
Add printf as a known function in Perl.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361158 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 11:15:45 +00:00
1c530de1dd
Add 'require' as a keyword for Lua scripts
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1355935 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 15:35:14 +00:00
a5cf70477f
Add LuaAuthzProvider as a valid Directive.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1355924 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 15:16:29 +00:00
5b0d8e31f4
Fix up some examples and make the Options arguments case-insensitive when highlighting.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1337880 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 13:48:45 +00:00
33a0019ace
Remove AuthzProviderAlias from the regular list of directives, so it doesn't clash with the section directives list.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336428 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 22:12:32 +00:00
2836ae3a79
Add AuthzProviderAlias/AuthnProviderAlias as section directives
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336421 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 22:00:21 +00:00
8858c68e45
Make server variables (like %{REMOTE_ADDR}) stand out more.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335760 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 20:55:38 +00:00
0eff5187c4
Add PHP as a possible highlighted language if needed.
...
Fix up the lexer so that when httpdComments is true, httpd style comments are not parsed as such unless the hash character is at the beginning of a line (disregarding spaces)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1332544 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 07:19:25 +00:00
205dba926e
Allow the lexer loop to run a little longer.
...
Recognize "else" as a Perl keyword (d'uh)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331836 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:20:01 +00:00
f7eafd4015
Add AuthConfig as a valid Options argument
...
Treat "foo-bar" as plain text, regardless of whether "foo" or "bar" alone is a keyword.
Treat foo_module as a valid LoadModule argument
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331717 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 09:02:40 +00:00
f2e170140a
Stop being case-insensitive with section directives. This fixes the highlighting issue with mod_proxy and others, although a longer lasting solution might have to be worked on.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331688 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 05:40:20 +00:00
df33bf7282
Add IfVersion as a known section directive, change the css for literals and identify Options arguments as literals
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331530 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 18:23:10 +00:00
1513f8d80b
Add AuthzProviderAlias as a valid section directive
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331290 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 08:16:23 +00:00
1036562689
add a boundary check to type highlighting in C
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331260 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 07:17:08 +00:00
1ae3e9d127
Update keywords for shell scripts
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331235 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 06:15:12 +00:00
c23909315f
Prevent infinite looping in case of borked spans or code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330992 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:49:39 +00:00
f19a613269
Accept AuthLDAPUrl as a keyword
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330931 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 16:30:27 +00:00
1c5fbceb62
Allow for multiple newlines to be ignored at start and finish
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330875 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 14:36:40 +00:00
0fbe07f716
Remove trailing and leading newlines and spaces caused by xml formatting styles
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330665 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 06:09:31 +00:00
c02a1b0b91
Recognize IPv6 addresses as literals, update comment colors so they don't clash with section directives.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330363 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:51:31 +00:00
b6058ee9e2
Recognize Require(Any|All|None) as enclosure
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330278 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 13:30:48 +00:00
4c7a210dd8
Make the lexer only highlight enclosures in config syntax if they are whole words, and update to also recognize FilesMatch, LocationMatch, Limit etc.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330241 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 12:33:44 +00:00
6246448a94
Update CSS.
...
Add recognition of Directory, Location, VirtualHost, If/Else and Proxy as enclosures in httpd configurations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330161 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 08:52:43 +00:00
e2c5c42f1d
Identify Apache specific functions and constants in C.
...
Treat true and false as boolean types (not keywords) in Lua.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330154 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 08:33:31 +00:00
3128e82e2e
nil in Lua should be a type, not a keyword in highlighting
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330143 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 07:54:47 +00:00
cef9d59899
Add Lua syntax support
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330136 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 07:32:06 +00:00
e1cd63ab9c
Recognize NULL as a number
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330132 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 06:49:02 +00:00
77d28d5d65
Separate config and c source styles a bit, set up proper distinction between types and keywords
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330128 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 06:36:47 +00:00
d9018f8b16
Support for config highlighting (if anyone ever dares to do so)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330005 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 20:49:41 +00:00
c6e64daa65
Deleting the GPL versioned highlighter
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329836 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:35:32 +00:00
c693d92b97
Adding another syntax highlighting test subject (this time it's ASL, yay)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329816 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:06:52 +00:00
06f3ceac08
Initial add of files for syntax highlighting tests
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329740 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 14:17:10 +00:00