aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/apply-macro/pom.xml16
-rw-r--r--modules/apply-macro/src/main/clojure/clojure/contrib/apply_macro.clj45
-rw-r--r--modules/command-line/pom.xml5
-rw-r--r--modules/command-line/src/main/clojure/clojure/contrib/command_line.clj2
-rw-r--r--modules/complete/pom.xml87
-rw-r--r--modules/complete/src/main/assemblies/bin.xml17
-rw-r--r--modules/condition/pom.xml19
-rw-r--r--modules/datalog/pom.xml5
-rw-r--r--modules/datalog/src/main/clojure/clojure/contrib/datalog/literals.clj3
-rw-r--r--modules/datalog/src/main/clojure/clojure/contrib/datalog/rules.clj3
-rw-r--r--modules/datalog/src/test/clojure/clojure/contrib/datalog/tests/test_softstrat.clj2
-rw-r--r--modules/duck-streams/pom.xml16
-rw-r--r--modules/duck-streams/src/main/clojure/clojure/contrib/duck_streams.clj418
-rw-r--r--modules/fnmap/pom.xml21
-rw-r--r--modules/gen-html-docs/pom.xml14
-rw-r--r--modules/gen-html-docs/src/main/clojure/clojure/contrib/gen_html_docs.clj28
-rw-r--r--modules/http-agent/pom.xml26
-rw-r--r--modules/http-agent/src/main/clojure/clojure/contrib/http/agent.clj386
-rw-r--r--modules/http-connection/pom.xml21
-rw-r--r--modules/http-connection/src/main/clojure/clojure/contrib/http/connection.clj62
-rw-r--r--modules/io/pom.xml16
-rw-r--r--modules/io/src/main/clojure/clojure/contrib/io.clj564
-rw-r--r--modules/io/src/test/clojure/clojure/contrib/test_io.clj96
-rw-r--r--modules/java-utils/pom.xml16
-rw-r--r--modules/java-utils/src/main/clojure/clojure/contrib/java_utils.clj219
-rw-r--r--modules/javadoc/pom.xml26
-rw-r--r--modules/javadoc/src/main/clojure/clojure/contrib/javadoc.clj4
-rw-r--r--modules/javadoc/src/main/clojure/clojure/contrib/javadoc/browse.clj51
-rw-r--r--modules/javadoc/src/main/clojure/clojure/contrib/javadoc/browse_ui.clj31
-rw-r--r--modules/jmx/pom.xml22
-rw-r--r--modules/jmx/src/main/clojure/clojure/contrib/jmx.clj7
-rw-r--r--modules/json/pom.xml10
-rw-r--r--modules/json/src/main/clojure/clojure/contrib/json.clj9
-rw-r--r--modules/miglayout/pom.xml5
-rw-r--r--modules/miglayout/src/main/clojure/clojure/contrib/miglayout/internal.clj9
-rw-r--r--modules/mock/src/main/clojure/clojure/contrib/mock.clj561
-rw-r--r--modules/mock/src/main/clojure/clojure/contrib/mock/test_adapter.clj40
-rw-r--r--modules/mock/src/test/clojure/clojure/contrib/mock/test_adapter.clj52
-rw-r--r--modules/monadic-io-streams/src/main/clojure/clojure/contrib/monadic_io_streams.clj8
-rw-r--r--modules/parent/pom.xml7
-rw-r--r--modules/pprint/pom.xml14
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint.clj43
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/cl_format.clj1844
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/column_writer.clj80
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/dispatch.clj447
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/pprint_base.clj342
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/pretty_writer.clj488
-rw-r--r--modules/pprint/src/main/clojure/clojure/contrib/pprint/utilities.clj104
-rw-r--r--modules/pprint/src/test/clojure/clojure/contrib/pprint/test_cl_format.clj691
-rw-r--r--modules/pprint/src/test/clojure/clojure/contrib/pprint/test_helper.clj21
-rw-r--r--modules/pprint/src/test/clojure/clojure/contrib/pprint/test_pretty.clj127
-rw-r--r--modules/properties/pom.xml26
-rw-r--r--modules/properties/src/main/clojure/clojure/contrib/properties.clj77
-rw-r--r--modules/properties/src/test/clojure/clojure/contrib/test_properties.clj63
-rw-r--r--modules/prxml/pom.xml5
-rw-r--r--modules/prxml/src/main/clojure/clojure/contrib/prxml.clj18
-rw-r--r--modules/repl-ln/pom.xml19
-rw-r--r--modules/repl-utils/pom.xml10
-rw-r--r--modules/repl-utils/src/main/clojure/clojure/contrib/repl_utils.clj80
-rw-r--r--modules/repl-utils/src/test/clojure/clojure/contrib/test_repl_utils.clj20
-rw-r--r--modules/seq-utils/pom.xml16
-rw-r--r--modules/seq-utils/src/main/clojure/clojure/contrib/seq_utils.clj244
-rw-r--r--modules/seq/src/main/clojure/clojure/contrib/seq.clj104
-rw-r--r--modules/seq/src/test/clojure/clojure/contrib/test_seq.clj92
-rw-r--r--modules/set/src/main/clojure/clojure/contrib/set.clj16
-rw-r--r--modules/shell-out/pom.xml16
-rw-r--r--modules/shell-out/src/main/clojure/clojure/contrib/shell_out.clj149
-rw-r--r--modules/shell/pom.xml16
-rw-r--r--modules/shell/src/main/clojure/clojure/contrib/shell.clj149
-rw-r--r--modules/shell/src/test/clojure/clojure/contrib/test_shell.clj41
-rw-r--r--modules/sql/pom.xml10
-rw-r--r--modules/sql/src/main/clojure/clojure/contrib/sql.clj10
-rw-r--r--modules/sql/src/main/clojure/clojure/contrib/sql/internal.clj19
-rw-r--r--modules/str-utils/pom.xml16
-rw-r--r--modules/str-utils/src/main/clojure/clojure/contrib/str_utils.clj103
-rw-r--r--modules/str-utils2/pom.xml16
-rw-r--r--modules/str-utils2/src/main/clojure/clojure/contrib/str_utils2.clj376
-rw-r--r--modules/string/pom.xml16
-rw-r--r--modules/string/src/main/clojure/clojure/contrib/string.clj382
-rw-r--r--modules/string/src/test/clojure/clojure/contrib/test_string.clj124
-rw-r--r--modules/test-is/pom.xml16
-rw-r--r--modules/test-is/src/main/clojure/clojure/contrib/test_is.clj119
82 files changed, 537 insertions, 8981 deletions
diff --git a/modules/apply-macro/pom.xml b/modules/apply-macro/pom.xml
deleted file mode 100644
index 23048791..00000000
--- a/modules/apply-macro/pom.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
- http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>parent</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <artifactId>apply-macro</artifactId>
- <dependencies>
- </dependencies>
-</project> \ No newline at end of file
diff --git a/modules/apply-macro/src/main/clojure/clojure/contrib/apply_macro.clj b/modules/apply-macro/src/main/clojure/clojure/contrib/apply_macro.clj
deleted file mode 100644
index 9df85407..00000000
--- a/modules/apply-macro/src/main/clojure/clojure/contrib/apply_macro.clj
+++ /dev/null
@@ -1,45 +0,0 @@
-;;; apply_macro.clj: make macros behave like functions
-
-;; by Stuart Sierra, http://stuartsierra.com/
-;; January 28, 2009
-
-;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use
-;; and distribution terms for this software are covered by the Eclipse
-;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
-;; which can be found in the file epl-v10.html at the root of this
-;; distribution. By using this software in any fashion, you are
-;; agreeing to be bound by the terms of this license. You must not
-;; remove this notice, or any other, from this software.
-
-
-;; Don't use this. I mean it. It's evil. How evil? You can't
-;; handle it, that's how evil it is. That's right. I did it so you
-;; don't have to, ok? Look but don't touch. Use this lib and you'll
-;; go blind.
-
-;; DEPRECATED in 1.2 with no replacement.
-
-(ns ^{:deprecated "1.2"}
- clojure.contrib.apply-macro)
-
-;; Copied from clojure.core/spread, which is private.
-(defn- spread
- "Flatten final argument list as in apply."
- [arglist]
- (cond
- (nil? arglist) nil
- (nil? (rest arglist)) (seq (first arglist))
- :else (cons (first arglist) (spread (rest arglist)))))
-
-(defmacro apply-macro
- "This is evil. Don't ever use it. It makes a macro behave like a
- function. Seriously, how messed up is that?
-
- Evaluates all args, then uses them as arguments to the macro as with
- apply.
-
- (def things [true true false])
- (apply-macro and things)
- ;; Expands to: (and true true false)"
- [macro & args]
- (cons macro (spread (map eval args))))
diff --git a/modules/command-line/pom.xml b/modules/command-line/pom.xml
index 8e2e01c9..224311a8 100644
--- a/modules/command-line/pom.xml
+++ b/modules/command-line/pom.xml
@@ -12,10 +12,5 @@
</parent>
<artifactId>command-line</artifactId>
<dependencies>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>string</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
</dependencies>
</project> \ No newline at end of file
diff --git a/modules/command-line/src/main/clojure/clojure/contrib/command_line.clj b/modules/command-line/src/main/clojure/clojure/contrib/command_line.clj
index 47ee7849..6399c4fc 100644
--- a/modules/command-line/src/main/clojure/clojure/contrib/command_line.clj
+++ b/modules/command-line/src/main/clojure/clojure/contrib/command_line.clj
@@ -12,7 +12,7 @@
^{:author "Chris Houser",
:doc "Process command-line arguments according to a given cmdspec"}
clojure.contrib.command-line
- (:use (clojure.contrib [string :only (join)])))
+ (:use (clojure [string :only (join)])))
(defn make-map [args cmdspec]
(let [{spec true [rest-sym] false} (group-by vector? cmdspec)
diff --git a/modules/complete/pom.xml b/modules/complete/pom.xml
index d0eedfe0..fb6cd1c1 100644
--- a/modules/complete/pom.xml
+++ b/modules/complete/pom.xml
@@ -11,15 +11,16 @@
<relativePath>../parent</relativePath>
</parent>
<artifactId>complete</artifactId>
+ <packaging>pom</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
+ <descriptors>
+ <descriptor>src/main/assemblies/bin.xml</descriptor>
+ </descriptors>
</configuration>
<executions>
<execution>
@@ -46,11 +47,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>apply-macro</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>base64</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -106,11 +102,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>duck-streams</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>error-kit</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -156,41 +147,16 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>http-agent</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>http-connection</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>import-static</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>io</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>jar</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>java-utils</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>javadoc</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>jmx</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -266,11 +232,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>pprint</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>priority-map</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -286,11 +247,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>properties</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>prxml</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -316,11 +272,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>seq-utils</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>server-socket</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -331,16 +282,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>shell</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>shell-out</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>singleton</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -351,26 +292,11 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>str-utils</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
- <artifactId>str-utils2</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>stream-utils</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>string</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>strint</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
@@ -381,11 +307,6 @@
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
- <artifactId>test-is</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.clojure.contrib</groupId>
<artifactId>trace</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
diff --git a/modules/complete/src/main/assemblies/bin.xml b/modules/complete/src/main/assemblies/bin.xml
new file mode 100644
index 00000000..607ac863
--- /dev/null
+++ b/modules/complete/src/main/assemblies/bin.xml
@@ -0,0 +1,17 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>bin</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <dependencySets>
+ <dependencySet>
+ <unpack>true</unpack>
+ <excludes>
+ <exclude>org.clojure:clojure</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets>
+</assembly> \ No newline at end of file
diff --git a/modules/condition/pom.xml b/modules/condition/pom.xml
index 53113fc7..0e2062c4 100644
--- a/modules/condition/pom.xml
+++ b/modules/condition/pom.xml
@@ -12,6 +12,12 @@
</parent>
<artifactId>condition</artifactId>
<dependencies>
+ <!-- AOT-compilation necessitates a specific Clojure dependency. -->
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ <version>1.2.0</version>
+ </dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
<artifactId>def</artifactId>
@@ -23,4 +29,17 @@
<version>1.3.0-SNAPSHOT</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.theoryinpractise</groupId>
+ <artifactId>clojure-maven-plugin</artifactId>
+ <configuration>
+ <namespaces>
+ <namespace>clojure\.contrib\.condition\.Condition</namespace>
+ </namespaces>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project> \ No newline at end of file
diff --git a/modules/datalog/pom.xml b/modules/datalog/pom.xml
index 90d5fbf7..8de72c0d 100644
--- a/modules/datalog/pom.xml
+++ b/