Commit Graph

70793 Commits

Author SHA1 Message Date
J. Gareth "Curious Kit" Moreton
d5c6286852 * x86: Bug fix in OptPass1MOV long-range optimisations where
the wrong register was checked to see if had changed.
2024-10-20 12:43:52 +00:00
Nikolay Nikolov
ab9c499650 + added unit System.Terminal.View.Video.PTC.KVM 2024-10-20 15:43:35 +03:00
florian
22ec4a2033 * mark symbols used in conditional compiling expressions using sizeof, resolves #40955 2024-10-20 14:37:09 +02: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
florian
00ae194e0a + add printing of all fields of tcallnode in TCallNode.XMLPrintNodeData as well 2024-10-20 11:23:11 +02:00
Nikolay Nikolov
bb218b2fb1 * fix memory leaks after ptckvm finalization 2024-10-20 10:49:55 +03:00
florian
b8a4a72760 * properly process all child nodes of call nodes in foreachnode, resolves #40957 2024-10-19 23:41:46 +02:00
florian
431d4395ea + print all sub nodes of call nodes 2024-10-19 23:41:46 +02:00
Michaël Van Canneyt
d79c12ad5b * Add GetMethod(name), patch by Lipinast Lekrisov, fixes issue #40953 2024-10-19 18:14:08 +02:00
florian
b2892adebf * do not set the addr taken flag for nodes to passed to const/var/out parameters, if
the code of the callee is known and within the callee no address of the parameters
    is taken
2024-10-19 15:15:51 +02:00
Nikolay Nikolov
37b7835b12 + added unit unix98pty. Only enabled for linux, for now, but can be enabled in the future on other unix-likes. 2024-10-19 16:11:25 +03: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
florian
c828615886 + enable strength reduction for -O3, probably an oversight for years that it was not included in -O3 2024-10-19 11:00:24 +02:00
florian
46dcffed42 * MIPS64: make use of DMTC1 instruction 2024-10-18 21:53:26 +02:00
J. Gareth "Curious Kit" Moreton
205e4f3421 * "checkcontinue" replaced with "has_child_of_type(..., [continuen])" 2024-10-18 18:26:48 +00:00
J. Gareth "Curious Kit" Moreton
9077954762 * "no_exit_statement_in_block" replaced with "not has_child_of_type(..., [exitn])" 2024-10-18 18:26:48 +00:00
J. Gareth "Curious Kit" Moreton
59ff8a0f65 * Node-stripping optimisation in "TBlockNode.simplify" now uses "has_child_of_type" to determine stop point 2024-10-18 18:26:48 +00:00
J. Gareth "Curious Kit" Moreton
a91c1ab627 * Added new node utility function to search for nodes of a specific type in a node tree 2024-10-18 18:26:48 +00:00
Sven/Sarah Barth
04b0dfc812 * fix typo in comment 2024-10-18 17:51:49 +02:00
Sven/Sarah Barth
e048266473 * fix #40259: global managed records with Initialize operator need to be initialized no matter if they are referenced in the current unit or not.
+ added test
2024-10-18 17:51:49 +02:00
Kirill Kranz
c883760ae7 removed setTile1 2024-10-18 17:40:56 +02:00
Kirill Kranz
c1f9d4998b added OBJPASUNIT dependency 2024-10-18 17:35:44 +02:00
Kirill Kranz
53df6927c5 removed unpreaty line endings / beginnings 2024-10-18 17:33:06 +02:00
Kirill Kranz
192b8a8bff fixes the psy-q-sdk dependencies 2024-10-18 16:59:07 +02:00
Kirill Kranz
7c56f544cf 2 packages excluded 2024-10-18 13:19:21 +02:00
Kirill Kranz
ccc6fa0ec6 psy-q-sdk bindings 2024-10-18 11:19:27 +02:00
florian
3d0cea88e9 + skeletons 2024-10-17 22:37:53 +02:00
Rika Ichinose
bb31f32941 Force shortcut boolean evaluation when rewriting length(Windows widestring) = 0. 2024-10-17 02:23:49 +03:00
florian
8e58bbea61 * set proper expectloc for dyn. array comparisons, resolves #40947 2024-10-16 22:39:47 +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
Rika Ichinose
d63b6294b5 Compile “length(string or array) = 0” as “pointer(string or array) = nil” without further check, unless really required.
Also handle length <> 0, > 0, < 0, >= 0, <= 0, assuming lengths are never negative.
2024-10-16 16:53:59 +03:00
Nikolay Nikolov
bdeb161d85 * ignore the -gl parameter (and print a warning) on the embedded targets 2024-10-16 15:46:34 +03:00
florian
32d0531c71 * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 2024-10-15 22:51:39 +02:00