Commit Graph

15983 Commits

Author SHA1 Message Date
Michaël Van Canneyt
4afc656ac5 * SMall optimization in TRttiInstanceMethod.GetParameters 2024-12-23 17:54:38 +01:00
Michaël Van Canneyt
b447ab211f * Small change in indexed property .ToString 2024-12-23 17:45:17 +01:00
Michaël Van Canneyt
dfd8f5c62b * TValue.Asstring for double 2024-12-23 17:45:17 +01:00
Alligator-1
886c2ab7d1 Reducing indirect addressing to out parameters 2024-12-20 11:28:58 +00:00
Michaël Van Canneyt
cb072b6b8c * Forgot to commit, main part of indexed properties implementation by Lipinast Lekrisov 2024-12-19 10:40:50 +01:00
Michaël Van Canneyt
b8bf81bc65 * Patch from Lipinast Lekrisov to implement indexed properties 2024-12-18 22:00:11 +01:00
Michaël Van Canneyt
76e2ee9970 * Small improvement in setting method prop, by Lipinast Lekrisov 2024-12-17 21:41:08 +01:00
Michaël Van Canneyt
a1892091ed * Improvements to TValue.ToString by Lipinast Lekrisov 2024-12-17 21:36:43 +01:00
Michaël Van Canneyt
2deb5e6557 * Invoke for record methods, refactoring method rtti by Lipinast Lekrisov 2024-12-17 21:21:23 +01:00
Michaël Van Canneyt
8a92f5f01e * Read/Write static properties. Patch from Lipinast Lekrisov 2024-12-17 18:59:53 +01:00
Michaël Van Canneyt
0acff7a7c1 * Introduce TRttiMethodType.GetMethodKind. Patch by Lipinast Lekrisov 2024-12-17 18:20:32 +01:00
Michaël Van Canneyt
4a596a2de3 * Fix compiler warnings and hints 2024-12-17 18:17:12 +01:00
Michaël Van Canneyt
cc6aabaf8b * Introduce IsClassProperty, Index and Default in TRttiProperty. Patch from Lipinast Lekrisov 2024-12-17 18:10:35 +01:00
Michaël Van Canneyt
fd10c88264 * Correct TRttiOrdinalType.GetIsOrdinal. Patch from Lipinast Lekrisov 2024-12-17 18:06:00 +01:00
Michaël Van Canneyt
072cb55315 * Get method by address. Patch by Lipinast Lekrisov 2024-12-17 17:57:30 +01:00
Michaël Van Canneyt
6c1c3e35ee * Introduce AsOrdinal. Patch by Lipinast Lekrisov 2024-12-17 17:50:31 +01:00
Michaël Van Canneyt
5a6b4ed8e4 * Delphi-compatible ToString for TRttiType. Patch from Lipinast Lekrisov 2024-12-17 17:47:36 +01:00
Michaël Van Canneyt
98a7fe6204 * TValue.From with buffer and typeinfo. Patch from Lipinast Lekrisov 2024-12-17 17:44:57 +01:00
Michaël Van Canneyt
69140d22eb * Allow to cast pointer TValue to class pointer. Patch from Lipinast Lekrisov 2024-12-17 17:39:09 +01:00
Michaël Van Canneyt
5945722811 * Introduce AsRecord. Patch by Lipinast Lekrisov 2024-12-17 17:31:01 +01:00
Michaël Van Canneyt
1c816990c3 * Allow assign of pointer to TValue. Patch by Lipinast Lekrisov 2024-12-17 17:26:33 +01:00
Michaël Van Canneyt
bb2d12457c * Add all test files to project 2024-12-17 17:25:31 +01:00
Michaël Van Canneyt
c29fb28bda * Fixes for unicode rtl 2024-12-13 14:40:35 +01:00
Michaël Van Canneyt
a8ccf71bd0 * Add overload, needed when specializing in Delphi mode 2024-12-13 12:36:27 +01:00
Michaël Van Canneyt
b412765116 * Add service module creation 2024-12-11 11:42:05 +01:00
Michaël Van Canneyt
f38cfbb23f * Append extension, needed for Laz codetools. Fixes issue #41061 2024-12-11 11:42:05 +01:00
Michalis Kamburelis
4c8f718a8b Fix TJSArray._GetStrings: exit once you get correct value, do not fall through to raising error 2024-12-09 22:13:31 +01:00
Michaël Van Canneyt
77ff0bd111 * Patch from Andrew Haines to add EC_* functions. Fixes issue #41056 2024-12-09 19:46:02 +01:00
Michaël Van Canneyt
d3316831ca * Dirwatch component 2024-12-09 19:46:02 +01:00
Ondrej Pokorny
63a2a4d9e7 Base64: UnicodeRTL support 2024-12-09 16:16:16 +01:00
Jonas Maebe
ccf1bf8add utcfpmonitor: fix compilation on targets where TThreadID is not an ordinal 2024-12-07 15:07:22 +01:00
mattias
4d67cd80fc fcl-passrc: useanalyzer: fixed marking inline specialize expression of a record method 2024-12-06 20:00:27 +01:00
mattias
9f16b0a0f4 fcl-passc: fixed GetDeclaration of specialize param types 2024-12-06 19:59:44 +01:00
Michaël Van Canneyt
a1a0c0e9ba * Int64 support for AsType 2024-12-05 17:25:12 +01:00
Michaël Van Canneyt
7b3fcc2a2e * Patch from Don Siders to fix typo in CSS attribute name. Fixes issue #41050 2024-12-05 14:54:54 +01:00
Michaël Van Canneyt
d775dadced * Atomics 2024-12-04 23:28:56 +01:00
Karoly Balogh
8685ec918f fcl-base: less typos after 5887b1fe 2024-12-04 01:35:54 +01:00
Michaël Van Canneyt
4ac0781dd8 * Remove erroneously commited commented line 2024-12-03 23:42:49 +01:00
Michaël Van Canneyt
7f682589c7 * Fix compilation 2024-12-03 23:42:49 +01:00
Michaël Van Canneyt
eb08fd88f2 * Allow Boolean -> TValue 2024-12-03 23:42:49 +01:00
Michaël Van Canneyt
5887b1fee3 Allow mutex on wasm 2024-12-03 23:42:49 +01:00
Pierre Muller
1f2ecc9a42 Add missing fpcssresparser unit in fcl-css package 2024-12-03 10:53:38 +00:00
Michaël Van Canneyt
1cd1415df7 * Localhost fallback in case no DNS servers found. Patch from NiteHawk, fixes issue #41047 2024-11-30 19:01:36 +01:00
florian
c8b649186f + g_array* aliases as proposed by sechshelme, resolves #41026 2024-11-30 14:07:44 +01:00
Margers
7e593750e8 fvclip unit file name fixes 2024-11-30 12:46:43 +00:00
Michaël Van Canneyt
9c4a354d7b * Add SharedMemoryBuffer 2024-11-29 11:58:29 +01:00
Michaël Van Canneyt
45f7be1b3c * Unique names for imports 2024-11-28 16:57:08 +01:00
Michaël Van Canneyt
fc0fb5968a * Make names unique across modules 2024-11-28 16:17:46 +01:00
Michaël Van Canneyt
7b213bb4e6 * Store session info only for project files 2024-11-28 11:40:48 +01:00
Michaël Van Canneyt
74ea291454 * Typecast to pointer of self() needed 2024-11-28 11:38:30 +01:00
Margers
ae495ab888 Editor load files in read only mode 2024-11-28 07:47:24 +00:00
Michaël Van Canneyt
7b4a5c9728 * Last patch did not contain all changes... 2024-11-27 23:38:11 +01:00
Michaël Van Canneyt
a30222daed * Fix issue where refresh causes access violation in TBufDataset. Fixes issue #40987 2024-11-27 22:46:26 +01:00
Michaël Van Canneyt
1b8209fee4 * correct TValue.Cast<AnsiString>, patch by Евгений Савин. Fixes issue #41042 2024-11-26 09:04:08 +01:00
Michaël Van Canneyt
7148866f8d * Correctly get callback type 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
8cedb10c3a * Search for correct element type when checking array types 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
0ca0990e8b * System.Types for Delphi code 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
8d24a28c56 * Do not call parsing if JSON is empty (e.g. return 204 with empty body) 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
8ffbbe6a93 * Patch from Евгений Савин to fix TValue.From<managedrecord>. Fixes issue #41013 2024-11-25 14:01:26 +01:00
Michaël Van Canneyt
e03e62f013 * Some fixes in handling of headers 2024-11-23 22:54:40 +01:00
Michaël Van Canneyt
b05e85dda9 * Implement some GetValue methods 2024-11-23 22:08:17 +01:00
Michaël Van Canneyt
26b6d0223e * Add IsType with aEmptyAsAnyType param 2024-11-23 10:23:36 +01:00
florian
09f3600cc4 * patch by Lipinast Lekrisov: fix building ffi.pp on macOS, resolves #41035 2024-11-21 22:02:10 +01:00
mattias
3c6f111209 pastojs: added resourcestring 2024-11-21 12:13:40 +01:00
mattias
3fbb5e3ecf fcl-passrc: started test for method param attributes 2024-11-21 12:13:40 +01:00
Michaël Van Canneyt
03f98e749c * Fix TValue casts, patch by Евгений Савин, fixes issue #41030 2024-11-21 11:51:11 +01:00
Michaël Van Canneyt
1230e5a623 * Delphi-compatible output for tvalue.asstring for float value. Fixes issue #41027 2024-11-19 23:34:28 +01:00
zamtmn
b3e8d88f68 GetMutableValue and TryGetMutableValue for fcl-stl.TMap and rtl-generics.generics.TDictionary 2024-11-19 16:42:59 +00:00
Ondrej Pokorny
bc7ed55aab fix TCustomBase64Encoding.DoEncode(TStream) 2024-11-18 22:24:21 +00:00
Ondrej Pokorny
303834e2a2 TCustomBase64Encoding.DoDecode/DoEncode(array of Byte): no UTF8 encoding/decoding 2024-11-18 22:24:21 +00:00
Ondrej Pokorny
ddf56bee7a System.NetEncoding: Delphi-compatible Base64 and Base64String encodings 2024-11-18 22:24:21 +00:00
Michaël Van Canneyt
94a4a38ad6 * Added new test unit 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
2301f09d77 * OpenAPI support for SQLDBRest 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
3855187038 Type maps signature changed 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
d84731a07e * Corrected tests 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
89da1e0729 * Allow to compile with dotted units 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
86da0baf02 * Corrections when writing file: write in 3.1 format 2024-11-18 23:02:36 +01:00
Michaël Van Canneyt
ede14da4d2 * OpenAPI helper units and classes 2024-11-16 16:12:46 +01:00
Michaël Van Canneyt
4e4f1ec4de * Remove wrong line 2024-11-16 14:42:33 +01:00
Michaël Van Canneyt
38b5a4cbb7 * Add newline after uses clause 2024-11-16 14:36:17 +01:00
Michaël Van Canneyt
4a3b2c3c32 * OpenAPI code generator 2024-11-16 14:36:17 +01:00
Karoly Balogh
3936e35b73 fcl-web: fixed a wrong condition in previous commit 2024-11-15 23:30:05 +01:00
Karoly Balogh
ff89a4815a fcl-web: only disable some CGI related things on Amiga-like systems, where the current code assumes Unix or Windows 2024-11-15 23:03:01 +01:00
Ondrej Pokorny
0f591ee616 implement missing TryStrToNetAddr 2024-11-15 15:56:15 +00:00
Michaël Van Canneyt
0b0193106f * Fix comp errors. Patch by Евгений Савин. Fixes issue #41016 2024-11-15 16:57:20 +01:00
Michaël Van Canneyt
8c8bef492f * Reinstate ftlongword support, accidentally removed. Fixes issue #41014 2024-11-14 14:22:52 +01:00
Michaël Van Canneyt
db9b2a6a95 * Add request ID handling and callback-based result 2024-11-13 23:32:17 +01:00
Michaël Van Canneyt
b95db4b610 * Fixes in array type handling 2024-11-13 23:28:58 +01:00
Michaël Van Canneyt
2d0f8467fa * Patch from Евгений Савин to implement TValue.Cast for floats. Fixes issue #41011 2024-11-13 23:22:59 +01:00
Margers
7ac4e38b71 Fix copy-paste error 2024-11-12 06:47:55 +00:00
mattias
a0a17d5f07 fcl-css: fixed resolving function 2024-11-11 15:33:18 +01:00
Margers
d0c33bfa5d Fix for undo if chars are add in tab space 2024-11-11 12:49:15 +00:00
Michaël Van Canneyt
2045755945 * Fix namespaced compile 2024-11-11 13:37:50 +01:00
Michaël Van Canneyt
0794b375df * Fix wrong git merge 2024-11-11 13:19:54 +01:00
Margers
fd64cb8c5a Show proper dialog title for Add Watch and Edit Watch 2024-11-11 12:13:17 +00:00
Margers
b73bf4a811 Markers move along with lines 2024-11-11 12:12:24 +00:00
Margers
e221096a02 Fix for backspace in empty line. Textmode IDE 2024-11-11 12:10:05 +00:00
Margers
a8520ad03e Show line indents in Textmode IDE 2024-11-11 12:08:49 +00:00
Michaël Van Canneyt
87cfd7dcae * Correct names, needed for fpmake to work 2024-11-11 13:10:34 +01:00
Margers
4c4388f830 Fix FV history list 2024-11-11 11:57:35 +00:00
Margers
8b10637036 Open fp.dsk for load in Read access only mode 2024-11-11 11:56:46 +00:00
Margers
530f08d9d3 Save and return to last directory in next Textmode IDE session 2024-11-11 11:55:27 +00:00
Margers
97b79b3d4e Larger Change Directory dialog for larger console/terminal dimensions 2024-11-11 11:54:07 +00:00
Margers
8d7a6cc778 Larger File Open dialog for larger console/terminal dimensions 2024-11-11 11:51:38 +00:00
Margers
f419e9dfab Global clipboard support long lines 2024-11-11 11:50:36 +00:00
Margers
f0257e8424 RawReadString is limited to length of shortstring, don't read more than that 2024-11-11 11:50:36 +00:00
Margers
899343f07c Integration of bracketed paste and OSC 52 in Textmode IDE 2024-11-11 11:50:36 +00:00
Margers
fb872569da Bracketed paste and OSC 52 in FV 2024-11-11 11:50:36 +00:00
Margers
1b4c2b0551 Add fvclip unit 2024-11-11 11:50:36 +00:00
Michaël Van Canneyt
5a2b045388 * Simple example for JOB call 2024-11-11 12:10:28 +01:00
Margers
7e36f16e87 Enable Color select dialog in Textmode IDE 2024-11-11 10:59:14 +00:00
Margers
b5ad06da4b Add ColorSel in fpmake 2024-11-11 10:59:14 +00:00
Margers
9d283cd983 Namespaces in ColorSel unit 2024-11-11 10:59:14 +00:00
Margers
538670c5a2 Unit ColorSel reimplemented (partially) 2024-11-11 10:59:14 +00:00
Michaël Van Canneyt
e9107bbf4f * Patch from Евгений Савин to fix passing records to invoke. Fixes issue #41006 2024-11-11 11:59:57 +01:00
J. Gareth "Curious Kit" Moreton
cce3280fdd * TArrayHelper<>.QSort uses a simpler 'reasonable' metric that decrements from 2 log2(n) before changing to heapsort 2024-11-10 15:22:53 +00:00
J. Gareth "Curious Kit" Moreton
1aa8f978bc * Generics.Collections sorting algorithm switches to Insertion Sort if the partition is small (closer to Introsort) 2024-11-10 15:22:53 +00:00
Rika Ichinose
961eccf64b Unroll SHA1Transform. 2024-11-10 14:04:48 +00:00
florian
12f0ccbb01 * made dblib/fpmake.pp to use the same structure as other fpmake files => avoids hint on unused variable during make all 2024-11-09 14:38:27 +01:00
Michaël Van Canneyt
d486463bc1 * Test for #41002 2024-11-09 09:58:43 +01:00
Michaël Van Canneyt
d96448cfaf * Patch from Евгений Савин to fix missing ansistring conversion in TryCast. Fixes issue #41002 2024-11-09 09:53:06 +01:00
Michaël Van Canneyt
3f4298dbca * OpenAPI, initial commit 2024-11-07 10:51:52 +01:00
mattias
c2584561a1 fcl-json: clean up 2024-11-07 10:24:54 +01:00
Michaël Van Canneyt
f523503828 * Calculate dependencies correctly, only generate definitions for schema types 2024-11-06 21:19:32 +01:00
Michaël Van Canneyt
8486986ad7 * Remove double 2024-11-06 16:57:36 +01:00
Michaël Van Canneyt
2d40b7c463 * SortProperties public 2024-11-06 16:47:13 +01:00
Michaël Van Canneyt
75987e9f0a * Make sure it compiles with dotted units 2024-11-06 16:40:48 +01:00
Sven/Sarah Barth
bcdef8341e * fix #40992: correctly handle padding inside the FFI Invoke manager
+ added test
2024-11-05 23:23:56 +01:00
florian
4784c141e3 * enable gtk2 for android, based on a patch (adapated to 3.3.1) by Alfred Glänzer in #40994 2024-11-05 21:49:18 +01:00
Sven/Sarah Barth
d9ec917586 * in the Win64 ABI all const record parameters are passed by reference 2024-11-04 23:15:29 +01:00
Sven/Sarah Barth
f70a430b6f * fix compilation on systems where SizeOf(CodePointer) <> SizeOf(Pointer): disable ToString for tkMethod on these systems for now 2024-11-04 21:59:50 +01:00
Michaël Van Canneyt
cce871258e * Rename version constant 2024-11-04 11:49:18 +01:00
Rika Ichinose
0b97f169b0 Remove conditionals that rely on not defined(FPC_HAS_CPSTRING). 2024-11-04 10:28:33 +00:00
Michaël Van Canneyt
e2431d41ae * Some minor cleanup. Fixes issue #40991 2024-11-04 11:27:39 +01:00
Michaël Van Canneyt
cc0adf66d0 * Tests for code generation. Change type handling to create pascal type data for all data 2024-11-04 11:27:39 +01:00
Michaël Van Canneyt
b8cc7fb175 * Some cleanup, fix warnings/hints 2024-11-04 11:27:39 +01:00
Lipinast Lekrisov
2469fe8d70 Fixed TRttiRecordType.ResolveProperties (records do not have a published section) 2024-11-03 20:28:09 +00:00
Lipinast Lekrisov
f7bcabd956 Added TRttiIndexedProperty, the whole property handling infrastructure has been significantly redesigned 2024-11-03 18:07:45 +00:00
Karoly Balogh
5acf85a932 rtl-console/amicommon: added a way to redefine colors externally in the video unit 2024-11-01 17:37:07 +01:00
Michaël Van Canneyt
f8b454779f * Bridge to allow system.regexp* to work 2024-11-01 17:19:55 +01:00
Michaël Van Canneyt
5d0e2993fa * Needed for unicode rtl 2024-11-01 17:15:57 +01:00
Michaël Van Canneyt
f7b9eac515 * Only build simplewebserver for oses with sockets 2024-11-01 17:07:33 +01:00
Michaël Van Canneyt
9352e09849 * Move simple server to unit so it can be reused (pas2js webcompiler) 2024-11-01 16:49:51 +01:00
Michaël Van Canneyt
dfb4015067 * Show info in a more structured way
* Allow to compile with FPC 3.2.2
* Fix --coi option.
* Allow to specify custom response headers in config file [Headers] section
2024-11-01 11:44:22 +01:00
Michaël Van Canneyt
18e519963f + Allow customization of response through callback
+ Allow customization of response through custom headers
+ Log error conditions (403,400,404)
2024-11-01 11:44:22 +01:00
Michaël Van Canneyt
31448dcf03 * Forgot to commit 2024-10-29 14:16:40 +01:00
Michaël Van Canneyt
77cb7cd454 * Remove references to openAPI 2024-10-29 13:43:51 +01:00
Michaël Van Canneyt
4f10c539ba * Refactor to use jsonwriter 2024-10-29 09:05:10 +01:00
Michaël Van Canneyt
a99ddc3753 * JSON Writer 2024-10-29 09:01:11 +01:00
Michaël Van Canneyt
b74411cf03 * Patch from Lipinast Lekrisov to implement setting method-type properties. Fixes issue #40970 2024-10-27 09:49:36 +01:00
florian
f626efef37 * example does not need cwstring unit 2024-10-27 09:13:18 +01:00
Michaël Van Canneyt
06eaec4313 * Fix compilation under unicode rtl 2024-10-26 23:41:28 +02:00
Michaël Van Canneyt
f641987464 * Pascal code generation starting from json-schema 2024-10-26 23:27:36 +02:00
J. Gareth "Curious Kit" Moreton
51c3cc97fa * Packages: ARM assembly language version of MD5Transform added to hash package 2024-10-26 19:24:33 +00:00
Nikolay Nikolov
b416418134 - exclude fpc-term from compilation on MSX-DOS 2024-10-26 19:27:00 +03:00
Jonas Maebe
220971289a macOS: fix make all
Conflicts between FV and UnivInt units (Keyboard/Mouse) break the compilation
of ftckvm/fcl-fpterm
2024-10-26 15:30:12 +02:00
Nikolay Nikolov
6c0be9f534 * always try to load libGL.so (which is a symlink), instead of libGL.so.1 on
NetBSD, because on NetBSD, the GL library can be either libGL.so.3, or
  libGL.so.1, depending on how the GL library is installed
