Commit Graph

10371 Commits

Author SHA1 Message Date
Mattias Gaertner
75ab803528 pastojs: fixed Result.Free
git-svn-id: trunk@40675 -
2018-12-27 09:38:09 +00:00
Mattias Gaertner
2d94d97887 fcl-passrc: resolver: function result is writable
git-svn-id: trunk@40674 -
2018-12-27 09:37:51 +00:00
svenbarth
f0753517b4 * fix compilation on platforms that *do* have a Comp type
git-svn-id: trunk@40673 -
2018-12-27 09:21:45 +00:00
Mattias Gaertner
324a645bb5 pastojs: fixed compile
git-svn-id: trunk@40672 -
2018-12-27 08:18:26 +00:00
Mattias Gaertner
19836867da fcl-passrc: resolver: test adv records
git-svn-id: trunk@40671 -
2018-12-27 08:18:13 +00:00
svenbarth
9eac2ea852 * correctly handle record, set and array results if no extended parameter information is available
git-svn-id: trunk@40669 -
2018-12-26 22:59:45 +00:00
svenbarth
8c52dc30ce * move check for result location to separate function
git-svn-id: trunk@40668 -
2018-12-26 22:59:42 +00:00
svenbarth
cfd8df4894 + add tests for raw Invoke() which needs to determine the result location by itself
git-svn-id: trunk@40667 -
2018-12-26 22:59:39 +00:00
svenbarth
93e0cd9e1a * fix for Mantis #34496: correctly align stack so that SSE operations work correctly
git-svn-id: trunk@40666 -
2018-12-26 22:59:36 +00:00
svenbarth
30f14cfcc0 + add some more tests for floating point values
git-svn-id: trunk@40665 -
2018-12-26 22:59:33 +00:00
svenbarth
dbaf7a69bd * correctly handle a floating point result
git-svn-id: trunk@40664 -
2018-12-26 22:59:30 +00:00
svenbarth
551e36cd19 + add tests for floating point arguments and results
git-svn-id: trunk@40663 -
2018-12-26 22:59:27 +00:00
svenbarth
0d09c3c124 + add utility functions to get TValue values for Single, Double, Extended, Comp and Currency
git-svn-id: trunk@40662 -
2018-12-26 22:59:24 +00:00
svenbarth
bd328025fd * correctly compare tkFloat values
git-svn-id: trunk@40661 -
2018-12-26 22:59:21 +00:00
svenbarth
8d235b5f26 * more correct handling of floating point values (especially Comp and Currency) inside TValue
git-svn-id: trunk@40660 -
2018-12-26 22:59:18 +00:00
Mattias Gaertner
337fd5abb8 fcl-passrc: parser: fixed parsing record consts
git-svn-id: trunk@40659 -
2018-12-26 21:37:06 +00:00
Károly Balogh
120472dd5b amunits: fixed SetFileSize() return value to be LongInt
git-svn-id: trunk@40653 -
2018-12-26 06:13:41 +00:00
Mattias Gaertner
6ff287637a fcl-passrc: parser: record property must have type
git-svn-id: trunk@40650 -
2018-12-25 22:45:44 +00:00
michael
66b61bd607 * Implement locate and lookup
git-svn-id: trunk@40644 -
2018-12-25 16:29:19 +00:00
Mattias Gaertner
18d4e36361 fcl-passrc: added some advanced record tests
git-svn-id: trunk@40639 -
2018-12-25 07:19:34 +00:00
Mattias Gaertner
5c5a524cd4 fcl-passrc: parse property dispid only in dispinterface
git-svn-id: trunk@40638 -
2018-12-25 07:18:12 +00:00
Mattias Gaertner
765fdb7641 pastojs: fixed uninitialized result
git-svn-id: trunk@40620 -
2018-12-23 16:34:29 +00:00
marco
e156128065 * set version over $I, one less file to edit.
git-svn-id: trunk@40615 -
2018-12-22 16:31:39 +00:00
marco
a5b0531980 * fixed formatting parameter in SWarnRetryDeleteFile
git-svn-id: trunk@40614 -
2018-12-22 15:55:44 +00:00
marco
645b924b0c * ctrl-shift-arrow key definitions for xterm, xfce
git-svn-id: trunk@40611 -
2018-12-22 14:56:20 +00:00
michael
c0e680e277 * Load extension demo by Silvio Clecio
git-svn-id: trunk@40610 -
2018-12-21 23:09:40 +00:00
michael
51995c5cac * Examples for extension
git-svn-id: trunk@40609 -
2018-12-21 23:08:00 +00:00
michael
f5a1fce16f * Contribution by Silvio Clecio to make writing extensions possible
git-svn-id: trunk@40608 -
2018-12-21 23:06:14 +00:00
michael
e2ff02a0f5 * Small optimization: add const to string argument (By Silvio Clecio)
git-svn-id: trunk@40607 -
2018-12-21 22:11:32 +00:00
Jonas Maebe
c6bb85eae9 * support for compiling the objects unit methods that expect local procedure/
function pointers using {$modeswitch nestedprocvars} functionality, activate
    this for LLVM and also activate that modeswitch for a test that uses this
   o also convert the IDE units to use this functionality
   o requires extra typecasts because implicit type conversions from
     procvar(p: psometype) to procvar(p: pointer) are not supported; on the
     plus side, even those type conversions are checked for validity
   o note: requires {$modeswitch nestedprocvars} in all programs/units
     that rely on this functionality

