Commit graph

104 commits

Author SHA1 Message Date
Mirek Fidler
1963f36e44 CtrlCore: GTK Fixed problem with modifier keys 2026-01-14 19:32:05 +01:00
Mirek Fidler
ab06ca0c7f CtrlCore: GDK ScreenRect / Configure refactored 2026-01-09 09:28:17 +01:00
Mirek Fidler
9fa409d938 .cosmetics 2026-01-09 07:59:09 +01:00
Mirek Fidler
92f7eced8b Refactoring GetScreenRect 2026-01-08 23:54:01 +01:00
Mirek Fidler
04f70823db Improving custom titlebar 2026-01-04 11:40:38 +01:00
Mirek Fidler
4a107c865a almost there 2026-01-03 14:05:22 +01:00
Mirek Fidler
48398fad7e almost there 2026-01-03 10:28:30 +01:00
Mirek Fidler
3305f782e9 Fixed DisplayPopup related issue 2026-01-02 18:51:52 +01:00
Mirek Fidler
67d4e1578f .DDUMPS 2025-12-28 12:49:54 +01:00
Mirek Fidler
ae8a9b5ef5 cosmetics 2025-12-28 12:45:24 +01:00
Mirek Fidler
7226b132a0 capture problem solved (?) 2025-12-28 11:19:40 +01:00
Mirek Fidler
e25b1a747e Merged, some bugs fixed 2025-12-27 19:08:31 +01:00
Mirek Fidler
173f77b68b Fixed window states, refresh / mousepos when going minimized -> maximized 2025-12-27 13:00:27 +01:00
Mirek Fidler
c3fd505c3b Clip restored 2025-12-26 13:13:01 +01:00
Mirek Fidler
58aea95632 WndPos problem fixed 2025-12-26 09:56:57 +01:00
Mirek Fidler
286cf4aad4 getting better 2025-12-25 10:02:02 +01:00
Mirek Fidler
e1b2f441e0 GETTING CLOSER 2025-12-24 16:14:08 +01:00
Mirek Fidler
ded76453b7 Changing things 2025-12-23 15:06:59 +01:00
Mirek Fidler
8ea9fd9c31 titlebar hell 2025-12-22 10:11:12 +01:00
Mirek Fidler
51df22c833 pokrokokrok 2025-12-17 17:37:22 +01:00
Mirek Fidler
3d11402657 CSD horrors 2025-12-16 19:27:48 +01:00
Mirek Fidler
902aa8ca79 csd issues... 2025-12-12 11:05:28 +01:00
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