Commit graph

91 commits

Author SHA1 Message Date
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
ac77bc500e Atof now does not consider ',' as decimal point 2021-11-08 17:59:38 +01:00
cxl
8326c177a0 Core: global t_ removed again...
git-svn-id: svn://ultimatepp.org/upp/trunk@15820 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-07 09:15:26 +00:00
cxl
2d2ec310a7 Core: Added global t_, tt_ (to fix layout issue)
git-svn-id: svn://ultimatepp.org/upp/trunk@15819 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-07 09:11:00 +00:00
cxl
636a15bedb ide: BlitzReset now done also after installing package or syncing repo
git-svn-id: svn://ultimatepp.org/upp/trunk@15788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-21 16:25:00 +00:00
cxl
53c61a22e0 ide: Merge nests function
git-svn-id: svn://ultimatepp.org/upp/trunk@15787 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-21 12:26:11 +00:00
cxl
025c618f08 umk2: Fixed umk32
git-svn-id: svn://ultimatepp.org/upp/trunk@15747 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-07 18:11:44 +00:00
cxl
df5b42fa93 Core: leaks check disabled in MacOS
git-svn-id: svn://ultimatepp.org/upp/trunk@15742 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-06 18:51:23 +00:00
cxl
6f1bb82054 Core: SizeBySerialize
git-svn-id: svn://ultimatepp.org/upp/trunk@14892 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-24 16:44:35 +00:00
cxl
e035de2dbb Core: Developing NEON SIMD
git-svn-id: svn://ultimatepp.org/upp/trunk@14701 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-27 15:19:32 +00:00
cxl
fbe29338b0 Core: CPU_NEON flag
git-svn-id: svn://ultimatepp.org/upp/trunk@14689 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-20 13:09:11 +00:00
cxl
a7cae97172 ide: Parsing fix
git-svn-id: svn://ultimatepp.org/upp/trunk@14660 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-05 11:10:26 +00:00
cxl
b8598982eb Core: SIMD
git-svn-id: svn://ultimatepp.org/upp/trunk@14650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-03 07:29: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
9a82b14059 Core: ValueCache
git-svn-id: svn://ultimatepp.org/upp/trunk@14573 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-09 14:55:33 +00:00
cxl
c6d84d2fd1 ide: GCC builder removed PLATFORM #ifdefs where possible
git-svn-id: svn://ultimatepp.org/upp/trunk@14542 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-04 08:28:00 +00:00
cxl
4c9cf3cd3f Draw: ImageScale fixed, uppsrc: various minor fixes related to Mem.h
git-svn-id: svn://ultimatepp.org/upp/trunk@14497 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-24 08:40:20 +00:00
cxl
fdfa8dcf23 SSE related includes reorganized
git-svn-id: svn://ultimatepp.org/upp/trunk@14492 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 11:10:22 +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
4effe2c141 Core: MacOS now using UPP_HEAP (but not for new/delete)
git-svn-id: svn://ultimatepp.org/upp/trunk@14050 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-20 11:14:58 +00:00
cxl
703647d322 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13971 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-06 16:26:23 +00:00
cxl
44f61e2e22 CtrlLib: FileSel: Fixed problem with unreadable folder in MacOS
git-svn-id: svn://ultimatepp.org/upp/trunk@13950 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-28 15:25:04 +00:00
cxl
58e0fdebaf uppsrc: docs & removed #ifdef MTs
git-svn-id: svn://ultimatepp.org/upp/trunk@13925 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-21 10:05:16 +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
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
e74b39fb51 Core: TIMING improvements, usecs (microseconds precision time), ide: Debugger now underlines main thread
git-svn-id: svn://ultimatepp.org/upp/trunk@12499 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-11 07:33:21 +00:00
cxl
e9b8fe3453 CtrlCore: Coco WakeupGuiThread, fixed Semaphore
git-svn-id: svn://ultimatepp.org/upp/trunk@12147 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-05 09:13:09 +00:00
cxl
a7a271b1fa . Core: macos config
git-svn-id: svn://ultimatepp.org/upp/trunk@12071 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-16 09:32:39 +00:00
cxl
b0ad922a70 Core: xmmintrin.h include moved to Mt.cpp to resolve SDL2 incompatibility
git-svn-id: svn://ultimatepp.org/upp/trunk@11676 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-10 09:50:10 +00:00
cxl
b545ba2ae2 Core: #include <xmmintrin.h>
git-svn-id: svn://ultimatepp.org/upp/trunk@11640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-12-30 15:55:08 +00:00
cxl
a69fd4e112 Core: Utf (8, 16, 32) support
git-svn-id: svn://ultimatepp.org/upp/trunk@11139 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-05 15:44:51 +00:00
cxl
a369622110 Core: MSC compile fix with GDAL
git-svn-id: svn://ultimatepp.org/upp/trunk@10907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-06 17:44:24 +00:00
cxl
391f8de147 Core: C++11 #error moved to Core.h so that Core/config.h can be used in C files
git-svn-id: svn://ultimatepp.org/upp/trunk@10903 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-06 11:07:02 +00:00
cxl
7063d4d9e1 Core: Atof (comma safe atof)
git-svn-id: svn://ultimatepp.org/upp/trunk@10764 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-26 08:24:21 +00:00
cxl
f2cf0d158a upp.src: Single threaded mode removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10688 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-09 22:36:31 +00:00
cxl
44037d6a0c 'Event' branch merged into trunk (Callback now deprecated)
git-svn-id: svn://ultimatepp.org/upp/trunk@10260 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:15:05 +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
8f11c6f135 Core: Huge class
git-svn-id: svn://ultimatepp.org/upp/trunk@10006 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-04 08:02:22 +00:00
cxl
ac76a6a794 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9829 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-14 05:21:49 +00:00
cxl
f3d6ed7574 Core: abs removed
git-svn-id: svn://ultimatepp.org/upp/trunk@9828 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-14 05:19:45 +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
4e42bc1693 Core: GCC Leak detection altered
git-svn-id: svn://ultimatepp.org/upp/trunk@9243 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-29 11:30:26 +00:00
cxl
e56c370dac ide: Fixed ALT+I issue with empty result #1213
git-svn-id: svn://ultimatepp.org/upp/trunk@8922 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-14 11:36:28 +00:00
cxl
fed3d83480 CtrlLib: Oxygen KDE theme fixed #779
git-svn-id: svn://ultimatepp.org/upp/trunk@8194 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-23 09:54:33 +00:00
cxl
58987678bc Core: #include <function> (thanks dolik!), LineEdit: RectSel sort, Paste in column repeats pattern, zero width rectsel visuals
git-svn-id: svn://ultimatepp.org/upp/trunk@7770 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-10-12 12:09:51 +00:00
cxl
571a56aaff Core: Fixed console CP issues (in Cout and LocalProcess)
git-svn-id: svn://ultimatepp.org/upp/trunk@7693 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-15 17:46:12 +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
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
0d748e6e59 Core: abs/fabs issue #663
git-svn-id: svn://ultimatepp.org/upp/trunk@6816 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-01-27 08:56:28 +00:00
cxl
bed93110d7 Core: Heap enhancements, NanoStrings, Fixed*Map, fix in Socket - non-ASCII char < 0 issue
git-svn-id: svn://ultimatepp.org/upp/trunk@6661 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-17 13:05:36 +00:00