mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 14:56:14 +08:00
HSTR can be build w/ qmake, polishing copyright years.
This commit is contained in:
parent
11bf4442f6
commit
be8cf523e9
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,3 +15,4 @@ Makefile
|
|||
Makefile.in
|
||||
*.o
|
||||
*.snap
|
||||
hstr.pro.user
|
||||
|
|
16
.travis.yml
16
.travis.yml
|
@ -1,4 +1,18 @@
|
|||
# .travis.yml for HSTR
|
||||
# .travis.yml Travis CI configuration file for HSTR
|
||||
#
|
||||
# Copyright (C) 2014-2018 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.
|
||||
|
||||
language: c
|
||||
|
||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Filip Szymański <fszymanski at, fedoraproject.org>
|
||||
|
||||
pkgname=hstr
|
||||
pkgver=1.25
|
||||
pkgver=1.27
|
||||
pkgrel=1
|
||||
pkgdesc="A command line utility that brings improved BASH command completion from the history. It aims to make completion easier and more efficient than Ctrl-r."
|
||||
arch=('any')
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
AC_PREREQ([2.69])
|
||||
|
||||
AC_INIT(hh, 1.25, martin.dvorak@mindforger.com)
|
||||
AC_INIT(hh, 1.27.0, martin.dvorak@mindforger.com)
|
||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile])
|
||||
|
||||
# Checks for src dir existence.
|
||||
|
|
46
hstr.pro
Normal file
46
hstr.pro
Normal file
|
@ -0,0 +1,46 @@
|
|||
# hstr.pro Qt project file for HSTR
|
||||
#
|
||||
# Copyright (C) 2014-2018 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.
|
||||
|
||||
TEMPLATE = app
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG -= qt
|
||||
|
||||
QMAKE_CXX = ccache g++
|
||||
|
||||
# -L where to look for library, -l link the library
|
||||
LIBS += -lm -lreadline -lncursesw
|
||||
|
||||
SOURCES += \
|
||||
src/hashset.c \
|
||||
src/hstr_blacklist.c \
|
||||
src/hstr_curses.c \
|
||||
src/hstr_favorites.c \
|
||||
src/hstr_history.c \
|
||||
src/hstr_regexp.c \
|
||||
src/hstr_utils.c \
|
||||
src/hstr.c \
|
||||
src/radixsort.c
|
||||
|
||||
HEADERS += \
|
||||
src/include/hashset.h \
|
||||
src/include/hstr_blacklist.h \
|
||||
src/include/hstr_curses.h \
|
||||
src/include/hstr_favorites.h \
|
||||
src/include/hstr_history.h \
|
||||
src/include/hstr_regexp.h \
|
||||
src/include/hstr_utils.h \
|
||||
src/include/radixsort.h
|
2
pad.xml
2
pad.xml
|
@ -2,7 +2,7 @@
|
|||
<!--
|
||||
pad.xml PAD file for HSTR
|
||||
|
||||
Copyright (C) 2015-2018 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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.
|
||||
|
|
|
@ -246,8 +246,9 @@ static const char *HELP_STRING=
|
|||
"\nHome page: https://github.com/dvorka/hstr"
|
||||
"\n";
|
||||
|
||||
// major.minor.revision
|
||||
static const char *VERSION_STRING=
|
||||
"hh version \"1.25\" (2018-05-06T19:30:00)"
|
||||
"hh version \"1.27.0\" (2018-08-1T13:00:00)"
|
||||
"\n";
|
||||
|
||||
// TODO help screen - curses window (tig)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
hstr_blacklist.c commands to be skipped from history
|
||||
|
||||
Copyright (C) 2014 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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_escape_chars.c A test for verification of escape/special chars handling
|
||||
|
||||
Copyright (C) 2014 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 A test for regular expression based matching
|
||||
|
||||
Copyright (C) 2014 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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 Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Copyright (C) 2014-2018 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