Commit Graph

3682 Commits

Author SHA1 Message Date
stefan schippers 13406893d1 text / textprop editing: allow to click in canvas area to confirm and close, like in other text widgets 2026-01-31 23:44:49 +01:00
stefan schippers 1abfe583b0 store_geom: fix typo (xschem get toplevel --> xschem get topwindow) 2026-01-31 23:14:53 +01:00
stefan schippers 52b0f98dac better apply store_geom when closing or loading a new schematic into a window/tab with an existing schematic 2026-01-31 11:17:32 +01:00
stefan schippers cee25ab335 add round(), round1(), round6() expr functions 2026-01-30 18:58:45 +01:00
stefan schippers 6d86b73c81 "xschem getprop text xxx ...": allow "xxx" to be the name attribute in addition of the text index number 2026-01-28 12:34:09 +01:00
stefan schippers 5365da9239 dtoa_eng(): use MEG instead of M for "mega" (M is considered as "milli" by spice) 2026-01-27 17:33:55 +01:00
stefan schippers fc5c5b97fe add expr_eng4() operator in addition to expr_eng() that returns 4 significant digits instead of 5 2026-01-27 17:19:07 +01:00
stefan schippers 0c25490c9d launchers: tclcommand attribute defined in the symbol will be used if no instance tclcommand attribute found 2026-01-24 19:51:01 +01:00
stefan schippers aadb87d255 update xschemtest.tcl netlist hashes 2026-01-23 13:49:48 +01:00
stefan schippers ee796ff369 spice netlist: when m=1 (device/subckt multiplicity) dont set it in device netlist lines (redundant and in some cases not accepted) 2026-01-23 13:12:41 +01:00
stefan schippers 2c2f9e6954 tclcommand attr in launcher: resolve @param attrs found in instance attrs or symbol attrs 2026-01-23 11:22:41 +01:00
stefan schippers abccc03ac9 bspwave default launch command: do not specify $n.raw, raw file will be loaded when adding nets 2026-01-22 11:46:33 +01:00
stefan schippers 50af44e1f4 gnd.sym: set default label to 0 instead of GND (better compatibility with simulators) 2026-01-22 10:11:43 +01:00
stefan schippers 309697499c Tools->insert image: fix to allow filenames with spaces 2026-01-14 01:09:53 +01:00
stefan schippers 2a242cb80a revert wrong cairo_font_face_destroy() insertion 2026-01-07 13:59:16 +01:00
stefan schippers 3a244967d1 xinit.c: free framewin_child_ptr after querying 2026-01-07 13:53:09 +01:00
stefan schippers e1506e0433 fix wrong allocation (array of of double* instead of array of double) 2026-01-07 11:17:36 +01:00
stefan schippers 95f85d4fd2 make uninstall: clean up some files in .../share/doc/xschem/analyses/ 2026-01-06 13:05:40 +01:00
stefan schippers 1bc3332b89 fix redef_puts (avoid double lines printed in tclcmd) 2026-01-06 11:39:23 +01:00
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