Jon Evans
c4c1842bc4
API: Add new user layers
...
See https://gitlab.com/kicad/code/kicad-python/-/issues/23
2025-02-24 19:27:13 -05:00
Jon Evans
0ca9791577
Fix some GCC build warnings
2025-02-14 22:20:20 -05:00
Jon Evans
3bdf82aea7
Python: switch to arg arrays for launch
...
Fixes Python when there are spaces in interpreter path
2025-02-11 12:14:25 -05:00
Jon Evans
290dc417d9
API: Change macOS raise mechanism
...
Other mechanism didn't work universally
2025-02-10 17:55:24 -05:00
Jon Evans
ec405f02f8
Fix build on linux
2025-02-03 20:48:25 -05:00
Jon Evans
29b2c79f0a
API: Clean up orphaned sockets
2025-02-03 18:56:55 -05:00
Jon Evans
71353b11f1
API: Make sure socket is cleaned up
2025-01-21 19:53:02 -05:00
Jon Evans
7993daecf0
Don't use stdout monitor for actions
2025-01-18 10:23:10 -05:00
Jon Evans
17c746c00a
Make Windows hacks dependent on using KiCad-shipped interpreter
2025-01-11 12:24:44 -05:00
Jon Evans
25e7b29ad1
Fixup 37d0d5f1
to pass env vars correctly
2025-01-11 12:24:44 -05:00
Jon Evans
37d0d5f118
Use PYTHON_MANAGER to launch actions and capture trace output
2025-01-11 11:47:08 -05:00
Jon Evans
d9e1d3725e
Do not try to install source packages in python environments
2025-01-10 21:51:49 -05:00
Jon Evans
31cce8930a
Fix conflict with Windows API
2025-01-07 19:22:10 -05:00
Jon Evans
08f866fae1
Hide console on Windows when launching actions
2025-01-06 18:13:05 -05:00
Jon Evans
3f7e459d62
API: add a schema for plugin config files
...
Also flip the dependence between json_schema_validator and kicommon,
and create a shared JSON_SCHEMA_VALIDATOR so that we don't have to
copy/paste the schema loading code as much
2025-01-05 17:08:33 -05:00
Jon Evans
1fa432b029
API: add GetKiCadBinaryPath
2025-01-04 10:14:17 -05:00
Jon Evans
1a1120435f
Rework how Python processes are launched
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19465
2025-01-03 17:21:03 -05:00
Jon Evans
89a50a3dcf
Fix some issues calling Python on Windows systems
2025-01-02 22:45:24 -05:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Jon Evans
2c56e9826a
API: Add serialization for netclasses
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18609
2024-12-30 23:29:29 -05:00
Jon Evans
1a3e18104a
API: Add access to project text variables
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16426
2024-12-30 09:32:11 -05:00
Jon Evans
2c94684f9f
API: Add a preferred plugin settings path
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9054
2024-12-28 16:21:05 -05:00
Jon Evans
3ebe124ae7
API: Add a mechanism to recreate Python environments
2024-12-20 17:07:09 -05:00
Jon Evans
83984dd207
API: pip should prefer binary wheels when available
2024-12-20 16:43:32 -05:00
Jon Evans
545c771fd6
API: Search PCM and system paths for plugins too
2024-12-16 23:06:55 -05:00
Jon Evans
6a48e2c35a
Use explicit this in capture
2024-12-15 19:48:56 -05:00
Jon Evans
9eda526871
API: Show API actions alongside SWIG action plugins in preferences
2024-12-14 18:00:07 -05:00
Jon Evans
c24103e259
API: logging and logic improvements to Python dep management
2024-12-10 19:02:50 -05:00
Jon Evans
96536f380d
API: refactor handlers to be slightly less verbose
2024-12-08 20:23:11 -05:00
Jon Evans
98ae574c78
API: Add PCB editor visible and active layer setters/getters
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18268
2024-12-03 21:17:48 -05:00
Jon Evans
8ff3ef5fd5
API: Add ExpandTextVariables
2024-11-28 19:21:18 -05:00
Jon Evans
7168364445
API: Include textbox border in GetTextAsShapes
2024-11-28 18:17:59 -05:00
Jon Evans
0d7588bdfb
API: Improve handling of compound shapes
2024-11-28 17:58:23 -05:00
Jon Evans
523fcc039f
API: Move trace macro to utils
2024-11-28 11:28:06 -05:00
Jon Evans
3129e072c4
API: Move graphics and text handling to common
...
Required moving API_HANDLER_COMMON out of kicommon
2024-11-28 11:28:06 -05:00
Jon Evans
07f0b096ba
API: Move graphic shapes to common
2024-11-26 18:55:20 -05:00
Jon Evans
c0d43c0c0c
API: Add serialization of FP_3DMODEL
2024-11-24 15:53:10 -05:00
Jon Evans
62df972c2d
API: implement serialization for ZONE
2024-11-23 11:04:34 -05:00
Jon Evans
033fb4fc8f
API: Add GetBoundingBox and Box2
2024-11-19 22:09:00 -05:00
James J
7ce00e511b
Multi-netclass support
2024-07-26 20:49:29 +00:00
Alex Shvartzkop
41c4bd58ba
Fix warnings.
2024-04-20 20:09:17 +03:00
Jeff Young
95136494b3
RIP LIB_PIN.
2024-04-20 12:10:31 +01:00
Jeff Young
d761b4f22f
RIP LIB_TEXTBOX and LIB_SHAPE.
2024-04-16 16:31:16 +01:00
Jeff Young
3efe504dcc
Collapse LIB_TEXT into SCH_TEXT.
2024-04-16 16:31:16 +01:00
Jon Evans
02ec894b83
Remove LIB types from API for now
...
All with the possible exception of LIB_SYMBOL are going away
2024-04-13 15:03:34 -04:00
Jeff Young
d77eae3e7e
Collapse LIB_FIELD into SCH_FIELD.
2024-04-13 15:42:13 +01:00
Jon Evans
7baccba01c
Coverity fixes
2024-04-05 08:16:29 -04:00
Jon Evans
aff2d5c0d3
Factor out SHAPE_LINE_CHAIN utilities
2024-04-04 18:55:58 -04:00
Jon Evans
9c113b25a4
Allow turning the API server on/off at runtime
2024-04-03 22:04:11 -04:00
Jon Evans
75b61956e9
Fix Windows name collision
2024-04-02 20:06:36 -04:00