Commit Graph

53121 Commits

Author SHA1 Message Date
nickysn
3b70fc628c + override tabstractprocdef.getcopyas for i8086, so it preserves the po_far
option (so that for far procedures, a far procdef is created)

git-svn-id: trunk@38601 -
2018-03-22 23:22:26 +00:00
maciej-izak
64297e9c96 rtl-generics: new examples for THashSet collection
git-svn-id: trunk@38600 -
2018-03-22 23:10:09 +00:00
nickysn
7a7e09982b + show whether a procdef is far in tprocvardef.GetTypeName
git-svn-id: trunk@38599 -
2018-03-22 22:57:34 +00:00
maciej-izak
b0aeacf61b Patch from Ville Krumlinde for xxHash32 crash on Mac OS 64-bit, mantis 33477
git-svn-id: trunk@38598 -
2018-03-22 22:51:11 +00:00
michael
256ae133a2 * Fix bug #33252
git-svn-id: trunk@38597 -
2018-03-22 20:37:49 +00:00
michael
52e31f1f96 * Fix stretchmode for bands (bug ID 0033363)
git-svn-id: trunk@38596 -
2018-03-22 19:44:53 +00:00
nickysn
23250a2ead + allow declaring near and far procvars in all i8086 memory models. Only simple
procvars can be declared near or far. Methodpointers/nested proc vars, etc
  must still follow the default calling model of the current memory model. Note
  that this feature isn't TP7 compatible (TP7 doesn't allow near procvars at
  all), but is common to 16-bit C compilers and is quite useful for calling
  external code (e.g. for far calling BIOS or some other real mode API entry
  points from any memory model, etc.)

git-svn-id: trunk@38595 -
2018-03-22 17:13:30 +00:00
nickysn
48b57c2f9a * use is_proc_far(procdefinition) instead of the current memory model to
determine whether to issue a near or a far call in ti8086callnode.do_call_ref.
  This will allow adding support for near and far procvars in any memory model.

git-svn-id: trunk@38594 -
2018-03-22 17:07:15 +00:00
michael
317583d6d2 * Added additional stretchmodes. Correct stretchmode for Memo element
git-svn-id: trunk@38593 -
2018-03-22 09:06:53 +00:00
Károly Balogh
ff28ce84b2 netbsd: arm also needs USE_SIGACTION_SIGTRAMP
git-svn-id: trunk@38592 -
2018-03-22 01:11:33 +00:00
Károly Balogh
b06105c893 netbsd: startup code, first working version for arm
git-svn-id: trunk@38591 -
2018-03-22 01:10:37 +00:00
Károly Balogh
626dc172ee arm-netbsd: append -N to the command line. lets figure out later if this is the right solution here
git-svn-id: trunk@38590 -
2018-03-22 00:43:32 +00:00
Károly Balogh
5e8e9efd83 arm-netbsd: use HF ABI, needs proper alignment
git-svn-id: trunk@38589 -
2018-03-22 00:42:43 +00:00
pierre
5cd984b0cb Use RTE 234 insterad of 233 which is for SigQuit in unimplementedunicodestring
git-svn-id: trunk@38588 -
2018-03-21 10:30:26 +00:00
michael
bf3e437dd6 * Fix bug #33475, add AddPair for Delphi compatibility, modified patch by Silvio Clecio
git-svn-id: trunk@38587 -
2018-03-21 10:30:02 +00:00
pierre
31620a9c94 Add ESigQuit Exception class and use it in exceptmap
git-svn-id: trunk@38586 -
2018-03-21 10:28:33 +00:00
michael
5a8a3ddc21 * Fix content sending
git-svn-id: trunk@38585 -
2018-03-21 10:22:34 +00:00
pierre
250e924ad3 + Add RTE 236 for thread errors:
inc/systemh.inc and java/jsystemh.inc:
    + Add reThreadError (and also reNoDynLibsSupport) to TRuntimeError.
    * Add new values to RuntimeErrorExitCodes after extension of TRuntimeError
  inc/system.inc and java/jsystem.inc:
    * use RTE 236 in fpc_threaderror.
  objpas/sysconst.pp and objpas/sysutils/stre.inc:
    + Add SThreadError string constant.
  objpas/sysutils/sysutilh.inc:
    + Add EThreadError class.
  objpas/sysutils/sysutils.inc
    + Add 236 to EThreadError conversion to exeptmap.

git-svn-id: trunk@38584 -
2018-03-21 10:19:04 +00:00
michael
59fdcb7953 * Deprecate databand.HeaderBand, Databand.FooterBand in favour of Ddataheader.Data/DataFooter.Data
git-svn-id: trunk@38583 -
2018-03-21 09:30:36 +00:00
Mattias Gaertner
f8b3ec21be pastojs: set version 0.9.13
git-svn-id: trunk@38582 -
2018-03-21 09:19:05 +00:00
Mattias Gaertner
63d7f03d31 pastojs: filer: fixed msignoreinterfaces
git-svn-id: trunk@38581 -
2018-03-21 09:10:26 +00:00
florian
6c9d7e5c07 - remove ret check to make it more stable
git-svn-id: trunk@38580 -
2018-03-20 21:58:56 +00:00
florian
fa3ee68004 o patch by Dávid Pethes: Fixes for compilation with nasm 2.10 and higher on Win64:
* disable generation of RVA and SECREL32 symbols (according to comment in taiconst_type, they are win32 only)
  * use lowercase cpu names (it was changed from case-insensitive names sometime after 2.10)

