Commit graph

82 commits

Author SHA1 Message Date
Mirek Fidler
61a952f4d4 CtrlCore: Wayland issues 2025-02-24 10:49:48 +01:00
Mirek Fidler
72c6f634f0 CtrlCore: Fixed CSD Wayland WhenClose issue 2025-02-19 12:14:38 +01:00
Mirek Fidler
7cb6576ba8 CtrlCore: Gtk fixed GDK_LEAVE_NOTIFY cornercase issue 2025-02-13 11:30:16 +01:00
Miroslav Fidler
f43fed09d8 CtrlCore: Fixed problem with WndInvalidate in SD scale 2025-02-07 23:13:29 +01:00
Mirek Fidler
d228a80477 CtrlCore: wayland fixes 2025-02-07 16:03:18 +01:00
Mirek Fidler
96a24dfc2b CtrlCore: Wayland scale factor fixed 2025-02-07 14:21:17 +01:00
Zbigniew Rębacz
511ff1e991
Initial version of GTK Wayland backend (#205)
* Obtaining Gtk backend and runtime and displaying it in About box.

* .fixes

* .csometics

* Initial iteration for GTK on Wayland. Works suprisingly stable.

* Disable X11Utils when Wayland backend detected.

* Cosmetics

* .native

* First iteration of CSD.

* .working

* .working

* Calculating additional window spaced used by CSD.

* Fix max window size problem.

* Fix issue with rendering.

* .refactoring

* Fix splash screen when SSD is enable.

* Fix issue with mouse scrolling when CSD is enable.

* Not ideal fix for no keyboard input in parent window.

* Fix problem with XDisplay compilation and change name of GdkBackend to GtkBackend.

* Introduce new WAYLAND flag.

* Ctrl::GetWndScreenRect() fix for X11.

* Fix to compile on mac

---------

Co-authored-by: Zbigniew Rębacz <zbigniew.rebacz@hotmail.com>
2025-02-02 11:47:32 +01:00
Mirek Fidler
fbeef84f75 CtrlCore: Improvement of Ctrl::WndInvalidateRect 2024-10-14 11:20:57 +02:00
Mirek Fidler
4ff5a68088 CtrlCore: Fixed focus issues with gtk popups 2024-09-07 17:19:51 +02:00
User0755
e3e7f75e98
CtrlCore: Horizontal mouse wheel support using MouseWheelHor() (#192) 2024-02-14 23:10:50 +01:00
Mirek Fidler
943d197a8e uppsrc: Fixed accidental | instead of || 2022-12-26 11:37:44 +01:00
Mirek Fidler
075b16fcd9 uppsrc: Various minor fixes (thanks mrped) 2022-12-11 11:15:52 +01:00
Mirek Fidler
1bc11e08ab ide: Fixed Alt+J on #include <gtk/gtk.h> (pkg_config issue) 2022-11-24 14:58:59 +01:00
mirek-fidler
e8035690b9
libclang ide #94
- Assist/Autocomplete refactored to use libclang

Other minor changes:

- Removed CoWork Pipe
- .dli runtime loading of dynamic libraries now supports path to library in access function
- EditField::SetBackground
- RichTextView::GotoLabel variant with Gate for matching
- RichEdit::GotoLabel variant with Gate for matching
2022-09-16 10:31:14 +02:00
Mirek Fidler
a86d032cc6 Linux implementation 2022-05-14 10:49:36 +02:00
Mirek Fidler
4ede88be20 .removed DDUMPs 2022-03-02 22:04:15 +01:00
Mirek Fidler
21eebae3db Input Method support (Win32, MacOS, Linux) 2022-02-26 18:31:33 +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
07b19701ad CtrlCore: Gtk Refresh refactored to avoid excesive calls to Paint
git-svn-id: svn://ultimatepp.org/upp/trunk@15976 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-03 08:42:24 +00:00
cxl
c1a2d8196d CtrlCore: Pen events are no more compressed
git-svn-id: svn://ultimatepp.org/upp/trunk@15974 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-02 08:51:34 +00:00
cxl
2458666935 CtrlCore: gtk pen support now applies to TOUCHSCREEN too (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15939 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-01 08:15:25 +00:00
cxl
fd9d21d47e CtrlCore: Pen support in Gtk now conditional since 3.22
git-svn-id: svn://ultimatepp.org/upp/trunk@15928 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-21 07:05:16 +00:00
cxl
c2ca222d30 CtrlCore: Fixed issue with Triple mouse events in Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15906 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 08:14:37 +00:00
cxl
48afff1ba0 CtrlCore: Pen barrel support (thanks Tom)
git-svn-id: svn://ultimatepp.org/upp/trunk@15901 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-09 07:04:00 +00:00
cxl
8a51ee94df CtrlCore: Pen support in Linux/Gtk
git-svn-id: svn://ultimatepp.org/upp/trunk@15897 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-05 10:46:11 +00:00
cxl
5ba975ba8a ide: GCC error handling improved
git-svn-id: svn://ultimatepp.org/upp/trunk@15881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-28 15:30:49 +00:00
cxl
948cb9241c CtrlCore: Pen support in linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15872 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-26 14:50:12 +00:00
cxl
26cb0bb284 CtrlCore: Pen support in Gtk
git-svn-id: svn://ultimatepp.org/upp/trunk@15870 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-26 13:55:11 +00:00
cxl
6f50fbf507 CtrlCore: Pen support in Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@15846 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 18:16:22 +00:00
cxl
395b253250 CtrlCore: K_MOUSE_FORWARD / K_MOUSE_BACKWARD in gtk backend
git-svn-id: svn://ultimatepp.org/upp/trunk@15452 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-19 09:42:11 +00:00
cxl
f938957b6e CtrlCore: Fixed some ViewDraw/GTK issues, RichEdit: UHD fixes for image resizing handles
git-svn-id: svn://ultimatepp.org/upp/trunk@14321 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 12:41:42 +00:00
cxl
9a4525ad43 CtrlCore: Fixed warning
git-svn-id: svn://ultimatepp.org/upp/trunk@13910 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-17 10:43:35 +00:00
cxl
dc1fe5bace CtrlCore: gtk3 mt refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@13890 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-15 16:11:57 +00:00
cxl
389bc5421e CtrlLib: X11 ch
git-svn-id: svn://ultimatepp.org/upp/trunk@13878 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-14 09:26:57 +00:00
cxl
ede735a818 CtrlLib: Fixed issue with gtk3 common file selector icons
git-svn-id: svn://ultimatepp.org/upp/trunk@13874 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-13 10:53:08 +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
e0767795e1 CtrlCore: Fixed problem with popups and Alt+Tab (gtk)
git-svn-id: svn://ultimatepp.org/upp/trunk@13626 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-10-03 16:34:05 +00:00
cxl
25deff1aba ide: fixed to compile with CLANG
git-svn-id: svn://ultimatepp.org/upp/trunk@13487 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-11 21:59:43 +00:00
cxl
fa647184c1 ide: fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@13486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-11 21:33:21 +00:00
cxl
3c24ec2580 CtrlCore: Fixed mouseup-event issue in Drag and Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@13046 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-25 22:14:03 +00:00
cxl
62e62583f0 upp.src: Fixed various warnings (GCC 8.2)
git-svn-id: svn://ultimatepp.org/upp/trunk@12866 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-22 07:48:06 +00:00
cxl
6b43285e16 uppsrc: GetTickCount() -> msecs()
git-svn-id: svn://ultimatepp.org/upp/trunk@12590 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-29 13:01:23 +00:00
cxl
d8aebeb694 CtrlCore: Cocoa standard cursors
git-svn-id: svn://ultimatepp.org/upp/trunk@12099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-24 17:43:12 +00:00
cxl
507da5a976 CtrlCore: Developing Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12096 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-24 14:57:38 +00:00
cxl
211388ba36 CtrlCore: Another attempt at solving touchscreen issue
git-svn-id: svn://ultimatepp.org/upp/trunk@11801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-27 08:13:42 +00:00
cxl
b42b1be6e6 Gtk: Attempt at fixing issue with touchscreen MouseMove
git-svn-id: svn://ultimatepp.org/upp/trunk@11795 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-23 18:30:00 +00:00
cxl
c72ca7dee8 CtrlCore: Fixed issue with Ctrl+Shift+1 in GTK
git-svn-id: svn://ultimatepp.org/upp/trunk@11732 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-27 09:31:43 +00:00
cxl
c74642af20 CtrlCore: Improved behaviour of maximaze/close/reopen, now in GTK
git-svn-id: svn://ultimatepp.org/upp/trunk@11226 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-07-12 08:19:04 +00:00
cxl
ce536c5d2f .removed stray DLOG
git-svn-id: svn://ultimatepp.org/upp/trunk@10892 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-01 14:15:18 +00:00
cxl
17edf29f87 CtrlCore: Fixed issue with DisplayPopUp and DnD
git-svn-id: svn://ultimatepp.org/upp/trunk@10886 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-02-28 09:41:34 +00:00