Commit Graph

381 Commits

Author SHA1 Message Date
James Roseborough
a19a389265 Rearrange number casting from lua to java 2008-08-12 00:05:23 +00:00
James Roseborough
bdcd0e7e38 Let any 'v' in __mode create a weak table. 2008-08-08 19:09:34 +00:00
James Roseborough
32e700aabd Seed random number generator. 2008-08-08 16:35:04 +00:00
James Roseborough
9f9d8872db Add misc table tests. 2008-08-07 21:10:23 +00:00
James Roseborough
8f5c27fa10 Checkpoint floating point format tests. 2008-08-07 18:30:28 +00:00
James Roseborough
6e6ab22344 Move Print into vm package. 2008-08-06 21:04:55 +00:00
James Roseborough
4a87bae45d v 0.44, drop debug support 2008-08-06 20:38:15 +00:00
James Roseborough
f42e8ef051 Tune upvalue and table item reporting 2008-07-25 00:59:30 +00:00
James Roseborough
6c3b98cc82 Improved local variable and upvalue reporting for functions. 2008-07-25 00:24:38 +00:00
James Roseborough
447bc5853a Remove many unused and unimplemented functions. 2008-07-24 18:32:02 +00:00
James Roseborough
00b14efa99 Add back code for single-threaded coroutines. 2008-07-24 14:52:45 +00:00
Ian Farmer
28f349a6fa Add partial implementation of string.format.
Not yet implemented:
(1) '#' flag (use alternate format)
(2) Floating point formats

2 digit widths and precisions are not yet tested.
2008-07-24 06:38:35 +00:00
Ian Farmer
7f1c388919 Fix build-coverage to include WTK libraries (needed for J2ME math tests.) 2008-07-24 06:35:17 +00:00
James Roseborough
27c7156e68 add j2me into coverage build 2008-07-24 05:59:43 +00:00
James Roseborough
c440d92265 version 0.42 2008-07-24 03:18:49 +00:00
James Roseborough
1170b5822f Fix coroutine error handling. 2008-07-24 03:13:50 +00:00
James Roseborough
4fcb2b1796 Fix weak table creation, processing 2008-07-24 02:47:35 +00:00
James Roseborough
cf069baf15 Let require use metatables on package.loaded. 2008-07-24 01:30:52 +00:00
James Roseborough
022202e578 Improve argument type checking. 2008-07-24 01:28:52 +00:00
James Roseborough
45e60c4b21 Improve argument type checking. 2008-07-23 23:52:20 +00:00
James Roseborough
5da65f7d41 Add test for combination of print() and tostring(), test case when tostring is changed in global environment. 2008-07-23 21:08:09 +00:00
James Roseborough
989164405d improve isolation of setfenv test. 2008-07-23 15:54:05 +00:00
James Roseborough
69135233d5 improve strlib test. 2008-07-23 14:11:56 +00:00
James Roseborough
a217f8a202 Pre-expand tables on SETLIST 2008-07-23 14:07:25 +00:00
James Roseborough
887658ae7b Fix tests with expected output 2008-07-23 13:47:15 +00:00
James Roseborough
81223754f2 Improve compatibility tests. 2008-07-22 23:52:02 +00:00
James Roseborough
ef48f8cd12 Implement string.dump 2008-07-22 22:32:28 +00:00
James Roseborough
89c38d00cc Improved argument handling. 2008-07-22 19:17:50 +00:00
James Roseborough
eae183e334 Refactor math support to build for cldc 1.1. 2008-07-22 17:50:31 +00:00
James Roseborough
9113435e57 Argument type checking on basic lib 2008-07-22 14:56:13 +00:00
James Roseborough
289a0df9f5 Add xpcall. 2008-07-22 01:20:25 +00:00
James Roseborough
80d8fccd1a Add tests for J2me platform math. 2008-07-21 23:01:59 +00:00
James Roseborough
6642b38f91 Refactor math support to provide more consistent and complete math library coverage 2008-07-21 22:12:06 +00:00
James Roseborough
467923b86e Improve arugment type checking. 2008-07-19 00:53:46 +00:00
James Roseborough
fdf4dc0d56 Improve argument type checking for coroutine, module libraries. 2008-07-19 00:31:04 +00:00
James Roseborough
0c02382673 Improve argument type checkign on string libraries. 2008-07-18 01:22:00 +00:00
James Roseborough
41ed2fa8ad Improve math lib argument type checking. 2008-07-17 23:12:48 +00:00
James Roseborough
1885f9b618 Fix table library type checking. 2008-07-17 22:44:28 +00:00
James Roseborough
06908c3b60 Improve argument type checking. 2008-07-17 18:49:43 +00:00
James Roseborough
a18c16dabb Improve argument type check tests. 2008-07-17 01:23:33 +00:00
James Roseborough
02cffe8a58 Add math library argument type check tests. 2008-07-16 22:04:15 +00:00
James Roseborough
953daeb907 Add table argument type check tests. 2008-07-16 20:04:44 +00:00
James Roseborough
ec3feacc30 Add tests for string library functions. 2008-07-16 17:38:28 +00:00
James Roseborough
8f209948f5 Add mocule argument type checking. 2008-07-15 23:58:15 +00:00
James Roseborough
07b9297adc Add coroutine library argument type check tests. 2008-07-15 22:13:12 +00:00
James Roseborough
bc279c7a9b Add argument type check tests for basic library 2008-07-15 21:51:42 +00:00
James Roseborough
33eca97351 Add argument type checks for basic library functions. 2008-07-15 18:35:38 +00:00
James Roseborough
5fcec48678 Add framework to test error messages and argument type checking. 2008-07-15 05:32:56 +00:00
James Roseborough
754fe22b18 Update test to work with fixed gsub behavior 2008-07-14 20:14:44 +00:00
James Roseborough
a4197fefd0 Add gsub tests 2008-07-14 20:14:17 +00:00