Commit Graph

11012 Commits

Author SHA1 Message Date
svenbarth
9fa4a619d7 + add support for callbacks to the FFI invoke manager
git-svn-id: trunk@42071 -
2019-05-15 05:28:54 +00:00
svenbarth
0d6d3a1529 * for callbacks argument values are not needed, so make the need for aArgValues optional
git-svn-id: trunk@42070 -
2019-05-15 05:28:51 +00:00
svenbarth
1c58ef49f3 * directly use the indirection information instead of calculating it a second time in ValueToFFIValue()
git-svn-id: trunk@42069 -
2019-05-15 05:28:48 +00:00
svenbarth
68c9b83d87 * for callbacks it's needed to know whether an argument is indirect or not
git-svn-id: trunk@42068 -
2019-05-15 05:28:45 +00:00
svenbarth
5516bcb266 * move check for argument/result indirection to separate function
git-svn-id: trunk@42067 -
2019-05-15 05:28:42 +00:00
svenbarth
ea270d9800 * move creation of the CIF object to a separate function in preparation for callbacks
git-svn-id: trunk@42066 -
2019-05-15 05:28:39 +00:00
svenbarth
f6ca44292f * move SErrMethodImplCreateFailed to interface
git-svn-id: trunk@42065 -
2019-05-15 05:28:36 +00:00
Jonas Maebe
1b6425176b * synchronised with trunk till r42049
git-svn-id: branches/debug_eh@42050 -
2019-05-12 18:44:05 +00:00
michael
e958438fc9 * Add largeint (int64) parameter supportby Silvio Clecio (bug ID 35554)
git-svn-id: trunk@42041 -
2019-05-12 07:54:02 +00:00
michael
43da09722c * Patch from Ondrej Pokorny to fix bug ID #35544 (accept short timezones)
git-svn-id: trunk@42040 -
2019-05-12 07:51:38 +00:00
svenbarth
3493579c2d * avoid a warning regarding automatic type conversion of Comp
git-svn-id: trunk@42035 -
2019-05-10 15:49:23 +00:00
svenbarth
c4c47652d4 * missed two usages of SErrCallbackNotImplented
git-svn-id: trunk@42034 -
2019-05-10 15:44:29 +00:00
svenbarth
a0f03ca1b9 - declaring the missing pointer types for the Boolean types is no longer necessary
git-svn-id: trunk@42033 -
2019-05-10 15:27:23 +00:00
svenbarth
496fbb4fc1 * fix typo
git-svn-id: trunk@42031 -
2019-05-10 15:25:05 +00:00
michael
77fa4aaebd * GetPrimaryIndexFields is now a public class method, needed in designer
git-svn-id: trunk@42021 -
2019-05-07 15:40:00 +00:00
michael
34830ab134 * Fix redirect codes (bug ID 0035532)
git-svn-id: trunk@42012 -
2019-05-06 15:47:45 +00:00
michael
2d5550659e * Remove unused unit from uses clause
git-svn-id: trunk@42009 -
2019-05-06 11:45:06 +00:00
michael
79cbfe53a5 * Split out processing of SQL so it can be used in editor. Correct LoadFromFile
git-svn-id: trunk@42005 -
2019-05-06 07:38:00 +00:00
michael
b91f374e3d * Copy connection name in assign
git-svn-id: trunk@42004 -
2019-05-06 07:37:15 +00:00
michael
b4580642dd * Add Ini to some helper method names to avoid confusion
git-svn-id: trunk@42003 -
2019-05-06 07:36:46 +00:00
Jonas Maebe
3a1fb45315 * synchronised with trunk till r41976
git-svn-id: branches/debug_eh@41977 -
2019-05-02 19:44:41 +00:00
michael
858030d826 * Fix compilation on 16-bit targets
git-svn-id: trunk@41961 -
2019-04-30 05:53:38 +00:00
michael
135e74c65d * Avoid ScanDateTime in TryISO functions, it raises an exception
git-svn-id: trunk@41958 -
2019-04-28 17:15:35 +00:00
marcus
0a1d88b824 MorphOS: adding missing dtReleaseDrawInfo to datatypes
git-svn-id: trunk@41957 -
2019-04-28 15:27:54 +00:00
marcus
cd3e6a9c73 AROS: fixed structures and alignment for datatypes,locale,serial and workbench
git-svn-id: trunk@41956 -
2019-04-28 15:26:49 +00:00
marcus
b793e14f57 Amiga: structure fixes and unification with other amiga-systems
git-svn-id: trunk@41955 -
2019-04-28 12:09:35 +00:00
michael
74455d0720 * Added ISO8601ToDate and inverse (Bug ID 35307)
git-svn-id: trunk@41954 -
2019-04-28 11:47:49 +00:00
marcus
494854b4d3 MorphOS: UtilityBase fixed
git-svn-id: trunk@41953 -
2019-04-28 10:21:47 +00:00
michael
587397253d * Patch from Serge Anvarov (bug ID 35102) to reduce code duplication
git-svn-id: trunk@41952 -
2019-04-28 09:26:52 +00:00
marcus
0da87a4b49 MorphOS: Intuition.library structure fixes
git-svn-id: trunk@41948 -
2019-04-27 21:53:39 +00:00
marcus
b6c095c771 AROS: Intuition.library structure fixes
git-svn-id: trunk@41947 -
2019-04-27 21:46:47 +00:00
joost
3a964d8556 * Custom resource-files support
git-svn-id: trunk@41946 -
2019-04-27 21:44:08 +00:00
marcus
7601a4ba97 MorphOS: missing TLayer_Info and structures fixes
git-svn-id: trunk@41945 -
2019-04-27 20:30:12 +00:00
marcus
62ecd686c6 AROS: graphics.library structures fix
git-svn-id: trunk@41944 -
2019-04-27 19:57:50 +00:00
marcus
1ec067dfef AROS: fixed amigados units (removed deprecated packets stuff)
git-svn-id: trunk@41942 -
2019-04-27 17:19:40 +00:00
marcus
a5b8463260 morphos: fixed exec and amigados structures
git-svn-id: trunk@41941 -
2019-04-27 16:32:41 +00:00
lacak
0a821710ac fcl-db: odbc: align implementation with code-page aware string fields. Use connection CharSet property to determine charset of connection and when creating string fields use it for code-page of string field.
git-svn-id: trunk@41939 -
2019-04-26 10:32:30 +00:00
svenbarth
75baf343d6 + add format placeholder for the type's name
git-svn-id: trunk@41931 -
2019-04-25 09:27:07 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
Jonas Maebe
5757ae75b8 * fpcmake & fpmake: support for installing .bc files (LLVM bitcode)
git-svn-id: branches/debug_eh@41913 -
2019-04-20 18:56:23 +00:00
Mattias Gaertner
636ae5c01d pastojs: clean up
git-svn-id: trunk@41903 -
2019-04-19 18:12:22 +00:00
Mattias Gaertner
1bb2173939 pastojs: fixed quoted string literal
git-svn-id: trunk@41897 -
2019-04-18 14:18:26 +00:00
nickysn
d9c109a4dd + added h2paschk structure checker files for the DirectDraw and DirectInput
header translations, used by PTCPas.

