Commit graph

555 commits

Author SHA1 Message Date
David Brown
db18774de1 Allow SYSTEM.VAL of constant in CONST and use in Heap.Mod. 2016-09-03 17:47:55 +01:00
David Brown
a730d6c96b Switch SYSTEM.h uintptr type from int64 to size_t, 32 bit working again. 2016-09-03 12:01:04 +01:00
David Brown
cdd8a26481 Moving Heap.Mod to SYSTEM.UINTPTR. Only 64 bit working for now. 2016-09-03 11:56:17 +01:00
David Brown
11de6b8512 uintptr for alloc/free, some sys fns from LONGINT to int64. 2016-09-02 13:02:44 +01:00
David Brown
fdaa5ec81b Fix outdated CARD32 type in PlatformWindows. 2016-09-01 14:53:23 +01:00
David Brown
6851833a1e Remove some temporary bottstrapping types. Change 'U_' to 'u'. 2016-09-01 14:45:23 +01:00
David Brown
ee8342ef0d Moving to config independent types stage 1 - generate intxx types. 2016-09-01 14:14:06 +01:00
David Brown
159f5a3d80 Update bootstrap source and snapshot binaries 2016-09-01 12:04:17 +01:00
David Brown
68cf60c401 Renumber forms removing gaps for SInt and LInt. 2016-08-31 18:46:03 +01:00
David Brown
a1fd798f6d Remove all use of forms SInt and LInt and remove intSet using just Int instead. 2016-08-31 18:33:53 +01:00
David Brown
0508097ffe Base expression casting on C int size, remove dependencies on form=LInt. 2016-08-31 17:15:44 +01:00
David Brown
b3c71fb2f0 Include int size in .sym files, fix __IN for out of range values, better naming. 2016-08-30 19:01:24 +01:00
David Brown
a33e38cf6c Add OutSize and InTyp procedures for integer symbol handling. 2016-08-29 18:34:46 +01:00
David Brown
7d7579a36d Remove unused AlignSize proc, and clean sym files before compiler build. 2016-08-29 17:47:54 +01:00
David Brown
5033d09f32 Record constant size in symbol tables, make full is now successful. 2016-08-27 18:49:52 +01:00
David Brown
7df022d94e Add SYSTEM types INT8 through INT64. Define LINT as derived type of SYSTEM.INT64. 2016-08-26 18:59:50 +01:00
David Brown
b6385f8b8c Add basic SYSTEM.ADRINT type. 2016-08-26 16:28:07 +01:00
David C W Brown
da88496c5f Tidy (#41)
* Deduplicate common constants into OPM and do some source format tidying.

* Fix postpush buildall script to force checkout of updated buildall.

* Show enlistment branch in makefiles

* Support non-printables in string literals and tidy case alignment and constant literals.

* Common code for MIN and MAX of integer types.

* Common code for SInt/Int/LInt in ConstOp parameter preparation.

* Common code for SInt/Int/LInt in Op parameter preparation.

* Refactor SetIntType to work with byte size directly. Prepare to revert my incorrect VAL changes.

* Original meaning of VAL restored. Many library files disabled until use of VAL in 64 bits fixed.

* Make Reals.Mod independent of INTEGER size and add reals tests.

* Implement fraction, IsInfinity and IsNaN in oocLowReal.Mod.

* OPB little simplifications and ShorterSize/LongerSize functions.

* Add test for alignment computability

* Replace alignment constants with calculated alignment.

* typ.size aware OPV.Convert

* Add SYSTEM_INT64 and make tests name independent.

* Remove SYSTEM.H includes (string.h and stdint.h).

* Replace uses of uintptr_t and size_t with SYSTEM_ADDRESS.

* Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration.

* Detect 64 bit on FreeBSD, and size_t defined on OpenBSD.

* %zd not supportd by mingw, cast strnlen return to int.

* Add debug for intermittent failure only on OpenBSD.

* Add textTexts as a confidence test and tidy up a couple of other tests.

* Update binary test process.
2016-08-25 14:41:00 +01:00
David Brown
1f41d80b1e Resnap test binaries with improved buinary extraction. 2016-08-24 18:45:52 +01:00
David Brown
3a7b742ea7 Update binary test process. 2016-08-24 16:26:43 +01:00
David Brown
ca2cc52a44 Port updated tests and binary snapping, with corrected Reals code, from tidy branch. 2016-08-24 14:10:06 +01:00
David Brown
b1dc7d77e8 Update boostrap source 2016-07-22 20:20:57 +01:00
David Brown
6d957bf0bb Remove unused variable and export. Thanks Oleg. 2016-07-22 18:56:14 +01:00
David Brown
d9c319ef3a Fix initial Time() value and fix GetTimeOfDay on Windows. Thanks Oleg. 2016-07-22 14:25:39 +01:00
David C W Brown
c07485d5a4 Merge pull request #37 from vishaps/FileList
Remove limit on numeric value of OS handles from Files.Mod
2016-07-21 14:15:02 +01:00
David Brown
d43279d053 postpushpl fix buildall parameter (yes, again). 2016-07-21 13:58:46 +01:00
David Brown
0d988a8ea0 postpush.pl fix branch passed to buildall. 2016-07-21 12:56:10 +01:00
David Brown
ff9a45bc1a postpush.pl must pull latest changed branch to get appropriate buildall.pl. 2016-07-21 12:49:27 +01:00
David Brown
61eb8199d4 Make autobuild use latest changed branch. 2016-07-21 12:39:10 +01:00
David Brown
c21975dc2a Remove limit on numeric value of OS file handle. 2016-07-21 12:26:20 +01:00
David Brown
0004fca318 Status report tweaks. 2016-07-20 14:32:15 +01:00
David Brown
92e892c450 Fix success colour and width of build status report. 2016-07-20 12:25:41 +01:00
David Brown
4bbfe120c7 Add reporting of generated assembler changes. 2016-07-20 11:15:19 +01:00
David Brown
b3e2c5f9a6 Second attempt at disabling assembler generation for cygwin 64. 2016-07-19 21:55:47 +01:00
David Brown
0349189479 Separate assembly source by build flavour. 2016-07-19 20:38:41 +01:00
David Brown
359aa1c43f Add preliminary tests for generated code changes in the confidence tests. 2016-07-19 17:59:04 +01:00
David Brown
ece90b85c5 Omit (more) platform specific settings from code change tests. 2016-07-19 15:54:09 +01:00
David Brown
d6acf11700 Update bootstrap sources. 2016-07-19 15:37:07 +01:00
David Brown
afb70fa178 Try explicitly calling 'sh' in confidence tests to avoid limitation on termux. 2016-07-18 17:25:25 +01:00
David Brown
3f6c6243cb Fix typo in typedef of U_INTEGER. Thanks Oleg! 2016-07-18 16:41:52 +01:00
David Brown
d12e72a428 Merge branch 'master' of https://github.com/vishaps/voc 2016-07-17 11:44:51 +01:00
David Brown
d8882462b1 Still fiddling to make test.sh work everywhere. Set first line to #!/bin/sh. 2016-07-17 11:44:25 +01:00
David CW Brown
cd53085613 Language test script must be executable. 2016-07-17 11:06:49 +01:00
David Brown
f2e12bf481 Make confidence test .sh s executable under cygwin by putting #! on first line. 2016-07-16 20:59:12 +01:00
David Brown
c146cab6c1 Add tests for ASH, SYSTEM.LSH and SYSTEM.ROT. 2016-07-16 18:29:51 +01:00
David Brown
5b77460e4f Use typedefs rather than defines for basic types. 2016-07-15 20:26:40 +01:00
David Brown
d3ee82a0c4 Remove invalid working source. 2016-07-15 17:23:04 +01:00
David Brown
64790ceff7 Remove invalid working source. 2016-07-15 17:02:15 +01:00
David Brown
347cefc614 Fix quoting of parameters passed through to 64 bit shell. 2016-07-15 16:58:45 +01:00
David Brown
c7511287bb Fix mismatchedbracket in buildall.pl. 2016-07-15 15:42:37 +01:00