Commit Graph

50007 Commits

Author SHA1 Message Date
michael
180b93b326 * JSON2pas command-line tool added
git-svn-id: trunk@35297 -
2017-01-14 10:22:16 +00:00
michael
e6000e88d1 * Added JSON to pascal converter
git-svn-id: trunk@35296 -
2017-01-14 09:06:49 +00:00
Károly Balogh
f85466b013 os4units: fix some exec structures alignment after r35269
git-svn-id: trunk@35295 -
2017-01-14 01:59:57 +00:00
Károly Balogh
2591840264 amigaos4: fixed some alignment SNAFU in exec structures. this allows to fix the startup code properly
git-svn-id: trunk@35294 -
2017-01-14 01:57:46 +00:00
Károly Balogh
4d22233827 amigaos4: hopefully fixed the new pascal sysinit
git-svn-id: trunk@35293 -
2017-01-14 00:50:09 +00:00
michael
a33812f88c * Improved router implemented
git-svn-id: trunk@35292 -
2017-01-13 22:26:46 +00:00
svenbarth
e827c28722 + not only add pfResult to the compiler, but also indeed to TParamFlag
git-svn-id: trunk@35291 -
2017-01-13 16:40:09 +00:00
svenbarth
5fa5ff1730 + new method TRTTIWriter.methods_write_rtti() to ensure that the TypeInfo of parameters and result type of methods is written (can be restricted to certain visibilities and whether hidden parameters shall be checked as well)
git-svn-id: trunk@35290 -
2017-01-13 16:25:22 +00:00
svenbarth
fdad2ebb9b + new set type tvisibilities for tvisibility
git-svn-id: trunk@35289 -
2017-01-13 16:23:35 +00:00
svenbarth
22e23fea8c + new parameter allow_hidden for params_write_rtti() so that writing of the TypeInfo of hidden parameters can be enforced as well
git-svn-id: trunk@35288 -
2017-01-13 16:22:42 +00:00
svenbarth
cf18b7116e * write_paralocs() takes a pcgpara instead of a tparavarsym as this is needed for the result location as well
git-svn-id: trunk@35287 -
2017-01-13 16:20:30 +00:00
svenbarth
f905303c4a + new TParamFlag pfResult if the result is passed as a parameter and thus needs to be set up as well
git-svn-id: trunk@35286 -
2017-01-13 16:17:03 +00:00
svenbarth
ecb878a7a7 * move PParameterLocation before TParameterLocation for consistency with all other pointer declarations in the unit
git-svn-id: trunk@35285 -
2017-01-13 16:13:18 +00:00
svenbarth
fe28403330 + two more pointer types (PPropData for TPropData and PParameterLocations for TParameterLocations)
git-svn-id: trunk@35284 -
2017-01-13 16:12:26 +00:00
svenbarth
990b0e1657 * fix TParameterLocations.GetLocation()
git-svn-id: trunk@35283 -
2017-01-13 16:11:10 +00:00
svenbarth
0dbc123557 * ensure that TRegisterType and TSubRegister have a size of 1 by moving them at the correct location
git-svn-id: trunk@35282 -
2017-01-13 16:10:17 +00:00
Károly Balogh
2e9d0543df m68k: do not generate copy loops for single byte copies on a plain '000
git-svn-id: trunk@35281 -
2017-01-13 15:41:21 +00:00
svenbarth
854a82b58b * move write_param_flag() from local to class scope
git-svn-id: trunk@35280 -
2017-01-13 13:58:55 +00:00
Károly Balogh
78a7710192 m68k: with the register calling convention, pass records by reference
git-svn-id: trunk@35279 -
2017-01-12 18:06:13 +00:00
Károly Balogh
7a18cd8d38 atari: now that we have an almost complete RTL with DOS unit, we can re-enable a bunch of packages
git-svn-id: trunk@35278 -
2017-01-12 13:43:51 +00:00
Károly Balogh
a8325b763f fppkg: shortened the name of pkguninstalledsourcesrepository.pp
git-svn-id: trunk@35277 -
2017-01-12 13:35:08 +00:00
pierre
dda85c3c49 Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix
git-svn-id: trunk@35276 -
2017-01-10 23:36:32 +00:00
pierre
1342d0792f Fix powerpc cycle for AIX target
git-svn-id: trunk@35275 -
2017-01-10 23:21:49 +00:00
Jeppe Johansen
7e75457a3e Added more Nordic Semi controllers. Created a new unit for NRF52x controllers with a more precise register naming following Nordic SDK conventions.
Patch from Paul Mitchell.