git-svn-id: trunk@41887 -
2019-04-16 16:45:54 +00:00
Mattias Gaertner
8ff8c05b99 fcl-passrc: clean up
git-svn-id: trunk@41876 -
2019-04-15 14:59:46 +00:00
Mattias Gaertner
7bc1dd4616 fcl-passrc: fixed searching forward proc in local scope
git-svn-id: trunk@41872 -
2019-04-15 08:41:02 +00:00
Mattias Gaertner
b303f5ce63 pastojs: updated year
git-svn-id: trunk@41864 -
2019-04-11 10:49:44 +00:00
Mattias Gaertner
25137aef66 pas2js: help
git-svn-id: trunk@41863 -
2019-04-11 10:36:34 +00:00
Mattias Gaertner
faf8a5870c pastojs: handling environment options PAS2JS_OPTS
git-svn-id: trunk@41862 -
2019-04-11 10:31:38 +00:00
Mattias Gaertner
c3ce3dd911 pastojs: fixed record constructors
git-svn-id: trunk@41856 -
2019-04-10 10:51:03 +00:00
michael
61cd2e219d * Patch from Serge Anvarov to use local time for keyinfo (bug ID 35100)
git-svn-id: trunk@41855 -
2019-04-10 09:18:01 +00:00
Mattias Gaertner
22777fee94 pastojs: error on anynomous record
git-svn-id: trunk@41851 -
2019-04-08 20:49:04 +00:00
Mattias Gaertner
851740a945 pastojs: fixed writing workingdirectory
git-svn-id: trunk@41850 -
2019-04-08 14:58:15 +00:00
joost
c3d0757f11 * Added ability to read the name of the configuration file
which was used during initialization

git-svn-id: trunk@41848 -
2019-04-07 19:33:49 +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
0f2eae2033 - remove unused variables
git-svn-id: trunk@41828 -
2019-04-04 19:31:51 +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
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
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
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
marcus
c6276ab42e Fixed compilation after r41795
git-svn-id: trunk@41796 -
2019-03-26 15:47:08 +00:00
michael
fe16b5d3d5 * Fix from Inoussa OUEDRAOGO to fix reading binary data (bug ID 35274)
git-svn-id: trunk@41794 -
2019-03-26 06:39:49 +00:00
michael
b344934fcb * Logging added completely
git-svn-id: trunk@41792 -
2019-03-24 18:46:23 +00:00
michael
744c331330 * Fix build
git-svn-id: trunk@41787 -
2019-03-24 09:58:40 +00:00
michael
78c074bb74 * Connection management, start of logging
git-svn-id: trunk@41786 -
2019-03-24 09:38:15 +00:00
michael
ffea4d3b38 * Unicode test program using UnicodeString
git-svn-id: trunk@41785 -
2019-03-24 08:47:16 +00:00
michael
79bf26ac4b * Patch from Bart Broersma to make TRegistry unicode-capable
git-svn-id: trunk@41784 -
2019-03-24 08:31:17 +00:00
pierre
128982a5bc Explicitly set values inside TestDataSize procedure to avoid range check errors as values are copied when TValue.Make is called
git-svn-id: trunk@41768 -
2019-03-22 14:27:41 +00:00
pierre
8750dba952 Fix tkBool in class method TValue.Make
git-svn-id: trunk@41767 -
2019-03-22 14:26:39 +00:00
michael
a0c433b171 * Too much committed
git-svn-id: trunk@41749 -
2019-03-19 21:44:12 +00:00
michael
409ca963ca * Patch from inoussa to publish stretch for shape
git-svn-id: trunk@41748 -
2019-03-19 21:43:15 +00:00
marcus
282f4a6972 AROS, AmigaOS4: unified ASL unit for all amiga-likes
git-svn-id: trunk@41747 -
2019-03-19 20:48:43 +00:00