+ *
+ * + * @author Hiram Chirino + */ +object Website { + + val project_name= "Jansi" + val project_slogan= "Eliminating boring console output." + val project_id= "jansi" + val project_jira_key= "JANSI" + val project_issue_url= "https://github.com/fusesource/jansi/issues" + val project_forums_url= "http://groups.google.com/group/jansi" + val project_wiki_url= "https://github.com/fusesource/jansi/wiki" + val project_logo= "/images/project-logo.png" + val project_version= "1.11" + val project_snapshot_version= "1.12-SNAPSHOT" + val project_versions = List( + project_version, + "1.11", + "1.10", + "1.9", + "1.8", + "1.6", + "1.5", + "1.4", + "1.3", + "1.2", + "1.1", + "1.0" + ) + + val project_keywords= "jansi,java,ansi,console,color" + + // ------------------------------------------------------------------- + val github_page= "http://github.com/fusesource/jansi" + val git_user_url= "git://github.com/fusesource/jansi.git" + val git_commiter_url= "git@github.com:fusesources/jansi.git" + + val project_maven_groupId= "org.fusesource.jansi" + val project_maven_artifactId= "jansi" + + val website_base_url= "http://jansi.fusesource.org" +} \ No newline at end of file diff --git a/.idea/libraries/jansi-jansi-project-1.11/jansi-website/ext/scalate/Boot.scala b/.idea/libraries/jansi-jansi-project-1.11/jansi-website/ext/scalate/Boot.scala new file mode 100644 index 0000000..79c9852 --- /dev/null +++ b/.idea/libraries/jansi-jansi-project-1.11/jansi-website/ext/scalate/Boot.scala @@ -0,0 +1,66 @@ +/** + * Copyright (C) 2009-2011 the original author or authors. + * See the notice.md file distributed with this work for additional + * information regarding copyright ownership. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package scalate + +import org.fusesource.scalate.util.Logging +import java.util.concurrent.atomic.AtomicBoolean +import _root_.Website._ +import org.fusesource.scalate._ +import org.fusesource.scalamd.{MacroDefinition, Markdown} +import java.util.regex.Matcher +import org.fusesource.scalate.wikitext.Pygmentize + +class Boot(engine: TemplateEngine) extends Logging { + + private var _initialised = new AtomicBoolean(false) + + def run: Unit = { + if (_initialised.compareAndSet(false, true)) { + + def filter(m:Matcher):String = { + val filter_name = m.group(1) + val body = m.group(2) + engine.filter(filter_name) match { + case Some(filter)=> + filter.filter(RenderContext(), body) + case None=> "filter not found: %s
%s
+
+
|
++ + | +|||||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+org.apache.* | +
---|
+ +
org.apache.commons.logging.LogFactory | +||
---|---|---|
+public static final String |
+DIAGNOSTICS_DEST_PROPERTY |
+"org.apache.commons.logging.diagnostics.dest" |
+
+public static final String |
+FACTORY_DEFAULT |
+"org.apache.commons.logging.impl.SLF4JLogFactory" |
+
+public static final String |
+FACTORY_PROPERTIES |
+"commons-logging.properties" |
+
+public static final String |
+FACTORY_PROPERTY |
+"org.apache.commons.logging.LogFactory" |
+
+public static final String |
+HASHTABLE_IMPLEMENTATION_PROPERTY |
+"org.apache.commons.logging.LogFactory.HashtableImpl" |
+
+public static final String |
+PRIORITY_KEY |
+"priority" |
+
+protected static final String |
+SERVICE_ID |
+"META-INF/services/org.apache.commons.logging.LogFactory" |
+
+public static final String |
+TCCL_KEY |
+"use_tccl" |
+
+ +
+ +
org.apache.commons.logging.impl.SimpleLog | +||
---|---|---|
+protected static final String |
+DEFAULT_DATE_TIME_FORMAT |
+"yyyy/MM/dd HH:mm:ss:SSS zzz" |
+
+public static final int |
+LOG_LEVEL_ALL |
+0 |
+
+public static final int |
+LOG_LEVEL_DEBUG |
+2 |
+
+public static final int |
+LOG_LEVEL_ERROR |
+5 |
+
+public static final int |
+LOG_LEVEL_FATAL |
+6 |
+
+public static final int |
+LOG_LEVEL_INFO |
+3 |
+
+public static final int |
+LOG_LEVEL_OFF |
+7 |
+
+public static final int |
+LOG_LEVEL_TRACE |
+1 |
+
+public static final int |
+LOG_LEVEL_WARN |
+4 |
+
+protected static final String |
+systemPrefix |
+"org.apache.commons.logging.simplelog." |
+
+ +
+ +
org.apache.commons.logging.impl.SLF4JLogFactory | +||
---|---|---|
+public static final String |
+LOG_PROPERTY |
+"org.apache.commons.logging.Log" |
+
+ +
+ +
org.apache.log4j.Level | +||
---|---|---|
+public static final int |
+TRACE_INT |
+5000 |
+
+public static final int |
+X_TRACE_INT |
+9900 |
+
+ +
+ +
org.apache.log4j.NDC | +||
---|---|---|
+public static final String |
+PREFIX |
+"NDC" |
+
+ +
+ +
org.apache.log4j.Priority | +||
---|---|---|
+public static final int |
+ALL_INT |
+-2147483648 |
+
+public static final int |
+DEBUG_INT |
+10000 |
+
+public static final int |
+ERROR_INT |
+40000 |
+
+public static final int |
+FATAL_INT |
+50000 |
+
+public static final int |
+INFO_INT |
+20000 |
+
+public static final int |
+OFF_INT |
+2147483647 |
+
+public static final int |
+WARN_INT |
+30000 |
+
+ +
+ +
org.apache.log4j.helpers.LogLog | +||
---|---|---|
+public static final String |
+CONFIG_DEBUG_KEY |
+"log4j.configDebug" |
+
+public static final String |
+DEBUG_KEY |
+"log4j.debug" |
+
+ +
+ +
org.apache.log4j.spi.Configurator | +||
---|---|---|
+public static final String |
+INHERITED |
+"inherited" |
+
+public static final String |
+NULL |
+"null" |
+
+ +
+org.slf4j.* | +
---|
+ +
org.slf4j.Logger | +||
---|---|---|
+public static final String |
+ROOT_LOGGER_NAME |
+"ROOT" |
+
+ +
+ +
org.slf4j.Marker | +||
---|---|---|
+public static final String |
+ANY_MARKER |
+"*" |
+
+public static final String |
+ANY_NON_NULL_MARKER |
+"+" |
+
+ +
+ +
org.slf4j.NDC | +||
---|---|---|
+public static final String |
+PREFIX |
+"NDC" |
+
+ +
+ +
org.slf4j.agent.AgentOptions | +||
---|---|---|
+public static final String |
+IGNORE |
+"ignore" |
+
+public static final String |
+LEVEL |
+"level" |
+
+public static final String |
+TIME |
+"time" |
+
+public static final String |
+VERBOSE |
+"verbose" |
+
+ +
+ +
org.slf4j.ext.EventData | +||
---|---|---|
+public static final String |
+EVENT_DATETIME |
+"EventDateTime" |
+
+public static final String |
+EVENT_ID |
+"EventId" |
+
+public static final String |
+EVENT_MESSAGE |
+"EventMessage" |
+
+public static final String |
+EVENT_TYPE |
+"EventType" |
+
+ +
+ +
org.slf4j.impl.SimpleLogger | +||
---|---|---|
+public static final String |
+DATE_TIME_FORMAT_KEY |
+"org.slf4j.simpleLogger.dateTimeFormat" |
+
+public static final String |
+DEFAULT_LOG_LEVEL_KEY |
+"org.slf4j.simpleLogger.defaultLogLevel" |
+
+public static final String |
+LEVEL_IN_BRACKETS_KEY |
+"org.slf4j.simpleLogger.levelInBrackets" |
+
+public static final String |
+LOG_FILE_KEY |
+"org.slf4j.simpleLogger.logFile" |
+
+public static final String |
+LOG_KEY_PREFIX |
+"org.slf4j.simpleLogger.log." |
+
+public static final String |
+SHOW_DATE_TIME_KEY |
+"org.slf4j.simpleLogger.showDateTime" |
+
+public static final String |
+SHOW_LOG_NAME_KEY |
+"org.slf4j.simpleLogger.showLogName" |
+
+public static final String |
+SHOW_SHORT_LOG_NAME_KEY |
+"org.slf4j.simpleLogger.showShortLogName" |
+
+public static final String |
+SHOW_THREAD_NAME_KEY |
+"org.slf4j.simpleLogger.showThreadName" |
+
+public static final String |
+SYSTEM_PREFIX |
+"org.slf4j.simpleLogger." |
+
+public static final String |
+WARN_LEVEL_STRING_KEY |
+"org.slf4j.simpleLogger.warnLevelString" |
+
+ +
+ +
org.slf4j.spi.LocationAwareLogger | +||
---|---|---|
+public static final int |
+DEBUG_INT |
+10 |
+
+public static final int |
+ERROR_INT |
+40 |
+
+public static final int |
+INFO_INT |
+20 |
+
+public static final int |
+TRACE_INT |
+0 |
+
+public static final int |
+WARN_INT |
+30 |
+
+ +
+
+
+
|
++ + | +|||||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +