Commit Graph

57081 Commits

Author SHA1 Message Date
Jonas Maebe
59b846a2ec * fixed after implementation of Objective-C "related result type" convention
git-svn-id: trunk@42817 -
2019-08-25 15:23:56 +00:00
Jonas Maebe
956aab3be0 * implement support for the Objective-C "related result type" convention
as described on
    http://releases.llvm.org/8.0.0/tools/clang/docs/LanguageExtensions.html#objective-c-features
    (rest of mantis #35994)

git-svn-id: trunk@42816 -
2019-08-25 15:23:53 +00:00
Jonas Maebe
bc7b90185f * when searching for a procsym in an Objective-C category for an objcclass,
try to find the procsym in the category of the objcclass that is closest
    related to the original objcclass (e.g.
     NSMutableDictionary.dictionaryWithContentsOfFile() -> prefer the
     dictionaryWithContentsOfFile() from NSMutableDictionaryCreation to the
     one from NSDictionaryCreation (part of mantis #35994)

git-svn-id: trunk@42815 -
2019-08-25 15:23:48 +00:00
Károly Balogh
d29f44e1c7 m68k: rework of the inline nodes to use fpu_capabilities. added fast path for round/trunc (enabled for fastmath only)
git-svn-id: trunk@42814 -
2019-08-25 12:12:15 +00:00
marco
8dddf8a525 * patch from Ondrej, TVerticalAlignment & TTopBottom
git-svn-id: trunk@42813 -
2019-08-25 09:37:21 +00:00
marco
5416e3657f * inprocess comserver example. Polished up test From Anton K. from mantis #35013
git-svn-id: trunk@42812 -
2019-08-25 09:33:02 +00:00
Mattias Gaertner
f61641accc fcl-passrc: useanalyzer: check specialized and half specialized type
git-svn-id: trunk@42811 -
2019-08-25 09:00:48 +00:00
svenbarth
63d83de063 * ccReg is the default calling convention on selected architectures (though I wonder why x86_64 returns ccReg as well when it does not support ccReg... :/ )
git-svn-id: trunk@42810 -
2019-08-24 23:08:42 +00:00
svenbarth
117fa8fa53 * Writeln is only needed for Debug
git-svn-id: trunk@42809 -
2019-08-24 23:08:39 +00:00
svenbarth
7e1607e095 * correct alignment for the property table
git-svn-id: trunk@42808 -
2019-08-24 23:08:36 +00:00
svenbarth
2dc771b7ba * TClassData also needs alignment dummies
git-svn-id: trunk@42807 -
2019-08-24 23:08:33 +00:00
svenbarth
f740fc4228 * correct alignment of the procedure parameters
git-svn-id: trunk@42806 -
2019-08-24 23:08:30 +00:00
svenbarth
9bdef3b7c3 * correct alignment of the parameter type informations
git-svn-id: trunk@42805 -
2019-08-24 23:08:26 +00:00
svenbarth
62e7bb6254 * correct alignment for the result name/type
git-svn-id: trunk@42804 -
2019-08-24 23:08:23 +00:00
svenbarth
dad9260f93 + introduce AlignToPtr, a copy of the one from the TypInfo unit (we should really come up with a better name here considering that it's redirecting to AlignTypeData on m68k...)
git-svn-id: trunk@42803 -
2019-08-24 23:08:20 +00:00
svenbarth
2002650a23 * small corrections (grammar, casing, typo) for the comment for TCallConv
git-svn-id: trunk@42802 -
2019-08-24 23:08:17 +00:00
svenbarth
3df9552444 * implement RawThunk for m68k (works for Coldfire, but I hope the real 68k will handle it as well)
git-svn-id: trunk@42801 -
2019-08-24 23:08:07 +00:00
michael
f52b14ff3e * Make order of ISO8601ToDate consistent, ReturnUTC always at the end, and default true
git-svn-id: trunk@42800 -
2019-08-24 11:05:19 +00:00
michael
2664a0a856 * Make order of args in TryISO8601ToDate delphi compatible
git-svn-id: trunk@42799 -
2019-08-24 11:01:15 +00:00
michael
91ba1214d2 * Allow context when sorting lists (patch from Ondrej Pokorny, bug ID #0035962)
git-svn-id: trunk@42798 -
2019-08-24 10:46:51 +00:00
svenbarth
c1e3c61af3 * don't call the memory manager's functions, but instead call the Sys* functions directly
git-svn-id: trunk@42797 -
2019-08-24 10:37:20 +00:00
svenbarth
f88a98e976 * heaptrc should not rely on the original SysAllocMem calling the heaptrace memory manager's functions
git-svn-id: trunk@42796 -
2019-08-24 10:37:16 +00:00
michael
c97ffc6658 * Small cosmetic improvement to output
git-svn-id: trunk@42795 -
2019-08-24 09:56:58 +00:00
michael
fa46441eb1 * Add module to units part of project
git-svn-id: trunk@42794 -
2019-08-24 09:56:27 +00:00
michael
f8d11a10b6 * Dependencies no longer needed
git-svn-id: trunk@42793 -
2019-08-24 09:55:28 +00:00
michael
ea62b51a1f * TSQLConnector GetNextValueSQL must call proxy implementation
git-svn-id: trunk@42792 -
2019-08-24 09:54:52 +00:00
michael
79359096e9 * Add src to path
git-svn-id: trunk@42791 -
2019-08-24 09:53:43 +00:00
michael
9b261254ee * V2 is default
git-svn-id: trunk@42790 -
2019-08-24 09:53:23 +00:00
michael
69385a7eb0 * Write version option in help
git-svn-id: trunk@42789 -
2019-08-24 09:53:00 +00:00
michael
eafcf34584 * Allow aliases
git-svn-id: trunk@42788 -
2019-08-24 09:52:27 +00:00
michael
26c3882c43 * Allow aliases
git-svn-id: trunk@42787 -
2019-08-24 09:52:04 +00:00
michael
0f55367c37 * Add FPC define, check for unit for short description
git-svn-id: trunk@42786 -
2019-08-24 09:51:13 +00:00
michael
3acca85597 * Take into account skipped
git-svn-id: trunk@42785 -
2019-08-24 09:50:07 +00:00
michael
b38596b925 * Safety for empty asJSON. Should not happen, but better safe than sorry
git-svn-id: trunk@42784 -
2019-08-24 09:35:47 +00:00
michael
778ae03532 CreateJSON2ErrorResponse now clones ID parameter instead of consuming it (bug ID 35999)
git-svn-id: trunk@42783 -
2019-08-24 09:34:41 +00:00
michael
dc3b9b4ab0 * Add WideString support in json string constructor
git-svn-id: trunk@42782 -
2019-08-24 08:54:24 +00:00
svenbarth
00a418f589 * also correctly align the pointer for the record elements inside FPC_COPY
git-svn-id: trunk@42781 -
2019-08-23 21:57:17 +00:00
svenbarth
865f675a7a * fix TValue.FromOrdinal for big endian targets
git-svn-id: trunk@42780 -
2019-08-23 21:57:14 +00:00
pierre
5e4c510563 Ensure that fpmake_proc.inc and fpmake_add.inc source files are integrated into source zips for packages and utils
git-svn-id: trunk@42779 -
2019-08-23 15:55:54 +00:00
pierre
e7bf200fcb Disable explicit list of supported OSes
git-svn-id: trunk@42778 -
2019-08-23 15:13:10 +00:00
pierre
deaeac82d0 Add package desciption and remove limitation to darwin and iphonesim systems only
git-svn-id: trunk@42777 -
2019-08-23 15:11:36 +00:00
svenbarth
b0b2218cca * fix for Mantis #35981: ensure that the "specialize" token is only really used in non-Delphi modes
git-svn-id: trunk@42776 -
2019-08-23 14:59:20 +00:00
svenbarth
631364aa9f * fix for Mantis #35469: change DWORD types to DWORD_PTR were required by the mmsystem.h related headers
git-svn-id: trunk@42775 -
2019-08-23 14:59:17 +00:00
svenbarth
db2a5285a9 * fix for Mantis #35988: the internal heap uses directly the Sys* functions, not the memory manager
git-svn-id: trunk@42774 -
2019-08-23 14:59:15 +00:00
svenbarth
33f6adfab6 * fix for Mantis #35982: free created attributes once the type is freed
+ added test

git-svn-id: trunk@42773 -
2019-08-23 14:59:13 +00:00
svenbarth
8e8ffa0511 * fix a rather annoying typo
git-svn-id: trunk@42772 -
2019-08-23 14:59:10 +00:00
Mattias Gaertner
c38c3bc12d pastojs: fixed ComIntfInstance is/as IntfType using QueryInterface
git-svn-id: trunk@42771 -
2019-08-23 09:34:33 +00:00
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