florian
3ef319c0b0
* compilation of tests on 32 bit targets fixed, using while loops so keeping the type sizes
...
git-svn-id: trunk@42526 -
2019-07-28 21:06:37 +00:00
florian
b3ed34592f
+ software handling of exceptions on arm
...
* reworked software handling of exceptions so they can be check lazily
git-svn-id: trunk@42525 -
2019-07-28 21:06:36 +00:00
Mattias Gaertner
847ac91d1d
pastojs: skip generic type
...
git-svn-id: trunk@42524 -
2019-07-28 20:17:12 +00:00
Mattias Gaertner
a2e96cd459
fcl-passrc: useanalyzer: specializetype
...
git-svn-id: trunk@42523 -
2019-07-28 20:16:42 +00:00
svenbarth
811d39d995
* correctly align the stream on targets that require proper alignment
...
git-svn-id: trunk@42522 -
2019-07-28 19:50:33 +00:00
svenbarth
0b3418e978
* use the size of the generated anonymous record instead of the manual tracked size so that any padding is picked up as well
...
git-svn-id: trunk@42521 -
2019-07-28 19:50:30 +00:00
svenbarth
8fc5c9edb2
* fix compilation of tests on 32-bit systems (doesn't (shouldn't?) change their behavior)
...
git-svn-id: trunk@42520 -
2019-07-28 19:26:51 +00:00
Jeppe Johansen
f72342ed0e
AVR: Add support for using nostackframe in interrupt routines.
...
git-svn-id: trunk@42519 -
2019-07-28 16:46:13 +00:00
Mattias Gaertner
e141899299
fcl-passrc: fixed tests
...
git-svn-id: trunk@42518 -
2019-07-28 14:27:11 +00:00
Mattias Gaertner
0da626fd1b
fcl-passrc: resolver: specialize simple record
...
git-svn-id: trunk@42517 -
2019-07-28 14:12:28 +00:00
florian
1a67ffdd22
* fix alignment of ParamList
...
* fix test for architectures using aligned rtti
git-svn-id: trunk@42516 -
2019-07-28 12:43:15 +00:00
Jonas Maebe
911a59a721
* cocoaint: fixed signature of IOBluetoothGetObjectIDFromArguments()
...
git-svn-id: trunk@42515 -
2019-07-28 12:21:44 +00:00
Jonas Maebe
277db0d62e
* fixed NSApplicationMain() signature
...
git-svn-id: trunk@42514 -
2019-07-28 12:03:50 +00:00
Jonas Maebe
b0683edfcb
* simplified random(int64) code
...
git-svn-id: trunk@42513 -
2019-07-28 12:03:46 +00:00
Jonas Maebe
3fb7c19482
- removed tests as modern Delphi versions behave differently (mantis #35886 )
...
git-svn-id: trunk@42512 -
2019-07-28 12:03:40 +00:00
florian
23585ded15
* fix access to ParamFlags of the tkMethod branch of type data for CPUs requiring proper alignment
...
git-svn-id: trunk@42511 -
2019-07-28 11:55:19 +00:00
Jeppe Johansen
91016c97a4
AVR: Add optimizations for sign testing, and a better Abs() implementation.
...
git-svn-id: trunk@42510 -
2019-07-28 11:16:37 +00:00
Jonas Maebe
bf71795324
* fixed make install for cocoaint
...
git-svn-id: trunk@42509 -
2019-07-28 11:15:02 +00:00
Jonas Maebe
789f288771
* fixed distribution of random(int64) based on patch by Pangea
...
(mantis #35878 )
git-svn-id: trunk@42508 -
2019-07-28 11:14:58 +00:00
Jonas Maebe
1da43f67d4
* (non-ancient) Delphi versions that accept explicit ordinal -> floating
...
point typecasts behave the same as FPC (convert the value) rather than
as Turbo Pascal (reinterpret the bit pattern) (mantis #35886 )
git-svn-id: trunk@42507 -
2019-07-28 11:14:54 +00:00
Mattias Gaertner
62ee766b42
pastojs: fixed compile with pas2js
...
git-svn-id: trunk@42506 -
2019-07-27 11:22:10 +00:00
Mattias Gaertner
c9430a0bd7
pastojs: added tests for jsvalue<->record
...
git-svn-id: trunk@42505 -
2019-07-27 11:17:51 +00:00
Mattias Gaertner
4e22f7a2ec
pas2js: rtl: set TObject.$ancestor
...
git-svn-id: trunk@42504 -
2019-07-27 11:17:25 +00:00
Mattias Gaertner
8c38cea0a8
pastojs: filer: check GenericTemplateTypes
...
git-svn-id: trunk@42503 -
2019-07-27 06:58:32 +00:00
Mattias Gaertner
52ef731f42
fcl-passrc: added TPasGenericType
...
git-svn-id: trunk@42502 -
2019-07-27 06:57:43 +00:00
Jonas Maebe
aa48d5d18c
* Cocoa interface fixes after the update to
...
https://github.com/genericptr/MacOS_10_10
git-svn-id: trunk@42501 -
2019-07-26 17:43:59 +00:00
Jonas Maebe
b9948899e3
* new CocoaInt units based on https://github.com/genericptr/MacOS_10_10
...
o note that CoreData and QuartzCore are now part of CocoaAll due to
dependencies
git-svn-id: trunk@42500 -
2019-07-26 17:43:41 +00:00
Jonas Maebe
701f81f2d8
* updated to r441 of the common Mac OS X interfaces:
...
o fixed declaration of ABSearchComparison for 64 bit targets
o Update AddressBook Framework related interface files to MacOSX10.13.sdk
currency
o minor comment tweaks to ABActions.pas and ABAddressBook.pas
o added new 10.7.sdk declarations & DEPRECATED/AVAILABLE info to
ABGlobals.pas and ABTypedefs.pas
o CarbonCore framework update to MacOSX10.13.sdk
o AE framework update to MacOSX10.13.sdk
o updated AudioToolbox framework translation to 10.14 and translated some
extra units
git-svn-id: trunk@42499 -
2019-07-26 17:36:17 +00:00
nickysn
db83612b2c
+ enable the win16 internal linker if the compiler is compiled with the
...
WIN16_INTERNAL_LINKER define. Since the win16 internal linker isn't completed
yet, this define is not enabled by default.
git-svn-id: trunk@42498 -
2019-07-26 14:19:33 +00:00
lacak
548d842429
fcl-db: tests: test for bug #35887
...
git-svn-id: trunk@42497 -
2019-07-26 12:16:42 +00:00
svenbarth
f2febdcc1b
* also check mimetypes/m option
...
git-svn-id: trunk@42496 -
2019-07-26 05:16:35 +00:00
Jeppe Johansen
893507a5d6
- Adds a number of optimizations for 64bit integer operations on AVR. Patch from Christo Crause in issue #35691 .
...
git-svn-id: trunk@42495 -
2019-07-25 15:36:24 +00:00
Jeppe Johansen
4b93eb64b3
- Split division routines out into an include file.
...
- Reuse division routines for calculating both division and modulus.
- Add implementations of BsfByte and BsrByte that don't use a lookup table.
git-svn-id: trunk@42494 -
2019-07-25 14:56:18 +00:00
Jeppe Johansen
ff3372567f
- Applied patch by Christo Crause from #33914
...
git-svn-id: trunk@42493 -
2019-07-25 13:24:10 +00:00
Jeppe Johansen
030cf78ac5
- Fix overflow checking for multiplication operations on AVR.
...
git-svn-id: trunk@42492 -
2019-07-25 13:16:12 +00:00
Jeppe Johansen
67bf76c50e
- Fix overflow checking in software multiplication routines. Overflow checking should also be enabled for the unsigned multiplications.
...
- Call FPC_Overflow instead of multiple calls to save on size.
git-svn-id: trunk@42491 -
2019-07-25 12:49:55 +00:00
svenbarth
5313f6e9af
* fix Currency comparison... again...
...
git-svn-id: trunk@42490 -
2019-07-24 20:32:22 +00:00
svenbarth
797e336222
* fix writing of floating point attribute parameters
...
git-svn-id: trunk@42489 -
2019-07-24 20:32:17 +00:00
svenbarth
4c338b1f70
* generate correctly aligned string RTTI, fixes trtti7 on ARM
...
git-svn-id: trunk@42488 -
2019-07-23 20:53:54 +00:00
svenbarth
0c27ea83be
* we halt if the currency values are *not* equal, not if they're equal... m(
...
git-svn-id: trunk@42487 -
2019-07-23 20:53:50 +00:00
florian
73acb4d1c1
* fixes TInterfaceRawData to match TTypeData
...
git-svn-id: trunk@42486 -
2019-07-23 19:59:34 +00:00
nickysn
a3a39e1640
* i8086 compilation fix after changeset 42390
...
git-svn-id: trunk@42485 -
2019-07-23 11:57:20 +00:00
Jonas Maebe
4bc657a067
* renamed objcbase.BOOL type to objc.ObjCBOOL to prevent name clashes
...
* fixed some signatures in CocoaInt that should refer to ctypes.cbool
but instead used objcbase.(ObjC)BOOL
git-svn-id: trunk@42483 -
2019-07-23 09:08:32 +00:00
Jonas Maebe
6eafee72d7
- fixed check for determining whether requesting the size of an array is
...
an invalid operation after r42479, as regular arrays can have high=-1
(mantis #35874 , already checked by trange3)
git-svn-id: trunk@42482 -
2019-07-22 12:06:26 +00:00
Jonas Maebe
18dfdb423e
* don't apply user-specified constant alignments to RTTI data
...
git-svn-id: trunk@42481 -
2019-07-22 12:06:22 +00:00
florian
a60ab40237
* handle records with managed fields correctly after attribute merge fixes
...
git-svn-id: trunk@42480 -
2019-07-21 14:17:27 +00:00
florian
aac8559a8d
* some runtime errors fixed, if compiled with -CrR
...
git-svn-id: trunk@42479 -
2019-07-21 12:25:55 +00:00
Jonas Maebe
83611b83cc
* reverted r42463, the internalerrors were caused by a bug in the LLVM typed
...
constant builder
git-svn-id: trunk@42478 -
2019-07-21 11:07:02 +00:00
Jonas Maebe
e7fbebfef5
* fixed field alignment when reusing an anonymous recorddef for LLVM and
...
the LLVM layout of an instance does not match the original one
(e.g. because it contains procdefs of procedures with different
signatures)
git-svn-id: trunk@42477 -
2019-07-21 11:06:54 +00:00
florian
217ae6e4bb
* more fixes to rtti after attribute branch merging
...
git-svn-id: trunk@42476 -
2019-07-21 08:28:29 +00:00