summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-02-12 22:34:06 +0100
committerQC <qball@gmpclient.org>2015-02-12 22:34:06 +0100
commit877c8051c6f467128c90aaaead63c10c831f8826 (patch)
treeb6bddda635b63ebe044362d39c3a0b0ccd44400f
parentc760432a6c1d064a9a18ec57252a5f4bf6d46608 (diff)
Update copyright license.
-rw-r--r--Changelog2
-rw-r--r--source/dialogs/dmenu-dialog.c2
-rw-r--r--source/dialogs/run-dialog.c2
-rw-r--r--source/dialogs/script-dialog.c2
-rw-r--r--source/dialogs/ssh-dialog.c2
-rw-r--r--source/dialogs/window-dialog.c12
-rw-r--r--source/helper.c27
-rw-r--r--source/history.c2
-rw-r--r--source/i3-support.c2
-rw-r--r--source/rofi.c2
-rw-r--r--source/textbox.c2
-rw-r--r--source/x11-helper.c27
-rw-r--r--source/xrmoptions.c2
13 files changed, 65 insertions, 21 deletions
diff --git a/Changelog b/Changelog
index 53d785e0..7c2e4be2 100644
--- a/Changelog
+++ b/Changelog
@@ -11,7 +11,7 @@
- Fix missing keystrokes.
- On broken UTF-8 show everything up to the broken character. (#121)
Others:
- - Code refactoring.
+ - Significant code refactoring.
Performance improvements:
- Fix blocking on grabbing keyboard.
diff --git a/source/dialogs/dmenu-dialog.c b/source/dialogs/dmenu-dialog.c
index 9907a024..42552a12 100644
--- a/source/dialogs/dmenu-dialog.c
+++ b/source/dialogs/dmenu-dialog.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/dialogs/run-dialog.c b/source/dialogs/run-dialog.c
index 4b845dec..8ce81464 100644
--- a/source/dialogs/run-dialog.c
+++ b/source/dialogs/run-dialog.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/dialogs/script-dialog.c b/source/dialogs/script-dialog.c
index 5d7e4067..73a528e3 100644
--- a/source/dialogs/script-dialog.c
+++ b/source/dialogs/script-dialog.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/dialogs/ssh-dialog.c b/source/dialogs/ssh-dialog.c
index 06e12ae7..e0fb8d3e 100644
--- a/source/dialogs/ssh-dialog.c
+++ b/source/dialogs/ssh-dialog.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/dialogs/window-dialog.c b/source/dialogs/window-dialog.c
index cd358365..d1d3f31f 100644
--- a/source/dialogs/window-dialog.c
+++ b/source/dialogs/window-dialog.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@@ -27,23 +27,13 @@
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
-#include <X11/X.h>
-
#include <unistd.h>
-#include <limits.h>
-#include <signal.h>
-#include <sys/types.h>
-#include <dirent.h>
#include <strings.h>
#include <string.h>
#include <errno.h>
#include <X11/X.h>
#include <X11/Xatom.h>
-#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include <X11/Xproto.h>
-#include <X11/keysym.h>
-#include <X11/XKBlib.h>
#include "rofi.h"
#include "helper.h"
diff --git a/source/helper.c b/source/helper.c
index 7743af83..f5ab6d9b 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -1,3 +1,30 @@
+/**
+ * rofi
+ *
+ * MIT/X11 License
+ * Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
+ * Modified 2013-2015 Qball Cow <qball@gmpclient.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.
+ *
+ */
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/source/history.c b/source/history.c
index 1d1ffd7f..e8d20401 100644
--- a/source/history.c
+++ b/source/history.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/i3-support.c b/source/i3-support.c
index 96f13f4c..4e471f8a 100644
--- a/source/i3-support.c
+++ b/source/i3-support.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright (c) 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright (c) 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/rofi.c b/source/rofi.c
index b32cbb66..9a543427 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -3,7 +3,7 @@
*
* MIT/X11 License
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
- * Modified 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Modified 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/source/textbox.c b/source/textbox.c
index ea5ba452..a0c323db 100644
--- a/source/textbox.c
+++ b/source/textbox.c
@@ -2,7 +2,7 @@
MIT/X11 License
Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
- Modified (c) 2013-2014 Qball Cow <qball@gmpclient.org>
+ Modified (c) 2013-2015 Qball Cow <qball@gmpclient.org>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/source/x11-helper.c b/source/x11-helper.c
index db3187bf..3af847b7 100644
--- a/source/x11-helper.c
+++ b/source/x11-helper.c
@@ -1,3 +1,30 @@
+/**
+ * rofi
+ *
+ * MIT/X11 License
+ * Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
+ * Modified 2013-2015 Qball Cow <qball@gmpclient.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.
+ *
+ */
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 39a201df..609bf379 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -2,7 +2,7 @@
* rofi
*
* MIT/X11 License
- * Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
+ * Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the