Commit graph

24 commits

Author SHA1 Message Date
mirek-fidler
241cc4ea9d
Custom Title Bar refactored / gtk support (#345) 2026-01-16 19:26:25 +01:00
Mirek Fidler
1e8e16491c RichText/RichEdit: RichObject interface refactored, Diagram dark mode 2025-07-17 14:59:34 +02:00
Mirek Fidler
daadf73eab RichText: Now using current ink for SVG currentColor 2025-04-30 00:14:02 +02: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
3e4b840506 uppsrc: Modernizing code with variadic templates
git-svn-id: svn://ultimatepp.org/upp/trunk@14604 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-17 16:02:45 +00:00
cxl
efb874b43c CtrlCore: RTF: Fixed 'space at bullet' issue
git-svn-id: svn://ultimatepp.org/upp/trunk@11913 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-25 07:21:34 +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
05c34f4a50 RichText header/footer optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@10086 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-21 12:03:47 +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
41a61beee7 CtrlCore: EncodeRTF now using the same code for image export in Win32 too
git-svn-id: svn://ultimatepp.org/upp/trunk@5966 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-04-07 10:07:23 +00:00
cxl
f14155682a CtrlCore: EncodeRTF now supports images in Posix
git-svn-id: svn://ultimatepp.org/upp/trunk@5964 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-04-07 09:38:56 +00:00
rylek
02cc7f40ff .CtrlCore/EncodeRTF: bug fix in interpretation of \pard; added optional context parameter
.RichEdit/RichEdit.h, Editor.cpp, Mouse.cpp: new callback WhenBar / StdBar member enables local editor menu customization

git-svn-id: svn://ultimatepp.org/upp/trunk@3993 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-12 18:56:58 +00:00
rylek
7014a272f3 .CtrlCore/EncodeRTF.cpp: re-insert of (hopefully) working table border patch removed earlier by Mirek because of a bug in ParseRTF.cpp
git-svn-id: svn://ultimatepp.org/upp/trunk@3627 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-07 19:41:44 +00:00
cxl
394a9abd4b *CtrlCore: ParseRTF/EnvodeRTF latest patch reverted
git-svn-id: svn://ultimatepp.org/upp/trunk@3621 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-06 12:19:07 +00:00
rylek
e8dfe13bc1 .CtrlCore/ParseRTF.cpp, EncodeRTF.cpp: table & cell border fixes
.Geom/Ctrl/PlotterCtrl.h: internal PostRefresh made private to avoid confusion

git-svn-id: svn://ultimatepp.org/upp/trunk@3579 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-01 06:49:27 +00:00
rylek
b818e68b94 *CtrlCore: fixed table border RTF export
git-svn-id: svn://ultimatepp.org/upp/trunk@3563 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-26 10:10:24 +00:00
cxl
b79918ff26 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3528 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-13 19:16:25 +00:00
rylek
08d940c0b1 .CtrlCore: minor style fixes in RTF parser & encoder
git-svn-id: svn://ultimatepp.org/upp/trunk@3451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-05-23 22:20:37 +00:00
cxl
82fdf80b01 *CtrlCore: Fixed charset encoding issues in EncodeRTF, RichEdit: ClipZoom method
git-svn-id: svn://ultimatepp.org/upp/trunk@3323 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-05 14:03:51 +00:00
rylek
1ebc70b60f +RichEdit: added some missing czech translations; fixed ToPara to honor objects & fields
+CtrlCore: EncodeRTF improved to support page size & margins and table cell borders
.RichText: ParseQtf fixed to honor formatting of last paragraph in text

git-svn-id: svn://ultimatepp.org/upp/trunk@3210 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-14 23:59:20 +00:00
unodgs
00bb17f2cf RichEdit: Fixed compilation problem
git-svn-id: svn://ultimatepp.org/upp/trunk@3202 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-12 07:41:15 +00:00
rylek
71d0ab2d03 .CtrlCore/: minor fixes in EncodeRTF; fixed escape sequences in .t string constants
git-svn-id: svn://ultimatepp.org/upp/trunk@3197 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-11 18:58:56 +00:00
rylek
413f20e878 .RichText: fixed character formatting export bug reported by dolik.rce
git-svn-id: svn://ultimatepp.org/upp/trunk@2326 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-04-19 04:05:28 +00:00
cxl
68a73dff42 Draw: headless draw final milestone reached
git-svn-id: svn://ultimatepp.org/upp/trunk@1436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-19 13:12:18 +00:00
Renamed from uppsrc/RichText/EncodeRTF.cpp (Browse further)