Commit Graph

56834 Commits

Author SHA1 Message Date
Mattias Gaertner
d773eb84fa pastojs: fixed ComIntfInstance is/as IntfType
git-svn-id: trunk@42770 -
2019-08-23 09:33:48 +00:00
Mattias Gaertner
26c87910f8 fcl-passrc: check delphi generic class method implementation params
git-svn-id: trunk@42769 -
2019-08-23 09:33:02 +00:00
michael
a7f363e246 * Set content-type on response (bug ID 35990)
git-svn-id: trunk@42768 -
2019-08-23 07:21:44 +00:00
michael
6a3530f69d * Make TResponse.Content a RawByteString
git-svn-id: trunk@42767 -
2019-08-23 07:21:03 +00:00
michael
ee6c426e05 * Fix bug ID #0035596: better detection of vcs device
git-svn-id: trunk@42766 -
2019-08-23 06:45:11 +00:00
svenbarth
707e05d131 * check for CPUM68k instead of M68K; the latter should only be defined when building the compiler, so I wonder how that ever worked...
git-svn-id: trunk@42765 -
2019-08-22 20:45:48 +00:00
svenbarth
0c46460548 * m68k has slightly different alignment requirements, so that aligntoptr might result in incorrect addresses for a record's element entries, thus we introduce a separate AlignTypeData function that handles this correctly
git-svn-id: trunk@42764 -
2019-08-22 20:45:45 +00:00
Károly Balogh
3662afe93b m68k: added more cpu capabilities. changed the CG at a few places to actually use them
git-svn-id: trunk@42763 -
2019-08-22 15:38:08 +00:00
pierre
3c04f20252 * Fix errors in sourcezip generation:
in fcl-process, by adding src subdirectory also as include dir.
    in winceunits, by removing activex from implicit unit list for wince target,
    as it already is in the explicit unit list.

git-svn-id: trunk@42762 -
2019-08-22 15:33:45 +00:00
pierre
a5906c160f Also use ACPU and AOS parameters to call GetUnitConfigOutputFilename
git-svn-id: trunk@42761 -
2019-08-22 13:01:08 +00:00
Károly Balogh
a7fb5c2c2f amunits: added DoSuperMethod into intuition, this matches other platforms
git-svn-id: trunk@42760 -
2019-08-22 09:04:33 +00:00
Mattias Gaertner
a1e66699d7 fcl-passrc: parser: allow ^dottedidentifier, forbid ^simpletype
git-svn-id: trunk@42759 -
2019-08-21 23:35:36 +00:00
svenbarth
81870c00f6 - remove no longer required pointer types (they are part of the System unit now)
git-svn-id: trunk@42758 -
2019-08-21 20:25:40 +00:00
svenbarth
a8cf852b0f - remove an unused local variable
git-svn-id: trunk@42757 -
2019-08-21 20:25:37 +00:00
svenbarth
805a9fa448 - remove the no longer required code that used TMethodImplementation for the IInterface methods
git-svn-id: trunk@42756 -
2019-08-21 20:25:34 +00:00
svenbarth
7b4cf161aa * implement RawThunk for ARM
git-svn-id: trunk@42755 -
2019-08-21 20:25:31 +00:00
svenbarth
5978d9924f - remove unused local variable
git-svn-id: trunk@42754 -
2019-08-21 20:25:28 +00:00
pierre
162a62d4ce Update after commit 42749
git-svn-id: trunk@42753 -
2019-08-21 08:58:09 +00:00
pierre
e45ad64d41 * Revert changes to tarray15.pp
* Modify treadonlydata.pp to not use dynamic array.
   + Add test treadonlydata2.pp that should fail at compile time.

git-svn-id: trunk@42752 -
2019-08-21 07:23:51 +00:00
pierre
9b0893e6ae Add generated Makefile which was not on svn yet
git-svn-id: trunk@42751 -
2019-08-20 16:07:59 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
pierre
a652f9e304 Adapt fpc_clean and fpc_cleanall targets
to handle link.res ans script.res vairants with ProcessID.
   Also remove *$(FULL_TARGET).fpm file for fpc_clean
   and *.fpm for fpc_cleanall target.

git-svn-id: trunk@42749 -
2019-08-20 15:40:49 +00:00
pierre
e8ae490128 sparc32 bit needs SA_SIGINFO
git-svn-id: trunk@42748 -
2019-08-20 14:25:32 +00:00
pierre
c406d0121e Move test for read-only data to new separate test source treadonlydata.pp
git-svn-id: trunk@42747 -
2019-08-20 14:15:06 +00:00
nickysn
94e22f1262 + added a getter for the NewExeSegmentFlags property, that returns the
nesfHasRelocationData flag according to whether the Relocations list is
  non-empty

