Commit graph

67 commits

Author SHA1 Message Date
Mirek Fidler
4ede88be20 .removed DDUMPs 2022-03-02 22:04:15 +01:00
Mirek Fidler
21eebae3db Input Method support (Win32, MacOS, Linux) 2022-02-26 18:31:33 +01:00
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
07b19701ad CtrlCore: Gtk Refresh refactored to avoid excesive calls to Paint
git-svn-id: svn://ultimatepp.org/upp/trunk@15976 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-03 08:42:24 +00:00
cxl
c1a2d8196d CtrlCore: Pen events are no more compressed
git-svn-id: svn://ultimatepp.org/upp/trunk@15974 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-02 08:51:34 +00:00
cxl
2458666935 CtrlCore: gtk pen support now applies to TOUCHSCREEN too (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15939 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-01 08:15:25 +00:00
cxl
fd9d21d47e CtrlCore: Pen support in Gtk now conditional since 3.22
git-svn-id: svn://ultimatepp.org/upp/trunk@15928 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-21 07:05:16 +00:00
cxl
c2ca222d30 CtrlCore: Fixed issue with Triple mouse events in Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15906 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 08:14:37 +00:00
cxl
48afff1ba0 CtrlCore: Pen barrel support (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15901 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 07:04:00 +00:00
cxl
8a51ee94df CtrlCore: Pen support in Linux/Gtk
git-svn-id: svn://ultimatepp.org/upp/trunk@15897 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-05 10:46:11 +00:00
cxl
5ba975ba8a ide: GCC error handling improved
git-svn-id: svn://ultimatepp.org/upp/trunk@15881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-28 15:30:49 +00:00
cxl
948cb9241c CtrlCore: Pen support in linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15872 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-26 14:50:12 +00:00
cxl
26cb0bb284 CtrlCore: Pen support in Gtk
git-svn-id: svn://ultimatepp.org/upp/trunk@15870 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-26 13:55:11 +00:00
cxl
6f50fbf507 CtrlCore: Pen support in Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15846 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 18:16:22 +00:00
cxl
395b253250 CtrlCore: K_MOUSE_FORWARD / K_MOUSE_BACKWARD in gtk backend
git-svn-id: svn://ultimatepp.org/upp/trunk@15452 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-19 09:42:11 +00:00
cxl
f938957b6e CtrlCore: Fixed some ViewDraw/GTK issues, RichEdit: UHD fixes for image resizing handles
git-svn-id: svn://ultimatepp.org/upp/trunk@14321 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 12:41:42 +00:00
cxl
9a4525ad43 CtrlCore: Fixed warning
git-svn-id: svn://ultimatepp.org/upp/trunk@13910 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-17 10:43:35 +00:00
cxl
dc1fe5bace CtrlCore: gtk3 mt refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@13890 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-15 16:11:57 +00:00
cxl
389bc5421e CtrlLib: X11 ch
git-svn-id: svn://ultimatepp.org/upp/trunk@13878 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-14 09:26:57 +00:00
cxl
ede735a818 CtrlLib: Fixed issue with gtk3 common file selector icons
git-svn-id: svn://ultimatepp.org/upp/trunk@13874 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-13 10:53:08 +00:00
cxl
b96cd775e0 uppsrc: gtk3 replaces gtk2 as default linux backend
git-svn-id: svn://ultimatepp.org/upp/trunk@13848 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-10 09:18:10 +00:00
cxl
e0767795e1 CtrlCore: Fixed problem with popups and Alt+Tab (gtk)
git-svn-id: svn://ultimatepp.org/upp/trunk@13626 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-10-03 16:34:05 +00:00
cxl
25deff1aba ide: fixed to compile with CLANG
git-svn-id: svn://ultimatepp.org/upp/trunk@13487 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-11 21:59:43 +00:00
cxl
fa647184c1 ide: fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@13486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-11 21:33:21 +00:00
cxl
3c24ec2580 CtrlCore: Fixed mouseup-event issue in Drag and Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@13046 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-25 22:14:03 +00:00
cxl
62e62583f0 upp.src: Fixed various warnings (GCC 8.2)
git-svn-id: svn://ultimatepp.org/upp/trunk@12866 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-22 07:48:06 +00:00
cxl
6b43285e16 uppsrc: GetTickCount() -> msecs()
git-svn-id: svn://ultimatepp.org/upp/trunk@12590 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-29 13:01:23 +00:00
cxl
d8aebeb694 CtrlCore: Cocoa standard cursors
git-svn-id: svn://ultimatepp.org/upp/trunk@12099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-24 17:43:12 +00:00
cxl
507da5a976 CtrlCore: Developing Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12096 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-24 14:57:38 +00:00
cxl
211388ba36 CtrlCore: Another attempt at solving touchscreen issue
git-svn-id: svn://ultimatepp.org/upp/trunk@11801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-27 08:13:42 +00:00
cxl
b42b1be6e6 Gtk: Attempt at fixing issue with touchscreen MouseMove
git-svn-id: svn://ultimatepp.org/upp/trunk@11795 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-23 18:30:00 +00:00
cxl
c72ca7dee8 CtrlCore: Fixed issue with Ctrl+Shift+1 in GTK
git-svn-id: svn://ultimatepp.org/upp/trunk@11732 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-27 09:31:43 +00:00
cxl
c74642af20 CtrlCore: Improved behaviour of maximaze/close/reopen, now in GTK
git-svn-id: svn://ultimatepp.org/upp/trunk@11226 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-07-12 08:19:04 +00:00
cxl
ce536c5d2f .removed stray DLOG
git-svn-id: svn://ultimatepp.org/upp/trunk@10892 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-01 14:15:18 +00:00
cxl
17edf29f87 CtrlCore: Fixed issue with DisplayPopUp and DnD
git-svn-id: svn://ultimatepp.org/upp/trunk@10886 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-28 09:41:34 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
2e381aa4c6 CtrlLib: Fixed to compile in Posix
git-svn-id: svn://ultimatepp.org/upp/trunk@9907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-07 12:48:12 +00:00
cxl
e3bf1c0133 KDE 5 fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@9895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-30 05:52:03 +00:00
cxl
48f2716a4e One more russian keyboard fix...
git-svn-id: svn://ultimatepp.org/upp/trunk@9617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-20 17:40:25 +00:00
cxl
ddb206071b CtrlCore: GTK keyboard issue with non-latin keyboards
git-svn-id: svn://ultimatepp.org/upp/trunk@9615 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-20 09:08:51 +00:00
cxl
20a9dd15b6 Fixed issue with Ctrl+C and cyrrilic keyboard
git-svn-id: svn://ultimatepp.org/upp/trunk@9614 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-19 13:01:47 +00:00
cxl
6e006161e9 CtrlCore: Improved GTK SystemDraw::IsPainting
git-svn-id: svn://ultimatepp.org/upp/trunk@9179 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-11 23:51:31 +00:00
cxl
1cd90e3dea CtrlCore: gtk: fixed issue with popup mouse events #1027
git-svn-id: svn://ultimatepp.org/upp/trunk@9075 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-24 17:42:45 +00:00
cxl
00b5aa3b0c CtrlCore: More MT asserts, ide: icons
git-svn-id: svn://ultimatepp.org/upp/trunk@8227 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-03-01 15:43:25 +00:00
cxl
867b904ed0 Fixed issue with popup deactivation in Unity #780
git-svn-id: svn://ultimatepp.org/upp/trunk@8196 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-23 13:59:59 +00:00
cxl
ba4786e04f .removed DDUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@6944 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-21 16:57:02 +00:00
cxl
628d7051d6 CtrlCore: Removed gtk console errors
git-svn-id: svn://ultimatepp.org/upp/trunk@6943 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-21 16:28:58 +00:00
cxl
136edba044 CtrlCore: GTK leave notify #656 (thanks Zbigniew)
git-svn-id: svn://ultimatepp.org/upp/trunk@6924 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-16 14:40:58 +00:00
cxl
58db11669e CtrlCore: Caret fixed in GTK mode for older GTK versions
git-svn-id: svn://ultimatepp.org/upp/trunk@6863 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-04 07:43:13 +00:00
cxl
74c1dd05e4 CtrlCore: Fixed GTK issue with modifier keys
git-svn-id: svn://ultimatepp.org/upp/trunk@6753 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-01-11 10:59:14 +00:00