Commit Graph

62316 Commits

Author SHA1 Message Date
michael
66646b8630 * Fix for double error
git-svn-id: trunk@49197 -
2021-04-13 11:41:50 +00:00
Károly Balogh
da252e2f4b sinclairql: turn the anyKey string const into a pchar, this reduces the final binary size by 200-odd bytes
git-svn-id: trunk@49196 -
2021-04-13 10:20:29 +00:00
pierre
f90324a02a Add strings unit to buildrtl meta-unit, and update Makefile.fpc accordingly
git-svn-id: trunk@49195 -
2021-04-12 21:34:03 +00:00
pierre
8ac821613f Disable sinclairql target OS for most utils packages
git-svn-id: trunk@49194 -
2021-04-12 21:32:34 +00:00
Károly Balogh
a6d475b9b3 qlunits: updates, new API and utility functions, improved README
git-svn-id: trunk@49193 -
2021-04-12 13:48:54 +00:00
Károly Balogh
9e7a8f44aa sinclairql: add right spelling for iof_mkdr, add the QDOS equivalent alias
git-svn-id: trunk@49192 -
2021-04-12 13:23:03 +00:00
Károly Balogh
8128736233 sinclairql: also have a function which returns a pointer directly to the QLstring job name
git-svn-id: trunk@49191 -
2021-04-12 12:21:25 +00:00
Károly Balogh
3280ec3220 sinclairql: have a max. 48 char buffer for job name. set the job name to the program name by default on system unit init
git-svn-id: trunk@49190 -
2021-04-12 11:58:14 +00:00
Károly Balogh
b5216a1990 m68k: on the Sinclair QL insert the main program's name into the object, so the RTL later can set it as default job name
git-svn-id: trunk@49189 -
2021-04-12 11:51:12 +00:00
lacak
5d81c6c43b fcl-db: Introduce TObjectField and TArrayField. Only essential interface parts (added new objects, new properties and methods according to Delphi documentation).
There is no implementation of methods in fields.inc and dataset.inc.
Only references to Delphi documentation is added as comments. These comments should be deleted after implementation.

git-svn-id: trunk@49188 -
2021-04-12 10:15:59 +00:00
Károly Balogh
c8e712f400 m68k: cleaned up some ancient mess from cpunode.pas, no significant functional change, apart from unit inclusion order
git-svn-id: trunk@49187 -
2021-04-12 09:33:51 +00:00
pierre
75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa
git-svn-id: trunk@49186 -
2021-04-12 08:57:23 +00:00
florian
726ac5a5a6 - forgotten file, obsolete define removed, belongs to last commit
git-svn-id: trunk@49185 -
2021-04-11 18:25:40 +00:00
florian
0188a558d1 - obsolete defines removed
git-svn-id: trunk@49184 -
2021-04-11 18:18:30 +00:00
florian
f1e748512b * fix test for case sensitive and case preserving file systems
git-svn-id: trunk@49183 -
2021-04-11 17:30:22 +00:00
florian
0a99028128 * newer linux distros might have powerpc64 libraries in /usr/lib or /lib
git-svn-id: trunk@49182 -
2021-04-11 17:30:22 +00:00
florian
1bd9d4173e * never ignore BINUTILSPREFIX environment variable in fpmake
+ search also $(BINUTILSPREFIX)-gnu-gcc for a usable gcc to get the libgcc directory

git-svn-id: trunk@49181 -
2021-04-11 17:30:21 +00:00
florian
f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64
* factored out TPPCAsmOptimizer.RegLoadedWithNewValue

git-svn-id: trunk@49180 -
2021-04-11 17:30:20 +00:00
nickysn
340a71d2bc * always keep the WebAssembly stack frame aligned on 16 bytes
git-svn-id: trunk@49179 -
2021-04-11 14:02:40 +00:00
nickysn
c7f3469a3f * use up to 16 bytes alignment for the WASI target
git-svn-id: trunk@49178 -
2021-04-11 13:38:05 +00:00
Károly Balogh
6ec6d2043b sinclairql: enable commandargs and exitcode features
git-svn-id: trunk@49177 -
2021-04-11 00:19:06 +00:00
nickysn
81bd473439 * fixed win32 testsuite regressions after r49084
git-svn-id: trunk@49175 -
2021-04-10 21:05:58 +00:00
Károly Balogh
ad05434401 sinclairql: add the used includes to the system unit deps
git-svn-id: trunk@49174 -
2021-04-10 17:23:32 +00:00
Károly Balogh
9432aa4b69 sinclairql: do_mkdir implemented, patch by Norman Dunbar
git-svn-id: trunk@49173 -
2021-04-10 17:20:50 +00:00
Károly Balogh
3d4e677db0 sinclairql: new files to contain SMS only functions, iof_rename implemented, based on a patch by Norman Dunbar
git-svn-id: trunk@49172 -
2021-04-10 17:20:08 +00:00
Károly Balogh
541c65feb7 sinclairql: implemented do_rename(), based on the patch of Norman Dunbar
git-svn-id: trunk@49171 -
2021-04-10 17:04:47 +00:00
Károly Balogh
992fa3eea7 qlunits: updated to match the latest RTL qdosfuncs.inc
git-svn-id: trunk@49170 -
2021-04-10 15:16:13 +00:00
Károly Balogh
fc26e2629b sinclairql: various seeking, FS_POSAB/FS_POSRE and ERR_EF related fixes
git-svn-id: trunk@49169 -
2021-04-10 15:15:12 +00:00
Károly Balogh
f3a19aaf59 sinclairql: first version of working argc/argv generation. implemented ParamCount and ParamStr()
git-svn-id: trunk@49168 -
2021-04-10 15:12:45 +00:00
marco
b2afecdae5 * implemented recommendations from mantis #038510 for better bionic
compatibility.

