aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-16 01:29:52 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-16 01:29:52 -0300
commit27d0eddd4c1cc275d90938c350a3563428ec5b4f (patch)
treee8ab62b3b7ca761f349bc8ad34ffe25ccb27adb4
parent1c3e06f29ad59c084c00725bf7041c2af126b22d (diff)
downloaddotwm-27d0eddd4c1cc275d90938c350a3563428ec5b4f.tar.gz
Add MIT LICENSE
-rw-r--r--LICENSE22
-rw-r--r--src/command.rs2
-rw-r--r--src/dotwm.rs2
-rw-r--r--src/event.rs2
-rw-r--r--src/main.rs2
-rw-r--r--src/safe_x11/mod.rs2
-rw-r--r--src/safe_x11/window.rs2
7 files changed, 34 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..53ac517
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Matias Linares <park@team-deprecated.org>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
diff --git a/src/command.rs b/src/command.rs
index 09259af..b728776 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
//! Command execution module.
//!
use std::ffi::OsStr;
diff --git a/src/dotwm.rs b/src/dotwm.rs
index d528899..e531f0a 100644
--- a/src/dotwm.rs
+++ b/src/dotwm.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
use x11::xlib;
use x11::xlib::{
Display,
diff --git a/src/event.rs b/src/event.rs
index 366ca28..6c4c375 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
use x11::xlib::{
XEvent,
XKeyEvent,
diff --git a/src/main.rs b/src/main.rs
index 4a0c545..f00523d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
extern crate libc;
extern crate x11;
diff --git a/src/safe_x11/mod.rs b/src/safe_x11/mod.rs
index bdfd7cf..e587021 100644
--- a/src/safe_x11/mod.rs
+++ b/src/safe_x11/mod.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
//! Safe wrapper around the `x11-rs` crate. This should be as much safe as possible.
#![allow(dead_code)]
diff --git a/src/safe_x11/window.rs b/src/safe_x11/window.rs
index 24b5b62..0e8ab10 100644
--- a/src/safe_x11/window.rs
+++ b/src/safe_x11/window.rs
@@ -1,3 +1,5 @@
+// See LICENSE file for copyright and license details.
+
use x11::xlib;
use x11::xlib::{
Window,