Skip to content

Commit 39c95e7

Browse files
author
Eugene Klyuvhnikov
committed
Rename project
1 parent f54634c commit 39c95e7

19 files changed

+37
-37
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
Shanga is a compression library programmed in Java.
1+
CafeUndZopfli is a compression library programmed in Java.
22

3-
Shanga is based on the Zopfli Compression Algorithm, see:
3+
CafeUndZopfli is based on the Zopfli Compression Algorithm, see:
44
https://code.google.com/p/zopfli/
55

6-
To compress data create a Shanga class instance and invoke Shanga.compress.
7-
Shanga.compress is synchronized. Shanga extensively preallocates memory to avoid
6+
To compress data create a Zopfli class instance and invoke Zopfli.compress.
7+
Zopfli.compress is synchronized. CafeUndZopfli extensively preallocates memory to avoid
88
in-flight GC. The amount of memory is about 48 times the master block size.
99

10-
Shanga.compress supports deflate, gzip and zlib output format with a parameter.
10+
Zopfli.compress supports deflate, gzip and zlib output format with a parameter.
1111

1212
This library can only compress, not decompress data. Use an existing zlib or deflate
13-
librariy to decompress the data.
13+
library to decompress the data.
1414

1515
The JAR contains the main class, and can be used as a standalone application.
1616

1717
To build the binary, use "ant".
1818

19-
Shanga was created by Eugene Klyuchnikov, based on the Zopfli Compression Algorithm
19+
CafeUndZopfli was created by Eugene Klyuchnikov, based on the Zopfli Compression Algorithm
2020
by Lode Vandevenne and Jyrki Alakuijala.

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
55
<!-- ====================================================================== -->
66

7-
<project name="shanga" default="all" basedir=".">
7+
<project name="zopfli" default="all" basedir=".">
88

99
<!-- ====================================================================== -->
1010
<!-- Import maven-build.xml into the current project -->

maven-build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
project.build.outputDirectory=${maven.build.outputDir}
44
project.build.directory=${maven.build.dir}
55
maven.test.reports=${maven.build.dir}/test-reports
6-
maven.build.finalName=shanga-1.0-SNAPSHOT
6+
maven.build.finalName=zopfli-1.0-SNAPSHOT
77
maven.reporting.outputDirectory=${maven.build.dir}/site
88
maven.build.testResourceDir.0=src/test/resources
99
maven.build.outputDir=${maven.build.dir}/classes

maven-build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<!-- -->
1616
<!-- ====================================================================== -->
1717

18-
<project name="shanga-from-maven" default="package" basedir=".">
18+
<project name="zopfli-from-maven" default="package" basedir=".">
1919

2020
<!-- ====================================================================== -->
2121
<!-- Build environment properties -->
@@ -24,7 +24,7 @@
2424
<property file="${user.home}/.m2/maven.properties"/>
2525
<property file="maven-build.properties"/>
2626

27-
<property name="maven.build.finalName" value="shanga-1.0-SNAPSHOT"/>
27+
<property name="maven.build.finalName" value="zopfli-1.0-SNAPSHOT"/>
2828
<property name="maven.build.dir" value="target"/>
2929
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
3030
<property name="maven.build.srcDir.0" value="src/main/java"/>
@@ -163,7 +163,7 @@
163163
excludes="**/package.html">
164164
<manifest>
165165
<attribute name="Main-Class"
166-
value="ru.eustas.shanga.Main"/>
166+
value="ru.eustas.zopfli.Main"/>
167167
</manifest>
168168
</jar>
169169
</target>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>ru.eustas</groupId>
6-
<artifactId>shanga</artifactId>
6+
<artifactId>zopfli</artifactId>
77
<version>1.0-SNAPSHOT</version>
88
<packaging>jar</packaging>
99

10-
<name>shanga</name>
10+
<name>zopli</name>
1111
<url>http://maven.apache.org</url>
1212

1313
<properties>
@@ -34,7 +34,7 @@
3434
<archive>
3535
<manifest>
3636
<addClasspath>false</addClasspath>
37-
<mainClass>ru.eustas.shanga.Main</mainClass>
37+
<mainClass>ru.eustas.zopfli.Main</mainClass>
3838
</manifest>
3939
<index>false</index>
4040
</archive>

src/main/java/ru/eustas/shanga/BlockSplitter.java renamed to src/main/java/ru/eustas/zopfli/BlockSplitter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Author: eustas.ru@gmail.com (Eugene Klyuchnikov)
1717
*/
1818

19-
package ru.eustas.shanga;
19+
package ru.eustas.zopfli;
2020

2121
class BlockSplitter {
2222

src/main/java/ru/eustas/shanga/Buffer.java renamed to src/main/java/ru/eustas/zopfli/Buffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Author: eustas.ru@gmail.com (Eugene Klyuchnikov)
1717
*/
1818

19-
package ru.eustas.shanga;
19+
package ru.eustas.zopfli;
2020

2121
public class Buffer {
2222

src/main/java/ru/eustas/shanga/Cookie.java renamed to src/main/java/ru/eustas/zopfli/Cookie.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Author: eustas.ru@gmail.com (Eugene Klyuchnikov)
1717
*/
1818

19-
package ru.eustas.shanga;
19+
package ru.eustas.zopfli;
2020

2121
class Cookie {
2222

src/main/java/ru/eustas/shanga/Deflate.java renamed to src/main/java/ru/eustas/zopfli/Deflate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Author: eustas.ru@gmail.com (Eugene Klyuchnikov)
1717
*/
1818

19-
package ru.eustas.shanga;
19+
package ru.eustas.zopfli;
2020

2121
class Deflate {
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Author: eustas.ru@gmail.com (Eugene Klyuchnikov)
1717
*/
1818

19-
package ru.eustas.shanga;
19+
package ru.eustas.zopfli;
2020

2121
class Hash {
2222

0 commit comments

Comments
 (0)