Commit graph

45 commits

Author SHA1 Message Date
Mirek Fidler
6329703476 Core: Filter functions moved inline 2025-05-05 15:17:35 +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
f3031736b7 Core: FormatDouble, ScanDbl refactored 2021-08-29 13:27:37 +02:00
cxl
8a186a089e Core: String small hint constructor variant
git-svn-id: svn://ultimatepp.org/upp/trunk@16014 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-07 14:20:14 +00:00
cxl
bbb9fcad46 Core: String middle tier optimised (some routines moved to allocator to inline MemoryAlloc32 / MemoryFree32)
git-svn-id: svn://ultimatepp.org/upp/trunk@15553 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-30 11:21:43 +00:00
cxl
0ebee06f75 ide: Developing uppiverse
git-svn-id: svn://ultimatepp.org/upp/trunk@15485 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-22 09:42:57 +00:00
cxl
1eec4a3a3f Core: String::Compare optimised
git-svn-id: svn://ultimatepp.org/upp/trunk@15322 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-29 11:49:45 +00:00
cxl
3a3e40bf16 Core: Minor StringBuffer optimisation
git-svn-id: svn://ultimatepp.org/upp/trunk@14891 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-24 15:10:42 +00:00
cxl
dfafee9e31 Core: String fix for sanitizer
git-svn-id: svn://ultimatepp.org/upp/trunk@14629 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-23 13:16:37 +00:00
cxl
e8e2452d5f Core: Minor string optimization
git-svn-id: svn://ultimatepp.org/upp/trunk@14603 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-16 21:47:24 +00:00
cxl
6afb9753b1 Core: Fix in String hashing
git-svn-id: svn://ultimatepp.org/upp/trunk@14536 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-02 08:08:49 +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
80a7a09c67 Core: String cleanup
git-svn-id: svn://ultimatepp.org/upp/trunk@14519 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-30 17:27:54 +00:00
cxl
ab2547885d Core: String compare optimizations
git-svn-id: svn://ultimatepp.org/upp/trunk@14517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-30 17:15:06 +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
48d2166c08 Core: New highly optimised svo_memcpy, svo_memset, memcpyd functions
git-svn-id: svn://ultimatepp.org/upp/trunk@14488 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-21 17:18:24 +00:00
cxl
0276338ea6 Core2019 merged to to trunk
git-svn-id: svn://ultimatepp.org/upp/trunk@13359 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-07 07:06:32 +00:00
cxl
da31e9f76f Core: Now compiles with NODEPRECATED
git-svn-id: svn://ultimatepp.org/upp/trunk@12127 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-31 17:04:33 +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
da07262264 Core: [W]StringBuffer begin/end aliases (to Begin/End)
git-svn-id: svn://ultimatepp.org/upp/trunk@9995 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-02 15:34:50 +00:00
cxl
0767a2770a Core: Fast compress + xxHash adopted to Core
git-svn-id: svn://ultimatepp.org/upp/trunk@9954 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-21 18:57:18 +00:00
cxl
5edae0e110 .reorganizing
git-svn-id: svn://ultimatepp.org/upp/trunk@9759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-01 20:21:16 +00:00
cxl
69275a5e1c Core: Fixed String comparison
git-svn-id: svn://ultimatepp.org/upp/trunk@9410 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-17 05:36:09 +00:00
cxl
ba5305ae72 Core:String optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@9408 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-16 22:04:29 +00:00
cxl
24be661c7c Core: String::LCompare optimized #1369
git-svn-id: svn://ultimatepp.org/upp/trunk@9405 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-16 14:27:16 +00:00
cxl
2480852657 Core: Optimizing String
git-svn-id: svn://ultimatepp.org/upp/trunk@9403 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-16 13:55:25 +00:00
cxl
d6cb76e276 Core: String, WString reallocation reduced to 50% growth, fixed 2Gchars issue
git-svn-id: svn://ultimatepp.org/upp/trunk@9291 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-15 08:24:15 +00:00
cxl
7e13ba6c99 Core: Fixed StringBuffer::Reserve
git-svn-id: svn://ultimatepp.org/upp/trunk@8082 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-21 13:04:55 +00:00
cxl
040913b8fd Core: Split/Join/Merge refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@7285 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-21 15:22:49 +00:00
cxl
fabb72f639 Core: String::Find optimized in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@6995 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-05 18:07:00 +00:00
cxl
cbf2f4de95 Core: String::Find(String) once again optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@6993 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-05 17:42:15 +00:00
cxl
75ce5d138a *Core: Fixed bug in String::Find
git-svn-id: svn://ultimatepp.org/upp/trunk@6986 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-03 11:21:24 +00:00
cxl
51ff437d49 Core: String::Find(String) optimizations, refactoring
git-svn-id: svn://ultimatepp.org/upp/trunk@6977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-02 10:01:14 +00:00
cxl
304df59cb0 Core: TrimLeft(prefix, s), TrimRight(suffix, s), ide: Support for force_inline
git-svn-id: svn://ultimatepp.org/upp/trunk@5542 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-10 14:31:24 +00:00
cxl
e3e8714902 CoreL SVO_MEMCPY now public, added SVO_MEMSET
git-svn-id: svn://ultimatepp.org/upp/trunk@4957 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-16 13:29:12 +00:00
cxl
35083af23c Core: force_inline, String now has optimized strlen(literal) situations
git-svn-id: svn://ultimatepp.org/upp/trunk@4225 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-02 08:39:11 +00:00
cxl
52d9c8544a .Core: cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4219 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-01 19:40:48 +00:00
cxl
d3cff303ca Core: String::Cat optimized (again...)
git-svn-id: svn://ultimatepp.org/upp/trunk@4218 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-01 19:34:35 +00:00
cxl
1263cee7c9 Core: String::Cat optimized for small values
git-svn-id: svn://ultimatepp.org/upp/trunk@4213 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-30 16:55:51 +00:00
cxl
1aac4ba6f6 Core: String::GetCharCount
git-svn-id: svn://ultimatepp.org/upp/trunk@3835 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-07 07:54:45 +00:00
cxl
c11ff4bfe1 *Core, CtrlLib: Fixing GetDownloadsFolder()
git-svn-id: svn://ultimatepp.org/upp/trunk@2194 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-08 11:08:23 +00:00
cxl
adf996cfec ide: Compare with file, SVN History
git-svn-id: svn://ultimatepp.org/upp/trunk@935 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-09 21:08:31 +00:00
mdelfede
cb0ff92715 new uvs2 releases : uppsrc-2598 tutorial-38 examples-141 reference-113
git-svn-id: svn://ultimatepp.org/upp/trunk@300 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-16 23:06:34 +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