svenbarth
bf2891938f
+ add utility properties to TPropInfo to easily access the next TPropInfo in a list of prop infos (TPropInfo.Next) or the direct, unpadded end of the known information (TPropInfo.Tail)
...
git-svn-id: trunk@35337 -
2017-01-27 16:47:45 +00:00
svenbarth
d044969d88
* applied adjusted patch from Mantis #31250 by Maciej Izak
...
Adjusted message:
[PATCH] Remove redundant code in TRTTIWriter for get_rtti_label,
get_rtti_label_ord2str, get_rtti_label_str2ord (use extended ref_rtti).
Replace ref_rtti by get_rtti_label in few places in ncgrtii (no functional
change).
git-svn-id: trunk@35336 -
2017-01-27 14:11:38 +00:00
svenbarth
4742e826f6
+ add test for Mantis #23702 , just to be sure that we don't re-add that already solved problem
...
git-svn-id: trunk@35335 -
2017-01-27 13:58:54 +00:00
svenbarth
969e19ba1a
* initialize module id of a symtable always to the id of the current module (at least if there is a current module, which is not the case for the initial macro symtable)
...
git-svn-id: trunk@35334 -
2017-01-27 13:48:05 +00:00
michael
f0a8355b84
* AlwaysQuote added (bug ID 31126)
...
git-svn-id: trunk@35333 -
2017-01-25 22:37:33 +00:00
michael
0013769c4b
* Add server SNI support (patch by Udo Schmal, bug ID #31271 )
...
git-svn-id: trunk@35332 -
2017-01-25 21:58:29 +00:00
michael
b5fb706a65
* Fix bug #31176 : (Try)StrToBool should accept localized floats
...
git-svn-id: trunk@35331 -
2017-01-25 21:23:07 +00:00
michael
27329429d9
* Fix possible buffer overflow (bug ID 31203)
...
git-svn-id: trunk@35330 -
2017-01-25 20:59:35 +00:00
marco
156c57e057
* copyright date update, mantis #31258
...
git-svn-id: trunk@35329 -
2017-01-24 14:20:29 +00:00
marco
e02949920b
* fix for #31255
...
git-svn-id: trunk@35327 -
2017-01-23 10:23:56 +00:00
joost
1e33458aae
* Fix problems with functions without function result
...
git-svn-id: trunk@35326 -
2017-01-22 19:59:46 +00:00
michael
790b08948a
* Patch from Udo Schmal to implement TLS_1.1 and TLS_1.2 (openssl 1.0.2j)
...
git-svn-id: trunk@35324 -
2017-01-21 12:28:37 +00:00
joost
ec98e63741
* Removed the usage of the global GFppkg at multiple locations
...
* Fixed AV when there is no download-class available
* Moved more global-functions into TPkgFppkg
git-svn-id: trunk@35323 -
2017-01-21 10:48:43 +00:00
svenbarth
3b1ae57844
* allow for AlignTypeData() to be inlined
...
git-svn-id: trunk@35322 -
2017-01-20 15:39:33 +00:00
svenbarth
8e510da317
* adjust AlignTypeData to take a Pointer as argument as it also needs to be used for e.g. subrecords inside TTypeData (e.g. the property table of interfaces)
...
git-svn-id: trunk@35321 -
2017-01-20 15:38:51 +00:00
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