Commit Graph

50019 Commits

Author SHA1 Message Date
Károly Balogh
1c4207642c tabs to spaces indentation fixes. no functional changes
git-svn-id: trunk@35318 -
2017-01-17 13:41:13 +00:00
nickysn
52f41a8f67 * fixed i8086 regressions after r35082
git-svn-id: trunk@35317 -
2017-01-16 23:17:08 +00:00
Károly Balogh
b2ff3f82bc m68k: marked palmos as 'under development', as there's code there, but was never really tested with the current CG
git-svn-id: trunk@35316 -
2017-01-16 21:31:49 +00:00
Károly Balogh
94ec8ad854 m68k: added BSD targets, this means NetBSD, still under development
git-svn-id: trunk@35315 -
2017-01-16 21:30:39 +00:00
Jonas Maebe
7911cc8437 - removed some dataconstn remenants
git-svn-id: trunk@35314 -
2017-01-16 21:27:20 +00:00
Jonas Maebe
d66e0d6450 - got rid of gotclass and gotdynarray in valid_for_assign(), as these were
only used in combination with subscriptn/vecn to determine whether the
    target is assignable (and we return true immediately if you subscript
    or index an implicit pointer type -- also for classrefdef now)
   o disallow assigning something to fields of records returned by functions
     (that would be assigned to a temp and get lost anyway)

git-svn-id: trunk@35313 -
2017-01-16 21:12:24 +00:00
Károly Balogh
5cde490e57 bsd: fixed the system unit to also include the softpu interface part on m68k, not only the implementation
git-svn-id: trunk@35312 -
2017-01-16 21:04:40 +00:00
florian
668b198d7c * fix for issue #29936: check if the internal needed types are available
git-svn-id: trunk@35310 -
2017-01-15 20:54:07 +00:00
Jonas Maebe
048666a25c * when freeing a procdef that hasn't been registered for writing to the ppu
at the end of compiling a unit, also remove it from its owning procsym
    in case the procsym does get written to the ppu (possible because you
    can have extra overloads in the implementation) (mantis #25283)
   o also fixes webtbf/tw4103 on the platforms where this still failed
     (on the platforms where it worked, it worked by accedent since the
      compiler was accessing memory of a freed procdef)

git-svn-id: trunk@35309 -
2017-01-15 17:41:27 +00:00
Jonas Maebe
382bbc1201 - removed gotderef from valid_for_assign(), and return true at every place
where it used to be set to true (dereferencing a pointer always means
    that regardless of what the pointer was, the resut is assignable)
    (mantis #22979)
   o also removed gotpointer, since it was only used in combination with
     gotderef

git-svn-id: trunk@35308 -
2017-01-15 16:32:51 +00:00
Jonas Maebe
99a1847e2f * fixed comment typo
git-svn-id: trunk@35307 -
2017-01-15 16:32:47 +00:00
Jonas Maebe
9cd707a27a * give an error if -Pxxx is specified to the compiler binary and xxx is not
the target architecture this compiler binary supports (mantis #30098)

git-svn-id: trunk@35299 -
2017-01-14 13:50:41 +00:00
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 #30622)
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