Commit Graph

8765 Commits

Author SHA1 Message Date
svenbarth
e2458c9803 + add support for making a TValue out of a COM interface
git-svn-id: trunk@36968 -
2017-08-20 18:27:11 +00:00
svenbarth
40f8b4a77c + since I accidentally committed the assignment operator overload implementations add their declarations as well...
git-svn-id: trunk@36967 -
2017-08-20 18:26:02 +00:00
svenbarth
66725ccfc7 + add TValue.GetReferenceToRawData
git-svn-id: trunk@36966 -
2017-08-20 18:24:59 +00:00
svenbarth
cd73a46313 + add TValue.DataSize property
git-svn-id: trunk@36965 -
2017-08-20 18:23:57 +00:00
svenbarth
ceb982930c * even though Delphi defines GetDataSize as LongInt (or more precisely Integer) we use SizeInt as that is what we allow for arrays, strings and memory allocations in general as well
git-svn-id: trunk@36964 -
2017-08-20 18:23:05 +00:00
svenbarth
95523157e5 * rework TValueDataIntImpl to work more as it does in Delphi (especially important for GetReferenceToRawData); note: the class avoids the use of an allocation in case it's a managed pointer type
git-svn-id: trunk@36963 -
2017-08-20 18:19:31 +00:00
michael
6672e77222 * Added fcl-report
git-svn-id: trunk@36962 -
2017-08-20 18:00:29 +00:00
marcus
9291fb1eed Arosunits: Fixed CliInit() entry
git-svn-id: trunk@36941 -
2017-08-19 19:23:48 +00:00
svenbarth
1fe6404760 * a touch more inlining
git-svn-id: trunk@36939 -
2017-08-18 15:30:33 +00:00
maciej-izak
fff81bea64 * fix test run in Delphi: new Delphi (probably since XE7) has bug for method pointer which is considered as managed. Older Delphi versions are ok in this matter.
git-svn-id: trunk@36931 -
2017-08-17 21:45:55 +00:00
Mattias Gaertner
92510ebe08 fcl-passrc: resolver: fixed reading constant $8000000000000000
git-svn-id: trunk@36927 -
2017-08-16 10:30:34 +00:00
Mattias Gaertner
0ddf135404 fcl-passrc: resolver: fixed [][]
git-svn-id: trunk@36926 -
2017-08-16 10:29:32 +00:00
michael
86ab5a4fd0 * Fix error messages, operator keyword starts new section
git-svn-id: trunk@36925 -
2017-08-16 08:48:25 +00:00
michael
d0209031d2 * Observe defaultRunAllTests again
git-svn-id: trunk@36919 -
2017-08-15 16:27:21 +00:00
michael
b4c7be0b2d * Set exitcode on error usage
git-svn-id: trunk@36918 -
2017-08-15 16:24:43 +00:00
michael
33fea4f9e3 * Fix detection of usage
git-svn-id: trunk@36917 -
2017-08-15 16:22:21 +00:00
michael
1fa863721f * Patch from Denis Kozlov to fix threaded server
git-svn-id: trunk@36916 -
2017-08-15 09:55:18 +00:00
michael
a9819b3289 * Patch from Denis Kozlov to fix threaded server
git-svn-id: trunk@36915 -
2017-08-15 09:55:14 +00:00
michael
3c45ad8c01 * jsonini has no resourcestrings
git-svn-id: trunk@36914 -
2017-08-15 09:48:34 +00:00
michael
25e85d1772 * TJSONIniFile class added
git-svn-id: trunk@36913 -
2017-08-15 08:58:18 +00:00
andrew
9bff5e1d2f Small changes to chmbase. Changes parameter to const. Small formating changes.
git-svn-id: trunk@36912 -
2017-08-14 23:29:40 +00:00
svenbarth
8aa90d0967 * tkQWord is considered an ordinal as well
git-svn-id: trunk@36911 -
2017-08-14 20:32:53 +00:00
svenbarth
e60e055b8b * handle tkClassRef
git-svn-id: trunk@36910 -
2017-08-14 20:32:25 +00:00
svenbarth
89f03f4fdf * adjust casing so that Lazarus keeps from changing it
git-svn-id: trunk@36909 -
2017-08-14 20:29:30 +00:00
svenbarth
89e47e098a * better handling of floating point types
git-svn-id: trunk@36908 -
2017-08-14 20:28:41 +00:00
svenbarth
9a7d26e349 * correctly handle ordinals of different sizes
git-svn-id: trunk@36907 -
2017-08-14 20:28:01 +00:00
svenbarth
56459594c0 * more complete TValueData record
git-svn-id: trunk@36906 -
2017-08-14 20:26:55 +00:00
svenbarth
ee4c92af6e * change TValue from object to record as there might be record helpers for TValue out there
git-svn-id: trunk@36904 -
2017-08-14 19:45:16 +00:00
svenbarth
a3652bb69d * fix test run in Delphi: for some reason a method pointer is considered managed by Delphi
git-svn-id: trunk@36903 -
2017-08-14 19:09:52 +00:00
svenbarth
251d223f29 * fix test run in Delphi: TypeInfo(Integer) is indeed for "Integer" in Delphi, not "LongInt" as in FPC
git-svn-id: trunk@36902 -
2017-08-14 19:09:24 +00:00
svenbarth
88eabc12ff * fix warnings in Delphi test compilation: published implicitely enables $M for the class
git-svn-id: trunk@36901 -
2017-08-14 19:08:32 +00:00
svenbarth
bb947ed639 * fix test compilation in Delphi: TypeInfo() of a file type is not supported
git-svn-id: trunk@36900 -
2017-08-14 19:07:10 +00:00
svenbarth
95f3c6c427 * fix test compilation in Delphi: TypeInfo() requires a type identifier, variables/parameters are not supported :'(
git-svn-id: trunk@36899 -
2017-08-14 19:06:27 +00:00
svenbarth
2c70a0431e * fix test compilation in Delphi: raw interfaces are not supported in Delphi
git-svn-id: trunk@36898 -
2017-08-14 19:04:34 +00:00
svenbarth
dd906faf04 * fix test compilation in Delphi: management operators are not supported in Delphi
git-svn-id: trunk@36897 -
2017-08-14 19:03:45 +00:00
Károly Balogh
331b37ca48 palmunits: change the obsolete dispatcher wrappers to syscalls, batch 2
git-svn-id: trunk@36894 -
2017-08-13 22:35:28 +00:00
Károly Balogh
8920d35c41 palmunits: change the obsolete dispatcher wrappers to syscalls, batch 1
git-svn-id: trunk@36893 -
2017-08-13 02:15:41 +00:00
Károly Balogh
fbe7798f6a palmunits: made it build with current compiler
git-svn-id: trunk@36890 -
2017-08-12 21:39:54 +00:00
Károly Balogh
4c25bd935f packages: disabled packages for macos and palmos which currently cannot be built for these
git-svn-id: trunk@36889 -
2017-08-12 21:08:34 +00:00
joost
fd8072e525 * When available, try to negotiate a TLS connection, if not available, use the deprecated way (sslv23)
git-svn-id: trunk@36853 -
2017-08-04 22:51:09 +00:00
joost
84635bcffa * Added OpenSSL's SslTLSMethod
git-svn-id: trunk@36852 -
2017-08-04 22:45:04 +00:00
joost
4d2d45da0b * When InitContext fails, TSSLSocketHandler.Connect should return false.
git-svn-id: trunk@36851 -
2017-08-04 21:40:27 +00:00
svenbarth
8ffc035a86 * inline for simple methods
git-svn-id: trunk@36846 -
2017-08-04 15:51:08 +00:00
Mattias Gaertner
37c9dc2c3f fcl-passrc: resolver: eval set of integer range
git-svn-id: trunk@36819 -
2017-08-03 09:28:29 +00:00
michael
1729d6a848 * Rework to be able to use in compiler testsuite
* Refactor for better code readability
  * Set exit status based on bitmask: 
    bit 0 set -> there were failures
    bit 1 set -> there were errors 
  * Allow use of testdefaults.ini file
  * Location of testdefaults.ini file can be set in environment variable FPCUNITCONFIG.
  * Improved usage message.

git-svn-id: trunk@36816 -
2017-08-02 10:02:24 +00:00
lacak
301fc9af70 fcl-db: base: fix widestring copy #32215
git-svn-id: trunk@36812 -
2017-07-28 19:04:28 +00:00
Mattias Gaertner
4a588fcbc2 pastojs: error on var absolute
git-svn-id: trunk@36811 -
2017-07-28 17:50:52 +00:00
Mattias Gaertner
e266fd75e0 fcl-passrc: resolver: read widechar literals
git-svn-id: trunk@36810 -
2017-07-28 17:50:24 +00:00
svenbarth
0076284a86 * revert changes from r36770
* use constref for REFIID parameters, at least for non-interface functions (interface methods will be done separately as they're a breaking change, not to mention TObject's methods)

git-svn-id: trunk@36806 -
2017-07-28 15:37:49 +00:00
maciej-izak
b087cc81f5 fcl-passrc: paswrite: fix for fields declarations inside classes. Variables can't be declared directly after methods nor properties (visibility section or var keyword is required)
git-svn-id: trunk@36798 -
2017-07-27 10:07:22 +00:00