Commit Graph

65 Commits (a1f0e940b7ca978b586a1fd065dc6a0a884d0d77)

Author SHA1 Message Date
Delyan Angelov 0160c7a89d compiler: change s.line_nr in just one place in tandem with s.last_nl_pos
* compiler: change s.line_nr in just one place, so that s.last_nl_pos will be updated in tandem too.

* v test v: run repl tests again

* Show gcc version in both windows gcc cases in a) github actions, and b) travis .

* adding inline to is_name_char is_nl and contains_capital does not help actually, just increases slightly binary size.

* Cleanup spurious spaces.
2019-09-28 20:41:11 +03:00
Alexander Medvednikov dc28c787d1 travis: re-write the vget test in V 2019-09-28 14:40:09 +03:00
Dongliang Ma 46ac22f3e5 vget fixes
* refactor(tools): remove trailing spaces in vget.v

* refactor(tools): fix mix tabs and spaces

* fix(tools): vget should exit non-zero when call with invalid arguments

* refactor(tools): extract vmodules directory create and chdir logic

* feat(tools): add travis-ci check to vget
2019-09-28 14:21:52 +03:00
Alexander Medvednikov 69b498d85d CI: bring back vid test 2019-09-23 13:56:25 +03:00
joe-conigliaro 23c84516e2 compiler: error on unused imports 2019-09-23 13:42:20 +03:00
Alexander Medvednikov b10886bc21 Revert "remove Travis: GitHub CI is a lot faster and more reliable"
This reverts commit 9d1814ab81.
2019-09-23 02:18:45 +03:00
Alexander Medvednikov 9d1814ab81
remove Travis: GitHub CI is a lot faster and more reliable 2019-09-22 10:02:28 +03:00
vitalyster 059cb9cb74 cleanup make.bat and .travis.yml 2019-09-19 00:05:07 +03:00
vitalyster 377956e969 js: no need to generate ES6 classes 2019-09-19 00:03:54 +03:00
Delyan Angelov 083d747302 V.js: on linux -lm is needed 2019-09-16 22:00:59 +03:00
Alexander Medvednikov ca239fcf98
travis: another js fix 2019-09-16 21:15:33 +03:00
Alexander Medvednikov 4462404151
travis: fix js test 2019-09-16 20:53:29 +03:00
Alexander Medvednikov a81656568b travis: test JS backend 2019-09-16 19:02:16 +03:00
Alexander Medvednikov 74ec57e0e1
travis: run "v -o v compiler" 2019-09-16 14:27:23 +03:00
joe-conigliaro cbd4478b5e compiler: fix msvc empty struct & enable travis msvc 2019-09-16 13:01:07 +03:00
Alexander Medvednikov 52fc16bc8a
travis: don't run on msvc for now 2019-09-15 20:00:12 +03:00
Delyan Angelov e3bd72e8e2 travis: spawn 2 separate windows instances 2019-09-15 15:52:12 +03:00
Alexander Medvednikov f4fa81735d
travis: use ./ on windows 2019-09-14 18:39:04 +03:00
Alexander Medvednikov 05d4e8e2e8
travis: build V 4 times on Windows 2019-09-14 18:37:48 +03:00
Zaoqi d340dd79b8 travis: use xcode10.3 (#1970) 2019-09-14 13:10:05 +03:00
Alexander Medvednikov 3b4703e3b5 Revert "travis: bring back msvs test"
This reverts commit 86d95fcd22.
2019-09-04 18:47:23 +03:00
Alexander Medvednikov 86d95fcd22
travis: bring back msvs test 2019-09-04 18:25:42 +03:00
Alexander Medvednikov 2c8c6e6636
travis: don't run msvc tests for now 2019-09-04 18:01:50 +03:00
vitalyster 38d26c8080 Travis: run msvc tests 2019-09-03 20:15:08 +03:00
Vitaly Takmazov 7dd754ae74 Travis: break windows tests 2019-09-03 16:05:38 +03:00
Emily Hudson 7fc899dfd6 bootstrap: single make.bat, default msvc option for forcing gcc 2019-08-30 00:13:53 +03:00
Delyan Angelov 2d87fea074 compiler: allow passing options to v run 2019-08-27 21:08:54 +03:00
Alexander Medvednikov 57ab8546fe travis: run "v test v" instead of the mak_tests.bat wrapper 2019-08-27 13:21:05 +03:00
Delyan Angelov aa438c7c3f os: fix exec() and get_raw_line(); fix Windows tests and examples 2019-08-26 13:51:48 +03:00
Alexander Medvednikov c00be49d91
travis: disable msvc test for now 2019-08-24 03:01:37 +03:00
Emily Hudson d373b331fa ompiler: MSVC related fixes and `v test v` for windows testing
* MSVC related fixes and v test v for windows testing

* If second stage crashes on windows goto error

* use os.exec instead of system so that the error can be printed

* use -debug for osx vid

* Fix some whitespace to trigger a rebuild
2019-08-18 17:25:33 +03:00
Alexander Medvednikov 1c1c3925fc
Travis: don't install glfw for now 2019-08-17 00:57:26 +03:00
Alexander Medvednikov d3812a73d3
Travis: don't install openssl on Windows 2019-08-16 17:07:28 +03:00
Alexander Medvednikov b188ecf680 Makefile: re-write `make test` in V 2019-08-16 16:51:46 +03:00
Emily Hudson f52c68a510 compiler: bootstrap with MSVC
Add make_msvc.bat to bootstrap with msvc and test it with travis
2019-08-13 23:04:20 +03:00
Alexander Medvednikov 5e7d3c6aa9
Travis: fix macos 2019-08-08 15:42:24 +02:00
Alexander Medvednikov 2f29246c3f
Travis: build Vid 2019-08-08 15:17:10 +02:00
Alexander Medvednikov 0851848080
Travis: windows openssl fix 2019-08-06 17:23:41 +02:00
Alexander Medvednikov 9642d03e2b
Travis: replace curl with openssl on Linux 2019-08-06 17:21:30 +02:00
Alexander Medvednikov 0a0bd4014c
Travis: install openssl on Windows 2019-08-06 17:03:45 +02:00
Alexander Medvednikov e7fcc33597
Travis: macos fix 2019-08-06 13:49:13 +02:00
Alexander Medvednikov a3f7459963
Travis: install openssl on macOS 2019-08-06 13:37:25 +02:00
Alexander Medvednikov 3cd88cbb6f
travis: install glfw vpm module 2019-08-01 17:40:45 +02:00
vitalyster 37a0e6ebef Travis: run tests for Windows (#1403) 2019-07-31 19:01:52 +02:00
vitalyster fcb1f211e3 Windows Unicode I/O 2019-07-24 12:16:45 +02:00
Alexander Medvednikov 2291e9fcfe Revert "Windows Unicode support"
This reverts commit 8462e99bc5.
2019-07-24 00:24:34 +02:00
vitalyster 8462e99bc5 Windows Unicode support 2019-07-23 23:40:24 +02:00
Alexander Medvednikov d15261ac2a
Travis: use shell syntax on Windows 2019-07-21 21:21:23 +02:00
Alexander Medvednikov 9cad88bdb8
Travis: make V compile itself on Windows 2019-07-21 21:17:42 +02:00
Alexander Medvednikov 20dbe0f3a7
Travis: fix Windows attempt #1 2019-07-21 21:15:23 +02:00