Mattias Gaertner
1c1e994ffc
pastojs: delayed inits only for fully specialized types
...
git-svn-id: trunk@47665 -
2020-12-02 13:58:53 +00:00
pierre
a7fa31aa10
Fix i8086 compiler failure due to move of printnodeindention variable into verbose unit in commit #47658
...
git-svn-id: trunk@47664 -
2020-12-02 09:29:08 +00:00
florian
cbec395907
* test needs -Cg to trigger the warning
...
git-svn-id: trunk@47661 -
2020-12-01 21:54:45 +00:00
florian
0b63068ad2
* dir_push might not flush pending switch changes but has to read the pending
...
record if needed
git-svn-id: trunk@47660 -
2020-12-01 21:39:38 +00:00
florian
8b06b43c1a
* meanwhile all linux targets support the checkpointer directive
...
git-svn-id: trunk@47659 -
2020-12-01 21:18:47 +00:00
pierre
af17e9460b
Apply patch proposed by J. Gareth Moreton in:
...
bug report #0036882 : [Feature] Class and record definition XML dump extension
These patches extend the node dump feature (enabled with DEBUG_NODE_XML)
so it also dumps class and record definitions to the XML file. They are contained within <definition> tags.
Currently only fields and constants are dumped to the XML file. Methods, constant and variable definitions may be added later.
git-svn-id: trunk@47658 -
2020-12-01 11:45:14 +00:00
pierre
9901a11d22
Add internalerror when V_Error level is used in Test_double_checksum code, only with TEST_CRC_ERROR macro set
...
git-svn-id: trunk@47657 -
2020-12-01 10:41:16 +00:00
lacak
738959ce59
fcl-db: sqlite: add support for journal_mode pragma (beside foreign_keys pragma). This pragma must be set after connect before any transaction starts.
...
git-svn-id: trunk@47656 -
2020-12-01 09:31:31 +00:00
svenbarth
67d2ecc09f
* with the recent ShortString changes this test is no longer needed as it was added exactly to check the condition I removed, so disable it for 3.2.1 and newer (as I want to merge these changes back to fixes)
...
git-svn-id: trunk@47655 -
2020-12-01 06:39:31 +00:00
florian
7f07c9f94d
+ range check enumeration array indicies, range checking is after all a safety mean
...
git-svn-id: trunk@47652 -
2020-11-30 22:08:04 +00:00
florian
792b629aa6
+ -Xa option: generate code which allows to use more than 2 GB of static data on 64 Bit targets
...
+ implemented support for x86-64
* more than 2 GB static data requires to use the --no-relax option on linux
git-svn-id: trunk@47651 -
2020-11-30 22:07:34 +00:00
florian
c890a126fe
* allow an AT&T suffix for movabs
...
git-svn-id: trunk@47650 -
2020-11-30 22:07:33 +00:00
Mattias Gaertner
fc0b513c3a
pastojs: shortrefglobals: unit initialization and empty implementation
...
git-svn-id: trunk@47649 -
2020-11-30 22:04:34 +00:00
michael
a82ac3fb6a
* Only set cursor name for selectable queries
...
git-svn-id: trunk@47643 -
2020-11-30 17:13:07 +00:00
michael
a9e7d1ef0d
* Allow for async apply updates
...
git-svn-id: trunk@47641 -
2020-11-30 14:55:46 +00:00
Mattias Gaertner
05065e1d86
pastojs: filer: add identifiers to scope for immediate specializations of TPasSpecializeType
...
git-svn-id: trunk@47639 -
2020-11-29 23:12:26 +00:00
florian
8ddcb34e60
* fix test for x86_64 targets using the SysV abi
...
git-svn-id: trunk@47638 -
2020-11-29 21:21:34 +00:00
florian
b7e2b751cf
* fix test for targets not having a real wide string
...
git-svn-id: trunk@47637 -
2020-11-29 20:53:15 +00:00
ondrej
706d89d6cc
* GlobalNameSpace must EndWrite before it is released to unlock the critical section
...
git-svn-id: trunk@47636 -
2020-11-29 18:49:36 +00:00
ondrej
f982317ebd
* cwstring: open iconv with the transliterate flag if iconvctl is not available
...
git-svn-id: trunk@47635 -
2020-11-29 17:09:19 +00:00
svenbarth
3597696e98
* fix for Mantis #38145 : allow overloading of assignment operators that return ShortStrings with a specific size
...
+ added tests
The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
- if a found assignment operator returns a default ShortString then that is used
- if only one assignment operator to a String[x] is found then that is used
- otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
git-svn-id: trunk@47634 -
2020-11-29 15:47:52 +00:00
ondrej
6854f171d1
* revert r47631: cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
...
git-svn-id: trunk@47633 -
2020-11-29 14:59:18 +00:00
florian
c47d6d7af0
* check if an invisible parameter for the result occupies parameter space
...
git-svn-id: trunk@47632 -
2020-11-29 13:38:33 +00:00
ondrej
91229dcee9
* cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
...
git-svn-id: trunk@47631 -
2020-11-29 12:08:55 +00:00
ondrej
a33256c1fb
* cwstring: try to load the iconv library with .6 suffix as well
...
git-svn-id: trunk@47630 -
2020-11-29 10:53:23 +00:00
florian
fbb2e63fea
+ #QLvember work: stack frame optimization for m68k
...
git-svn-id: trunk@47629 -
2020-11-29 10:16:00 +00:00
florian
8192bf1b33
* version update
...
git-svn-id: trunk@47628 -
2020-11-29 09:40:54 +00:00
Mattias Gaertner
8431584251
fcl-passrc: resolver: error on using generic types without params
...
git-svn-id: trunk@47627 -
2020-11-29 00:06:19 +00:00
pierre
8e13adad4c
* Improve Test_Double_checksum with Test_Double_checksum_write CRC testing code.
...
Pass the three checksum arrays from ppufile to module owner,
to be able to check that the checksums computed at the time pf ppu writing
are compatible with the ones computed at interface level.
git-svn-id: trunk@47626 -
2020-11-28 18:32:46 +00:00
svenbarth
82957ec5a3
* Fix for Mantis #38122 : when a deref node is passed as a Self parameter for a type helper (which is a var parameter) we need to pass the non-derefentiated value so that the data it points to can be modified by the helper's method (this is Delphi compatible)
...
+ added tests
git-svn-id: trunk@47625 -
2020-11-28 18:32:24 +00:00
michael
ece9c98362
* Avoid using volatile if NO_THREADING is defined
...
git-svn-id: trunk@47624 -
2020-11-28 18:09:59 +00:00
florian
5ca2356638
* take care of po_noreturn in more cases
...
git-svn-id: trunk@47623 -
2020-11-28 16:02:51 +00:00
florian
ff87df7581
+ factor out PostProcessELFExecutable
...
+ write executable section size on linux
git-svn-id: trunk@47622 -
2020-11-28 16:02:50 +00:00
florian
99d88b91a9
* do not include fpcdefs in the cepiktimer unit
...
git-svn-id: trunk@47621 -
2020-11-28 16:02:49 +00:00
florian
7b88d1127f
* remove unused file
...
git-svn-id: trunk@47619 -
2020-11-28 13:41:44 +00:00
michael
96c1da2bbd
* Make timestamp reading more robust
...
git-svn-id: trunk@47618 -
2020-11-28 13:29:17 +00:00
Mattias Gaertner
150e78c56a
pastojs: fixed test TestExternalClass_SameNamePublishedProperty
...
git-svn-id: trunk@47617 -
2020-11-28 13:19:30 +00:00
Mattias Gaertner
fc04a83ff5
pastojs: fixed -OoShortRefGlobals
...
git-svn-id: trunk@47616 -
2020-11-28 13:09:02 +00:00
pierre
f8c84dd1fd
Fix compilation with DEBUG_PPU macro set
...
git-svn-id: trunk@47615 -
2020-11-28 12:06:36 +00:00
Mattias Gaertner
3808d9c7b6
pastojs: fixed typeinfo path of inline specialize type
...
git-svn-id: trunk@47614 -
2020-11-28 11:42:42 +00:00
Mattias Gaertner
f858ee6355
pastojs: fixed crash when parser error in inline specialize expression
...
git-svn-id: trunk@47613 -
2020-11-28 10:41:53 +00:00
florian
eb098a3d11
* do not reuse a loaded reference for avrtiny in a_op_const*, resolves #38142
...
git-svn-id: trunk@47612 -
2020-11-27 21:16:31 +00:00
michael
b0cbff6463
* Try all OS/CPU combinations
...
git-svn-id: trunk@47611 -
2020-11-27 17:16:20 +00:00
michael
c7383e54cf
* Some fixes in fpdoc generation
...
git-svn-id: trunk@47610 -
2020-11-27 16:59:40 +00:00
Mattias Gaertner
e1dd6fd932
pastojs: filer: fixed testsuite using shortrefglobals for all tests, added FormData js keyword, fixed shortrefglobals new/free instance fields
...
git-svn-id: trunk@47609 -
2020-11-27 16:57:08 +00:00
ondrej
63a231a93d
* fcl-db: PQConnection needs a lowercase port param
...
git-svn-id: trunk@47607 -
2020-11-27 09:45:03 +00:00
ondrej
1a0ba60de6
* revert r47598: implement TRandomGenerator
...
git-svn-id: trunk@47605 -
2020-11-27 04:53:06 +00:00
florian
9c77e4a899
* support passing options to the emulator when using one for testing
...
git-svn-id: trunk@47604 -
2020-11-26 21:35:00 +00:00
svenbarth
903486642e
* allow an integer expression for SetPeFlags and SetPeOptFlags (Delphi compatible)
...
* adjusted test to check that as well
git-svn-id: trunk@47602 -
2020-11-26 20:13:40 +00:00
svenbarth
a8d316d187
+ add method to retrieve an integer expression from the scanner
...
git-svn-id: trunk@47601 -
2020-11-26 20:13:34 +00:00