Commit Graph

15361 Commits

Author SHA1 Message Date
Michaël Van Canneyt
b9d29d3420 * Better OS selection for some dependencies 2024-04-28 22:46:07 +02:00
Michaël Van Canneyt
3605b80f58 * Fixes so job_web.webidl compiles again with new dictionary conversion 2024-04-28 22:46:07 +02:00
Michaël Van Canneyt
f89a2b8432 * Fix code generation for dictionary with parent 2024-04-28 12:32:08 +02:00
Michaël Van Canneyt
1b0a1254ad * Allow vcl-compat to be compiled for webassembly 2024-04-28 11:46:07 +02:00
Michaël Van Canneyt
9f812855bb * Allow most of fcl-web to be compiled for webassembly 2024-04-28 11:46:07 +02:00
Michaël Van Canneyt
4b8808bfb2 * Generate code for JSClassName 2024-04-28 11:25:30 +02:00
Michaël Van Canneyt
7629cdb4a5 * Some fixes and simplifications 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
3ed000f801 * Handle dictionary better, use actual constructor 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
c4165a67a7 * Constructor 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
6a7524418a * Create objects directly 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
20c95f0455 Fix tests 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
d74f81fda8 * Remove unqualified string type, use UTF8 string or Unicode string 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
5dc62fae3b * Add create_object method 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
5c9186a395 * Sample unit containing all browser apis 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
0d375c638c * not automatically committed... 2024-04-25 13:56:56 +02:00
Michaël Van Canneyt
1da241c09c * Add wasm-job for webassembly 2024-04-25 11:26:40 +02:00
Michaël Van Canneyt
328ff5f0c3 * Fix callback interface treatment 2024-04-24 16:38:26 +02:00
Michaël Van Canneyt
55dee03ad0 * Now able to generate code for all browser APIs 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
496a86501a * Fix compiler warnings 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
0a4f5558be * Resolve all identifiers 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
3f8bbd3b00 * Various small fixes 2024-04-12 21:27:14 +02:00
Michaël Van Canneyt
4cdabbb4c6 * Fix writing of union types 2024-04-12 17:59:16 +02:00
Michaël Van Canneyt
326d92589a * Add some callback types 2024-04-12 16:46:10 +02:00
Michaël Van Canneyt
e044aae4dc * Handle "object" as argument type 2024-04-12 15:02:47 +02:00
Michaël Van Canneyt
51ffa2220e * Better callback and type handling 2024-04-12 13:36:01 +02:00
Michaël Van Canneyt
388a55904a * Handle complex nested types in arguments 2024-04-11 19:15:41 +02:00
Michaël Van Canneyt
dfafb1f777 * Remove some debug statements 2024-04-11 17:07:42 +02:00
Michaël Van Canneyt
90cac5536f * Some corrections in GetInvokeNameFromTypeName 2024-04-11 17:05:19 +02:00
Michaël Van Canneyt
bd08aa6197 * Correct InvokenameFromAlias 2024-04-11 16:16:34 +02:00
Michaël Van Canneyt
ea64142bac * Better support for Alias types 2024-04-11 15:35:01 +02:00
Michaël Van Canneyt
c720e30fac * Add dictionary-typed result support 2024-04-11 12:12:25 +02:00
Michaël Van Canneyt
70b2f29b92 * Do not generate code for types that are used in a ignored definiton 2024-04-11 11:51:48 +02:00
Michaël Van Canneyt
2a9eccec65 * Definitions marked [ChromeOnly] are not available in regular Javascript 2024-04-11 10:45:10 +02:00
Michaël Van Canneyt
dc7130d078 * Sequence result support 2024-04-10 18:54:01 +02:00
Michaël Van Canneyt
05118c077f * Test for sequence result 2024-04-10 17:49:46 +02:00
Michaël Van Canneyt
a08b15831b * Add sequence support 2024-04-10 16:31:35 +02:00
Michaël Van Canneyt
b40c20b53b * Do not generate definition for aliased types 2024-04-10 11:19:18 +02:00
Michaël Van Canneyt
41f2dd9c26 * Support ArrayBuffer(View) 2024-04-10 10:55:46 +02:00
Michaël Van Canneyt
9f72de4276 * Remove some useless warnings 2024-04-10 10:55:46 +02:00
Michaël Van Canneyt
513a461911 * Guard against argument names that are keywords 2024-04-09 18:08:36 +02:00
marcoonthegit
972703ab45 * update copyright year with 5 years. 2024-04-09 17:47:43 +02:00
Michaël Van Canneyt
23bcb38138 * Correctly create constructor definitions 2024-04-09 17:13:43 +02:00
Michaël Van Canneyt
3075a820a1 * Correctly create constructor definitions 2024-04-09 17:04:09 +02:00
Michaël Van Canneyt
38dac868e0 * Fix stringifier 2024-04-09 15:13:05 +02:00
Michaël Van Canneyt
43487dac24 * Support for enum return type 2024-04-09 10:34:15 +02:00
Michaël Van Canneyt
2703d96741 * Handle maplike interface definition 2024-04-08 18:15:57 +02:00
Michaël Van Canneyt
01f9053f3d * Forgot to commit 2024-04-05 22:06:17 +02:00
Michaël Van Canneyt
760484c7a4 * Fix parsing of type with attributes 2024-04-05 18:51:41 +02:00
Michaël Van Canneyt
afa3cc5439 * Parse complete browser api 2024-04-05 18:42:40 +02:00
Michaël Van Canneyt
1933127d41 * Support for namespaces 2024-04-05 15:24:45 +02:00
Michaël Van Canneyt
323adefec5 * Add sequence types (FrozenArray,ObservableArray) 2024-04-05 09:45:23 +02:00
Michaël Van Canneyt
d12d82dab4 * Allow more keywords as argument identifiers 2024-04-04 20:39:33 +02:00
Michaël Van Canneyt
02c4ac974a * Long long with enforcerange 2024-04-04 20:24:58 +02:00
Michaël Van Canneyt
af8f1167f0 * Fix [EnforceRange] long 2024-04-04 18:06:03 +02:00
Michaël Van Canneyt
d7b8e1c351 * Fix parsing of mozilla ID 2024-04-04 17:08:22 +02:00
Pierre Muller
8fa80295d0 Avoid running cleanppulogs and ppulogs rules in parallel 2024-04-03 14:56:51 +00:00
marcoonthegit
654a8e564b * CommonPrefixWith has a 2nd OUT parameter, reported in the forum 2024-04-03 11:57:12 +02:00
marcoonthegit
56eb1e03ee * don't recurse findfirst/next if filename = . or ..
closes #40722
2024-04-03 11:14:24 +02:00
marcoonthegit
d0093b019d * remove packed from some jedi structures to improve 64-bit compatibility.
closes bug #40100
2024-04-03 10:15:10 +02:00
marcoonthegit
6b5b8e8b8c * close -> clone in IEnumMoniker, reported on forum. 2024-04-03 09:27:35 +02:00
Ondrej Pokorny
910a70ed0d HTTPClient: check for changed host/port for KeepConnection 2024-03-31 12:28:22 +02:00
Michaël Van Canneyt
37f145707a * Fix compilation 2024-03-31 11:21:10 +02:00
Michaël Van Canneyt
5c4f365be4 * Fix DeleteDirectory 2024-03-31 11:00:55 +02:00
Michaël Van Canneyt
0b38f99b47 * Fix compilation of example. Fixes issue #40715 2024-03-31 11:00:55 +02:00
Michaël Van Canneyt
b1312ed3c6 * Patch from Thierry Gayet to fix double prefix when using aliases 2024-03-26 16:38:17 +01:00
florian
961e8fb749 * patch by Joeny Ang: fix TDbf memory leak, resolves #40709 2024-03-26 15:02:50 +01:00
Michaël Van Canneyt
14d4b0808b * Patch from Thierry Gayet to fix compilation of tests 2024-03-26 14:54:19 +01:00
Michaël Van Canneyt
dcadafa1b8 * Fix memleak 2024-03-25 15:47:30 +01:00
Michaël Van Canneyt
04e715445f * Patch from Thierry Gayet to fix crash when no options are specified on command-line 2024-03-25 15:47:06 +01:00
Michaël Van Canneyt
5bcedcfe30 * Small improvements, quiet mode 2024-03-21 16:47:00 +01:00
Michaël Van Canneyt
3fcd891577 * Namespace support 2024-03-20 23:10:48 +01:00
Michaël Van Canneyt
4680d41d67 * Add dpktolpk unit plus example 2024-03-20 23:02:56 +01:00
Michaël Van Canneyt
e7184f3126 * Properly pass on FUsePublishedOnly to properties. Fixes issue #40702 2024-03-19 11:06:29 +01:00
Michaël Van Canneyt
628e0cdbd1 * Fix compilation in unicode RTL 2024-03-19 10:38:59 +01:00
marcoonthegit
c5f2f79dbf * reenable chmls and chmcmd building 2024-03-18 19:11:28 +01:00
Michaël Van Canneyt
91756b9e3e * Attributes for methods 2024-03-18 17:25:20 +01:00
marcoonthegit
3f93fe0743 * fix dependency on rtl-objpas 2024-03-17 16:00:34 +01:00
Michaël Van Canneyt
2cec5996df * Fixed namespaced compilation, rename sender to client to be in line with class name 2024-03-17 14:27:19 +01:00
Michaël Van Canneyt
5ea775dc58 * CLI example for FCM push messages 2024-03-17 14:27:19 +01:00
Michaël Van Canneyt
daf2dd869b * Add FCM push notifications 2024-03-16 20:06:38 +01:00
Michaël Van Canneyt
48d6f5e8a7 * Write correct number of characters to log file 2024-03-16 20:06:38 +01:00
Michaël Van Canneyt
2c15deb237 * Support PKCS#8 format for RSA private key, add demos 2024-03-16 20:06:38 +01:00
marcoonthegit
01c6a0c180 * don't scan embedded images. fixes #40691 2024-03-16 19:28:47 +01:00
marcoonthegit
2273670aad * fixes issue 40695 2024-03-14 09:28:30 +01:00
Michaël Van Canneyt
6e03b24701 * Remove debug statement 2024-03-13 18:25:27 +01:00
Michaël Van Canneyt
18cf928ed6 * Invoke testing on linux requires libffi 2024-03-13 17:33:53 +01:00
Michaël Van Canneyt
52d3a0d5e3 * Allow to call constructor using Invoke() 2024-03-13 17:33:53 +01:00
Michaël Van Canneyt
e67cccee37 * Complete erroneously partial commit 2024-03-11 19:25:36 +01:00
Michaël Van Canneyt
f0eb7e8807 * Add all dependencies for consoletestrunner 2024-03-11 13:52:35 +01:00
Michaël Van Canneyt
e75d97815d * Synchronize Method/Field treatment. Correct parent for fields 2024-03-11 13:52:35 +01:00
Michaël Van Canneyt
c47fc710ba * JSONPath demo 2024-03-09 11:09:44 +01:00
Michaël Van Canneyt
78c8ca57ad * Fix ref count of interface during cast 2024-03-08 15:39:29 +01:00
Michaël Van Canneyt
f0e34e8fab * Map text field on ftMemo, since string has limited length. Fixes issue #40686 2024-03-08 11:59:13 +01:00
Michaël Van Canneyt
6c11f048d1 * Fix from Werner Pamler to implement missing method. Fixes issue #40685 2024-03-07 22:22:57 +01:00
Michaël Van Canneyt
f7d6201946 * Do not search for files in directories that do not exist when doing distclean 2024-03-05 16:40:57 +01:00
Michaël Van Canneyt
083e858544 * Fix duplicate registration of existing RTTI 2024-03-05 15:00:50 +01:00
Michaël Van Canneyt
b1b5c13671 * Do not dump certificate. Fixes issue #40678 2024-03-02 17:41:02 +01:00
Michaël Van Canneyt
6bdf9eb096 * Fix compilation with -CriotR 2024-03-01 21:55:30 +01:00
Michaël Van Canneyt
29b14fec57 * Fix wrong return value in case of multithreaded initialize. Fixes issue #40676 2024-03-01 16:16:47 +01:00
Michaël Van Canneyt
bc2d1cf51c * Remove additional memleak 2024-03-01 12:06:06 +01:00
Rika Ichinose
9fe350bd91 Alternative implementation of TMonitor for Windows Vista+. 2024-03-01 10:46:30 +00:00
florian
e107aa5b5e * patch by foxpas to disable use of crc32 instructions on x86_64-darwin as they apparently don't work, resolves #40344 2024-02-29 22:03:21 +01:00
Michaël Van Canneyt
9247957477 * Fix memory leaks 2024-02-29 18:14:57 +01:00
Michaël Van Canneyt
ef6612170c * Implement GetCodeAddress for TRttiInstanceMethod 2024-02-29 10:24:38 +01:00
mattias
0566580f15 fcl-passrc: delphi multiline strings as separate TPasExprKind pekStringMultiLine 2024-02-28 16:03:27 +01:00
Michaël Van Canneyt
2463faf5c0 * Implement TRttiField.(G|S)etValue 2024-02-28 11:52:16 +01:00
mattias
d8a2f7f714 pastojs: convert pascal ** to js ** 2024-02-28 11:51:20 +01:00
mattias
3822465e2f fcl-passrc: fixed precedence of multiply and power 2024-02-28 11:36:33 +01:00
mattias
f1bc31b057 fcl-js: parse power token 2024-02-28 11:36:33 +01:00
Michaël Van Canneyt
85494cdb1d * Fix wrong type for threadID 2024-02-28 09:52:33 +01:00
Michaël Van Canneyt
492717a25c * Do not prefix with unit name unless necessary 2024-02-27 09:44:31 +01:00
Rika Ichinose
c2176d27ea Use exponential backoff in timeouted ‘TMonitor.Enter’ and explain why it’s still a bad solution. 2024-02-27 07:54:31 +00:00
Rika Ichinose
d1432b7302 TMonitor.Wait temporarily unlocks through recursive calls. 2024-02-27 07:54:31 +00:00
Rika Ichinose
54bb95da81 ‘LockCount’ does not require atomics. 2024-02-27 07:54:31 +00:00
Rika Ichinose
074cb3bcf4 Manage ‘TPulseData’s as linked list of structures allocated in ‘Wait’ stack frames. 2024-02-27 07:54:31 +00:00
Rika Ichinose
7589bb39b8 Set ‘TMonitorData’s without locking. 2024-02-27 07:54:31 +00:00
Rika Ichinose
ba6696d9ed Create TMonitorData initialized. 2024-02-27 07:54:31 +00:00
Michaël Van Canneyt
3f7cd9b807 * Get Field Attributes + tests 2024-02-26 19:18:10 +01:00
Michaël Van Canneyt
1bb452d1c7 * Small optimizations in FindOptionIndex by lagprogramming. Fixes issue #40663 2024-02-26 11:03:56 +01:00
Pierre Muller
75ac012702 Also add %neededafter as the generated binaries are used by testprocess program 2024-02-25 23:33:59 +01:00
zamtmn
489a2f042b Add TTT_HoriHeader 2024-02-25 19:50:28 +00:00
zamtmn
4fcb9a4daf Make FontID public 2024-02-25 19:50:28 +00:00
zamtmn
99a16f3965 FT_Get_Sfnt_Table and related 2024-02-25 19:50:28 +00:00
zamtmn
6e4318bdf5 FT_Get_Sfnt_Name and related 2024-02-25 19:50:28 +00:00
Pierre Muller
f75f688f8b Adapt utcprocess unit to name changes to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
4ad0c88a73 Rename test genout to t_genout to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
a72193b6fe Rename test dotouch to tdotouch to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
c9dc36dbc1 Rename test dols to tdols to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
d69f0f7110 Rename test doexit to tdoexit to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Pierre Muller
f04e92db39 Rename test docat to tdocat to allow use inside testsuite 2024-02-25 08:52:18 +00:00
Michaël Van Canneyt
74e47ccff6 * Remove haiku from list of targets for monitor support 2024-02-24 19:52:40 +01:00
Michaël Van Canneyt
b2dfcd6ee8 - Checked in by accident 2024-02-24 18:16:57 +01:00
Michaël Van Canneyt
09b0ca01cc + Add Simple MonitorSupport implementation 2024-02-24 18:11:23 +01:00
Michaël Van Canneyt
04844d548b * Fix test compilation, broken after unicode rtl changes.. 2024-02-24 18:11:10 +01:00
Pierre Muller
49b62b272c Add objfpc mode to avoid compilation error 2024-02-24 11:54:51 +01:00
Michaël Van Canneyt
ddf0774575 * Avoid index out of bounds error 2024-02-23 08:53:29 +01:00
Michaël Van Canneyt
9c5bfbeb78 * Return delphi-compatible output for TValue.ToString when empty 2024-02-22 14:41:51 +01:00
Michaël Van Canneyt
cbc938900f * Fix wrong assigned check pointed out by Gareth Moreton 2024-02-22 09:17:44 +01:00
Michaël Van Canneyt
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
Michaël Van Canneyt
476780df77 * Add TPageType 2024-02-20 16:35:05 +01:00
Michaël Van Canneyt
dfa22fb53a * Add function reference version of TComparer.Construct 2024-02-20 16:12:14 +01:00
Michaël Van Canneyt
0790b98277 * Correct case 2024-02-20 10:36:14 +01:00
Karoly Balogh
572a340a26 m68k-atari: mark functions and API calls related to exiting the program as noreturn 2024-02-20 03:56:17 +01:00
Pierre Muller
71a46465c8 Fix msdos compilation failure by using CodePointer type for GetCodeAddress TRttiRecordMethod function 2024-02-19 09:37:29 +01:00
Michaël Van Canneyt
c9888f9774 * Remove uses of exttypes 2024-02-19 09:13:44 +01:00
Michaël Van Canneyt
ca8d867d57 * Get extended methods, fields and property info. 2024-02-18 21:36:05 +01:00
Pierre Muller
d621cef988 Reenable semaphore support for NetBSD and OpenBSD in syncobjs unit 2024-02-17 21:33:52 +00:00
Michaël Van Canneyt
4a1a81663a * Make tests more granular by doing them each in their own routine. 2024-02-17 17:14:51 +01:00
Michaël Van Canneyt
d1f06d45b9 * Add get routines for unicode and widestring 2024-02-17 17:14:51 +01:00
Michaël Van Canneyt
3d2db25f16 * More differentiated tests, part of webassembly implementation of invoking 2024-02-17 17:14:51 +01:00