git-svn-id: trunk@40598 -
2018-12-20 21:22:40 +00:00
Mattias Gaertner
e108d9c5eb pastojs: concat(string1,string2,...)
git-svn-id: trunk@40597 -
2018-12-19 23:18:04 +00:00
Mattias Gaertner
ee61fc2102 fcl-passrc: resolver: concat(string1,string2,...)
git-svn-id: trunk@40596 -
2018-12-19 23:17:52 +00:00
Mattias Gaertner
36f3508614 pastojs: jsvalue:=anonymousfunction
git-svn-id: trunk@40594 -
2018-12-19 21:49:49 +00:00
Mattias Gaertner
b7c1732039 pastojs: less fpc hints, test for conflict of external class and property
git-svn-id: trunk@40593 -
2018-12-18 22:21:13 +00:00
Mattias Gaertner
601c6476ea fcl-js: less hints
git-svn-id: trunk@40592 -
2018-12-18 22:20:12 +00:00
Mattias Gaertner
0043b747c7 fcl-passrc: TPasClassType and TPasRecordType now have common ancestor, resolver: started advancedrecord methods
git-svn-id: trunk@40591 -
2018-12-18 22:19:43 +00:00
Mattias Gaertner
89e66cd2fc pastojs: fixed tests
git-svn-id: trunk@40584 -
2018-12-17 11:45:35 +00:00
Mattias Gaertner
65fdc04dc3 fcl-passrc: fixed parsing comment in $IFDEF, $IFNDEF, issue #34711
git-svn-id: trunk@40582 -
2018-12-17 08:40:35 +00:00
Mattias Gaertner
2e98c7d41b pas2js: set trunk version to 1.3.1
git-svn-id: trunk@40562 -
2018-12-16 19:52:16 +00:00
marco
8ef868591d * deprecate .commandline property setter setcommandline too.
git-svn-id: trunk@40561 -
2018-12-16 12:15:23 +00:00
Mattias Gaertner
dbdf8e14df pastojs: added -iJ
git-svn-id: trunk@40558 -
2018-12-15 13:32:59 +00:00
Mattias Gaertner
2972be4ddd pastojs: fixed compile under pas2js
git-svn-id: trunk@40555 -
2018-12-15 11:32:28 +00:00
Mattias Gaertner
38a511a2f0 pas2js: cleaned up pcu
git-svn-id: trunk@40554 -
2018-12-15 11:11:24 +00:00
Mattias Gaertner
95c4736785 pas2js: added option -JoRTL-x=y, added shared converter options
git-svn-id: trunk@40553 -
2018-12-15 11:04:50 +00:00
yury
67f10be246 * Use the "doc" subdir instead of "docs" for non-unix targets. The "doc" name is used in classic makefiles and we've got 2 sub-dirs "doc" and "docs" for non-unix targets. This commit fixes that.
git-svn-id: trunk@40552 -
2018-12-14 19:17:11 +00:00
Mattias Gaertner
f15a8b90f1 pastojs: procedure val(const string; out enum; out int)
git-svn-id: trunk@40550 -
2018-12-14 14:57:58 +00:00
Mattias Gaertner
ce1c2487ec fcl-passrc: resolver: procedure val(const string; out enum|int|bool|float; out int)
git-svn-id: trunk@40549 -
2018-12-14 14:57:22 +00:00
pierre
f8563772c5 Always accept empty string as meaning zero is TryRomanToInt, fixes intermittent errors in tromantoint test
git-svn-id: trunk@40537 -
2018-12-13 10:21:58 +00:00
Mattias Gaertner
3053d554a8 pastojs: mode delphi assign ano proc
git-svn-id: trunk@40534 -
2018-12-12 12:25:05 +00:00
Mattias Gaertner
d985a016a5 fcl-passrc: resolver: check reference-to when assign ano proc
git-svn-id: trunk@40533 -
2018-12-12 12:24:43 +00:00