git-svn-id: trunk@49167 -
2021-04-10 14:58:53 +00:00
marco
763d287af4 * raise exception when file not found.
git-svn-id: trunk@49166 -
2021-04-10 14:26:20 +00:00
marco
5340d45a18 * fix from bart for mantis #0038581 that prohibits reusing readbinarydata
as basis for a multisz reader.

git-svn-id: trunk@49165 -
2021-04-10 13:53:57 +00:00
florian
c1f85ac3a1 + initial implementation of path dependent IsFileNameCaseSensitive/IsFileNameCasePreserving functions for darwin
git-svn-id: trunk@49164 -
2021-04-10 13:29:59 +00:00
marco
ad66a19666 * on second thought, and a byte typecast so that an expanded intrinsics doesn't loop over unnecessary bits.
git-svn-id: trunk@49162 -
2021-04-10 10:59:00 +00:00
marco
f26c366e9b * use popcnt instead of countbits.
* change countbits to popcnt in case it is used by others.

suggestion by Bi0t1n, mantis 0038728

git-svn-id: trunk@49161 -
2021-04-10 10:56:47 +00:00
Jonas Maebe
ff3f812d97 * fix conversion of true/false macro definitions to boolean values
(mantis #38492)
   o since the macro lookups are recursive, "mac" will usually be nil
     afterwards (unless we found an undefined macro)

git-svn-id: trunk@49160 -
2021-04-10 10:56:02 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
Jonas Maebe
c970c17eca * updated revision.inc
git-svn-id: trunk@49158 -
2021-04-10 08:19:20 +00:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00
michael
f43a32315f * Fix getpeername, patch by BaldZhang for issue ID #38677
git-svn-id: trunk@49156 -
2021-04-10 06:08:39 +00:00
pierre
9f8566dd84 Refactor code to avoid problems with -CR option
git-svn-id: trunk@49155 -
2021-04-09 23:11:53 +00:00
florian
09628e56cb * even if currency is handled by torddef, it is a real number, so using / is perfectly right, resolves #38718
git-svn-id: trunk@49154 -
2021-04-09 20:38:46 +00:00
florian
243ddea686 * PowerPC: initial (and primitive) implemenation of TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49153 -
2021-04-09 20:20:53 +00:00
pierre
b0c434b2b2 Disable most utils for SinclairQL for now
git-svn-id: trunk@49152 -
2021-04-09 20:15:48 +00:00
florian
b09669dffe * allow also CSUBSETREG in tx86inlinenode.second_IncludeExclude, resolves #38733
git-svn-id: trunk@49151 -
2021-04-09 20:09:19 +00:00
Károly Balogh
ca475537e8 sinclairql: instead of tinyheap, made the QL port to use the new OS heap by default, also implemented Randomize, based on patch by Norman Dunbar
git-svn-id: trunk@49150 -
2021-04-09 04:35:54 +00:00
Károly Balogh
f5c22b7a93 sinclairql: various file and directory handling improvements, based on patch by Norman Dunbar
git-svn-id: trunk@49149 -
2021-04-09 04:34:38 +00:00
Károly Balogh
e7681dfe5b sinclairql: implemented io_delet and mt_rclck QDOS functions, patch by Norman Dunbar
git-svn-id: trunk@49148 -
2021-04-09 04:24:06 +00:00
Károly Balogh
d480192477 sinclairql: implemented Error2InOutRes, patch by Norman Dunbar
git-svn-id: trunk@49147 -
2021-04-09 04:22:47 +00:00
Károly Balogh
08023bbad0 sinclairql: fixed parameter trashing in several QDOS function assembler wrappers
git-svn-id: trunk@49146 -
2021-04-09 03:04:24 +00:00