Commit graph

22 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
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
44037d6a0c 'Event' branch merged into trunk (Callback now deprecated)
git-svn-id: svn://ultimatepp.org/upp/trunk@10260 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:15:05 +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
51e089ba50 Some Callback parameters now are Function<void ()>
git-svn-id: svn://ultimatepp.org/upp/trunk@9945 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-15 18:23:44 +00:00
cxl
65f6c185d5 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7633 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-02 13:43:16 +00:00
cxl
890795697c uppsrc: Rainbow support for breaking event loop
git-svn-id: svn://ultimatepp.org/upp/trunk@5623 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-04 19:36:42 +00:00
cxl
2ffc340060 *CtrlCore: More finetuning of timer queue cornercases...
git-svn-id: svn://ultimatepp.org/upp/trunk@3304 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-24 07:58:49 +00:00
cxl
dd3f1f7d4b *CtrlCore: One more fix and refactoring of timer queue
git-svn-id: svn://ultimatepp.org/upp/trunk@3300 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-23 12:10:17 +00:00
cxl
7be059b6a0 *CtrlCore: Finetuning timer event queue cornercases
git-svn-id: svn://ultimatepp.org/upp/trunk@3292 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-21 09:41:11 +00:00
cxl
a7395c6838 *CtrlCore: TimerProc cornercase finetuning
git-svn-id: svn://ultimatepp.org/upp/trunk@3290 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-19 20:26:07 +00:00
cxl
820deb4334 *Ctrl: TimerProc implementation changed to reschedule repeated event AFTER executing callback to avoid recursion for long processing
git-svn-id: svn://ultimatepp.org/upp/trunk@3288 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-19 18:12:33 +00:00
cxl
5f80f3b00c *CtrlTimer
git-svn-id: svn://ultimatepp.org/upp/trunk@2567 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-07-25 07:27:58 +00:00
cxl
907ca39c54 SqlExp: IsSame (PGSQL, MySql) new equality test which is null safe (null == null yields true)
git-svn-id: svn://ultimatepp.org/upp/trunk@2566 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-07-24 21:01:24 +00:00
cxl
b30b8d049c CtrlCore: Ctrl::GetEventId
git-svn-id: svn://ultimatepp.org/upp/trunk@2425 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-05-27 13:57:48 +00:00
cxl
45599b5f26 CtrlCore: Massive fix of MT, Draw: Fixed DrawingDraw::Create for case when tehere are some data in DrawingDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1506 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-13 13:40:54 +00:00
cxl
03ed0ecc7d GuiSleep fixed to be Called in MT
git-svn-id: svn://ultimatepp.org/upp/trunk@1214 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-19 15:36:57 +00:00
cxl
72564d73ed CtrlCore minor fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1209 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-18 15:05:11 +00:00
cxl
f602160b8f Ctrl::Call fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1201 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-17 13:15:46 +00:00
cxl
f037798ca5 Win32: Ctrl::Call and non-main thread support for window creation / deletion and event loop
git-svn-id: svn://ultimatepp.org/upp/trunk@1200 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-17 12:51:16 +00:00
cxl
e9aeb0acb3 ODBC fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1065 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-04-16 18:37:37 +00:00
mdelfede
263ff5f895 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00