ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
apt_sources.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * apt_sources.php
4  * ----------
5  * Author: Milian Wolff (mail@milianw.de)
6  * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
7  * Release Version: 1.0.8.12
8  * 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 
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', 'wheezy', 'jessie', '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  'jaunty', 'jaunty-updates', 'jaunty-security', 'jaunty-proposed', 'jaunty-backports',
70  'karmic', 'karmic-updates', 'karmic-security', 'karmic-proposed', 'karmic-backports',
71  'lucid', 'lucid-updates', 'lucid-security', 'lucid-proposed', 'lucid-backports',
72  'maverick', 'maverick-updates', 'maverick-security', 'maverick-proposed', 'maverick-backports',
73  'natty', 'natty-updates', 'natty-security', 'natty-proposed', 'natty-backports',
74  'oneiric', 'oneiric-updates', 'oneiric-security', 'oneiric-proposed', 'oneiric-backports',
75  'precise', 'precise-updates', 'precise-security', 'precise-proposed', 'precise-backports',
76  'quantal', 'quantal-updates', 'quantal-security', 'quantal-proposed', 'quantal-backports',
77  'raring', 'raring-updates', 'raring-security', 'raring-proposed', 'raring-backports',
78  'saucy', 'saucy-updates', 'saucy-security', 'saucy-proposed', 'saucy-backports',
79  'trusty', 'trusty-updates', 'trusty-security', 'trusty-proposed', 'trusty-backports'
80  ),
81  3 => array(
82  'main', 'restricted', 'preview', 'contrib', 'non-free',
83  'commercial', 'universe', 'multiverse'
84  )
85  ),
86  'REGEXPS' => array(
87  0 => "(((http|ftp):\/\/|file:\/)[^\s]+)|(cdrom:\[[^\]]*\][^\s]*)",
88  ),
89  'SYMBOLS' => array(
90  ),
91  'CASE_SENSITIVE' => array(
92  GESHI_COMMENTS => false,
93  1 => false,
94  2 => true,
95  3 => true
96  ),
97  'STYLES' => array(
98  'KEYWORDS' => array(
99  1 => 'color: #00007f;',
100  2 => 'color: #b1b100;',
101  3 => 'color: #b16000;'
102  ),
103  'COMMENTS' => array(
104  1 => 'color: #adadad; font-style: italic;',
105  ),
106  'ESCAPE_CHAR' => array(
107  ),
108  'BRACKETS' => array(
109  ),
110  'STRINGS' => array(
111  ),
112  'NUMBERS' => array(
113  ),
114  'METHODS' => array(
115  ),
116  'SYMBOLS' => array(
117  ),
118  'REGEXPS' => array(
119  0 => 'color: #009900;',
120  ),
121  'SCRIPT' => array(
122  )
123  ),
124  'URLS' => array(
125  1 => '',
126  2 => '',
127  3 => ''
128  ),
129  'OOLANG' => false,
130  'OBJECT_SPLITTERS' => array(
131  ),
132  'STRICT_MODE_APPLIES' => GESHI_NEVER,
133  'SCRIPT_DELIMITERS' => array(
134  ),
135  'HIGHLIGHT_STRICT_BLOCK' => array(
136  ),
137  'PARSER_CONTROL' => array(
138  'ENABLE_FLAGS' => array(
139  'NUMBERS' => GESHI_NEVER,
140  'METHODS' => GESHI_NEVER,
141  'SCRIPT' => GESHI_NEVER,
142  'SYMBOLS' => GESHI_NEVER,
143  'ESCAPE_CHAR' => GESHI_NEVER,
144  'BRACKETS' => GESHI_NEVER,
145  'STRINGS' => GESHI_NEVER,
146  ),
147  'KEYWORDS' => array(
148  'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#;>|^\/])',
149  'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-&\.])'
150  )
151  ),
152  'TAB_WIDTH' => 4
153 );
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:150
Create styles array
The data for the language used.
const GESHI_NEVER
#+ private
Definition: geshi.php:124
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:95
$language_data
Definition: apt_sources.php:37