git-svn-id: trunk@38579 -
2018-03-20 21:55:01 +00:00
Mattias Gaertner
cd4c277ae2 fcl-passrc: useanalyzer: use TObject.AfterConstruction, BeforeDestruction
git-svn-id: trunk@38578 -
2018-03-20 17:02:17 +00:00
Mattias Gaertner
97e74fe6fd pas2js: fixed typo
git-svn-id: trunk@38577 -
2018-03-19 18:31:34 +00:00
Mattias Gaertner
0bdb6fc179 pastojs: version 0.9.12
git-svn-id: trunk@38576 -
2018-03-19 17:28:29 +00:00
Mattias Gaertner
53aa36a0e4 pastojs: proc references: fixed duplicate names
git-svn-id: trunk@38575 -
2018-03-19 17:08:04 +00:00
Mattias Gaertner
13e050baef fcl-passrc: proc references: fixed duplicate names
git-svn-id: trunk@38574 -
2018-03-19 17:07:55 +00:00
Mattias Gaertner
0f758b78b9 pastojs: filer: do not write procedure local identifier scope list
git-svn-id: trunk@38573 -
2018-03-19 15:33:47 +00:00
Mattias Gaertner
30c4fb3503 fcl-passrc: added GetElementFullPath
git-svn-id: trunk@38572 -
2018-03-19 15:32:41 +00:00
michael
65b39fa567 * Fix memleak in check
git-svn-id: trunk@38571 -
2018-03-19 09:19:39 +00:00
michael
1097d85936 * Fix bug ID #33461, wrong display of currency values
git-svn-id: trunk@38570 -
2018-03-19 08:00:28 +00:00
Mattias Gaertner
f8274498ab pastojs: fixed parent of external method LibrarySymbol, filer: fixed class forwards
git-svn-id: trunk@38569 -
2018-03-18 21:49:44 +00:00
Mattias Gaertner
70c60de242 fcl-passrc: resolver: check duplicate proc implementation
git-svn-id: trunk@38568 -
2018-03-18 21:47:19 +00:00
Mattias Gaertner
dc12234af8 fcl-passrc: parser: fixed parent of TPasArgument.Value
git-svn-id: trunk@38567 -
2018-03-18 21:46:27 +00:00
michael
4972a9fbb8 * Allow use of mime.types on windows
git-svn-id: trunk@38566 -
2018-03-18 18:16:48 +00:00
michael
b86cd03403 * Fix for bug #33451: Set-Cookie only keeps last cookie, patch by engkin
git-svn-id: trunk@38565 -
2018-03-18 16:28:30 +00:00
Mattias Gaertner
afb706b772 pastojs: writer: external reference queue
git-svn-id: trunk@38564 -
2018-03-18 13:00:59 +00:00
michael
df4d675339 * Fix moHideZeroes and moSupporessRepeated
git-svn-id: trunk@38563 -
2018-03-18 12:19:39 +00:00
michael
7cc08330da * Add FieldIsNull built-in function
git-svn-id: trunk@38562 -
2018-03-18 12:00:37 +00:00
michael
10121a4777 * Always initialize memo expressions, even if no Data available
git-svn-id: trunk@38561 -
2018-03-18 11:28:28 +00:00
michael
6c3ac68f1a * Open all datasets correctly, and initialize memo expressions correctly (bug ID 33405)
git-svn-id: trunk@38560 -
2018-03-18 11:14:12 +00:00
michael
abe510c09e * Fix bug #33349, data header/footer at wrong position
git-svn-id: trunk@38559 -
2018-03-18 09:12:21 +00:00
florian
71e71ad267 * fix currency division on non x86 32 bit targets
* disable fix for #33439 during bootstrapping with 3.0.x, as 3.0.x cannot compile the currency division without the fix above

git-svn-id: trunk@38558 -
2018-03-17 22:44:44 +00:00
florian
35d49f804c * search also the "lib" path variants on x86-64 if the "lib64" ones are not
found, some distros use lib instead of lib64 for x86-64

git-svn-id: trunk@38557 -
2018-03-17 21:58:24 +00:00
florian
b55f9fda01 * fix size
git-svn-id: trunk@38556 -
2018-03-17 21:55:48 +00:00
florian
b2825f2467 * scale constants if possible before currency multiplications to avoid overflows, resolves #33439
git-svn-id: trunk@38555 -
2018-03-17 21:33:07 +00:00
florian
aa4af19027 * set localalignmin to 4 on x86_64-win64, there is no reason to leave it at 8 (same as linux)
* adapt tasm23b

git-svn-id: trunk@38554 -
2018-03-17 21:30:49 +00:00
michael
efa950a021 * Fix bug ID #33449 (BufDataset.FileName type change to TFileName)
git-svn-id: trunk@38553 -
2018-03-17 17:50:40 +00:00
michael
5c1d8433f7 * Dependency on fcl-web for fphttpclient
git-svn-id: trunk@38552 -
2018-03-17 17:20:22 +00:00