Commit graph

41 commits

Author SHA1 Message Date
Mirek Fidler
2afe7f5382 Core: Fixed FLOAT_V issues 2023-11-18 08:28:25 +01:00
Mirek Fidler
c0a9461446 upp.src: MacOS Ventura initial fixes 2023-03-30 11:51:46 +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
Mirek Fidler
dbe763c771 .Core: Removed unused h[32] from Format.cpp 2021-10-07 09:30:09 +02:00
Mirek Fidler
86982f15c3 Ctrl: TextCtrl View mode optimized, Core: String::Make for int conversions 2021-09-18 20:54:31 +02:00
Mirek Fidler
9458f03c96 Core: %n fix improved 2021-09-12 00:51:03 +02:00
Mirek Fidler
b58e1249de Core: %n format fix 2021-09-12 00:41:19 +02:00
Mirek Fidler
95de0de094 Core: New double formatters (%m, %mf, %me) 2021-09-05 14:58:30 +02:00
Mirek Fidler
ba737d3ece Core: Fixed issue with FormatDouble with 32bit CPUs 2021-08-29 20:26:08 +02:00
Mirek Fidler
f3031736b7 Core: FormatDouble, ScanDbl refactored 2021-08-29 13:27:37 +02:00
Mirek Fidler
7660d6c570 Core: Fixed int->string for aligned CPUs 2021-08-06 10:26:47 +02:00
Mirek Fidler
1d018151f1 Core: Integer formatting optimised 2021-08-04 11:24:05 +02: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
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
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
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
acdee1885b Core: finetuning allocator
git-svn-id: svn://ultimatepp.org/upp/trunk@13449 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-27 13:17:50 +00:00
cxl
d13cf462b4 Core: FormatIntAlpha fixed (thanks omari)
git-svn-id: svn://ultimatepp.org/upp/trunk@11889 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-13 12:18:48 +00:00
cxl
1403bfc1af ide: PDB debugger now displays INF and NAN
git-svn-id: svn://ultimatepp.org/upp/trunk@11790 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-21 19:17:49 +00:00
cxl
80bece115a Fix in double formatting (thank cbpporter)
git-svn-id: svn://ultimatepp.org/upp/trunk@10999 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-04-15 09:24:20 +00:00
cxl
66e00d369e Core: Format(%.2f) now produces '.' despite setlocale
git-svn-id: svn://ultimatepp.org/upp/trunk@10642 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-05 07:32:32 +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
49d3de4a8a New Cpp preprocesing parser merged
git-svn-id: svn://ultimatepp.org/upp/trunk@8427 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-05-11 17:13:55 +00:00
cxl
e077a51b45 Core: Format: fixed corner-case
git-svn-id: svn://ultimatepp.org/upp/trunk@7238 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-13 05:50:44 +00:00
cxl
78ae0711ed CtrlLib: EditNumber fixed (thanks SenderGhost!) #491
git-svn-id: svn://ultimatepp.org/upp/trunk@6190 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-14 07:38:15 +00:00
cxl
4cd6491bc2 Core: FormatDouble precision increased to 16 digits
git-svn-id: svn://ultimatepp.org/upp/trunk@5694 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-01-01 13:42:07 +00:00
cxl
e8dcdd4f51 ide: Custom build steps refresh
git-svn-id: svn://ultimatepp.org/upp/trunk@4203 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-25 22:43:51 +00:00
cxl
dc1a41021d Core: Format fortified (not fully)
git-svn-id: svn://ultimatepp.org/upp/trunk@4196 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-25 13:48:00 +00:00
cxl
ad54a6fa2f Core: Documentation for ',' option in double formatting, thousands separator '@' flag for double formatting.
git-svn-id: svn://ultimatepp.org/upp/trunk@4161 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-11 14:01:55 +00:00
cxl
c5826d7b94 Core: Support for decimal comma instead of decimal point for double formatting
git-svn-id: svn://ultimatepp.org/upp/trunk@4149 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-08 15:45:30 +00:00
cxl
c6a5d9692b Core: Format fixed to correctly character lengths of utf8 strings when padfilling (RM# 96)
git-svn-id: svn://ultimatepp.org/upp/trunk@3844 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-09 09:48:21 +00:00
cxl
ee16211d3f Core: IsNaN function, AsString(NaN) now returns '?', Painter: PaintingPainter - ASSERT for NaN values
git-svn-id: svn://ultimatepp.org/upp/trunk@3639 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-10 21:50:35 +00:00
cxl
7a2fc73a6a SmtpMail: Refactored, added support for character encoding in headers, added recipient/sender names, Core: FormatIntBase added 'upper' option, FormatIntHexUpper function
git-svn-id: svn://ultimatepp.org/upp/trunk@3112 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-27 12:04:49 +00:00
cxl
c567bf41cf .Core: int64 support in Format
git-svn-id: svn://ultimatepp.org/upp/trunk@2493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-06-20 15:40:55 +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
a1f17348e4 LoadFrom/StoreTo fixed to work with operator%, fix in Format, usvn now keeps commit messages if no commit performed
git-svn-id: svn://ultimatepp.org/upp/trunk@622 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-07 15:48:48 +00:00
cxl
ae24688764 A++: fixed problems with typecast operator, navigator scope double-click goes to the first item
git-svn-id: svn://ultimatepp.org/upp/trunk@609 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-05 21:36:41 +00:00
cxl
5c44acf9d6 Fixed Format
git-svn-id: svn://ultimatepp.org/upp/trunk@578 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-10-31 09:04:22 +00:00
cxl
d8177daa6a Fixing Format
git-svn-id: svn://ultimatepp.org/upp/trunk@574 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-10-30 15:34:42 +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