Jonas Maebe
0b61b5d4cf
* added extra header to ppu inside a subsection, so we won't run into
...
trouble when the ppu version hits 255
* also moved several ppu flags to a set inside that section
git-svn-id: trunk@41846 -
2019-04-06 21:28:43 +00:00
marco
162bd5e251
* metrics constants by Gareth and 440bx. Added SM_CARETBLINKINGENABLED for good measure.
...
git-svn-id: trunk@41845 -
2019-04-06 14:57:50 +00:00
svenbarth
18519c9559
* fix for Mantis #34526 : rely on tc_arrayconstructor_2_set instead of manually converting an array constructor to a set, this way assignment operator overloads are taken into account as well
...
Note: there is still a conversion to a set if the types were determined to be incompatible, so that the error is still "set of X is incompatible to Y" instead of "array of Z is incompatible to Y"
+ added tests
git-svn-id: trunk@41844 -
2019-04-05 15:24:39 +00:00
svenbarth
156b25501d
* improve conversion of array constructor to set so that it behaves as if done inside pass_typecheck
...
git-svn-id: trunk@41843 -
2019-04-05 15:24:36 +00:00
svenbarth
c6d963ccd9
* also enable implementation tests on Win64
...
git-svn-id: trunk@41842 -
2019-04-05 15:24:34 +00:00
svenbarth
cfdd800591
* also handle const untyped parameters if they're to be passed on the stack
...
git-svn-id: trunk@41841 -
2019-04-05 15:24:31 +00:00
Mattias Gaertner
2b606a069b
pastojs: fixed TExt(TExt.new)
...
git-svn-id: trunk@41840 -
2019-04-05 10:50:41 +00:00
svenbarth
4e0cc65c63
* correctly handle untyped parameters
...
git-svn-id: trunk@41839 -
2019-04-04 19:32:29 +00:00
svenbarth
9e9aca6fea
* correctly handle Comp and Currency parameters as well as results (at least on the X86 platforms :/ )
...
git-svn-id: trunk@41838 -
2019-04-04 19:32:26 +00:00
svenbarth
04f681d7c6
* directly pass the pointer to the result value; avoids an unnecessary copy operation
...
git-svn-id: trunk@41837 -
2019-04-04 19:32:23 +00:00
svenbarth
36255a700d
* there is no CPUX86 define that is set for all three X86 variants (i8086, i386, x86_64), so check for each separately
...
git-svn-id: trunk@41836 -
2019-04-04 19:32:19 +00:00
svenbarth
bbac2c1fbf
+ add CreateImplementation to TRttiMethod to create an implementation of a method that can be used with a VMT
...
git-svn-id: trunk@41835 -
2019-04-04 19:32:16 +00:00
svenbarth
69f54b31e7
+ introduce a base type for RTTI related exceptions
...
git-svn-id: trunk@41834 -
2019-04-04 19:32:13 +00:00
svenbarth
f9fe3d0a0a
+ add TValue.ToString implementations for pointers and interfaces
...
git-svn-id: trunk@41833 -
2019-04-04 19:32:10 +00:00
svenbarth
2eb4955613
* extend RTTI tests for untyped parameters
...
git-svn-id: trunk@41832 -
2019-04-04 19:32:06 +00:00
svenbarth
ab35c92816
* handle untyped const parameters like var/out/constref parameters
...
git-svn-id: trunk@41831 -
2019-04-04 19:32:02 +00:00
svenbarth
db5c8e1f0d
* correctly handle untyped parameters (for those the ParamType is Nil)
...
git-svn-id: trunk@41830 -
2019-04-04 19:31:59 +00:00
svenbarth
307ff071e6
* allow any untyped parameter to be passed to a untyped constref parameter
...
+ added test
git-svn-id: trunk@41829 -
2019-04-04 19:31:55 +00:00
svenbarth
0f2eae2033
- remove unused variables
...
git-svn-id: trunk@41828 -
2019-04-04 19:31:51 +00:00
nickysn
d25e7b1074
* separated the OpenBSD version of the stat structure to a separate ifdef block.
...
* Fixed some incompatibilities in the OpenBSD stat structure - removed st_lspare
and changed the type of st_blksize to cint32 instead of cuint32.
git-svn-id: trunk@41827 -
2019-04-04 15:55:16 +00:00
nickysn
122888741c
+ added some comments to the else/endif directives to make it easier to figure
...
out their corresponding ifdef
git-svn-id: trunk@41826 -
2019-04-04 14:52:28 +00:00
Mattias Gaertner
86fe541c53
pastojs: mark NewInstance function as used
...
git-svn-id: trunk@41825 -
2019-04-03 18:11:07 +00:00
Mattias Gaertner
2ee6f2c7d4
pastojs: fixes filer class helper
...
git-svn-id: trunk@41824 -
2019-04-03 17:05:04 +00:00
michael
1a5faf1cc3
* Dictionaries can be empty
...
git-svn-id: trunk@41823 -
2019-04-03 10:21:36 +00:00
pierre
478b918386
+ Add variables to use gppc386 utils more easily:
...
Use DEBUG_CYCLE=1 to generate cycle using gppcXX at each stage,
i.e. running ppcXX through gdbpas, using utils/gppc386.pp source,
compiled and copied to gppcXX.
+ Add other DEBUG_XXX varialbes, allowing to use gppcXX binary
at a specific level in cycle.
if DEBUG_PPXX is set, PPXXPREFIX variable will be set to 'g'
leading to the use of g$(PPXX) compiler, which will run $(ppXX)
compiler through gdbpas.
git-svn-id: trunk@41822 -
2019-04-03 07:17:40 +00:00
pierre
df2cefdc32
Fix OpenBSD rtl compilation when using -dFPC_USE_LIBC option
...
git-svn-id: trunk@41821 -
2019-04-03 06:59:26 +00:00
nickysn
46b98a6da4
* Improvements to the implementation of FpOpenDir for *BSD:
...
* use FpFStat instead of FpStat to avoid a race condition, where the directory
path could change between the calls of FpOpen and FpStat
* improved cleanup (i.e. call FpClose, free allocated memory to avoid
memleaks) in case of errors
git-svn-id: trunk@41820 -
2019-04-02 17:44:23 +00:00
michael
e3973e9c4e
* Fix bug #35305 , lazy instantiation of class alias list. Patch from Ondrej Pokorny
...
git-svn-id: trunk@41819 -
2019-04-01 17:31:20 +00:00
michael
60606e61ef
* Patch from Ondrej Pokorny to make RegisterClassAlias thread-safe
...
git-svn-id: trunk@41818 -
2019-04-01 17:25:29 +00:00
michael
6bfaec84eb
* Test for deletekey
...
git-svn-id: trunk@41817 -
2019-04-01 17:15:00 +00:00
michael
6c7da3cca4
* Patch from Bart Broersma to fix deleting non-empty key (bug ID 0035132)
...
git-svn-id: trunk@41816 -
2019-04-01 17:06:56 +00:00
michael
d13f0c3f80
* Added stringlist and int64 tests
...
git-svn-id: trunk@41815 -
2019-04-01 17:04:34 +00:00
michael
1c8a1407f5
* Added unicode sample using unicodestring
...
git-svn-id: trunk@41814 -
2019-04-01 16:54:53 +00:00
michael
8daccbf4c1
* use cwstring on non-windows
...
git-svn-id: trunk@41813 -
2019-04-01 16:52:24 +00:00
michael
cddc52a69f
* Remove unused variable
...
git-svn-id: trunk@41812 -
2019-04-01 16:51:39 +00:00
michael
afa9ef279e
* Use cwstring on non-windows
...
git-svn-id: trunk@41811 -
2019-04-01 16:51:05 +00:00
michael
17aa8da99f
* Patch from Bart Broersma to implement Int64 support in xmlreg (bug ID 35227)
...
git-svn-id: trunk@41810 -
2019-04-01 16:46:48 +00:00
michael
848a563128
* Fix some warnings
...
git-svn-id: trunk@41809 -
2019-04-01 08:49:36 +00:00
michael
12cfecf1e8
* Change to latest version
...
git-svn-id: trunk@41808 -
2019-04-01 08:39:38 +00:00
michael
f8b14662ed
* Fix bug ID #35269 , patch from Bart Broersma
...
git-svn-id: trunk@41807 -
2019-03-31 16:22:10 +00:00
michael
7a95a6cd06
* Small readability improvement
...
git-svn-id: trunk@41806 -
2019-03-31 14:15:34 +00:00
michael
d5a1e71c5e
* Some small fixes after testing: avoid AV when SQL logging requested and no connection available. Allow CORS on customview
...
git-svn-id: trunk@41805 -
2019-03-31 14:14:42 +00:00
michael
c763fbf84b
* Patch from Inoussa to stream 2pass option (bug ID 35300)
...
git-svn-id: trunk@41804 -
2019-03-30 19:18:29 +00:00
michael
1951aff5a4
* Fix formatfloat in case E not followed by +/- (bug id 35297)
...
git-svn-id: trunk@41803 -
2019-03-30 15:47:50 +00:00
michael
ee177eab1f
* Enhance example to allow specify grayscale for tiff
...
git-svn-id: trunk@41802 -
2019-03-26 22:24:49 +00:00
michael
99da1a4a13
* Only add default directive if it does not exist yet
...
git-svn-id: trunk@41801 -
2019-03-26 21:42:26 +00:00
michael
5a573e21e7
* Fix range check error (bug ID 35251)
...
git-svn-id: trunk@41800 -
2019-03-26 21:36:01 +00:00
michael
ebf8ab979c
* Fix range check error (bug ID 35251)
...
git-svn-id: trunk@41799 -
2019-03-26 21:35:15 +00:00
michael
d66e959ad7
* Fix bug ID #0035252 , eliminate wrong combination of options
...
git-svn-id: trunk@41798 -
2019-03-26 21:31:46 +00:00
michael
efd77fdc92
* Deprecate XMLREG version of reginiflile
...
git-svn-id: trunk@41797 -
2019-03-26 21:25:47 +00:00