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

463 commits

Author SHA1 Message Date
a10982533e Add helper scripts for wrapping cmake invocation
export_compile_commands assumes you have your working copy in
$HOME/dev/code/dindexer and you are running it from your build
directory, which is in something like
$HOME/dev/build/dindexer/<config>

It will then invoke cmake with CMAKE_EXPORT_COMPILE_COMMANDS ON
for YouCompleteMe to work. The exported .json file is
automatically symlinked into your working copy. Any previous
symlink or file is deleted from your working copy first, so if
you run this script for Release and then for Debug, the appropriate
symlink to Debug will be in your working tree.

cmake_default simply wraps export_compile_commands passing
default cmake values I normally like to use.
2016-08-02 01:21:34 +02:00
ec8e451481 Add YouCompleteMe files to gitignore 2016-08-02 00:10:35 +02:00
2e5bb32439 Improve flat_git script.
It now has a clone subcommand that does the same thing as before,
and a status subcommand that tells the user what submodules
are flattened.
2016-07-27 23:46:11 +02:00
b520b2f3d4 Try to fix error during make install. 2016-07-15 20:14:40 +01:00
f28ff13492 travis is not getting the -fPIC right for pq it seems.
Also make top-level cmake file default to Release if
no build type is given.
2016-07-15 20:02:42 +01:00
06abcab627 Fix install command for hiredis in travis script 2016-07-15 19:39:20 +01:00
32ca308982 Compile hiredis manually because the one from travis dates back to 2011 2016-07-15 19:26:42 +01:00
3cf0f95343 Add libev to travis config 2016-07-15 19:11:30 +01:00
e6ea0abe38 Update incredis, see if it fixes the build on travis 2016-07-15 19:05:01 +01:00
1b80d85d7e Fix travis config 2016-07-15 18:51:50 +01:00
53540e40d8 Fix incredis.hpp not found error. 2016-07-15 18:47:57 +01:00
ccf13d7dfe Buildfix when DINDEXER_WITH_MEDIA_AUTODETECT=off 2016-07-15 17:45:48 +01:00
ac79665c9e Need travis to build boost-regex too... 2016-07-15 17:24:12 +01:00
b84c31fb15 Buildfix on travis.
Don't include incredis when not needed, or cmake will look for hiredis.
Install hiredis and enable redis backend explicitly.
2016-07-15 17:12:40 +01:00
2467f2f12d Fix a bug with the script not detecting non-empty
directories properly. It was looking for a relative path,
but the base path would change across invocations of clone_submodules().
2016-07-15 16:55:06 +01:00
29c71c9222 Merge 2016-07-15 15:51:42 +01:00
062b927d39 Add unlicense license to flat_git. 2016-07-15 15:47:21 +01:00
7804fbccbc Import flat_git tool 2016-07-15 15:23:38 +01:00
45ff635ee1 Update list of submodules to be ignored by flat_git 2016-07-15 15:17:55 +01:00
b021c36080 Update submodules 2016-07-15 15:11:45 +01:00
29c6e084b3 Update submodules 2016-07-15 15:00:54 +01:00
5ddd8d9408 Update submodules 2016-07-15 14:55:33 +01:00
e5814a5575 Buildfix in redis backend 2016-07-14 18:13:30 +01:00
f96fa212d6 Remove Sprout - it's not used by this project anymore.
duckhandy still uses it, and it pulls it in by itself.
2016-07-14 18:04:25 +01:00
6478b45dbf Updated submodules 2016-07-14 17:31:56 +01:00
2f6c4f3dab Remove incredis and import it as a submodule. 2016-07-14 17:30:45 +01:00
7a3438def6 Fix namespaces.
Build works, except for incredis which I'm going to move out anyways.
2016-07-14 16:02:15 +01:00
a5477c99cf Import duckhandy as a submodule and fix includes. 2016-07-14 15:52:03 +01:00
aeb8dee561 Fix detection of strings starting by ../ 2016-07-14 15:36:29 +01:00
a5d9d6b716 Remove helpers from this repo.
They have been pulled out into a separate git repository.
Adding that as a submodule in an upcoming commit.
2016-07-14 15:27:11 +01:00
3edb83dce3 Add new shared_git_project module for cmake. 2016-07-14 14:05:19 +01:00
dc814b4d09 Move flatinsertin2dlist to postgresql backend.
It's the only place using that header and its use is so
specialized I struggle to even remember what it does.
2016-07-14 11:24:41 +01:00
0b10316d9e Use lexical_cast from dinhelp, not boost. 2016-07-14 11:02:06 +01:00
4e41ea1864 Move hiredis wrapper into a separate .so
...but the new cmake file has some ugly hacks. Trying to work on
the problems...
2016-07-13 15:13:59 +01:00
43e53c3740 Move pending futures count's ownership to Command.
This is to make the count global across batches created from
the same Command.
2016-07-13 14:28:32 +01:00
960f10c370 Silence verbose feedback from commands sent to Redis. 2016-07-13 12:19:52 +01:00
853fb13495 Implement find_paths_starting_by(). 2016-07-13 12:19:27 +01:00
12c062b939 Prevent values being stolen accidentally and provide proper overloads. 2016-07-13 12:17:54 +01:00
f58d7d84eb Implement find_file_details(). 2016-07-13 01:49:29 +01:00
9a84f63e54 Implement zrangebyscore(). 2016-07-13 01:49:29 +01:00
a9b979dd03 Implement zadd(). 2016-07-13 01:49:29 +01:00
d7c254e1a0 Implement find_set_details(). 2016-07-12 20:31:57 +01:00
d10ae6846d Bugfix - cope with empty scan replies.
And, don't assert if anybody tries to disconnect twice. Just do nothing.
2016-07-12 20:31:31 +01:00
4b0aa85ac2 Fix typo in enum name. 2016-07-12 19:31:52 +01:00
5e69367c2c Implement locate_sets_in_db().
It's finally got fast & easy to write! Too bad it was the last one...
2016-07-12 19:01:31 +01:00
346f7ce971 Refactor code so there is less copy paste. 2016-07-12 18:50:51 +01:00
e0eaad2587 Implement locate_sets_in_db(). 2016-07-12 18:08:10 +01:00
bcfd1287c9 Extract the boost::copy_range part into a new function.
By making a more generic function, both locate functions can
use the same code now.
2016-07-12 17:20:56 +01:00
afb2e68849 Implement locate_in_db() by hash. 2016-07-12 16:42:27 +01:00
01be1a94e5 Bugfix - files where not being stored reliably.
Some crashes were also happening.
2016-07-12 13:40:12 +01:00