Commit graph

1415 commits

Author SHA1 Message Date
Mirek Fidler
38b6807ff4 CtrlLib: ArrayCtrl::SetLineColor now does refresh if color is different 2021-12-14 21:37:22 +01:00
Mirek Fidler
7edfc57742 CtrlLib: Fixed FileSel icon loading in Win32 2021-12-09 16:29:24 +01:00
Mirek Fidler
22cf499432 upp.src: Various CHARSET_UNICODE->CHARSET_UTF8 changes, FT_fontsys fix, SDL2GL fix 2021-12-05 20:01:27 +01: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
1a71bba7ca CtrlLib: Added missing Prompt variant 2021-11-22 15:44:37 +01:00
Mirek Fidler
69ff6d2dd5 CtrlLib: TreeCtrl subwidgets not appearing after Layout issue fixed 2021-09-30 17:26:32 +02:00
Mirek Fidler
ad0286c827 CtrlLib: Tooltip position improved 2021-09-28 19:14:01 +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
113ba777b4 .removed DDUMPs 2021-09-16 13:32:12 +02:00
Mirek Fidler
88d871be71 Draw, CtrlLib: Win32 Font enumeration changes to W variant 2021-09-16 10:06:50 +02:00
Mirek Fidler
63e8c972b4 CtrlLib: DrawSmartText improvements 2021-09-06 12:38:19 +02:00
cxl
7139fa88ff ide: Undodata matching fortified with hash
git-svn-id: svn://ultimatepp.org/upp/trunk@16037 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-30 16:12:27 +00:00
cxl
be2a2bba5d CtrlLib: LineEdit issue with underline fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@16020 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-07-10 13:53:34 +00:00
cxl
52403f0ff7 CtrlCore/CtrlLib: MacOS conditionals fixed to support Turtle
git-svn-id: svn://ultimatepp.org/upp/trunk@15996 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-15 10:34:04 +00:00
cxl
7768e037ca ide: Error handling improved to understand Win32 CLANG linker errors
git-svn-id: svn://ultimatepp.org/upp/trunk@15990 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-12 16:16:51 +00:00
cxl
10fc7a1e99 CtrlLib: Do not ask again option in Prompts, ide: Compare with now has LRU list
git-svn-id: svn://ultimatepp.org/upp/trunk@15971 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-31 09:00:13 +00:00
cxl
cae105f2b3 CtrlLib: Prompt[Opt] now only stores on OK/Yes (temporary solution)
git-svn-id: svn://ultimatepp.org/upp/trunk@15969 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-27 19:05:55 +00:00
cxl
4332c8903f CtrlLib: 'Do not shot this again' support in Prompt*[Opt]
git-svn-id: svn://ultimatepp.org/upp/trunk@15968 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-27 19:03:45 +00:00
cxl
4956c0a361 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@15949 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-10 14:42:40 +00:00
cxl
88bcec9a99 CtrlLib: Minor fix in TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@15946 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-04 13:53:45 +00:00
cxl
863f4187f0 CtrlLib: Fixed issue with HeaderCtrl QTF support
git-svn-id: svn://ultimatepp.org/upp/trunk@15937 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-28 21:30:46 +00:00
cxl
7cd753b5ae CtrlLib: EditWithSpin option to disable mouse wheel action, Core: String::Find fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-22 16:50:11 +00:00
cxl
0c3aec0927 CtrlLib: ArrayCtrl optimisation of SyncCtrls
git-svn-id: svn://ultimatepp.org/upp/trunk@15931 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-21 11:32:15 +00:00
cxl
d3ef4a549d Core: InFilterStream cleanup, ArrayCtrl: FindColumnsWit...
git-svn-id: svn://ultimatepp.org/upp/trunk@15918 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-17 13:30:59 +00:00
cxl
fa2ed4c909 StdDisplay: Fixed GetStdSize height for Null Value (now 0), ArrayCtrl: Fixed issue with unnecesarry Accepts when clicking outside
git-svn-id: svn://ultimatepp.org/upp/trunk@15914 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-16 16:42:11 +00:00
cxl
bd7553e1f8 ide: LayDes improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@15911 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-13 20:41:16 +00:00
cxl
ebf7b01f7f CtrlLib: HeaderCtrl columns made wider for better UHD support
git-svn-id: svn://ultimatepp.org/upp/trunk@15900 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-08 19:06:04 +00:00
cxl
063f233b39 CtrlLib: Refactored right-aligned EditField behaviour (now stays right-aligned during editation)
git-svn-id: svn://ultimatepp.org/upp/trunk@15883 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-29 11:59:16 +00:00
cxl
96ac08d914 CtrlCore: New Pen supposrt, CtrlLib: Fixed TabCtrl transparency issue, Draw: Improved Upscale2x
git-svn-id: svn://ultimatepp.org/upp/trunk@15867 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-25 18:57:34 +00:00
cxl
3fc6a99646 CtrlLib: ArrayCtrl fix of accept corenercase
git-svn-id: svn://ultimatepp.org/upp/trunk@15864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-24 21:31:30 +00:00
cxl
a5f628fe6d uppsrc: 2020->2021
git-svn-id: svn://ultimatepp.org/upp/trunk@15857 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-19 14:14:08 +00:00
cxl
193d5a44d3 CtrlLib: Font issue fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@15843 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 11:54:54 +00:00
cxl
95fb7897ec Draw, CtrlLib, ide: Fixed problem with GetAveWidth being unreliable
git-svn-id: svn://ultimatepp.org/upp/trunk@15842 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 08:24:08 +00:00
cxl
5da70205df RichText: JPG raw image data is now exported to PDF as JPEG
git-svn-id: svn://ultimatepp.org/upp/trunk@15834 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-11 11:42:56 +00:00
cxl
be2bec3b02 Fixed menu positioning problem
git-svn-id: svn://ultimatepp.org/upp/trunk@15833 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-11 08:11:45 +00:00
cxl
5490db7a7a CtrlLib: ArrayCtrl new optimised r-value Add, TreeCtrl: Fix of DoClick
git-svn-id: svn://ultimatepp.org/upp/trunk@15831 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-10 15:01:05 +00:00
cxl
e4a0ed6c9d CtrlLib: Local menu at point now moves a bit to avoid mouse position, ide: FindInFiles list of folders fixed to avoid all UppHub folders listed
git-svn-id: svn://ultimatepp.org/upp/trunk@15825 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-09 08:55:22 +00:00
cxl
ad0539439a ide: md designer
git-svn-id: svn://ultimatepp.org/upp/trunk@15810 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-04 20:18:53 +00:00
cxl
7593e86a09 CtrlLib: Pusher X11 debugger issue mitigation
git-svn-id: svn://ultimatepp.org/upp/trunk@15802 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-27 15:13:09 +00:00
cxl
237c8e2ed1 CtrlLib: FileSel::DefaultName
git-svn-id: svn://ultimatepp.org/upp/trunk@15797 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-25 00:20:05 +00:00
cxl
e8fd9fcfa5 Switch: Visual glitch of focus fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@15792 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-22 17:39:01 +00:00
klugier
b80a782f26 CtrlLib, Doc: The code font is bigger. Changed from 7 to 9 points.
git-svn-id: svn://ultimatepp.org/upp/trunk@15786 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-20 23:19:51 +00:00
cxl
c2674b214c CtrlLib: Fixed issue with disabled Switch case selection
git-svn-id: svn://ultimatepp.org/upp/trunk@15755 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-10 17:43:24 +00:00
cxl
697f743842 uppsrc: MacOS 11.2 fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@15740 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-02-06 09:35:47 +00:00
cxl
c74bcb2168 CtrlLib: Fixed DateTimeCtrl modifiers to work well with layout designer
git-svn-id: svn://ultimatepp.org/upp/trunk@15695 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-23 08:54:13 +00:00
cxl
924ce00abc CtrlLib: ArrayCtrl minor fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15693 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-22 12:11:04 +00:00
cxl
4d9c6bf031 ide: Fixed issue with help
git-svn-id: svn://ultimatepp.org/upp/trunk@15686 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-20 16:57:54 +00:00
cxl
3727c5fc91 CtrlLib: GUI tutorial updated
git-svn-id: svn://ultimatepp.org/upp/trunk@15652 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-07 10:56:34 +00:00
klugier
c7e3f0ceb3 Doc. CtrlLib: Gui09 tutorial updated to the latest version.
git-svn-id: svn://ultimatepp.org/upp/trunk@15648 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-05 11:36:20 +00:00
cxl
8db3a97c5f ide: upphub improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@15615 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-12-21 12:39:09 +00:00