Menu

Code Commit Log


Commit Date  
[r64] by trevorbl

clib changes;
- remove random library function
it's not guaranteed to be present in all standard c libraries, likely similar to rand() where it exists
in clib it returns a real value between 0 & 1
- new tests in tclib.pas

in build scripts use older syntax for mktemp()
- new syntax maight not be present on some systems

minor mods to test files so compares work on different systems

string.inc.pas:
- strCompare now implemented in pascal
- the c code didn't compile on mingw

2019-10-12 15:26:39 Tree
[r63] by trevorbl

add missing file frm previous commit

2019-10-09 19:25:18 Tree
[r62] by trevorbl

clib.inc.pas:
- moved c string functins to their own lib file, cstr.inc.pas
- add exit() and system() functions

add plot.pas example program

add assert.inc.pas
- similar to c language assert

intermediate build files now in /tmp

2019-10-09 17:44:22 Tree
[r61] by trevorbl

oops!
in build scripts, environment variable needs to be tested before use

rej-tests/test.sh:
- some test files were missed

examples/rtest:
- add message to wait for /dev/random to generate random numbers

2019-10-01 11:52:25 Tree
[r60] by trevorbl

minor build script & documentation upgrades

gen:
- add --mintest option to skip long running tests (the ones in *-test directories)
- add test for build scripts compile only when necessary

guide.txt:
- add another tutorial in the references section
- fix typos
- for p5x, describe double quotes extension

tp5x.pas
- minor test improvements

include files now guard against inclusion more than once
- the various test programs now check this

2019-10-01 09:17:26 Tree
[r59] by trevorbl

- minor compiler & test improvements
- minor refactoring of conformance tests
- improvements to readkey() & console.inc.pas
- compile scripts use temp file in tmp dir instead of xxx.1.pas

2019-09-29 12:54:26 Tree
[r58] by trevorbl

cdefs.inc.pas renamed sys.inc.pas

console.inc.pas:
----------------
use read() not getchar() for keypressed(),
- this allows detection of escape key vs escape sequence (eg arrow keys)
add cursur move functions

add examples/rtest.pas - test random numbers

pcom.pas
--------
optimise out constant lhs of boolean expressions

string.inc.pas
--------------
some functions that examine only their arguments are given the const attribute
- this should allow gcc to optimise code a little

add more tests

2019-09-08 16:53:04 Tree
[r57] by trevorbl

small changes to error handling,
- better recovery
- fewer spurious follow on errors

added toupper() & tolower string functions

more tests

2019-08-21 10:08:39 Tree
[r56] by trevorbl

pcom.pas
- bugfix for illegal tag field

additional p5x changes:
- program parameters now padded with null characters instead of spaces
this should make string processing easier
- "double quoted" strings allowed.
can now use __FILE__ preprocessor macro in code
- bugfix for illegal tag field

add strval() & strCompare() to string.inc.pas

add random function in clib.inc.pas

new tests added

other minor mods

2019-07-28 09:15:28 Tree
[r55] by trevorbl

more statement semicolon tests
add test title to xterm window
cnm test scropt updated to output new line after key pressed, not before
update test output files

2019-07-11 21:47:14 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.