Commit Graph

210 Commits

Author SHA1 Message Date
nickysn
77279fb5ef * use the current legacy console code page in Enhanced2Legacy
git-svn-id: branches/unicodekvm@48915 -
2021-03-08 17:34:36 +00:00
nickysn
c6bce8915f + implemented GetSupportedCodePageCount/GetSupportedCodePage for unicode consoles
git-svn-id: branches/unicodekvm@48913 -
2021-03-08 16:40:11 +00:00
nickysn
df95478d19 * wire up the code page functions to call the driver functions in case of a legacy driver
git-svn-id: branches/unicodekvm@48912 -
2021-03-08 15:22:11 +00:00
nickysn
a4db719eb4 + introduced legacy code page functions to the video driver itself (they can
optionally be implemented for operating systems with non-unicode consoles)

git-svn-id: branches/unicodekvm@48911 -
2021-03-08 15:12:20 +00:00
nickysn
14af3cb5cb + added checks for certain code pages that should not be allowed to be set in Video.ActivateCodePage
git-svn-id: branches/unicodekvm@48910 -
2021-03-08 15:00:37 +00:00
nickysn
2abcf62a95 + added functions for getting/setting the current code page, when using the
legacy (non-Unicode) video buffer

git-svn-id: branches/unicodekvm@48908 -
2021-03-08 14:30:06 +00:00
nickysn
af19d2a982 * fixed compilation under Linux
git-svn-id: branches/unicodekvm@48848 -
2021-03-01 13:30:12 +00:00
nickysn
87777ea10b + added graphemebreakproperty and eastasianwidth to the video unit uses clauses of all the remaining operating systems
git-svn-id: branches/unicodekvm@48824 -
2021-02-27 10:44:17 +00:00
nickysn
2181e7c61d + handle enhanced video buffer resizing
git-svn-id: branches/unicodekvm@48823 -
2021-02-27 10:39:26 +00:00
nickysn
b681e2cd7f - removed commented out code
git-svn-id: branches/unicodekvm@48822 -
2021-02-27 10:27:20 +00:00
nickysn
306cfa83e4 + also convert characters in the range #128..#255 in ExtendedGraphemeCluster2LegacyChar
git-svn-id: branches/unicodekvm@48821 -
2021-02-27 10:20:09 +00:00
nickysn
2f442ab6d0 + use a table convert_lowascii_to_Unicode to convert unicode to cp437 lowascii and vice versa
git-svn-id: branches/unicodekvm@48820 -
2021-02-27 09:55:24 +00:00
nickysn
3c3f43ac66 * convert unicode to the cp437 dingbats range (#0..#31,#127) in ExtendedGraphemeCluster2LegacyChar
git-svn-id: branches/unicodekvm@48819 -
2021-02-27 09:43:02 +00:00
nickysn
38ef18b4f4 * fixed compilation of the video unit on Windows
git-svn-id: branches/unicodekvm@48817 -
2021-02-27 08:19:58 +00:00
nickysn
c63534af48 * fixed handling of non-BMP characters in Video.ExtendedGraphemeClusterDisplayWidth
git-svn-id: branches/unicodekvm@48789 -
2021-02-22 06:30:39 +00:00
nickysn
c669b8ac83 + another double width rendering bugfix
git-svn-id: branches/unicodekvm@48782 -
2021-02-22 04:09:13 +00:00
nickysn
7b71eefbdf + bug fix in the rendering of double width characters
git-svn-id: branches/unicodekvm@48781 -
2021-02-22 03:58:10 +00:00
nickysn
ca1b315e27 * reset LastCharWasDoubleWidth in the beginning of every line
git-svn-id: branches/unicodekvm@48780 -
2021-02-22 03:48:38 +00:00
nickysn
4944e9296f + double width character support in the unix video unit
git-svn-id: branches/unicodekvm@48771 -
2021-02-21 22:04:09 +00:00
nickysn
cc643608a2 + introduced Video.ExtendedGraphemeClusterDisplayWidth
git-svn-id: branches/unicodekvm@48767 -
2021-02-21 21:46:50 +00:00
nickysn
fdfc40e86b + introduced video.StringDisplayWidth
git-svn-id: branches/unicodekvm@48761 -
2021-02-21 19:31:23 +00:00
nickysn
89c7ae42af + some fv unicode fixes for supporting complex (multi-char) enhanced grapheme clusters
git-svn-id: branches/unicodekvm@48731 -
2021-02-20 04:03:15 +00:00
nickysn
818d3f2f6c + initial attempt to switch the unix video unit to enhanced (unicode) mode. Only
UTF-8 is supported for now, and it's not yet implemented for Linux VCSA.

git-svn-id: branches/unicodekvm@48649 -
2021-02-11 10:22:07 +00:00
nickysn
834a6579d7 * LineBuf converted to dynarray (to avoid buffer overflow for too big consoles) and made global to avoid reallocating it on the heap on each screen update
git-svn-id: branches/unicodekvm@48537 -
2021-02-08 15:27:39 +00:00
nickysn
ec0fa8f46f - removed unused variables and types from Video.SysUpdateScreen
git-svn-id: branches/unicodekvm@48536 -
2021-02-08 14:26:52 +00:00
nickysn
6109c56066 - removed the cp850 code page mapping from the windows video unit (it is no longer used)
git-svn-id: branches/unicodekvm@48535 -
2021-02-08 14:20:29 +00:00
nickysn
4864aba47a - removed useunicodefunctions from the windows video unit
git-svn-id: branches/unicodekvm@48534 -
2021-02-08 14:13:40 +00:00
nickysn
11db30ab3d * use CP_OEMCP to convert characters in LegacyChar2ExtendedGraphemeCluster
git-svn-id: branches/unicodekvm@48533 -
2021-02-08 14:06:44 +00:00
nickysn
453bdaaafc * switched the windows video driver to use the enhanced (unicode) video buffer
git-svn-id: branches/unicodekvm@48532 -
2021-02-08 13:53:19 +00:00
nickysn
2746b0e035 + added operator = for comparison of TEnhancedVideoCell records
git-svn-id: branches/unicodekvm@48531 -
2021-02-08 13:52:39 +00:00
nickysn
d4913f490f * fixed off by one errors in the new video unit routines
git-svn-id: branches/unicodekvm@48527 -
2021-02-08 11:10:37 +00:00
nickysn
d5283cae7f + support both legacy and enhanced video buffers in Video.ClearScreen
git-svn-id: branches/unicodekvm@48487 -
2021-02-01 06:19:12 +00:00
nickysn
cb6ba25e1b * formatting
git-svn-id: branches/unicodekvm@48486 -
2021-02-01 06:11:32 +00:00
nickysn
ea3124ed4a + introduced initialization of the video unit in enhanced (Unicode) mode
git-svn-id: branches/unicodekvm@48484 -
2021-02-01 06:08:13 +00:00
nickysn
b13c8e3ef6 * use UnicodeString instead of WideString in TEnhancedVideoCell
git-svn-id: branches/unicodekvm@48482 -
2021-02-01 03:26:56 +00:00
nickysn
0d1fef96a1 + introduced OldEnhancedVideoBuf
git-svn-id: branches/unicodekvm@48468 -
2021-01-31 14:28:41 +00:00
nickysn
3f852e1444 + introduced TVideoDriver.InitEnhancedDriver
git-svn-id: branches/unicodekvm@48467 -
2021-01-31 14:26:33 +00:00
nickysn
f8320dff08 + added the EnhancedVideoBuf global variable to the video unit
git-svn-id: branches/unicodekvm@48466 -
2021-01-31 14:11:29 +00:00
nickysn
b8dfa1b8e6 + initial attempt at defining an enhanced video cell record for the Unicode support in the video unit
git-svn-id: branches/unicodekvm@48465 -
2021-01-31 13:57:46 +00:00
nickysn
20a6e682a9 * synchronized with trunk
git-svn-id: branches/unicodekvm@48450 -
2021-01-29 03:03:38 +00:00
marcus
17d6999726 Amiga: make the fullscreen video draggable, map Help Key to F20
git-svn-id: trunk@45590 -
2020-06-06 15:44:07 +00:00
marcus
571095773a Amiga: optimized video unit drawing
git-svn-id: trunk@45455 -
2020-05-21 10:33:17 +00:00
Károly Balogh
8b31df7067 rtl-console: fixed keypressed implementation in the Amiga VidCRT unit
git-svn-id: trunk@45318 -
2020-05-09 12:56:19 +00:00
marcus
95ced4a7f5 Amiga: special CRT unit (named vidcrt) based on video unit
git-svn-id: trunk@45197 -
2020-04-30 19:28:45 +00:00
marcus
c6b0195c5f Amiga: keyboard prevent double keys on GetKeyEvent, if called without PollKeyEvent
git-svn-id: trunk@45196 -
2020-04-30 19:14:51 +00:00
marcus
8aacea8850 Amiga: Video unit, do not draw Cursor if outside the window (would write over the window border)
git-svn-id: trunk@45161 -
2020-04-28 21:14:44 +00:00
marcus
86fa90b400 amiga: Crt, fixed cursor x and y position
git-svn-id: trunk@45114 -
2020-04-26 16:47:47 +00:00
marcus
a242199f8a Amiga: CRT unit, no sysutils use, prevent overlap of keys and size/caret messages
git-svn-id: trunk@43876 -
2020-01-06 19:00:31 +00:00
marcus
d7a2b75cb9 Amiga: CRT for OS4, Console Mask for OS3
git-svn-id: trunk@43854 -
2020-01-03 20:33:59 +00:00
marcus
db588d64a0 Amiga: CRT improvements, colors, raw mode as default
git-svn-id: trunk@43847 -
2020-01-02 20:36:55 +00:00