From 877c8051c6f467128c90aaaead63c10c831f8826 Mon Sep 17 00:00:00 2001 From: QC Date: Thu, 12 Feb 2015 22:34:06 +0100 Subject: [PATCH] Update copyright license. --- Changelog | 2 +- source/dialogs/dmenu-dialog.c | 2 +- source/dialogs/run-dialog.c | 2 +- source/dialogs/script-dialog.c | 2 +- source/dialogs/ssh-dialog.c | 2 +- source/dialogs/window-dialog.c | 12 +----------- source/helper.c | 27 +++++++++++++++++++++++++++ source/history.c | 2 +- source/i3-support.c | 2 +- source/rofi.c | 2 +- source/textbox.c | 2 +- source/x11-helper.c | 27 +++++++++++++++++++++++++++ source/xrmoptions.c | 2 +- 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 + * Copyright 2013-2015 Qball Cow * * 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 + * Copyright 2013-2015 Qball Cow * * 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 + * Copyright 2013-2015 Qball Cow * * 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 + * Copyright 2013-2015 Qball Cow * * 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 + * Copyright 2013-2015 Qball Cow * * 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 #include #include -#include - #include -#include -#include -#include -#include #include #include #include #include #include -#include #include -#include -#include -#include #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 + * Modified 2013-2015 Qball Cow + * + * 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 #include #include 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 + * Copyright 2013-2015 Qball Cow * * 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 + * Copyright (c) 2013-2015 Qball Cow * * 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 - * Modified 2013-2014 Qball Cow + * Modified 2013-2015 Qball Cow * * 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 - Modified (c) 2013-2014 Qball Cow + Modified (c) 2013-2015 Qball Cow 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 + * Modified 2013-2015 Qball Cow + * + * 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 #include #include 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 + * Copyright 2013-2015 Qball Cow * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the