Commit graph

20 commits

Author SHA1 Message Date
Mirek Fidler
6770526838 CtrlCore: RTF parser now imports monospace fonts as Font::MONOSPACE and imports anchored images too, ide: Markdown export tool 2026-01-26 11:37:18 +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
7063d4d9e1 Core: Atof (comma safe atof)
git-svn-id: svn://ultimatepp.org/upp/trunk@10764 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-26 08:24:21 +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
a39dc6ef87 CtrlCore: ParserRTF: Image handling adjusted.
git-svn-id: svn://ultimatepp.org/upp/trunk@8071 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-20 12:05:19 +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
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
d5291b7d48 *uppsrc: Fixed many GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@4457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 14:24:31 +00:00
cxl
e915b796b3 .removed stray LOGs
git-svn-id: svn://ultimatepp.org/upp/trunk@4207 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-29 07:21:16 +00:00
rylek
6b92965001 .CtrlCore/ParseRTF.cpp: fixed bug in horizontal & vertical span import from RTF
.Web/httpcli.cpp: socket.StopWrite moved after receiving HTTP headers from server, doing it the other way round seems to confuse some servers

git-svn-id: svn://ultimatepp.org/upp/trunk@3691 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-22 09:10:08 +00:00
rylek
4d7308e99e +CtrlCore/ParseRTF.cpp: added simple table cell shading support (solid color only)
+Oracle/Oci8.cpp: OracleBlob / Clob upgraded to 64-bit LOB handle

git-svn-id: svn://ultimatepp.org/upp/trunk@3650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-13 18:34:03 +00:00
rylek
f3099e1aa4 .CtrlCore/ParseRTF.cpp: fixed extra table columns and improved table cell formatting
git-svn-id: svn://ultimatepp.org/upp/trunk@3640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-11 00:46:18 +00:00
rylek
2c9cc6e9f1 *CtrlCore: bug fix concerning recent ParseRTF patch for processing table cell borders
git-svn-id: svn://ultimatepp.org/upp/trunk@3626 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-07 19:35:25 +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
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
5d9b35c480 *uppsrc: fixed various i18n, font, RichText issues in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@2258 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-23 19:17:45 +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/ParseRTF.cpp (Browse further)