Commit graph

1049 commits

Author SHA1 Message Date
Mirek Fidler
d16b2ab18a Draw: Fixed Color Emoji with FreeType 2021-12-12 16:36:17 +01:00
Mirek Fidler
22cf499432 upp.src: Various CHARSET_UNICODE->CHARSET_UTF8 changes, FT_fontsys fix, SDL2GL fix 2021-12-05 20:01:27 +01:00
Mirek Fidler
198e8114a6 CtrlCore: Ctrl::GetEventLevel 2021-12-05 10:03:47 +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
Mirek Fidler
638610092e Fixed problem in Ctrl::NotDrag 2021-11-05 17:43:06 +01:00
Mirek Fidler
7036a2c642 VirtulGui fixes 2021-09-10 17:54:28 +02:00
cxl
be2a2bba5d CtrlLib: LineEdit issue with underline fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@16020 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-10 13:53:34 +00:00
cxl
b9dfcc65be Core: string->integer conversions optimised
git-svn-id: svn://ultimatepp.org/upp/trunk@16000 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-22 07:04:20 +00:00
cxl
52403f0ff7 CtrlCore/CtrlLib: MacOS conditionals fixed to support Turtle
git-svn-id: svn://ultimatepp.org/upp/trunk@15996 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-15 10:34:04 +00:00
cxl
4a7f4ee66d Draw: ImageBuffer PaintOnceHint; gtk: Image rendering optimized to use PaintOnceHint, SetSurface optimized with create_image_surface_for_data
git-svn-id: svn://ultimatepp.org/upp/trunk@15977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-03 09:23:35 +00: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
87b78019a2 GridCtrl: WhenPasting (called before paste)
git-svn-id: svn://ultimatepp.org/upp/trunk@15959 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-24 15:00:35 +00:00
cxl
e0ef729411 CtrlCore: Ctrl::ClearModifyDeep fix (thanks Didier)
git-svn-id: svn://ultimatepp.org/upp/trunk@15951 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-15 07:28:52 +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
e4e867040c CtrlCore: Fixed encoding issue with Win32 clipboard text
git-svn-id: svn://ultimatepp.org/upp/trunk@15926 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-20 12:04:52 +00:00
cxl
a31ee1fd10 CtrlCore: GetMouseRight barrel support
git-svn-id: svn://ultimatepp.org/upp/trunk@15907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 08:23:47 +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
b8c65f9026 CtrlCotr: Mouse hold events fixed (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15903 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 07:52:16 +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
aaa116ebf6 CtrlCore: Pen fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@15898 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-07 17:58:20 +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
e83294f0a7 CtrlCore: Pen support
git-svn-id: svn://ultimatepp.org/upp/trunk@15896 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-04 21:40:39 +00:00
cxl
d15c477675 Pen support
git-svn-id: svn://ultimatepp.org/upp/trunk@15894 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-04 16:55:30 +00:00
cxl
b0ba61c847 CtrlCore: Another attempt at Pen integration
git-svn-id: svn://ultimatepp.org/upp/trunk@15891 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-02 09:42:01 +00:00
cxl
5f3d978442 CtrlCore: Pen processing completely separated from mouse
git-svn-id: svn://ultimatepp.org/upp/trunk@15884 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-30 09:59:09 +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
5fc28a7c7c CtrlCore: Win32 GetMouseCursor changed to hopefully support pen better
git-svn-id: svn://ultimatepp.org/upp/trunk@15874 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-28 11:14:33 +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
07a708bec6 Fixed TextDiffCtrl font issue
git-svn-id: svn://ultimatepp.org/upp/trunk@15869 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-26 11:45:52 +00:00
cxl
96ac08d914 CtrlCore: New Pen supposrt, CtrlLib: Fixed TabCtrl transparency issue, Draw: Improved Upscale2x
git-svn-id: svn://ultimatepp.org/upp/trunk@15867 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-25 18:57:34 +00:00
cxl
a5f628fe6d uppsrc: 2020->2021
git-svn-id: svn://ultimatepp.org/upp/trunk@15857 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-19 14:14:08 +00:00
cxl
5a634051e2 CtrlCore: Fixed issue in CtrlMouse.cpp (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15855 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-19 11:57:40 +00:00
cxl
ecce4c51ea GridCtrl: Removed Sql dependecy issue, CtrlCore: Win32 pen support improved, ide: NoConvertCharser for Host local process to fix the issue with svn history
git-svn-id: svn://ultimatepp.org/upp/trunk@15850 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-17 11:29:34 +00:00
cxl
833fe8e67f CtrlCore: Fixed window title issue
git-svn-id: svn://ultimatepp.org/upp/trunk@15849 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-15 10:57:32 +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
20df534903 CtrlCore: Window Ink support
git-svn-id: svn://ultimatepp.org/upp/trunk@15844 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 14:06:35 +00:00
cxl
32e61f83ce plugin/png: STATIC_PNG flag even for POSIX
git-svn-id: svn://ultimatepp.org/upp/trunk@15838 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-12 10:23:50 +00:00
cxl
349bd68e0e CtrlCore: Pen: Fixed typo
git-svn-id: svn://ultimatepp.org/upp/trunk@15829 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-09 12:46:49 +00:00
cxl
ec78441735 CtrlCore: Win7 pen fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15828 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-09 11:06:38 +00:00
cxl
b43185fc1e CtrlCore: Pen attributes (pressure etc..) support in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@15827 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-09 11:01:57 +00:00
cxl
5ab4810e73 CtrlCore: Fixed issue with Upp::t_
git-svn-id: svn://ultimatepp.org/upp/trunk@15822 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-07 10:16:39 +00:00
cxl
2d2ec310a7 Core: Added global t_, tt_ (to fix layout issue)
git-svn-id: svn://ultimatepp.org/upp/trunk@15819 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-07 09:11:00 +00:00
cxl
865117d602 CtrlCore: Fixed popup issue
git-svn-id: svn://ultimatepp.org/upp/trunk@15798 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-25 12:07:27 +00:00
cxl
d7ac9255eb uppsrc: Not using pkg-config in OSX
git-svn-id: svn://ultimatepp.org/upp/trunk@15745 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-07 17:29:35 +00:00
cxl
c296a73537 .docs
git-svn-id: svn://ultimatepp.org/upp/trunk@15744 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-07 09:39:53 +00:00
cxl
8fbfaead5a ide: bazaar removed, CtrlCore: X11 keycode patch (thanks Oblivion)
git-svn-id: svn://ultimatepp.org/upp/trunk@15743 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-07 09:25:29 +00:00
cxl
697f743842 uppsrc: MacOS 11.2 fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@15740 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-06 09:35:47 +00:00