mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 06:46:13 +08:00
Polishing sources (copyrights, test refactoring).
This commit is contained in:
parent
d9316390cd
commit
4976bab73f
|
@ -1,6 +1,6 @@
|
|||
# .travis.yml Travis CI configuration file for HSTR
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
2
build/build-animated-gif.sh → build/anigif-build.sh
Normal file → Executable file
2
build/build-animated-gif.sh → build/anigif-build.sh
Normal file → Executable file
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
|
@ -1,6 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
# convert -loop 0 -delay 100 in1.png in2.png out.gif
|
||||
#
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
export FFF=`ls *.png | while read F
|
||||
do
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# MindForger knowledge management tool
|
||||
#
|
||||
# Copyright (C) 2016-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2016-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2016-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2016-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -14,7 +14,9 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Run unit tests.
|
||||
# Run unit tests: local + CI
|
||||
|
||||
# TODO calculate CORE count and use it below
|
||||
|
||||
# options
|
||||
#export OPTION_RUN_VALGRIND=yes # run test(s) w/ Valgrind (comment this line to disable)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# configure.ac Autoconf configuration file
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
2
hstr.pro
2
hstr.pro
|
@ -1,6 +1,6 @@
|
|||
# hstr.pro Qt project file for HSTR shell history compleation utility
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
10
pad.xml
10
pad.xml
|
@ -2,7 +2,7 @@
|
|||
<!--
|
||||
pad.xml PAD file for HSTR
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -51,10 +51,10 @@
|
|||
</Company_Info>
|
||||
<Program_Info>
|
||||
<Program_Name>HSTR</Program_Name>
|
||||
<Program_Version>2.1.0</Program_Version>
|
||||
<Program_Release_Month>08</Program_Release_Month>
|
||||
<Program_Release_Day>30</Program_Release_Day>
|
||||
<Program_Release_Year>2018</Program_Release_Year>
|
||||
<Program_Version>2.2.0</Program_Version>
|
||||
<Program_Release_Month>01</Program_Release_Month>
|
||||
<Program_Release_Day>01</Program_Release_Day>
|
||||
<Program_Release_Year>2020</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code>USD</Program_Cost_Other_Code>
|
||||
<Program_Cost_Other />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# snapcraft.yaml snap builder configuration
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hashset.c hash set implementation
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr.c HSTR shell history completion utility
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_blacklist.c commands to be skipped from history
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
hstr_curses.c Curses utilities
|
||||
http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_favorites.c favorite commands
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_history.c loading and processing of BASH history
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_regexp.c simplified regexp that suits HSTR needs - matching and caching
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_utils.c utilities
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hashset.h header file for hash set
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr.h header file for HSTR shell history completion utility
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_blacklist.h header file for commands to be skipped from history
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_curses.h header file for curses helpers
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_favorites.h header file for favorite commands
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_history.h header file for loading and processing of BASH history
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_regexp.h header file for simplified regexp that suits HSTR needs
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_utils.h header file for HSTR utilities
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
radixsort.h header file for radix sort implementation
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
main.c HSTR shell history completion utility main
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
radixsort.c radix sort
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
0
test/.gitignore
vendored
Normal file
0
test/.gitignore
vendored
Normal file
|
@ -1,6 +1,6 @@
|
|||
# hstr-unit-tests.pro Qt project file of UNIT tests for HSTR
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -23,7 +23,7 @@ CONFIG -= qt
|
|||
INCLUDEPATH += unity/src/c
|
||||
|
||||
# -L for where to look for library, -l for linking the library
|
||||
LIBS += -lm -lreadline -lncursesw
|
||||
LIBS += -lm -lreadline -lncursesw -ltinfo
|
||||
|
||||
SOURCES += \
|
||||
../src/hashset.c \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
test.c UNIT tests main for HSTR shell history completion utility
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
test_*.c HSTR test
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
test_*.c HSTR test
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
test_*.c HSTR test
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
test_*.c HSTR test
|
||||
|
||||
Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,13 @@
|
|||
#include <wchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef __APPLE__
|
||||
#include <curses.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#include <ncursesw/curses.h>
|
||||
#endif
|
||||
#include <readline/readline.h>
|
||||
#include <readline/chardefs.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
# Copyright (C) 2014-2020 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
Loading…
Reference in a new issue