Skip to content

Commit

Permalink
update license to Apache-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neonstalwart committed Feb 17, 2013
1 parent 97fdce7 commit a8057dc
Show file tree
Hide file tree
Showing 54 changed files with 71 additions and 558 deletions.
444 changes: 0 additions & 444 deletions COPYING.LGPL

This file was deleted.

22 changes: 9 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ Cassowary Constraint Solving Toolkit
Copyright (C) 1998-2000 Greg J. Badros
Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
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

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
http://www.apache.org/licenses/LICENSE-2.0

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

See COPYING.LGPL
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.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ For civil discussion of this port and constraint-based UIs, join the
[Overconstrained mailing
list](https://groups.google.com/forum/?fromgroups#!forum/overconstrained).

License
-------

Cassowary JS is licensed under the [Apache 2.0 license]
(http://www.apache.org/licenses/LICENSE-2.0)

Constraint Solver? Say What?
----------------------------

Expand Down
3 changes: 1 addition & 2 deletions demos/css/canvas-renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>CSS Layout and Rendering -- JS Edition</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/css/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>Bork bork bork</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/css/layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

/**
Expand Down
3 changes: 1 addition & 2 deletions demos/css/renderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

(function(scope) {
Expand Down
3 changes: 1 addition & 2 deletions demos/css/util.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

(function(scope) {
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/cloudy.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

::-webkit-scrollbar {
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/cloudy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>Cloudy Chat</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/compat.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>Compat Testing</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/domutil.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

(function(scope) {
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/panels.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

/* We're an app, so lay ourselves out like one. Just the basics, ma'am. */
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>Bork Bork Bork!</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/panels.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*/

(function(scope) {
Expand Down
3 changes: 1 addition & 2 deletions demos/panels/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<!--
Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
-->
<head>
<title>Bork bork bork</title>
Expand Down
3 changes: 1 addition & 2 deletions demos/quad/quaddemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<!--
Copyright (C) 1998-2000 Greg J. Badros
Use of this source code is governed by the LGPL, which can be found in the
COPYING.LGPL file.
Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)
-->
Expand Down
3 changes: 1 addition & 2 deletions demos/quad/quaddemo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions demos/table/table.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
//
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0

// Tables have several exclusie modes, which generate separate constraint sets.
// We generate constraints for each cell based on the policy we observe by
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"description": "A fast, modern JavaScript version of the Cassowary hierarchial linear constraint solver",
"author": "Alex Russell <slightlyoff@chromium.org>",
"version" : "0.0.1",
"license": "LGPL",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"main": "./bin/c.js",
"url": "https://github.com/slightlyoff/cassowary-js-refactor",
"repository" : {
Expand Down
3 changes: 1 addition & 2 deletions perf/prof.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# Use of this source code is governed by the LGPL, which can be found in the
# COPYING.LGPL file.
# Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
#
# Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Constraint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/EditInfo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Error.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Expression.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/HashSet.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* Copyright 2011, Alex Russell <slightlyoff@google.com>
*
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*
* API compatible re-implementation of jshashset.js, including only what
* Cassowary needs. Built for speed, not comfort.
Expand Down
3 changes: 1 addition & 2 deletions src/HashTable.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* Copyright 2012 Alex Russell <slightlyoff@google.com>.
*
* Use of this source code is governed by the LGPL, which can be found in the
* COPYING.LGPL file.
* Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
*
* This is an API compatible re-implementation of the subset of jshashtable
* which Cassowary actually uses.
Expand Down
3 changes: 1 addition & 2 deletions src/Point.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/SimplexSolver.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Strength.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/SymbolicWeight.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Tableau.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Timer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/Variable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions src/c.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/Constraint-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/End-To-End-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/Expression-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/PerfTest.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/Point-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/SimplexSolver-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)
(function() {
Expand Down
3 changes: 1 addition & 2 deletions tests/Strength-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
3 changes: 1 addition & 2 deletions tests/SymbolicWeight-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 1998-2000 Greg J. Badros
// Use of this source code is governed by the LGPL, which can be found in the
// COPYING.LGPL file.
// Use of this source code is governed by http://www.apache.org/licenses/LICENSE-2.0
//
// Parts Copyright (C) 2012, Alex Russell (slightlyoff@chromium.org)

Expand Down
Loading

0 comments on commit a8057dc

Please sign in to comment.