Marek Roszko
7dee29f70a
Hackfix some cases the IME on windows locks up
...
Asking the IME to cancel when the canvas takes focus fixes the case where:
- Windows input lang set to Chinese
- Input mode set to english instead of chinese
- You spam the M key while launching a sch/pcb from the kicad.exe until the editor opens
- The windows would then normally be frozen
2024-05-25 13:25:10 -04:00
Marek Roszko
03fa632526
Try and fix ifdef again
2024-05-05 18:51:51 -04:00
Marek Roszko
e0b0fb27b0
Fix compile errors
2024-05-05 17:44:44 -04:00
Marek Roszko
8e40482451
Fix ifdefs
2024-05-05 16:06:19 -04:00
Marek Roszko
a9e4b1c56a
Throw "sysinfo" functions into kiplatform for windows.
2024-05-05 15:14:05 -04:00
Alex Shvartzkop
e26778c599
Require Wayland 1.20 libraries.
...
KiCad doesn't build with older versions due to missing definitions.
2024-04-27 16:48:49 +03:00
Marek Roszko
b22bc2737e
Hackfix macOS to keep erc/drc on top
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14356
2024-04-26 00:49:22 -04:00
Marek Roszko
60d5780c1c
Fix win32 proxy parsing when the old IE options for scheme based configuration was set
...
If you uncheck in the old IE options "Use the same proxy server for all protocols", then it returns an annoying string
like http=blah:1232;https=blah:1232;ftp=blah:2321 which we have to parse.
2024-04-25 21:24:58 -04:00
Alex Shvartzkop
463b609993
Disable infinite panning when using XWayland.
...
Cursor warping doesn't work properly in this scenario.
https://gitlab.com/kicad/code/kicad/-/issues/14109
2024-03-12 10:31:23 +03:00
Jan Wichmann
5cdf9fe8a0
Don't show hidden directories and files in the project tree browser
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16207
2024-03-03 16:43:43 +00:00
Johannes Maibaum
15e963bb32
Don't leak blank_cursor on warp (X11)
...
Also, for completeness, unref cur_cursor which we ref'd before hiding
it.
2024-02-29 18:55:28 +00:00
Ian McInerney
d44b04978a
Allow enabling WXTRACE in release builds on all platforms
...
Setting the environment variable KICAD_ENABLE_WXTRACE now enables wx
trace logging on all platforms. MSW still requires its original
environment variables to be set to get the console displayed.
2024-02-02 14:21:33 +00:00
Marek Roszko
8f57a9bcf0
Fix spacemouse version check by pawning it off on wxWidgets
...
Version is a value not a key name. Also the registry returns things in wchars soooo lets just pawn off the encoding mess on wxWidgets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16730
2024-01-24 19:04:50 -05:00
Jon Evans
dda14e68a2
Add macOS required libraries in kiplatform
...
Supersedes 36b0aa60
2023-10-20 11:26:22 -04:00
Alex Shvartzkop
28c72f0cf4
Fix secrets.cpp on Windows.
2023-10-20 18:20:14 +03:00
Seth Hillbrand
5c5a38af21
Update fixes for MacOS
2023-10-20 16:21:31 +02:00
Seth Hillbrand
91f28f84d7
Update MacOS security routines
2023-10-20 16:10:49 +02:00
Seth Hillbrand
d99641be40
ADDED: Git integration support
...
Adds support for project-based git integration, branch support, commit,
revert and updates
Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2023-10-20 12:51:47 +00:00
Mark Roszko
8b7af2b545
Fix broken 3dconnexion driver check
...
It essentially inverted it because version > min_win_version would return true, but then it would be checked against <= 0 which is false
2023-10-13 17:06:44 +00:00
Jeff Young
40ef850bd3
Don't halve indicator icon size on Mac.
2023-10-01 19:01:02 +01:00
Alex Shvartzkop
3c40cb3fd3
Wayland: add global_remove handler, logging.
2023-09-27 18:06:57 +03:00
Alex Shvartzkop
3ee2086f95
Don't freak out when can't warp the pointer.
2023-09-22 05:10:42 +03:00
Clément Saccoccio
a3bc3e138b
Fixed frozen pointer for some GNOME/Wayland installation.
2023-09-21 17:09:50 +00:00
Seth Hillbrand
c497abd8ee
Fix MSW registry key for 3dconnection
...
See discussion at 7af5037ad7 (note_1568602292)
2023-09-21 09:55:11 -07:00
Alex Shvartzkop
b6c0a3f60c
Wayland: slightly better infinite drag release logic.
2023-09-18 17:42:09 +03:00
Alex Shvartzkop
768d4a6782
Wayland: fix cursor warping on KDE and Weston, add logging.
2023-09-18 12:56:54 +00:00
Alex Shvartzkop
c49b19b0ce
Don't set GDK_BACKEND=x11 when EGL is enabled in wx.
2023-09-18 12:56:54 +00:00
Alex Shvartzkop
06463fd35a
Fixes for Wayland cursor warping:
...
- Emulate the mouse position, since no motion events are sent after warp
- Do not call wl_surface_commit to prevent an assert
- Re-organize code a bit
2023-09-18 12:56:54 +00:00
Clément Saccoccio
ad62b165fe
Fixed infinite mouse-drag with fast movement on Wayland.
2023-09-18 12:56:54 +00:00
Alex Shvartzkop
8db400500d
Enable Wayland tricks by default when configured with KICAD_WAYLAND=1.
2023-09-15 00:30:54 +03:00
Alex Shvartzkop
89cb35dc22
Support pointer warping on Wayland.
...
Configure with KICAD_WAYLAND=1
2023-09-15 00:04:36 +03:00
Alex
3e710fe7c9
Wayland: add KICAD_WAYLAND_TRICKS env variable.
2023-09-14 03:54:01 +03:00
Seth Hillbrand
7af5037ad7
Fix version compare for MSW 3D Connexion mouse
2023-08-30 15:10:45 -07:00
Alex Shvartzkop
a9a2d4aa7a
Improve error reporting when running Python action plugins.
...
Python error traceback is now logged to stderr.
On Windows, a console window will pop up if wxTheApp gets destroyed,
because message dialogs crash due to hooks that wxWidgets sets up.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15520
2023-08-29 07:06:11 +03:00
Marek Roszko
726f09f9ad
Add a workaround to Nahimic crapware
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11850
2023-08-17 22:46:22 -04:00
Jon Evans
d2ec4834d9
Fix macOS impl of Valid3DConnexionDriverVersion
2023-07-27 08:30:08 -04:00
Roberto Fernandez Bautista
dadcc70a3d
Partially revert 6cb80422
...
We don't need to touch cmake for anything (avoid confusion for future Devs)
2023-07-24 21:40:06 +00:00
Roberto Fernandez Bautista
6cb804228b
Fix windows build
...
core needs to be linked after wxWidgets + use wide string literals
2023-07-24 22:59:41 +02:00
Seth Hillbrand
9902250f5d
Fix a couple of issues with NAVLIB version checker
...
Need to include core lib in kiplatform for the version functions. Need
to link kiplatform into the navlib library in eeschema to load
2023-07-24 13:55:12 -07:00
Seth Hillbrand
32ad42a435
Add 3dconnexion driver version check
...
Re-enable 3dconnexion driver by default as we are able to gate the
driver versions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13362
2023-07-24 18:09:52 +00:00
Ian McInerney
c26863cc1e
Don't try to enable sequential mode on non-existant files on GTK
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15222
2023-07-18 21:03:28 +01:00
Marek Roszko
c009328c07
Undo accidental commit from some time ago (woops)
2023-07-16 21:54:09 -04:00
Marek Roszko
b0fa2561b6
Add support for enum based policies
2023-07-13 19:01:04 -04:00
Alex Shvartzkop
f8f7b84f13
LTspice import: add LTspice 17.1 Windows library path.
2023-07-12 10:57:30 +05:00
Jeff Young
a66360525a
Broaden "Style footprint fields" to cover graphics as well.
...
Also cleans up the layout of the symbol & fp properties dialogs.
Also fixes the background colour of the link textEdit controls on Mac.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8161
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15152
2023-07-09 12:45:55 +01:00
Jeff Young
4f52c69724
Better path handling for importing LTspice files.
2023-06-26 20:51:16 +01:00
Alex Shvartzkop
3c742c71a0
GTK: Add workarounds for broadway and allow wayland GDK backend.
...
For testing. X11 backend is still used unless GDK_BACKEND=wayland
is set explicitly.
2023-06-13 09:42:20 +03:00
jean-pierre charras
92018f0066
Fix minor compil warnings
2023-06-04 16:24:28 +02:00
Jeff Young
1282e00775
Fix (presumed) stale name in macOS KIPLATFORM::IO.
2023-05-25 11:26:09 +01:00
jean-pierre charras
ff072feeb4
Fix an annoying compil warning on msys2
2023-05-25 11:09:58 +02:00