git-svn-id: trunk@35274 -
2017-01-10 20:30:20 +00:00
Károly Balogh
c4ba3ef09d amigaos4: fix linker script and signature symbol preservation with current vlink
git-svn-id: trunk@35272 -
2017-01-08 20:33:28 +00:00
Károly Balogh
a931403803 amigaos4: de-uglified libinterface and libbase fetching upon startup, and enabled the pascal startup code as default
git-svn-id: trunk@35271 -
2017-01-08 16:40:01 +00:00
Károly Balogh
2f38377126 amigaos4: update execd header based on the os4units version
git-svn-id: trunk@35270 -
2017-01-08 16:38:45 +00:00
Károly Balogh
4bb40d14cf os4units: TInterfaceData must be 4 byte aligned, and TNode is only 14 bytes
git-svn-id: trunk@35269 -
2017-01-08 16:35:39 +00:00
lacak
f05acbed7a fcl-db: base: avoid code page conversion to CP_NONE as this kind of conversion is for now undefined (see bug )
git-svn-id: trunk@35268 -
2017-01-08 16:24:11 +00:00
svenbarth
5275c36393 + extend TParamFlags by values for hidden parameters in general and especially the hidden high, self and vmt parameters (this is necessary so a manager approach for Invoke() can be used with as few knowledge about the involved calling conventions as possible)
Note: with this TParamFlags exceeds the size of a Byte

git-svn-id: trunk@35267 -
2017-01-08 16:08:35 +00:00
svenbarth
62fc960e63 + utility function to reverse the bit pattern of a Word
git-svn-id: trunk@35266 -
2017-01-08 16:06:29 +00:00
svenbarth
fd465ff500 * adjusted tests as SizeOf(TParamFlags) = 1 does not need to be true anymore
git-svn-id: trunk@35264 -
2017-01-08 12:43:59 +00:00
svenbarth
25842d70c8 * adjust test so it also checks the full ParamFlags instead of only the reduced one
git-svn-id: trunk@35263 -
2017-01-08 12:42:17 +00:00
svenbarth
bd8a7be17e * better implementation of TProcedureParam.GetFlags that correctly handles a TParamFlags with a size > 1 even on big endian
git-svn-id: trunk@35262 -
2017-01-08 12:41:06 +00:00
marcus
ccf6504584 systems_aros, and systems_amigalike as collection for target defines
git-svn-id: trunk@35261 -
2017-01-08 11:34:27 +00:00
florian
1bea9e36eb + entropy test for random
git-svn-id: trunk@35260 -
2017-01-08 10:26:12 +00:00
pierre
d5f2c58d32 Fix bug report 34320, about random returning two same values at start
git-svn-id: trunk@35259 -
2017-01-08 09:19:50 +00:00
svenbarth
729d582822 * move the indirect symbols from al_exports to a new assembler list al_indirectglobals; otherwise compilation would fail horribly if we'd try to compile with a .def file as then the al_exports sections are ignored by the internal linker
git-svn-id: trunk@35258 -
2017-01-07 20:18:17 +00:00
florian
29a2c433f7 * -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name
git-svn-id: trunk@35257 -
2017-01-07 14:50:58 +00:00
svenbarth
6b641394d0 * fix for Mantis : don't write any RTTI for undefined defs (and while we're at it abort if an error def is encountered)
+ added test

git-svn-id: trunk@35256 -
2017-01-07 14:35:25 +00:00
Károly Balogh
4b7d0eb0ac atari: FSearch impementation for DOS unit, copied from msdos target
git-svn-id: trunk@35255 -
2017-01-07 04:33:00 +00:00
Károly Balogh
a8a9a5f5de atari: most of the DOS unit is now implemented, but largely untested
git-svn-id: trunk@35254 -
2017-01-07 04:13:58 +00:00
Károly Balogh
58f85ed4e4 atari: dos unit skeleton for atari. to be implemented.
git-svn-id: trunk@35253 -
2017-01-07 01:15:45 +00:00
florian
f68558b88c * factored out TX86AsmOptimizer.OptPass2Imul
git-svn-id: trunk@35252 -
2017-01-06 22:25:24 +00:00
florian
ebb2b81f79 * FoldLea optimizes more cases
git-svn-id: trunk@35251 -
2017-01-06 22:25:22 +00:00
svenbarth
417f1cd49d + initial implementation of the RTTI for parameter locations (not *yet* used by anything)
The parameter manager converts from the internal compiler representation of
a parameter's location to an RTTI representation. As the general implementation
more or less directly uses the compiler structures for this a platform specific
parameter manager may override this functionality in case some parameter
information changed in a non-backwards compatible way.
The RTTI parameter location has a layout that allows for an easy enumeration
as the size is fixed for all locations. Additionally there are properties that
allow for easy access to the information stored in them.

git-svn-id: trunk@35250 -
2017-01-06 22:21:37 +00:00
svenbarth
0ed00f64f5 * move writing of the calling convention into its own method
git-svn-id: trunk@35249 -
2017-01-06 20:55:25 +00:00
svenbarth
e3f10500b0 * move writing of the methodkind into its own function (and return the value as its a bit more complicated to calculate than merely checking proctypeoption)
git-svn-id: trunk@35248 -
2017-01-06 20:46:31 +00:00
lacak
18f081150d fcl-db: interbase: detect BLOB CHARACTER SET NONE and set TMemoField.CodePage to CP_NONE in this case. Related to
git-svn-id: trunk@35245 -
2017-01-06 08:39:15 +00:00
Károly Balogh
49fc799e97 atari: section smartlinking support for atari. needs vlink nightly
git-svn-id: trunk@35244 -
2017-01-06 02:44:12 +00:00