Niko Savola
3a80b9d5ad
Set indentation to 2 spaces in .tclint.toml
2025-12-08 17:59:23 +02:00
copilot-swe-agent[bot]
c4ce56872f
Add explicit permissions to Tcl lint workflow
...
Added explicit 'contents: read' permission to the workflow to follow
security best practices and address CodeQL security alert.
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:27:05 +00:00
copilot-swe-agent[bot]
96445f754c
Split multi-command lines for better readability
...
Addressed code review feedback to improve readability by splitting
if-statements that had multiple commands on a single line.
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:25:18 +00:00
copilot-swe-agent[bot]
5838ac960d
Add Tcl linting documentation to README
...
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:22:43 +00:00
copilot-swe-agent[bot]
5e5ad7f50c
Add Tcl linting and formatting with tclint/tclfmt
...
- Added .tclint.toml configuration file
- Formatted all Tcl files with tclfmt (except src/xschem.tcl which has parsing issues)
- Fixed all trailing whitespace and formatting issues
- Created GitHub workflow to run tclint and tclfmt on CI
- Excluded src/xschem.tcl from linting due to parser limitations
- Configured line-length to 180 characters to accommodate long Tcl command chains
- Disabled command-args and unbraced-expr rules (legacy code style)
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:21:25 +00:00
copilot-swe-agent[bot]
01f43547a7
Initial plan
2025-12-08 13:10:28 +00:00
stefan schippers
688f5fd128
spectre_netlist.c: rename some static vars for clarity and to avoid name clashes with spice_netlist.c
2025-12-02 01:55:16 +01:00
stefan schippers
a61f2cba2a
fix arbitrary widths in shapes, add "xschem get change_lw", "xschem get min_lw", "xschem set change_lw", cached tcl var "change_lw" into xctx->change_lw
2025-12-01 10:11:19 +01:00
stefan schippers
6bea824fdc
fixes in veriable line width drawing routines
2025-11-30 23:13:38 +01:00
stefan schippers
b628d66e8f
arbitrary box widths (and some fixes on wire widths)
2025-11-29 14:36:15 +01:00
stefan schippers
f25b40861c
allow arbitrary widths (via ex. bus=5.0 attr) on wires
2025-11-29 00:47:46 +01:00
stefan schippers
8da982999a
allow arbitrary widths (with ex. bus=3.5 attr) for arcs / circles
2025-11-28 13:31:45 +01:00
stefan schippers
7216c54f57
allow arbitrary widths of polygons (with attr bus=5.0)
2025-11-27 22:03:10 +01:00
stefan schippers
b67ee6a6b8
removed unused var new_file_browser_paths
2025-11-26 17:39:22 +01:00
stefan schippers
cf7a74bc99
transform get_attr_val() to return a double instead of an int, use -1.0 for "bus" attribute, otherwise use positive double values to indicate actual line widths. This allows specifying custom widths in the future, but still maintaining compatibility with bus=1. "bus" struct members are thus doubles now
2025-11-26 14:07:54 +01:00
stefan schippers
86ec0d567f
remove commented out code
2025-11-25 22:27:50 +01:00
stefan schippers
d8fb5b1480
added bus (cached from attr) member in Polygon struct for efficiency
2025-11-25 15:25:42 +01:00
StefanSchippers
179a1502ae
Merge pull request #434 from arpadbuermen/master
...
fixed a bug in analyses library
2025-11-20 09:50:09 +01:00
Árpád Bűrmen
bccade18a6
fixed a bug in analyses library
2025-11-19 14:03:56 +01:00
stefan schippers
369fac66a9
added raw file expression functions deriv2() and deriv20() (3-point derivatives)
2025-11-16 19:58:50 +01:00
stefan schippers
1799334a43
proc key_binding: add Button=Press-4 and Button-Press-5 in $state variable
2025-11-16 15:58:21 +01:00
stefan schippers
58c33e48aa
fix some redundant code in "xschem raw new comand"
2025-11-16 15:22:15 +01:00
stefan schippers
98395824bc
floater=1 in text elements assumed as floater=true to avoid referencing instance no.1. Texts with @params will go thru translation using parent level param assignments in translate()
2025-11-12 17:44:55 +01:00
stefan schippers
e97a75f65a
do not consider "@spice*" texts in symbol bbox calculation (annotator texts)
2025-11-11 16:55:39 +01:00
stefan schippers
ce9e8fd3c1
added vertical scrollbar in text object editprop
2025-11-10 23:56:35 +01:00
stefan schippers
0318905a25
improve tclcmd_ok procedure
2025-11-10 18:55:44 +01:00
stefan schippers
08607afacc
correct "type" attr of cccs.sym and ccvs.sym
2025-11-07 11:48:02 +01:00
stefan schippers
f3457e0f19
cleanup double (or more) slashes in pathlist when parsing XSCHEM_LIBRARY_PATH
2025-11-03 12:21:48 +01:00
stefan schippers
e0a9073d46
xctx->menu_removed, tcl vars fullscreen toolbar_visible are shared by all tabs in tabbed interface, so make their values unique; install diff_amp.va (was missing in install script)
2025-11-02 23:27:04 +01:00
stefan schippers
72ac35a7c8
fullscreen functionality: propagate xctx->menu_removed when creating new windows / tabs
2025-11-02 18:21:00 +01:00
stefan schippers
56aa1a6a27
fullscreen will again remove menubar (was always shown after menu refactoring)
2025-11-02 16:51:29 +01:00
stefan schippers
1b1ea85e50
schematic example aesthetic editings
2025-11-02 12:38:27 +01:00
stefan schippers
730b951b37
smaller threshold for mouse movement to abort click&drag move operation
2025-11-02 11:19:15 +01:00
stefan schippers
a41d142562
do not show "already open" warning if re-opening same schematic in same window/tab; new_file_browser: "Save current window" button will ask where to save, to avoid dangerous overwrites
2025-11-02 10:23:58 +01:00
stefan schippers
aa240c4244
xschem table_read (not the recommended xschem raw table_read): set raw->sim_type to "table"
2025-11-01 23:04:23 +01:00
stefan schippers
eae8c2772a
fix regression (no check for null raw->sim_type), allow quoted table titles in table_read()
2025-11-01 22:43:48 +01:00
stefan schippers
ba020c243e
propagate changes for arcs with negative b angle to svgdraw and psprint
2025-11-01 02:08:17 +01:00
stefan schippers
442436a8aa
another fix find_closest_arc() if arc was saved with negative "b" angle
2025-10-30 01:53:00 +01:00
stefan schippers
1c1edfe159
redo fix arc_bbox() if arc was saved with negative "b" angle
2025-10-30 01:45:20 +01:00
stefan schippers
3fcc5cdfc6
fix find_closest_arc() and arc_bbox() if arc was saved with negative "b" angle
2025-10-30 01:12:11 +01:00
stefan schippers
bf344309f0
implement "nodraw" flag in all object selections in the "xschem select" command, implement the "nodraw" flag in "xschem search" command
2025-10-29 09:06:07 +01:00
stefan schippers
2763c6010f
improved xschem arc command (allow user parameters in addition to GUI plaecment)
2025-10-29 08:20:08 +01:00
stefan schippers
129e194bc5
tclcmd improvements
2025-10-27 23:13:14 +01:00
stefan schippers
1583c83d96
small improveents in "Execute tcl command"
2025-10-27 08:43:27 +01:00
stefan schippers
5c41eabcd6
fix error in "xschem text" command arguments
2025-10-24 07:42:10 +02:00
stefan schippers
d16cbf94c0
improvements in tcl command console (added "=" keybind)
2025-10-23 15:11:19 +02:00
stefan schippers
afefb18ee2
fix regression: selection of beziers either by clicking close to the bezier line or to the control points
2025-10-15 11:12:16 +02:00
stefan schippers
d3d0b78c08
better and faster is_xschem_file detection
2025-10-15 10:41:32 +02:00
stefan schippers
b01bd1ca60
improve previous fix
2025-10-14 00:45:32 +02:00
stefan schippers
b072701cbd
fix regresions in get_sym_name() and get_sch_from_sym(), use catch {...} in proc edit_prop for xschem getprop symbol ... command if symbol not found
2025-10-14 00:31:47 +02:00