2024-10-26 15:33:01 +03:00
Nikolay Nikolov
ef1ca55728 + added NetBSD to PtcKvmOSes and UnixPtyOSes 2024-10-26 14:52:22 +03:00
Nikolay Nikolov
83807ba780 + enabled compilation of ptckvm on NetBSD 2024-10-26 14:31:31 +03:00
Nikolay Nikolov
7c9506a629 + enabled compilation of unit ptcgraph on NetBSD 2024-10-26 14:14:54 +03:00
Nikolay Nikolov
c333863330 + added the IPC_PRIVATE constant for NetBSD 2024-10-26 13:51:53 +03:00
Nikolay Nikolov
cbd6417201 + enabled compilation of ptc on NetBSD 2024-10-26 13:30:32 +03:00
Nikolay Nikolov
03689044d9 + added FreeBSD to the UnixPTY OSes 2024-10-25 20:18:44 +03:00
Nikolay Nikolov
2262d2050d - disabled compilation of the fcl-fpterm package on the JVM target 2024-10-23 10:00:01 +03:00
Nikolay Nikolov
d01efd153c + fpterm: enabled compilation of unit FpTerm.InputOutputConnection.UnixPTY on OpenBSD 2024-10-21 20:01:10 +03:00
Nikolay Nikolov
bbc74de241 - removed unnecessary (unused) virtual constructors 2024-10-21 15:59:10 +03:00
Nikolay Nikolov
b693af69a6 * system.terminal renamed fpterm 2024-10-21 09:55:59 +03:00
Nikolay Nikolov
e55ff3763e + added unit System.Terminal.InputOutputConnection.UnixPTY 2024-10-20 17:22:59 +03:00
Nikolay Nikolov
16e7b07f0f + added unit System.Terminal.Pseudoterminal.Unix 2024-10-20 17:02:45 +03:00
Nikolay Nikolov
44d8cb3ec1 * use lowercase strings for the dependencies in fcl-fpterm/fpmake.pp
- removed commented out code
2024-10-20 16:37:15 +03:00
Nikolay Nikolov
f768ad9094 + added unit System.Terminal.PTC.KVM 2024-10-20 15:58:28 +03:00
Nikolay Nikolov
ab9c499650 + added unit System.Terminal.View.Video.PTC.KVM 2024-10-20 15:43:35 +03:00
Nikolay Nikolov
63d5c0078d + added unit System.Terminal.KVM 2024-10-20 15:23:57 +03:00
Nikolay Nikolov
9143abf069 + added unit System.Terminal.View.Video 2024-10-20 15:14:19 +03:00
Nikolay Nikolov
5f7c9b1799 + added unit System.Terminal.View.Video.Base 2024-10-20 15:01:06 +03:00
Nikolay Nikolov
cc0c46bece + added unit System.Terminal.PointingDeviceInput.Mouse 2024-10-20 14:45:01 +03:00
Nikolay Nikolov
eb29d4fa95 + added unit System.Terminal.KeyboardInput.Keyboard 2024-10-20 14:27:52 +03:00
Nikolay Nikolov
481ef7273e * fcl-fpterm/fpmake.pp modified, so it includes a function, similar to
rtl-console/fpmake.pp. This is to allow declaring constant sets for the OSes.
2024-10-20 13:57:45 +03:00
Nikolay Nikolov
4e877c3c11 + added unit System.Terminal 2024-10-20 13:36:12 +03:00
Nikolay Nikolov
0b3f80d231 + added unit System.Terminal.KeyboardInput 2024-10-20 13:24:29 +03:00
Nikolay Nikolov
3d868d1349 + added unit System.Terminal.Controller 2024-10-20 13:18:19 +03:00
Nikolay Nikolov
28831a7734 + added unit System.Terminal.Logger 2024-10-20 13:09:00 +03:00
Nikolay Nikolov
b201ab9d1d + added unit System.Terminal.PointingDeviceInput 2024-10-20 13:02:17 +03:00
Nikolay Nikolov
dc843bf86c + added unit System.Terminal.InputOutputConnection 2024-10-20 12:53:04 +03:00
Nikolay Nikolov
978b1212c5 + added unit System.Terminal.Model 2024-10-20 12:44:50 +03:00
Nikolay Nikolov
9fc4759238 + added unit System.Terminal.View 2024-10-20 12:40:37 +03:00
Nikolay Nikolov
bb684c0bb3 * forgot to add fpmake.pp in previous commit 2024-10-20 12:40:00 +03:00
Nikolay Nikolov
25c1112898 + started integrating my fpterm terminal emulator (from https://sourceforge.net/projects/fpterm/)
as a part of FPC's packages, for potential use and future integration with the
  console IDE, Lazarus, WebAssembly, Pas2Js, etc. This commit adds the first
  unit: System.Terminal.Base
2024-10-20 12:32:12 +03:00
Nikolay Nikolov
bb218b2fb1 * fix memory leaks after ptckvm finalization 2024-10-20 10:49:55 +03:00
Michaël Van Canneyt
d79c12ad5b * Add GetMethod(name), patch by Lipinast Lekrisov, fixes issue #40953 2024-10-19 18:14:08 +02:00
Nikolay Nikolov
dfcdb1e742 * unit ptckvm renamed PTC.KVM if dotted units are used 2024-10-19 14:08:49 +03:00
Nikolay Nikolov
b1b623232a * fixed ptckvm compilation with dotted units 2024-10-19 13:53:27 +03:00
Nikolay Nikolov
6f17e91229 + added package ptckvm - a console driver for the keyboard, video and mouse units, implemented on top of the PTCPas library 2024-10-19 13:25:17 +03:00
Kirill Kranz
7c56f544cf 2 packages excluded 2024-10-18 13:19:21 +02:00
Ondrej Pokorny
570fa22daa ParseURI: a colon is a valid character in the path or the document part of the URI 2024-10-16 20:00:06 +02:00
Michaël Van Canneyt
742158b678 * recordrtti needs to override getmethods. Fixes issue #40951 2024-10-15 13:06:11 +02:00
Michaël Van Canneyt
dc2261eff0 * Add readfromscanner, fix reading type 2024-10-14 22:06:05 +02:00
Margers
67bee1b652 Nested comment syntax highlighting 2024-10-13 20:53:07 +00:00
Margers
297ed5cb0c Add missing Compiler Modes in Compiler Options 2024-10-13 20:53:07 +00:00
Margers
e6b95d37e6 Do not wrap fp.ans file lines on load 2024-10-13 20:49:29 +00:00
Margers
405484df91 Restore previous behavior of draw full line selection 2024-10-13 18:51:22 +00:00
Henrique Gottardi Werlang
e0da2d0e46 Checking the compatibility of the procedure with the await function. 2024-10-10 20:10:39 +00:00
Michaël Van Canneyt
b5de5eed0e * Update some comments 2024-10-10 22:11:21 +02:00
Michaël Van Canneyt
8e1ecb6a67 * Inline documentation of TJSONOption. Fixes issue #40943 2024-10-10 16:51:07 +02:00
Michaël Van Canneyt
00f015f593 * Make flush virtual. Fixes issue #40942 2024-10-10 16:41:42 +02:00
Arael1895
b179e01b3f Update file fpreport.pp 2024-10-09 22:17:16 +02:00
Rika Ichinose
9918bb5619 Use varints for TJSONScanner.FParts to save memory. 2024-10-09 20:08:06 +00:00
Henrique Gottardi Werlang
2cf533c0ed Changed the implementation to allow await to accept functions that return a promise. 2024-10-09 20:05:14 +00:00
J. Gareth "Curious Kit" Moreton
008dc98c33 * Fixed bug in "fpmkunit" where CompileReason wasn't set in "TBuildEngine.NeedsCompile" due to oversight 2024-10-09 20:02:38 +00:00
Michaël Van Canneyt
de3eda7f51 * Merge branch 'mr/726' 2024-10-09 22:01:21 +02:00
Massimo Magnano
516e078fd9 added SyncIpc to fcl-process package 2024-10-09 22:00:32 +02:00
regs01
1eff5ae28a SetSize with output dimensions depending on orientation 2024-10-09 19:51:00 +00:00
regs01
6d03a2582e SetSize with output dimensions depending on orientation 2024-10-09 19:51:00 +00:00
Margers
aeb17a48fc Additional function key escape sequences for rxvt (urxvt) 2024-10-09 19:45:36 +00:00
Margers
0a23fc17cf Added missing keys for WinCRT unit 2024-10-09 19:44:17 +00:00
Margers
8b1824ab34 Go32v2 and msdos mouse is zero based. Fixed GetMouseX, GetMouseY and SetMouseXY. 2024-10-09 18:46:19 +00:00
Margers
8fd249807e In console enable mouse buttons browse back/forward (xterm Unix) 2024-10-09 18:45:42 +00:00
Margers
bda49f7219 Silent key apostrophe. Fixed problem for Windows Textmode IDE in Linux under Wine. 2024-10-09 18:45:02 +00:00
Margers
2141465c58 make file gitlab web interface friendly 2024-10-09 18:45:02 +00:00
Margers
a0fe88b60f Console keyboard shift states in Unix 2024-10-09 18:43:35 +00:00
Margers
9073615dea Multi byte mouse report format for rxvt (Unix) 2024-10-09 18:42:08 +00:00
Margers
5c215cd524 Long long code editor lines 2024-10-09 18:40:28 +00:00
Margers
ca0dad1ce1 Backspace Tab character correctly. 2024-10-09 18:39:31 +00:00
Michaël Van Canneyt
f259ca5e40 * Add foFormatFloat option to FormatJSON. Fixes issue #40937 2024-10-09 20:35:53 +02:00
Michaël Van Canneyt
e2be33b4be * Only flush when actually writing 2024-10-09 20:05:38 +02:00
Michaël Van Canneyt
10d913624d * Flush when saving. Fixes issue #40938 2024-10-09 14:06:51 +02:00
Michaël Van Canneyt
088f394440 * Implement TList<T>.pack. Patch by Alexander Bagel. Fixes issue #40927 2024-10-09 09:15:50 +02:00
Michael Van Canneyt
b78679afa1 * Ensure FPSockets compiles in unicode rtl 2024-10-02 14:48:22 +02:00
Michael Van Canneyt
9780607d05 * Handle case where there is no handler 2024-10-02 13:30:39 +02:00
Michael Van Canneyt
5b46c44b7d * Fix loadfromstrings, fixes bug #40929 2024-10-02 13:20:25 +02:00
Michaël Van Canneyt
736edf6422 * Better testlocation 2024-10-02 07:36:17 +02:00
Frederic Kehrein
dcabb0151f Adding fpsockets unit to fcl-net 2024-10-02 07:36:17 +02:00
Frederic Kehrein
23dd7a5173 Adding TNullPtr to types
Additional changes:
* Now using TNullPtr instead of custom type in TNullable
* Adding assignment of variants with TNulPtr to avoid name conflicts
* Adding comparison to TNullPtr (Pointers, TObjects, TNullable)
2024-10-02 05:30:09 +00:00
Frederic Kehrein
6ff63107a6 Adding pointer access to nullable 2024-10-01 13:18:39 +00:00
mattias
3dc3d83757 fcl-css: resolver: parse value without registry 2024-10-01 10:59:14 +02:00
mattias
3a98dfde1b fcl-css: test display:none without spaces 2024-10-01 10:48:35 +02:00
Nikolay Nikolov
f4abc07748 - remove Makefiles that shouldn't be committed to the git repository 2024-09-29 19:20:21 +03:00
Kirill Kranz
0dc2f78bc8 all packages witch are not able to compile REMOVED 2024-09-29 16:59:02 +03:00
Kirill Kranz
2f5cbbacb7 DynArrays works
because of InitHeap3, malloc3 and free3 functions from the psy-q-sdk
2024-09-29 16:58:12 +03:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03:00
Michaël Van Canneyt
149db318a0 + Add license header to tuples, add to fpmake 2024-09-29 13:36:32 +02:00
Frederic Kehrein
d3b14eb1ba Adding tuple unit 2024-09-29 12:49:57 +02:00
Frederic Kehrein
b5a0c3b1b6 Adding some convinience functions to TNullable 2024-09-28 13:05:08 +00:00
Michaël Van Canneyt
5769d737d1 * Optimize ExtractFileUnitName 2024-09-25 14:23:34 +02:00
Michaël Van Canneyt
10bbe83284 * Minor improvement, fix by lagprogramming. Fixes issue #40922 2024-09-24 18:57:08 +02:00
Margers
0396174bbf Compiler Target and Compiler Optimization Target Processor lists are scrollable 2024-09-24 16:31:17 +00:00
Margers
17fc824917 Mouse scroll (fast) Compiler Messages and Messages windows 2024-09-24 16:31:17 +00:00
Margers
e1cb188157 FV In ListBox mouse scroll function as Key Up or Key Down 2024-09-24 16:31:17 +00:00
Margers
818e3ae6e5 FV TScroller and TEditor respond to mouse scroll 2024-09-24 16:31:17 +00:00
Margers
a67c85cb89 FV Drivers: change name for mouse scroll up/down 2024-09-24 16:31:17 +00:00