Commit graph

35 commits

Author SHA1 Message Date
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
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
95de0de094 Core: New double formatters (%m, %mf, %me) 2021-09-05 14:58:30 +02: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
7b059685ec Core: Value type is now stored in data
git-svn-id: svn://ultimatepp.org/upp/trunk@13704 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-11-21 09:54:25 +00:00
cxl
1ad81ad982 CtrlLib: ArrayCtrl sort improved, Core: GetLanguageInfo() optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@13419 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-18 13:37:43 +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
68dba879f5 Core: Fixed missing ValueMap constructor (from ValueArray), docs
git-svn-id: svn://ultimatepp.org/upp/trunk@10550 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-16 15:22:34 +00:00
cxl
fb3d4627b7 Core: Value/ValueMap::IsSame refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@10540 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-12-13 15:05:17 +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
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
611146d4ed C++11 range loop support for XmlNode, ValueArray, Value #1264
git-svn-id: svn://ultimatepp.org/upp/trunk@8920 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-13 19:01:52 +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
1e3d3f95e0 Draw: AttrText new features, Core: Fix of PolyCompare
git-svn-id: svn://ultimatepp.org/upp/trunk@8170 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-12 19:02:20 +00:00
cxl
41b969b079 Core: Value references
git-svn-id: svn://ultimatepp.org/upp/trunk@7677 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-13 12:59:20 +00:00
cxl
2f491c9646 Core: Fixed ValueMap::RemoveKey issue
git-svn-id: svn://ultimatepp.org/upp/trunk@7641 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-05 13:00:16 +00:00
cxl
f4550b3388 Core: ValueArray, ValueMap Pick
git-svn-id: svn://ultimatepp.org/upp/trunk@7302 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-23 07:14:40 +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
011630e0e8 Core: Ref changes temporarily reverted
git-svn-id: svn://ultimatepp.org/upp/trunk@6524 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-03 19:28:23 +00:00
cxl
c789b048d1 Core: Ref, Sql: S_* refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@6519 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-03 14:36:25 +00:00
cxl
1f37512e49 Core: ValueMap::RemoveKey #470
git-svn-id: svn://ultimatepp.org/upp/trunk@6252 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-20 18:44:11 +00:00
cxl
6cf239033f uppsrc: OLD_VALUE completely removed, Core/Rpc: Now supports Json parameters and return values
git-svn-id: svn://ultimatepp.org/upp/trunk@5356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-09-14 11:43:13 +00:00
cxl
39131edb0b Core: svo_value Xmlize moved as method for ValueArray, ValueMap
git-svn-id: svn://ultimatepp.org/upp/trunk@4956 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-16 13:18:55 +00:00
rylek
4de30ca17b .Core/ValueUtil.cpp: mysterious VC71 internal errors reappeared, I had to put the compiler version checks back, sorry.
git-svn-id: svn://ultimatepp.org/upp/trunk@4833 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-04-19 22:55:15 +00:00
rylek
b0d3e20017 .Core/ValueUtil.cpp: removed unnecessary compiler version checks
.Core/Socket.cpp: added compiler version check to #include <ws2ipdef.h>

git-svn-id: svn://ultimatepp.org/upp/trunk@4805 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-04-18 08:40:47 +00:00
rylek
40d5d75d1f .Core/ValueUtil.cpp: patch for Value-related code not compilable under VC71
.ide/Builders: bug fix - BRC compilation put PDB file in source tree

git-svn-id: svn://ultimatepp.org/upp/trunk@4696 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-17 13:37:31 +00:00
cxl
c9463db449 *Core: small Value fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@4685 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-12 07:12:13 +00:00
cxl
6de0359a3e *Core: SvoValue: fixed a couple of issues with Null
git-svn-id: svn://ultimatepp.org/upp/trunk@4681 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-11 12:24:20 +00:00
cxl
d52e4a4de3 Core: some Xmlization moved to rich Value types
git-svn-id: svn://ultimatepp.org/upp/trunk@4674 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-10 15:31:06 +00:00
cxl
1d5d024268 Removed DDUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@4655 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-03 23:18:52 +00:00
cxl
3fb212fb7b Core: Jsonize finished
git-svn-id: svn://ultimatepp.org/upp/trunk@4654 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-03 22:59:48 +00:00
cxl
f4f93721a3 Core: Developing Jsonize support for Value
git-svn-id: svn://ultimatepp.org/upp/trunk@4653 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-03 22:12:00 +00:00
cxl
14e78a710a Core: Value support for Xmlize, Jasonize
git-svn-id: svn://ultimatepp.org/upp/trunk@4651 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-03 15:49:28 +00:00
cxl
50e6553d39 .developing SvoValue
git-svn-id: svn://ultimatepp.org/upp/trunk@4647 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-03 10:17:50 +00:00
cxl
71740dc8d6 Core: new Value reintegrated for conditional compilation (SVO_VALUE flag)
git-svn-id: svn://ultimatepp.org/upp/trunk@4495 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-30 14:53:29 +00:00