1 | 1 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * apt_sources.php |
4 | | | * ---------- |
5 | | | * Author: Milian Wolff (mail@milianw.de) |
6 | | | * Copyright: (c) 2008 Milian Wolff (http://milianw.de) |
7 | 3 | simandl | * Release Version: 1.0.8.3 |
8 | 1 | simandl | * Date Started: 2008/06/17 |
9 | | | * |
10 | | | * Apt sources.list language file for GeSHi. |
11 | | | * |
12 | | | * CHANGES |
13 | | | * ------- |
14 | | | * 2008/06/17 (1.0.8) |
15 | | | * - Initial import |
16 | | | * |
17 | | | ************************************************************************************* |
18 | | | * |
19 | | | * This file is part of GeSHi. |
20 | | | * |
21 | | | * GeSHi is free software; you can redistribute it and/or modify |
22 | | | * it under the terms of the GNU General Public License as published by |
23 | | | * the Free Software Foundation; either version 2 of the License, or |
24 | | | * (at your option) any later version. |
25 | | | * |
26 | | | * GeSHi is distributed in the hope that it will be useful, |
27 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
28 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
29 | | | * GNU General Public License for more details. |
30 | | | * |
31 | | | * You should have received a copy of the GNU General Public License |
32 | | | * along with GeSHi; if not, write to the Free Software |
33 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
34 | | | * |
35 | | | ************************************************************************************/ |
36 | | | |
37 | | | $language_data = array ( |
38 | | | 'LANG_NAME' => 'Apt sources', |
39 | | | 'COMMENT_SINGLE' => array(1 => '#'), |
40 | | | 'COMMENT_MULTI' => array(), |
41 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
42 | | | 'QUOTEMARKS' => array(), |
43 | | | 'ESCAPE_CHAR' => '\\', |
44 | | | 'KEYWORDS' => array( |
45 | | | /*keywords*/ |
46 | | | 1 => array( |
47 | | | 'deb-src', 'deb' |
48 | | | ), |
49 | | | 2 => array( |
50 | | | //Generic |
51 | | | 'stable', 'old-stable', 'testing', 'testing-proposed-updates', |
52 | | | 'unstable', 'unstable-proposed-updates', 'experimental', |
53 | | | 'non-US', 'security', 'volatile', 'volatile-sloppy', |
54 | | | 'apt-build', |
55 | | | 'stable/updates', |
56 | | | //Debian |
57 | | | 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge', |
58 | | | 'etch', 'lenny', 'sid', |
59 | | | //Ubuntu |
60 | | | 'warty', 'warty-updates', 'warty-security', 'warty-proposed', 'warty-backports', |
61 | | | 'hoary', 'hoary-updates', 'hoary-security', 'hoary-proposed', 'hoary-backports', |
62 | | | 'breezy', 'breezy-updates', 'breezy-security', 'breezy-proposed', 'breezy-backports', |
63 | | | 'dapper', 'dapper-updates', 'dapper-security', 'dapper-proposed', 'dapper-backports', |
64 | | | 'edgy', 'edgy-updates', 'edgy-security', 'edgy-proposed', 'edgy-backports', |
65 | | | 'feisty', 'feisty-updates', 'feisty-security', 'feisty-proposed', 'feisty-backports', |
66 | | | 'gutsy', 'gutsy-updates', 'gutsy-security', 'gutsy-proposed', 'gutsy-backports', |
67 | | | 'hardy', 'hardy-updates', 'hardy-security', 'hardy-proposed', 'hardy-backports', |
68 | | | 'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports' |
69 | | | ), |
70 | | | 3 => array( |
71 | | | 'main', 'restricted', 'preview', 'contrib', 'non-free', |
72 | | | 'commercial', 'universe', 'multiverse' |
73 | | | ) |
74 | | | ), |
75 | | | 'REGEXPS' => array( |
76 | | | |
77 | | | ), |
78 | | | 'SYMBOLS' => array( |
79 | | | ), |
80 | | | 'CASE_SENSITIVE' => array( |
81 | | | GESHI_COMMENTS => false, |
82 | | | 1 => false, |
83 | | | 2 => true, |
84 | | | 3 => true |
85 | | | ), |
86 | | | 'STYLES' => array( |
87 | | | 'KEYWORDS' => array( |
88 | | | 1 => 'color: #00007f;', |
89 | | | 2 => 'color: #b1b100;', |
90 | | | 3 => 'color: #b16000;' |
91 | | | ), |
92 | | | 'COMMENTS' => array( |
93 | | | 1 => 'color: #adadad; font-style: italic;', |
94 | | | ), |
95 | | | 'ESCAPE_CHAR' => array( |
96 | | | ), |
97 | | | 'BRACKETS' => array( |
98 | | | ), |
99 | | | 'STRINGS' => array( |
100 | | | ), |
101 | | | 'NUMBERS' => array( |
102 | | | ), |
103 | | | 'METHODS' => array( |
104 | | | ), |
105 | | | 'SYMBOLS' => array( |
106 | | | ), |
107 | | | 'REGEXPS' => array( |
108 | | | |
109 | | | ), |
110 | | | 'SCRIPT' => array( |
111 | | | ) |
112 | | | ), |
113 | | | 'URLS' => array( |
114 | | | 1 => '', |
115 | | | 2 => '', |
116 | | | 3 => '' |
117 | | | ), |
118 | | | 'OOLANG' => false, |
119 | | | 'OBJECT_SPLITTERS' => array( |
120 | | | ), |
121 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
122 | | | 'SCRIPT_DELIMITERS' => array( |
123 | | | ), |
124 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
125 | | | ), |
126 | | | 'PARSER_CONTROL' => array( |
127 | | | 'ENABLE_FLAGS' => array( |
128 | | | 'NUMBERS' => GESHI_NEVER, |
129 | | | 'METHODS' => GESHI_NEVER, |
130 | | | 'SCRIPT' => GESHI_NEVER, |
131 | | | 'SYMBOLS' => GESHI_NEVER, |
132 | | | 'ESCAPE_CHAR' => GESHI_NEVER, |
133 | | | 'BRACKETS' => GESHI_NEVER, |
134 | | | 'STRINGS' => GESHI_NEVER, |
135 | | | ), |
136 | | | 'KEYWORDS' => array( |
137 | | | 'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#;>|^\/])', |
138 | | | 'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-&\.])' |
139 | | | ) |
140 | | | ), |
141 | | | 'TAB_WIDTH' => 4 |
142 | | | ); |
143 | | | |
144 | | | ?> |