Soonho Kong
f72f4cf441
fix(bin/linja): add '$' and ' ' cases to escape_ninja_char
...
This is related to #513
2015-03-28 22:38:13 -04:00
Soonho Kong
0cda3f7cbf
fix(bin/linja): only strip flycheck message in linja
...
Removing empty lines for FlyCheck messages was added by
4266b8c7a3
. We had somecases where
Flycheck messages start with an empty line instead of `FLYCHECK_BEGIN
ERROR` in Windows7 + Python2 env. I think it's because of the different
newline character problem (LF, LFCR). My solution was to remove all
empty lines, which was too much. Now, I think striping should be enoguh.
fix #512
2015-03-28 07:56:32 -04:00
Soonho Kong
d39478a028
fix(bin/linja): catch exception when parsing FlycheckItem
...
fix #452
2015-03-25 13:53:53 -04:00
Soonho Kong
d950338980
fix(bin/linja): which does not look for 'sbin'
...
Ubuntu-12/14 has two packages which provide a binary file `ninja`:
1. ninja : http://forkbomb.org/ninja/
2. ninja-build : http://martine.github.io/ninja/
We had a case where a user has ninja installed instead of ninja-build,
then linja confuses that it has ninja-build and tries to use it.
This commit excludes a directory whose name includes "sbin" in finding a
system program. As a result, `which` will not find ninja[1] which
resides at /usr/sbin.
2015-03-24 11:13:14 -04:00
Soonho Kong
4266b8c7a3
fix(bin/linja.in): filter empty lines at FlycheckItem.fromString
...
Found this bug while helping Andrew Zipperer. It happened in Windows7/8 + Python 2.7
2015-03-04 16:41:42 -05:00
Leonardo de Moura
c3e7b1f817
fix(bin/linja.in): problems on Python 3.4 for Windows
2015-02-09 18:25:31 -08:00
Leonardo de Moura
daa9bb70b7
fix(bin/linja): bug that only happens when uisng linja on Windows
2015-02-09 16:42:34 -08:00
Soonho Kong
ca16381892
feat(bin): add linja.in and LEAN_BIN_DEP cmake option
...
see the discussion in issue #422
2015-02-04 15:46:08 -08:00
Leonardo de Moura
87570740e2
feat(bin/leanemacs): allow user to provide arguments (e.g., .lean files) to leanemacs script
2015-01-31 17:41:50 -08:00
Leonardo de Moura
70d62245a6
feat(bin): add script for testing leanemacs without installing Lean
2015-01-31 17:35:20 -08:00
Leonardo de Moura
6456c2b89a
feat(CMakeLists.txt): add leanemacs.bat for Windows
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2015-01-30 14:16:57 -08:00
Leonardo de Moura
2c926478dd
feat(bin): add leanemacs startup script
2015-01-30 13:05:30 -08:00
b643063955
fix(bin/linja): upstream script updated
2015-01-23 17:04:53 -08:00
124ebda58c
fix(bin/linja): return the new klass
...
Closes #406 .
2015-01-23 13:17:45 -05:00
Soonho Kong
971b602773
fix(bin/linja): prefer local tools over system-wide ones
...
Close #396
Related issue: #394
2015-01-23 07:16:44 -05:00
b66b3a6c58
refactor(six.py): remove six.py
2015-01-22 13:05:56 -08:00
20c8bcd3fc
fix(bin/linja): python3 compatible without six.py
2015-01-22 13:05:56 -08:00
Leonardo de Moura
12674114a4
feat(shell): set default behavior to "trusted"
...
closes #402
2015-01-21 16:25:09 -08:00
Soonho Kong
69af6df69d
refactor(bin/python_lib): move six.py under bin/python_lib
...
Following @favonia 's suggestion in #393
2015-01-21 17:31:26 -05:00
Soonho Kong
a8f3dcb395
feat(bin/six.py): add six 1.9.0 (Python 2 and 3 compatibility utilities)
2015-01-21 17:13:56 -05:00
073c1d1c31
feat(python): add python 3 compatibility
...
Add Python 3 compatibility through python-six library.
Closes #393 .
2015-01-21 17:13:55 -05:00
Soonho Kong
901c9bf67a
refactor: rename ltags => leantags
...
fix #394
2015-01-18 13:44:41 +09:00
Leonardo de Moura
84715c12eb
feat(linja): add '-M' and '-T' options to linja
2015-01-15 16:54:55 -08:00
Soonho Kong
6903118900
fix(bin/ltags): open .ilean files with UTF-8 encoding
...
fix #376
2014-12-15 12:01:22 -05:00
Leonardo de Moura
2306c14337
fix(ltags): support .hlean files
2014-12-05 16:26:05 -08:00
Leonardo de Moura
0034ad9b34
feat(build): add HoTT library to build
2014-12-05 14:38:45 -08:00
Leonardo de Moura
71e1555eb4
feat(emacs): use lean-mode for .hlean
2014-12-05 14:33:22 -08:00
Leonardo de Moura
3adf5ce1e1
fix(linja): incorrect output when maximum number of errors/warnings was reached, fixes #352
2014-11-28 15:21:56 -08:00
Leonardo de Moura
44a2ef8f6f
fix(frontends/lean/parser_config): binder(s) rbp was not being saved in .olean file
2014-11-23 17:49:14 -08:00
Soonho Kong
33be645122
chore(bin/lmake): remove
2014-11-04 18:16:04 -05:00
Leonardo de Moura
bb953b80aa
feat(frontends/lean): reserve notation, closes #95
2014-10-21 15:39:47 -07:00
Soonho Kong
5c1d23d944
feat(bin/linja): remove redundant flycheck item starting with "failed to add declaration"
...
Close #247
2014-10-15 17:05:27 -07:00
Soonho Kong
c92260d9ec
feat(bin/linja): add --discard and --to_axiom options
2014-10-14 18:59:14 -07:00
Leonardo de Moura
8aa60cbc1c
chore(version): bump universe level to force .olean recompilation
2014-10-13 18:36:39 -07:00
Soonho Kong
cfa9cd116c
feat(bin/linja): add --keep-going N option
...
Related issue: #234
2014-10-08 10:23:41 -07:00
Soonho Kong
4a119a0424
fix(bin/ltags): add option --relative to handle path relatively
...
Fix #230
2014-10-07 15:07:28 -07:00
Soonho Kong
fc82857dc1
fix(bin): use "python" instead of "python2" or "python2.7"
2014-10-07 13:24:12 -07:00
Soonho Kong
14472b20eb
fix(bin/linja): add 'all' to phony target; allow multiple phony targets
2014-10-07 12:30:38 -07:00
Soonho Kong
b2c8e7d364
feat(bin/linja): delete MSYSTEM env variable on Windows
2014-10-03 17:30:29 -07:00
Soonho Kong
f8164b6a7e
feat(bin/linja): enforce path separator '\' on Windows platform
2014-10-03 17:28:00 -07:00
Soonho Kong
a25f38cd6b
fix(bin/linja): avoid using realpath on msys2
2014-10-02 17:25:14 -07:00
Soonho Kong
229caec0a4
fix(bin/linja): fix typo
2014-10-02 17:25:13 -07:00
Soonho Kong
efdf7420b5
fix(bin/linja): disable "\r" trick for messages with flycheck
2014-09-30 17:36:15 -07:00
Soonho Kong
f4e118de76
fix(bin/linja): replace '\' with '/' for flycheck output on windows
2014-09-30 15:41:12 -07:00
Soonho Kong
5deb6e10db
fix(bin/linja): use Popen.communicate instead of Popen.wait
...
Popen.wait() can cause deadlock.
Reference:
https://docs.python.org/2/library/subprocess.html#subprocess.Popen.wait
2014-09-30 15:41:08 -07:00
Soonho Kong
562cc2c8f3
feat(bin/linja): add --verbose option
2014-09-30 15:41:04 -07:00
Leonardo de Moura
be9c59b9ff
feat(linja): remove drivename to fix problems with ninja
...
Remark: this is a little bit hackish, we should look for a better solution.
2014-09-20 10:52:59 -07:00
Soonho Kong
b429b961e6
refactor(bin/linja): clean up
2014-09-20 10:06:43 -07:00
Soonho Kong
0cbe2667eb
fix(bin/linja): support windows
...
':' has a special meaning in build.ninja and has to be escaped. In
windows, ':' is used for drive names (i.e. c:).
2014-09-20 10:06:43 -07:00
Soonho Kong
a803b8fd8d
fix(bin/ltags): handle recursor specially in tags generation
...
fix #197
2014-09-15 15:17:46 -07:00