Commit Graph

361 Commits

Author SHA1 Message Date
nickysn
ddd87e09ff * fixed double width character at the end of TInputLine covering the right
scroll arrow

git-svn-id: branches/unicodekvm@48811 -
2021-02-26 13:32:11 +00:00
nickysn
fe312ab99f + wide and combining character support in TInputLine.HandleEvent.MousePos. This
means cursor positioning and text selection with the mouse now works properly
  with these special unicode characters

git-svn-id: branches/unicodekvm@48810 -
2021-02-26 12:15:01 +00:00
nickysn
3dfefc25ef + unicode combining and wide character support in TInputLine.Draw
git-svn-id: branches/unicodekvm@48797 -
2021-02-24 06:54:54 +00:00
nickysn
1c9fb8ec7d + wide and combining character support when determining the cursor position in TInputLine
git-svn-id: branches/unicodekvm@48796 -
2021-02-24 06:38:29 +00:00
nickysn
fe7324a04c + TInputLine unicode keyboard text input fixed
git-svn-id: branches/unicodekvm@48788 -
2021-02-22 04:31:03 +00:00
nickysn
de770cf1be + enable PInputLine in the unicode demo
git-svn-id: branches/unicodekvm@48787 -
2021-02-22 04:23:56 +00:00
nickysn
028c062192 + added horizontal scrollbar to the demo
git-svn-id: branches/unicodekvm@48786 -
2021-02-22 04:22:48 +00:00
nickysn
6bef792f33 + unicode fixes in TCluster.DrawMultiBox
git-svn-id: branches/unicodekvm@48785 -
2021-02-22 04:21:34 +00:00
nickysn
ea0213810b + use different languages in the list box
git-svn-id: branches/unicodekvm@48784 -
2021-02-22 04:18:05 +00:00
nickysn
46586902f4 + added scrollbar and listbox to the unicode example
git-svn-id: branches/unicodekvm@48783 -
2021-02-22 04:14:14 +00:00
nickysn
f9cfc0aeb4 + button test
git-svn-id: branches/unicodekvm@48779 -
2021-02-22 03:33:48 +00:00
nickysn
d4be82e879 + unicode fixes for the window title
git-svn-id: branches/unicodekvm@48778 -
2021-02-22 03:23:10 +00:00
nickysn
2ecca003dd + test dialog box
git-svn-id: branches/unicodekvm@48777 -
2021-02-22 03:03:34 +00:00
nickysn
646ddb8217 + Unicode aware implementation of TStaticText.Draw
git-svn-id: branches/unicodekvm@48776 -
2021-02-22 02:08:08 +00:00
nickysn
b6d2c6ccb7 + unicode fixes in TMenuBox.Draw
git-svn-id: branches/unicodekvm@48775 -
2021-02-21 23:31:28 +00:00
nickysn
75e42870ae + implement TView.TextWidth and TView.CTextWidth via StrWidth and CStrLen
git-svn-id: branches/unicodekvm@48774 -
2021-02-21 23:21:18 +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
e539696f29 + use Video.ExtendedGraphemeClusterDisplayWidth to support double width characters in MoveStr and MoveCStr
git-svn-id: branches/unicodekvm@48770 -
2021-02-21 21:54:08 +00:00
nickysn
17f7cb0e45 - removed no longer used local variable
git-svn-id: branches/unicodekvm@48769 -
2021-02-21 21:48:32 +00:00
nickysn
59a60856dc + use Video.ExtendedGraphemeClusterDisplayWidth in UDriver.CStrLen in order to support wide characters
git-svn-id: branches/unicodekvm@48768 -
2021-02-21 21:48:10 +00:00
nickysn
8751e98339 + use Video.StringDisplayWidth in UDrivers.StrWidth
git-svn-id: branches/unicodekvm@48766 -
2021-02-21 21:42:47 +00:00
nickysn
1bedcef063 - more ifdefs removed by the use of Sw_NewStr
git-svn-id: branches/unicodekvm@48749 -
2021-02-21 06:57:54 +00:00
nickysn
700b30851e - cleaned more ifdefs
git-svn-id: branches/unicodekvm@48748 -
2021-02-21 06:53:50 +00:00
nickysn
91167f41a6 - cleaned up more ifdefs
git-svn-id: branches/unicodekvm@48747 -
2021-02-21 06:50:04 +00:00
nickysn
febcfc8d20 - removed ifdefs from TMenuView.GetHelpCtx
git-svn-id: branches/unicodekvm@48746 -
2021-02-21 06:46:20 +00:00
nickysn
60a7eac72b - cleanup ifdefs from TMenuView.Execute
git-svn-id: branches/unicodekvm@48745 -
2021-02-21 06:45:48 +00:00
nickysn
9b419b800a - removed one ifdef from TMenuView.Load
git-svn-id: branches/unicodekvm@48744 -
2021-02-21 06:44:16 +00:00
nickysn
83e492235e * use Sw_PString in TStatusItem to avoid an ifdef
git-svn-id: branches/unicodekvm@48743 -
2021-02-21 06:42:55 +00:00
nickysn
1bc06ec276 * use SW_PString in TMenuItem to avoid an ifdef
git-svn-id: branches/unicodekvm@48742 -
2021-02-21 06:42:12 +00:00
nickysn
fb7fdfaae4 - removed an ifdef from DisposeMenu
git-svn-id: branches/unicodekvm@48741 -
2021-02-21 06:40:37 +00:00
nickysn
c271a71060 - removed ifdefs from TStatusLine.HandleEvent
git-svn-id: branches/unicodekvm@48740 -
2021-02-21 06:38:06 +00:00
nickysn
0d171d91ae - reduced the number of ifdefs in TStatusLine.DrawSelect
git-svn-id: branches/unicodekvm@48739 -
2021-02-21 06:36:42 +00:00
nickysn
1b27a955fa * updated unicode example string
git-svn-id: branches/unicodekvm@48738 -
2021-02-21 06:31:00 +00:00
nickysn
f04d87bc3d * fixed reference count bug in the unicode version of TView.do_writeViewRec1
git-svn-id: branches/unicodekvm@48736 -
2021-02-21 06:26:22 +00:00
nickysn
8ed768d486 - disable optimizations to ease debugging
git-svn-id: branches/unicodekvm@48735 -
2021-02-21 01:10:46 +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
545dd0353b + use the enhanced grapheme cluster enumerator in UDrivers.MoveCStr and MoveStr
git-svn-id: branches/unicodekvm@48730 -
2021-02-20 01:56:11 +00:00
nickysn
e583ba6cfa + implemented StrWidth and CStrLen, using the new extended grapheme cluster string enumerator
git-svn-id: branches/unicodekvm@48729 -
2021-02-20 01:46:42 +00:00
nickysn
a202b86f37 + added rtl-unicode as dependency for the fv unit
git-svn-id: branches/unicodekvm@48728 -
2021-02-20 01:38:49 +00:00
nickysn
a7e63b66ae + introduced StrWidth
git-svn-id: branches/unicodekvm@48713 -
2021-02-18 21:10:39 +00:00
nickysn
3799569da0 * synchronized with trunk
git-svn-id: branches/unicodekvm@48655 -
2021-02-12 01:55:05 +00:00
nickysn
8dc55d8294 + unicode fix in TDesktop.InitBackground
git-svn-id: branches/unicodekvm@48648 -
2021-02-10 23:53:02 +00:00
nickysn
6c0491f7c2 + test unicode app added
git-svn-id: branches/unicodekvm@48647 -
2021-02-10 23:11:09 +00:00
nickysn
c0482743af + more unicode fixes; the unicode units uapp, udialogs, umsgbox and uvalidate now compile
git-svn-id: branches/unicodekvm@48646 -
2021-02-10 22:48:50 +00:00
nickysn
b8a2c613e3 * unicode fix
git-svn-id: branches/unicodekvm@48645 -
2021-02-10 22:41:16 +00:00
nickysn
b240b78c9f + more unicode fixes
git-svn-id: branches/unicodekvm@48644 -
2021-02-10 22:39:36 +00:00
nickysn
9c4d842a6f + more unicode fixes
git-svn-id: branches/unicodekvm@48643 -
2021-02-10 22:32:51 +00:00
nickysn
d96b84cf1f + unicode fixes
git-svn-id: branches/unicodekvm@48642 -
2021-02-10 22:22:26 +00:00
nickysn
5843d66a38 + unicode fix
git-svn-id: branches/unicodekvm@48641 -
2021-02-10 22:17:27 +00:00
nickysn
2ac661f63e + unicode fixes
git-svn-id: branches/unicodekvm@48640 -
2021-02-10 22:14:20 +00:00
nickysn
98f4256713 + more unicode fixes
git-svn-id: branches/unicodekvm@48639 -
2021-02-10 22:13:00 +00:00
nickysn
c466caa0c8 + unicode fixes
git-svn-id: branches/unicodekvm@48637 -
2021-02-10 21:54:37 +00:00
nickysn
5d3d64b340 + unicode fix
git-svn-id: branches/unicodekvm@48636 -
2021-02-10 21:49:31 +00:00
nickysn
6cbf84eca6 * more unicode fixes
git-svn-id: branches/unicodekvm@48635 -
2021-02-10 21:48:54 +00:00
nickysn
af4d301af9 + unicode fixes in TCluster.DrawMultiBox
git-svn-id: branches/unicodekvm@48634 -
2021-02-10 21:44:19 +00:00
nickysn
1c9c84d01e * use a TUnicodeStringCollection in TCluster
git-svn-id: branches/unicodekvm@48633 -
2021-02-10 21:36:56 +00:00
nickysn
7da5856dbd * unicode fixes
git-svn-id: branches/unicodekvm@48627 -
2021-02-10 17:55:36 +00:00
nickysn
b8baf3bb85 + unicode fixes
git-svn-id: branches/unicodekvm@48626 -
2021-02-10 17:51:56 +00:00
nickysn
8a0a97576a * unicode fixes
git-svn-id: branches/unicodekvm@48625 -
2021-02-10 17:41:25 +00:00
nickysn
057b786fbd * unicode bugfixes
git-svn-id: branches/unicodekvm@48624 -
2021-02-10 17:37:21 +00:00
nickysn
55337def9a * more unicode fixes
git-svn-id: branches/unicodekvm@48623 -
2021-02-10 17:35:43 +00:00
nickysn
be726fdd09 * more unicode fixes
git-svn-id: branches/unicodekvm@48622 -
2021-02-10 17:30:17 +00:00
nickysn
829404a957 * more unicode fixes
git-svn-id: branches/unicodekvm@48621 -
2021-02-10 17:25:53 +00:00
nickysn
d41d6de6ec + more unicode fixes in the dialogs unit
git-svn-id: branches/unicodekvm@48620 -
2021-02-10 17:11:02 +00:00
nickysn
f64bd5c079 * unicode fixes in TInputLine.Valid
git-svn-id: branches/unicodekvm@48619 -
2021-02-10 16:43:47 +00:00
nickysn
1a643e250a * unicode fixes in TInputLine.DataSize
git-svn-id: branches/unicodekvm@48618 -
2021-02-10 16:28:54 +00:00
nickysn
5013e7039a * more unicode fixes in the udialogs unit
git-svn-id: branches/unicodekvm@48617 -
2021-02-10 16:27:23 +00:00
nickysn
1d0ec1b966 * unicode fix in TInputLine.Init
git-svn-id: branches/unicodekvm@48616 -
2021-02-10 16:17:56 +00:00
nickysn
6e845e397f * unicode fix in TDialog.NewLabel
git-svn-id: branches/unicodekvm@48615 -
2021-02-10 16:15:33 +00:00
nickysn
d5ef64fb91 * unicode fix in TDialog.ChangeTitle
git-svn-id: branches/unicodekvm@48614 -
2021-02-10 16:11:55 +00:00
nickysn
25cf57b085 * unicode conversion of the msgbox unit implementation, as well as the FormatStr function
git-svn-id: branches/unicodekvm@48613 -
2021-02-10 16:10:14 +00:00
nickysn
f0adf5d612 * unicode fixes in the implementation part of the uapp unit
git-svn-id: branches/unicodekvm@48612 -
2021-02-10 15:28:44 +00:00
nickysn
7cf1d227fb * unicode fixes in the implementation of the TBackGround object
git-svn-id: branches/unicodekvm@48611 -
2021-02-10 14:57:38 +00:00
nickysn
0d844aaa41 + introduced Sw_ExtendedGraphemeCluster
git-svn-id: branches/unicodekvm@48610 -
2021-02-10 14:41:11 +00:00
nickysn
5b5f6b7158 + use unit (u)fvcommon in (u)msgbox
git-svn-id: branches/unicodekvm@48609 -
2021-02-10 14:33:20 +00:00
nickysn
4d7538a0da * umsgbox unit interface unicode conversion
git-svn-id: branches/unicodekvm@48608 -
2021-02-10 14:29:34 +00:00
nickysn
ddd2621688 * more dialogs unit unicode conversion
git-svn-id: branches/unicodekvm@48607 -
2021-02-10 14:23:48 +00:00
nickysn
5e9ba29d89 + introduced type Sw_PString
git-svn-id: branches/unicodekvm@48605 -
2021-02-10 14:13:27 +00:00
nickysn
297e9881c6 * some interface unit compilation fixes in the udialogs unit
git-svn-id: branches/unicodekvm@48604 -
2021-02-10 14:10:28 +00:00
nickysn
2cfab10cb1 + use Sw_String in unit histlist/uhistlist to reduce the number of ifdefs
git-svn-id: branches/unicodekvm@48603 -
2021-02-10 14:05:40 +00:00
nickysn
5dae243ffd + use Sw_String in unit menus/umenus to reduce the number of ifdefs
git-svn-id: branches/unicodekvm@48602 -
2021-02-10 14:03:08 +00:00
nickysn
ddde3628ba - reduced number of ifdefs by using sw_string in unit views/uviews
git-svn-id: branches/unicodekvm@48601 -
2021-02-10 13:55:04 +00:00
nickysn
79aac426fd * use ufvcommon in udialogs
git-svn-id: branches/unicodekvm@48600 -
2021-02-10 13:46:42 +00:00
nickysn
a9a0dfeae3 * use ufvcommon in unit uapp
git-svn-id: branches/unicodekvm@48599 -
2021-02-10 13:45:35 +00:00
nickysn
f5005e4646 * use ufvcommon in uhistlist
git-svn-id: branches/unicodekvm@48598 -
2021-02-10 13:44:05 +00:00
nickysn
88e960cd00 * use ufvcommon in uviews
git-svn-id: branches/unicodekvm@48597 -
2021-02-10 13:42:02 +00:00
nickysn
047b435131 * replaced fvstring with sw_string in validate.inc
git-svn-id: branches/unicodekvm@48596 -
2021-02-10 13:40:15 +00:00
nickysn
1ffb6c6fdf * use ufvcommon in unit uvalidate
git-svn-id: branches/unicodekvm@48595 -
2021-02-10 13:38:44 +00:00
nickysn
cb6a66fed0 * fvstring replaced with sw_string in the drivers/udrivers unit
git-svn-id: branches/unicodekvm@48594 -
2021-02-10 13:37:21 +00:00
nickysn
90b422b2d4 + introduced Sw_String
git-svn-id: branches/unicodekvm@48593 -
2021-02-10 13:35:11 +00:00
nickysn
29dfb6131e + ufvcommon unit
git-svn-id: branches/unicodekvm@48592 -
2021-02-10 13:32:24 +00:00
nickysn
e60b41f2ab + fvcommon.inc include dependency
git-svn-id: branches/unicodekvm@48591 -
2021-02-10 13:30:38 +00:00
nickysn
78862011b2 + fvcommon.pas that includes fvcommon.inc
git-svn-id: branches/unicodekvm@48590 -
2021-02-10 13:29:56 +00:00
nickysn
e1da44c219 * fvcommon.pas renamed fvcommon.inc
git-svn-id: branches/unicodekvm@48589 -
2021-02-10 13:29:12 +00:00
nickysn
92334d86df * use FVString in the interface part of the validate unit
git-svn-id: branches/unicodekvm@48588 -
2021-02-10 13:28:33 +00:00
nickysn
d659c731d8 + introduced the FVString type
git-svn-id: branches/unicodekvm@48587 -
2021-02-10 13:20:21 +00:00
nickysn
0fe68e7c9e * updated the uses clauses of the unicode versions of the app, dialogs, msgbox
and validate units to use only unicode units in their uses clause

git-svn-id: branches/unicodekvm@48586 -
2021-02-10 12:47:48 +00:00
nickysn
d373397f30 + added unicode versions of the app, dialogs, msgbox and validate units (unicode conversion not completed yet)
git-svn-id: branches/unicodekvm@48585 -
2021-02-10 12:41:59 +00:00
nickysn
3fd5f452cd + added .inc dependencies in fpmake.pp for units app, dialogs, msgbox and validate
git-svn-id: branches/unicodekvm@48584 -
2021-02-10 12:28:31 +00:00
nickysn
0172420df7 + added .pas files that include their respective .inc files for the units app, dialogs, msgbox and validate
git-svn-id: branches/unicodekvm@48583 -
2021-02-10 12:27:14 +00:00