This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LiftRules.statelessRewrite.append { | |
case RewriteRequest(ParsePath(path, "pdf", _, _), _, _) => // match /*.pdf | |
RewriteResponse("history" :: Nil) // Use webapp/history.html | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/scala/scala/tools/colladoc/model/mapper/User.scala | |
=================================================================== | |
--- src/main/scala/scala/tools/colladoc/model/mapper/User.scala (revision 0b95b1d340a4c9660fd027a0e3c6ccf7143c2596) | |
+++ src/main/scala/scala/tools/colladoc/model/mapper/User.scala (revision ) | |
@@ -32,6 +32,7 @@ | |
import js.JE.ValById | |
import net.liftweb.util.Helpers._ | |
import xml.Text | |
+import lib.DependencyFactory | |
import lib.js.JqUI.ReloadTable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Set value to mbr.comment from mbr.tag() */ | |
private def setCurrent(mbr: MemberEntity, isSelf: Boolean) = { | |
def doo(mbr: MemberEntity, isSelf: Boolean)() = { | |
println(mbr.tag()) | |
val value = mbr.tag() match { | |
case c: Comment => c.comment.is | |
case s: String => s | |
case _ => "None" | |
} | |
println(value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/scala/scala/tools/colladoc/api/ExportService.scala | |
=================================================================== | |
--- src/main/scala/scala/tools/colladoc/api/ExportService.scala (revision 3d8cdc01d382129af82be095e5712ac00d25d86b) | |
+++ src/main/scala/scala/tools/colladoc/api/ExportService.scala (revision ) | |
@@ -89,20 +89,24 @@ | |
protected def processTemplate(tpl: DocTemplateEntity): NodeSeq = | |
<xml:group> | |
- { if (tpl.comment.get.isUpdated) { | |
+ { tpl.comment match { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default properties | |
-doc-title=Colladoc | |
-doc-version=1.0-SNAPSHOT | |
-sourcepath=/var/lib/tomcat6/colladoc.demo/src | |
-classpath=/var/lib/tomcat6/scala/scala-compiler.jar:/var/lib/tomcat6/scala/scala-library.jar | |
db.driver=org.postgresql.Driver | |
db.url=jdbc:postgresql:colladoc | |
db.user=postgres | |
db.password=password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/scala/scala/tools/colladoc/model/SearchIndex.scala | |
=================================================================== | |
--- src/main/scala/scala/tools/colladoc/model/SearchIndex.scala (revision d3c359a46cd9902396ec8e3e740edca110137e83) | |
+++ src/main/scala/scala/tools/colladoc/model/SearchIndex.scala (revision ) | |
@@ -179,12 +179,23 @@ | |
// We could be dealing with a huge list here so it's important that we cons | |
// as efficiently as possible. | |
var remainingMembers = members.tail | |
- additionalMembers.foreach((m)=> { | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: build.sbt | |
=================================================================== | |
--- build.sbt (revision d3c359a46cd9902396ec8e3e740edca110137e83) | |
+++ build.sbt (revision ) | |
@@ -29,11 +29,12 @@ | |
"org.jmock" % "jmock-legacy" %"2.5.1" % "test->default", | |
"cglib" % "cglib" %"2.1_3" % "test->default", | |
"org.objenesis" % "objenesis" %"1.0" % "test->default", | |
- "org.scala-tools.testing" % "specs_2.8.1" % "1.6.6" % "test->default", | |
"org.seleniumhq.selenium" % "selenium-firefox-driver" % "2.5.0" % "test->default", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: support/org/intellij/grammar/refactor/BnfIntroduceRuleHandler.java | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP | |
<+>/*\n * Copyright 2011-2011 Gregory Shrago\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.intellij.grammar.refactor;\n\nimport com.intellij.openapi.actionSystem.DataContext;\nimport com.intellij.openapi.application.ApplicationManager;\nimport c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2012 Sergey Ignatov | |
* | |
* 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 |
OlderNewer