61 Commits

Author SHA1 Message Date
mihacooper
c5e5123341
Windows CI (#167)
Windows CI on Github Actions
2022-02-27 16:16:51 +03:00
mihacooper
925494e7d5
impl_c_function_support (#170)
Implement C function support
2022-02-23 15:28:43 +03:00
mihacooper
2333863a68
Issue #160: make thread runner shared table (#168)
Issue #160: make thread runner shared table
2022-02-22 23:37:55 +03:00
mihacooper
b3380a7879
Fix raise condition in GC objects construction (#154)
* Fix raise condition in GC objects construction

* review fixes
2020-09-19 19:53:07 +03:00
Federico Pellegrin
d603a7bcee
Fix trivial typo on gc message (#149) 2020-06-01 10:42:04 +03:00
mihacooper
89e98f9d4d
Fix metatable serialization/deserialization and __eq operator logic (#144) 2020-03-04 10:07:05 +03:00
mihacooper
616fdb86cc
table support in __index metamethod (#143)
* table support in __index metamethod

* fix after merge
2020-03-03 19:34:56 +03:00
mihacooper
cfe78b12b0
Impl effil.next function (#142) 2020-02-29 11:19:17 +03:00
mihacooper
fd7a981d88
Dump table (effil.table -> table) (#134)
implement effil.dump()
2020-02-16 18:55:14 +03:00
mihacooper
bcb5b92996 Dont customize package.cpath in tests (#122) 2018-11-25 01:12:20 +03:00
mihacooper
51552e5f01 Fix race condition in channel (#112)
* Fix race condition in channel

* add test
2018-11-11 21:05:26 +03:00
mihacooper
2e4e219b85 Upvalues: replace upvalue only if it's equal to _G (#110) 2018-10-18 02:08:35 +03:00
Ilia
c5d94ec465 Add hardware_threads() function (#111)
* Add hardware_threads() function
2018-10-17 12:54:41 +03:00
mihacooper
d189d67349 Get rid of effil.lua and allow to capture api in upvalue (#107) 2018-10-10 19:39:07 +03:00
mihacooper
e313e58ea3 GC: change collection trigger (#108) 2018-10-02 16:18:03 +03:00
mihacooper
3366aae6f2 Update travis config to use hererocks (#105) 2018-05-16 00:55:10 +03:00
mihacooper
1df5e73f49 Implement stacktrace collecting (#95) 2017-10-22 14:08:24 +03:00
mihacooper
e84fbb32f4 Function upvalues implementation (#86) 2017-10-19 22:49:51 +03:00
mihacooper
f77391baa5 hold strong ref for returned objects (#91) 2017-10-18 10:15:33 +03:00
mihacooper
c9cabe622d fixes (#84)
FIx tests for Lua5.1 and update u-test
2017-10-12 00:30:34 +03:00
Andy Li
864c240cdd Actually running tests in Appveyor (#87)
Implement test run for AppVeyor and adapt them for Windows
2017-10-10 12:17:05 +03:00
mihacooper
196162bec1 fix CI: use hererocks for Lua5.3 on Linux (#89) 2017-10-09 18:23:48 +03:00
mihacooper
0843512713 Fix methods params handling (#74) 2017-09-29 00:22:15 +03:00
Ilia
b8ab05f667 Fix GC related bugs (#73)
* Fix GC related bugs
* Fix GCC compilation
* Remove semicolons
* Remove refs_ from SharedTable
2017-09-28 11:45:43 +03:00
mihacooper
5a69ad0a97 fixes to build effil on windows (#71) 2017-09-25 21:06:00 +03:00
Ilia
2c42a76a1f Add rockspec (#68) 2017-09-20 22:31:54 +03:00
mihacooper
7e479f9f0a Fix bug in thread.returns test (#70) 2017-09-15 14:23:29 +03:00
mihacooper
641d111c23 Fix strong reference race in GC (#65)
* Fix strong reference race in GC
* Add regress test
* Fix type stored in StoredObject
* Fix thread input arguments lifetime
2017-09-11 15:39:47 +03:00
mihacooper
5aa43c0b8a Fix pause hanging (#61) 2017-09-10 20:28:38 +01:00
mihacooper
736cf8d96d Implement pairs and ipairs for Lua5.1/LuaJIT (#66)
* impl global pairs and ipairs methods and update tests

* fixes for review
2017-09-10 20:24:35 +01:00
Ilia
e4652ade19 Code cleanup (#57)
- remove docs dir
- remove .clang-format
2017-07-22 00:31:28 +03:00
Ilia
637fff6603 Add CI support for Lua5.1/5.3 and LuaJit(Rebase original extend_CI) (#55) 2017-07-02 18:16:17 +03:00
mihacooper
a2394d4be4 invent support for 5.1 and 5.3 (#53) 2017-06-22 00:05:57 +03:00
mihacooper
720c3aeac4 implement shared_table constructor (#52) 2017-06-18 18:40:30 +03:00
Ilia
6b77d9f9ec Cancel in yield 2 (#50) 2017-06-12 14:50:00 +03:00
Ilia
7947d7af17 From luaunit to u-test (#46)
From luaunit to u-test
2017-06-10 14:13:31 +03:00
Ilia
4e5e3e9c18 Implement effil.type
Implement effil.type and test
2017-05-23 13:13:11 +03:00
mihacooper
5057116136 Channels implementation and tests (#42)
Channel implementation
2017-04-16 22:58:21 +03:00
Ilia
64628c1757 GC API for lua (#43)
Almost old gc api, but:
rebased on new master
GC::State -> enabled_ flag
release lua state as soon as possible
2017-04-16 14:08:24 +03:00
mihacooper
6d20b0ff03 Add global G and test (#41)
Global effil.G for all states
2017-04-14 16:38:16 +03:00
mihacooper
cac3cd09e7 Dealing with userdata types and metatable (#35)
* merge fixes

* add Lua version logging to test

* move StoredObject to shared_ptr

* rewrite metamethods impl

* fix for SEGFAULT, I hope
2017-04-06 18:54:00 +03:00
Ilia
c09adc8115 Brand new threading API (#32)
Brand new threading API
2017-04-04 15:48:38 +03:00
Ilia Udalov
10e7bd7131 lua test fixes
effil as lua library
2017-03-10 16:33:14 +03:00
Ilia Udalov
53a6d812a1 Fix naming 2017-03-05 02:34:28 +03:00
Ilia Udalov
e8bbb5d293 Fix codestyle 2017-02-18 14:06:30 +03:00
mihacooper
ac77c4444e review comments impl 2017-02-14 22:55:34 +03:00
mihacooper
8bb6f16db1 Add pairs, ipairs and length operators to shared table 2017-02-11 18:55:21 +03:00
Ilia Udalov
9d9d1d2e36 Initial Garbage collector impl 2017-02-08 00:06:26 +03:00
mihacooper
bcaae638d0 extend threading API 2017-02-07 11:02:31 +03:00
Ilia Udalov
d07a9b94cf Change file structure 2017-01-25 00:01:35 +03:00