Commit Graph

3801 Commits

Author SHA1 Message Date
stefan schippers cd839861c3 revert modified xschem_library/logic/ff.sym for testing 2026-08-18 10:02:56 +02:00
stefan schippers 5ec3c5f2ff better recognition of `#prefix#@@pin_name` patterns in spice.awk 2026-08-18 09:46:41 +02:00
stefan schippers 5d5a4adbfd spice netlists: allow specifying a prefix to symbol pins, like: #~#@@A[3:0] --> will expand to ~A[3],~A[2],~A[1],~A[0] and then unrolled into individual instances as usual with spice netlists. 2026-08-17 23:09:39 +02:00
stefan schippers 064c923cac print_verilog_element(): correctly handlebackslash escapes and double quotes as done in other corresponding routines for spice and VHDL. 2026-08-13 23:30:12 +02:00
stefan schippers ecdac027f5 change graph border from WIRELAYER to SYMLAYER (better colorscheme consistency) 2026-08-11 15:35:23 +02:00
stefan schippers 8869a957cc fix wrong expression for access_cond in waves_callback() 2026-08-11 00:14:38 +02:00
stefan schippers 1563b0199b add xschemrc variable "graph_select_to_zoom" (default set to 0). If set to 1 a graph must be selected to operate on it. 2026-08-10 12:26:33 +02:00
stefan schippers 8b0fccea18 remove debug msg in translate3() 2026-08-10 01:03:00 +02:00
stefan schippers 12d3c9c903 add %destructor statements in bison code to cleanup allocated memory also in case of syntax error bailout 2026-08-10 00:47:13 +02:00
stefan schippers 66c632fe2b fix result pointer passing (addres must be passed) to translate(), translate2() and translate3(), otherwise memory leaks occur 2026-08-09 19:13:59 +02:00
stefan schippers ff88b2a1bc allow label expressions in graph (digital) bus signal lists, like: `LDQ; ldq[15:0]`; fix a long standing memory corruption (out of array bound write) if expandlabel() parser is called after a previous call that generated a parse error. 2026-08-09 15:16:28 +02:00
stefan schippers 210aea296d make translate2() and translate3() reentrant (caller provides and frees pointer for result) 2026-08-07 13:20:34 +02:00
stefan schippers f38be4c174 make translate() reentrant (caller provides pointer for result) 2026-08-07 12:16:58 +02:00
stefan schippers 482e5d23c1 remove some cluttered code in place_symbol() for tcleval() handling 2026-08-06 21:43:06 +02:00
stefan schippers 361eeecceb dont pop up dialog box for script execution when editing properties of symbols 2026-08-06 15:35:38 +02:00
stefan schippers 9f740bf182 set `sch_basename` and `path` global tcl vars when executing tclcommand launcher scripts 2026-08-06 15:24:35 +02:00
stefan schippers f583f47049 translate(): remove mutex lock before tcl_hook2(result) execution (may call translate() in DCOP annotators) 2026-08-06 11:40:41 +02:00
stefan schippers ff2f4824c1 allow control-mousewheel and shift-mousewheel horiz/vert scrolling in schematic window even if graph_use_ctrl_key is set. 2026-07-29 15:23:54 +02:00
stefan schippers c4233c1f95 fix incorrect window size setting if the allow tcl scripts dialog is popped. Fix allocation of space for result in translate() to avoid overruns 2026-07-27 16:13:06 +02:00
stefan schippers 265ebaa89d remove unguarded and unnecessary (no check if X11 is present) call to focus in proc tclpropeval2 2026-07-27 14:39:42 +02:00
stefan schippers b69f793f83 set mutex in translate() to avoid reentrant calls if any happens (shouldn`t happen, though) 2026-07-25 11:48:43 +02:00
stefan schippers 7be708fcc3 disable debug msg 2026-07-25 10:19:39 +02:00
stefan schippers e534345b2a disable completely callback() event processing if semaphore >=3; this value is set in "proc tclpropeval2" when displaying the script execution warning to avoid nested translate() calls. 2026-07-25 10:17:01 +02:00
stefan schippers 36d710d2eb Ask user before allowing execution of embedded schematic scripts; fix xschemtest netlist hashes 2026-07-25 09:25:32 +02:00
stefan schippers f53b1b5865 fix uninitialized wire[].flags field in trim_wires() 2026-07-24 12:43:14 +02:00
StefanSchippers d24a9f521e
Merge pull request #490 from arpadbuermen/master
Support for transient noise in analyses library.
2026-07-15 17:42:29 +02:00
Árpád Bűrmen 3391f5f8ce Support for transient noise in analyses library. 2026-07-14 09:54:30 +02:00
stefan schippers c8b26a17d8 update license dates 1998-202? -> 1998-2026 2026-06-16 09:24:40 +02:00
stefan schippers 80c58e0c9b translate MouseWheel modifier key (ctrl/shift/no modifier) remappings via replace_key into Tcl8.7+ MouseWheel equivalents. 2026-06-09 10:34:36 +02:00
stefan schippers e85792aee7 add command "xschem selected_rect" to get {layer index} list of selected rectangle objects 2026-06-01 11:47:38 +02:00
stefan schippers 25ac9d7e40 add command "xschem selected_text" to get list of selected text object indexes 2026-06-01 11:22:20 +02:00
stefan schippers b0d9da33f5 xschem search: add txt_ptr special token for searching text objects by their content 2026-06-01 10:57:46 +02:00
stefan schippers c2625014cc spectre (vacask) backend: if spiceprefix is set for a component use spiceprefix+name as argument to the quoting q() function in spectre.awk 2026-05-27 23:39:56 +02:00
stefan schippers d7f3980301 fix wrong conditional on "dr" (draw, nofullzoom) in create_new_tab() and create_new_window(). Some better error messages on malformed raw files loading 2026-05-22 00:09:47 +02:00
stefan schippers 7d74948154 graph X and Y full zoom: handle the case raw file not loaded because malformed. 2026-05-20 00:58:45 +02:00
stefan schippers 0b4e5dbfea "xschem load -nofullzoom file1 file2 ...": apply -nofullzoom also to additional file2 ... windows/tabs 2026-05-14 07:55:09 +02:00
stefan schippers eeb25a8c73 Alt-e, ("xschem schematic_in_new_window" command): preserve zoom factor of parent schematic when popping back 2026-05-13 23:12:04 +02:00
stefan schippers b7fba43ebf fix 2+ level OP annotation when descending with Alt-e (descend in new tab/window), use the already available "xschem copy_hierarchy" command 2026-05-13 15:39:09 +02:00
stefan schippers 4961ee437e new_file_browser: "search all" does no more open a new dialog, use existing file listbox. 2026-05-08 14:50:51 +02:00
stefan schippers aaaa0e6b59 move some comments right before relevant TCL procedures 2026-05-08 11:05:56 +02:00
StefanSchippers cb633c84c3
Merge pull request #484 from slagernate/master
Fuzzy subsequence search in the file-load and file_chooser dialogs
2026-05-08 08:43:04 +02:00
slagernate 7e84a9c605 load_file_dialog: re-fire fuzzy on FocusIn into entry 2026-05-07 16:09:36 -07:00
slagernate d92b43bf96 file_chooser: re-fire fuzzy on FocusIn into entry 2026-05-07 16:02:51 -07:00
slagernate 475d1ae247 fuzzy_subseq_score: ignore spaces in query 2026-05-07 16:02:44 -07:00
slagernate 20c97bd500 file_chooser: add fuzzy subsequence search inline in .ins dialog 2026-05-07 16:02:36 -07:00
slagernate 03e9716936 load_file_dialog: add fuzzy subsequence search across nested files 2026-05-07 14:46:54 -07:00
stefan schippers 2eb46f421f add xschemrc variable "close_ctxmenu_on_leave" (default: 1), if set to 0 a click in the canvas area is needed to close the context menu 2026-05-06 12:35:29 +02:00
stefan schippers 7e64d1560b save_schematic(): warn user if file changed externally since loading by xschem even if "no_ask_save" (no confirmation on save) is set 2026-05-05 00:44:50 +02:00
stefan schippers 8341c7beb3 limit excessive grow of digital wave labels when zooming in vertically 2026-05-03 11:00:17 +02:00
stefan schippers 3f789fc749 auto_set_wire_bus(): launch prepare_netlist_structs(0) before checking wires 2026-04-30 15:19:19 +02:00