From 63749de0a44b6b0856b65c7e46552459fa9b2189 Mon Sep 17 00:00:00 2001 From: hama Date: Fri, 25 Dec 2015 17:21:59 +0100 Subject: [PATCH] License changed to UNLICENSE, ready for github --- .gitignore | 1 + FormatSrc.sh | 5 ++ LICENCE | 8 -- UNLICENCE | 26 ++++++ appl/labor/droptablewidget.cpp | 4 +- appl/labor/droptablewidget.hpp | 4 +- appl/labor/main.cpp | 4 +- appl/labor/mainwindow.cpp | 4 +- appl/labor/mainwindow.hpp | 4 +- appl/recform/.gitignore | 73 +++++++++++++++++ appl/recform/CFormatter.cpp | 54 ++++++++++++ appl/recform/CFormatter.hpp | 29 +++++++ appl/recform/recform.pro | 36 ++++++++ appl/refind/aboutdialog.cpp | 4 +- appl/refind/aboutdialog.hpp | 4 +- appl/refind/dialogfileplaceholder.cpp | 4 +- appl/refind/dialogfileplaceholder.hpp | 4 +- appl/refind/dialogglobalplaceholder.cpp | 4 +- appl/refind/dialogglobalplaceholder.hpp | 4 +- appl/refind/dialogoptions.cpp | 4 +- appl/refind/dialogoptions.hpp | 4 +- appl/refind/filefinder.cpp | 4 +- appl/refind/filefinder.hpp | 4 +- appl/refind/filetablewidget.cpp | 4 +- appl/refind/filetablewidget.hpp | 4 +- appl/refind/main.cpp | 4 +- appl/refind/mainwindow.cpp | 4 +- appl/refind/mainwindow.hpp | 4 +- appl/refind/textfinder.cpp | 4 +- appl/refind/textfinder.hpp | 4 +- appl/refind/utils.cpp | 4 +- appl/refind/utils.hpp | 4 +- appl/reide/filesearch.cpp | 13 +-- appl/reide/filesearch.hpp | 13 +-- appl/reide/main.cpp | 4 +- appl/reide/mainwindow.cpp | 4 +- appl/reide/mainwindow.hpp | 4 +- appl/reide/project.cpp | 4 +- appl/reide/project.hpp | 4 +- appl/reide/projectselection.cpp | 4 +- appl/reide/projectselection.hpp | 4 +- appl/reide/reide.hpp | 6 +- appl/reide/views/EditorView.cpp | 6 +- appl/reide/views/EditorView.hpp | 6 +- appl/reide/views/FileTreeView.cpp | 6 +- appl/reide/views/FileTreeView.hpp | 6 +- appl/reide/views/Perspective.cpp | 6 +- appl/reide/views/Perspective.hpp | 6 +- appl/reide/views/ProjectPerspective.cpp | 6 +- appl/reide/views/ProjectPerspective.hpp | 6 +- appl/reide/views/StartPerspective.cpp | 6 +- appl/reide/views/StartPerspective.hpp | 6 +- appl/reide/views/StartView.cpp | 11 ++- appl/reide/views/StartView.hpp | 11 ++- appl/reide/views/View.cpp | 6 +- appl/reide/views/View.hpp | 6 +- appl/reide/workspace.cpp | 4 +- appl/reide/workspace.hpp | 4 +- appl/reidos/FileCommander.cpp | 13 +-- appl/reidos/FileCommander.hpp | 13 +-- appl/reidos/idosmain.cpp | 13 +-- appl/reidos/idosmain.hpp | 13 +-- appl/reidos/main.cpp | 13 +-- appl/reidos/maincmdline.cpp | 13 +-- appl/reidos/reidos.hpp | 13 +-- appl/reidos/reidoscmdline.hpp | 13 +-- appl/reidoscl/reidoscl.cpp | 10 +++ appl/reidoscl/reidoscl.hpp | 13 +-- appl/reimgconvert/aboutdialog.cpp | 4 +- appl/reimgconvert/aboutdialog.hpp | 4 +- appl/reimgconvert/converter.cpp | 4 +- appl/reimgconvert/converter.hpp | 4 +- appl/reimgconvert/main.cpp | 4 +- appl/reimgconvert/mainwindow.cpp | 4 +- appl/reimgconvert/mainwindow.hpp | 4 +- appl/reprime/Prime.cpp | 8 +- appl/reprime/Prime.hpp | 8 +- appl/reprime/main.cpp | 13 +-- appl/resh/ReShellTree.cpp | 13 +-- appl/resh/ReShellTree.hpp | 13 +-- appl/resh/main.cpp | 13 +-- appl/resh/resh.hpp | 13 +-- appl/reviewer/aboutdialog.cpp | 4 +- appl/reviewer/aboutdialog.hpp | 4 +- appl/reviewer/main.cpp | 4 +- appl/reviewer/mainwindow.cpp | 4 +- appl/reviewer/mainwindow.hpp | 4 +- base/ReByteStorage.cpp | 4 +- base/ReByteStorage.hpp | 4 +- base/ReCharPtrMap.cpp | 4 +- base/ReCharPtrMap.hpp | 4 +- base/ReConfig.cpp | 4 +- base/ReConfig.hpp | 4 +- base/ReConfigurator.hpp | 4 +- base/ReContainer.cpp | 4 +- base/ReContainer.hpp | 4 +- base/ReDiff.cpp | 6 +- base/ReDiff.hpp | 6 +- base/ReException.cpp | 4 +- base/ReException.hpp | 4 +- base/ReFile.cpp | 4 +- base/ReFile.hpp | 4 +- base/ReFileUtils.cpp | 4 +- base/ReFileUtils.hpp | 4 +- base/ReLineSource.cpp | 4 +- base/ReLineSource.hpp | 4 +- base/ReLogger.cpp | 4 +- base/ReLogger.hpp | 4 +- base/ReMatcher.cpp | 6 +- base/ReMatcher.hpp | 6 +- base/ReProcess.cpp | 13 +-- base/ReProcess.hpp | 13 +-- base/ReProgramArgs.cpp | 4 +- base/ReProgramArgs.hpp | 4 +- base/ReQStringUtils.cpp | 8 +- base/ReQStringUtils.hpp | 6 +- base/ReRandomizer.cpp | 4 +- base/ReRandomizer.hpp | 4 +- base/ReStringUtils.cpp | 6 +- base/ReStringUtils.hpp | 6 +- base/ReTerminator.cpp | 4 +- base/ReTerminator.hpp | 4 +- base/ReTest.cpp | 4 +- base/ReTest.hpp | 4 +- base/ReWriter.cpp | 4 +- base/ReWriter.hpp | 4 +- base/rebase.hpp | 8 +- base/retrace.hpp | 13 +-- base/testrplexample.cpp | 4 +- call_Artistic_Style.astylerc | 5 ++ call_Artistic_Style.sh | 41 ++++++++++ cunit/allTests.cpp | 4 +- cunit/cuReASTree.cpp | 4 +- cunit/cuReBench.cpp | 4 +- cunit/cuReByteStorage.cpp | 4 +- cunit/cuReCharPtrMap.cpp | 4 +- cunit/cuReConfig.cpp | 4 +- cunit/cuReContainer.cpp | 4 +- cunit/cuReCryptFileSystem.cpp | 4 +- cunit/cuReEdit.cpp | 4 +- cunit/cuReEnigma.cpp | 4 +- cunit/cuReException.cpp | 4 +- cunit/cuReFile.cpp | 4 +- cunit/cuReFileSystem.cpp | 4 +- cunit/cuReFileUtils.cpp | 4 +- cunit/cuReLexer.cpp | 4 +- cunit/cuReMFParser.cpp | 4 +- cunit/cuReMatcher.cpp | 4 +- cunit/cuReMatrix.cpp | 4 +- cunit/cuReProcess.cpp | 13 +-- cunit/cuReProgArgs.cpp | 6 +- cunit/cuReQStringUtils.cpp | 6 +- cunit/cuReRandomizer.cpp | 4 +- cunit/cuReSettings.cpp | 4 +- cunit/cuReSource.cpp | 4 +- cunit/cuReStateStorage.cpp | 4 +- cunit/cuReStringUtils.cpp | 6 +- cunit/cuReTraverser.cpp | 4 +- cunit/cuReVM.cpp | 4 +- cunit/cuReWriter.cpp | 4 +- cunit/main.cpp | 4 +- expr/ReASClasses.cpp | 4 +- expr/ReASClasses.hpp | 4 +- expr/ReASTree.cpp | 4 +- expr/ReASTree.hpp | 4 +- expr/ReLexer.cpp | 4 +- expr/ReLexer.hpp | 4 +- expr/ReMFParser.cpp | 4 +- expr/ReMFParser.hpp | 4 +- expr/ReParser.cpp | 4 +- expr/ReParser.hpp | 4 +- expr/ReSource.cpp | 104 +++++++++++++----------- expr/ReSource.hpp | 18 +++- expr/ReVM.cpp | 4 +- expr/ReVM.hpp | 4 +- expr/reexpr.hpp | 4 +- gui/ReEdit.cpp | 4 +- gui/ReEdit.hpp | 4 +- gui/ReFileTree.cpp | 6 +- gui/ReFileTree.hpp | 6 +- gui/ReGuiQueue.cpp | 13 +-- gui/ReGuiQueue.hpp | 13 +-- gui/ReGuiValidator.cpp | 4 +- gui/ReGuiValidator.hpp | 4 +- gui/ReSettings.cpp | 6 +- gui/ReSettings.hpp | 6 +- gui/ReStateStorage.cpp | 4 +- gui/ReStateStorage.hpp | 4 +- gui/regui.hpp | 4 +- guiwidget/ReFileTable.cpp | 13 +-- guiwidget/ReFileTable.hpp | 13 +-- guiwidget/reguiwidget.hpp | 13 +-- math/ReEnigma.cpp | 4 +- math/ReEnigma.hpp | 4 +- math/ReMatrix.cpp | 4 +- math/ReMatrix.hpp | 4 +- math/ReRandom.cpp | 4 +- math/ReRandom.hpp | 4 +- math/remath.hpp | 4 +- net/ReNetConfig.cpp | 4 +- net/ReNetConfig.hpp | 4 +- net/ReTCPPeer.cpp | 4 +- net/ReTCPPeer.hpp | 4 +- net/ReTCPServer.cpp | 4 +- net/ReTCPServer.hpp | 4 +- net/ReTcpClient.cpp | 6 +- net/ReTcpClient.hpp | 6 +- net/renet.hpp | 4 +- os/ReCryptFileSystem.cpp | 13 +-- os/ReCryptFileSystem.hpp | 13 +-- os/ReFileSystem.cpp | 6 +- os/ReFileSystem.hpp | 4 +- os/ReTraverser.cpp | 4 +- os/ReTraverser.hpp | 4 +- os/reos.hpp | 4 +- release.notes.txt | 5 ++ remodules.hpp | 4 +- static/ReStaticLib.cpp | 4 +- tools/PubDomain.pl | 90 ++++++++++++++++++++ 219 files changed, 1070 insertions(+), 584 deletions(-) create mode 100755 FormatSrc.sh delete mode 100644 LICENCE create mode 100644 UNLICENCE create mode 100644 appl/recform/.gitignore create mode 100644 appl/recform/CFormatter.cpp create mode 100644 appl/recform/CFormatter.hpp create mode 100644 appl/recform/recform.pro create mode 100644 call_Artistic_Style.astylerc create mode 100755 call_Artistic_Style.sh create mode 100644 release.notes.txt create mode 100755 tools/PubDomain.pl diff --git a/.gitignore b/.gitignore index 8543d61..76d98cb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ doc/ .cproject .project *.pro.user.* +static/ rpldoc.zip build/ appl/build-reidos-Desktop-Debug/ diff --git a/FormatSrc.sh b/FormatSrc.sh new file mode 100755 index 0000000..cdb2d7e --- /dev/null +++ b/FormatSrc.sh @@ -0,0 +1,5 @@ +#! /bin/sh +./call_Artistic_Style.sh . 'hpp' +./call_Artistic_Style.sh . 'cpp' +find -name "*.orig" -delete + diff --git a/LICENCE b/LICENCE deleted file mode 100644 index 8930d84..0000000 --- a/LICENCE +++ /dev/null @@ -1,8 +0,0 @@ -These are files of the Real Public Library. -You can use or modify this files without any restrictions. -There is no warrenty. -You also can use the following licence: http://www.wtfpl.net/ - -The original code was published at https://github.com/republib - - diff --git a/UNLICENCE b/UNLICENCE new file mode 100644 index 0000000..ae127f7 --- /dev/null +++ b/UNLICENCE @@ -0,0 +1,26 @@ +These are files of the Real Public Library. + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to diff --git a/appl/labor/droptablewidget.cpp b/appl/labor/droptablewidget.cpp index 0a342b9..9bf9072 100644 --- a/appl/labor/droptablewidget.cpp +++ b/appl/labor/droptablewidget.cpp @@ -1,11 +1,11 @@ /* * droptablewidget.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/labor/droptablewidget.hpp b/appl/labor/droptablewidget.hpp index 64abde9..9d6429f 100644 --- a/appl/labor/droptablewidget.hpp +++ b/appl/labor/droptablewidget.hpp @@ -1,11 +1,11 @@ /* * droptablewidget.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/labor/main.cpp b/appl/labor/main.cpp index cd6cf8e..28859ad 100644 --- a/appl/labor/main.cpp +++ b/appl/labor/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/labor/mainwindow.cpp b/appl/labor/mainwindow.cpp index 08f8c17..d9964fd 100644 --- a/appl/labor/mainwindow.cpp +++ b/appl/labor/mainwindow.cpp @@ -1,11 +1,11 @@ /* * mainwindow.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/labor/mainwindow.hpp b/appl/labor/mainwindow.hpp index 6771470..3d61780 100644 --- a/appl/labor/mainwindow.hpp +++ b/appl/labor/mainwindow.hpp @@ -1,11 +1,11 @@ /* * mainwindow.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/recform/.gitignore b/appl/recform/.gitignore new file mode 100644 index 0000000..fab7372 --- /dev/null +++ b/appl/recform/.gitignore @@ -0,0 +1,73 @@ +# This file is used to ignore files which are generated +# ---------------------------------------------------------------------------- + +*~ +*.autosave +*.a +*.core +*.moc +*.o +*.obj +*.orig +*.rej +*.so +*.so.* +*_pch.h.cpp +*_resource.rc +*.qm +.#* +*.*# +core +!core/ +tags +.DS_Store +.directory +*.debug +Makefile* +*.prl +*.app +moc_*.cpp +ui_*.h +qrc_*.cpp +Thumbs.db +*.res +*.rc +/.qmake.cache +/.qmake.stash + +# qtcreator generated files +*.pro.user* + +# xemacs temporary files +*.flc + +# Vim temporary files +.*.swp + +# Visual Studio generated files +*.ib_pdb_index +*.idb +*.ilk +*.pdb +*.sln +*.suo +*.vcproj +*vcproj.*.*.user +*.ncb +*.sdf +*.opensdf +*.vcxproj +*vcxproj.* + +# MinGW generated files +*.Debug +*.Release + +# Python byte code +*.pyc + +# Binaries +# -------- +*.dll +*.exe + diff --git a/appl/recform/CFormatter.cpp b/appl/recform/CFormatter.cpp new file mode 100644 index 0000000..be92045 --- /dev/null +++ b/appl/recform/CFormatter.cpp @@ -0,0 +1,54 @@ +/* + * Licence: + * You can use and modify this file without any restriction. + * There is no warranty. + * You also can use the licence from http://www.wtfpl.net/. + * The original sources can be found on https://github.com/republib. +*/ + +#include "CFormatter.hpp" + +/** + * Constructor. + * + * @param args the program arguments + */ +CFormatter::CFormatter(ReProgramArgs& args) : + m_args(args) +{ +} + +/** + * Formats a C++ file. + * + * @param filename the file to format + */ +void CFormatter::format(const char* filename) +{ + ReSimpleSource source(filename); + const char* keywords = ""; + const char* operators = ""; + const char* rightAssociatives = ""; + const char* comments = ""; + const char* firstCharsId = "a-zA-Z_"; + const char* restCharsId = "a-zA-Z0-9_"; + int numericTypes = ReLexer::NUMTYPE_DECIMAL | ReLexer::NUMTYPE_HEXADECIMAL + | ReLexer::NUMTYPE_FLOAT; + int stringFeatures = ReLexer::SF_TICK | ReLexer::SF_QUOTE + | ReLexer::SF_C_ESCAPING | ReLexer::SF_C_SPECIAL | ReLexer::SF_C_HEX_CHARS; + int storageFlags = ReLexer::STORE_COMMENT | ReLexer::STORE_ORG_STRING; + ReLexer lexer(&source, keywords, operators, rightAssociatives, comments, + firstCharsId, restCharsId, numericTypes, stringFeatures, + storageFlags); + +} + +/** + * Formats the files given by the program arguments. + */ +void CFormatter::formatAll() +{ + for (int ix = 0; ix < m_args.argCount(); ix++) { + format(m_args.arg(ix)); + } +} diff --git a/appl/recform/CFormatter.hpp b/appl/recform/CFormatter.hpp new file mode 100644 index 0000000..16ad68c --- /dev/null +++ b/appl/recform/CFormatter.hpp @@ -0,0 +1,29 @@ +/* + * Licence: + * You can use and modify this file without any restriction. + * There is no warranty. + * You also can use the licence from http://www.wtfpl.net/. + * The original sources can be found on https://github.com/republib. +*/ + +#ifndef CFORMATTER_HPP +#define CFORMATTER_HPP +#ifndef REBASE_HPP +#include "base/rebase.hpp" +#endif +#ifndef REEXPR_HPP +#include "expr/reexpr.hpp" +#endif + +class CFormatter +{ +public: + CFormatter(ReProgramArgs& args); +public: + void format(const char* filename); + void formatAll(); +private: + ReProgramArgs& m_args; +}; + +#endif // CFORMATTER_HPP diff --git a/appl/recform/recform.pro b/appl/recform/recform.pro new file mode 100644 index 0000000..321298e --- /dev/null +++ b/appl/recform/recform.pro @@ -0,0 +1,36 @@ +QT += core +QT -= gui + +CONFIG += c++11 + +TARGET = recform + +CONFIG += console +CONFIG -= app_bundle + +TEMPLATE = app + +DEFINES += _NO_WIDGETS_=1 + +INCLUDEPATH = ../.. + +SOURCES += recformmain.cpp \ + ../../base/ReException.cpp \ + ../../base/ReStringUtils.cpp \ + ../../base/ReQStringUtils.cpp \ + ../../base/ReFileUtils.cpp \ + ../../base/ReProgramArgs.cpp \ + ../../base/ReCharPtrMap.cpp \ + ../../base/ReLogger.cpp \ + ../../expr/ReSource.cpp \ + ../../expr/ReLexer.cpp \ + ../../expr/ReParser.cpp \ + CFormatter.cpp \ + CppParser.cpp + +HEADERS += recformmain.hpp \ + ../../base/rebase.hpp \ + CFormatter.hpp \ + cppparser.hpp + +CODECFORSRC = UTF-8 diff --git a/appl/refind/aboutdialog.cpp b/appl/refind/aboutdialog.cpp index 929b95c..eedd0a8 100644 --- a/appl/refind/aboutdialog.cpp +++ b/appl/refind/aboutdialog.cpp @@ -1,11 +1,11 @@ /* * aboutdialog.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/aboutdialog.hpp b/appl/refind/aboutdialog.hpp index 1ada737..bf51cc7 100644 --- a/appl/refind/aboutdialog.hpp +++ b/appl/refind/aboutdialog.hpp @@ -1,11 +1,11 @@ /* * aboutdialog.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogfileplaceholder.cpp b/appl/refind/dialogfileplaceholder.cpp index 11c50ac..7fd36d8 100644 --- a/appl/refind/dialogfileplaceholder.cpp +++ b/appl/refind/dialogfileplaceholder.cpp @@ -1,11 +1,11 @@ /* * dialogfileplaceholder.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogfileplaceholder.hpp b/appl/refind/dialogfileplaceholder.hpp index b14bf6f..ae48595 100644 --- a/appl/refind/dialogfileplaceholder.hpp +++ b/appl/refind/dialogfileplaceholder.hpp @@ -1,11 +1,11 @@ /* * dialogfileplaceholder.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogglobalplaceholder.cpp b/appl/refind/dialogglobalplaceholder.cpp index 6659d6c..4b9dffb 100644 --- a/appl/refind/dialogglobalplaceholder.cpp +++ b/appl/refind/dialogglobalplaceholder.cpp @@ -1,11 +1,11 @@ /* * dialogglobalplaceholder.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogglobalplaceholder.hpp b/appl/refind/dialogglobalplaceholder.hpp index 2228432..f3743ac 100644 --- a/appl/refind/dialogglobalplaceholder.hpp +++ b/appl/refind/dialogglobalplaceholder.hpp @@ -1,11 +1,11 @@ /* * dialogglobalplaceholder.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogoptions.cpp b/appl/refind/dialogoptions.cpp index d1f5e8b..7709095 100644 --- a/appl/refind/dialogoptions.cpp +++ b/appl/refind/dialogoptions.cpp @@ -1,11 +1,11 @@ /* * dialogoptions.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/dialogoptions.hpp b/appl/refind/dialogoptions.hpp index 8ad3f4a..2e0202c 100644 --- a/appl/refind/dialogoptions.hpp +++ b/appl/refind/dialogoptions.hpp @@ -1,11 +1,11 @@ /* * dialogoptions.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/filefinder.cpp b/appl/refind/filefinder.cpp index 469221e..673f9f5 100644 --- a/appl/refind/filefinder.cpp +++ b/appl/refind/filefinder.cpp @@ -1,11 +1,11 @@ /* * filefinder.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/filefinder.hpp b/appl/refind/filefinder.hpp index 188ebc3..6df6ee0 100644 --- a/appl/refind/filefinder.hpp +++ b/appl/refind/filefinder.hpp @@ -1,11 +1,11 @@ /* * filefinder.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/filetablewidget.cpp b/appl/refind/filetablewidget.cpp index 543d57b..705d744 100644 --- a/appl/refind/filetablewidget.cpp +++ b/appl/refind/filetablewidget.cpp @@ -1,11 +1,11 @@ /* * filetablewidget.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/filetablewidget.hpp b/appl/refind/filetablewidget.hpp index 2cb0774..80a8f73 100644 --- a/appl/refind/filetablewidget.hpp +++ b/appl/refind/filetablewidget.hpp @@ -1,11 +1,11 @@ /* * filetablewidget.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/main.cpp b/appl/refind/main.cpp index 60031bd..6bc3b2c 100644 --- a/appl/refind/main.cpp +++ b/appl/refind/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/mainwindow.cpp b/appl/refind/mainwindow.cpp index 884e7ce..1f50c41 100644 --- a/appl/refind/mainwindow.cpp +++ b/appl/refind/mainwindow.cpp @@ -1,11 +1,11 @@ /* * mainwindow.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/mainwindow.hpp b/appl/refind/mainwindow.hpp index f4429e2..f29f983 100644 --- a/appl/refind/mainwindow.hpp +++ b/appl/refind/mainwindow.hpp @@ -1,11 +1,11 @@ /* * mainwindow.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/textfinder.cpp b/appl/refind/textfinder.cpp index 346a597..6750246 100644 --- a/appl/refind/textfinder.cpp +++ b/appl/refind/textfinder.cpp @@ -1,11 +1,11 @@ /* * textfinder.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/textfinder.hpp b/appl/refind/textfinder.hpp index 651ba85..708b2d3 100644 --- a/appl/refind/textfinder.hpp +++ b/appl/refind/textfinder.hpp @@ -1,11 +1,11 @@ /* * textfinder.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/utils.cpp b/appl/refind/utils.cpp index c0c6cb1..ae83a42 100644 --- a/appl/refind/utils.cpp +++ b/appl/refind/utils.cpp @@ -1,11 +1,11 @@ /* * utils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/refind/utils.hpp b/appl/refind/utils.hpp index d6be1f1..7a02c1e 100644 --- a/appl/refind/utils.hpp +++ b/appl/refind/utils.hpp @@ -1,11 +1,11 @@ /* * utils.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/filesearch.cpp b/appl/reide/filesearch.cpp index 3198c8a..731c10f 100644 --- a/appl/reide/filesearch.cpp +++ b/appl/reide/filesearch.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * filesearch.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "filesearch.hpp" diff --git a/appl/reide/filesearch.hpp b/appl/reide/filesearch.hpp index eb5e151..cde777e 100644 --- a/appl/reide/filesearch.hpp +++ b/appl/reide/filesearch.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * filesearch.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef FILESEARCH_HPP diff --git a/appl/reide/main.cpp b/appl/reide/main.cpp index a456b87..23c32e2 100644 --- a/appl/reide/main.cpp +++ b/appl/reide/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "reide.hpp" diff --git a/appl/reide/mainwindow.cpp b/appl/reide/mainwindow.cpp index 37eb3b1..f1cae74 100644 --- a/appl/reide/mainwindow.cpp +++ b/appl/reide/mainwindow.cpp @@ -1,11 +1,11 @@ /* * mainwindow.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/mainwindow.hpp b/appl/reide/mainwindow.hpp index 3a3c43a..9e9ca83 100644 --- a/appl/reide/mainwindow.hpp +++ b/appl/reide/mainwindow.hpp @@ -1,11 +1,11 @@ /* * mainwindow.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/project.cpp b/appl/reide/project.cpp index 7e0c03d..cb9ea3f 100644 --- a/appl/reide/project.cpp +++ b/appl/reide/project.cpp @@ -1,11 +1,11 @@ /* * project.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/project.hpp b/appl/reide/project.hpp index dc0b267..229109e 100644 --- a/appl/reide/project.hpp +++ b/appl/reide/project.hpp @@ -1,11 +1,11 @@ /* * project.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/projectselection.cpp b/appl/reide/projectselection.cpp index 17c78d6..58d3d8e 100644 --- a/appl/reide/projectselection.cpp +++ b/appl/reide/projectselection.cpp @@ -1,11 +1,11 @@ /* * projectselection.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/projectselection.hpp b/appl/reide/projectselection.hpp index a04d1e3..846f527 100644 --- a/appl/reide/projectselection.hpp +++ b/appl/reide/projectselection.hpp @@ -1,11 +1,11 @@ /* * projectselection.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/reide.hpp b/appl/reide/reide.hpp index 028baf2..9f9dd34 100644 --- a/appl/reide/reide.hpp +++ b/appl/reide/reide.hpp @@ -1,11 +1,11 @@ /* - * reditor.hpp + * reide.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/EditorView.cpp b/appl/reide/views/EditorView.cpp index 043c4bf..d36fee5 100644 --- a/appl/reide/views/EditorView.cpp +++ b/appl/reide/views/EditorView.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * EditorView.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/EditorView.hpp b/appl/reide/views/EditorView.hpp index 15fbe0e..cac5b22 100644 --- a/appl/reide/views/EditorView.hpp +++ b/appl/reide/views/EditorView.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * EditorView.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/FileTreeView.cpp b/appl/reide/views/FileTreeView.cpp index 5eacbc0..b34b734 100644 --- a/appl/reide/views/FileTreeView.cpp +++ b/appl/reide/views/FileTreeView.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * FileTreeView.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/FileTreeView.hpp b/appl/reide/views/FileTreeView.hpp index b83e2f9..2a87e8d 100644 --- a/appl/reide/views/FileTreeView.hpp +++ b/appl/reide/views/FileTreeView.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * FileTreeView.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/Perspective.cpp b/appl/reide/views/Perspective.cpp index 539c3d3..1470b93 100644 --- a/appl/reide/views/Perspective.cpp +++ b/appl/reide/views/Perspective.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * Perspective.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/Perspective.hpp b/appl/reide/views/Perspective.hpp index f070304..2e0a0c5 100644 --- a/appl/reide/views/Perspective.hpp +++ b/appl/reide/views/Perspective.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * Perspective.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/ProjectPerspective.cpp b/appl/reide/views/ProjectPerspective.cpp index 6a707ee..f395479 100644 --- a/appl/reide/views/ProjectPerspective.cpp +++ b/appl/reide/views/ProjectPerspective.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * ProjectPerspective.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/ProjectPerspective.hpp b/appl/reide/views/ProjectPerspective.hpp index 5f18054..2632fdf 100644 --- a/appl/reide/views/ProjectPerspective.hpp +++ b/appl/reide/views/ProjectPerspective.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * ProjectPerspective.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/StartPerspective.cpp b/appl/reide/views/StartPerspective.cpp index 866f16f..e1ae232 100644 --- a/appl/reide/views/StartPerspective.cpp +++ b/appl/reide/views/StartPerspective.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * StartPerspective.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/StartPerspective.hpp b/appl/reide/views/StartPerspective.hpp index ef23f8a..4960d00 100644 --- a/appl/reide/views/StartPerspective.hpp +++ b/appl/reide/views/StartPerspective.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * StartPerspective.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/StartView.cpp b/appl/reide/views/StartView.cpp index 672367c..65c297b 100644 --- a/appl/reide/views/StartView.cpp +++ b/appl/reide/views/StartView.cpp @@ -1,9 +1,12 @@ /* - * Licence: + * StartView.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib */ #include "reide.hpp" diff --git a/appl/reide/views/StartView.hpp b/appl/reide/views/StartView.hpp index 375131a..f839985 100644 --- a/appl/reide/views/StartView.hpp +++ b/appl/reide/views/StartView.hpp @@ -1,9 +1,12 @@ /* - * Licence: + * StartView.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib */ #ifndef STARTVIEW_HPP diff --git a/appl/reide/views/View.cpp b/appl/reide/views/View.cpp index 65cdad0..af9db47 100644 --- a/appl/reide/views/View.cpp +++ b/appl/reide/views/View.cpp @@ -1,11 +1,11 @@ /* - * project.cpp + * View.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/views/View.hpp b/appl/reide/views/View.hpp index 73d99a2..783f50e 100644 --- a/appl/reide/views/View.hpp +++ b/appl/reide/views/View.hpp @@ -1,11 +1,11 @@ /* - * project.hpp + * View.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/workspace.cpp b/appl/reide/workspace.cpp index f6eaa1b..0aa6de5 100644 --- a/appl/reide/workspace.cpp +++ b/appl/reide/workspace.cpp @@ -1,11 +1,11 @@ /* * workspace.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reide/workspace.hpp b/appl/reide/workspace.hpp index 8776fed..4cb03f1 100644 --- a/appl/reide/workspace.hpp +++ b/appl/reide/workspace.hpp @@ -1,11 +1,11 @@ /* * workspace.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reidos/FileCommander.cpp b/appl/reidos/FileCommander.cpp index 77709e3..4d83752 100644 --- a/appl/reidos/FileCommander.cpp +++ b/appl/reidos/FileCommander.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * FileCommander.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "reidos.hpp" diff --git a/appl/reidos/FileCommander.hpp b/appl/reidos/FileCommander.hpp index 92af7dc..3f35df3 100644 --- a/appl/reidos/FileCommander.hpp +++ b/appl/reidos/FileCommander.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * FileCommander.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef FILECOMMANDER_HPP diff --git a/appl/reidos/idosmain.cpp b/appl/reidos/idosmain.cpp index fd94404..308606f 100644 --- a/appl/reidos/idosmain.cpp +++ b/appl/reidos/idosmain.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * idosmain.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "reidos.hpp" #include "ui_idosmain.h" diff --git a/appl/reidos/idosmain.hpp b/appl/reidos/idosmain.hpp index 6fc4ff5..12ca309 100644 --- a/appl/reidos/idosmain.hpp +++ b/appl/reidos/idosmain.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * idosmain.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef IDOSMAIN_HPP diff --git a/appl/reidos/main.cpp b/appl/reidos/main.cpp index 055ec2e..aa58e29 100644 --- a/appl/reidos/main.cpp +++ b/appl/reidos/main.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * main.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "reidos.hpp" diff --git a/appl/reidos/maincmdline.cpp b/appl/reidos/maincmdline.cpp index e38fa70..bcd0a91 100644 --- a/appl/reidos/maincmdline.cpp +++ b/appl/reidos/maincmdline.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * maincmdline.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "reidoscmdline.hpp" diff --git a/appl/reidos/reidos.hpp b/appl/reidos/reidos.hpp index 89cdf3b..af4da49 100644 --- a/appl/reidos/reidos.hpp +++ b/appl/reidos/reidos.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * reidos.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REIDOS_HPP diff --git a/appl/reidos/reidoscmdline.hpp b/appl/reidos/reidoscmdline.hpp index c725455..f0cbe99 100644 --- a/appl/reidos/reidoscmdline.hpp +++ b/appl/reidos/reidoscmdline.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * reidoscmdline.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REIDOSCMDLINE_HPP diff --git a/appl/reidoscl/reidoscl.cpp b/appl/reidoscl/reidoscl.cpp index fe86261..f161b5c 100644 --- a/appl/reidoscl/reidoscl.cpp +++ b/appl/reidoscl/reidoscl.cpp @@ -1,3 +1,13 @@ +/* + * reidoscl.cpp + * + * (Un)License: Public Domain + * You can use and modify this file without any restriction. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "reidoscl.hpp" #include diff --git a/appl/reidoscl/reidoscl.hpp b/appl/reidoscl/reidoscl.hpp index c725455..7336ce4 100644 --- a/appl/reidoscl/reidoscl.hpp +++ b/appl/reidoscl/reidoscl.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * reidoscl.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REIDOSCMDLINE_HPP diff --git a/appl/reimgconvert/aboutdialog.cpp b/appl/reimgconvert/aboutdialog.cpp index 929b95c..eedd0a8 100644 --- a/appl/reimgconvert/aboutdialog.cpp +++ b/appl/reimgconvert/aboutdialog.cpp @@ -1,11 +1,11 @@ /* * aboutdialog.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/aboutdialog.hpp b/appl/reimgconvert/aboutdialog.hpp index 1ada737..bf51cc7 100644 --- a/appl/reimgconvert/aboutdialog.hpp +++ b/appl/reimgconvert/aboutdialog.hpp @@ -1,11 +1,11 @@ /* * aboutdialog.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/converter.cpp b/appl/reimgconvert/converter.cpp index 396cab7..f4f511a 100644 --- a/appl/reimgconvert/converter.cpp +++ b/appl/reimgconvert/converter.cpp @@ -1,11 +1,11 @@ /* * converter.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/converter.hpp b/appl/reimgconvert/converter.hpp index 3c98c79..c8c4b8d 100644 --- a/appl/reimgconvert/converter.hpp +++ b/appl/reimgconvert/converter.hpp @@ -1,11 +1,11 @@ /* * converter.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/main.cpp b/appl/reimgconvert/main.cpp index 140eda3..e70992e 100644 --- a/appl/reimgconvert/main.cpp +++ b/appl/reimgconvert/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/mainwindow.cpp b/appl/reimgconvert/mainwindow.cpp index 5af4324..78c123b 100644 --- a/appl/reimgconvert/mainwindow.cpp +++ b/appl/reimgconvert/mainwindow.cpp @@ -1,11 +1,11 @@ /* * mainwindow.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reimgconvert/mainwindow.hpp b/appl/reimgconvert/mainwindow.hpp index b7135c7..8647990 100644 --- a/appl/reimgconvert/mainwindow.hpp +++ b/appl/reimgconvert/mainwindow.hpp @@ -1,11 +1,11 @@ /* * mainwindow.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reprime/Prime.cpp b/appl/reprime/Prime.cpp index 75b23e2..5e64444 100644 --- a/appl/reprime/Prime.cpp +++ b/appl/reprime/Prime.cpp @@ -1,8 +1,12 @@ /* * Prime.cpp * - * Created on: Oct 8, 2015 - * Author: kawi + * (Un)License: Public Domain + * You can use and modify this file without any restriction. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib */ #include "math.h" #include "stdlib.h" diff --git a/appl/reprime/Prime.hpp b/appl/reprime/Prime.hpp index 3c4b4f1..d6a7b73 100644 --- a/appl/reprime/Prime.hpp +++ b/appl/reprime/Prime.hpp @@ -1,8 +1,12 @@ /* * Prime.hpp * - * Created on: Oct 8, 2015 - * Author: kawi + * (Un)License: Public Domain + * You can use and modify this file without any restriction. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib */ #ifndef PRIME_HPP_ diff --git a/appl/reprime/main.cpp b/appl/reprime/main.cpp index 32f2bfd..33ef156 100644 --- a/appl/reprime/main.cpp +++ b/appl/reprime/main.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * main.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include diff --git a/appl/resh/ReShellTree.cpp b/appl/resh/ReShellTree.cpp index 6f8cce0..40389bc 100644 --- a/appl/resh/ReShellTree.cpp +++ b/appl/resh/ReShellTree.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReShellTree.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "resh.hpp" diff --git a/appl/resh/ReShellTree.hpp b/appl/resh/ReShellTree.hpp index ab58302..5318bed 100644 --- a/appl/resh/ReShellTree.hpp +++ b/appl/resh/ReShellTree.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReShellTree.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef RESHELLTREE_HPP diff --git a/appl/resh/main.cpp b/appl/resh/main.cpp index 8a70156..0649db1 100644 --- a/appl/resh/main.cpp +++ b/appl/resh/main.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * main.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include diff --git a/appl/resh/resh.hpp b/appl/resh/resh.hpp index 6bfb778..c68217e 100644 --- a/appl/resh/resh.hpp +++ b/appl/resh/resh.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * resh.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef RESH_HPP diff --git a/appl/reviewer/aboutdialog.cpp b/appl/reviewer/aboutdialog.cpp index 6a117e7..9b68340 100644 --- a/appl/reviewer/aboutdialog.cpp +++ b/appl/reviewer/aboutdialog.cpp @@ -1,11 +1,11 @@ /* * aboutdialog.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reviewer/aboutdialog.hpp b/appl/reviewer/aboutdialog.hpp index 48d3f19..a23d2d9 100644 --- a/appl/reviewer/aboutdialog.hpp +++ b/appl/reviewer/aboutdialog.hpp @@ -1,11 +1,11 @@ /* * aboutdialog.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reviewer/main.cpp b/appl/reviewer/main.cpp index d6cf1aa..9bfd030 100644 --- a/appl/reviewer/main.cpp +++ b/appl/reviewer/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reviewer/mainwindow.cpp b/appl/reviewer/mainwindow.cpp index c00c2b8..bb68c2b 100644 --- a/appl/reviewer/mainwindow.cpp +++ b/appl/reviewer/mainwindow.cpp @@ -1,11 +1,11 @@ /* * mainwindow.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/appl/reviewer/mainwindow.hpp b/appl/reviewer/mainwindow.hpp index 00c3fc8..516aaf8 100644 --- a/appl/reviewer/mainwindow.hpp +++ b/appl/reviewer/mainwindow.hpp @@ -1,11 +1,11 @@ /* * mainwindow.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReByteStorage.cpp b/base/ReByteStorage.cpp index b8d990f..2d1d0d2 100644 --- a/base/ReByteStorage.cpp +++ b/base/ReByteStorage.cpp @@ -1,11 +1,11 @@ /* * ReByteStorage.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReByteStorage.hpp b/base/ReByteStorage.hpp index 048b5b9..7061e1f 100644 --- a/base/ReByteStorage.hpp +++ b/base/ReByteStorage.hpp @@ -1,11 +1,11 @@ /* * ReByteStorage.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReCharPtrMap.cpp b/base/ReCharPtrMap.cpp index c594d0c..a31a3f0 100644 --- a/base/ReCharPtrMap.cpp +++ b/base/ReCharPtrMap.cpp @@ -1,11 +1,11 @@ /* * ReCharPtrMap.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReCharPtrMap.hpp b/base/ReCharPtrMap.hpp index 67fb539..ff12f8c 100644 --- a/base/ReCharPtrMap.hpp +++ b/base/ReCharPtrMap.hpp @@ -1,11 +1,11 @@ /* * ReCharPtrMap.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReConfig.cpp b/base/ReConfig.cpp index 299021f..dffdb11 100644 --- a/base/ReConfig.cpp +++ b/base/ReConfig.cpp @@ -1,11 +1,11 @@ /* * ReConfig.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/base/ReConfig.hpp b/base/ReConfig.hpp index 43733b0..cb8ee06 100644 --- a/base/ReConfig.hpp +++ b/base/ReConfig.hpp @@ -1,11 +1,11 @@ /* * ReConfig.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RECONFIG_HPP diff --git a/base/ReConfigurator.hpp b/base/ReConfigurator.hpp index 0061276..1410d45 100644 --- a/base/ReConfigurator.hpp +++ b/base/ReConfigurator.hpp @@ -1,11 +1,11 @@ /* * ReConfigurator.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RECONFIGURATOR_HPP diff --git a/base/ReContainer.cpp b/base/ReContainer.cpp index 248b98c..62d7683 100644 --- a/base/ReContainer.cpp +++ b/base/ReContainer.cpp @@ -1,11 +1,11 @@ /* * ReContainer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/base/ReContainer.hpp b/base/ReContainer.hpp index 02eebb6..c342752 100644 --- a/base/ReContainer.hpp +++ b/base/ReContainer.hpp @@ -1,11 +1,11 @@ /* * ReContainer.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RECONTAINER_HPP diff --git a/base/ReDiff.cpp b/base/ReDiff.cpp index e14af2c..76034c0 100644 --- a/base/ReDiff.cpp +++ b/base/ReDiff.cpp @@ -1,11 +1,11 @@ /* - * ReFile.cpp + * ReDiff.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReDiff.hpp b/base/ReDiff.hpp index edf057b..7f081fa 100644 --- a/base/ReDiff.hpp +++ b/base/ReDiff.hpp @@ -1,11 +1,11 @@ /* - * ReFile.hpp + * ReDiff.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReException.cpp b/base/ReException.cpp index 64814e5..03540e9 100644 --- a/base/ReException.cpp +++ b/base/ReException.cpp @@ -1,11 +1,11 @@ /* * ReException.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @mainpage diff --git a/base/ReException.hpp b/base/ReException.hpp index 1000b81..65494d0 100644 --- a/base/ReException.hpp +++ b/base/ReException.hpp @@ -1,11 +1,11 @@ /* * ReException.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef REEXCEPTION_HPP diff --git a/base/ReFile.cpp b/base/ReFile.cpp index 2a3dc31..3248413 100644 --- a/base/ReFile.cpp +++ b/base/ReFile.cpp @@ -1,11 +1,11 @@ /* * ReFile.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReFile.hpp b/base/ReFile.hpp index 953b74f..22b99bd 100644 --- a/base/ReFile.hpp +++ b/base/ReFile.hpp @@ -1,11 +1,11 @@ /* * ReFile.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReFileUtils.cpp b/base/ReFileUtils.cpp index 5edbcc1..2c49d40 100644 --- a/base/ReFileUtils.cpp +++ b/base/ReFileUtils.cpp @@ -1,11 +1,11 @@ /* * ReFileUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReFileUtils.hpp b/base/ReFileUtils.hpp index 44251da..a378ce8 100644 --- a/base/ReFileUtils.hpp +++ b/base/ReFileUtils.hpp @@ -1,11 +1,11 @@ /* * ReFileUtils.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReLineSource.cpp b/base/ReLineSource.cpp index ef28838..ee3a690 100644 --- a/base/ReLineSource.cpp +++ b/base/ReLineSource.cpp @@ -1,11 +1,11 @@ /* * ReLineSource.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReLineSource.hpp b/base/ReLineSource.hpp index a4aac3f..091e058 100644 --- a/base/ReLineSource.hpp +++ b/base/ReLineSource.hpp @@ -1,11 +1,11 @@ /* * ReLineSource.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReLogger.cpp b/base/ReLogger.cpp index d85fe3f..8c2037c 100644 --- a/base/ReLogger.cpp +++ b/base/ReLogger.cpp @@ -1,11 +1,11 @@ /* * ReLogger.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReLogger.hpp b/base/ReLogger.hpp index 9c50359..a8063d4 100644 --- a/base/ReLogger.hpp +++ b/base/ReLogger.hpp @@ -1,11 +1,11 @@ /* * ReLogger.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RELOGGER_HPP diff --git a/base/ReMatcher.cpp b/base/ReMatcher.cpp index e10730f..ec7c9f0 100644 --- a/base/ReMatcher.cpp +++ b/base/ReMatcher.cpp @@ -1,11 +1,11 @@ /* - * ReQStringUtil.cpp + * ReMatcher.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReMatcher.hpp b/base/ReMatcher.hpp index 57c43b2..2bd6012 100644 --- a/base/ReMatcher.hpp +++ b/base/ReMatcher.hpp @@ -1,11 +1,11 @@ /* - * ReQStringUtil.hpp + * ReMatcher.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReProcess.cpp b/base/ReProcess.cpp index c9ccd1c..79068f9 100644 --- a/base/ReProcess.cpp +++ b/base/ReProcess.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReProcess.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "base/rebase.hpp" diff --git a/base/ReProcess.hpp b/base/ReProcess.hpp index c549d71..8f3a957 100644 --- a/base/ReProcess.hpp +++ b/base/ReProcess.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReProcess.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REPROCESS_HPP diff --git a/base/ReProgramArgs.cpp b/base/ReProgramArgs.cpp index 5156851..eb79887 100644 --- a/base/ReProgramArgs.cpp +++ b/base/ReProgramArgs.cpp @@ -1,11 +1,11 @@ /* * ReProgramArgs.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReProgramArgs.hpp b/base/ReProgramArgs.hpp index e30c72d..4363a44 100644 --- a/base/ReProgramArgs.hpp +++ b/base/ReProgramArgs.hpp @@ -1,11 +1,11 @@ /* * ReProgramArgs.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReQStringUtils.cpp b/base/ReQStringUtils.cpp index fb116eb..785a072 100644 --- a/base/ReQStringUtils.cpp +++ b/base/ReQStringUtils.cpp @@ -1,11 +1,11 @@ /* - * ReQStringUtil.cpp + * ReQStringUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ @@ -144,7 +144,7 @@ int ReQStringUtils::lengthOfUInt64(const ReString& text, int start, int radix, */ int ReQStringUtils::lengthOfUInt(const ReString& text, int start, int radix, uint* pValue) { - quint64 value; + uint64_t value; int rc = lengthOfUInt64(text, start, radix, &value); if (pValue != NULL) *pValue = (uint) value; diff --git a/base/ReQStringUtils.hpp b/base/ReQStringUtils.hpp index cb00b81..f90372a 100644 --- a/base/ReQStringUtils.hpp +++ b/base/ReQStringUtils.hpp @@ -1,11 +1,11 @@ /* - * ReQStringUtil.hpp + * ReQStringUtils.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReRandomizer.cpp b/base/ReRandomizer.cpp index 286ca08..e2dd05e 100644 --- a/base/ReRandomizer.cpp +++ b/base/ReRandomizer.cpp @@ -1,11 +1,11 @@ /* * ReRandomizer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReRandomizer.hpp b/base/ReRandomizer.hpp index 515defb..7fd1f54 100644 --- a/base/ReRandomizer.hpp +++ b/base/ReRandomizer.hpp @@ -1,11 +1,11 @@ /* * ReRandomizer.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReStringUtils.cpp b/base/ReStringUtils.cpp index 5502eb5..3dd566c 100644 --- a/base/ReStringUtils.cpp +++ b/base/ReStringUtils.cpp @@ -1,11 +1,11 @@ /* - * ReStringUtil.cpp + * ReStringUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/base/ReStringUtils.hpp b/base/ReStringUtils.hpp index a3939c4..b443eab 100644 --- a/base/ReStringUtils.hpp +++ b/base/ReStringUtils.hpp @@ -1,11 +1,11 @@ /* - * ReStringUtil.hpp + * ReStringUtils.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLSTRING_HPP diff --git a/base/ReTerminator.cpp b/base/ReTerminator.cpp index 7a87637..7e9cca8 100644 --- a/base/ReTerminator.cpp +++ b/base/ReTerminator.cpp @@ -1,11 +1,11 @@ /* * ReTerminator.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/base/ReTerminator.hpp b/base/ReTerminator.hpp index 82f0030..746d5a9 100644 --- a/base/ReTerminator.hpp +++ b/base/ReTerminator.hpp @@ -1,11 +1,11 @@ /* * ReTerminator.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLTERMINATOR_HPP diff --git a/base/ReTest.cpp b/base/ReTest.cpp index 6852e90..0c708e3 100644 --- a/base/ReTest.cpp +++ b/base/ReTest.cpp @@ -1,11 +1,11 @@ /* * ReTest.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/base/ReTest.hpp b/base/ReTest.hpp index afa6e81..f76e7c3 100644 --- a/base/ReTest.hpp +++ b/base/ReTest.hpp @@ -1,11 +1,11 @@ /* * ReTest.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RETEST_HPP diff --git a/base/ReWriter.cpp b/base/ReWriter.cpp index 272eb2c..f163bb7 100644 --- a/base/ReWriter.cpp +++ b/base/ReWriter.cpp @@ -1,11 +1,11 @@ /* * ReWriter.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/ReWriter.hpp b/base/ReWriter.hpp index d0aaaa9..49d0f71 100644 --- a/base/ReWriter.hpp +++ b/base/ReWriter.hpp @@ -1,11 +1,11 @@ /* * ReWriter.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/base/rebase.hpp b/base/rebase.hpp index c4d6aa1..464806e 100644 --- a/base/rebase.hpp +++ b/base/rebase.hpp @@ -1,11 +1,11 @@ /* * rebase.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef REBASE_HPP @@ -42,10 +42,12 @@ #include #include #include +#ifndef _NO_WIDGETS_ #include #include #include #include +#endif #include #include @@ -53,7 +55,7 @@ typedef unsigned char uint8_t; #if !defined __linux__ typedef qint64 int64_t; #endif -typedef quint64 uint64_t; +//typedef quint64 uint64_t; typedef qint32 int32_t; typedef quint32 uint32_t; typedef qreal real_t; diff --git a/base/retrace.hpp b/base/retrace.hpp index 387763d..80a8b18 100644 --- a/base/retrace.hpp +++ b/base/retrace.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * retrace.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef RETRACE_HPP diff --git a/base/testrplexample.cpp b/base/testrplexample.cpp index 19308d3..82cdcf4 100644 --- a/base/testrplexample.cpp +++ b/base/testrplexample.cpp @@ -1,11 +1,11 @@ /* * testrplexample.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ include "project.hpp" diff --git a/call_Artistic_Style.astylerc b/call_Artistic_Style.astylerc new file mode 100644 index 0000000..8ff7f0a --- /dev/null +++ b/call_Artistic_Style.astylerc @@ -0,0 +1,5 @@ +--delete-empty-lines +--indent=spaces=3 +-A2 +--align-pointer=type +--mode=c diff --git a/call_Artistic_Style.sh b/call_Artistic_Style.sh new file mode 100755 index 0000000..4cb44fc --- /dev/null +++ b/call_Artistic_Style.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +if [ ! -n "$1" ]; then +echo "Syntax is: recurse.sh dirname filesuffix" +echo "Syntax is: recurse.sh filename" +echo "Example: recurse.sh temp cpp" +exit 1 +fi + +if [ -d "$1" ]; then +#echo "Dir ${1} exists" +if [ -n "$2" ]; then +filesuffix=$2 +else +filesuffix="*" +fi + +#echo "Filtering files using suffix ${filesuffix}" + +file_list=`find ${1} -name "*.${filesuffix}" -type f` +for file2indent in $file_list +do +echo "Indenting file $file2indent" +#!/bin/bash +astyle "$file2indent" --options="./call_Artistic_Style.astylerc" + +done +else +if [ -f "$1" ]; then +echo "Indenting one file $1" +#!/bin/bash +astyle "$1" --options="./call_Artistic_Style.astylerc" + +else +echo "ERROR: As parameter given directory or file does not exist!" +echo "Syntax is: call_Artistic_Style.sh dirname filesuffix" +echo "Syntax is: call_Artistic_Style.sh filename" +echo "Example: call_Artistic_Style.sh temp cpp" +exit 1 +fi +fi diff --git a/cunit/allTests.cpp b/cunit/allTests.cpp index e82c18a..998ec7b 100644 --- a/cunit/allTests.cpp +++ b/cunit/allTests.cpp @@ -1,11 +1,11 @@ /* * allTests.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "../base/rebase.hpp" diff --git a/cunit/cuReASTree.cpp b/cunit/cuReASTree.cpp index 6ea95b4..89bfb3f 100644 --- a/cunit/cuReASTree.cpp +++ b/cunit/cuReASTree.cpp @@ -1,11 +1,11 @@ /* * cuReASTree.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReBench.cpp b/cunit/cuReBench.cpp index be3f763..0a022a6 100644 --- a/cunit/cuReBench.cpp +++ b/cunit/cuReBench.cpp @@ -1,11 +1,11 @@ /* * cuReBench.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReByteStorage.cpp b/cunit/cuReByteStorage.cpp index 1bb5030..13c80af 100644 --- a/cunit/cuReByteStorage.cpp +++ b/cunit/cuReByteStorage.cpp @@ -1,11 +1,11 @@ /* * cuReByteStorage.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/cunit/cuReCharPtrMap.cpp b/cunit/cuReCharPtrMap.cpp index 6ad49f2..0cec63d 100644 --- a/cunit/cuReCharPtrMap.cpp +++ b/cunit/cuReCharPtrMap.cpp @@ -1,11 +1,11 @@ /* * cuReCharPtrMap.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReConfig.cpp b/cunit/cuReConfig.cpp index 5738b20..afc0877 100644 --- a/cunit/cuReConfig.cpp +++ b/cunit/cuReConfig.cpp @@ -1,11 +1,11 @@ /* * cuReConfig.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReContainer.cpp b/cunit/cuReContainer.cpp index 6c3e688..62a114e 100644 --- a/cunit/cuReContainer.cpp +++ b/cunit/cuReContainer.cpp @@ -1,11 +1,11 @@ /* * cuReContainer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReCryptFileSystem.cpp b/cunit/cuReCryptFileSystem.cpp index a858966..dda3d2c 100644 --- a/cunit/cuReCryptFileSystem.cpp +++ b/cunit/cuReCryptFileSystem.cpp @@ -1,11 +1,11 @@ /* * cuReCryptFileSystem.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReEdit.cpp b/cunit/cuReEdit.cpp index 1f4ba76..a7f9a39 100644 --- a/cunit/cuReEdit.cpp +++ b/cunit/cuReEdit.cpp @@ -1,11 +1,11 @@ /* * cuReEdit.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReEnigma.cpp b/cunit/cuReEnigma.cpp index 7569990..65f41eb 100644 --- a/cunit/cuReEnigma.cpp +++ b/cunit/cuReEnigma.cpp @@ -1,11 +1,11 @@ /* * cuReEnigma.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReException.cpp b/cunit/cuReException.cpp index 51d187f..a667d48 100644 --- a/cunit/cuReException.cpp +++ b/cunit/cuReException.cpp @@ -1,11 +1,11 @@ /* * cuReException.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReFile.cpp b/cunit/cuReFile.cpp index 61fad46..003524f 100644 --- a/cunit/cuReFile.cpp +++ b/cunit/cuReFile.cpp @@ -1,11 +1,11 @@ /* * cuReFile.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReFileSystem.cpp b/cunit/cuReFileSystem.cpp index 96cef6f..870ae66 100644 --- a/cunit/cuReFileSystem.cpp +++ b/cunit/cuReFileSystem.cpp @@ -1,11 +1,11 @@ /* * cuReFileSystem.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReFileUtils.cpp b/cunit/cuReFileUtils.cpp index 2259809..c4c25d3 100644 --- a/cunit/cuReFileUtils.cpp +++ b/cunit/cuReFileUtils.cpp @@ -1,11 +1,11 @@ /* * cuReFileUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/cunit/cuReLexer.cpp b/cunit/cuReLexer.cpp index b7b0e34..3f330c6 100644 --- a/cunit/cuReLexer.cpp +++ b/cunit/cuReLexer.cpp @@ -1,11 +1,11 @@ /* * cuReLexer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReMFParser.cpp b/cunit/cuReMFParser.cpp index 95231b2..1cd4e83 100644 --- a/cunit/cuReMFParser.cpp +++ b/cunit/cuReMFParser.cpp @@ -1,11 +1,11 @@ /* * cuReMFParser.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/cunit/cuReMatcher.cpp b/cunit/cuReMatcher.cpp index 582a3f5..b261c0d 100644 --- a/cunit/cuReMatcher.cpp +++ b/cunit/cuReMatcher.cpp @@ -1,11 +1,11 @@ /* * cuReMatcher.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/cunit/cuReMatrix.cpp b/cunit/cuReMatrix.cpp index 9e6279f..87cda1a 100644 --- a/cunit/cuReMatrix.cpp +++ b/cunit/cuReMatrix.cpp @@ -1,11 +1,11 @@ /* * cuReMatrix.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReProcess.cpp b/cunit/cuReProcess.cpp index 2ca321d..a71774b 100644 --- a/cunit/cuReProcess.cpp +++ b/cunit/cuReProcess.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * cuReProcess.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ /** @file * @brief Unit test of the byte and C string storage. */ diff --git a/cunit/cuReProgArgs.cpp b/cunit/cuReProgArgs.cpp index a09ae43..2155eb0 100644 --- a/cunit/cuReProgArgs.cpp +++ b/cunit/cuReProgArgs.cpp @@ -1,11 +1,11 @@ /* - * cuReProgArguments.cpp + * cuReProgArgs.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReQStringUtils.cpp b/cunit/cuReQStringUtils.cpp index c771ff7..34e1bd0 100644 --- a/cunit/cuReQStringUtils.cpp +++ b/cunit/cuReQStringUtils.cpp @@ -1,11 +1,11 @@ /* - * cuReQStringUtil.cpp + * cuReQStringUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/cunit/cuReRandomizer.cpp b/cunit/cuReRandomizer.cpp index 6fe8698..4a06f5d 100644 --- a/cunit/cuReRandomizer.cpp +++ b/cunit/cuReRandomizer.cpp @@ -1,11 +1,11 @@ /* * cuReRandomizer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/cunit/cuReSettings.cpp b/cunit/cuReSettings.cpp index 75221a7..6072a76 100644 --- a/cunit/cuReSettings.cpp +++ b/cunit/cuReSettings.cpp @@ -1,11 +1,11 @@ /* * cuReSettings.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReSource.cpp b/cunit/cuReSource.cpp index aa588ed..031f174 100644 --- a/cunit/cuReSource.cpp +++ b/cunit/cuReSource.cpp @@ -1,11 +1,11 @@ /* * cuReSource.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReStateStorage.cpp b/cunit/cuReStateStorage.cpp index 8b6bae2..44d0f85 100644 --- a/cunit/cuReStateStorage.cpp +++ b/cunit/cuReStateStorage.cpp @@ -1,11 +1,11 @@ /* * cuReStateStorage.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReStringUtils.cpp b/cunit/cuReStringUtils.cpp index 5710186..50c4c92 100644 --- a/cunit/cuReStringUtils.cpp +++ b/cunit/cuReStringUtils.cpp @@ -1,11 +1,11 @@ /* - * cuReStringUtil.cpp + * cuReStringUtils.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReTraverser.cpp b/cunit/cuReTraverser.cpp index 84e4b6c..41dc444 100644 --- a/cunit/cuReTraverser.cpp +++ b/cunit/cuReTraverser.cpp @@ -1,11 +1,11 @@ /* * cuReTraverser.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReVM.cpp b/cunit/cuReVM.cpp index 0945102..a9e9951 100644 --- a/cunit/cuReVM.cpp +++ b/cunit/cuReVM.cpp @@ -1,11 +1,11 @@ /* * cuReVM.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/cuReWriter.cpp b/cunit/cuReWriter.cpp index be884bf..abaec54 100644 --- a/cunit/cuReWriter.cpp +++ b/cunit/cuReWriter.cpp @@ -1,11 +1,11 @@ /* * cuReWriter.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/cunit/main.cpp b/cunit/main.cpp index b1c9e8c..19adf49 100644 --- a/cunit/main.cpp +++ b/cunit/main.cpp @@ -1,11 +1,11 @@ /* * main.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReASClasses.cpp b/expr/ReASClasses.cpp index d95e383..a6023fa 100644 --- a/expr/ReASClasses.cpp +++ b/expr/ReASClasses.cpp @@ -1,11 +1,11 @@ /* * ReASClasses.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReASClasses.hpp b/expr/ReASClasses.hpp index 5f106b7..f13c5f3 100644 --- a/expr/ReASClasses.hpp +++ b/expr/ReASClasses.hpp @@ -1,11 +1,11 @@ /* * ReASClasses.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReASTree.cpp b/expr/ReASTree.cpp index f2e6ad7..ff6ccd6 100644 --- a/expr/ReASTree.cpp +++ b/expr/ReASTree.cpp @@ -1,11 +1,11 @@ /* * ReASTree.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/expr/ReASTree.hpp b/expr/ReASTree.hpp index 1c09b25..ce8c320 100644 --- a/expr/ReASTree.hpp +++ b/expr/ReASTree.hpp @@ -1,11 +1,11 @@ /* * ReASTree.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReLexer.cpp b/expr/ReLexer.cpp index 8220780..9ffa4aa 100644 --- a/expr/ReLexer.cpp +++ b/expr/ReLexer.cpp @@ -1,11 +1,11 @@ /* * ReLexer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/expr/ReLexer.hpp b/expr/ReLexer.hpp index b771e88..e081021 100644 --- a/expr/ReLexer.hpp +++ b/expr/ReLexer.hpp @@ -1,11 +1,11 @@ /* * ReLexer.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReMFParser.cpp b/expr/ReMFParser.cpp index a2b1390..2a6babe 100644 --- a/expr/ReMFParser.cpp +++ b/expr/ReMFParser.cpp @@ -1,11 +1,11 @@ /* * ReMFParser.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReMFParser.hpp b/expr/ReMFParser.hpp index bd17a7d..06a4f3f 100644 --- a/expr/ReMFParser.hpp +++ b/expr/ReMFParser.hpp @@ -1,11 +1,11 @@ /* * ReMFParser.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReParser.cpp b/expr/ReParser.cpp index 497d400..a8f1ddb 100644 --- a/expr/ReParser.cpp +++ b/expr/ReParser.cpp @@ -1,11 +1,11 @@ /* * ReParser.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReParser.hpp b/expr/ReParser.hpp index b11b00b..ebdd406 100644 --- a/expr/ReParser.hpp +++ b/expr/ReParser.hpp @@ -1,11 +1,11 @@ /* * ReParser.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReSource.cpp b/expr/ReSource.cpp index b1d8545..1b6a103 100644 --- a/expr/ReSource.cpp +++ b/expr/ReSource.cpp @@ -1,11 +1,11 @@ /* * ReSource.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ @@ -45,9 +45,9 @@ * @param reader the reader which can read the unit */ ReSourceUnit::ReSourceUnit(ReSourceUnitName name, ReReader* reader) : - m_name(name), - m_lineNo(0), - m_reader(reader) { + m_name(name), + m_lineNo(0), + m_reader(reader) { } /** @@ -107,10 +107,10 @@ ReReader* ReSourceUnit::reader() const { * @brief Constructor. */ ReSourcePosition::ReSourcePosition() : - m_sourceUnit(NULL), - m_lineNo(0), - m_column(0), - m_caller(NULL) { + m_sourceUnit(NULL), + m_lineNo(0), + m_column(0), + m_caller(NULL) { } /** @@ -121,10 +121,10 @@ ReSourcePosition::ReSourcePosition() : * @param colNo distance to the line start */ ReSourcePosition::ReSourcePosition(ReSourceUnit* unit, int lineNo, int colNo) : - m_sourceUnit(unit), - m_lineNo(lineNo), - m_column(colNo), - m_caller(NULL) { + m_sourceUnit(unit), + m_lineNo(lineNo), + m_column(colNo), + m_caller(NULL) { ReReader* reader = dynamic_cast(unit->reader()); m_caller = reader->source().caller(); } @@ -168,7 +168,7 @@ ReString ReSourcePosition::toString() const { */ char* ReSourcePosition::utf8(char buffer[], size_t bufferSize) const { qsnprintf(buffer, bufferSize, "%s:%d:%d", - m_sourceUnit == NULL ? "" : m_sourceUnit->name(), m_lineNo, m_column); + m_sourceUnit == NULL ? "" : m_sourceUnit->name(), m_lineNo, m_column); return buffer; } @@ -236,9 +236,9 @@ void ReSourcePosition::setSourceUnit(ReSourceUnit* sourceUnit) { * @param source the parent */ ReReader::ReReader(ReSource& source) : - m_currentSourceUnit(NULL), - m_units(), - m_source(source) { + m_currentSourceUnit(NULL), + m_units(), + m_source(source) { } /** @@ -312,7 +312,7 @@ void ReReader::removeSourceUnit() { * Therefore a simple allocation is possible with blocks. */ ReSourcePositionBlock::ReSourcePositionBlock() : - m_successor(NULL) + m_successor(NULL) // m_positions { memset(m_positions, 0, sizeof m_positions); @@ -329,13 +329,13 @@ ReSourcePositionBlock::ReSourcePositionBlock() : * @brief Constructor. */ ReSource::ReSource() : - m_sourcePositionStack(), - m_sourcePositionBlock(NULL), - m_countPositionBlock(RPL_POSITIONS_PER_BLOCK + 1), - m_readers(), - m_sourceUnits(), - m_unitStack(), - m_currentReader(NULL) { + m_sourcePositionStack(), + m_sourcePositionBlock(NULL), + m_countPositionBlock(RPL_POSITIONS_PER_BLOCK + 1), + m_readers(), + m_sourceUnits(), + m_unitStack(), + m_currentReader(NULL) { // the stack should never be empty: m_sourcePositionStack.push(NULL); } @@ -427,12 +427,12 @@ void ReSource::addSourceUnit(ReSourceUnit* unit) { * */ bool ReSource::startUnit(ReSourceUnitName unit, - const ReSourcePosition& caller) { + const ReSourcePosition& caller) { m_sourcePositionStack.push_back(&caller); ReReader* reader = NULL; QList::iterator it; for (it = m_readers.begin(); reader == NULL && it != m_readers.end(); - it++) { + it++) { ReReader* current = *it; if (current->openSourceUnit(unit)) { reader = current; @@ -464,7 +464,7 @@ ReSourceUnit* ReSource::popSourceUnit(ReReader* reader) { if (m_unitStack.size() > 0) m_unitStack.pop(); m_currentReader = - m_unitStack.size() <= 0 ? NULL : m_unitStack.top()->reader(); + m_unitStack.size() <= 0 ? NULL : m_unitStack.top()->reader(); if (m_currentReader == reader) rc = m_unitStack.top(); else { @@ -507,9 +507,9 @@ const ReSourcePosition* ReSource::newPosition(int colNo) { m_countPositionBlock++; char* posInBlock = &m_sourcePositionBlock->m_positions[offset]; ReSourceUnit* unit = dynamic_cast(m_currentReader - ->currentSourceUnit()); + ->currentSourceUnit()); ReSourcePosition* rc = new (posInBlock) ReSourcePosition(unit, - unit->lineNo(), colNo); + unit->lineNo(), colNo); return rc; } @@ -528,7 +528,7 @@ void ReSource::clear() { */ const ReSourcePosition* ReSource::caller() const { return - m_sourcePositionStack.size() == 0 ? NULL : m_sourcePositionStack.top(); + m_sourcePositionStack.size() == 0 ? NULL : m_sourcePositionStack.top(); } /** @class ReStringSourceUnit ReSource.hpp "expr/ReSource.hpp" @@ -545,10 +545,10 @@ const ReSourcePosition* ReSource::caller() const { * @param reader the parent */ ReStringSourceUnit::ReStringSourceUnit(ReSourceUnitName name, - const ReSourceUnitContent& content, ReStringReader* reader) : - ReSourceUnit(name, reader), - m_currentPosition(0), - m_content(content) { + const ReSourceUnitContent& content, ReStringReader* reader) : + ReSourceUnit(name, reader), + m_currentPosition(0), + m_content(content) { } /** @@ -597,7 +597,7 @@ ReSourceUnitContent ReStringSourceUnit::content() const { * @param source the parent */ ReStringReader::ReStringReader(ReSource& source) : - ReReader(source) { + ReReader(source) { } /** @@ -655,7 +655,7 @@ bool ReStringReader::nextLine(int maxSize, QByteArray& buffer, bool& hasMore) { * true: success */ bool ReStringReader::fillBuffer(int maxSize, QByteArray& buffer, - bool& hasMore) { + bool& hasMore) { ReStringSourceUnit* unit = (ReStringSourceUnit*) m_currentSourceUnit; ReSourceUnitContent content = unit->content(); int startPos = unit->currentPosition(); @@ -684,7 +684,7 @@ bool ReStringReader::fillBuffer(int maxSize, QByteArray& buffer, * @param content */ void ReStringReader::addSource(ReSourceUnitName name, - ReSourceUnitContent content) { + ReSourceUnitContent content) { // Deletion in the destructor of the base class ReReader ReStringSourceUnit* unit = new ReStringSourceUnit(name, content, this); m_units.insert(m_units.begin(), unit->name(), unit); @@ -698,10 +698,10 @@ void ReStringReader::addSource(ReSourceUnitName name, * @param content new content */ void ReStringReader::replaceSource(ReSourceUnitName name, - ReSourceUnitContent content) { + ReSourceUnitContent content) { if (m_units.contains(name)) { ReStringSourceUnit* unit = - dynamic_cast(m_units[name]); + dynamic_cast(m_units[name]); unit->m_content = content; } } @@ -714,12 +714,12 @@ void ReStringReader::replaceSource(ReSourceUnitName name, */ ReFileSourceUnit::ReFileSourceUnit(ReSourceUnitName filename, - ReFileReader* reader) : - ReSourceUnit(filename, reader), - m_currentPosition(0), - m_fp(fopen(filename, "r")), - m_textStream(m_fp, QIODevice::ReadOnly), - m_line() { + ReFileReader* reader) : + ReSourceUnit(filename, reader), + m_currentPosition(0), + m_fp(fopen(filename, "r")), + m_textStream(m_fp, QIODevice::ReadOnly), + m_line() { } /** @@ -743,7 +743,7 @@ bool ReFileSourceUnit::isOpen() const { * @brief Constructor. */ ReFileReader::ReFileReader(ReSource& source) : - ReReader(source) { + ReReader(source) { } /** @@ -836,3 +836,13 @@ void ReFileReader::addSource(ReSourceUnitName filename) { m_currentSourceUnit = unit; } +/** + * Constructor. + * + * @param filename the input file for the source + */ +ReSimpleSource::ReSimpleSource(const char* filename) : + m_reader(*this) +{ + m_reader.addSource(filename); +} diff --git a/expr/ReSource.hpp b/expr/ReSource.hpp index ce178b8..bce36f1 100644 --- a/expr/ReSource.hpp +++ b/expr/ReSource.hpp @@ -1,11 +1,11 @@ /* * ReSource.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ @@ -150,6 +150,8 @@ public: const ReSourcePosition* caller() const; protected: void destroy(); +public: + static ReSource* buildFileSource(const char* filename); protected: // stack of the info about the stacked (open) source units: QStack m_sourcePositionStack; @@ -169,7 +171,7 @@ class ReStringSourceUnit: public ReSourceUnit { friend class ReStringReader; public: ReStringSourceUnit(ReSourceUnitName name, - const ReSourceUnitContent& content, ReStringReader* reader); + const ReSourceUnitContent& content, ReStringReader* reader); virtual ~ReStringSourceUnit(); public: int currentPosition() const; @@ -224,4 +226,14 @@ public: void addSource(ReSourceUnitName filename); }; +/** + * A simple input source initialized with one file. + */ +class ReSimpleSource : public ReSource{ +public: + ReSimpleSource(const char* filename); +protected: + ReFileReader m_reader; +}; + #endif // RPLSOURCE_HPP diff --git a/expr/ReVM.cpp b/expr/ReVM.cpp index 4e4db4d..4f50f0c 100644 --- a/expr/ReVM.cpp +++ b/expr/ReVM.cpp @@ -1,11 +1,11 @@ /* * ReVM.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/ReVM.hpp b/expr/ReVM.hpp index fbeddbe..1a826b1 100644 --- a/expr/ReVM.hpp +++ b/expr/ReVM.hpp @@ -1,11 +1,11 @@ /* * ReVM.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/expr/reexpr.hpp b/expr/reexpr.hpp index e21c50a..ccab8ba 100644 --- a/expr/reexpr.hpp +++ b/expr/reexpr.hpp @@ -1,11 +1,11 @@ /* * reexpr.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReEdit.cpp b/gui/ReEdit.cpp index 074c7d6..f6b8736 100644 --- a/gui/ReEdit.cpp +++ b/gui/ReEdit.cpp @@ -1,11 +1,11 @@ /* * ReEdit.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReEdit.hpp b/gui/ReEdit.hpp index 64ea4b2..fbf1fef 100644 --- a/gui/ReEdit.hpp +++ b/gui/ReEdit.hpp @@ -1,11 +1,11 @@ /* * ReEdit.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReFileTree.cpp b/gui/ReFileTree.cpp index ea589d3..2762058 100644 --- a/gui/ReFileTree.cpp +++ b/gui/ReFileTree.cpp @@ -1,11 +1,11 @@ /* - * storage.cpp + * ReFileTree.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReFileTree.hpp b/gui/ReFileTree.hpp index 8af9ec0..de9e951 100644 --- a/gui/ReFileTree.hpp +++ b/gui/ReFileTree.hpp @@ -1,11 +1,11 @@ /* - * storage.hpp + * ReFileTree.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReGuiQueue.cpp b/gui/ReGuiQueue.cpp index 8657ef3..7a79dcc 100644 --- a/gui/ReGuiQueue.cpp +++ b/gui/ReGuiQueue.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReGuiQueue.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "base/rebase.hpp" #include "gui/regui.hpp" diff --git a/gui/ReGuiQueue.hpp b/gui/ReGuiQueue.hpp index 4ae6587..fd76ecd 100644 --- a/gui/ReGuiQueue.hpp +++ b/gui/ReGuiQueue.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReGuiQueue.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REGUIQUEUE_HPP #define REGUIQUEUE_HPP diff --git a/gui/ReGuiValidator.cpp b/gui/ReGuiValidator.cpp index d98fa3b..8ea1962 100644 --- a/gui/ReGuiValidator.cpp +++ b/gui/ReGuiValidator.cpp @@ -1,11 +1,11 @@ /* * ReGuiValidator.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReGuiValidator.hpp b/gui/ReGuiValidator.hpp index c044b36..fe238f7 100644 --- a/gui/ReGuiValidator.hpp +++ b/gui/ReGuiValidator.hpp @@ -1,11 +1,11 @@ /* * ReGuiValidator.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReSettings.cpp b/gui/ReSettings.cpp index a697836..a07cfb7 100644 --- a/gui/ReSettings.cpp +++ b/gui/ReSettings.cpp @@ -1,11 +1,11 @@ /* - * storage.cpp + * ReSettings.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReSettings.hpp b/gui/ReSettings.hpp index eb4e73d..135d639 100644 --- a/gui/ReSettings.hpp +++ b/gui/ReSettings.hpp @@ -1,11 +1,11 @@ /* - * storage.hpp + * ReSettings.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/ReStateStorage.cpp b/gui/ReStateStorage.cpp index a55668d..50a68f3 100644 --- a/gui/ReStateStorage.cpp +++ b/gui/ReStateStorage.cpp @@ -1,11 +1,11 @@ /* * ReStateStorage.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "QIODevice" diff --git a/gui/ReStateStorage.hpp b/gui/ReStateStorage.hpp index e7d6511..b44de8b 100644 --- a/gui/ReStateStorage.hpp +++ b/gui/ReStateStorage.hpp @@ -1,11 +1,11 @@ /* * ReStateStorage.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/gui/regui.hpp b/gui/regui.hpp index b459c51..ec911b2 100644 --- a/gui/regui.hpp +++ b/gui/regui.hpp @@ -1,11 +1,11 @@ /* * regui.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/guiwidget/ReFileTable.cpp b/guiwidget/ReFileTable.cpp index b341c76..0e2a028 100644 --- a/guiwidget/ReFileTable.cpp +++ b/guiwidget/ReFileTable.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReFileTable.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "guiwidget/reguiwidget.hpp" diff --git a/guiwidget/ReFileTable.hpp b/guiwidget/ReFileTable.hpp index ce9942f..fe0fcf1 100644 --- a/guiwidget/ReFileTable.hpp +++ b/guiwidget/ReFileTable.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReFileTable.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REFILETABLE_HPP #define REFILETABLE_HPP diff --git a/guiwidget/reguiwidget.hpp b/guiwidget/reguiwidget.hpp index c43e5fd..952a431 100644 --- a/guiwidget/reguiwidget.hpp +++ b/guiwidget/reguiwidget.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * reguiwidget.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef REGUIWIDGET_HPP diff --git a/math/ReEnigma.cpp b/math/ReEnigma.cpp index d1b5877..1684b31 100644 --- a/math/ReEnigma.cpp +++ b/math/ReEnigma.cpp @@ -1,11 +1,11 @@ /* * ReEnigma.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ /** @file diff --git a/math/ReEnigma.hpp b/math/ReEnigma.hpp index e026abd..54fa09a 100644 --- a/math/ReEnigma.hpp +++ b/math/ReEnigma.hpp @@ -1,11 +1,11 @@ /* * ReEnigma.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLENIGMA_HPP diff --git a/math/ReMatrix.cpp b/math/ReMatrix.cpp index 4becc05..f0770fd 100644 --- a/math/ReMatrix.cpp +++ b/math/ReMatrix.cpp @@ -1,11 +1,11 @@ /* * ReMatrix.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/math/ReMatrix.hpp b/math/ReMatrix.hpp index 047102e..e10c303 100644 --- a/math/ReMatrix.hpp +++ b/math/ReMatrix.hpp @@ -1,11 +1,11 @@ /* * ReMatrix.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/math/ReRandom.cpp b/math/ReRandom.cpp index 60146b1..7825a44 100644 --- a/math/ReRandom.cpp +++ b/math/ReRandom.cpp @@ -1,11 +1,11 @@ /* * ReRandom.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/math/ReRandom.hpp b/math/ReRandom.hpp index 265a3c2..3dad74f 100644 --- a/math/ReRandom.hpp +++ b/math/ReRandom.hpp @@ -1,11 +1,11 @@ /* * ReRandom.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RERANDOM_HPP diff --git a/math/remath.hpp b/math/remath.hpp index 56703a9..7554e01 100644 --- a/math/remath.hpp +++ b/math/remath.hpp @@ -1,11 +1,11 @@ /* * remath.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLMATH_HPP diff --git a/net/ReNetConfig.cpp b/net/ReNetConfig.cpp index 15b7be0..f782bd0 100644 --- a/net/ReNetConfig.cpp +++ b/net/ReNetConfig.cpp @@ -1,11 +1,11 @@ /* * ReNetConfig.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/net/ReNetConfig.hpp b/net/ReNetConfig.hpp index f1ac9cb..4fb5ca7 100644 --- a/net/ReNetConfig.hpp +++ b/net/ReNetConfig.hpp @@ -1,11 +1,11 @@ /* * ReNetConfig.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/net/ReTCPPeer.cpp b/net/ReTCPPeer.cpp index 603fa17..620ea66 100644 --- a/net/ReTCPPeer.cpp +++ b/net/ReTCPPeer.cpp @@ -1,11 +1,11 @@ /* * ReTCPPeer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/net/ReTCPPeer.hpp b/net/ReTCPPeer.hpp index 9367271..6cdd070 100644 --- a/net/ReTCPPeer.hpp +++ b/net/ReTCPPeer.hpp @@ -1,11 +1,11 @@ /* * ReTCPPeer.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLTCPPEER_HPP diff --git a/net/ReTCPServer.cpp b/net/ReTCPServer.cpp index 8c2b7c9..c6b5029 100644 --- a/net/ReTCPServer.cpp +++ b/net/ReTCPServer.cpp @@ -1,11 +1,11 @@ /* * ReTCPServer.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/net/ReTCPServer.hpp b/net/ReTCPServer.hpp index 2d05ebf..3aefc50 100644 --- a/net/ReTCPServer.hpp +++ b/net/ReTCPServer.hpp @@ -1,11 +1,11 @@ /* * ReTCPServer.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLTCPSERVER_HPP diff --git a/net/ReTcpClient.cpp b/net/ReTcpClient.cpp index 7c5379e..2639fd3 100644 --- a/net/ReTcpClient.cpp +++ b/net/ReTcpClient.cpp @@ -1,11 +1,11 @@ /* - * ReTCPClient.cpp + * ReTcpClient.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" diff --git a/net/ReTcpClient.hpp b/net/ReTcpClient.hpp index 24084f1..bcc80cd 100644 --- a/net/ReTcpClient.hpp +++ b/net/ReTcpClient.hpp @@ -1,11 +1,11 @@ /* - * ReTCPClient.hpp + * ReTcpClient.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RETCPCLIENT_HPP diff --git a/net/renet.hpp b/net/renet.hpp index 489f3f9..a4acbf3 100644 --- a/net/renet.hpp +++ b/net/renet.hpp @@ -1,11 +1,11 @@ /* * renet.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLNET_HPP diff --git a/os/ReCryptFileSystem.cpp b/os/ReCryptFileSystem.cpp index aa1b354..7a5c2f9 100644 --- a/os/ReCryptFileSystem.cpp +++ b/os/ReCryptFileSystem.cpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReCryptFileSystem.cpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #include "base/rebase.hpp" diff --git a/os/ReCryptFileSystem.hpp b/os/ReCryptFileSystem.hpp index 6cf9aa2..a27c2d2 100644 --- a/os/ReCryptFileSystem.hpp +++ b/os/ReCryptFileSystem.hpp @@ -1,10 +1,13 @@ /* - * Licence: + * ReCryptFileSystem.hpp + * + * (Un)License: Public Domain * You can use and modify this file without any restriction. - * There is no warranty. - * You also can use the licence from http://www.wtfpl.net/. - * The original sources can be found on https://github.com/republib. -*/ + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ #ifndef RECRYPTFILESYSTEM_HPP diff --git a/os/ReFileSystem.cpp b/os/ReFileSystem.cpp index 5347503..a99bf01 100644 --- a/os/ReFileSystem.cpp +++ b/os/ReFileSystem.cpp @@ -1,11 +1,11 @@ /* - * ReTraverser.cpp + * ReFileSystem.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/os/ReFileSystem.hpp b/os/ReFileSystem.hpp index b2675b4..58e8795 100644 --- a/os/ReFileSystem.hpp +++ b/os/ReFileSystem.hpp @@ -1,11 +1,11 @@ /* * ReFileSystem.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/os/ReTraverser.cpp b/os/ReTraverser.cpp index a8ef08c..84ce643 100644 --- a/os/ReTraverser.cpp +++ b/os/ReTraverser.cpp @@ -1,11 +1,11 @@ /* * ReTraverser.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/os/ReTraverser.hpp b/os/ReTraverser.hpp index a52f221..00d9c44 100644 --- a/os/ReTraverser.hpp +++ b/os/ReTraverser.hpp @@ -1,11 +1,11 @@ /* * ReTraverser.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/os/reos.hpp b/os/reos.hpp index ba2c10e..e9b302d 100644 --- a/os/reos.hpp +++ b/os/reos.hpp @@ -1,11 +1,11 @@ /* * reos.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/release.notes.txt b/release.notes.txt new file mode 100644 index 0000000..09dee32 --- /dev/null +++ b/release.notes.txt @@ -0,0 +1,5 @@ +Version 2015.12.25: +ReFind: +* Initial working version v2015.12.24 +Library: +* Initial version diff --git a/remodules.hpp b/remodules.hpp index 0d27c65..37ad075 100644 --- a/remodules.hpp +++ b/remodules.hpp @@ -1,11 +1,11 @@ /* * remodules.hpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #ifndef RPLMODULES_HPP diff --git a/static/ReStaticLib.cpp b/static/ReStaticLib.cpp index 1b5cdde..393eca1 100644 --- a/static/ReStaticLib.cpp +++ b/static/ReStaticLib.cpp @@ -1,11 +1,11 @@ /* * ReStaticLib.cpp * - * License: Public Domain + * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. - * You also can use this license: http://www.wtfpl.net + * More info: http://unlicense.org * The latest sources: https://github.com/republib */ diff --git a/tools/PubDomain.pl b/tools/PubDomain.pl new file mode 100755 index 0000000..99327f8 --- /dev/null +++ b/tools/PubDomain.pl @@ -0,0 +1,90 @@ +#! /usr/bin/perl +# +# Replaces the file header comment of *.cpp + *.hpp files with +# a public domain license. +# all files of the current directory and its subdirectory will be modified. +# + +use strict; + +my $s_delim = "/"; +my $s_template = "/* + * %NODE% + * + * (Un)License: Public Domain + * You can use and modify this file without any restriction. + * Do what you want. + * No warranties and disclaimer of any damages. + * More info: http://unlicense.org + * The latest sources: https://github.com/republib + */ +"; + +&oneDir("."); +exit 0; + + +sub oneFile(){ + my $filename = shift; + my $node = shift; + + my $comment = $s_template; + $comment =~ s/%NODE%/$node/; + my @expected = split(/\n/, $comment); + + open(my $INP, "<", $filename) || die "$filename: $!"; + my @lines = <$INP>; + close $INP; + my $ix; + my $equal = 1; + for ($ix = 0; $equal && $ix <= $#expected; $ix++){ + $equal = $expected[$ix] . "\n" eq $lines[$ix]; + } + if (! $equal){ + my $org = $lines[$ix-1]; + chomp $org; + my $exp = $expected[$ix-1]; + chomp $exp; + my $col = 0; + while (substr($org, $col, 1) eq substr($exp, $col, 1)){ + $col++; + } + $col++; + print "$filename differs in line $ix-$col:\n'$org'\n'$exp'\n", + '-' x $col, "^\n"; + # Remove the first comment: + if ($lines[0] =~ m!^/\*!){ + my $stop = 0; + while (! $stop && $#lines >= 0){ + $stop = index($lines[0], "*/") >= 0; + shift @lines; + } + } + open(my $OUT, ">", $filename) || die "$filename: $!"; + print $OUT $comment; + print $OUT @lines; + } +} +sub oneDir{ + my $dir = shift; + + opendir (DIR, $dir) || die; + my @files = readdir (DIR); + closedir(DIR); + + my $node; + foreach $node(@files){ + my $fn = $dir . $s_delim . $node; + next unless $node =~ /\.(cpp|hpp|java)$/; + &oneFile($fn, $node); + } + + foreach $node(@files){ + my $fn = $dir . $s_delim . $node; + next unless -d $fn; + next if $node =~ /^[.]{1,2}$/; + &oneDir($fn); + } +} + + -- 2.39.5