Commit graph

491 commits

Author SHA1 Message Date
Alan Hamlett
bba2015d9b encode certfile path as utf-8 in python3 for Windows systems not using utf-8 as default filesystem encoding 2015-08-24 10:58:42 -07:00
Alan Hamlett
43c461a7cc try opening files with filesystem encoding when opening with utf-8 causes UnicodeDecodeError 2015-08-23 18:49:34 -07:00
Alan Hamlett
31a353be7a fix ImportError when non-ASCII characters in import path 2015-08-23 13:37:25 -07:00
Alan Hamlett
4e415fe4ab use pickle protocol 2 for python2/3 compatibility 2015-08-22 19:55:46 -07:00
Alan Hamlett
afc012ab63 overwrite definition of where in requests.certs for different filesystem encodings 2015-08-22 19:49:56 -07:00
Alan Hamlett
0d88d56ed8 add coveralls badge 2015-08-13 12:57:38 -07:00
Alan Hamlett
a30c17f4dc add coveralls.io support 2015-08-13 12:55:32 -07:00
Alan Hamlett
85de7a3deb test python dependency detection and --alternate-project argument 2015-08-12 15:03:39 -07:00
Alan Hamlett
5ec3cebcdf allow tests to run on any branch 2015-08-12 14:36:35 -07:00
Alan Hamlett
3c6ef2dcc9 detect correct project and branch for travis-ci 2015-08-12 14:28:21 -07:00
Alan Hamlett
26024af1a2 more tests for wakatime.base 2015-08-12 14:21:32 -07:00
Alan Hamlett
4eab860dc0 increase test coverage 2015-08-12 11:04:11 -07:00
Alan Hamlett
f818a64d3d always parse args from sys.argv 2015-08-12 10:28:01 -07:00
Alan Hamlett
271e457654 remove unused config file 2015-08-11 19:10:13 -07:00
Alan Hamlett
4284fe9415 look for correct stdout 2015-08-11 19:06:01 -07:00
Alan Hamlett
ca486e2ac6 remove unused sample output 2015-08-11 19:00:09 -07:00
Alan Hamlett
cc522f8b62 improve tests by capturing stderr 2015-08-11 18:59:29 -07:00
Alan Hamlett
5d5b79d445 stop supporting old config file format 2015-08-11 16:38:17 -07:00
Alan Hamlett
b3e3e76998 run tox tests in all supported python environments 2015-08-11 14:56:01 -07:00
Alan Hamlett
5bf7b534f2 use unittest2 on py26 to fix tests 2015-08-11 14:53:35 -07:00
Alan Hamlett
1e2a9b2a44 use tox for testing in different python environments 2015-08-11 14:04:16 -07:00
Alan Hamlett
058cb4ddcf python 3.2 not supported by pygments, so drop support for py3.2 2015-08-11 13:57:56 -07:00
Alan Hamlett
7b4711ad54 fallback to builtin json module when importing simplejson fails 2015-08-11 13:52:14 -07:00
Alan Hamlett
337e4bae5b upgrade simplejson to v3.8.0 2015-08-11 12:21:27 -07:00
Alan Hamlett
d36592e1c5 correctly mock packaged requests library 2015-08-11 12:15:35 -07:00
Alan Hamlett
8e8c0154d6 --apikey argument needed 2015-08-11 11:56:24 -07:00
Alan Hamlett
9cbdf1d54f use new travis-ci container builds 2015-08-11 11:55:13 -07:00
Alan Hamlett
cbc032e44b use travis-ci to run tests 2015-08-11 11:52:43 -07:00
Alan Hamlett
4a5e2d9328 first tests, and disable logging while testing 2015-08-11 11:19:22 -07:00
Alan Hamlett
fb97fafb37 pypi expects absolute urls 2015-08-11 10:39:25 -07:00
Alan Hamlett
a2b0978795 format rst so pypi can render it 2015-08-11 10:38:01 -07:00
Alan Hamlett
c81f7e382c fix rst formatting 2015-08-11 10:28:32 -07:00
Alan Hamlett
94670d9c87 setup nose for testing 2015-08-11 10:24:44 -07:00
Alan Hamlett
ccb0b11ffb only use lexer if one was found 2015-08-10 20:10:09 -07:00
Alan Hamlett
e8f2d75927 use os.path.splitext everywhere 2015-08-10 18:32:17 -07:00
Alan Hamlett
2da75aa119 use C++ for header file language if directory contains C++ files 2015-08-10 18:17:50 -07:00
Alan Hamlett
bd68a7767e update Xcode troubleshooting section 2015-08-10 11:53:29 -07:00
Alan Hamlett
0b717a93ba update Xcode troubleshooting section 2015-08-10 11:52:50 -07:00
Alan Hamlett
2daf2ec62e update history for v4.1.1 2015-08-10 11:46:06 -07:00
Alan Hamlett
82f9fcb5d4 Revert "Revert "upgrade requests package to v2.7.0""
This reverts commit 052f255a0c.
2015-08-10 11:43:35 -07:00
Alan Hamlett
6e9e8a9ce2 move language rules to server, detect header files
- move language translations to api server
- move extension rules to api server
- detect correct header file language based on presence of .cpp or .c
  files named the same as the .h file
2015-08-10 11:33:39 -07:00
Alan Hamlett
01ed25f948 upgrade argparse to v1.3.0 2015-08-04 14:42:42 -07:00
Alan Hamlett
052f255a0c Revert "upgrade requests package to v2.7.0"
This reverts commit f5357a9e7b.
2015-07-31 13:25:57 -07:00
Alan Hamlett
85ab611632 handle non-ASCII characters in import path 2015-07-27 14:59:10 -07:00
Alan Hamlett
f5357a9e7b upgrade requests package to v2.7.0 2015-07-24 13:16:52 -07:00
Alan Hamlett
72d9390832 using Output window for Visual Studio logging 2015-07-22 22:59:19 -07:00
Alan Hamlett
739fe4ba99 rename workplace to hostname 2015-07-03 22:51:26 -07:00
Alan Hamlett
f10faca3ee Merge pull request #31 from gandarez/master
Added X-Machine-Name header
2015-07-03 22:41:23 -07:00
Carlos Henrique Gandarez
d6ca2fa489 Added header X-Machine-Name to act as workplace 2015-07-03 21:42:19 -03:00
Carlos Henrique Gandarez
941c72c468 Merge remote-tracking branch 'upstream/master'
Conflicts:
	wakatime/base.py
2015-07-03 21:41:24 -03:00