git-svn-id: trunk@42746 -
2019-08-20 13:49:43 +00:00
pierre
36b7842eb6 Add x86_64-aros and m68k-macos to OSCPUSupported table
git-svn-id: trunk@42745 -
2019-08-20 12:11:17 +00:00
nickysn
e7d590724a + added and implemented the TNewExeRelocationList class
git-svn-id: trunk@42744 -
2019-08-20 11:42:07 +00:00
michael
a7880cbfab * Fix bug #0035985
git-svn-id: trunk@42743 -
2019-08-20 07:03:24 +00:00
pierre
6f2b027e51 Avoid range check error for functions returning THandle type by using unusedhandle system constant
git-svn-id: trunk@42742 -
2019-08-19 20:23:31 +00:00
pierre
8fd0a27875 Avoid range check error for avr/i8086 CPU by changing local variable dist type to asizeuint
git-svn-id: trunk@42741 -
2019-08-19 20:22:22 +00:00
pierre
687554f4ec Fix compilation for i8086, AllocateRawThunk return type changed to CodePointer
git-svn-id: trunk@42740 -
2019-08-19 15:44:29 +00:00
Károly Balogh
4936358bee m68k: fpu capabilities support
git-svn-id: trunk@42739 -
2019-08-19 15:07:22 +00:00
pierre
7f6122884f Fix assembly instruction errors
git-svn-id: trunk@42738 -
2019-08-19 12:05:30 +00:00
lacak
1da7ba5d70 fcl-db: sqldb: Upgrade TDS protocol version from 7.0 (MS SQL Server 2000) to newer 7.3 (MS SQL Server 2008) to support new data types DATE, TIME, DATETIME2 introduced in MS SQL Server 2008.
git-svn-id: trunk@42737 -
2019-08-19 11:52:28 +00:00
Mattias Gaertner
722e33ce65 fcl-passrc: parser: bark on garbage behind proc modifier
git-svn-id: trunk@42736 -
2019-08-19 08:53:09 +00:00
Mattias Gaertner
c3b1450c4b fcl-passrc: generics: allow both a<t> and a<s,t>
git-svn-id: trunk@42735 -
2019-08-19 08:22:22 +00:00
svenbarth
652e1985a9 * implement thunking for x86_64 SysV ABI targets
git-svn-id: trunk@42734 -
2019-08-18 18:30:42 +00:00
svenbarth
58ada1f547 + add a test for RawThunk; this does not require a function call manager thus it's better to place it in the general RTTI testcase so that it's always tested
git-svn-id: trunk@42733 -
2019-08-18 18:30:39 +00:00
svenbarth
62a61bdb41 * fix ifdefs for non-fpc (Lazarus likes to mess these up during auto completion...)
git-svn-id: trunk@42732 -
2019-08-18 18:30:37 +00:00
svenbarth
048dc7b289 * implement RawThunk for x86_64-win64
git-svn-id: trunk@42731 -
2019-08-18 18:30:34 +00:00
Jonas Maebe
27a4a3d446 * added error checking to the test
git-svn-id: trunk@42730 -
2019-08-18 15:55:11 +00:00
Jonas Maebe
693e72ade3 * Darwin now uses Mach VM calls for memory allocation instead of mmap/munmap
+ added sysrealloc support for Darwin (Darwin does not have mremap)

git-svn-id: trunk@42729 -
2019-08-18 15:55:07 +00:00
Jonas Maebe
14a7429e19 * factored out inlinenode check whether it may have a side effect
o also added register assert as having a side-effect (if asserts are
     enabled)

git-svn-id: trunk@42728 -
2019-08-18 15:55:03 +00:00
florian
5d1d9858d1 + VMovVMov2VMov optimization
git-svn-id: trunk@42727 -
2019-08-18 12:09:03 +00:00
florian
3d5ab366e1 * fix RemoveSuperfluousVMov if the VMov destination reg is an integer register, resolved #35978
git-svn-id: trunk@42726 -
2019-08-18 11:28:39 +00:00
florian
4f38f12815 -- Zusammenführen von r42706 bis r42724 in ».«:
U    tests/utils/avx/avxopcodes.pas
U    compiler/x86/aasmcpu.pas
U    compiler/x86/rax86.pas
-- Aufzeichnung der Informationen für Zusammenführung von r42706 bis r42724 in ».«:
 U   .

git-svn-id: trunk@42725 -
2019-08-18 11:18:41 +00:00
tg74
a5e158f8d6 cleanup
git-svn-id: branches/tg74/avx512merge@42724 -
2019-08-18 04:41:34 +00:00
tg74
9baf452681 Bugfix GATHER/SCATTER memref
git-svn-id: branches/tg74/avx512merge@42723 -
2019-08-18 04:39:36 +00:00
florian
9230ae5aab o overhaul-base.patch by J. Gareth Moreton, base for further patches
+ some inline directives added
  + some functions exported from units

git-svn-id: trunk@42722 -
2019-08-17 16:14:22 +00:00
Mattias Gaertner
210caa0c8d fcl-passrc: fixed IsTypeCast for record type
git-svn-id: trunk@42721 -
2019-08-17 15:41:51 +00:00