Commit graph

43 commits

Author SHA1 Message Date
Mirek Fidler
8b4a41f847 RichText: problem with ParseQTF \1\x1f 2022-12-22 08:29:03 +01: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
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
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
4858c38e16 RichText: Fixed issue with EncodeQTF: default style setting substyle for subsequent styles in QTF - solved by storing the default style last
git-svn-id: svn://ultimatepp.org/upp/trunk@11736 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-27 15:54:50 +00:00
cxl
cffa5c2257 RichText: Fixed QTF new page ^^ with tables
git-svn-id: svn://ultimatepp.org/upp/trunk@10233 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-09-22 14:58:17 +00:00
cxl
2cbf467ac8 RichText: Qtf: Fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@10198 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-09-01 14:57:10 +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
b577db64b4 RichText: Header/Footer can be changed by paragraph/table
git-svn-id: svn://ultimatepp.org/upp/trunk@10084 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-21 05:45:44 +00:00
cxl
9e569a7aae Qtf: {{* now equivalent to {{~0/0
git-svn-id: svn://ultimatepp.org/upp/trunk@8948 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-18 15:06:04 +00:00
cxl
25accd0e00 RichText: Fixed parsing of Qtf with round borders
git-svn-id: svn://ultimatepp.org/upp/trunk@8263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-03-13 12:44:57 +00:00
cxl
80b7fa34e8 RichText/Qtf/RichEdit now support round borders for table cells
git-svn-id: svn://ultimatepp.org/upp/trunk@8260 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-03-12 15:01:49 +00:00
cxl
e7a0f9298d .removed forgotten LOG
git-svn-id: svn://ultimatepp.org/upp/trunk@7722 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-24 13:44:23 +00:00
cxl
7316049bb3 QTF: Fixed confusing problem with incomplete tables #831
git-svn-id: svn://ultimatepp.org/upp/trunk@7643 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-06 16:37:28 +00:00
cxl
4b44f069df RichText: '[g ' now sets standard GUI font with *standard size*
git-svn-id: svn://ultimatepp.org/upp/trunk@7619 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-08-29 11:07:07 +00:00
cxl
4b90341e91 ParseQtf: fixed para format issue w.r.t. table begin
git-svn-id: svn://ultimatepp.org/upp/trunk@7493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-07 13:38:24 +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
96f90df3aa ide: . .qtf files support #590
git-svn-id: svn://ultimatepp.org/upp/trunk@6693 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-23 18:08:21 +00:00
cxl
623d1d1a01 RichText: QTF now using BASE64 encoding for objects, RichEdit: Fixed scroll issue when line height is greater than view
git-svn-id: svn://ultimatepp.org/upp/trunk@6602 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-23 17:42:59 +00:00
cxl
d5b1667043 RichText/RichEdit: Header/Footer support
git-svn-id: svn://ultimatepp.org/upp/trunk@6476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-10-23 13:44:42 +00:00
cxl
5f95c7402e RichText, RichEdit: Styles of paragraph ruler (dotted, dashed)
git-svn-id: svn://ultimatepp.org/upp/trunk@5059 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-06-19 09:48:35 +00:00
cxl
4616bc2463 Sql: Fixed string escapment of PGSQL strings
git-svn-id: svn://ultimatepp.org/upp/trunk@3828 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-06 07:24:53 +00:00
rylek
bd9a46849b .RichText: added \n support to DeQtf; fixed ParseQtf to ignore control characters which break the packed paragraph format
.Geom/Draw/hrr.cpp: fixed coordinate orientation bug in hrr clipping

git-svn-id: svn://ultimatepp.org/upp/trunk@3757 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-08-09 12:23:45 +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
cxl
a4b8215ee4 RichText: Fixed bug in bug reporting
git-svn-id: svn://ultimatepp.org/upp/trunk@2165 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-03 06:22:05 +00:00
cxl
0bdde7d283 RichText: RightPos tabulators (relative to right side)
git-svn-id: svn://ultimatepp.org/upp/trunk@2095 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-02-18 11:15:47 +00:00
cxl
81c1f63db0 Developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1367 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 11:45:16 +00:00
cxl
eeaff3e935 RichText: Added 'text' rich object format
git-svn-id: svn://ultimatepp.org/upp/trunk@1263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-06-02 21:48:57 +00:00
rylek
c608b82728 context-related patches to RichText (continued); fixed hanging sockets in HTTP client; minor fixes in FormatDouble
git-svn-id: svn://ultimatepp.org/upp/trunk@1000 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-22 23:23:05 +00:00
cxl
ae292b5cf4 ExtractAccessKey now stores position
git-svn-id: svn://ultimatepp.org/upp/trunk@997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-22 10:07:45 +00:00
cxl
b27c1166ad ParseQTF removed scolors option - fixed problem with bad colors in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@814 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-27 12:10:34 +00:00
cxl
1d3c373bf8 QTF fix..
git-svn-id: svn://ultimatepp.org/upp/trunk@494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-10-01 12:17:00 +00:00
cxl
6832764d91 Fixed QTF issue
git-svn-id: svn://ultimatepp.org/upp/trunk@493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-10-01 12:12:37 +00:00
cxl
701dce0dac Alt+J improved - corrected behaviour with multiline definition, adds appropriate number of tabs
git-svn-id: svn://ultimatepp.org/upp/trunk@481 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-09-24 21:06:43 +00:00
cxl
4500cc695d Fix of Ctrl+F vs HelpWindow problem
git-svn-id: svn://ultimatepp.org/upp/trunk@480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-09-24 21:01:33 +00:00
cxl
169c97d10a Various A++/T++ fixes, Alt+F10 in T++ invokes 'fix current topic' hidden function
git-svn-id: svn://ultimatepp.org/upp/trunk@473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-09-22 16:38:35 +00:00
cxl
eae373679d RichText, RichEdit, Qtf: added horizontal ruler, optimized language encoding in Qtf
git-svn-id: svn://ultimatepp.org/upp/trunk@415 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-09-09 14:24:23 +00:00
cxl
834baf76c2 git-svn-id: svn://ultimatepp.org/upp/trunk@413 f0d560ea-af0d-0410-9eb7-867de7ffcac7 2008-09-09 10:04:46 +00:00
cxl
9b02d7b09e QTF non-anti-aliased
git-svn-id: svn://ultimatepp.org/upp/trunk@409 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-09-08 17:57:50 +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