1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00
Commit graph

254 commits

Author SHA1 Message Date
5832ca3374 Move split_tags to common lib. 2016-05-16 09:59:10 +02:00
1192ce7c18 Warning fix on gcc 2016-05-14 16:14:58 +02:00
70ec3e10d9 Update build switches. 2016-05-14 16:10:47 +02:00
354c760a07 Use the same compiler passed to cmake for libpqtypes.
Don't bother the user with silly messages, if the compiler doesn't
work then it just won't work. But at least try, u damn script!
2016-05-13 19:54:25 +01:00
0f308455ca Implement tagging files by database id 2016-05-13 20:48:03 +02:00
537023dbfa Fix build error when passing a vector<string_ref> to query() 2016-05-13 20:46:13 +02:00
61fa9628a5 Rename AstType to GlobExpression 2016-05-13 19:22:33 +02:00
94ebfbdfcb Move git hash into a dedicated .h so less compiling happens after a commit 2016-05-13 10:21:45 +02:00
fde1355653 Enable searching by glob in locate command. 2016-05-12 20:49:11 +02:00
253af1a3ad Throw if glob parsing fails.
This also fixes the warning about an unused boolean variable.
2016-05-12 20:02:33 +02:00
217b41ace2 Add new tests for glob2regex and try to fix the failing one
glob2regex is not 100% accurate yet, but it works at least
for the cases in the accompanying unit test.
2016-05-12 10:23:47 +02:00
05aaaebe0d Import glob2regex
It's still missing ast optimization and some code cleanup is also
needed, but it should be working in the general case.
Also write a small unit test for it.
2016-05-11 20:36:23 +02:00
cfcbcce9e9 Wrong statement in cmake file 2016-05-11 20:13:59 +02:00
b6953eeaa1 Add unit test for tag splitting 2016-05-05 20:05:56 +02:00
9f6bc67c06 Update gitignore
Ignore CLion and KDevelop stuff, plus .old and .orig files.
2016-05-05 19:14:37 +02:00
6afc16fe5b Accept a comma-separated list of tags as the first parameter in tag 2016-05-05 19:10:46 +02:00
51173100bf Fix bug in excluding paths to cscope 2016-05-04 19:40:08 +02:00
da222940ca Update copyright year in -h message
Also make it nicer/easier (hopefully) to remember and to update it next
time.
2016-05-04 19:39:46 +02:00
9ae2474f58 Accept file or set ids on the command line 2016-05-04 10:04:20 +02:00
a508a22af8 New empty action "tag" 2016-05-04 09:43:54 +02:00
54eb98d8f6 Some adjustments to the post and add diaspora logo to readme. 2016-04-30 21:47:08 +02:00
eede8e3236 Update README and add posts about dindexer to the repo. 2016-04-30 21:16:58 +02:00
e636c1dc13 Version bump 0.1.5b 2016-04-30 19:43:28 +02:00
265337607e Fix segfault when no actions are found. 2016-04-30 19:41:00 +02:00
76a289df62 Improve aspect of tab-completion in navigate 2016-04-30 19:40:35 +02:00
76388be56e Refactoring in listdircontent. 2016-04-29 23:27:56 +02:00
0b6e6ad1d6 Move path composition knowledge into EntryPath. 2016-04-28 22:19:28 +02:00
489d545c60 Rename GenericPath to EntryPath. 2016-04-28 10:20:27 +02:00
b71a94ef70 Implement basic tab completion in navigate.
It doesn't work super well and it's missing set number
completion, but it's a step forward.
2016-04-28 00:05:22 +02:00
1ef879e9c1 Define all case combinations of cmake_on/off.
This saves having to remember to do STRING(TOUPPER) in every cmake file.
At times that's really not convenient if possible at all.
For example when a top-level project is guessing what option some
subproject is going to use and tries to use it for the builtin options
view. The acutal OPTION statement is not there, and it's not nice to put
a string(toupper) on a variable that seems to come from nowhere (and in
fact it might not be there at all).
2016-04-27 01:29:40 +02:00
804a02c63b Show state of WITH_NICE_MEDIA_TYPES in dindexer -b 2016-04-27 01:20:12 +02:00
72ce72273d Put definitions for CMAKE_[ON/OFF] in a common header. 2016-04-27 01:18:38 +02:00
81e5a829ad Merge remote-tracking branch 'origin/master' 2016-04-26 20:52:45 +02:00
80db74350e Disable pbl tests on drone.io and enable nice mediatype strings 2016-04-26 20:51:17 +02:00
a625f69afd Import better-enums project from github and put it to use :)
Fix build and somewhat improve the dindexer-scan --help message.
2016-04-26 20:47:29 +02:00
c21779adde Tell needed compiler features to cmake instead of -std=c++11 flag 2016-04-26 20:47:29 +02:00
6590898a36 Update pbl version (warning fix) 2016-04-26 20:47:29 +02:00
a9bb28d0a8 Include CTest instead of calling enable_testing() manually 2016-04-26 20:45:49 +02:00
6f827f89dd Update pbl version (warning fix) 2016-04-24 17:53:00 +02:00
609f5db623 Fix pbl unit tests failure 2016-04-22 20:50:27 +02:00
2a2e9e501a Forgot to remove the time from the date 2016-04-22 20:49:51 +02:00
a6b1feb958 Enable testing on drone.io 2016-04-22 01:36:17 +02:00
343c44add5 Add an option to compile the build date into dindexer's binary 2016-04-22 01:35:57 +02:00
cb9b1c3bee Update readme 2016-04-22 00:41:32 +02:00
12d39b203e Add unit tests to cmake 2016-04-21 00:25:52 +02:00
abde34e240 Add unit test for cli programs 2016-04-21 00:22:00 +02:00
e3e704c50f Bugfixes and improvements 2016-04-21 00:20:00 +02:00
653371763b Treat commands as utf8 when looking for possible mispellings 2016-04-21 00:18:20 +02:00
eaba94fa13 Don't cast malloc.
There is no need to cast the result of library functions that return void *;
it makes your code hard to read, adds no value, and can hide a bug if you don't
have a valid prototype in scope.
See http://c-faq.com/malloc/mallocnocast.html
2016-04-19 11:20:04 +02:00
c26cdb97f5 Print compiler id and version in builtin info 2016-04-19 01:04:57 +02:00