KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
5.2KB

  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.11
  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. $language_data = array (
  37. 'LANG_NAME' => 'Apt sources',
  38. 'COMMENT_SINGLE' => array(1 => '#'),
  39. 'COMMENT_MULTI' => array(),
  40. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  41. 'QUOTEMARKS' => array(),
  42. 'ESCAPE_CHAR' => '\\',
  43. 'KEYWORDS' => array(
  44. /*keywords*/
  45. 1 => array(
  46. 'deb-src', 'deb'
  47. ),
  48. 2 => array(
  49. //Generic
  50. 'stable', 'old-stable', 'testing', 'testing-proposed-updates',
  51. 'unstable', 'unstable-proposed-updates', 'experimental',
  52. 'non-US', 'security', 'volatile', 'volatile-sloppy',
  53. 'apt-build',
  54. 'stable/updates',
  55. //Debian
  56. 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge',
  57. 'etch', 'lenny', 'wheezy', 'sid',
  58. //Ubuntu
  59. 'warty', 'warty-updates', 'warty-security', 'warty-proposed', 'warty-backports',
  60. 'hoary', 'hoary-updates', 'hoary-security', 'hoary-proposed', 'hoary-backports',
  61. 'breezy', 'breezy-updates', 'breezy-security', 'breezy-proposed', 'breezy-backports',
  62. 'dapper', 'dapper-updates', 'dapper-security', 'dapper-proposed', 'dapper-backports',
  63. 'edgy', 'edgy-updates', 'edgy-security', 'edgy-proposed', 'edgy-backports',
  64. 'feisty', 'feisty-updates', 'feisty-security', 'feisty-proposed', 'feisty-backports',
  65. 'gutsy', 'gutsy-updates', 'gutsy-security', 'gutsy-proposed', 'gutsy-backports',
  66. 'hardy', 'hardy-updates', 'hardy-security', 'hardy-proposed', 'hardy-backports',
  67. 'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports',
  68. 'jaunty', 'jaunty-updates', 'jaunty-security', 'jaunty-proposed', 'jaunty-backports',
  69. 'karmic', 'karmic-updates', 'karmic-security', 'karmic-proposed', 'karmic-backports',
  70. 'lucid', 'lucid-updates', 'lucid-security', 'lucid-proposed', 'lucid-backports',
  71. 'maverick', 'maverick-updates', 'maverick-security', 'maverick-proposed', 'maverick-backports'
  72. ),
  73. 3 => array(
  74. 'main', 'restricted', 'preview', 'contrib', 'non-free',
  75. 'commercial', 'universe', 'multiverse'
  76. )
  77. ),
  78. 'REGEXPS' => array(
  79. 0 => "(((http|ftp):\/\/|file:\/)[^\s]+)|(cdrom:\[[^\]]*\][^\s]*)",
  80. ),
  81. 'SYMBOLS' => array(
  82. ),
  83. 'CASE_SENSITIVE' => array(
  84. GESHI_COMMENTS => false,
  85. 1 => false,
  86. 2 => true,
  87. 3 => true
  88. ),
  89. 'STYLES' => array(
  90. 'KEYWORDS' => array(
  91. 1 => 'color: #00007f;',
  92. 2 => 'color: #b1b100;',
  93. 3 => 'color: #b16000;'
  94. ),
  95. 'COMMENTS' => array(
  96. 1 => 'color: #adadad; font-style: italic;',
  97. ),
  98. 'ESCAPE_CHAR' => array(
  99. ),
  100. 'BRACKETS' => array(
  101. ),
  102. 'STRINGS' => array(
  103. ),
  104. 'NUMBERS' => array(
  105. ),
  106. 'METHODS' => array(
  107. ),
  108. 'SYMBOLS' => array(
  109. ),
  110. 'REGEXPS' => array(
  111. 0 => 'color: #009900;',
  112. ),
  113. 'SCRIPT' => array(
  114. )
  115. ),
  116. 'URLS' => array(
  117. 1 => '',
  118. 2 => '',
  119. 3 => ''
  120. ),
  121. 'OOLANG' => false,
  122. 'OBJECT_SPLITTERS' => array(
  123. ),
  124. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  125. 'SCRIPT_DELIMITERS' => array(
  126. ),
  127. 'HIGHLIGHT_STRICT_BLOCK' => array(
  128. ),
  129. 'PARSER_CONTROL' => array(
  130. 'ENABLE_FLAGS' => array(
  131. 'NUMBERS' => GESHI_NEVER,
  132. 'METHODS' => GESHI_NEVER,
  133. 'SCRIPT' => GESHI_NEVER,
  134. 'SYMBOLS' => GESHI_NEVER,
  135. 'ESCAPE_CHAR' => GESHI_NEVER,
  136. 'BRACKETS' => GESHI_NEVER,
  137. 'STRINGS' => GESHI_NEVER,
  138. ),
  139. 'KEYWORDS' => array(
  140. 'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#;>|^\/])',
  141. 'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-&\.])'
  142. )
  143. ),
  144. 'TAB_WIDTH' => 4
  145. );
  146. ?>