Commit graph

185 commits

Author SHA1 Message Date
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
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
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
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
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
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
a01614cb42 ide: cosmetics, GridCtrl: Selection refactored to follow spreadsheet model
git-svn-id: svn://ultimatepp.org/upp/trunk@15558 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-12-01 13:03:42 +00:00
cxl
a5a3b685f6 CtrlCore: for(Ctrl& q : widget) now possible
git-svn-id: svn://ultimatepp.org/upp/trunk@15470 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-20 09:36:17 +00:00
cxl
896d3a6876 CtrlCore: Mouse forward/backward buttons support in Win32 (K_MOUSE_FORWARD, K_MOUSE_BACKWARD)
git-svn-id: svn://ultimatepp.org/upp/trunk@15451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-19 09:28:01 +00:00
cxl
d2967e13f1 uppsrc: In preparation to move to 64 bit hash codes, hash code type is now hash_t (replaces unsigned, dword)
git-svn-id: svn://ultimatepp.org/upp/trunk@14521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-31 16:13:28 +00:00
cxl
0af98b4d73 CtrlCore: RectTracker improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-12 13:30:54 +00:00
cxl
85702ae3b9 CtrlCore: gtk3 DrawImage optimization, DragRect cleanup
git-svn-id: svn://ultimatepp.org/upp/trunk@14345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-21 16:24:39 +00:00
cxl
0e9328d1de CtrlCore: Refactoring RectTracker to avoid using ViewDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@14320 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 12:17:41 +00:00
cxl
15b5955449 CtrlCore: MacOS theoretical TopFrameDraw implementation (does not work because of MacOS issue)
git-svn-id: svn://ultimatepp.org/upp/trunk@14318 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 20:32:48 +00:00
cxl
5760700aee CtrlCore: ViewDraw with Rect parameter in X11 and Gtk3 backends
git-svn-id: svn://ultimatepp.org/upp/trunk@14316 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 16:21:10 +00:00
cxl
240cb33e59 CtrlCore: Fixed issue with default skin
git-svn-id: svn://ultimatepp.org/upp/trunk@14312 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 11:38:25 +00:00
cxl
5ab308359d debugger improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14187 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-25 14:46:09 +00:00
cxl
e137b53a2d CtrlCore, CtrlLib: Modify flag refactored, dark mode improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-14 08:55:57 +00:00
cxl
58e0fdebaf uppsrc: docs & removed #ifdef MTs
git-svn-id: svn://ultimatepp.org/upp/trunk@13925 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-21 10:05:16 +00:00
cxl
07fd025eef CtrlCore: Fixed scaling of DnD drag icon
git-svn-id: svn://ultimatepp.org/upp/trunk@13894 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-15 20:07:33 +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
f60df0f17a ide: PDB tree now showing pointer arrays
git-svn-id: svn://ultimatepp.org/upp/trunk@13761 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-12-13 17:53:59 +00:00
cxl
d291b62c35 CtrlCore: Ctrl::GetAscendant
git-svn-id: svn://ultimatepp.org/upp/trunk@13756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-12-12 13:07:50 +00:00
cxl
b769743e04 CtrlCore: Gtk GUI_APP_MAIN now correctly handles exceptions
git-svn-id: svn://ultimatepp.org/upp/trunk@13534 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-08-12 15:03:01 +00:00
cxl
822cfb6bce uppsrc: Removed flagSO #ifdefs (actually to make SO compilation possible)
git-svn-id: svn://ultimatepp.org/upp/trunk@12997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-14 08:34:13 +00:00
cxl
e3b1883cc7 CtrlCore: IsDarkThemeEnabled flag
git-svn-id: svn://ultimatepp.org/upp/trunk@12913 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-29 08:53:32 +00:00
cxl
3e4d44a2d8 CtrlCore: WriteClipboardHTML (thanks omari)
git-svn-id: svn://ultimatepp.org/upp/trunk@12846 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-17 09:49:35 +00:00
cxl
82dcb5dbf6 CtrlCore: Fixed minimal layout size issue
git-svn-id: svn://ultimatepp.org/upp/trunk@12719 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-27 10:59:51 +00:00
cxl
d87f3accaa CtrlCore: Fixed DHCtrl related Refresh issue, CtrlLib: Fixed margin issue in RichTextView
git-svn-id: svn://ultimatepp.org/upp/trunk@12429 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-10-30 11:27:00 +00:00
cxl
6f46e77458 CtrlCore: Cocoa Drag&Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@12315 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-27 13:58:15 +00:00
cxl
0721363b14 CtrlCore: Developing Drag&Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@12306 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-26 18:56:05 +00:00
cxl
35b91dd817 CtrlCore: Cocoa clipboard
git-svn-id: svn://ultimatepp.org/upp/trunk@12295 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-21 17:46:18 +00:00
cxl
0858cff377 CtrlCore: Zxf, InvZx[f], HeaderCtrl: UHD support, IconDes: UHD tweaks, ide: UHD tweaks
git-svn-id: svn://ultimatepp.org/upp/trunk@12254 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-06 14:06:45 +00:00
cxl
f17e244453 CtrlCore: GuiUnlock now class (n private)
git-svn-id: svn://ultimatepp.org/upp/trunk@12200 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-27 15:58:25 +00:00
cxl
937d00fcc2 CtrlCore: GuiUnLock -> GuiUnlock
git-svn-id: svn://ultimatepp.org/upp/trunk@12199 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-27 14:30:15 +00:00
cxl
1ec5a3378d CtrlCore: GuiUnLock
git-svn-id: svn://ultimatepp.org/upp/trunk@12198 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-27 08:00:02 +00:00
cxl
283790d2e9 CtrlCore: GUI_APP_MAIN_HOOK
git-svn-id: svn://ultimatepp.org/upp/trunk@12161 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-11 17:53:47 +00:00
cxl
c69801def3 CtrlCore: Developing Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-27 17:37:42 +00:00
cxl
fce079d34b CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12100 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-25 13:22:27 +00:00
cxl
dc5b70a336 CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12088 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-21 17:14:40 +00:00
cxl
0f165c8214 CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12076 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-16 13:07:47 +00:00
cxl
a7a271b1fa . Core: macos config
git-svn-id: svn://ultimatepp.org/upp/trunk@12071 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-16 09:32:39 +00:00
cxl
8cb14d4c9a VirtualGui docs
git-svn-id: svn://ultimatepp.org/upp/trunk@11916 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-26 13:47:30 +00:00
cxl
33565baa3a VirtualGui, fixed issue with Splitter and Frame widgets
git-svn-id: svn://ultimatepp.org/upp/trunk@11914 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-25 17:26:13 +00:00
cxl
a84c7374ab CtrlCore: TryEnterGuiMutex
git-svn-id: svn://ultimatepp.org/upp/trunk@11908 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-23 16:02:09 +00:00
cxl
9e38d118cf CtrlCore, CtrlLib: Tootips and Display popups now can be disabled (app-wide)
git-svn-id: svn://ultimatepp.org/upp/trunk@11551 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-12-12 22:55:13 +00:00
cxl
7c02a3c01c CtrlLib: MenuBar now resilient to destroying menu while invoked menuitem event is running
git-svn-id: svn://ultimatepp.org/upp/trunk@11457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-12 22:51:50 +00:00
cxl
a55ada8b6e CtrlLib: Fixed issue in ToolBar optimisation
git-svn-id: svn://ultimatepp.org/upp/trunk@11045 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-01 10:08:08 +00:00