summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * synchronised with trunk till r42258debug_ehjonas2019-06-202-35/+9
|\ | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/branches/debug_eh@42259 3ad0048d-3df7-0310-abae-a5850022a9f2
| * pastojs: fixed pas2jsfilermattias2019-06-202-35/+9
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42258 3ad0048d-3df7-0310-abae-a5850022a9f2
* | * synchronised with trunk till r42256jonas2019-06-20163-3025/+7681
|\ \ | |/ | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/branches/debug_eh@42257 3ad0048d-3df7-0310-abae-a5850022a9f2
| * fcl-passrc: starting test genericsmattias2019-06-201-0/+43
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42252 3ad0048d-3df7-0310-abae-a5850022a9f2
| * fcl-passrc: fixed parsing objfpc inline specializemattias2019-06-206-75/+290
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42251 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * Patch from Ondrej Pokorny to support streaming to position 0 (bug ID 35724)michael2019-06-191-3/+20
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42250 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * Fix non-threading platformsmichael2019-06-191-0/+8
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42249 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * Patch from Pascal Riekenberg to make component loading thread safe (bug ID ↵michael2019-06-192-5/+25
| | | | | | | | | | | | 35638) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42248 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * Fix bug ID 35731 (ReadSectionRaw needs to read comments)michael2019-06-192-3/+7
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42247 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * disable array and record regvars for all cpuhighleveltarget platformsjonas2019-06-181-3/+7
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42246 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * change Value argument of SetToString and result of of StringToSet from ↵svenbarth2019-06-171-10/+10
| | | | | | | | | | | | Integer to LongInt so that small sets are handled on 8/16-bit platforms as they are on 32- and 64-bit git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42245 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * fix SetToString/StringToSet for 8/16-bit platformssvenbarth2019-06-171-9/+9
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42244 3ad0048d-3df7-0310-abae-a5850022a9f2
| * put #ifdef TARGETOS / #endif around the gcclib section, otherwise the ↵karoly2019-06-171-0/+10
| | | | | | | | | | | | various host paths can cause a hard to debug mess during crosscompiling in some cases git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42243 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + implemented TOmfRecord_COMENT_IMPDEF.DecodeFromnickysn2019-06-171-2/+39
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42242 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * building on powerpc and arm fixedflorian2019-06-161-1/+1
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42241 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * rework/extend SetToString/StringToSet so that sets with a size > 4 can be ↵svenbarth2019-06-162-23/+268
| | | | | | | | | | | | | | | | converted as well (this is Delphi compatible) + added test git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42240 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + keep (certain) arrays in registers if they are used with constants indices ↵florian2019-06-166-15/+84
| | | | | | | | | | | | only git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42239 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + Implemented TOmfRecord_COMENT_EXPDEF.DecodeFromnickysn2019-06-151-3/+37
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42238 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + introduced the TOmfRecord_COMENT_EXPDEF class. Use that to generate exportnickysn2019-06-152-16/+83
| | | | | | | | | | | | | | | | libraries instead of generating the magic string directly. git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42237 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + introduced the TOmfRecord_COMENT_IMPDEF class. Use it to encode the IMPDEFnickysn2019-06-142-9/+63
| | | | | | | | | | | | | | | | records instead of encoding them directly. git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42236 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + introduced the TOmfRecord_COMENT_Subtype abstract classnickysn2019-06-141-0/+8
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42235 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + use the new CC_OmfExtension_IMPDEF constant instead of the direct magic valuenickysn2019-06-141-3/+3
| | | | | | | | | | | | | | | | when writing IMPDEF records git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42234 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + use the new CC_OmfExtension_EXPDEF constant instead of the direct magic valuenickysn2019-06-141-1/+1
| | | | | | | | | | | | | | | | when writing export libraries git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42233 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + dispatch the IMPDEF and EXPDEF records to the newly introduced ReadImpDef andnickysn2019-06-141-1/+25
| | | | | | | | | | | | | | | | ReadExpDef methods (not implemented yet) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42232 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added constants for the known CC_OmfExtension record subtypes (IMPDEF andnickysn2019-06-141-0/+6
| | | | | | | | | | | | | | | | | | EXPDEF are the ones we care about - they are used in win16 dll import and export libraries) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42231 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + register a win16 dll scanner. Not functional yet.nickysn2019-06-141-0/+36
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42230 3ad0048d-3df7-0310-abae-a5850022a9f2
| * - remove the tiny memory model code from TInternalLinkerWin16.DefaultLinkScript,nickysn2019-06-141-25/+14
| | | | | | | | | | | | | | | | because the Win16 target doesn't support the tiny memory model git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42229 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + implement TInternalLinkerWin16.DefaultLinkScript by copying the MS-DOSnickysn2019-06-141-1/+71
| | | | | | | | | | | | | | | | implementation (not correct, but a good starting point) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42228 3ad0048d-3df7-0310-abae-a5850022a9f2
| * pastojs: setlength(arr) now always clonemattias2019-06-143-5/+74
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42227 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added a win16 internal linker class. Not functional yet.nickysn2019-06-142-1/+30
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42226 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added class TNewExeOutput. Not functional yet.nickysn2019-06-141-0/+43
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42225 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + initialize some defaults in the TNewExeHeader constructornickysn2019-06-141-0/+13
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42224 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added class TNewExeHeader that encapsulates a NewExe header and allows ↵nickysn2019-06-141-0/+163
| | | | | | | | | | | | writing it to a file git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42223 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * add typecast to PTypeInfo to be on the safe sidesvenbarth2019-06-131-2/+2
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42222 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * fix for Mantis #35687: implement TValue.FromOrdinal()svenbarth2019-06-132-0/+79
| | | | | | | | | | | | + added tests git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42221 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * correctly handle both Ansi- and WideChar in TValuesvenbarth2019-06-132-1/+44
| | | | | | | | | | | | + added tests git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42220 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * fix for Mantis #35693: IsOrdinal also needs to return true for enums (with ↵svenbarth2019-06-132-1/+21
| | | | | | | | | | | | | | | | that AsOrdinal will work correctly as well) * extended RTTI test by a test for enums git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42219 3ad0048d-3df7-0310-abae-a5850022a9f2
| * pastojs: fixed var a: somearray = nilmattias2019-06-132-1/+36
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42218 3ad0048d-3df7-0310-abae-a5850022a9f2
| * fcl-passrc: added test local var initsmattias2019-06-131-0/+20
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42217 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * Updated Wii port to libogc 1.8.22Legolas2019-06-1213-323/+349
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42216 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * suppress warning for targets without MM registersflorian2019-06-111-0/+4
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42214 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added the asmmodes_x86_att set constant - similar to asmmode_x86_intel, ↵nickysn2019-06-111-0/+11
| | | | | | | | | | | | but for AT&T asm syntax git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42212 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * prettify the "Use of -offset(%esp), access may cause a crash or value may benickysn2019-06-104-214/+238
| | | | | | | | | | | | | | lost" warning by showing the exact register used (esp or rsp) and using the asm syntax (Intel or AT&T) used originally in the code git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42211 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + add asmmode_standard to the asmmodes_x86_intel set on i8086, because i8086 ↵nickysn2019-06-101-0/+3
| | | | | | | | | | | | defaults to intel syntax git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42210 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + introduced the asmmodes_x86_intel constant setnickysn2019-06-102-2/+9
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42209 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * prettify the "Use of -offset(%ebp) is not recommended for local variablenickysn2019-06-104-214/+242
| | | | | | | | | | | | | | access" warning by showing the exact register used (bp, ebp or rbp) and using the original asm syntax git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42208 3ad0048d-3df7-0310-abae-a5850022a9f2
| * * prettify the "Use of +offset(%ebp) is not compatible with regcall convention"nickysn2019-06-104-259/+285
| | | | | | | | | | | | | | | | and "Use of +offset(%ebp) for parameters invalid here" warning messages by showing the exact register used (bp, ebp or rbp) and using the original asm syntax (Intel: [EBP+offset]; AT&T: +offset(%ebp) ) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42207 3ad0048d-3df7-0310-abae-a5850022a9f2
| * Fix error in commit #42199pierre2019-06-101-1/+1
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42206 3ad0048d-3df7-0310-abae-a5850022a9f2
| * avr: Fixed some inconsistencies.laksen2019-06-103-8/+24
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42204 3ad0048d-3df7-0310-abae-a5850022a9f2
| * + added set TNewExeSegmentFlagsnickysn2019-06-101-0/+19
| | | | | | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42203 3ad0048d-3df7-0310-abae-a5850022a9f2