Commit graph

51 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
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
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
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
79506b97cf CtrlCore: Fixed issue with popups and click on disabled parent dialog
git-svn-id: svn://ultimatepp.org/upp/trunk@13946 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-27 14:47:21 +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
866f4da2c7 CtrlCore: Cocoa Fixed menu hotkeys
git-svn-id: svn://ultimatepp.org/upp/trunk@12618 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-12-14 08:49:25 +00:00
cxl
e0c407bc4e CtrlCore: Cocoa: Now using NSTrackingArea, focus and other bugs
git-svn-id: svn://ultimatepp.org/upp/trunk@12328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-10-02 15:40:41 +00:00
cxl
bc17571838 CtrlLib: Cocoa chameleon
git-svn-id: svn://ultimatepp.org/upp/trunk@12270 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-10 17:27:05 +00:00
cxl
bcd0b9c387 Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-25 16:02:20 +00:00
cxl
2fcdc61154 CtrlCore, CtrlLib, ide: Developing cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12135 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-02 13:03:12 +00:00
cxl
b283172b96 CtrlCore: Cocoa modifier keys support
git-svn-id: svn://ultimatepp.org/upp/trunk@12133 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-01 13:49:06 +00:00
cxl
2d0dc120d0 FileSel: Fixed issue with SELECTDIR
git-svn-id: svn://ultimatepp.org/upp/trunk@12108 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-28 09:09:58 +00:00
cxl
4eac0d251c .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12107 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-28 07:33:10 +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
6c3082da8f CtrlCore: Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12105 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-26 17:17:02 +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
535aa4349d .DLOGs
git-svn-id: svn://ultimatepp.org/upp/trunk@12097 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-24 16:34:56 +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
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
9cae108491 ide: Fixed issue with layout designer focus for Label on creation #1254
git-svn-id: svn://ultimatepp.org/upp/trunk@8902 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-06 12:30:55 +00:00
cxl
19d2116a26 CtrlCore, ide: DeactivateBy(Ctrl *), improved save on deactivate in ide
git-svn-id: svn://ultimatepp.org/upp/trunk@8482 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-05-28 18:05:59 +00:00
cxl
0fb04b603a Removed DLOGs
git-svn-id: svn://ultimatepp.org/upp/trunk@8129 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-03 09:22:17 +00:00
cxl
7b4f3c59c4 SqlCommander improved #412
git-svn-id: svn://ultimatepp.org/upp/trunk@8128 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-02 19:36:20 +00:00
cxl
c7b1dd376c CtrlCore: Added keys constants for the rest of keyboard (thanks Koldo) #925
git-svn-id: svn://ultimatepp.org/upp/trunk@7905 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-11-17 16:07:51 +00:00
cxl
d6de6d6672 ide: fixed some rect block issues
git-svn-id: svn://ultimatepp.org/upp/trunk@7492 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-07 10:28:20 +00:00
cxl
ba7ab3ed50 cpp11 branch merged back to to trunk
git-svn-id: svn://ultimatepp.org/upp/trunk@7047 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-16 16:33:48 +00:00
cxl
ad12d2dcbb Turtle: Fixed initial focus issue #677
git-svn-id: svn://ultimatepp.org/upp/trunk@6891 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-09 17:32:50 +00:00
cxl
8bbf551100 Fixed issue with Laydes Hotkeys #600
git-svn-id: svn://ultimatepp.org/upp/trunk@6752 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-01-11 10:33:41 +00:00
cxl
385ae22a06 Fixed issue with Gtk SyncFocus
git-svn-id: svn://ultimatepp.org/upp/trunk@6748 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-01-10 20:21:32 +00:00
cxl
a67d4ef172 *CtrlCore: Fixed popup focus issue in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@5307 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-09-02 14:52:34 +00:00
cxl
cac41a45bc *Core: Config->Ini
git-svn-id: svn://ultimatepp.org/upp/trunk@5098 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-07-03 07:47:35 +00:00
cxl
be52cd1bc5 Core, uppsrc: Logging refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@5093 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-07-02 15:23:59 +00:00
cxl
375edb5ba2 * ide: Fixed issue with missing caret after pressing Alt
git-svn-id: svn://ultimatepp.org/upp/trunk@4723 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-27 10:46:56 +00:00
cxl
1c0922cdf0 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3710 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-24 18:40:07 +00:00
cxl
79fceb3e83 .removing stray DLOGs
git-svn-id: svn://ultimatepp.org/upp/trunk@3679 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-19 18:37:29 +00:00
cxl
98aee28af9 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3671 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-18 15:02:19 +00:00
cxl
f97c82e1d7 Painter: Added Invert attribute, fixed issue with wrong clipping in subpixel mode
git-svn-id: svn://ultimatepp.org/upp/trunk@3600 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-03 16:32:31 +00:00
cxl
4f0940eb4a .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3515 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-12 18:50:13 +00:00
cxl
88778524b9 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3508 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-10 08:53:58 +00:00
cxl
04abfc6052 *SetFocus0 fix
git-svn-id: svn://ultimatepp.org/upp/trunk@3401 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-05-04 17:17:29 +00:00
cxl
28150bf977 CtrlCore: SetFocus0 active fix...
git-svn-id: svn://ultimatepp.org/upp/trunk@3389 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-05-01 17:43:08 +00:00
cxl
8f467d6568 CtrlLib: PopUpTable refactored to improve animation
git-svn-id: svn://ultimatepp.org/upp/trunk@3221 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-18 11:23:25 +00:00
cxl
2b36de158f .LOGs...
git-svn-id: svn://ultimatepp.org/upp/trunk@2329 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-04-21 08:28:27 +00:00
cxl
18d1fe707b *CtrlCore: Fixed issue with deadchar+space
git-svn-id: svn://ultimatepp.org/upp/trunk@2327 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-04-19 21:15:56 +00:00
cxl
144b13e4b9 CtrlLib: Fix in EditField Key
git-svn-id: svn://ultimatepp.org/upp/trunk@1739 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-07 21:56:55 +00:00
cxl
ec1ca78c6b CtrlCore: Ctrl::Lock MT in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@1192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-16 16:50:53 +00:00
cxl
53bda7f512 Some SystemDraw fixes, fixed another reason for key lag in theide
git-svn-id: svn://ultimatepp.org/upp/trunk@1160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-12 07:43:36 +00:00
cxl
f0082dec32 Changed a way how caret is painted in X11 - results in more snappy feeling
git-svn-id: svn://ultimatepp.org/upp/trunk@813 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-27 11:06:35 +00:00