Commit graph

208 commits

Author SHA1 Message Date
Mirek Fidler
4a140cac04 .cosmetics 2023-03-24 14:30:32 +01:00
Mirek Fidler
24de794907 CtrlCore: Refactored multimonitor support 2023-03-15 15:26:59 +01:00
Mirek Fidler
d783f594ce CtrCore: Fixed problem with packed object attributes Ctrl::CreateAttr method 2023-02-14 11:33:11 +01:00
Mirek Fidler
723c3e716a ide: Disableing libclang after crash now PromptYesNo, canceling build after the new main package is selected 2022-12-28 09:31:53 +01:00
Mirek Fidler
febbbf7f8b uppsrc: Fixed various MSBT warnings 2022-12-11 09:36:58 +01:00
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
41203dc72f benchmarks: conflict resolved 2022-05-20 09:56:45 +02:00
Mirek Fidler
a5563f9322 CtrlLib: ArrayCtrl absolute mode visual issue fixed 2022-05-17 17:38:51 +02:00
Mirek Fidler
84c80d95ff Attributes optimisation 2022-05-01 19:29:59 +02:00
Mirek Fidler
e9d00e6531 Ctrl packed attributes 2022-04-29 18:01:10 +02:00
Mirek Fidler
c7c4d97499 CtrlCore: refactored caret 2022-04-20 10:32:33 +02:00
Mirek Fidler
bd695d2fb1 CtrlCore, CtrlLib: caret handling refactored 2022-04-19 18:04:42 +02:00
Mirek Fidler
2ebd16b1a1 optimizing Ctrl::Top, LabelBase 2022-04-18 15:03:38 +02:00
Mirek Fidler
2ae9a6f100 CtrlCore: sizeof(Ctrl) optimisation - GetParent 2022-04-13 17:51:49 +02:00
Mirek Fidler
f2a3723483 CtrlCore: sizeof(Ctrl) reduction - Frame 2022-04-13 16:21:16 +02:00
Mirek Fidler
a78517a671 CtrlCore: Refactored child tree structure to save 8 bytes in Ctrl 2022-04-12 11:31:31 +02:00
Mirek Fidler
b97ddd71ed CtrlCore: Ctrl::exitcode removed (4 bytes saved..) 2022-04-12 09:39:10 +02:00
Mirek Fidler
59c095e344 Refactored Ctrl texts 2022-04-11 18:42:26 +02:00
Mirek Fidler
2db6c3dfd9 Fixed Unicode__ clipboard issue 2022-04-11 13:05:51 +02:00
Mirek Fidler
01119b24bd CtrlCore: Different solution to C++20 enum issues 2022-04-11 11:27:13 +02:00
Mirek Fidler
dfb033bb7a uppsrc: C++20 compatibility 2022-04-08 17:02:39 +02:00
Mirek Fidler
21eebae3db Input Method support (Win32, MacOS, Linux) 2022-02-26 18:31:33 +01:00
Mirek Fidler
198e8114a6 CtrlCore: Ctrl::GetEventLevel 2021-12-05 10:03:47 +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
cxl
b8c65f9026 CtrlCotr: Mouse hold events fixed (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15903 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 07:52:16 +00:00
cxl
e83294f0a7 CtrlCore: Pen support
git-svn-id: svn://ultimatepp.org/upp/trunk@15896 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-04 21:40:39 +00:00
cxl
d15c477675 Pen support
git-svn-id: svn://ultimatepp.org/upp/trunk@15894 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-04 16:55:30 +00:00
cxl
b0ba61c847 CtrlCore: Another attempt at Pen integration
git-svn-id: svn://ultimatepp.org/upp/trunk@15891 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-02 09:42:01 +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
20df534903 CtrlCore: Window Ink support
git-svn-id: svn://ultimatepp.org/upp/trunk@15844 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 14:06:35 +00:00
cxl
b43185fc1e CtrlCore: Pen attributes (pressure etc..) support in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@15827 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-09 11:01:57 +00:00
cxl
a01614cb42 ide: cosmetics, GridCtrl: Selection refactored to follow spreadsheet model
git-svn-id: svn://ultimatepp.org/upp/trunk@15558 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-12-01 13:03:42 +00:00
cxl
a5a3b685f6 CtrlCore: for(Ctrl& q : widget) now possible
git-svn-id: svn://ultimatepp.org/upp/trunk@15470 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-20 09:36:17 +00:00
cxl
896d3a6876 CtrlCore: Mouse forward/backward buttons support in Win32 (K_MOUSE_FORWARD, K_MOUSE_BACKWARD)
git-svn-id: svn://ultimatepp.org/upp/trunk@15451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-19 09:28:01 +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
0af98b4d73 CtrlCore: RectTracker improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-12 13:30:54 +00:00
cxl
85702ae3b9 CtrlCore: gtk3 DrawImage optimization, DragRect cleanup
git-svn-id: svn://ultimatepp.org/upp/trunk@14345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-21 16:24:39 +00:00
cxl
0e9328d1de CtrlCore: Refactoring RectTracker to avoid using ViewDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@14320 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 12:17:41 +00:00
cxl
15b5955449 CtrlCore: MacOS theoretical TopFrameDraw implementation (does not work because of MacOS issue)
git-svn-id: svn://ultimatepp.org/upp/trunk@14318 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 20:32:48 +00:00
cxl
5760700aee CtrlCore: ViewDraw with Rect parameter in X11 and Gtk3 backends
git-svn-id: svn://ultimatepp.org/upp/trunk@14316 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 16:21:10 +00:00
cxl
240cb33e59 CtrlCore: Fixed issue with default skin
git-svn-id: svn://ultimatepp.org/upp/trunk@14312 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-15 11:38:25 +00:00
cxl
5ab308359d debugger improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14187 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-25 14:46:09 +00:00
cxl
e137b53a2d CtrlCore, CtrlLib: Modify flag refactored, dark mode improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-14 08:55:57 +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
07fd025eef CtrlCore: Fixed scaling of DnD drag icon
git-svn-id: svn://ultimatepp.org/upp/trunk@13894 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-15 20:07:33 +00:00
cxl
b96cd775e0 uppsrc: gtk3 replaces gtk2 as default linux backend
git-svn-id: svn://ultimatepp.org/upp/trunk@13848 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-10 09:18:10 +00:00
cxl
f60df0f17a ide: PDB tree now showing pointer arrays
git-svn-id: svn://ultimatepp.org/upp/trunk@13761 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-12-13 17:53:59 +00:00
cxl
d291b62c35 CtrlCore: Ctrl::GetAscendant
git-svn-id: svn://ultimatepp.org/upp/trunk@13756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-12-12 13:07:50 +00:00
cxl
b769743e04 CtrlCore: Gtk GUI_APP_MAIN now correctly handles exceptions
git-svn-id: svn://ultimatepp.org/upp/trunk@13534 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-08-12 15:03:01 +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