michael
a809705fb8
* New simple program to test if pparser parses some code
...
git-svn-id: trunk@35358 -
2017-01-29 14:50:34 +00:00
michael
81a00358a1
* Modeswitches now parsed correctly (bug ID 30724)
...
git-svn-id: trunk@35357 -
2017-01-29 14:41:33 +00:00
michael
8d7fd39282
* Fix isNan, isInfinity, IsPositiveInfinity
...
git-svn-id: trunk@35356 -
2017-01-29 11:58:22 +00:00
svenbarth
060cb62f2a
* correctly handle alignment for TParameterLocations
...
git-svn-id: trunk@35355 -
2017-01-28 16:02:09 +00:00
svenbarth
1d40e7e159
* correctly encapsulate the location records
...
git-svn-id: trunk@35354 -
2017-01-28 16:00:53 +00:00
michael
27b51188b6
* Range typed consts support
...
git-svn-id: trunk@35353 -
2017-01-28 15:44:39 +00:00
svenbarth
c2d68e35b5
* also assume register calling convention for m68k
...
git-svn-id: trunk@35352 -
2017-01-28 14:55:41 +00:00
svenbarth
4d41decd5d
* since m68k has a working implementation for the register calling convention and it's in fact used as default calling convention it should also be possible to explicitely declare routines as that calling convention
...
git-svn-id: trunk@35351 -
2017-01-28 14:54:31 +00:00
svenbarth
d35e9a69fa
* update comment regarding pocall_syscall in supported_calling_conventions
...
git-svn-id: trunk@35350 -
2017-01-28 14:53:17 +00:00
Jonas Maebe
098d64b631
* don't swap and/or boolean operations, they always need to be evaluated in
...
the regular order (caused internalerror 200709253 while compiling
tests/test/jvm/trange3, not sure why it wasn't a problem before)
git-svn-id: trunk@35349 -
2017-01-28 14:33:39 +00:00
Jonas Maebe
7013a879c3
- disabled check for existence for texceptaddr/tguid/tjmpbuf in the system
...
unit for the JVM platform (they do not exist/are not needed there)
(mantis #31240 )
git-svn-id: trunk@35348 -
2017-01-28 14:33:36 +00:00
svenbarth
f1a5fbc0df
* rename TIntfMethodEntry.ReturnLoc to ResultLocs for consistency with both ResultType and TVmtMethodParam.ParaLocs
...
git-svn-id: trunk@35347 -
2017-01-28 13:28:03 +00:00
michael
06a8b84426
* Fix bug #31194 : function alias not supported
...
git-svn-id: trunk@35346 -
2017-01-28 12:50:25 +00:00
michael
bc9b67c90b
* Attempt to fix bug ID #31277
...
git-svn-id: trunk@35344 -
2017-01-27 21:47:27 +00:00
michael
1a771735ac
* Patch from BBaz to add an overload to find returning a boolean (bug ID
...
git-svn-id: trunk@35343 -
2017-01-27 21:01:29 +00:00
michael
2265312872
* Patch from Udo Schmal to Add SetEcdhAuto (bug ID 31275)
...
git-svn-id: trunk@35342 -
2017-01-27 20:50:35 +00:00
svenbarth
26135d605f
+ implement interface RTTI inspired by the changes from Steve Hildebrandt, yet not exactly the same. Like his implementation this one isn't Delphi compatible either.
...
+ added test
git-svn-id: trunk@35341 -
2017-01-27 17:00:15 +00:00
svenbarth
41dccb75b9
* for open array parameters the RTTI of the element def needs to be available/written; this is Delphi compatible
...
git-svn-id: trunk@35340 -
2017-01-27 16:55:17 +00:00
svenbarth
03715bd9a8
+ add data records TInterfaceData for COM and TInterfaceRawData for raw interfaces that allow for easier access to data that's only accessible by using pointers (and keeping track of alignment) without further polluting TTypeData
...
git-svn-id: trunk@35339 -
2017-01-27 16:53:47 +00:00
svenbarth
c6233697be
+ add utility properties to TPropData to access a specific TPropInfo or the end of the known data of all properties
...
git-svn-id: trunk@35338 -
2017-01-27 16:49:47 +00:00
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