Commit Graph

3222 Commits

Author SHA1 Message Date
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
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
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
stefan schippers 1cd23c0ddb auto_set_wire_bus(): error checks to avoid segfaults 2026-04-30 15:11:47 +02:00
stefan schippers 8c844cc0c9 added xschemrc tcl var "auto_set_wire_bus": if set to 1 (default: 0) wires with/without bus labels (xxx[3:0]) will get bus=1 attribute set/deleted automatically. 2026-04-30 14:56:55 +02:00
stefan schippers 8006c0cfbb eval_expr(): add comparison operators, !=. ==, <=, >=, <, > 2026-04-29 23:02:46 +02:00
stefan schippers 0a10889abd fix argc check in xschem setprop wire command 2026-04-28 00:02:00 +02:00
stefan schippers a8fab9fac8 add "xschem setprop wire n tok val" command to add/change wire attributes via CLI 2026-04-27 23:31:21 +02:00
stefan schippers b3f4c4f5f7 fix: xschem setprop instance <tok> <val> did not set schematic to modified state, so following xschem save did not work 2026-04-27 18:21:39 +02:00
stefan schippers 75a3134051 show default values (1.0) in graph dialog box if attributes xlabmag, ylabmag and legendmag are not set 2026-04-24 13:52:52 +02:00
stefan schippers 366b713b93 use attribute legendmax also for horizontal signal name legend (instead of xlabmag) 2026-04-24 13:44:26 +02:00
stefan schippers 933805fded proc graph_edit_properties: add another row of buttons, added legend text size textbox, separated from y label text size 2026-04-24 13:07:06 +02:00
stefan schippers 69c02e1f54 vlegend: better display of node measures (cursor-A): under signal name instead of to the right. If vlegend is enabled reduce top y margin. 2026-04-23 23:46:14 +02:00
stefan schippers 0a1512201f fix View->Toggle variable line width menu command not working, add "xschem set line_width n", equivalent to "xschem line_width n", these commands now update the tcl var line_width. 2026-04-22 15:48:58 +02:00
stefan schippers a547cf4e75 fix line width in ps/pdf and svg exports (graph bitmaps are scaled up in size and so must be line widths) 2026-04-21 19:46:52 +02:00
stefan schippers 18afca425e expr(): introduced conditional ( ... ? ... :... ) operator, translate(): introduced @lvs_ignore token, fix wrong resetwin() restore after rasterizing graphs for svg print 2026-04-21 19:21:32 +02:00
stefan schippers 92fc6e06cb proc tab_queue: a queue of MRU tabs, so ctrl-tab will switch to most recently used. This gets rid of previous_win_path with only depth 1 2026-04-07 18:59:05 +02:00
stefan schippers c1e518e8a1 store_geom, set_geom: store rel_sym_path of file instead of abs_sym_path 2026-04-07 09:57:25 +02:00
stefan schippers 4d4152a8b7 wave expressions: added pi(), e(), k(), q() for pi, e, boltzman constant, electron charge 2026-03-31 20:16:44 +02:00
stefan schippers 3d1f361953 spectre.awk: quote invalid identifiers (nodes, refdes) 2026-03-30 10:00:14 +02:00
stefan schippers a0a4202ee3 update manpage, html docs and help message (missing last cli options) 2026-03-29 00:18:12 +01:00
stefan schippers 848472b018 toggle_ignore(): clear xctx->prep_hash_wires when toggling *_ignore flag on wires 2026-03-28 11:03:47 +01:00
stefan schippers bdd4338c13 allow "*_ignore" attributes on wires as wella s on instances 2026-03-28 01:56:24 +01:00
stefan schippers 9ebbce0926 when destroying multiple tabs with ctrl-w multiple times always switch to the tab on the left and not on the first tab 2026-03-27 18:12:17 +01:00