Commit graph

357 commits

Author SHA1 Message Date
Alan Hamlett
258a676759 limit language detection to known file extensions, unless file contents has a vim modeline 2015-06-15 18:27:58 -07:00
Alan Hamlett
b2dcc7ccc2 v4.0.2 2015-06-11 14:17:20 -07:00
Alan Hamlett
cd37696e19 update wakatime cli to v4.0.15 to fix #19 2015-06-11 14:14:30 -07:00
Alan Hamlett
3162cbdaac escape all command arguments for shell 2015-06-10 23:38:54 -07:00
Alan Hamlett
1e2ba90f70 v4.0.1 2015-05-31 17:57:16 -07:00
Alan Hamlett
201aa07bc4 upgrade wakatime cli to v4.0.14 2015-05-31 17:50:47 -07:00
Alan Hamlett
a05fa9411f better variable naming 2015-05-20 20:15:23 -07:00
Matt Carter
06140ecd10 BUGFIX: Shell fails to execute cli.py if plugin_directory contains spaces 2015-05-21 10:21:16 +10:00
Alan Hamlett
5e8248b866 upgrade wakatime cli to v4.0.13 2015-05-16 14:39:59 -07:00
Alan Hamlett
bc2e820575 correctly display caller and lineno in log file when debug is true. 2015-05-13 03:00:19 -07:00
Alan Hamlett
81f2c1fbeb upgrade wakatime cli to v4.0.11 2015-05-12 15:02:09 -07:00
Alan Hamlett
12cbeb1ce3 prevent slowness in quickfix window to fix #24 2015-05-06 09:49:33 -07:00
Alan Hamlett
a490f364cd don't log time to git temporary files 2015-05-06 09:18:54 -07:00
Alan Hamlett
7da8bf757e don't display setup complete message every time Vim starts, only display first time setting up cfg file. 2015-05-03 22:10:32 -07:00
Alan Hamlett
93214f59c6 check for api key in config file 2015-05-03 09:52:49 -07:00
Alan Hamlett
d5d66daa53 remove code to check for api key in config file, will add back in a separate commit for readability 2015-05-03 09:52:33 -07:00
Alan Hamlett
a7d48d3507 v4.0.0 2015-05-01 16:10:44 -07:00
Alan Hamlett
ec353d8fe6 check for api key in config file to fix #23 2015-05-01 16:08:02 -07:00
Alan Hamlett
938a4004b4 format log warnings using JSON formatter 2015-04-08 13:15:53 -07:00
Alan Hamlett
96d8908396 update wakatime cli to v4.0.8 2015-04-04 11:02:28 -07:00
Alan Hamlett
f5848439ff v3.0.9 2015-04-02 17:18:15 -07:00
Alan Hamlett
c88bfed8ec upgrade wakatime cli to v4.0.7 2015-04-02 17:16:32 -07:00
Alan Hamlett
dccd4c11bd add urllib3 and urllib3.util to sys.path 2015-04-01 21:19:17 -07:00
Alan Hamlett
2da973d3f5 upgrade wakatime cli to v4.0.6 2015-03-31 15:40:03 -07:00
Alan Hamlett
4d4ea963e3 update wakatime package to v4.0.5 2015-03-31 08:41:15 -07:00
Alan Hamlett
d6816d3766 v3.0.8 2015-03-09 15:29:10 -07:00
Alan Hamlett
ed8595bf0b upgrade wakatime cli to v4.0.4 2015-03-09 15:27:37 -07:00
Alan Hamlett
8b0bdf56df upgrade wakatime-cli to v4.0.1. fixes #20. 2015-03-03 13:28:03 -08:00
Alan Hamlett
d639c5ea7b allow changing the python binary used 2015-02-12 19:19:40 -08:00
Alan Hamlett
30ce2e3067 v3.0.7 2015-02-12 19:08:59 -08:00
Alan Hamlett
8817afb3f3 upgrade external wakatime-cli to v4.0.0 2015-02-12 19:06:40 -08:00
Alan Hamlett
19b6477daa v3.0.6 2015-01-19 20:42:50 -08:00
Alan Hamlett
e6660c7008 include vim version in plugin user agent string 2015-01-19 20:42:03 -08:00
Alan Hamlett
28ec37cab4 prompt for api key after first buffer window has opened, because MacVim hangs forever waiting for user input before opening a buffer. 2015-01-19 20:36:23 -08:00
Alan Hamlett
7936938364 v3.0.5 2015-01-13 14:02:47 -08:00
Alan Hamlett
1b5ad4a34b upgrade wakatime-cli to v3.0.5 to fix #17 2015-01-13 14:01:55 -08:00
Alan Hamlett
49c30c9b89 v3.0.4 2015-01-06 11:36:39 -08:00
Alan Hamlett
7f128c1091 upgrade wakatime-cli to v3.0.4 2015-01-06 11:35:58 -08:00
Alan Hamlett
863eabb446 v3.0.3 2014-12-25 13:36:13 -06:00
Alan Hamlett
4a61bafe9d update wakatime-cli to v3.0.3 2014-12-25 13:35:39 -06:00
Alan Hamlett
027f0c27bf v3.0.2 2014-12-25 01:03:47 -06:00
Alan Hamlett
b4d81b7409 upgrade wakatime-cli to v3.0.2 2014-12-25 01:03:09 -06:00
Alan Hamlett
1803af8439 write more default config values to .wakatime.cfg INI file when creating 2014-12-24 11:58:05 -06:00
Alan Hamlett
6049959405 parse use namespaces from php files 2014-12-23 12:41:19 -06:00
Alan Hamlett
8d6185ce86 v3.0.1 2014-12-23 05:37:20 -06:00
Alan Hamlett
dcafa11324 upgrade wakatime-cli to v3.0.1 2014-12-23 05:36:34 -06:00
Alan Hamlett
8eb0ca0ce5 v3.0.0 2014-12-23 05:24:15 -06:00
Alan Hamlett
889f2585f0 upgrade wakatime-cli to v3.0.0 2014-12-23 05:22:49 -06:00
Alan Hamlett
ae002d43f8 v2.0.16 2014-12-22 00:57:20 -06:00
Alan Hamlett
8b2357ec78 upgrade wakatime-cli to v2.1.11 to fix offline logging 2014-12-22 00:55:59 -06:00
Alan Hamlett
6e9a25dee5 upgrade wakatime-cli to v2.1.10 2014-12-15 12:05:51 -06:00
Alan Hamlett
180ff31582 v2.0.15 2014-12-05 02:39:19 -08:00
Alan Hamlett
9819fd7df3 upgrade external wakatime-cli to v2.1.9 2014-12-05 02:38:35 -08:00
Alan Hamlett
20fceaef37 v2.0.14 2014-12-04 11:44:12 -08:00
Alan Hamlett
9309203a3c upgrade wakatime-cli to v2.1.8 to fix unicode decode errors 2014-12-04 11:43:20 -08:00
Alan Hamlett
048c21c084 v2.0.13 2014-11-30 22:20:46 -08:00
Alan Hamlett
cf64691fa6 upgrade wakatime-cli to v2.1.7 2014-11-30 22:19:45 -08:00
Alan Hamlett
28ee27f297 v2.0.12 2014-11-18 16:04:37 -08:00
Alan Hamlett
b0bdbf4b52 upgrade wakatime package to v2.1.6 to fix list index error when detecting subversion project. 2014-11-18 16:03:54 -08:00
Alan Hamlett
9367f15ef1 v2.0.11 2014-11-12 19:35:42 -08:00
Alan Hamlett
ce324defc4 update wakatime-cli to v2.1.4
when Python was not compiled with https support, log an error to the log file
2014-11-12 19:34:02 -08:00
Alan Hamlett
7ec0a1d703 v2.0.10 2014-11-10 15:18:26 -08:00
Alan Hamlett
79144a65aa upgrade external wakatime package to v2.1.3 to correctly detech branches for subversion projects 2014-11-10 15:18:15 -08:00
Alan Hamlett
c248c20aea v2.0.9 2014-11-03 22:53:22 -08:00
Alan Hamlett
ca4b59d29a upgrade external wakatime-cli package to v2.1.2 2014-11-03 22:51:05 -08:00
Alan Hamlett
631c61ea1c v2.0.8 2014-09-30 10:15:34 -07:00
Alan Hamlett
ed596ab372 upgrade external wakatime package to v2.1.1 2014-09-30 10:14:44 -07:00
Alan Hamlett
2134f5bbfc v2.0.7 2014-09-30 09:24:48 -07:00
Alan Hamlett
7f490fa0c8 upgrade wakatime package to v2.1.0 2014-09-30 09:23:17 -07:00
Alan Hamlett
bb9dff2c85 v2.0.6 2014-08-29 12:47:30 -07:00
Alan Hamlett
a2f1436477 use os.devnull for python2 support 2014-08-29 12:46:28 -07:00
Alan Hamlett
1509519438 upgrade external wakatime interface to v2.0.8 to supress output from svn command 2014-08-29 12:40:03 -07:00
Alan Hamlett
9043b363eb upgrade wakatime package to v2.0.7 2014-08-27 03:34:31 -07:00
Alan Hamlett
10657d8f85 v2.0.5 2014-08-07 08:29:01 -07:00
Alan Hamlett
f2a92b80fb v2.0.4 2014-07-25 02:45:35 -07:00
Alan Hamlett
a935cf636c v2.0.3 2014-06-09 15:23:56 -05:00
Alan Hamlett
a0c8165582 add files from wakatime package to git 2014-06-09 15:23:46 -05:00
Alan Hamlett
113dd03348 upgrade wakatime package to v2.0.2 2014-06-09 15:23:03 -05:00
Alan Hamlett
5d7956a6f3 add support for windows 64bit os 2014-05-28 23:14:25 -07:00
Alan Hamlett
193e009c56 v2.0.2 2014-05-26 22:44:50 -07:00
Alan Hamlett
5152c66ead don't capture exception object in queue 2014-05-26 22:43:35 -07:00
Alan Hamlett
7e0ad67680 fix executing python api interface command in windows 2014-05-26 22:39:37 -07:00
Alan Hamlett
080cef5adc always log error when action not sent to api 2014-05-26 17:17:24 -07:00
Alan Hamlett
86eebd9e8f v2.0.1 2014-05-26 14:59:47 -07:00
Alan Hamlett
0c136515c4 update wakatime package to v2.0.1 2014-05-26 14:59:04 -07:00
Alan Hamlett
60095b4668 fix bug in queue preventing actions with null values from being purged 2014-05-26 14:53:54 -07:00
Alan Hamlett
a1cfa5eee0 v2.0.0 2014-05-25 17:26:29 -07:00
Alan Hamlett
c10c4157fb bump version of wakatime package to 2.0.0 2014-05-25 17:25:24 -07:00
Alan Hamlett
fa6a6a8dd8 upgrade external wakatime package to v1.0.2 2014-05-06 17:18:08 -07:00
Alan Hamlett
d907ce8c5b change www.wakatime.com to wakatime.com 2014-03-14 13:35:11 -07:00
Alan Hamlett
d14c5492ac fix license ext 2014-03-12 17:32:05 -07:00
Alan Hamlett
ca88a8476f add license and website info to plugin header 2014-03-12 17:30:50 -07:00
Alan Hamlett
82b609cb6b v1.5.4 2014-03-05 13:50:38 -08:00
Alan Hamlett
be488455d6 upgrade external wakatime package to v1.0.1 2014-03-05 13:48:47 -08:00
Alan Hamlett
ada8c6bcf7 v1.5.3 2014-02-28 18:46:23 -08:00
Alan Hamlett
0788628b95 only save last action when sending to wakatime-cli 2014-02-28 18:46:03 -08:00
Alan Hamlett
f7138be15f v1.5.2 2014-02-05 01:00:33 -08:00
Alan Hamlett
73a360a4bd upgrade wakatime package to v1.0.0 for mercurial support 2014-02-05 00:59:30 -08:00
Alan Hamlett
8ece33c1a9 v1.5.1 2014-01-15 16:49:14 -08:00
Alan Hamlett
4d13e629c8 upgrade wakatime package to v0.5.3 2014-01-15 16:44:03 -08:00
Alan Hamlett
f2cb08a325 upgrade wakatime package to v0.5.2 2014-01-14 05:09:54 -08:00
Alan Hamlett
34eac379f6 v1.5.0 2013-12-16 11:10:43 +01:00
Alan Hamlett
25e7405794 fix #1 by removing all python code from the vim script 2013-12-16 11:07:28 +01:00
Alan Hamlett
cbe12f887c upgrade common wakatime package to v0.5.1 2013-12-13 16:37:01 +01:00
Alan Hamlett
7a977a1bb5 v1.4.0 2013-12-13 16:23:22 +01:00
Alan Hamlett
9d4ec4cfcb upgrade wakatime conf file to ~/.wakatime.cfg 2013-12-13 16:03:09 +01:00
Alan Hamlett
292546d39e upgrade common wakatime package to v0.5.0 2013-12-13 15:44:59 +01:00
Alan Hamlett
debb07a887 use non-localized datetime in log 2013-12-03 02:39:57 +01:00
Alan Hamlett
542a527b1b v1.3.1 2013-12-02 09:20:42 +01:00
Alan Hamlett
9172ef21bf decode file names with filesystem encoding, then encode as utf-8 before encoding with simplejson 2013-12-02 09:20:25 +01:00
Alan Hamlett
61611c2681 v1.3.0 2013-11-28 12:22:02 +01:00
Alan Hamlett
e17a88db6a increase send frequency from every 5 minutes to every 2 minutes 2013-11-28 12:21:48 +01:00
Alan Hamlett
f4861009f8 handle UnicodeDecodeError exceptions when json encoding log messages 2013-11-21 01:13:10 -08:00
Alan Hamlett
08135d5cd6 set project name with .wakatime-project file. upgrade wakatime package to 0.4.10. 2013-11-13 18:05:44 -08:00
Alan Hamlett
7b4a4fcaec fix #10 by ignoring all python interpreter warnings 2013-11-13 11:00:16 -08:00
Alan Hamlett
a7fa999666 replace comma with period anywhere a float gets converted to a string 2013-11-13 10:15:50 -08:00
Alan Hamlett
2a2f532d19 fix #9 replace comma with period when serializing time float 2013-11-13 10:08:13 -08:00
Alan Hamlett
b91f1c9bfc upgrade wakatime plugin 2013-11-03 11:35:59 -08:00
Alan Hamlett
ff1530db74 recognize jinja2 file extensions as HTML 2013-10-31 17:18:22 -07:00
Alan Hamlett
01b77db70e handle case where ignore patterns not defined 2013-10-28 18:06:19 -07:00
Alan Hamlett
8244e3eb81 fix bug in should_ignore function 2013-10-28 17:36:23 -07:00
Alan Hamlett
a97984f4b9 v1.2.3 2013-10-27 21:06:49 -07:00
Alan Hamlett
4b1b305d93 upgrade wakatime package to v0.4.9. adds new ignore config to .wakatime.conf to ignore files based on regex patterns. 2013-10-27 21:06:30 -07:00
Alan Hamlett
1d980331bf update language lexer translations 2013-10-26 17:59:02 -07:00
Alan Hamlett
cde423ac86 update wakatime package 2013-10-26 17:55:10 -07:00
Alan Hamlett
d664279297 upgrade wakatime package 2013-10-25 21:32:30 -07:00
Alan Hamlett
b72894f7db ignore any errors when detecting language type with pygments 2013-10-14 14:15:17 -07:00
Alan Hamlett
dd0e6624f0 v1.2.2 2013-10-13 16:44:34 -07:00
Alan Hamlett
e48c148334 upgrade wakatime plugin to v0.4.8 2013-10-13 16:44:11 -07:00
Alan Hamlett
6ba24c7214 v1.2.1 2013-09-30 22:01:50 -07:00
Alan Hamlett
ef4fc7d90c removed print 2013-09-30 22:01:30 -07:00
Alan Hamlett
19d9efcc32 upgraded wakatime package to v0.4.7 2013-09-30 22:00:41 -07:00
Alan Hamlett
66cf726cc9 upgraded wakatime package 2013-09-22 16:30:28 -07:00
Alan Hamlett
9acf01a22d v1.2.0 2013-09-22 16:22:54 -07:00
Alan Hamlett
2327ddd052 upgraded wakatime package to v0.4.6 2013-09-22 16:22:11 -07:00
Alan Hamlett
4d0235a1fe v1.1.5 2013-09-07 19:07:35 -07:00
Alan Hamlett
0d6919025c upgraded wakatime package to v0.4.5 2013-09-07 19:06:38 -07:00
Alan Hamlett
7c468d690d v1.1.4 2013-09-06 23:02:17 -07:00
Alan Hamlett
65022709f6 added simplejson from wakatime package 2013-09-06 23:01:19 -07:00
Alan Hamlett
9091b85ee9 upgraded wakatime package to v0.4.4 correctly 2013-09-06 22:58:35 -07:00
Alan Hamlett
3cc3e2af13 upgraded wakatime package to v0.4.4 2013-09-06 22:49:47 -07:00
Alan Hamlett
a0d4fdf6b8 v1.1.3 2013-09-04 23:28:37 -07:00
Alan Hamlett
ea8cbdcb67 using wakatime package v0.4.3 2013-09-04 23:27:58 -07:00
Alan Hamlett
e038db78ce v1.1.2 2013-09-04 22:32:20 -07:00
Alan Hamlett
1e1eecfdf7 upgraded wakatime package to v0.4.2 2013-09-04 22:31:27 -07:00
Alan Hamlett
0a02f7fcec v1.1.1 2013-08-25 17:14:51 -07:00
Alan Hamlett
f0b1021f17 upgraded wakatime package to v0.4.1 2013-08-25 16:35:32 -07:00
Alan Hamlett
c01307dda4 v1.1.0 2013-08-15 00:13:08 -07:00
Alan Hamlett
94432df68f upgraded wakatime package to v0.4.0 2013-08-15 00:12:23 -07:00
Alan Hamlett
4e2e868ad3 added requests package 2013-08-12 04:49:18 -07:00
Alan Hamlett
6764f608b8 v1.0.0 2013-08-12 03:32:42 -07:00
Alan Hamlett
e9aa35ec27 upgraded wakatime package to v0.3.1 2013-08-12 03:32:04 -07:00
Alan Hamlett
284d7247ee remove away prompt 2013-08-12 03:30:17 -07:00
Alan Hamlett
3d17c2dee7 upgraded wakatime package 2013-07-30 17:20:44 -07:00
Alan Hamlett
30f344d489 v0.2.6 2013-07-29 23:12:07 -07:00
Alan Hamlett
94d954517d upgraded wakatime package to v0.2.0 for Python3 support 2013-07-29 23:07:50 -07:00
Alan Hamlett
49a7878712 use python because some machines won't have python2 in PATH 2013-07-25 13:22:48 -07:00
Alan Hamlett
f075d0c8f2 swapped python version and platform in user agent 2013-07-24 10:32:26 -07:00
Alan Hamlett
459e822dda added missing sys.version_info line 2013-07-23 20:32:19 -07:00
Alan Hamlett
f403c7513e upgraded wakatime cli package to 0.1.5 2013-07-23 17:53:26 -07:00
Alan Hamlett
9505314179 updated wakatime package 2013-07-22 18:31:36 -07:00
Alan Hamlett
6d8fcbba58 v0.2.5 2013-07-22 17:30:08 -07:00
Alan Hamlett
3e69b8c66c upgraded wakatime module from wakatime/wakatime 2013-07-22 17:28:19 -07:00
jaspertandy
cd33a651e2 Fixed string errors for unexpected repo formats 2013-07-22 11:41:26 +01:00
Alan Hamlett
4d8542fba6 upgraded wakatime package to v0.1.4 2013-07-21 10:46:03 -07:00
Alan Hamlett
afd1b87527 don't send endtime when opening vim and enough time has passed since last action 2013-07-20 15:46:53 -07:00
Alan Hamlett
45d0efaa7b upgraded wakatime package to v0.1.3 2013-07-20 15:25:11 -07:00
Alan Hamlett
f52c528888 Merge pull request #2 from bentglasstube/master
Use python2
2013-07-16 09:34:05 -07:00
Alan Hamlett
79fcf339e0 version 0.2.3 2013-07-16 00:23:00 -07:00
Alan Hamlett
ebf7394a3e fixed bug where prompt would do opposite of user selection 2013-07-15 15:09:16 -07:00
Alan Berndt
bf115bb419 Use pyhton2 instead of unadorned python 2013-07-15 15:06:26 -07:00
Alan Hamlett
2b072d642f fixed float format in printf 2013-07-14 13:02:35 -07:00
Alan Hamlett
ae0c9cbbb9 converting float to int because Vim can't use mod with floats 2013-07-14 10:49:32 -07:00
Alan Hamlett
c36bf9ee36 using is_write for api attribute instead of isWrite 2013-07-13 23:21:07 -07:00
Alan Hamlett
eb84e224d3 updated wakatime package 2013-07-12 00:10:12 -07:00
Alan Hamlett
750efc6b54 fixed bugs in away function when showing duration prompt 2013-07-11 23:46:10 -07:00
Alan Hamlett
ab25c23163 version 0.2.2 2013-07-10 19:51:45 -07:00
Alan Hamlett
cbb5a9fa14 prompting user for api key if config file does not exist 2013-07-10 19:47:42 -07:00
Alan Hamlett
4dd3b4b8d2 updated wakatime.py package 2013-07-10 01:34:18 -07:00
Alan Hamlett
2053280349 fixed bug when getting last action from data file 2013-07-10 01:11:50 -07:00
Alan Hamlett
955e078e2f don't recalculate now when setting last update time 2013-07-10 00:55:42 -07:00
Alan Hamlett
02ad6aa5ce prevent writing to data file more than once in 5 seconds 2013-07-10 00:21:47 -07:00
Alan Hamlett
0860980e16 fixed bug in away function. 2013-07-10 00:05:24 -07:00
Alan Hamlett
638c32fd77 fixed bug in in ShouldPromptUser function 2013-07-09 23:49:04 -07:00
Alan Hamlett
52cc1a1346 always sending write actions 2013-07-09 23:28:15 -07:00
Alan Hamlett
300c2117a2 upgraded wakatime.py 2013-07-09 21:18:04 -07:00
Alan Hamlett
56c2b365b1 fixed bug where time lost between Frequency and Away 2013-07-09 21:13:45 -07:00
Alan Hamlett
eb0781688d upgraded wakatime.py to version 0.1.2 2013-07-09 20:15:01 -07:00
Alan Hamlett
09e67fedfe removed verbose flag 2013-07-09 15:34:03 -07:00
Alan Hamlett
e8e2b8368f fixed bug in custom logger where calling super() on old-style class throws exception. 2013-07-09 13:34:39 -07:00
Alan Hamlett
ebf6a26321 fixed some bugs having to do with floats in Vim. added --plugin to command. 2013-07-09 09:55:22 -07:00
Alan Hamlett
b2fa6cd875 be fully backwards-compatible by renaming ~/.wakatime to ~/.wakatime.conf. fix bug having to do with time variable stored as string vs float. 2013-07-08 17:09:43 -07:00
Alan Hamlett
7f58561f5e fixed type bug 2013-07-08 01:10:58 -07:00
Alan Hamlett
136494c072 removed verbose flag 2013-07-07 22:34:24 -07:00
Alan Hamlett
a58ffed60c fixed bug triggered when opening fresh vim 2013-07-07 22:18:47 -07:00
Alan Hamlett
0b07cb21bd version 0.2.1. updated to new action api scheme. 2013-07-07 21:25:06 -07:00
Alan Hamlett
61370df1ba new version 0.1.3. Cleaned up plugin. Automatically creating ~/.wakatime.log file. 2013-07-02 02:24:04 -07:00
Alan Hamlett
7d41df4edb auto create log file if does not exist 2013-07-01 21:07:38 -07:00
Alan Hamlett
e904799d68 fixed bugs in function s:allServersAway(). preventing action sent when editor first opened without file. 2013-06-25 22:58:13 -07:00
Alan Hamlett
633647ce78 supporting +clientserver when prompting if away 2013-06-25 22:02:59 -07:00