Merge pull request #11 from sbt/wip/packagenames

Move util into sbt.util.internal package
This commit is contained in:
eugene yokota 2015-09-04 14:24:02 -04:00 committed by Dale Wijnand
commit dd6286044b
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
43 changed files with 60 additions and 46 deletions

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
import Classes.Applicative
import Types._

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._
import scala.reflect.Manifest

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
object Classes {
trait Applicative[M[_]] {

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2008, 2009, 2010 David MacIver, Mark Harrah
*/
package sbt;
package sbt.util.internal
trait Dag[Node <: Dag[Node]] {
self: Node =>

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
/** A mutable set interface that uses object identity to test for set membership.*/
trait IDSet[T] {

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
import java.lang.Runnable
import java.util.concurrent.{ atomic, Executor, LinkedBlockingQueue }

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
import Types._
import Classes.Applicative

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import collection.mutable

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
sealed trait SourcePosition

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2011 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
trait Show[T] {
def apply(t: T): String

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
trait ShowLines[A] {
def showLines(a: A): Seq[String]

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
object Signals {
val CONT = "CONT"

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
trait TypeFunctions {
type Id[X] = X

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
object Types extends Types

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2011 Mark Harrah
*/
package sbt
package sbt.util.internal
import java.util.Locale

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2008 Mark Harrah */
package sbt
package sbt.util.internal
import org.scalacheck._
import Prop._

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
import org.scalacheck._
import Prop._

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
import Types._

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
/** Define our settings system */

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
import org.scalacheck._
import Prop._

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2008, 2009 Mark Harrah
*/
package sbt
package sbt.util.internal
import jline.console.ConsoleReader
import jline.console.history.{ FileHistory, MemoryHistory }
@ -128,7 +128,7 @@ final class FullReader(historyPath: Option[File], complete: Parser[_], val handl
protected[this] val reader =
{
val cr = JLine.createReader(historyPath)
sbt.complete.JLineCompletion.installCustomCompletor(cr, complete)
sbt.util.internal.complete.JLineCompletion.installCustomCompletor(cr, complete)
cr
}
}

View File

@ -1,7 +1,8 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt.complete
package sbt.util.internal
package complete
/**
* Represents a set of completions.

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import java.lang.Character.{ toLowerCase => lower }

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import java.io.File
import sbt.io.IO

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
package complete
import History.number

View File

@ -1,7 +1,7 @@
/* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
package sbt.util.internal
package complete
import java.io.File

View File

@ -1,7 +1,8 @@
/* sbt -- Simple Build Tool
* Copyright 2011 Mark Harrah
*/
package sbt.complete
package sbt.util.internal
package complete
import jline.console.ConsoleReader
import jline.console.completer.{ CandidateListCompletionHandler, Completer, CompletionHandler }

View File

@ -1,11 +1,12 @@
/* sbt -- Simple Build Tool
* Copyright 2008, 2010, 2011 Mark Harrah
*/
package sbt.complete
package sbt.util.internal
package complete
import Parser._
import sbt.Types.{ left, right, some }
import sbt.Util.{ makeList, separate }
import sbt.util.internal.Types.{ left, right, some }
import sbt.util.internal.Util.{ makeList, separate }
/**
* A String parser that provides semi-automatic tab completion.

View File

@ -1,7 +1,8 @@
/* sbt -- Simple Build Tool
* Copyright 2011 Mark Harrah
*/
package sbt.complete
package sbt.util.internal
package complete
import Parser._
import java.io.File

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
object ProcessError {
def apply(command: String, msgs: Seq[String], index: Int): String =

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import Completion.{ token => ctoken, tokenDisplay }

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import DefaultParsers._
import TypeString._

View File

@ -1,7 +1,8 @@
/* sbt -- Simple Build Tool
* Copyright 2008,2010 Mark Harrah
*/
package sbt.complete
package sbt.util.internal
package complete
sealed trait UpperBound {
/** True if and only if the given value meets this bound.*/

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
object JLineTest {
import DefaultParsers._

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import org.specs2.mutable.Specification
import org.specs2.specification.Scope

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import org.specs2.mutable.Specification
import org.specs2.specification.Scope

View File

@ -1,4 +1,5 @@
package sbt.complete
package sbt.util.internal
package complete
import org.specs2.mutable.Specification
import org.specs2.specification.Scope

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
package logic
import scala.annotation.tailrec

View File

@ -1,4 +1,4 @@
package sbt
package sbt.util.internal
package logic
import org.scalacheck._