Commit Graph

197 Commits

Author SHA1 Message Date
Evgeniy Dushistov
b66799f358 Merge pull request #66 from Dushistov/fix-ci
fix ci: github changed API for path/env
2020-12-10 00:42:34 +03:00
Evgeniy A. Dushistov
be5c3a35bf fix ci: github changed API for path/env 2020-12-10 00:40:14 +03:00
Evgeniy A. Dushistov
e73388c726 release 0.5.3 v0.5.3 2020-08-14 13:06:51 +03:00
Evgeniy A. Dushistov
7e8fee5e78 update translation and readme 2020-08-14 13:01:18 +03:00
Evgeniy Dushistov
bc890621a9 Merge pull request #64 from Dushistov/to-release
To release
2020-08-14 12:56:08 +03:00
Evgeniy A. Dushistov
0836551bb4 require cmake at least 3.5, and glib 2.36
this should be fine to support ubuntu 16.04 lts
2020-08-14 12:52:37 +03:00
Evgeniy A. Dushistov
824764ab50 handle possibly invalid data: origin_data == nullptr 2020-08-14 12:46:42 +03:00
Evgeniy A. Dushistov
431a5774ba fix warning 2020-08-14 12:37:21 +03:00
Evgeniy A. Dushistov
7facbe215e refactoring: run clang-format against code 2020-08-14 12:36:02 +03:00
Evgeniy Dushistov
79773d6af9 Merge pull request #63 from Dushistov/github-actions
migrate to github actions
2020-08-14 12:30:22 +03:00
Evgeniy A. Dushistov
373bd786d7 CI: remove travis and update link to README 2020-08-14 12:28:01 +03:00
Evgeniy Dushistov
cef6eb5447 Create main.yml 2020-08-14 12:22:10 +03:00
Evgeniy Dushistov
995bdc5bdb Merge pull request #61 from pavelbykov/patch-1
corrected word version
2020-07-04 22:45:27 +03:00
Pavel Bykov
581c2d2b5c corrected word version 2020-07-04 12:30:25 +02:00
Evgeniy Dushistov
958ec353ca Merge pull request #59 from guidocella/xdg
Comply with the XDG Base Directory Specification
2020-05-11 17:19:06 +03:00
Guido Cella
2fd47ba0d0 Keep searching in $HOME 2020-05-10 12:48:32 +02:00
Evgeniy Dushistov
357ca4d453 Merge pull request #60 from guidocella/typo
Typo
2020-05-10 11:40:29 +03:00
Guido Cella
3736ef0060 Typo 2020-05-10 07:19:34 +02:00
Guido Cella
3413d847c5 Comply with the XDG Base Directory Specification 2020-05-10 07:01:31 +02:00
Evgeniy A. Dushistov
780b7dd214 infra: add t_return_code to tests list 2020-03-17 17:13:25 +03:00
Evgeniy Dushistov
08461acab8 Merge pull request #57 from alcah/master
Return exit code 2 if search term not found
2020-03-17 17:09:42 +03:00
alcah
2d1a454026 add return code test 2020-03-17 23:43:16 +10:30
alcah
021e467b37 return exit code 2 if search term not found 2020-03-17 22:15:16 +10:30
Evgeniy Dushistov
a500176661 Merge pull request #44 from nickeb96/master
Added $SDCV_HISTFILE to set history file
2018-05-08 03:21:18 +03:00
nickeb96
7341675088 Moved history file path code to helper function 2018-05-07 20:08:47 -04:00
nickeb96
51f808d96c Updated man page 2018-05-07 18:02:42 -04:00
nickeb96
7719111c57 Added support for 2018-05-07 17:45:07 -04:00
Evgeniy Dushistov
51db56f7e5 Merge pull request #38 from nijel/master
Store integer magic in cache file
2017-11-14 18:52:06 +03:00
Michal Čihař
0f83f0aa0b Store integer magic in cache file
This allows to detect different endianity of machines to avoid
loading caches created with different endianity.

Fixes #36

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-14 16:39:57 +01:00
Evgeniy Dushistov
a7432338ee Merge pull request #37 from nijel/test
Use single quotes around JSON data to reduce need for escaping
2017-11-09 18:39:34 +03:00
Michal Čihař
69fe19d269 Use single quotes around JSON data to reduce need for escaping
Also use unicode escape sequence for newline to avoid problems with some
shells decoding \n even when they probably should not.
2017-11-08 22:51:23 +01:00
Evgeniy Dushistov
b9a1fba5bb Merge pull request #35 from nijel/test
Pass parameters individually to the test
2017-11-09 00:32:26 +03:00
Michal Čihař
ac2acfdcd2 Pass parameters individually to the test
This way we can properly quote path.
2017-11-08 15:38:10 +01:00
Evgeniy Dushistov
925a4bc163 Merge pull request #34 from nijel/test
Fix test execution on Debian
2017-11-08 16:59:34 +03:00
Michal Čihař
4b6486c58e Fix test execution on Debian
The default /bin/sh is probably more picky than bash.

Fixes #33
2017-11-08 14:30:37 +01:00
Evgeniy A. Dushistov
0cd29823cf ready for 0.5.2 release v0.5.2 2017-08-16 10:14:23 +03:00
Evgeniy A. Dushistov
8f16ceae59 refactoring: apply clang-format rules 2017-08-09 07:46:27 +03:00
Evgeniy A. Dushistov
d0c0a0837f fix: do not give interactive menu via pager
fixes #28
2017-08-09 07:41:33 +03:00
Evgeniy Dushistov
d5698bdf33 Merge pull request #26 from ecraven/no-fuzzy-option
Add -e for exact searches (no fuzzy matches).
2017-07-31 21:16:31 +03:00
Peter
7518be74f9 Regenerate translations in po/
Run xgettext -k_ src/*.cpp and merge with msgmerge.
2017-07-31 19:27:12 +02:00
Peter
59a821c8f9 Update man page, add -x, -j and -e.
Also fix a few typos.
2017-07-31 19:10:02 +02:00
Evgeniy A. Dushistov
c9a55c90bd update NEWS 2017-07-29 23:32:59 +03:00
Peter
e85927e562 Add -e for exact searches (no fuzzy matches).
Only exact matches (or synonyms) are returned for simple searches.
2017-07-28 11:39:34 +02:00
Evgeniy Dushistov
586215fda7 Merge pull request #25 from ecraven/add-content-types
Add additional type identifiers h,w,k
2017-07-28 00:09:29 +03:00
Peter
835dffcaf8 Add additional type identifiers h,w,k
Like for xdxf, no processing is done, the raw content is shown.
2017-07-27 08:15:45 +02:00
Evgeniy Dushistov
af6362f5df Merge pull request #23 from sleep-walker/master
fix FSF address in LICENSE
2017-07-27 00:30:30 +03:00
Evgeniy Dushistov
25dd4c8264 Merge pull request #22 from ecraven/json
Add json output, fix #6
2017-07-26 23:55:59 +03:00
Tomáš Čech
98e98d0746 fix FSF address 2017-07-26 22:39:28 +02:00
Peter
3105823e8b Add option --json-output (-j)
If given -j, format the output of -l and of searches as JSON.
2017-07-26 22:07:23 +02:00
Evgeniy A. Dushistov
edf73656aa update manpage about $(HOME)/.sdcv_ordering
This should close #5
2017-07-13 00:15:30 +03:00