Commit graph

54 commits

Author SHA1 Message Date
Mirek Fidler
ac0504c1b7 Core: FileMapping refactored 2024-04-10 10:29:08 +02:00
Mirek Fidler
9a5ad84ec0 Core: Minor refactoring of FileStream 2024-04-07 09:49:39 +02:00
Mirek Fidler
4a99d79cb7 Core: GetFileTime, GetFileLength, FileExists, DirectoryExists functions refactored, FileMapping improved 2024-03-25 12:10:20 +01:00
Mirek Fidler
05c83a9577 Core: IsEqualBySerialize now using CompareStream, optimised serialisation of Vector<fundemental type> with SerializeRaw 2022-08-16 16:23:05 +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
cxl
a16a9b0e44 Core: Stream::Set|GetVersion
git-svn-id: svn://ultimatepp.org/upp/trunk@16023 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-18 16:21:52 +00:00
cxl
6fca987969 uppsrc: Fixing GCC 10.2. warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@15182 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-01 08:03:33 +00:00
cxl
2d9df592b2 Core: Fixed issue with bool serialization
git-svn-id: svn://ultimatepp.org/upp/trunk@15020 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-12 08:39:41 +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
fc4dfce19e Core: Peek, Poke, Stream: Get16, 32, 64 optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@14440 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-08 13:55:42 +00:00
cxl
820ce4a2aa CtrlCore: Fix of serialization on armhf, ide: lxde terminal support
git-svn-id: svn://ultimatepp.org/upp/trunk@14414 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-01 10:45:02 +00:00
cxl
e32bd9395a Core: .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13041 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-24 06:34:39 +00:00
cxl
74d60026ee uppsrc: Undefined Behaviour sanitization
git-svn-id: svn://ultimatepp.org/upp/trunk@13032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-23 07:59:06 +00:00
cxl
822cfb6bce uppsrc: Removed flagSO #ifdefs (actually to make SO compilation possible)
git-svn-id: svn://ultimatepp.org/upp/trunk@12997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-14 08:34:13 +00:00
cxl
e1b27cb1f4 Core: CopyStream improved
git-svn-id: svn://ultimatepp.org/upp/trunk@12202 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-28 07:48:06 +00:00
cxl
dcaef5c6ee Core: Fixed problem with OutStream destructor
git-svn-id: svn://ultimatepp.org/upp/trunk@11486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-20 10:10:19 +00:00
cxl
143b86293f Core: OutStream Close now calls Flush
git-svn-id: svn://ultimatepp.org/upp/trunk@11483 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-19 16:44:23 +00:00
cxl
28efdebbd1 Core: ReadSecret (thanks Oblivion)
git-svn-id: svn://ultimatepp.org/upp/trunk@11238 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-07-15 09:05:42 +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
33238140d3 Stream::GetErrorText
git-svn-id: svn://ultimatepp.org/upp/trunk@10201 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-09-06 15:35:06 +00:00
cxl
3cd69c6412 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@10130 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-01 09:59:58 +00:00
cxl
220f751a03 Core: Optimized OutStream, removed DDUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@10032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-12 12:21:46 +00:00
cxl
7519e94105 Removed DDUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@10010 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-05 19:49:01 +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
df1784c992 Core: SizeStream
git-svn-id: svn://ultimatepp.org/upp/trunk@9987 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-28 14:46:36 +00:00
cxl
37762af597 Core: SizeStream fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@9986 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-28 13:13:37 +00:00
cxl
30a1c1ebd9 Core: InFilterStream optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@9984 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-28 13:04:56 +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
70efacb472 Core: SerializeRaw now has 64-bit size
git-svn-id: svn://ultimatepp.org/upp/trunk@9788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-03 20:59:38 +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
2c5482f4ab Core: FileMapping now using size_t instead of dword where appropriate
git-svn-id: svn://ultimatepp.org/upp/trunk@8814 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-17 11:20:03 +00:00
cxl
4a35689216 plugin/lz4
git-svn-id: svn://ultimatepp.org/upp/trunk@7801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-10-20 15:43:18 +00:00
cxl
133b39d8e4 Core: CoutUTF8, ide: UTF8 console capture
git-svn-id: svn://ultimatepp.org/upp/trunk@7717 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-22 12:36:44 +00:00
cxl
a06b37b77a Some warnings fixed, MYSQL: Fixed decimal issue
git-svn-id: svn://ultimatepp.org/upp/trunk@7558 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-08-01 15:09:14 +00:00
cxl
271bfe9c7f CtrlLib: LineEdit::Load, Save optimized, Core: Stream::GetSzPtr
git-svn-id: svn://ultimatepp.org/upp/trunk@7519 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-18 11:01:20 +00:00
cxl
fa9b75e082 CtrlLib: ToolButton fixed initial tip iissue
git-svn-id: svn://ultimatepp.org/upp/trunk@6925 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-16 18:24:28 +00:00
cxl
cc2668b9e6 Core: Zlib Stream operations refactored (>2GB streams support)
git-svn-id: svn://ultimatepp.org/upp/trunk@6668 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-17 19:40:23 +00:00
cxl
6fc64a1443 Core: Stream::GetPtr
git-svn-id: svn://ultimatepp.org/upp/trunk@5843 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-20 08:27:48 +00:00
cxl
156acf2cbd Core: FilterStream
git-svn-id: svn://ultimatepp.org/upp/trunk@5830 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-19 09:32:42 +00:00
cxl
02544bc7ac Core: Stream support for memory blocks >2GB
git-svn-id: svn://ultimatepp.org/upp/trunk@5824 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-18 10:55:25 +00:00
cxl
db064f8695 uppsrc: Fixed some clang warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@5808 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-15 18:22:42 +00:00
cxl
8079a3b6df *CtrlCore: gtk fixed underline issue
git-svn-id: svn://ultimatepp.org/upp/trunk@5745 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-01-28 19:37:56 +00:00
cxl
0fac8a45ff .Core/SSL
git-svn-id: svn://ultimatepp.org/upp/trunk@4766 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-04-09 17:55:28 +00:00
cxl
8f1f87645e Core: Refactored Stream interface (dword->int), fixed LauchWebBrowser for certaion situations (thanks Koldo)
git-svn-id: svn://ultimatepp.org/upp/trunk@4759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-04-08 14:44:03 +00:00
cxl
bfb134f5e4 Core: FileAppend now uses NOWRITESHARE
git-svn-id: svn://ultimatepp.org/upp/trunk@4643 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-02 12:56:49 +00:00
cxl
7a3af47051 Core: FileStream NOWRITESHARE implemented for Linux,BSD using flock
git-svn-id: svn://ultimatepp.org/upp/trunk@4641 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-02 12:51:32 +00:00
cxl
6ade22475d Core: FileOut now uses NOWRITESHARE to enforce exclusive access to the file
git-svn-id: svn://ultimatepp.org/upp/trunk@4640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-03-02 12:01:16 +00:00
cxl
d5291b7d48 *uppsrc: Fixed many GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@4457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 14:24:31 +00:00
cxl
82ffff32ad Core: Fixed compatibility of binary serialization GCC vs MSC (dword definition issue)
git-svn-id: svn://ultimatepp.org/upp/trunk@3637 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-10 21:32:12 +00:00