Strahinja Val Markovic
570267bbe0
Fixing cmake conf so that we can use all warnings
...
This includes using a workaround for a CMake bug.
2012-07-04 21:24:16 -07:00
Strahinja Val Markovic
a9eb277da1
Fixing brace style usage
2012-07-04 16:15:41 -07:00
Strahinja Val Markovic
4eb160ac58
Whitespace fix
2012-07-02 11:10:28 -07:00
Strahinja Val Markovic
ee2bfe8952
Fix for query capital chars in wb ratio condition
2012-06-24 18:13:35 -07:00
Strahinja Val Markovic
d18b89bceb
Fixed another bug in the word boundary condition
...
The problem was that should have been using a longest common subsequence
algorithm for the "number of word boundary character matches" calculation. Our
old approach would fail for the following case:
Query: "caafoo"
Candidate1 : "acaaCaaFooGxx"
Candidate2 : "aCaafoog"
Candidate1 needs to win. This is now also a test case.
2012-06-24 17:58:20 -07:00
Strahinja Val Markovic
9b875ca7f3
New sorting rule: char match index sum
...
The point is that we want to prefer candidates that have the query characters
"earlier" in their text, e.g. "xxabcxxx" over "xxxxxabc" for "abc" query.
2012-06-24 15:35:00 -07:00
Strahinja Val Markovic
adb31abef2
Fixing a bug with word-boundary ratio calculation
2012-06-24 15:11:58 -07:00
Strahinja Val Markovic
a8f095ec0a
Completion now off for comments and strings
2012-06-24 12:04:45 -07:00
Strahinja Val Markovic
02a1f8780c
Small refactoring of the ShouldAddIdentifier func
2012-05-12 20:42:45 -07:00
Strahinja Val Markovic
6696d79518
CursorHold is now tied to OnCursorHold func
2012-05-12 15:26:04 -07:00
Strahinja Val Markovic
8ed1c599e2
Buffer identifiers are now added on BufEnter
2012-05-12 15:23:45 -07:00
Strahinja Val Markovic
5d6e839118
Newly inserted identifiers are added immediately
2012-05-12 15:20:03 -07:00
Strahinja Val Markovic
a8e9b61f3f
Going back to 2-4 threads
2012-05-11 10:09:52 -07:00
Strahinja Val Markovic
6e1c7f8429
Optimized the use of threads somewhat
2012-05-10 22:35:08 -07:00
Strahinja Val Markovic
ba76e3f6e6
List instead of vector for storing candidates
...
This should be faster because appending to a list is O(1), and only amort. O(1)
when appending to a vector.
2012-05-10 21:56:19 -07:00
Strahinja Val Markovic
69c8afb251
Fixing compilation problems on Linux
2012-05-10 10:40:12 -07:00
Strahinja Val Markovic
2b1907e7e5
Updating gitignore to ignore the test exe
2012-05-10 10:39:50 -07:00
Strahinja Val Markovic
680a7ce979
Adding the SYSTEM flag for boost and python headers
2012-05-10 09:57:07 -07:00
Strahinja Val Markovic
4c4b806f9d
Adding .gitignore
2012-05-10 09:47:46 -07:00
Strahinja Val Markovic
787b570218
More missing files
2012-05-09 21:59:20 -07:00
Strahinja Val Markovic
41367cf3a7
Adding missing files; gitignore was a bit too trigger-happy
2012-05-09 21:54:25 -07:00
Strahinja Val Markovic
0c0ecc24c4
Using custom collection of Boost libs
2012-05-09 21:45:30 -07:00
Strahinja Val Markovic
d421c43f65
Adding const in a few more places
2012-05-07 22:27:08 -07:00
Strahinja Val Markovic
0110611996
Minimized the test code
...
Also, modified the Completer interface to facilitate the minimization of the
test code.
2012-05-07 22:10:28 -07:00
Strahinja Val Markovic
6430677f4f
Whitespace changes
2012-05-07 21:23:38 -07:00
Strahinja Val Markovic
5f5b9bd7b4
Adding -Wextra and fixing warnings from it
2012-05-06 00:01:32 -07:00
Strahinja Val Markovic
7cf580a447
Completion suggestions are now fetched async
2012-05-05 23:48:22 -07:00
Strahinja Val Markovic
7468a5a21c
Don't add candidates for "weird" buffers
2012-05-05 18:12:15 -07:00
Strahinja Val Markovic
a557d35a43
Updating some comments
2012-04-29 20:48:55 -07:00
Strahinja Val Markovic
d9299175aa
Removing some commented out code
2012-04-29 19:56:16 -07:00
Strahinja Val Markovic
903452e855
Candidates are now stored per type and filepath
2012-04-29 19:51:20 -07:00
Strahinja Val Markovic
ced1d0ad5a
Adding new candidates is now faster; + more
...
Also fixed a memory leak and started work on adding filepath-aware candidate
repos.
2012-04-29 16:36:31 -07:00
Strahinja Val Markovic
7627f87756
One more test case for RatioUtilizationTieBreak
2012-04-29 13:44:11 -07:00
Strahinja Val Markovic
fedfcb8e44
For "foo" vs "Foo", the all-lowercase one wins
2012-04-16 22:13:05 -07:00
Strahinja Markovic
9019a6f827
Test for query as prefix of candidate preference
2012-04-16 22:00:04 -07:00
Strahinja Markovic
1a08eb9ce0
Updating copyright line
2012-04-15 20:28:46 -07:00
Strahinja Markovic
cdc3bc35ec
Adding initial readme file
2012-04-15 20:14:47 -07:00
Strahinja Markovic
820e2543b6
Bugfixes and more tests
2012-04-15 20:10:39 -07:00
Strahinja Markovic
86a22c5328
Updating to gmock r405
2012-04-15 17:12:02 -07:00
Strahinja Markovic
156a1882e1
Initial import
2012-04-15 16:57:10 -07:00