Chen-Yu Tsai
0ab49d012f
Add basic support for C++ files
...
Include C++ files when indexing and tokenizing files.
Unfortunately due to how C++ utilizes namespaces and classes, this
currently introduces a large amount of false positives for unqualified
identifiers that look the same.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-04-10 07:45:12 +00:00
Chen-Yu Tsai
883281e446
Use os.path.splitext to split out file extension
...
Python's standard library provides a function to split out file
extensions, and it also handles dot files correctly.
Use that instead of just retrieving the last two characters of
the file name.
This should help with issue #27 .
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-04-10 07:44:25 +00:00
Mikaël Bouillot
537e6b3a7b
Change business name
2018-02-15 21:27:00 +00:00
Mikaël Bouillot
1b4c0fc7d4
Update notices to match the new license
2017-06-27 14:13:28 +02:00
Silvio Fricke
b7e1cd3215
change shebang to be more flexible
...
Python developers tend to use `virtualenv` then a fixed shebang is contra
productive.
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
2017-06-14 10:30:51 +02:00
Mikaël Bouillot
6df19c144c
Turn query into function
2017-05-10 21:41:20 +02:00
Mikaël Bouillot
6d7694dff9
Indent query body to turn into function
2017-05-10 21:20:51 +02:00
Mikaël Bouillot
7db38c24fd
Add support for virtual 'latest' version
...
Fixes #8
2017-05-01 19:14:08 +02:00
Mikaël Bouillot
471134bf85
Move version hierarchy logic to script.sh
2017-04-06 21:04:26 +02:00
Mikaël Bouillot
80e113ab99
Don't deduce type from trailing slash
...
Instead of using a trailing slash in the path to tell trees from blobs,
we actually ask git the type of the object. Also, if the object is a
tree but lacks a trailing slash, we redirect to the correct URL.
Fixes #6
2017-03-09 18:37:40 +01:00
Mikaël Bouillot
832f7c8b6d
Add license
2017-03-09 17:25:42 +01:00
Mikaël Bouillot
48594e8d72
Handle multiple definitions of the same ident in one file
...
Fixes #1
2017-02-16 13:34:16 +01:00
Mikaël Bouillot
bab7dce487
Display only indexed versions
2017-02-14 13:23:37 +01:00
Mikaël Bouillot
95b4d78337
Open database read-only for queries
2017-02-14 13:11:34 +01:00
Mikaël Bouillot
fc3cf67a97
Temporary fix: handle defs/refs discrepancy gracefully
2017-02-13 13:55:42 +01:00
Mikaël Bouillot
c22e1dcec7
Bugfix: unknown version query
2017-02-13 13:23:18 +01:00
Mikaël Bouillot
0bf34d7751
Database update script, new data format
2017-02-06 15:15:51 +01:00
Mikaël Bouillot
3f0b68a0d7
Use environment variables for paths
2017-02-06 09:50:40 +01:00
Mikaël Bouillot
abbf08646a
Split data module and add dummy element to iterators
2017-02-05 21:26:39 +01:00
Mikaël Bouillot
a479750bee
Ident query and lots of data stuff
2017-02-05 21:02:10 +01:00
Mikaël Bouillot
4135084a0f
Highlight comments
2017-02-05 11:34:33 +01:00
Mikaël Bouillot
8ad62ba1b6
Identifier matching rules
2017-02-05 11:14:48 +01:00
Mikaël Bouillot
cf0e1bd666
Directory and file queries
2017-02-05 10:27:36 +01:00
Mikaël Bouillot
10b9e273e7
Tweak script and print helpers
2017-02-05 08:38:43 +01:00
Mikaël Bouillot
2997686d70
Shell script and call from Python
2017-02-04 20:07:26 +01:00