Commit Graph

10371 Commits

Author SHA1 Message Date
Mattias Gaertner
3d2322512e pastojs: stack trace in nodejs
git-svn-id: trunk@40194 -
2018-11-02 22:55:20 +00:00
Mattias Gaertner
bdb3a9175d pastojs: fixed escaping invalid UTF-16 in string literals
git-svn-id: trunk@40193 -
2018-11-02 22:54:26 +00:00
Mattias Gaertner
59414e3030 pastojs: fixed escaping invalid UTF-16 i string literals
git-svn-id: trunk@40192 -
2018-11-02 22:53:36 +00:00
Mattias Gaertner
f0e75cdbbb fcl-js: fixed escaping invalid UTF-16 i string literals
git-svn-id: trunk@40191 -
2018-11-02 22:52:22 +00:00
Mattias Gaertner
2aab88ee4e pastojs: fixed range check of o.aArray[index]
git-svn-id: trunk@40177 -
2018-11-02 00:20:48 +00:00
Mattias Gaertner
3979f9922a pastojs: fixed range check of o.aString[index]
git-svn-id: trunk@40175 -
2018-11-02 00:06:29 +00:00
Mattias Gaertner
f116d51fd9 pastojs: load include file from cache
git-svn-id: trunk@40173 -
2018-11-01 23:41:06 +00:00
Mattias Gaertner
571094912b fcl-passrc: fixed error position on include file not found
git-svn-id: trunk@40171 -
2018-11-01 23:23:34 +00:00
Mattias Gaertner
c39cc4475f pastojs: fixed assigning class var of descended classes
git-svn-id: trunk@40168 -
2018-11-01 22:40:57 +00:00
Mattias Gaertner
3f50c51225 fcl-passrc: added TPasResolver.IsClassField
git-svn-id: trunk@40166 -
2018-11-01 22:36:46 +00:00
Mattias Gaertner
2070df21ac fcl-passrc: debug check
git-svn-id: trunk@40165 -
2018-11-01 22:36:24 +00:00
Mattias Gaertner
5951a3c0ce pastojs: fixed inc(classvar)
git-svn-id: trunk@40152 -
2018-11-01 15:06:59 +00:00
Mattias Gaertner
f5574bebc9 pastojs: using same val function as resolver
git-svn-id: trunk@40151 -
2018-11-01 13:58:26 +00:00
Mattias Gaertner
681016370e fcl-passrc: fixed IsCharLiteral in pas2js
git-svn-id: trunk@40150 -
2018-11-01 13:58:01 +00:00
Mattias Gaertner
a2f89ac1f9 pas2js: debug val() failure
git-svn-id: trunk@40144 -
2018-11-01 13:32:58 +00:00
Mattias Gaertner
cc44f64920 pastojs: fixed for e in set do
git-svn-id: trunk@40140 -
2018-11-01 12:43:39 +00:00
Mattias Gaertner
db4f11201a nodepas2js: exception handling with stacktrace
git-svn-id: trunk@40139 -
2018-11-01 12:42:40 +00:00
Mattias Gaertner
32907ada6d pastojs: fixed searching paths without trailing pathdelim
git-svn-id: trunk@40138 -
2018-11-01 12:42:05 +00:00
Mattias Gaertner
42c2859ce4 fcl-passrc: fixed hashlist for pas2js
git-svn-id: trunk@40137 -
2018-11-01 12:41:04 +00:00
Mattias Gaertner
46b1838d60 fcl-json: fixed hashlist for pas2js
git-svn-id: trunk@40136 -
2018-11-01 12:40:46 +00:00
Mattias Gaertner
b5e7566e55 fcl-js: fixed hashlist for pas2js
git-svn-id: trunk@40135 -
2018-11-01 12:40:25 +00:00
Mattias Gaertner
72bab28659 pastojs: fixed local record and enum types
git-svn-id: trunk@40133 -
2018-11-01 10:02:18 +00:00
Mattias Gaertner
a34b1f36e0 pastojs: fixed parsing if-then-raise-else
git-svn-id: trunk@40129 -
2018-11-01 00:19:39 +00:00
Mattias Gaertner
057534ef47 pastojs: fixed initializing static array of record
git-svn-id: trunk@40127 -
2018-10-31 23:40:45 +00:00
Mattias Gaertner
4d69aebf18 pastojs: nodejs js exception handling
git-svn-id: trunk@40126 -
2018-10-31 23:40:14 +00:00
Mattias Gaertner
5f43eb5baa fcl-passrc: fixed TPasResHashList arbitrary values
git-svn-id: trunk@40125 -
2018-10-31 23:37:55 +00:00
Mattias Gaertner
0e012e657f pastojs: fixed handling read error
git-svn-id: trunk@40108 -
2018-10-31 14:17:39 +00:00
Mattias Gaertner
1eb6ef4b27 pastojs: fixed %date% omitting []
git-svn-id: trunk@40107 -
2018-10-31 14:00:33 +00:00
Mattias Gaertner
c64ca00dfe pastojs: nodejs file functions
git-svn-id: trunk@40106 -
2018-10-31 13:59:33 +00:00
Mattias Gaertner
ba64c44486 pastojs: nodejs file functions
git-svn-id: trunk@40105 -
2018-10-31 13:56:29 +00:00
Mattias Gaertner
16b421d344 pastojs: added some nodejs file functions
git-svn-id: trunk@40101 -
2018-10-30 23:19:54 +00:00
Mattias Gaertner
299a177e20 fcl-passrc: clean up
git-svn-id: trunk@40100 -
2018-10-30 23:19:24 +00:00
Mattias Gaertner
7afd157d35 fcl-js: fixed compilation
git-svn-id: trunk@40099 -
2018-10-30 23:18:55 +00:00
Mattias Gaertner
41bf6106c5 pastojs: clean up
git-svn-id: trunk@40085 -
2018-10-29 17:23:58 +00:00
Mattias Gaertner
e539a385e4 pastojs: fixed empty except on statement
git-svn-id: trunk@40084 -
2018-10-29 17:23:42 +00:00
Mattias Gaertner
8554623084 pastojs: untypedpointer:=typedpointer
git-svn-id: trunk@40083 -
2018-10-29 17:11:25 +00:00
Mattias Gaertner
cef507c665 fcl-passrc: untypedpointer:=typedpointer
git-svn-id: trunk@40082 -
2018-10-29 17:11:06 +00:00
Mattias Gaertner
ddc79efdd4 pastojs: implemented pred(char), succ(char)
git-svn-id: trunk@40081 -
2018-10-29 16:41:54 +00:00
Mattias Gaertner
3b6436ffe1 fcl-js: jswriter: write #$ff00..#$ffff as \u
git-svn-id: trunk@40080 -
2018-10-29 16:41:22 +00:00
Mattias Gaertner
a71dc667ce fcl-js: clean up
git-svn-id: trunk@40077 -
2018-10-29 16:00:01 +00:00
Mattias Gaertner
b5d1f1026f pasotjs: fixed parsing cfg
git-svn-id: trunk@40076 -
2018-10-29 15:46:50 +00:00
Mattias Gaertner
60eb591844 pastojs: fixed compilation
git-svn-id: trunk@40075 -
2018-10-29 10:16:58 +00:00
Mattias Gaertner
ee8215e2ed pastojs: adapted pas2jscompiler for pas2js
git-svn-id: trunk@40072 -
2018-10-28 18:30:48 +00:00
Mattias Gaertner
f6b2b6d4e8 pastojs: clean up
git-svn-id: trunk@40067 -
2018-10-28 14:52:39 +00:00
Mattias Gaertner
01d1cde8a3 pastojs: adaptions for pas2js
git-svn-id: trunk@40064 -
2018-10-28 14:34:08 +00:00
michael
4bf4ce5537 * Use sqlite_open_v2 to connect, Bug ID #34278
git-svn-id: trunk@40063 -
2018-10-28 14:27:16 +00:00
Mattias Gaertner
d915932c29 pastojs: $i %date%, %time%, %line%
git-svn-id: trunk@40062 -
2018-10-28 14:08:41 +00:00
Mattias Gaertner
b6083f84a1 fcl-passrc: fixed handling $i %name%
git-svn-id: trunk@40061 -
2018-10-28 14:00:51 +00:00
michael
8e0442fb1f * Fix 4-byte unicode characters
git-svn-id: trunk@40058 -
2018-10-27 17:16:13 +00:00
michael
645a528584 * Fix some warnings
git-svn-id: trunk@40057 -
2018-10-27 15:08:11 +00:00
michael
5240095a3e * Introduce overloaded version of ReplaceRegexpr which allows to set more options (see bug ID #34429).
git-svn-id: trunk@40056 -
2018-10-27 15:08:00 +00:00
michael
35d4a6449a * Fix bug ID #34451, introduce foSkipWhiteSpaceOnlyLeading
git-svn-id: trunk@40055 -
2018-10-27 14:47:45 +00:00
michael
68f74289e1 * Fix bug #34463, CMAP with 1 entry is ignored. Patch by Petr Kristan.
git-svn-id: trunk@40054 -
2018-10-27 14:36:57 +00:00
Mattias Gaertner
c8bc9202f7 pastojs: adapted pas2jsfilecache for pas2js
git-svn-id: trunk@40053 -
2018-10-27 14:15:53 +00:00
Mattias Gaertner
5a88c840d8 pastojs: allow calling Free inside method
git-svn-id: trunk@40051 -
2018-10-27 11:58:41 +00:00
Mattias Gaertner
a2c16728cc pastojs: adaptions for pas2js
git-svn-id: trunk@40049 -
2018-10-27 11:17:58 +00:00
Mattias Gaertner
43c2dce24f fcl-js: jssrcmap adapted for pas2js
git-svn-id: trunk@40048 -
2018-10-26 09:10:56 +00:00
Mattias Gaertner
06364845d6 pastojs: ExpandFileNamePJ for \\?\
git-svn-id: trunk@40047 -
2018-10-26 08:08:20 +00:00
Mattias Gaertner
70a21c91c1 pastojs: fixed compile under windows
git-svn-id: trunk@40046 -
2018-10-26 06:50:33 +00:00
Mattias Gaertner
75e6356e02 fcl-js: started jsonscanner adaption for pas2js
git-svn-id: trunk@40045 -
2018-10-25 20:16:56 +00:00
Mattias Gaertner
225aa064fe pastojs: adapted pas2jspparser for pas2js
git-svn-id: trunk@40044 -
2018-10-25 20:07:00 +00:00
Mattias Gaertner
d512e581e9 pastojs: fixed fileutils
git-svn-id: trunk@40043 -
2018-10-25 20:00:54 +00:00
Mattias Gaertner
a089496183 pas2js: logger adapted for pas2js
git-svn-id: trunk@40041 -
2018-10-25 19:43:08 +00:00
Mattias Gaertner
bcbc578287 fcl-passrc: using nodejsfs
git-svn-id: trunk@40040 -
2018-10-25 19:42:34 +00:00
Mattias Gaertner
024c6de3cc fcl-js: started TFileWriter for nodejs
git-svn-id: trunk@40039 -
2018-10-25 19:42:02 +00:00
Mattias Gaertner
36eb27c6eb pastojs: fppas2js adapted for pas2js
git-svn-id: trunk@40036 -
2018-10-25 15:40:31 +00:00
Mattias Gaertner
cd34e827db fcl-passrc: clean up
git-svn-id: trunk@40034 -
2018-10-25 15:24:45 +00:00
Mattias Gaertner
c2a00fb791 pastojs: fixed overload test
git-svn-id: trunk@40032 -
2018-10-25 15:21:56 +00:00
Mattias Gaertner
53d7360b9e fcl-passrc: resolver: proc overloads: prefer lossy int over int to float
git-svn-id: trunk@40030 -
2018-10-25 15:10:58 +00:00
Mattias Gaertner
37e98d3726 fcl-js: changed some ifdefs to be more specific
git-svn-id: trunk@40029 -
2018-10-25 11:11:57 +00:00
marco
283ca3db63 * fix typo
git-svn-id: trunk@40024 -
2018-10-24 20:58:31 +00:00
marco
adc225d0ee * last commit moved after testing. Undo move, now compiles again.
git-svn-id: trunk@40022 -
2018-10-24 16:09:28 +00:00
marco
3069f5e7de * only enable arbextended if extended is truly 10 bytes. Mantis #34434
git-svn-id: trunk@40021 -
2018-10-24 16:07:01 +00:00
marco
587b980169 * shellapi has pshpack1 for win32. There is a structure defined after poppack(NC_ADDRESS), but that is not in this unit.
Patch from mantis #34441
 

git-svn-id: trunk@40020 -
2018-10-24 15:05:24 +00:00
Mattias Gaertner
5153716916 fcl-passrc: resolver: allow using external const in const expression
git-svn-id: trunk@40018 -
2018-10-24 12:50:49 +00:00
Mattias Gaertner
ce4ccfc0aa fcl-passrc: adapt pasuseanalyzer for pas2js
git-svn-id: trunk@40013 -
2018-10-22 10:39:43 +00:00
michael
863ede7dc6 * Add QWord version of Max (Delphi compatibility, bug ID #34364)
git-svn-id: trunk@39995 -
2018-10-20 12:28:56 +00:00
michael
ab159c638c * Move consts to stdconv
git-svn-id: trunk@39994 -
2018-10-20 12:18:16 +00:00
michael
65433a005e * Fix bug #0034429, replace now can use escape sequences, and lineending can be set
git-svn-id: trunk@39993 -
2018-10-20 12:09:07 +00:00
Mattias Gaertner
d3bdbfe5f2 fcl-passrc: resolver adapted for pas2js
git-svn-id: trunk@39985 -
2018-10-18 19:40:37 +00:00
pierre
add131f030 Fix crash in fpdoc use in fpcdocs
git-svn-id: trunk@39979 -
2018-10-18 14:42:06 +00:00
Mattias Gaertner
b019d40c64 pastojs: local var modifier absolute in method
git-svn-id: trunk@39977 -
2018-10-18 14:36:10 +00:00
Mattias Gaertner
7b3d35ad2f fcl-passrc: resolver: adaptions for pas2js
git-svn-id: trunk@39976 -
2018-10-18 14:35:43 +00:00
Mattias Gaertner
481a8bee0c pastojs: typecast string(apointer), pointer(astring)
git-svn-id: trunk@39975 -
2018-10-18 13:38:08 +00:00
Mattias Gaertner
74a0ce450e fcl-passrc: resolver: allow typecasts string(pointer), pointer(string)
git-svn-id: trunk@39974 -
2018-10-18 13:31:43 +00:00
michael
5cc137f54d * Patch from Ondrej Pokorny to fix HtmlToFPColor (bug ID 34388)
git-svn-id: trunk@39973 -
2018-10-18 13:25:00 +00:00
Mattias Gaertner
27ec656ab7 fcl-passrc: adaptions for pas2js
git-svn-id: trunk@39968 -
2018-10-18 10:02:47 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
e367577bf1 + added support for x86_64-android target.
git-svn-id: trunk@39956 -
2018-10-17 16:56:27 +00:00
Jonas Maebe
fbfc98a600 * changed definitino of Objective-C BOOL type to Boolean8 where
appropriate
  * changed all Boolean types in the Cocoa headers to BOOL (rest of
    mantis #34411)

git-svn-id: trunk@39950 -
2018-10-16 21:14:26 +00:00
Mattias Gaertner
a70f58f68e fcl-passrc: adapted pasresolveeval for pas2js
git-svn-id: trunk@39946 -
2018-10-16 10:48:56 +00:00
Mattias Gaertner
23fe74416c pastojs: currency:=integer becomes c:=i*10000, integer(currency) becomes Math.floor(cur/10000)
git-svn-id: trunk@39944 -
2018-10-16 07:55:36 +00:00
Mattias Gaertner
3f08a6c05c fcl-passrc: resolver: int64(currency)
git-svn-id: trunk@39942 -
2018-10-16 07:27:52 +00:00
Mattias Gaertner
d9be52c759 fcl-passrc: fixed MaxPrecInt to TMaxPrecInt, using TMaxPrecInt instead of int64
git-svn-id: trunk@39940 -
2018-10-15 21:58:04 +00:00
Mattias Gaertner
c7675335a6 fcl-passrc: adapted pparser for pas2js
git-svn-id: trunk@39939 -
2018-10-15 19:33:39 +00:00
Mattias Gaertner
0e13bac228 fcl-passrc: useanalyzer: fixed p^.x:=
git-svn-id: trunk@39937 -
2018-10-15 19:32:07 +00:00
Mattias Gaertner
5499533ddc fcl-passrc: useanalyzer: if then else ;
git-svn-id: trunk@39932 -
2018-10-13 21:01:50 +00:00
Mattias Gaertner
dd81e62f3a pastojs: if then <empty> else ;
git-svn-id: trunk@39929 -
2018-10-13 20:57:05 +00:00
Mattias Gaertner
15dfb9eed3 fcl-passrc: resolver: if then <empty> else ;
git-svn-id: trunk@39928 -
2018-10-13 20:56:48 +00:00
Mattias Gaertner
903854ad82 fcl-passrc: resolver: fixed include(FuncResultSet,enum)
git-svn-id: trunk@39926 -
2018-10-13 20:40:23 +00:00
Mattias Gaertner
894e4823a5 fcl-passrc: pscanner: adapted for pas2js
git-svn-id: trunk@39921 -
2018-10-12 15:20:03 +00:00
Mattias Gaertner
80c12f56b7 fcl-passrc: useanalyzer: fixed WPO for record constants
git-svn-id: trunk@39919 -
2018-10-12 15:17:45 +00:00
marco
b3feccb397 * fix trailing quote char. Patch by wp mantis 34405
git-svn-id: trunk@39910 -
2018-10-10 08:23:50 +00:00
Mattias Gaertner
4f37b61cdb fcl-passrc: pastree adapted for pas2js
git-svn-id: trunk@39908 -
2018-10-09 11:20:21 +00:00
Mattias Gaertner
27a9d53dd2 fcl-passrc: resolver: fixed high(intvar)
git-svn-id: trunk@39906 -
2018-10-09 11:17:00 +00:00
Mattias Gaertner
54841337fe fcl-json: adapted fpjson for pas2js
git-svn-id: trunk@39904 -
2018-10-08 09:12:58 +00:00
Mattias Gaertner
edfd512b22 fcl-passrc: resolver: allow array property accessor argument mismatch const/default for simple types
git-svn-id: trunk@39899 -
2018-10-07 16:24:52 +00:00
Mattias Gaertner
ddf409d7ad fcl-js: adapted jswriter for pas2js
git-svn-id: trunk@39898 -
2018-10-07 12:58:35 +00:00
svenbarth
e644e6332b - remove forgotten debug code
git-svn-id: trunk@39897 -
2018-10-07 12:51:09 +00:00
svenbarth
c97b607e60 * also run invoke tests if internal function call manager is available (which we prefer to the ffi one)
git-svn-id: trunk@39896 -
2018-10-07 12:26:09 +00:00
svenbarth
509383aeb3 + add define to use ffi function call manager for tests
git-svn-id: trunk@39895 -
2018-10-07 12:26:06 +00:00
svenbarth
ea5f407c49 + add a TFunctionCallManager that provides built in Invoke() support for x86_64-win64
git-svn-id: trunk@39894 -
2018-10-07 12:26:03 +00:00
svenbarth
afc83b9f70 + implement the high level Invoke() for TRttiMethod (currently only for interface methods), TRttiMethodType and TRttiProcedureType
git-svn-id: trunk@39893 -
2018-10-07 12:25:59 +00:00
svenbarth
91899c7bb1 * ensure that the elements field of ffi_type is initialized correctly so that the trick with the dynamic array works correctly
git-svn-id: trunk@39892 -
2018-10-07 12:25:55 +00:00
svenbarth
3bdb4aa1a2 * correctly handle ShortString, object and array fields that are part of a record/object
git-svn-id: trunk@39891 -
2018-10-07 12:25:52 +00:00
svenbarth
b91c856e38 * also take param flags into consideration
git-svn-id: trunk@39890 -
2018-10-07 12:25:49 +00:00
svenbarth
3ca2529b58 * extend TValue.ToString for a few more types
git-svn-id: trunk@39889 -
2018-10-07 12:25:45 +00:00
svenbarth
7bb147dce0 + add TRttiMethodType for method variables and TRttiProcedureType for procedure variables
git-svn-id: trunk@39888 -
2018-10-07 12:25:42 +00:00
svenbarth
b8ae04140c * differentiate between a list of all parameters and one of only visible ones; the former is going to be used for Invoke while the latter is returned by GetParameters
git-svn-id: trunk@39887 -
2018-10-07 12:25:39 +00:00
svenbarth
0f7f9c2bb8 + add support for open arrays in TValue; this is *not* supported by Delphi
Note: open array TValue "instances" are only valid till the routine with the open array parameter has returned, but they can be converted to a dynamic array value with the help of the OpenArrayToDynArrayValue<> function

git-svn-id: trunk@39886 -
2018-10-07 12:25:36 +00:00
svenbarth
bb11ec6375 + add TRttiType.GetMethod to find a method by name
git-svn-id: trunk@39884 -
2018-10-07 12:25:30 +00:00
svenbarth
be698b970b * ensure the correct values for TValue.GetReferenceToRawData for TObject and dynamic array types
git-svn-id: trunk@39883 -
2018-10-07 12:25:27 +00:00
svenbarth
00e700d598 * adjust Invoke API of FunctionCallManager to not rely on TValue
git-svn-id: trunk@39881 -
2018-10-07 12:25:21 +00:00
svenbarth
76a95f61e2 * fix warning about result not being initialized
git-svn-id: trunk@39880 -
2018-10-07 12:25:18 +00:00
svenbarth
608da3d255 * ensure that a valid reference to the raw data is provided as long as the typeinfo is set
git-svn-id: trunk@39879 -
2018-10-07 12:25:15 +00:00
svenbarth
daa91bc462 * fix casing of constructors so that Lazarus doesn't complete them in lowercase
git-svn-id: trunk@39878 -
2018-10-07 12:25:12 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
yury
671d31df1d + Added support for the aarch64-android target.
git-svn-id: trunk@39862 -
2018-10-06 09:33:09 +00:00
Mattias Gaertner
ada940e80d pastojs: char(#10), widechar(#$e000)
git-svn-id: trunk@39857 -
2018-10-05 12:25:44 +00:00
Mattias Gaertner
3115dbc450 fcl-passrc: resolver: char(#10), widechar(#$e000)
git-svn-id: trunk@39856 -
2018-10-05 12:25:30 +00:00
Mattias Gaertner
34c7fe4d65 fcl-passrc: resolver: char(#10), widechar(#$e000)
git-svn-id: trunk@39855 -
2018-10-05 12:25:19 +00:00
Mattias Gaertner
dee3d638d4 fcl-js: started adapting jswriter for pas2js
git-svn-id: trunk@39854 -
2018-10-03 17:25:42 +00:00
Mattias Gaertner
e150f1f8cb fcl-js: adapted jsbase for pas2js
git-svn-id: trunk@39853 -
2018-10-03 11:19:44 +00:00
marco
618935b433 * fix for #34375, make lpshcolumnid a pointer.
git-svn-id: trunk@39852 -
2018-10-02 16:42:56 +00:00
Mattias Gaertner
cec7188704 pastojs: added option -JoCheckVersion
git-svn-id: trunk@39851 -
2018-10-02 14:58:05 +00:00
marco
a32a6bca90 * fix for r34373
git-svn-id: trunk@39850 -
2018-10-02 11:26:37 +00:00
michael
01790c4e46 * Keywords support
git-svn-id: trunk@39842 -
2018-09-30 09:08:40 +00:00
michael
e6574526db * Fix bug #34348
* Backport pas2js changes/bugfixes
* Split extjs dataset from json dataset

git-svn-id: trunk@39841 -
2018-09-30 08:15:18 +00:00
florian
401064abdc * enabled mipsel-embedded also in the fpmkunit, resolves #34345
git-svn-id: trunk@39839 -
2018-09-28 20:54:53 +00:00
michael
b886ee8d2c * fix compilation if VerbosePasResolver not defined
git-svn-id: trunk@39833 -
2018-09-27 11:17:10 +00:00
michael
4bb4eb5cca * Patch from Pascal Riekenberg to allow using BOM markers in source files (bug ID 34344)
git-svn-id: trunk@39832 -
2018-09-27 11:16:26 +00:00
pierre
8495967fc2 Add explicit typecast to avoid compilation failure with -Criot option
git-svn-id: trunk@39831 -
2018-09-27 09:56:38 +00:00
pierre
4e7003fb94 Update all packages Makefile's
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
pierre
1976cda913 Update Makefile.fpc to pacakages location
git-svn-id: trunk@39826 -
2018-09-27 07:01:58 +00:00
pierre
535d87cdb9 Add rtl dependency and fix fpcdir value
git-svn-id: trunk@39825 -
2018-09-27 06:59:07 +00:00
pierre
4a46bc8e69 Fix problem reported in bug report 34343
git-svn-id: trunk@39820 -
2018-09-27 06:37:37 +00:00
florian
a34d4e715c Merged riscv_new branch
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
pierre
41d2a0a496 Disable libraries not compiling for jvm-java or jvm-android targets
git-svn-id: trunk@39808 -
2018-09-26 09:29:33 +00:00
pierre
25892dca18 Explicitly also disable java OS target
git-svn-id: trunk@39807 -
2018-09-26 09:27:33 +00:00
pierre
bc53dda542 Rename Result parameter to _Result to avoid compilation error for ppcjvm
git-svn-id: trunk@39806 -
2018-09-26 09:25:54 +00:00
Mattias Gaertner
a672107894 pastojs: fixed override class interface map
git-svn-id: trunk@39799 -
2018-09-24 17:28:58 +00:00
marco
5e7e4814d9 * suppress keyword if seealso is assigned. Fix for code that is scheduled to be rewritten.
git-svn-id: trunk@39793 -
2018-09-22 11:44:20 +00:00
svenbarth
f0761d3995 * apply patch by Andrey Zubarev to avoid a hint regarding the position parameter not being initialized
git-svn-id: trunk@39785 -
2018-09-21 12:59:59 +00:00
Mattias Gaertner
ffc099be8a pastojs: test precompile with -Jminclude
git-svn-id: trunk@39771 -
2018-09-19 13:06:51 +00:00
Mattias Gaertner
680f6c125b fcl-passrc: less hints
git-svn-id: trunk@39770 -
2018-09-19 13:06:25 +00:00
Mattias Gaertner
6b30c5f7c7 fcl-js: srcmap: added option smoAllowSrcLine0
git-svn-id: trunk@39769 -
2018-09-19 13:06:05 +00:00
michael
8307e46e4b * Fix bug #0034288, wrong check when converting floats
git-svn-id: trunk@39758 -
2018-09-16 12:03:36 +00:00
pierre
c7cc85fb1d Add AIXSharedLibExt to avoid failure on pas2js shared library installation for AIX OS
git-svn-id: trunk@39756 -
2018-09-14 14:06:27 +00:00
michael
e1b5f21b01 * Patch from Ondrej Pokorny to enable Alpha blending in (stretch)Draw (bug ID 34266)
git-svn-id: trunk@39748 -
2018-09-12 15:21:38 +00:00
michael
a84554ef9f * Patch from Ondrej Pokorny to improve performance
git-svn-id: trunk@39747 -
2018-09-12 15:18:20 +00:00
marco
6fbff7f7a6 * some more case fixes by Ondrej, mantis #34267
git-svn-id: trunk@39744 -
2018-09-12 12:39:05 +00:00
yury
3a2884df70 * Android: The list of supported syscalls has been auto-generated directly from android sources for each CPU.
* Minor adjustments to make all compilable with the proper list of Android syscalls.

git-svn-id: trunk@39739 -
2018-09-11 16:10:50 +00:00
svenbarth
5d9ddf99d4 * use SizeInt instead of LongInt for the size fields of the VMT to match what the compiler generates for non-32-bit targets
git-svn-id: trunk@39727 -
2018-09-10 20:57:04 +00:00
svenbarth
00663728b5 * fix for Mantis #34239: the parent VMT is an indirect reference due to the changes for dynamic packages for quite some time already, so handle that accordingly
+ added test

git-svn-id: trunk@39715 -
2018-09-08 14:56:09 +00:00
michael
2d1ea8070e * Fix bug #34241 using provided suggestion by Christo Crause
git-svn-id: trunk@39713 -
2018-09-08 10:15:57 +00:00
marco
d2607b0b76 * small verbosity improvements
git-svn-id: trunk@39708 -
2018-09-03 15:14:45 +00:00
marco
733559b633 * improve seealso handling when reading back binindex with chmls
* avoid trailing zero chars when reading back binindex with chmls

git-svn-id: trunk@39707 -
2018-09-03 15:11:33 +00:00
michael
d8e483ddd4 * Fix bug #34216
git-svn-id: trunk@39706 -
2018-09-03 07:49:38 +00:00
svenbarth
17ebe6e28f * also move to the next field when skipping it
git-svn-id: trunk@39699 -
2018-09-02 16:20:15 +00:00
svenbarth
897abb72e6 - disable debug options -gv, -pg and -gh for the chmcmd project
git-svn-id: trunk@39691 -
2018-08-31 12:58:35 +00:00
marco
0f619c3ef8 * two new priority classes for all but wince. See comments in process.pp
* some left over changes to RunCommandEventCode in preparation of more events.

git-svn-id: trunk@39681 -
2018-08-29 10:00:36 +00:00
marco
b929b8b8eb * fix for #34185, pallette not nilled, causes problems when reader is recycled.
git-svn-id: trunk@39676 -
2018-08-28 08:46:43 +00:00
michael
3e3c8fdbc1 * Fixed bug ID #33743 with provided patch. (erroneous exception in getbinarydata)
git-svn-id: trunk@39667 -
2018-08-24 08:16:49 +00:00
michael
a6f61d6cd7 * Fix bug #34176, use access field when creating key
git-svn-id: trunk@39666 -
2018-08-24 08:09:24 +00:00
michael
fd8641d83c * Fix bug #34164 - Fix use of AssertCount and use overloaded ComparisonMsg
git-svn-id: trunk@39660 -
2018-08-21 13:24:17 +00:00
michael
e6304da9a6 * Inadvertenly applied untested change, undo
git-svn-id: trunk@39659 -
2018-08-21 08:44:47 +00:00
michael
74b6fb2bfe * Patch from Bart Broersma to fix bug ID #33993
git-svn-id: trunk@39658 -
2018-08-21 08:43:31 +00:00
marco
aaef0d5570 * removed a space, mantis #34149
git-svn-id: trunk@39657 -
2018-08-20 16:15:42 +00:00
marco
8554332c1d * centralize some type definitions so that they are compatible between process and processunicode
* add an extra parameter to the callback in preparation of readoutput callbacks. 
   This is needed to let the callback differentiate between stderr or stdout callbacks
 * rename processunicode class to TProcess on recommendation of MvC.

git-svn-id: trunk@39651 -
2018-08-20 11:46:11 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
marco
4dbc2ae873 * enable processunicode in fpmake and .fpcmake for win32 and win64.
git-svn-id: trunk@39628 -
2018-08-18 14:09:56 +00:00
marco
9b969c6cca * second part processunicode commit.
git-svn-id: trunk@39627 -
2018-08-18 13:56:21 +00:00
marco
b7e6492119 * Unicode version TProcess in two commits.
* first  misc files & rename process.pp -> processbody.inc

 Next commit will add new process.pp + update of processbody.inc to preserve history.

git-svn-id: trunk@39626 -
2018-08-18 13:55:11 +00:00
marco
ee810cea10 * give stderr as much chance to drain as output per runcommandloop cycle.
* clean some stale variable declarations
 * variable with class to instantiate in runcommand. This allows hooking runcommand* with a derivative.

git-svn-id: trunk@39625 -
2018-08-18 10:30:24 +00:00
joost
098464d260 * Fixed RunCommandIndir with poStderrToOutput
git-svn-id: trunk@39620 -
2018-08-15 21:31:56 +00:00
michael
cfab40fd74 * Publish ancestorclass
git-svn-id: trunk@39619 -
2018-08-15 18:47:59 +00:00
michael
3d7ce42194 * Fix bug #34135, patch by Andrea Urbani
git-svn-id: trunk@39618 -
2018-08-15 17:18:17 +00:00
michael
677cc1c930 * Type-safe dataset access implementation and code generator
git-svn-id: trunk@39617 -
2018-08-15 10:54:36 +00:00
michael
f4a455fb35 * Add new mysql versions
git-svn-id: trunk@39616 -
2018-08-15 10:51:08 +00:00
michael
27b969b397 * Ignore spaces in defines
git-svn-id: trunk@39615 -
2018-08-15 08:09:26 +00:00
michael
b47b3163bf * Fix compilation
git-svn-id: trunk@39614 -
2018-08-15 08:09:05 +00:00
michael
e3e621a05c * Fix bug #34131, missing Msg in checkIS
git-svn-id: trunk@39613 -
2018-08-14 13:50:20 +00:00
marco
2d74227859 * Fixes #34113 + auxOutMessage The wrong functions were all under #ifdef winver> x030a or 0x0400
git-svn-id: trunk@39612 -
2018-08-13 07:20:50 +00:00
michael
70aa822137 * extra IsDigit use
git-svn-id: trunk@39611 -
2018-08-12 17:09:45 +00:00
michael
134b5553c3 Fix bug #34117, more clear hexdig
git-svn-id: trunk@39610 -
2018-08-12 09:27:54 +00:00
michael
a3f756013d Fix 34119: factor out IsDigit function
git-svn-id: trunk@39609 -
2018-08-12 09:14:27 +00:00
michael
2d2ba5f0cd * Fix bug #34118, unclean NOTLETTER check
git-svn-id: trunk@39608 -
2018-08-12 08:55:37 +00:00
michael
64e4f169de * Fix repeated calling of flush, bug ID #34112
git-svn-id: trunk@39607 -
2018-08-12 08:52:15 +00:00
pierre
cca5a219d2 Add missing directory for examples
git-svn-id: trunk@39604 -
2018-08-10 06:45:37 +00:00