Commit graph

227 commits

Author SHA1 Message Date
Mirek Fidler
b2456a14bb uppsrc: MacOS fixes 2023-03-21 11:10:03 +01:00
Mirek Fidler
58e3f59c34 ide: Optimised header handling, RichText::GetWidth fixed 2023-02-27 12:42:20 +01:00
Mirek Fidler
7985ea5c10 CtrlLib: RichTextView improvements 2023-01-13 16:33:29 +01:00
Mirek Fidler
c8364365ef CtrlLib, RichText: Gate<String> WhenHighlight; CtrlCore: fixed AppendFiles in Win32 2022-12-24 13:03:51 +01:00
Mirek Fidler
8b4a41f847 RichText: problem with ParseQTF \1\x1f 2022-12-22 08:29:03 +01:00
Mirek Fidler
f7c4fe08de CtrlLib: RichTextView::Highlight(Color) 2022-12-20 15:37:20 +01:00
Mirek Fidler
075b16fcd9 uppsrc: Various minor fixes (thanks mrped) 2022-12-11 11:15:52 +01:00
Mirek Fidler
287ba5708b ide, RichText: Fixed problems with dark mode QTFDisplay (assist popups) 2022-11-23 09:58:52 +01:00
Mirek Fidler
201dd954c3 ide: Fixed utf-8 issues in assist 2022-11-04 15:05:17 +01:00
Mirek Fidler
e55d091e4e ide: CodeEditor tips background, RichText: QTFDisplay fixed dark mode behaviour 2022-11-01 11:54:50 +01:00
Mirek Fidler
0449296f07 gui_sizeof merged, double formatting precsion in JSON/XML reduced to 15 digits 2022-06-03 11:43:48 +02:00
Mirek Fidler
340ce65c08 uppsrc: (c) 2022 2022-04-03 20:58:06 +02:00
Mirek Fidler
b23ab7bae7 RichText, RichEdit: First on page paragraph/style feature 2022-03-18 14:46:51 +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
Mirek Fidler
63e8c972b4 CtrlLib: DrawSmartText improvements 2021-09-06 12:38:19 +02:00
cxl
ffe0767d05 Core, RichText: Fixed warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@16036 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-27 08:20:28 +00:00
cxl
cd3df22523 RichText: Fields now can contain '\n' (thanks wcqmaster)
git-svn-id: svn://ultimatepp.org/upp/trunk@16022 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-10 14:08:00 +00:00
cxl
a5f628fe6d uppsrc: 2020->2021
git-svn-id: svn://ultimatepp.org/upp/trunk@15857 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-19 14:14:08 +00:00
cxl
5da70205df RichText: JPG raw image data is now exported to PDF as JPEG
git-svn-id: svn://ultimatepp.org/upp/trunk@15834 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-11 11:42:56 +00:00
cxl
fa860da06e RichText: Fixed issue with crash parsing problematic QTF
git-svn-id: svn://ultimatepp.org/upp/trunk@15656 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-07 19:44:01 +00:00
klugier
5ba1f1038e RichText, Doc: Added history behind QTF name.
git-svn-id: svn://ultimatepp.org/upp/trunk@15540 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-28 22:32:12 +00:00
klugier
0bfd147775 RichText, Doc: QTF is now named Quixotic Text Format.
git-svn-id: svn://ultimatepp.org/upp/trunk@15538 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-28 20:44:59 +00:00
cxl
adea4df7e8 RichText: EncodeHTML fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15528 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-27 16:01:36 +00:00
cxl
eec129be23 RichText, RichEdit: 1.15 line spacing
git-svn-id: svn://ultimatepp.org/upp/trunk@15517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-25 10:22:17 +00:00
klugier
30abc030b0 RichText, Doc: Added table of content to QTF and integrate it in Qtf designer.
git-svn-id: svn://ultimatepp.org/upp/trunk@15399 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-11 20:51:46 +00:00
cxl
138820564b RichText: EncodeHTML now using image style width / height instead of rescaling internally
git-svn-id: svn://ultimatepp.org/upp/trunk@15277 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-20 10:42:09 +00:00
cxl
6fca987969 uppsrc: Fixing GCC 10.2. warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@15182 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-01 08:03:33 +00:00
cxl
5b6b378e8c .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@15155 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-28 21:35:16 +00:00
cxl
9293ed2be0 uppsrc: Visual C++ compiler bug [W]StringBuffer workaround
git-svn-id: svn://ultimatepp.org/upp/trunk@15123 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-23 09:37:31 +00:00
cxl
f8b8cbf1eb Copying update
git-svn-id: svn://ultimatepp.org/upp/trunk@14978 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-03 14:50:30 +00:00
cxl
dbae6da76e RichText: Paint info now has DrawSelection field for customizing selection appearance
git-svn-id: svn://ultimatepp.org/upp/trunk@14725 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-29 10:07:15 +00:00
cxl
fb4d667fdb uppsrc: SSE2->SIMD, Core: another decode fix
git-svn-id: svn://ultimatepp.org/upp/trunk@14652 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-03 11:21:07 +00:00
cxl
7470ee085b Core, RichText, Draw: Global Value Cache with dynamically adjusted size based on system statistics, MakeImage now using global value cache, RichText now stores decompressed images in the cache
git-svn-id: svn://ultimatepp.org/upp/trunk@14576 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-10 14:10:50 +00:00
cxl
2352d9b58c Core: Mem.h improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14505 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-27 16:39:08 +00:00
cxl
36fadbf7bf uppsrc: Many memcpy, memset converted to new memory functions
git-svn-id: svn://ultimatepp.org/upp/trunk@14493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 15:14:16 +00:00
cxl
b63a7cf30e RichText: Fixed Null cell paper issue (fixes reference/Watermark)
git-svn-id: svn://ultimatepp.org/upp/trunk@14097 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-27 17:57:48 +00:00
cxl
ff165051c5 RichText: RichText::Paint(Zoom zoom, Draw& w, int x, int y, int cx) now detects dark mode, adjusts colors accordingly
git-svn-id: svn://ultimatepp.org/upp/trunk@14083 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-25 15:12:23 +00:00
cxl
7dd1764ee7 Core, CtrlLib, Ide: Resolved issue with SColors in Layout widget properties
git-svn-id: svn://ultimatepp.org/upp/trunk@14002 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-13 14:38:43 +00:00
cxl
c25166d044 Core: FileStream now does not open directories as files anymore in POSIX
git-svn-id: svn://ultimatepp.org/upp/trunk@13948 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-28 09:41:31 +00:00
cxl
d0054ee7a2 RichText: HTML export now supports image links
git-svn-id: svn://ultimatepp.org/upp/trunk@13945 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-27 12:58:25 +00:00
cxl
fab2fb86ca RichText: fixed to compile with new Uuid
git-svn-id: svn://ultimatepp.org/upp/trunk@13399 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-16 09:20:42 +00:00
cxl
38ac5ee73b uppsrc: Copying copyright updated to 2019
git-svn-id: svn://ultimatepp.org/upp/trunk@13070 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-05-01 12:27:32 +00:00
cxl
74d60026ee uppsrc: Undefined Behaviour sanitization
git-svn-id: svn://ultimatepp.org/upp/trunk@13032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-23 07:59:06 +00:00
cxl
14b843bf33 Painter: SVG improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@12815 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-07 09:44:09 +00:00
cxl
a0a3011b37 RichText, RichEdit: Added SVG support
git-svn-id: svn://ultimatepp.org/upp/trunk@12811 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-06 11:49:57 +00:00
cxl
814d5f2fc8 uppsrc: Fixed some GCC 8.1 warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@12806 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-03 23:40:34 +00:00
cxl
350fb79ea3 Core: DarkTheme color convertor improved
git-svn-id: svn://ultimatepp.org/upp/trunk@12756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-02-10 12:26:23 +00:00
cxl
479f47398d Core: Improving color inversion for DarkTheme
git-svn-id: svn://ultimatepp.org/upp/trunk@12752 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-02-10 09:56:55 +00:00
cxl
a1f521e289 CtrlLib, ide: Better dark theme support (using DarkTheme for RichTextCtrl)
git-svn-id: svn://ultimatepp.org/upp/trunk@12635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-12-21 07:43:53 +00:00
cxl
25d52c300a RichText: Temporary of dark theme issues
git-svn-id: svn://ultimatepp.org/upp/trunk@12628 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-12-20 12:26:16 +00:00