Commit graph

63 commits

Author SHA1 Message Date
Mirek Fidler
0c4992feea QHD reverted 2026-04-18 10:16:13 +02:00
Mirek Fidler
563b33de49 QHD fixed 2026-04-04 13:50:56 +02:00
Mirek Fidler
c1bdeb56c9 RichText: New 'no color emoji' flag M in QTF, Draw: fixed problems with NoColor fonts in X11/Gtk 2026-01-14 14:08:56 +01:00
Mirek Fidler
22f3d3507a Draw, CtrlLib: Font NoColor and RichTextView MonoGlyphs disables replacing glyphs with color variants 2025-08-09 08:01:08 +02:00
Mirek Fidler
1f675b5c32 CtrlLib, Draw: GetStdFontCyA returns height including bold/italic variants, ArrayCtrl/DropList are now using this to avoid DisplayPopup for AttrText().Bold() (on MacOS, Bold standard text has 1 more pixel than normal) 2025-02-18 02:00:35 +01:00
Mirek Fidler
97bc27d7e1 Core: One more fix of addc64 2021-12-28 10:34:28 +01:00
Mirek Fidler
ee220a64aa Draw: Color Emoji now prefered as replacement 2021-12-28 10:14:11 +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
d55f46cbe8 ide: Fixed performance issue with .log highlighting
git-svn-id: svn://ultimatepp.org/upp/trunk@14552 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-05 09:53:29 +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
945a40c24f .docs, MINGW tls patch removed
git-svn-id: svn://ultimatepp.org/upp/trunk@14420 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-01 17:02:25 +00:00
cxl
c86fc82c99 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14075 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-24 17:50:56 +00:00
cxl
0f8135ea77 Draw: GetStdFontCy now obtained from non-bold font
git-svn-id: svn://ultimatepp.org/upp/trunk@14026 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-17 14:00:02 +00:00
cxl
bbca078611 Draw: Font metrics optimised for mingw (using FastMingwTls)
git-svn-id: svn://ultimatepp.org/upp/trunk@13414 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-18 08:08:53 +00:00
cxl
48eb19fff1 uppsrc: thread__ -> thread_local
git-svn-id: svn://ultimatepp.org/upp/trunk@13388 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-13 09:00:26 +00:00
cxl
277bd68665 CtrlCore: Win32 DrawTextOp MT fix
git-svn-id: svn://ultimatepp.org/upp/trunk@12672 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-16 10:58:37 +00:00
cxl
607d7d6e97 Draw: RenderCharSys in Win32 now returns unhinted fonts
git-svn-id: svn://ultimatepp.org/upp/trunk@12670 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-15 15:24:16 +00:00
cxl
5a44eeb5a7 CtrlCore: Cocoa font features (RenderCharSys, GetData), Draw: Font caching optimized, Core: FoldHash function
git-svn-id: svn://ultimatepp.org/upp/trunk@12177 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-21 12:42:55 +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
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
8b35038cd1 CtrlCore: UHD/X11 fixed #1241
git-svn-id: svn://ultimatepp.org/upp/trunk@8905 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-07 09:55:36 +00:00
cxl
8b1b3438db CtrlCore/Draw: UHD refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@8835 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-22 12:43:35 +00:00
cxl
3b8f88d9e8 Draw: Fixed crashing of X11 mode
git-svn-id: svn://ultimatepp.org/upp/trunk@8822 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-20 06:40:17 +00:00
cxl
16a8c0d51f ide: Developing UHD
git-svn-id: svn://ultimatepp.org/upp/trunk@8805 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-09 15:40:06 +00:00
cxl
06f30bcaf3 upp.src: HiDPI fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@8790 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-05 14:00:46 +00:00
cxl
5be4de0e8b uppsrc: Developing HiDPI support
git-svn-id: svn://ultimatepp.org/upp/trunk@8788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-03 17:27:04 +00:00
cxl
8ea6f4ad68 Draw: Simplified variant of Font::SetFace
git-svn-id: svn://ultimatepp.org/upp/trunk@7267 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-17 06:47:58 +00:00
cxl
1c6cc19a40 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-08 17:36:26 +00:00
cxl
f611afa3c2 Fixing richtextzoom #598
git-svn-id: svn://ultimatepp.org/upp/trunk@6640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-04 12:26:14 +00:00
cxl
0597fd67f8 Draw: SetFace
git-svn-id: svn://ultimatepp.org/upp/trunk@6600 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-23 16:11:14 +00:00
cxl
ca7e60660f Draw: support for LinuxGL, Sql: operator*=(VectorMap, SqlSelect)
git-svn-id: svn://ultimatepp.org/upp/trunk@6283 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-28 11:43:07 +00:00
cxl
94dfb99ed4 Draw: Fixed compilation issue with Set__
git-svn-id: svn://ultimatepp.org/upp/trunk@6273 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-26 11:43:41 +00:00
cxl
1a2ddecd46 Draw: InvalidateFontList
git-svn-id: svn://ultimatepp.org/upp/trunk@6271 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-25 17:03:57 +00:00
cxl
c36853e67b upp.src: Reverted some OpenGL related issues, Core: Fixed Stream::Pack
git-svn-id: svn://ultimatepp.org/upp/trunk@6207 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-22 20:16:16 +00:00
unodgs
c21ddc2d5e CtrlCore, Draw: LinuxGl adjustments
git-svn-id: svn://ultimatepp.org/upp/trunk@6199 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-17 18:10:20 +00:00
cxl
ba8eb81f07 Draw: Fixed issue with CJK characters metrics
git-svn-id: svn://ultimatepp.org/upp/trunk@5635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-09 17:41:32 +00:00
cxl
af7a9d8db5 Draw: Another StdFont fix
git-svn-id: svn://ultimatepp.org/upp/trunk@5578 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-22 10:57:45 +00:00
cxl
d82de97d31 Draw: Fixed issue with StdFont
git-svn-id: svn://ultimatepp.org/upp/trunk@5572 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-21 08:59:11 +00:00
cxl
b09b7d6cbe CtrlCore, Draw: MT refactored, fixed StdFont issue in Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5559 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-18 23:45:03 +00:00
cxl
bd87a04fda Draw, CtrlCore: Major refactor of Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-11 12:33:47 +00:00
cxl
02a58b2d3d CtrlLib: fixed font height issue
git-svn-id: svn://ultimatepp.org/upp/trunk@5418 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-08 16:05:09 +00:00
cxl
6cf239033f uppsrc: OLD_VALUE completely removed, Core/Rpc: Now supports Json parameters and return values
git-svn-id: svn://ultimatepp.org/upp/trunk@5356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-09-14 11:43:13 +00:00
cxl
9c66fcab3e Draw: Font, Drawing, Painting, Image now support Xmlize and Jsonize
git-svn-id: svn://ultimatepp.org/upp/trunk@4950 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-14 14:47:25 +00:00
cxl
9a1dcdd11f Core: Jsonize for int16, Draw: Font Xmlize/Jsonize
git-svn-id: svn://ultimatepp.org/upp/trunk@4948 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-14 08:26:19 +00:00
cxl
e226ffb556 Core: Fixed issue with Null in Json
git-svn-id: svn://ultimatepp.org/upp/trunk@4917 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-09 08:00:09 +00:00
cxl
192a4fdc70 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@3897 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-21 07:55:45 +00:00
cxl
8de669b422 CtrlCore: ReSkin (former SyncCh) now public, refactored SetStdFont handling
git-svn-id: svn://ultimatepp.org/upp/trunk@3894 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-20 13:21:47 +00:00
cxl
436dfbbd23 uppsrc: Null cleanup
git-svn-id: svn://ultimatepp.org/upp/trunk@3866 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-16 08:24:44 +00:00
cxl
c50b91be05 Draw, CtrlCore: Chameleon sync optimized/fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@3829 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-06 12:05:28 +00:00