Commit Graph

3663 Commits

Author SHA1 Message Date
stefan schippers 9ab3cad8a1 merge_file: do not start move_objects(RUBBER,...) if nothing to merge found 2025-12-19 13:06:57 +01:00
stef 7d8ce2f9ad remove spaces on line ends, brace expr tcl expression when possible, resize rectangle in intuitive interface made easier at far zoom levels 2025-12-13 11:51:05 +01: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
stefan schippers 8b7b444f13 complete previous commit 2025-10-13 16:22:01 +02:00
stefan schippers 9fc68ed81b pins / labels with no "lab" attribute set will inherit it from attached nets. Do not use template symbol "lab" attribute 2025-10-13 12:13:57 +02:00
stefan schippers f732071a02 Recent component toolbar: removed c_t($i,command) member from c_t array 2025-10-12 23:36:36 +02:00
stefan schippers 169f5c9d5f file_chooser: by default include level 0 base directories even if not containing xschem files; fixed a bug in table_read() (uninitialized data if failed to find table file) 2025-10-11 09:47:11 +02:00