stefan schippers
|
60c5230727
|
resolved_net(): resolve nets passed to symbols via attributes, avoid using dtoa_eng() in returned spice voltages, use dtoa(), since it may be used further in tcl expressions.
|
2024-05-03 15:00:51 +02:00 |
stefan schippers
|
7d181e43a1
|
spice_get_voltage attributes: assume "0" and "GND" equal to 0.0V (not saved by simulator), added vgs and vds showing in nmos4.sym and pmos4.sym if show/hide->show hidden texts enabled
|
2024-05-03 12:10:37 +02:00 |
stefan schippers
|
02e0705bf4
|
little adjust default layer 11 color (green)
|
2024-05-02 17:44:56 +02:00 |
stefan schippers
|
c544c5bd6e
|
xinit.c: test for tcl_interactive existence before testing value
|
2024-05-02 17:33:43 +02:00 |
stefan schippers
|
c7bf1300c1
|
some better code formatting
|
2024-05-02 17:24:31 +02:00 |
stefan schippers
|
91fafecffb
|
added some @#pin_name:spice_get_voltage examples on symbols, if no voltage is found return "" instead of "--UNDEF--"
|
2024-05-02 15:19:34 +02:00 |
stefan schippers
|
501fb7943f
|
removed completely menu View->Show/hide->Show net names on symbol pins
|
2024-05-02 14:41:15 +02:00 |
stefan schippers
|
9c750b5044
|
add @#pin:spice_get_voltage attribute for pin texts that displays voltage of net attached to pin. remove net_name=... attributes from symbols and instance global attributes since it is no more used. set default value for show_pin_net_names to 1.
|
2024-05-02 10:32:12 +02:00 |
stefan schippers
|
ba44bfb337
|
config.h: generate HAS_LIBREADLINE, do not add #include line for libreadline (yet) as this is wip
|
2024-05-01 11:53:54 +02:00 |
stefan schippers
|
6f9ddff72f
|
revert change `do not load XSCHEM_LIBRARY_PATH if options are given on cmdline`. if no file to load is given $XSCHEM_LIBRARY_PATH will be loaded regardless of command line switches
|
2024-04-30 11:00:37 +02:00 |
stefan schippers
|
5a4b2cc6e0
|
launcher(): issue a warning dialog box if no action is defined (url or tclcommand)
|
2024-04-25 12:22:15 +02:00 |
stefan schippers
|
9631cd2bcf
|
launcher(): bring up an alert dialog if tclcommand did not execute successfully
|
2024-04-25 12:10:56 +02:00 |
stefan schippers
|
60d4fd2345
|
drc_check(): if no fet_drc procedure found do nothing
|
2024-04-25 09:13:23 +02:00 |
stefan schippers
|
c871efa627
|
xschem image rectangles: allow to fetch urls using filter="tcleval(wget --quiet http://.... -O -)" and image=""
|
2024-04-22 18:00:15 +02:00 |
stefan schippers
|
62eb256159
|
xschem wave processor: added <, >, <=, >=, ==, != and contitional ? (3 operands) operator
|
2024-04-22 15:11:25 +02:00 |
stefan schippers
|
6fc89f8d0b
|
added comments in developer_info man page
|
2024-04-19 23:53:36 +02:00 |
stefan schippers
|
b525252612
|
preview_window() : BUG 2: test for NULL tkpre_window[i]
|
2024-04-19 19:17:18 +02:00 |
stefan schippers
|
c485bcd8a2
|
preview_window() : BUG: fix order of statements
|
2024-04-19 19:12:23 +02:00 |
stefan schippers
|
34a06d964d
|
preview_window() : allow up to 10 simultaneous preview windows open
|
2024-04-19 19:05:38 +02:00 |
stefan schippers
|
372b21ae07
|
no load XSCHEM_START_WINDOW if cli options given (2); remove one unneeded var in preview_window()
|
2024-04-19 17:08:37 +02:00 |
stefan schippers
|
6b54542ab4
|
do not load XSCHEM_LIBRARY_PATH if options are given on cmdline
|
2024-04-19 13:55:25 +02:00 |
stefan schippers
|
531a19ce59
|
doc updates (xschem raw values with dset = -1)
|
2024-04-19 12:32:41 +02:00 |
stefan schippers
|
00d367ae0c
|
Add xctx->mouse_moved state var to better handle ctrl-clicks (launcher() trigger)
|
2024-04-18 20:47:06 +02:00 |
stefan schippers
|
69ecb82750
|
in intuitive_interface allow to trigger laucher() by ctrl-click (if no mouse is moved), do not clear set_first_sel() data in intuitive_interface when clicking (without moving) multiple objects, better recognize .subckr or .model name in device_model attributes
|
2024-04-18 11:40:51 +02:00 |
stefan schippers
|
83f62bfdf9
|
postinit_commands: print error message if execution of specified commands fails
|
2024-04-16 00:17:02 +02:00 |
stefan schippers
|
8d68beb914
|
added drc_check() function, that evaluates tcl scripts contained in symbol `drc` attribute. Used for checking allowed dimensions, mostly
|
2024-04-15 16:43:56 +02:00 |
stefan schippers
|
260256afb9
|
improve preview_window, to redraw current schematic just use `xschem preview_window draw` (no filename -> use current loaded one)
|
2024-04-14 23:55:47 +02:00 |
stefan schippers
|
3d20b44ced
|
translate3(): add eat_escapes parameter
|
2024-04-14 11:38:35 +02:00 |
stefan schippers
|
9c766c5260
|
modernization of symgen.awk, fine tuning of create_symbol.tcl
|
2024-04-12 01:44:48 +02:00 |
stefan schippers
|
6a4131699a
|
improve `xschem add_symbol_pin` command, add create_symbol.tcl procedure
|
2024-04-12 00:06:36 +02:00 |
stefan schippers
|
80e2c47b0e
|
improve `xschem add_symbol_pin` command
|
2024-04-11 00:05:59 +02:00 |
stefan schippers
|
6de84a69e9
|
better detect wrap arounds (use sweep var, first column saved by ngspice) in multiple sweep dc sims
|
2024-04-10 12:25:22 +02:00 |
stefan schippers
|
f88f9f8e2e
|
do not exit is calling xschem with a non existent file on cmdline
|
2024-04-10 12:08:09 +02:00 |
stefan schippers
|
1d72478138
|
do full x/y zoom when switching log/linear x/y scales in graphs
|
2024-04-09 09:15:56 +02:00 |
stefan schippers
|
51a34ed4a7
|
get_raw_index(): look up node name as is, before trying upper/lower case
|
2024-04-08 00:06:18 +02:00 |
stefan schippers
|
60e55212d5
|
handle rot/flip transfofmations for ellipses inside symbols
|
2024-04-06 23:13:14 +02:00 |
stefan schippers
|
059badaccd
|
fix flip / rotation of ellipses (no absolute angles)
|
2024-04-06 11:31:36 +02:00 |
stefan schippers
|
ce1d4b4bbb
|
initial support for drawing ellipses (from rectangle boxes)
|
2024-04-05 01:34:54 +02:00 |
stefan schippers
|
83660bc531
|
update bespice communication routines according to Gerard updates
|
2024-04-04 00:55:26 +02:00 |
stefan schippers
|
35dffef618
|
has_included_subcircuit(): extend case insensitivity also on included subckt pins vs symbol pins
|
2024-04-03 00:56:05 +02:00 |
stefan schippers
|
bcd4e9367b
|
has_included_subcircuit(): use lowercase symname to check with lowercase spice_sym_def included netlist to avoid case mismatches (spice is case-insesitive)
|
2024-04-02 23:54:40 +02:00 |
stefan schippers
|
5e96c84992
|
simplify draw_graph(): reduce redundant arrays measure_p, measure_x, measure_prev_x to scalars
|
2024-04-01 23:33:15 +02:00 |
stefan schippers
|
b004618c25
|
explicit parameters to interpolate_yval()
|
2024-04-01 23:23:45 +02:00 |
stefan schippers
|
1ed64e95ca
|
optimize a bit draw_graph() (no allocate measure_*[] vars if no cursor)
|
2024-04-01 11:42:54 +02:00 |
stefan schippers
|
d9871edb13
|
update LCC_instances.sch
|
2024-04-01 02:23:30 +02:00 |
stefan schippers
|
033493d0ec
|
doc updates (cursors)
|
2024-04-01 00:33:09 +02:00 |
stefan schippers
|
318c52cd0f
|
cursor positions always saved in true x values (no log taken for logx axes) avoid too many log10() / pow(10, ...) conversions
|
2024-04-01 00:25:50 +02:00 |
stefan schippers
|
8eecd73c50
|
removed impossible if() condition in backannotate_at_cursor_b_pos()
|
2024-03-31 13:36:35 +02:00 |
stefan schippers
|
9c5a1a9816
|
handle cursor drawing in multiple graphs, some with log scale some others without
|
2024-03-31 13:27:12 +02:00 |
stefan schippers
|
5dc27fb364
|
fix 2nd level @param subst in instances (like model=xxx@name in instances)
|
2024-03-31 00:36:42 +01:00 |
Stefan Schippers
|
731a265dcf
|
removed some dead code
|
2024-03-30 20:16:47 +01:00 |
Stefan Schippers
|
cab89d03d9
|
revert to commit 2024-03-26 18:48:48
|
2024-03-30 19:20:51 +01:00 |
stefan schippers
|
547bdec018
|
avoid rouding to 0 wave measures in show_node_measures()
|
2024-03-30 13:00:39 +01:00 |
stefan schippers
|
7756769a4e
|
simplify node measurements and cursor handling
|
2024-03-30 11:25:02 +01:00 |
stefan schippers
|
89f494aa85
|
simplify node measurements --do not use this commit --
|
2024-03-30 10:43:55 +01:00 |
stefan schippers
|
27c065327e
|
improve cursor display and move with multiple graphs with different sweep variables (2)
|
2024-03-30 02:20:38 +01:00 |
Stefan Schippers
|
ba76f42277
|
improve cursor display and move with multiple graphs with different sweep variables
|
2024-03-29 19:58:54 +01:00 |
stefan schippers
|
fdeca4646a
|
cursor a and b: when draging in a graph with default sweep var correctly map cursor in other graphs with different sweep vars
|
2024-03-29 13:57:06 +01:00 |
stefan schippers
|
659231e7ae
|
remove dbg msg
|
2024-03-26 18:48:35 +01:00 |
stefan schippers
|
5789058775
|
do not auto highlight nets if operating point raw data is loaded (auto_hilight_graph_nodes=1)
|
2024-03-26 17:49:35 +01:00 |
stefan schippers
|
fc19e646c7
|
set default live_cursor2_backannotate to 1 (enabled)
|
2024-03-26 15:39:16 +01:00 |
stefan schippers
|
3dcda64367
|
fix Alt-e command (proc open_sub_schematic) if no raw file loaded
|
2024-03-26 11:30:02 +01:00 |
stefan schippers
|
27f41119d8
|
fourth round of additions to improve auto_hilight_graph_nodes
|
2024-03-26 01:21:37 +01:00 |
stefan schippers
|
34d85db77e
|
third round of additions to improve auto_hilight_graph_nodes
|
2024-03-26 00:20:40 +01:00 |
stefan schippers
|
f53bc2c6b7
|
second round of additions to improve auto_hilight_graph_nodes
|
2024-03-25 22:28:29 +01:00 |
stefan schippers
|
aa6182c65f
|
initial support for auto_hilight_graph_nodes
|
2024-03-25 11:39:57 +01:00 |
stefan schippers
|
77a5cecef8
|
hier_hilight_hash_lookup(): set path param to const char *
|
2024-03-24 22:49:40 +01:00 |
Stefan Schippers
|
faee6bbc89
|
apply cairo_font_scale also for nocairo fonts (in addition to nocairo_[xy]_font_scale)
|
2024-03-24 20:36:19 +01:00 |
Stefan Schippers
|
3186270548
|
apply cairo_font_scale to svg and ps/pdf exports
|
2024-03-24 19:59:28 +01:00 |
Stefan Schippers
|
85d7e565a3
|
cairo_font_scale can be changed runtime to rescale text fonts, hier_hilight_hash_lookup(() function to hilight an arbitrary hierarchic net; improved xschem list_hilights command
|
2024-03-24 19:34:30 +01:00 |
stefan schippers
|
642ee525ac
|
fix grab screen window pathname calculation
|
2024-03-21 22:37:39 +01:00 |
stefan schippers
|
751c965e9f
|
waves_selected(): better checking of mouse `is_inside` graph
|
2024-03-21 22:28:32 +01:00 |
stefan schippers
|
5417392357
|
grab screen make it work if initiated from additional tabs / windows
|
2024-03-21 22:10:27 +01:00 |
stefan schippers
|
c51b4474e5
|
correctly resolve absolute paths for 2nd...Nth files given on cmdline that use ./ or ../ relative paths
|
2024-03-21 15:48:48 +01:00 |
stefan schippers
|
058b96ba7a
|
fix a crash when netlisting top level elements in print_spice_element(), attempting to look up format string tokens into non-existent parent level (xctx->currsch-1 = -1))
|
2024-03-21 14:41:15 +01:00 |
stefan schippers
|
85abc67c89
|
fix arc placement if moving mouse to the left for second point
|
2024-03-21 01:28:01 +01:00 |
stefan schippers
|
3e6a3ba886
|
draw_symbol() and draw_temp_symbol(): do the second level @ resolution with translate3(): if no @var definition is found leave @var as is. This is what we want, to avoid trying to substitute @m.xm1......[id] ngspice variables.
|
2024-03-21 00:12:48 +01:00 |
stefan schippers
|
12b01e31c6
|
draw_symbol() and draw_temp_symbol(): do not attempt to do a 2nd level @var resolution for texts as this creates more inconveniences than advantages (quoting hell)
|
2024-03-20 23:57:01 +01:00 |
stefan schippers
|
e55c8294c2
|
fix ctrl-click in launchers if no intuitive interface is set
|
2024-03-20 18:43:25 +01:00 |
stefan schippers
|
cc1a70d340
|
quoting hell mitigation: translate3() should not eat backslashes
|
2024-03-20 15:08:12 +01:00 |
stefan schippers
|
6886fd98e9
|
f**k
|
2024-03-20 12:28:49 +01:00 |
stefan schippers
|
3e722d217d
|
remove dgb message
|
2024-03-20 11:55:36 +01:00 |
stefan schippers
|
8329720848
|
hash_file(): skip also .include lines if skip_path_lines parameter is set
|
2024-03-20 10:45:28 +01:00 |
stefan schippers
|
61b1c0b368
|
add `Tools->Grab screen area` function (unix only)
|
2024-03-20 03:53:56 +01:00 |
stefan schippers
|
6405ac4c09
|
simplified alpha removal and inversion in ps_embedded_image()
|
2024-03-18 11:53:51 +01:00 |
stefan schippers
|
197379989a
|
edit_image(): add removal of transparency with white and black
|
2024-03-18 10:54:10 +01:00 |
stefan schippers
|
cfccb64026
|
remove dbg msgs
|
2024-03-18 03:10:00 +01:00 |
stefan schippers
|
f68cb6c18a
|
start launcher commands on mouse button release (if no mouse movement has occurred) to allow ctrl-button1 drags
|
2024-03-18 02:39:54 +01:00 |
stefan schippers
|
04409cc315
|
simplified ps_embedded_image(), avoid recoding jpeg if possible (no invert), error checks in edit_image() and get_surface_from_b64data()
|
2024-03-18 01:08:51 +01:00 |
Stefan Schippers
|
b46828ae3e
|
fix a typo in simconf, fix embedding of jpeg inside svg images
|
2024-03-17 20:16:48 +01:00 |
stefan schippers
|
bf027bc4f8
|
refactored draw_image() into smaller functions
|
2024-03-17 10:11:57 +01:00 |
stefan schippers
|
9670368f9d
|
set_modify and undo() in `xschem image` commands
|
2024-03-17 02:13:54 +01:00 |
stefan schippers
|
294529f885
|
protect with #if HAS_CAIRO==1 the edit_image() calls
|
2024-03-17 01:56:59 +01:00 |
stefan schippers
|
d5f7c5c88c
|
cleanups in draw_image(), added command `xschem image` for various operations on images
|
2024-03-17 01:32:10 +01:00 |
stefan schippers
|
6416df9733
|
cleanups in draw_image(), do not decode-reencode jpeg data
|
2024-03-16 12:50:42 +01:00 |
stefan schippers
|
f84305930f
|
fix size and number of items ordering in fread() to match returned sizes
|
2024-03-15 16:07:46 +01:00 |
stefan schippers
|
092f111925
|
intuitive_interface fix: only clicking on an instance (no drag) does not push to undo state
|
2024-03-15 15:53:38 +01:00 |
stefan schippers
|
f7287f0c6c
|
add further #if defined(HAS_LIBJPEG) in xschem.h
|
2024-03-15 14:30:52 +01:00 |
stefan schippers
|
d30715bc2c
|
add #ifdefs for missing libjpeg libraries to avoid link problems, remove some warnings from compilers/glib versions that tave some functions marked as -Wunused-result
|
2024-03-15 13:59:52 +01:00 |
stefan schippers
|
56697dfc43
|
protect inspect_iage with HAS_CAIRO==1
|
2024-03-15 12:57:42 +01:00 |
stefan schippers
|
bef157aacf
|
More return codes when something goes wrong, like loading failure of a file given on cmdline
|
2024-03-15 11:56:35 +01:00 |
stefan schippers
|
91a2c98fed
|
has_included_subcircuit(): generate correct port order looking in spice_sym_def provided subcircuit netlist, in case of symbol with vectored ports. TODO: handle vectored instances of such symbols like x1[3:0]
|
2024-03-15 02:29:49 +01:00 |
stefan schippers
|
3bcda95589
|
improvements in image handling (png/jpg)
|
2024-03-15 00:37:27 +01:00 |
stefan schippers
|
d59196f1d4
|
fix erroneous bbox(START...) call in edit_rect_property() not followed by bbox(SET...) and bbox(END...), possibly locking the UI
|
2024-03-14 20:25:50 +01:00 |
stefan schippers
|
6c0398a8b6
|
fix unintended move operation start when clicking a launcher that starts a new schematic and returning to the originating schematic containing the launcher. Added support for direct JPG image import (no JPG->PNG filters)
|
2024-03-14 11:09:49 +01:00 |
stefan schippers
|
b1b2c3797b
|
rename ps_drawPNG to ps_embedded_image for consistency with svg
|
2024-03-13 16:03:27 +01:00 |
stefan schippers
|
c747d59a90
|
removed redundant Tools menu entries: insert wire label
|
2024-03-12 22:56:50 +01:00 |
stefan schippers
|
927ef74fe1
|
include in resetwin() the call to create_memory_cairo_ctx() so it will be correctly set up fro multiple windows
|
2024-03-12 18:21:28 +01:00 |
stefan schippers
|
56af3bf427
|
cleanup in in-memory cairo_ctx creation for text_bbox() when no X used
|
2024-03-12 12:46:15 +01:00 |
stefan schippers
|
e4ef7d4dc1
|
replace cairo_image_surface_create_for_data with cairo_image_surface_create in create_memory_cairo_ctx
|
2024-03-12 12:03:53 +01:00 |
stefan schippers
|
9b8015b437
|
in_memory cairo_ctx for better font rendering when no X available
|
2024-03-12 11:48:18 +01:00 |
stefan schippers
|
de4f44fd40
|
create_ps() will also use the temporary X connection for better font metrics if possible
|
2024-03-12 03:04:10 +01:00 |
stefan schippers
|
65ba2e1cc4
|
svg_draw(): if xschem started with -x but cairo is available use a temporary X connection (if X available) to create a cairo context so we get more precise font metricx for text bbox calculations
|
2024-03-12 02:36:32 +01:00 |
stefan schippers
|
560a9c5f57
|
add `xschem get bbox` command to get whole schematic bbox
|
2024-03-12 00:09:30 +01:00 |
stefan schippers
|
5792679daf
|
fix missing initialization of .bus element when pasting lines, updated intuitive_interface_cheatsheet.sch
|
2024-03-11 15:16:26 +01:00 |
stefan schippers
|
b675e94333
|
intuitive_interface by default is now enabled
|
2024-03-11 02:09:28 +01:00 |
stefan schippers
|
05c6f4770b
|
cleanup the use of set_netlist_dir(), never use simuldir directly, updated intuitive_interface_cheatsheet
|
2024-03-10 23:50:38 +01:00 |
stefan schippers
|
fa3ee72a1c
|
xinit: evaluate simuldir to adjust netlist_dir depending on local_netlist_dir setting, even if no netlist command given on cmdline, so netlist_dir will always point to the right place in the running session
|
2024-03-10 16:10:36 +01:00 |
stefan schippers
|
1ae2d397ed
|
added intuitive_interface_cheatsheet.sch
|
2024-03-10 13:32:30 +01:00 |
stefan schippers
|
90241d2463
|
Alt-x to toggle crosshair display, removed alt-x and ctrl-shift-X for compare schematic functions (seldom used) improved calculation of `delta` in drawgrid, improved search() (added missing arcs and polygon attribute searches)
|
2024-03-10 12:11:51 +01:00 |
Stefan Schippers
|
64bfb94b86
|
svgdraw: add fill=3 (full) handling
|
2024-03-09 20:07:47 +01:00 |
Stefan Schippers
|
c75d672d15
|
remove dbg msg
|
2024-03-09 18:33:42 +01:00 |
stefan schippers
|
a855f732c9
|
fix redundant push_undo() in shape_point_selected ops
|
2024-03-09 06:16:41 +01:00 |
stefan schippers
|
3a412e8e6f
|
fix redundant push_undo() in drag_elements
|
2024-03-09 06:08:22 +01:00 |
stefan schippers
|
218d4ad3f2
|
fill=solid in addition to fill=1 (stippled fill) or fill=0 (no fill) for rectangles, polygon/beziers and circles
|
2024-03-09 03:12:25 +01:00 |
stefan schippers
|
414274f4a3
|
add an example for postinit_commands in xschemrc
|
2024-03-08 23:13:02 +01:00 |
stefan schippers
|
bbba395582
|
reordering execution of simulation callback after deletion of execute(win_path,$id)_simulate_id
|
2024-03-08 22:29:53 +01:00 |
stefan schippers
|
ddcac8c69c
|
fix some race conditions and execution order of callbacks given in simulate commands inside postinit_commands at startup
|
2024-03-08 19:19:30 +01:00 |
stefan schippers
|
904526408b
|
some (commented) postinit_commands examples in xschemrc
|
2024-03-08 16:47:43 +01:00 |
stefan schippers
|
d85ea9461c
|
postinit_commands: execute at global scope
|
2024-03-08 16:05:43 +01:00 |
stefan schippers
|
0611c7a6e7
|
allow select and drag graphs by clicking the upper border too
|
2024-03-08 15:08:47 +01:00 |
stefan schippers
|
064e7accde
|
xschem raw new: allow create multiple `sim_type`s in same raw name; some color adjtstments (background) in widgets
|
2024-03-08 11:56:59 +01:00 |
stefan schippers
|
53fdf69f9e
|
remove debug msgs
|
2024-03-08 11:09:16 +01:00 |
stefan schippers
|
ae69c55bd8
|
fix error in plot_raw_custom_data() wave expression calculator (missing part of the expression due to an improper `else if`
|
2024-03-08 11:07:14 +01:00 |
stefan schippers
|
336a132219
|
update inst_sch_select.sch, fix constrained move reset in intuitive_interface
|
2024-03-08 00:48:05 +01:00 |
stefan schippers
|
93722e8a21
|
comment typo, add one more example in inst_sch_select.sch
|
2024-03-08 00:08:48 +01:00 |
stefan schippers
|
cf002964f3
|
fix wrong unselection of text objects after changing text layer (delete_only_rect_line_arc_poly() erroneously setting xctx->lastsel to 0)
|
2024-03-07 23:38:00 +01:00 |
stefan schippers
|
132d335757
|
fix a regression in merge_file(0,...) from user provided file being aborted
|
2024-03-07 18:32:42 +01:00 |
stefan schippers
|
71b1b52384
|
fix some unwanted persistency of constrained move (now renamed to constr_mv and moved into xctx struct), not being reset at end of command
|
2024-03-07 17:48:41 +01:00 |
stefan schippers
|
1fc335cec2
|
cleanup expression for tmp_rot in draw_selection()
|
2024-03-07 15:27:13 +01:00 |
stefan schippers
|
943c8f4453
|
fix a regression in the display of rttaing/flipping objects while moving
|
2024-03-07 13:28:47 +01:00 |
stefan schippers
|
f57f09ee12
|
allow rotate/flip objects while moving in intuitive interface (Button1 pressed)
|
2024-03-07 12:31:18 +01:00 |
stefan schippers
|
b0f1828eb8
|
simconf dialog box: remember geometry in current session
|
2024-03-07 12:03:43 +01:00 |
stefan schippers
|
3d7f8dff82
|
initialize file_dialog_retval to empty when clicking one of the recently used symbols in the `Recent` toolbox to avoid an abort operation on the very first time when leaving the file browser dialog (bind .load <Leave> event)
|
2024-03-07 01:05:23 +01:00 |
stefan schippers
|
76678ab8b6
|
drag wires from pins: improvements on previous commit
|
2024-03-07 00:08:47 +01:00 |
stefan schippers
|
022a0ebb5e
|
drag wires from pins: if instance is selected can drag wire from pin even if there are already other wires attached
|
2024-03-06 20:04:15 +01:00 |
stefan schippers
|
a7034ce2d1
|
directly create new wires by clicking and dragging from unconnected instance pins (if intuitive_interface is enabled)
|
2024-03-06 16:27:14 +01:00 |
stefan schippers
|
d6eeefcfff
|
set graphdialog back to transient (focus robbery issues on mate/cinnamon desktops)
|
2024-03-06 14:19:26 +01:00 |
stefan schippers
|
08cb3b2475
|
graphdialog: remember its size in current session
|
2024-03-06 13:41:47 +01:00 |
stefan schippers
|
4d3af62ee1
|
intuitive_interface: if clicking without shift all other selected objects will be unselected
|
2024-03-06 13:02:53 +01:00 |
stefan schippers
|
f663a6486d
|
intuitive_interface: if clicking without shift all other selected objects will be unselected
|
2024-03-06 12:58:29 +01:00 |
stefan schippers
|
174d590ad1
|
fix some regressions (place wires/lines/polys/rectangles from context menu), restore selection when creating a new arc
|
2024-03-06 12:53:49 +01:00 |
stefan schippers
|
c88a8334a5
|
simconf: fix select color of checkbuttons
|
2024-03-06 03:36:57 +01:00 |
stefan schippers
|
ad7f4713cf
|
disable -stretch option in panedwindows when non supported on older tcl versions
|
2024-03-06 03:23:31 +01:00 |
stefan schippers
|
e71a7374b2
|
proc has_included_subcircuit: better filter newlines in `.include file` lines in spice_sym_def attributes
|
2024-03-06 01:50:43 +01:00 |
stefan schippers
|
72e613785a
|
fix some graphical artifacts when moving crosshair over partially selected objects (missing rebuild_selected_array())
|
2024-03-05 23:17:42 +01:00 |
stefan schippers
|
7b107621ef
|
dark_gui_colorscheme toolbar
|
2024-03-05 18:08:01 +01:00 |
stefan schippers
|
ffd105a3e7
|
canvas ctx menu: fixed colors (not affected by dark_gui_colorscheme)
|
2024-03-05 13:22:12 +01:00 |
stefan schippers
|
3cdd6526c6
|
add xschem closest_object command, improve intuitive_interface (dont full-select already partially selected item when dragging)
|
2024-03-05 11:57:15 +01:00 |
stefan schippers
|
ceafdedbbd
|
intuitive_interface fix bug(3): cleanup
|
2024-03-05 10:04:39 +01:00 |
stefan schippers
|
02247d13bb
|
intuitive_interface fix bug(2) (did unselect all when clicking on a new instance)
|
2024-03-05 09:58:48 +01:00 |
stefan schippers
|
733d5a9bb1
|
intuitive_interface fix bug (did unselect all when clicking on a new instance)
|
2024-03-05 09:55:35 +01:00 |
stefan schippers
|
99e2c9e503
|
various improvements in intuitive_interface and shape point selection
|
2024-03-05 02:54:35 +01:00 |
stefan schippers
|
2bd8be9dec
|
remove debug info
|
2024-03-05 00:32:57 +01:00 |
stefan schippers
|
f1bb389986
|
fix make_sym.awk: if an existing symbol is present with empty (or white space) attributes do not preserve these, force new default attributes (name=... template=... format=...)
|
2024-03-05 00:19:07 +01:00 |
stefan schippers
|
0129046499
|
add some padding to text in left listbox in load_file_dialog
|
2024-03-04 23:49:55 +01:00 |
Stefan Schippers
|
5be402ea22
|
add Option menu `draw crosshair`, some fixes for crosshair restoring when unselecting
|
2024-03-04 20:42:29 +01:00 |
stefan schippers
|
73ab9de8da
|
better threshold for selecting rectangle vertices
|
2024-03-04 17:44:35 +01:00 |
stefan schippers
|
4a418924eb
|
add line and wire direct endpoint editing
|
2024-03-04 17:13:36 +01:00 |
stefan schippers
|
b3a52015f1
|
add rectangle point editing (vertices can be drag directly)
|
2024-03-04 16:33:20 +01:00 |
stefan schippers
|
973d2c7415
|
remove dbg mesages
|
2024-03-04 15:33:11 +01:00 |
stefan schippers
|
7daea289a2
|
refactored callback() (more sub-functions), some fixes in copy between windows
|
2024-03-04 14:38:32 +01:00 |
stefan schippers
|
128e91ce28
|
re-set xctx->intuitive_interface in context switches from $intuitive_interface in housekeeping_ctx
|
2024-03-04 02:09:30 +01:00 |
stefan schippers
|
5d9de6a697
|
refactor some variable names in callback() (Button1 events)
|
2024-03-04 01:25:29 +01:00 |
Stefan Schippers
|
6d7a4ab377
|
Intuitive interface: Shift-click and drag will duplicate objectt instead of moving and creating wires. cleanup polygon point editing (removed redundant code)
|
2024-03-03 20:13:43 +01:00 |
stefan schippers
|
3fac387e62
|
Intuitive interface: do not start move operations if clicking with SHift key pressed. Too many side effects.
|
2024-03-03 12:34:15 +01:00 |
stefan schippers
|
d529f21d88
|
do not start xctx->drag_elements if xctx->poly_point_selected is set
|
2024-03-03 05:15:51 +01:00 |
stefan schippers
|
5e4fcabf39
|
set foreground of tooltip text so it can not be screwed up depending on colorscheme
|
2024-03-03 05:05:41 +01:00 |
stefan schippers
|
2561014b75
|
fix a missing return in drawbezier when called for cleanup, add a filter for $has_x before applying option instructions in xschem.tcl
|
2024-03-03 04:47:02 +01:00 |
stefan schippers
|
efa413c4ec
|
rename `Paste selection` in context menu to `Paste clipboard` to avoid confusion
|
2024-03-03 04:23:35 +01:00 |
stefan schippers
|
55ac6bb396
|
further fix previous regression
|
2024-03-03 04:21:49 +01:00 |
stefan schippers
|
54e446dbc2
|
fix regression: sel_or_clip filename not updated in merge_file() and in save_selection(). Fixed commit `copy between windows: allow to navigate between more than 2 windows`
|
2024-03-03 03:17:53 +01:00 |
stefan schippers
|
c07871d4ee
|
fix position of if(waves_selected(event, key, state, button)) in callback ButtonRelease
|
2024-03-03 02:24:38 +01:00 |
stefan schippers
|
5e6ab50836
|
further improve dark/light gui coloschemes
|
2024-03-03 01:57:02 +01:00 |
stefan schippers
|
48e93c4e37
|
added dark_gui_colorscheme (default: 0) for dark widget colorscheme configuration. Enabled again partial select (resize) of arcs
|
2024-03-03 00:40:51 +01:00 |
Stefan Schippers
|
96f6336234
|
set some black fg colors where bg is specified as white
|
2024-03-02 18:34:54 +01:00 |
Stefan Schippers
|
030702f31a
|
set default foreground, background and various colors to avoid things geting screwed up by desktop themers
|
2024-03-02 18:03:03 +01:00 |
Stefan Schippers
|
c49fd0bfc9
|
various fixes for intuitive_interface / drag_elements
|
2024-03-02 16:28:22 +01:00 |
Stefan Schippers
|
825c671660
|
fix intuitive_interface: selecting other objects with mouse srea select + shift will not start a move operation
|
2024-03-02 16:03:37 +01:00 |
stefan schippers
|
77cd3eec56
|
added intuitive_interface xschemrc and menu option: click and drag to quickly move objects without keyboard commands
|
2024-03-02 14:15:30 +01:00 |
stefan schippers
|
731dd91018
|
do a change linewidth before redrawing after invoking set_snap(), before draw()
|
2024-03-02 03:46:08 +01:00 |
stefan schippers
|
41d126b3c6
|
revert: don`t print rectangle bboxes around circles as this createed a black sinkhole and a chain-reaction of issues
|
2024-03-02 03:31:24 +01:00 |
stefan schippers
|
1ecf5a30f8
|
fix wrong bounding rectangle coordinate in circle bbox (drawtemparc())
|
2024-03-02 02:43:49 +01:00 |
stefan schippers
|
9f167f9568
|
allow launcher style behaviourrt (tclcommand / url attributes) on all objects. Add (shift + but1 click) and Delete (Ctrl+ But1 click) polygon points. fixed some graphical artifacs when adding new object while some selection is present
|
2024-03-02 02:29:03 +01:00 |
stefan schippers
|
9f04c22aa0
|
UI cleanups related to polygon point dragging. Prepare for polygon add/delete points
|
2024-03-01 20:05:45 +01:00 |
stefan schippers
|
7ca9819e13
|
when locating polygon point to be dragged select first found if there are overlaping points
|
2024-03-01 19:13:29 +01:00 |
stefan schippers
|
51d13d73c0
|
precise selection of beziers based on the actual path and not the corresponding polygon
|
2024-03-01 18:20:57 +01:00 |
stefan schippers
|
e897aee1c4
|
added bezier export in svg and postscript code
|
2024-03-01 17:23:49 +01:00 |
stefan schippers
|
7073b5b78c
|
better notation of arc pointers in draw()
|
2024-03-01 16:03:24 +01:00 |
stefan schippers
|
f903a018b2
|
removed partial select of arcs, will be replaced in the future by bound box resizing and ability to draw ellipses
|
2024-03-01 15:04:38 +01:00 |
stefan schippers
|
2f9d9e1755
|
dont allow recursive polygon placements (complete or abort before starting new)
|
2024-03-01 12:19:15 +01:00 |
stefan schippers
|
a554ee0afa
|
fix a typo in callback.c, remember size of text attribute set dialog box
|
2024-03-01 02:33:32 +01:00 |
stefan schippers
|
724449a1b3
|
comments in code about polygon point dragging
|
2024-03-01 00:48:04 +01:00 |
stefan schippers
|
28aec3fad8
|
fix error in set_snap(): should not do a redraw (draw() ) here, causing a segfault if x11/tk structures are not ready yet. add draw() in places where this function is called if there is something to draw/
|
2024-03-01 00:39:24 +01:00 |
stefan schippers
|
263b72de03
|
add tcl in addition to sch and sym in default search filter in load_file_dialog
|
2024-03-01 00:29:23 +01:00 |
stefan schippers
|
1cb94bedd6
|
drawtemppolygon: draw/clear correctly control points when moving if no `Fix for broken GPUs option` is set
|
2024-03-01 00:23:07 +01:00 |
stefan schippers
|
e946a729f8
|
add ability to click and drag directly polygon/bezier points
|
2024-03-01 00:12:44 +01:00 |
stefan schippers
|
fb6d73723e
|
display control point circles when polygon or bezier selected, simplify bezier drawing (no use pow(), no use precomputed cached power values)
|
2024-02-29 11:11:33 +01:00 |
stefan schippers
|
507c44e117
|
speed optimizations in drawbezier()
|
2024-02-29 04:41:06 +01:00 |
stefan schippers
|
f4560a0add
|
bezier shapes can be drawn (polygon with attribute `bezier=1`)
|
2024-02-29 03:40:08 +01:00 |
stefan schippers
|
714acfd5c9
|
tabulate: allow specify alternate separator characters
|
2024-02-28 18:12:40 +01:00 |
stefan schippers
|
599746c4b4
|
remove debug msg
|
2024-02-28 16:21:43 +01:00 |
stefan schippers
|
6a6881ff47
|
change_elem_order(): allow to change oder of text elements; add tcl tabulate procedure for pretty encapsulating tabular text into a nice ascii table frame.
|
2024-02-28 16:20:59 +01:00 |
stefan schippers
|
236f4967a9
|
use `flags: complex` in raw file in addition to `Plotname: ac` to determine if data is stored as complex numbers
|
2024-02-28 00:08:08 +01:00 |
stefan schippers
|
5fe6fa4639
|
xschem raw read: allow to read raw file with unspecified type (will get the first section found in file)
|
2024-02-27 23:42:19 +01:00 |
stefan schippers
|
2f1b819755
|
extra_rawfile: added null sim_type (type) check in table_read
|
2024-02-27 23:32:53 +01:00 |
stefan schippers
|
0ab7affda2
|
restore_selection(): add line width to bounding box of selection to eliminate graphic artifacts
|
2024-02-27 16:43:49 +01:00 |
stefan schippers
|
8515f25e25
|
fix regression in translate (check instances out of bound) affecting copy_objects()
|
2024-02-27 13:06:19 +01:00 |
stefan schippers
|
6ac58eb880
|
fix regression in translate (check instances out of bound) affecting place_symbol()
|
2024-02-27 12:51:20 +01:00 |
stefan schippers
|
7ede51737d
|
table_read: skip empty csv rows (some tools save as ,,,,,)
|
2024-02-27 11:56:18 +01:00 |
stefan schippers
|
95fc6377d4
|
get rid of `sim_type=tablefile`, use `table` (scheduler.c, extra_rawfile()) for reding tables
|
2024-02-27 11:27:29 +01:00 |
stefan schippers
|
1e3ac96085
|
table_read(): read csv files
|
2024-02-27 10:24:21 +01:00 |
stefan schippers
|
354f027b9b
|
call translate(-1, ..) for text objects containing @... and referencing no valid instance (floater=true) so non instance-related @vars are resolved. translate(): resolve @spice_get_voltage(net) without trying to calculated fqnet from net if no valid inst (-1) is given
|
2024-02-26 16:05:11 +01:00 |
stefan schippers
|
783b5c7aaa
|
added wave processor functions `re()` and `im()` to get real and imaginary part from modulus and phase (expressed in deg)
|
2024-02-25 23:54:39 +01:00 |
stefan schippers
|
7a45497b45
|
add `xschem raw del node` command
|
2024-02-25 12:21:13 +01:00 |
stefan schippers
|
2fae34caa1
|
fix idx() function in wave processor, unified `xschem raw_query` and `xschem raw` commands
|
2024-02-25 00:06:15 +01:00 |
stefan schippers
|
5a2891e4de
|
add idx() function (return index of point, 0, 1, 2, ...). doc updates about new wave processor functions
|
2024-02-24 22:35:54 +01:00 |
stefan schippers
|
203cf38e1e
|
add option `keep_symbols in xschemrc to avoid purging symbols when netlisting /descending hierarchy. Add functions atan, asin,acos, cosh, sinh, atanh,acosh,asinh in wave processor
|
2024-02-24 13:15:43 +01:00 |
stefan schippers
|
de2572e448
|
fix an off by 1 array bound in raw_add_vector
|
2024-02-24 01:53:26 +01:00 |
stefan schippers
|
bf71dbc9e7
|
command xschem raw new to use `start end step` instead of `start step number`
|
2024-02-23 21:58:41 +01:00 |
stefan schippers
|
4e0c344493
|
better status reporting in xschem raw_query command
|
2024-02-23 13:29:53 +01:00 |
stefan schippers
|
44707d71db
|
extend command `xschem raw_query add [expr]` for fast (C-speed) expression calculation
|
2024-02-23 12:46:03 +01:00 |
stefan schippers
|
d1bd5140fe
|
various bug fixes for `xschem raw new` command
|
2024-02-23 04:19:29 +01:00 |
stefan schippers
|
23092fc963
|
do not rely on raw file existence to decide if a raw is loaded. Added a function raw_is_loaded for that
|
2024-02-23 01:51:35 +01:00 |
stefan schippers
|
ac3f3acb62
|
added command `xschem raw new name type sweepvar start step number` that creates an in-memory plot (like a loaded raw file) with only the sweep variable
|
2024-02-23 01:03:20 +01:00 |
stefan schippers
|
de5c068775
|
file open dialog box: added red border when search entry focused
|
2024-02-22 20:36:23 +01:00 |
stefan schippers
|
515dee1ce8
|
file open dialog box: start with search entry focused and selected. Will take focus when iterating with TAB key
|
2024-02-22 20:29:24 +01:00 |
stefan schippers
|
be22993410
|
add command `xschem raw_query add <node>` to add a vector <node> with all zeros to the loaded raw file. This vector can then populated with programmatic values using z `xschem raw_query set <node> point value` loop
|
2024-02-22 19:59:09 +01:00 |
stefan schippers
|
965bf381ea
|
fix regression in xschem raw_read_from_attr when invoked from launcher
|
2024-02-22 14:36:34 +01:00 |
stefan schippers
|
446c0d687a
|
add command `xschem raw table_read table_file` to read an ascii table file without closing other loaded raw files
|
2024-02-21 23:16:58 +01:00 |
stefan schippers
|
8986b7e0b8
|
load_file_dialog: fix a missing global declaration, fix double button click in right listbox
|
2024-02-21 15:02:30 +01:00 |
stefan schippers
|
e347a251b0
|
load_file_dialog: separate search/file entries, better keyboard navigation
|
2024-02-21 14:02:58 +01:00 |
stefan schippers
|
69dec6c677
|
proc load_file_dialog: better allow mouseless operation (use keyboard enter/ arrow keys)
|
2024-02-21 00:15:59 +01:00 |
stefan schippers
|
1336e25e68
|
added xschem raw_query set node n value [dset] command to change loaded raw data
|
2024-02-20 17:17:38 +01:00 |
stefan schippers
|
99a01300c5
|
fix automatic sending bussed signals to graph (Alt-g)
|
2024-02-20 11:05:52 +01:00 |
stefan schippers
|
66ba05fe2c
|
add xschem list_nets command
|
2024-02-19 13:03:28 +01:00 |
stefan schippers
|
f547c86f1e
|
preview window in file open dialog box is x/y resizable
|
2024-02-17 04:40:37 +01:00 |
stefan schippers
|
20add157c2
|
when double clcking (or hitting `q`) to edit attributes if instance has lab=... or value=... select the RHS and position insertion cursor, focus textbox. Add Shift-T bindkey for toggle *_ignore flag
|
2024-02-17 02:58:53 +01:00 |
stefan schippers
|
91829bf99d
|
replace exec with execute_wait in proc convert_to_pdf when launching ps2pdf, so stderr messages will not be treated as a failure
|
2024-02-17 00:15:37 +01:00 |
stefan schippers
|
8b55066978
|
proc tclpropeval2: $sch_basename: remove path elements (use [file tail])
|
2024-02-16 23:24:54 +01:00 |
stefan schippers
|
876f26cb80
|
proc tclpropeval2: make global var sch_basename (schematic name with no extension) available to TCL expressions
|
2024-02-16 23:17:54 +01:00 |
stefan schippers
|
a176f99db5
|
svgdraw.c: avoid setting stroke-width to excessively small (invisible) values; print_spice_element(): in format string if @param is given and in instance atttributes param=value@tag do a round of resolution of @tag looking in instance attributes, then in parent symbol instance attributes (in case of per-instance implementation (schematic=... attr) and finally in parent symbol template string. Doc udpades
|
2024-02-16 16:44:33 +01:00 |
stefan schippers
|
7a589ef4fb
|
change default SPICE_DATA from float to double
|
2024-02-15 11:26:13 +01:00 |
stefan schippers
|
af5df351a6
|
rename xschem setprop inst prop_ptr ... to xschem setprop inst allprops ...
|
2024-02-13 13:32:14 +01:00 |
stefan schippers
|
6a5cca7b3c
|
extend xschem setprop command, add xschem reset_inst_prop command
|
2024-02-13 13:13:28 +01:00 |
Stefan Schippers
|
91bcdfae20
|
spice_netlist(): do a round of tcl_hook2() (resolve tcleval(...)) on device_model attribute
|
2024-02-11 17:41:10 +01:00 |
Stefan Schippers
|
87fa701283
|
spice.awk: handle per-instance .subckt lines of vector instances
|
2024-02-11 16:55:57 +01:00 |
stefan schippers
|
5f4401258f
|
spice.awk: handle per-instance .model lines of vector instances
|
2024-02-11 15:15:46 +01:00 |
stefan schippers
|
531a9c168c
|
pass @device_model in symbols through translate() if it contains @xxx tokens
|
2024-02-11 11:47:13 +01:00 |
stefan schippers
|
b3daf97cc4
|
remove @path resolution in print_*_element(): meaningless
|
2024-02-11 03:06:22 +01:00 |
stefan schippers
|
81f22b8bb2
|
symbol texts: do a double translate() if symbol text `@model` resolves to `xxx@name`, so `xxxN1` will be returned. This will not happen if `@model` resolves to xxx\@name`
|
2024-02-10 13:59:27 +01:00 |
stefan schippers
|
8aa62f2efa
|
parametric models in subcircuits (model=@mod in instances, mod=xxx in parent instantiation)
|
2024-02-09 18:39:09 +01:00 |
stefan schippers
|
1cbbed77ba
|
first commit for parametric models in subckts --DO NOT USE--
|
2024-02-09 17:00:56 +01:00 |
stefan schippers
|
c06a896d4f
|
instance based schematic selection: if instance specified schematic=... not existing use base schematic (symbolname.sch)
|
2024-02-09 02:37:53 +01:00 |
stefan schippers
|
7639d65dc5
|
update make_sch_from_vhdl.awk (compliance with regexp syntax)
|
2024-02-07 12:32:07 +01:00 |
stefan schippers
|
59cf2fff1d
|
remove trailing "/" in netlist_dir if present
|
2024-02-06 10:32:22 +01:00 |
stefan schippers
|
da72478265
|
proc graph_edit_properties: "unlock X axis" checkbutton state immediately applied to graph, not only after closing dialog.
|
2024-02-05 23:33:25 +01:00 |
stefan schippers
|
29d2541b21
|
fix regression in get_sym_template()
|
2024-02-05 16:37:00 +01:00 |
stefan schippers
|
fa533c725a
|
remove dbg messages
|
2024-02-05 14:49:20 +01:00 |
stefan schippers
|
96494dc73a
|
get_sym_template: fix possible unterminated result string
|
2024-02-05 13:47:49 +01:00 |
stefan schippers
|
b2b5b48cfe
|
replace chan configure with fconfigure for older tcl compatibility
|
2024-02-05 11:49:13 +01:00 |
stefan schippers
|
046c23addd
|
add verilog_extra_dir symbol attribute to allow specify "ports by attribute" directions: verilog_extra_dir="VCC=input GND=input" verilog_extra="VCC GND" extra="VCC GND" ....; proc set_netlist_dir will show the last set simulation directory instead of the default ~/.xschem/simulations. Changed background color of menu radiobuttons for clarity.
|
2024-02-05 11:14:51 +01:00 |
stefan schippers
|
fdc2fb5517
|
fix a regression in proc set_paths (erroneusly set file_dialog_files1)
|
2024-02-05 00:32:24 +01:00 |
stefan schippers
|
8ec3e52122
|
allow parametric models in subcircuits. Symbol inv.sym contains template="... modp=cmos_p_10 ...", pmos instance in inv.sch contains model=@modp, instance format string contains format="@name @pinlist @model w=@w l=@l, result is: "m2 y a VCCPIN VCCPIN cmos_p_10 w=wp l=lp"
|
2024-02-03 13:43:18 +01:00 |
stefan schippers
|
7bfed5907c
|
added lcc[level].prop_ptr and lcc[level].templ printing in `xschem globals` command
|
2024-02-03 00:42:25 +01:00 |
stefan schippers
|
331722ab07
|
fix too early xctx->currsch increment in descend_symbol()
|
2024-02-02 10:48:51 +01:00 |
stefan schippers
|
304d42b928
|
Add WM_DELETE_WINDOW action on load_file_dialog widget
|
2024-01-31 18:54:30 +01:00 |
stefan schippers
|
8f3e0be4fe
|
load_file_dialog: checkbutton for displaying only name / full path of component directories
|
2024-01-30 19:15:08 +01:00 |
stefan schippers
|
778dd2c0dc
|
recognize integrated_noise, improve `xschem preview_window` command
|
2024-01-27 11:42:05 +01:00 |
stefan schippers
|
a1c2569506
|
revert previous: print_spice_element(): do 2nd level translate() only on `model` tokens whose value contains @variables.
|
2024-01-22 18:57:42 +01:00 |
stefan schippers
|
24844b3d4c
|
print_spice_element(): do 2nd level translate() only on `device_model` tokens whose value contains @variables.
|
2024-01-22 18:53:04 +01:00 |
stefan schippers
|
1f35fdf05c
|
add `spectrum` type analysis in graph dialog sim type combobox. Make sp and spectrum aliases of ac in read_dataset() and extra_rawfile()
|
2024-01-22 01:19:27 +01:00 |
stefan schippers
|
9ceb274b5e
|
print_spice_element(): when expanding format @variables, if substituted value contains @var do another round of translate() to replace @var with instance assigned var=xxx value
|
2024-01-21 00:00:01 +01:00 |
Stefan Schippers
|
289a979c61
|
translate() on device_model inst attr: avoid tcl_hook2 in get_tok_value() as already done in translate()
|
2024-01-20 19:52:16 +01:00 |
Stefan Schippers
|
e50c6f0df1
|
pass instance `device_models=...` attribute through translate() so @vars are resolved
|
2024-01-20 19:40:49 +01:00 |
stefan schippers
|
38ff460694
|
added `xschem fill_reset` command to reset fill patterns defined via tcl array pixdata(n)
|
2024-01-15 15:53:49 +01:00 |
stefan schippers
|
c46afdc582
|
add command `xschem fill_type n fill_type`
|
2024-01-15 00:45:24 +01:00 |
stefan schippers
|
17e24e0f5f
|
has_included_subcircuit(): correctly handle bussed ports in symbol and spice .subckt file
|
2024-01-14 11:28:51 +01:00 |
stefan schippers
|
ac04ce5c55
|
set tab/window title if xschem invoked with `xschem -n file.sch`. fix poweramp.sch testbench for Xyce sim.
|
2024-01-11 08:19:25 +01:00 |
stefan schippers
|
a7f1b2a5f1
|
add Spectrum analysis recogniztion (yet another ac type) in raw files
|
2024-01-08 23:59:55 +01:00 |
stefan schippers
|
6c163d5cb0
|
has_included_subcircuit(): get symname from `schematic` attribute if set in instance or symbol, or use actual symbol name, add tb_symbol_include.sch example circuit
|
2024-01-08 17:19:12 +01:00 |
stefan schippers
|
8c55f3a99e
|
add `hide=instance` attribute for in-symbol text objects (in addition to hide=true or hide=false). If set the text is invisible in instantiated symbols, but is visible if descending into the symbol
|
2024-01-08 15:47:01 +01:00 |
stefan schippers
|
0597bae9dc
|
various improvements for automatic port order detection from included subcircuit via spice_sym_def and @pinlist in format string, documentation updates in tutorial_use_existing_subckt.html
|
2024-01-08 14:57:21 +01:00 |
stefan schippers
|
d2c6566030
|
when doing spice netlist, if a symbol has the spice_sym_def attribute set and is using @pinlist in format string for port order, get the port order from the subckt given in spice_sym_def, either directly or through a .include line
|
2024-01-08 03:24:59 +01:00 |
Stefan Schippers
|
0f7785d588
|
initial implementation of `has_included_subcircuit()`
|
2024-01-07 19:51:48 +01:00 |
stefan schippers
|
f0e739cf02
|
.load.l.paneright.list better positioning (remember last selection), print_spice_subckt_nodes(): use my_mstrcat() instead of fprintf, for future enhancements
|
2024-01-06 12:14:36 +01:00 |
stefan schippers
|
dcef3d4b9d
|
waves_callback(): do not set GRAPHPAN when setting cursor position numerically
|
2024-01-05 11:21:34 +01:00 |
stefan schippers
|
1fa490b066
|
some fixes on numerical cursor adjustments (for log X scales)
|
2024-01-05 03:13:51 +01:00 |
stefan schippers
|
90ce40da2c
|
Right click on a graph cursor allows to set the cursor position numerically
|
2024-01-05 02:08:13 +01:00 |
stefan schippers
|
7982c67bf6
|
display cursor difference measurement also in log x axis graphs
|
2024-01-04 01:41:40 +01:00 |
stefan schippers
|
6215a89605
|
fix verilog_bitblast not declared as global in proc netlist (typo)
|
2024-01-02 23:18:00 +01:00 |
stefan schippers
|
d77fb43e5e
|
Configure simulators and tools: rearrange buttons behavior: `Accept, no SAve and CLose` and `Accept, SAve and Close`
|
2024-01-01 10:54:05 +01:00 |
stefan schippers
|
d91daea84c
|
extend interval raw file loading to `xschem raw read file type sweep1 sweep2`
|
2024-01-01 01:28:28 +01:00 |
Stefan Schippers
|
cd6deb0bf9
|
xschem raw_read: allow specifying t1 and t2 to load only a portion of simulation file
|
2023-12-31 20:33:08 +01:00 |
stefan schippers
|
64ca25b9fe
|
proc netlist: do not attempt to change a button color if xschem started with -x (no X)
|
2023-12-28 23:28:18 +01:00 |
stefan schippers
|
a95e3597bc
|
Implement vertical flip (shift-V) and vertical flip in place (alt-v), change netlisting mode command moved to bindkey ctrl-shift-V; when opening insert component dialog focus the File/Search entry box
|
2023-12-23 00:06:01 +01:00 |
stefan schippers
|
fbfbef384c
|
when pressing netlist button or executing `xschem netlist` command turn Waves button (if waves are loaded) to yellow to indicate old waves are shown
|
2023-12-22 16:28:49 +01:00 |
stefan schippers
|
77c99c2202
|
handle xyce y-devices in nspice netlists
|
2023-12-22 12:01:55 +01:00 |
stefan schippers
|
f50a3b15fa
|
doc updates (graphs)
|
2023-12-18 23:36:01 +01:00 |
stefan schippers
|
2a8c5e487a
|
avoid %%BeginSetup, %%BeginPageSetup if doing eps
|
2023-12-12 02:18:31 +01:00 |
stefan schippers
|
78b26fc36d
|
add missing %%EndSetup DSC comment
|
2023-12-12 01:59:27 +01:00 |
stefan schippers
|
61ad259ac9
|
removed redundant %%trailer dsc comment
|
2023-12-12 01:27:59 +01:00 |
stefan schippers
|
ed477b90a5
|
eps export
|
2023-12-12 01:14:40 +01:00 |
stefan schippers
|
441e27e8ca
|
preserve existing line width when creating new windows / tabs
|
2023-12-11 18:59:46 +01:00 |
stefan schippers
|
bf0ef23739
|
setting line width in View menu will automatcally disable change line width with zoom
|
2023-12-11 18:31:19 +01:00 |
stefan schippers
|
379938fe03
|
if selection is present when exporting pdf assume it is a bboxed pdf, do not print page title. Fix set_viewport_size setting line width to 1 instead of using current value
|
2023-12-11 18:28:23 +01:00 |
stefan schippers
|
b95289ca5e
|
better line width calculation / restore in export images
|
2023-12-11 16:06:49 +01:00 |
stefan schippers
|
7e820d05b0
|
update docs about new additions to the `xschem print` command
|
2023-12-11 15:22:36 +01:00 |
stefan schippers
|
4cb060f817
|
better placement of graphs in image exports. If something is selected export image will export selection. Add ability to specify area to print in ps/pdf export (set media size to bbox)
|
2023-12-11 15:18:46 +01:00 |
stefan schippers
|
f042b940c2
|
add xschemrc option ps_page_title (default: enabled, 1) to set or hide page title in ps/pdf exports, more precise graph exports in svg and ps/pdf
|
2023-12-11 10:43:09 +01:00 |
stefan schippers
|
c360187d8a
|
fast option in `xschem unhilight_all`
|
2023-12-10 22:15:20 +01:00 |
stefan schippers
|
39769187d3
|
add `xschem set cursor[12]_x` commands for moving graph cursors
|
2023-12-10 00:28:44 +01:00 |
stefan schippers
|
7a39f4d6ca
|
better resolution of exported graphs in ps/pdf and svg
|
2023-12-09 23:39:33 +01:00 |
stefan schippers
|
1285ba0cd4
|
while opening a sub-schematic in another window propagate cursora/b/ annotate info
|
2023-12-09 13:26:18 +01:00 |
stefan schippers
|
c8ced06bbe
|
add `fast` option in xschem hilight_instname. mos_power_ampli: use hilight to show devices with high current
|
2023-12-09 11:39:04 +01:00 |
stefan schippers
|
b21ac67cc4
|
add `xschem set hilight_color` command
|
2023-12-09 02:09:36 +01:00 |
stefan schippers
|
eb471528f9
|
better cut wires inside symbols --> break_wires_at_pins(1)
|
2023-12-09 00:32:41 +01:00 |
stefan schippers
|
e23345ad0b
|
removed some #ifndef-ed code in cairo_jpg.c
|
2023-12-08 13:38:36 +01:00 |
stefan schippers
|
e53ca7fff8
|
xschem setprop: if new attribute changes symbol (as in case of generators) do a match_symbol() to update
|
2023-12-08 00:36:49 +01:00 |
stefan schippers
|
d094ef55b7
|
fix setting old_translated_sym in update_symbol()
|
2023-12-07 18:28:44 +01:00 |
stefan schippers
|
a0237b59b3
|
eliminated some redundant operations on instance flags (set_inst_flags() does the job)
|
2023-12-07 18:07:42 +01:00 |
stefan schippers
|
8c81f629d0
|
fix a regression introduced by saving/restoring tcl context in preview_window()
|
2023-12-07 16:02:31 +01:00 |
stefan schippers
|
8269eff430
|
save / restore tcl context when creating / destroying preview window
|
2023-12-05 18:50:46 +01:00 |
stefan schippers
|
b8fecf997b
|
avoid showing alert box if enabling / disabling stretch mode by bindkey
|
2023-12-05 17:32:48 +01:00 |
stefan schippers
|
c090773afe
|
Opening sub-schematic in new window/tab will inherit raw file loaded and annotation. ngspice::ngspice_data is preserved on context switches now
|
2023-12-05 13:13:59 +01:00 |
stefan schippers
|
b2aad10650
|
changed attribute text_n_size to text_size_n (for efficienty reasons), improved get_tok_val() (use strstr for quick return "" if no token found)
|
2023-12-03 23:11:36 +01:00 |
stefan schippers
|
28ed1351f1
|
spice.awk: do not join user code lines
|
2023-12-03 21:33:03 +01:00 |
stefan schippers
|
6648652ae5
|
allow instance attribute `text_n_size=s` (where s is a double and n is an integer) to set symbol text item `n` to size `s`
|
2023-12-03 12:26:18 +01:00 |
stefan schippers
|
6c1dadd27c
|
flush unused symbols at end of netlist
|
2023-12-02 23:25:54 +01:00 |
stefan schippers
|
8305024cd6
|
break.awk: do not break user code lines in spice netlists
|
2023-12-02 23:00:44 +01:00 |
stefan schippers
|
b2965f4c3d
|
attribute default_schematic=ignore: if set in a symbol xschem will not descend into the default schematic associated to symbol. Instances MUST specify a schematic attribute
|
2023-12-02 13:17:32 +01:00 |
stefan schippers
|
5cb5ec9031
|
local_netlist_dir: use only last path component of schematic when creating simulation directories
|
2023-12-02 04:28:04 +01:00 |
stefan schippers
|
c424a25d66
|
add xctx->last_command in xshem globals debug command
|
2023-12-02 00:58:57 +01:00 |
stefan schippers
|
a797bc593f
|
when in `persistent command` wire or line placement mode, a first escape clear the ongoing placement, a second escape clears the wiring or line-ing command
|
2023-12-01 23:05:07 +01:00 |
stefan schippers
|
b9ef032a2a
|
Add SImulation radiobutton for setting local netlist directory as [library]/simulation/[cellname]. Change netlisting directory if `set local_netlist_dir` is set via --tcl cmdline
|
2023-12-01 14:08:42 +01:00 |
stefan schippers
|
37c6229a21
|
xinit.c: do a `xschem set format lvs_format` if lvs_netlist is set via xschemrc or command line
|
2023-12-01 12:11:12 +01:00 |
stefan schippers
|
4090011a64
|
avoid tk_messageBox in reload schematic warning message (blocks event loop). Avoid using xschem specific XSCHEM_SHAREDIR in utile/utile (can be used standalone)
|
2023-11-30 20:52:28 +01:00 |
stefan schippers
|
b507276fa0
|
fix add bus in graph dialog (use ; separator after bus alias name)
|
2023-11-30 04:15:33 +01:00 |
stefan schippers
|
159460efd4
|
fix unneeded extra_rawfile switch back in graph_fullyzoom()
|
2023-11-30 01:00:25 +01:00 |
stefan schippers
|
898d0538a0
|
Allow tcleval() in vhdl_format attributes, allow intance setting of vhdl_format (override symbol). Add missing space in @pinlist expansion in print_verilog_primitive and print_vhdl_primitive
|
2023-11-29 13:46:24 +01:00 |
stefan schippers
|
30b77d7447
|
allow tcleval() in verilog_format attributes, allow intance setting of verilog_format (override symbol)
|
2023-11-29 12:20:35 +01:00 |
stefan schippers
|
c069afcc40
|
fix occasional crashes due to graph_fullxzoom() getting sweep variable index in raw file before switching to graph-specific raw file
|
2023-11-29 01:26:45 +01:00 |
stefan schippers
|
83c692caa9
|
copy between windows: allow to navigate between more than 2 windows
|
2023-11-28 18:41:38 +01:00 |
stefan schippers
|
e467c5641d
|
fix a crashing bug if aborting (in destination window) a copy operation between different windows ( hash_wire(XDELETE...) )
|
2023-11-28 15:26:27 +01:00 |
stefan schippers
|
e25ded5e74
|
expandlabel(): if a node name begins with `$` assume it will be processed downstream by some scripts. Don`t expand anything
|
2023-11-28 12:24:43 +01:00 |
stefan schippers
|
28bf3b57cf
|
rename some myload_* stuff to file_dialog_*
|
2023-11-27 15:08:15 +01:00 |
stefan schippers
|
4e650811db
|
fix proc ev and proc evo not evaluating correctly braced {...} expressions
|
2023-11-27 12:42:49 +01:00 |
stefan schippers
|
fdc3ceefeb
|
vsource.sym and ammeter.sym no more use tcleval() to handle @savecurrent attribute (calling tcleval() is overkill for such a trivial task and may expose to side effects if $ (and other) characters are used )
|
2023-11-27 12:13:53 +01:00 |
stefan schippers
|
26fbb82f6b
|
fix unwanted head_undo_ptr change when doing a netlist. Add current backannotation info in capa.sym, ind.sym, isource.sym, isource_table.sym
|
2023-11-27 00:01:45 +01:00 |
stefan schippers
|
c4e9310d45
|
allow to load raw files even if netlist type set to `symbol`. Better to_eng function, `xschem raw_query value node {}` returns value at cursor b position
|
2023-11-26 12:54:37 +01:00 |
stefan schippers
|
1dfca8e256
|
add file_dialog default_geometry variable to set file / component selector initial size. Better panes width allocation and stretching
|
2023-11-25 23:44:09 +01:00 |
stefan schippers
|
d71122bb68
|
update pv_ngspice.sch
|
2023-11-24 18:22:10 +01:00 |
stefan schippers
|
3449d25681
|
wm transient: set relative to parent window (which is not always `.` in windowed interface).
|
2023-11-23 22:24:52 +01:00 |
stefan schippers
|
1f4b437593
|
proc waves: set semaphore only for external viewers run in foreground
|
2023-11-23 00:28:09 +01:00 |
stefan schippers
|
7a5d649adc
|
(2) fix wrong list of viewers in proc set_sim_defaults and unsetting semaphore in proc waves
|
2023-11-23 00:01:02 +01:00 |
stefan schippers
|
76540724df
|
fix wrong list of viewers in proc set_sim_defaults and unsetting semaphore in proc waves
|
2023-11-22 23:50:17 +01:00 |
stefan schippers
|
aafe94822a
|
save_file_dialog: file filter by default set to `*` (show all files)
|
2023-11-22 01:41:16 +01:00 |
stefan schippers
|
eb6f9f1f4e
|
fix a small memory leak in spice_netlist.c
|
2023-11-21 10:48:56 +01:00 |
stefan schippers
|
8d155af82f
|
`Alt-e` does a true descend sub-schematic and opens it in another window
|
2023-11-20 17:53:28 +01:00 |
stefan schippers
|
d4cde62870
|
add draw option in schematic_in_new_window(), create_new_tab(), create_new_window()
|
2023-11-20 00:12:13 +01:00 |
stefan schippers
|
2c773c4a25
|
poweramp.sch and mos_power_ampli.sch updates
|
2023-11-19 12:52:57 +01:00 |
stefan schippers
|
f4f61d23a6
|
comments added
|
2023-11-18 23:13:52 +01:00 |
stefan schippers
|
84d945238f
|
`xschem annotate_op file [level]`: added `level` optional integer to specify the hierarchy level op raw data refers to. Add xschem set raw_level to modify the raw level loaded raw file refers to
|
2023-11-18 12:55:57 +01:00 |
stefan schippers
|
2c48b7399e
|
update manual page for sky130 installation (switch from adms to openvaf)
|
2023-11-18 12:03:09 +01:00 |
stefan schippers
|
7da63c19e2
|
regression fix: xschem netlist did not return exit code
|
2023-11-18 01:49:50 +01:00 |
stefan schippers
|
2dac7f1735
|
added execute(exitcode,id) will not be deleted at end of sim. proc graph_tag_nodes works with or without graphdialog open. If it is open it will tag nodes therein, if not it merely returns start and end indexes of nodes in its txt argument
|
2023-11-17 21:36:34 +01:00 |
stefan schippers
|
41f66117e9
|
more code in proc graph_tag_nodes
|
2023-11-17 14:32:25 +01:00 |
stefan schippers
|
48a9a94ab2
|
offloaded proc graph_tag_nodes from proc graph_update_nodelist, moved rcode and colors into tctx:: context
|
2023-11-17 14:05:49 +01:00 |
stefan schippers
|
913614b558
|
some fixes in draw() (transform multiple op in dc sweep also if per-node rawfile specified), handle per-node rawfile in graph_fullyzoom()
|
2023-11-17 01:20:52 +01:00 |
stefan schippers
|
397293f227
|
spice netlist: use symbol for port list of top level schematic only if it is of type subcircuit
|
2023-11-16 23:37:16 +01:00 |
stefan schippers
|
760fbbbc4a
|
allow newlines in (quoted) node names in graphs:
"alias_name;
node_name %
dataset raw_file.raw sim_type
"
|
2023-11-16 02:58:26 +01:00 |
stefan schippers
|
a50bfb3622
|
when doing spice netlisting if top level has a symbol (and the symbol has i/o ports) use the symbol for printing the top level subckt port list. This ensures same port ordering when netlisting a testbench containing a component and netlisting the component itself. Tab context menu: open Symbol / open Schematic will use the search_schematic setting and search counterpart accordingly.
|
2023-11-16 01:26:55 +01:00 |
stefan schippers
|
5117001a9c
|
revert changes: `allow tcleval() in node alias names` and `allow tcleval(xxxx) in % dataset specification on graph nodes`: just wrap the whole list of nodes (including aliases, % specifications et all) into a tcleval(...)
|
2023-11-16 00:02:25 +01:00 |
stefan schippers
|
c85727ae62
|
draw_graph(): revert back tcleval() on node, color, sweep graph attrs
|
2023-11-15 21:27:05 +01:00 |
stefan schippers
|
be914f4ee4
|
raw_read(): clear text floater caches if a rawfile is successfully read
|
2023-11-15 21:04:10 +01:00 |
stefan schippers
|
b1f72ada59
|
isonlydigit() will return true also for negative integers
|
2023-11-15 20:15:02 +01:00 |
stefan schippers
|
83345932a5
|
allow to specify per-node raw file in graphs with the syntax: alias_name ; node_name % [dataset] [rawfile] [sim_type]
|
2023-11-15 19:18:28 +01:00 |
stefan schippers
|
babd340da9
|
report previous netlist error also if doing current level only netlist
|
2023-11-15 00:32:41 +01:00 |
stefan schippers
|
5d3b7bd7d0
|
report error if trying to do a netlist and the file can not be written (example: broken simulation symlink)
|
2023-11-14 23:40:41 +01:00 |
stefan schippers
|
852f2bd25d
|
remove dbg stuff
|
2023-11-14 02:15:07 +01:00 |
stefan schippers
|
d0ee3a34fa
|
fix additional intersection checks in `proc touches`
|
2023-11-14 02:12:23 +01:00 |
stefan schippers
|
8c431a51f8
|
allow to block change color of selected waves using text selection in signal list
|
2023-11-14 01:22:41 +01:00 |
stefan schippers
|
b691021f66
|
typo in my_strdup2() dbg message
|
2023-11-13 23:52:50 +01:00 |
stefan schippers
|
f4df48813f
|
copy_hierarchy_data() initial implementation for future hierarchy cloning. Alt-Shift-E and Alt-Shift-I to edit schematic / symbol in a new xschem process. `xschem raw switch`: allow also integer index (as returned by `xschem raw info`) instead of `file type` to switch raw file
|
2023-11-13 18:00:30 +01:00 |
stefan schippers
|
0bc0f8e5eb
|
read_dataset(): better get name of unknown sim types from raw file
|
2023-11-12 22:11:51 +01:00 |
stefan schippers
|
52291c562d
|
reset_caches() back into prepare_netlist_structs() (no measurable slowdown)
|
2023-11-12 20:56:57 +01:00 |
stefan schippers
|
6360fc1700
|
refactor reset_flags() to reset_caches(). scripts that set tcl variables that go into attributes via tcleval() should call `xschem reset_caches` to get all things updated.
|
2023-11-12 20:53:37 +01:00 |
stefan schippers
|
0df3cfcc7b
|
better recognize global nets in LCC schematics (translate(), @spice_get_voltage(..) )
|
2023-11-12 13:43:31 +01:00 |
stefan schippers
|
ecca0ba2be
|
better swap_windows() function (used when closing a window in multi-window(non-tabbed) interface, resolved_net() recognize global nodes. remove static data from record_global_node(), put in xctx. Remove dead code from translate() (@spice_get_voltage)
|
2023-11-12 13:01:11 +01:00 |
Stefan Schippers
|
8c29d0e812
|
fix error in capa-2.sym and missing check for null xctx->inst[].instname in get_pin_attr()
|
2023-11-11 20:03:20 +01:00 |
stefan schippers
|
8856ab6e0d
|
add min() and max() clipping functions in wave calculator
|
2023-11-11 12:13:38 +01:00 |
stefan schippers
|
d4b8f25455
|
xschem raw_read just loads or reloads the waves, does not toggle. use xschem raw_clear to unload
|
2023-11-11 11:40:36 +01:00 |
stefan schippers
|
f3aac428a4
|
fix rel_sym_path when XSCHEM_LIBTRARY_PATH contains paths with trailing `/`
|
2023-11-11 11:30:27 +01:00 |
stefan schippers
|
bdd641cad3
|
allow tcleval(xxxx) in % dataset specification on graph nodes
|
2023-11-11 00:03:22 +01:00 |
stefan schippers
|
2a67e60376
|
allow tcleval() in node alias names
|
2023-11-10 23:42:09 +01:00 |
stefan schippers
|
117f071500
|
fix del() function in wave processor (did not plot the right %n dataset if specified)
|
2023-11-10 23:23:13 +01:00 |
stefan schippers
|
7368344d85
|
waves callback(): absolute X panning will not switch raw file if no rawfile is specified in graph
|
2023-11-10 18:50:58 +01:00 |
stefan schippers
|
ccc5dab228
|
better wire connection dot sizing at small smap values
|
2023-11-10 17:43:41 +01:00 |
stefan schippers
|
1991b409e0
|
fix small memory leak
|
2023-11-10 15:43:36 +01:00 |
stefan schippers
|
3f85766c10
|
add debug_tcleval variable for specific debugging of tcleval() constructs in the schematic
|
2023-11-10 14:57:37 +01:00 |
stefan schippers
|
565ab605cf
|
better xschem raw clear comand (if rawfile and sim_type specified delete only specified simulation data, not all analyses of rawfile)
|
2023-11-10 12:24:21 +01:00 |
stefan schippers
|
87f9a4e09b
|
reset floater caches on save(As) schematic - better done
|
2023-11-09 19:20:17 +01:00 |
stefan schippers
|
1b737c4ac7
|
reset floater caches on save(As) schematic
|
2023-11-09 19:13:55 +01:00 |
stefan schippers
|
40e66122e8
|
typo in xschemrc
|
2023-11-09 17:32:25 +01:00 |
stefan schippers
|
769c7d4663
|
Add incremental_select tcl variable. It is normally set. If set show selected objects while dragging a selection rectangle. If unset show selection at end of drag operation. Fix possible endless loop whiel zooming on X axis if raw file has only one point (OP). Also if graph specifies custom plot switch to that raw file to get correct x range.
|
2023-11-09 16:41:53 +01:00 |
stefan schippers
|
8231cd65db
|
set_first_sel(): returns first selected element (if any)
|
2023-11-09 15:12:56 +01:00 |
stefan schippers
|
584f88fba1
|
object iterator, object spatial hash table for all objects. tbu in the future maybe. Fix crashing bug when copying ngspice_probe.sym if annotation is enabled
|
2023-11-09 13:57:58 +01:00 |
stefan schippers
|
35359aed20
|
backannotate_at_cursor_b_pos(): allow backannotating b cursor on graphs created from multiple OP points
|
2023-11-09 04:10:06 +01:00 |
stefan schippers
|
7d92a32f5e
|
added Waves ->Op in addition to Waves->Op annotate
|
2023-11-09 04:04:43 +01:00 |
stefan schippers
|
518250b3cc
|
Waves->OP does backannotation, not only loading OP raw file; removed Simulation->Graph->load/unload raw file (redundant, now in Waves)
|
2023-11-09 02:49:02 +01:00 |
stefan schippers
|
3751104b34
|
graph dialog: file selector for graph-specific raw file
|
2023-11-09 01:59:17 +01:00 |
stefan schippers
|
22bd6733fc
|
better alert_ dialog, tab ctx menu: do not try to open netlist if not existing (yet), Simulation->set netlist dir will disable local_netlist_dir
|
2023-11-09 01:21:12 +01:00 |
stefan schippers
|
75c8376a04
|
fix draw_crosshair when xctx->semaphore not zero, fix tabs context menu issues with `open schematc/symbol`; set_modify: do not attempt to reconfigure menu buttons (Simulate-Netlist-Waves) if invoked from preview dialog
|
2023-11-08 22:45:31 +01:00 |
stefan schippers
|
4fef5e2761
|
enhanced Waves menu button, "Use simulation dir..." option does not pring up file selector
|
2023-11-08 11:16:43 +01:00 |
stefan schippers
|
ed9d6905de
|
handle errorCode=NONE (close pipe was with error but no error code)
|
2023-11-08 04:02:33 +01:00 |
stefan schippers
|
b51af6422e
|
call simuldir if doing netlist from commandline (xschem -x -r -n -s -q ... )
|
2023-11-08 03:46:36 +01:00 |
stefan schippers
|
4ff28fd39d
|
avoid calling simuldir in load_schematic when traversing hierarchy during netlisting
|
2023-11-08 02:52:50 +01:00 |
stefan schippers
|
c485e7ef7a
|
better handle error color codes for processes that get killed
|
2023-11-08 02:27:56 +01:00 |
stefan schippers
|
eb7ad4cd8e
|
cleanup set_netlist_dir tcl proc
|
2023-11-08 00:44:29 +01:00 |
stefan schippers
|
a128df47e0
|
proc simuldir: set directory to [xschem current_dirname]/simulation but do not create it until doing the netlist
|
2023-11-07 23:39:18 +01:00 |
stefan schippers
|
acbe76329c
|
execute_fileevent: polling for processes that do close stdout
|
2023-11-07 18:10:33 +01:00 |
stefan schippers
|
f04477d236
|
if local_netlist_dir is set to 1 change netlist_dir at circuit load (and save-as)
|
2023-11-07 17:25:18 +01:00 |
stefan schippers
|
41ade18616
|
fix previously disabled kill for foreground subprocess via Simulate button
|
2023-11-07 15:37:40 +01:00 |
stefan schippers
|
98a95b7f6b
|
proc simulate: handle foreground processes correctly
|
2023-11-07 14:25:36 +01:00 |
stefan schippers
|
c57d5d815f
|
kill_running_cmds: do not try to kill process if execute(pipe,...) not existing; simulate_from_button : don`t do further actions and forget if no process was killed; proc simulate: dont set tctx::...simulate_id, change button color if invoked in foreground
|
2023-11-07 14:10:16 +01:00 |
stefan schippers
|
366fa86d57
|
do not sel tctc::*_simulation_id var if no process was started due to errors /missing command
|
2023-11-07 12:44:56 +01:00 |
stefan schippers
|
089592122d
|
fix mis-interpretation of % as a dataset designator when present in wave alias names
|
2023-11-07 01:05:45 +01:00 |
stefan schippers
|
a5b65ea494
|
add execute(win_path,$id) variable to keep track the tab/window subprocesses started from, for cleanup buttons
|
2023-11-07 00:40:57 +01:00 |
stefan schippers
|
aeafaf5052
|
execute_fileevent: delete ..*simulate_id only if called from related id
|
2023-11-06 19:14:32 +01:00 |
stefan schippers
|
71f5994798
|
reset simulation button on save AS
|
2023-11-06 19:03:19 +01:00 |
stefan schippers
|
714724561d
|
add a catch {} in execute_fileevent (non existent ..._simulate_id var)
|
2023-11-06 16:59:14 +01:00 |
stefan schippers
|
98def78164
|
simulation button will go yellow while sim is running.Clicking a yellow simulate button will kill simulation.
|
2023-11-06 16:47:14 +01:00 |
stefan schippers
|
f531422761
|
restore semaphore on simulate button to avoid multiple clicks running multiple identical sims.
|
2023-11-06 03:07:20 +01:00 |
stefan schippers
|
e5431d86c5
|
fix setting netlist button color code statwe variable (tctx::...._netlist)
|
2023-11-06 01:44:25 +01:00 |
stefan schippers
|
881d8a4ed9
|
various fixes for Simulator/Netlist button color codes
|
2023-11-05 14:13:20 +01:00 |
stefan schippers
|
27114408ec
|
reset simulate and netlist button colors on load new file
|
2023-11-05 02:42:06 +01:00 |
stefan schippers
|
a6fa6135c9
|
remove debug msg
|
2023-11-05 01:51:34 +01:00 |
stefan schippers
|
4a0c007540
|
fix yet another issue with set_modify()
|
2023-11-05 01:42:25 +01:00 |
stefan schippers
|
3bd3956042
|
Netlist and Simulate buttons will be colored in red or green depending on the outcome of the associated operation
|
2023-11-05 00:14:55 +01:00 |
stefan schippers
|
88e7f4fea4
|
fix a problem in set_modify() (inconsistent prev_set_modify state after netlist of modified circuit)
|
2023-11-04 22:50:57 +01:00 |
stefan schippers
|
cfdaebf5e1
|
add `xschem instance_number` command to easily get/set the position of instance in the list
|
2023-11-04 20:43:04 +01:00 |
Stefan Schippers
|
299b29bf87
|
fix parameter count check in xschem getprop
|
2023-11-04 18:46:26 +01:00 |
Stefan Schippers
|
a5f660e54a
|
improve drawing quality of crosshair with (now default) fix for broken gpu enabled
|
2023-11-04 18:29:15 +01:00 |
Stefan Schippers
|
fd5a1e0bdf
|
fix draw_crosshair() (dont get obscured by rubber placement)
|
2023-11-04 15:56:42 +01:00 |
stefan schippers
|
4be10f1707
|
remove dbg message
|
2023-11-04 15:07:09 +01:00 |
stefan schippers
|
7022fbf073
|
xschem simulate sets the Simulate button color. removed redundant proc simulate_button
|
2023-11-04 14:49:15 +01:00 |
stefan schippers
|
bd43be9be6
|
rename a local variable to make tcc happy
|
2023-11-04 12:03:41 +01:00 |
stefan schippers
|
0b93634fee
|
Better Simulation->Graphs-> Load raw file (ask filename)
|
2023-11-03 23:37:09 +01:00 |
stefan schippers
|
a5ee182d59
|
add some Symbol menu entries (place net label / change instance texts to floaters)
|
2023-11-03 15:10:22 +01:00 |
stefan schippers
|
2c26bfbaa9
|
fix some garbage while moving / copying and zooming. faster draw_selection(gctiled) if big selection (use a single XCopyArea), do not allow to descend/go_back if other UI action is pending, initial implementation of `xschem floaters_from_selected_inst` command, get_tok_val() allow quotes in tokens, like a"22"33=123 even if with_quotes unset (it is intended for token values not for tokens themselves)
|
2023-11-03 14:36:35 +01:00 |
stefan schippers
|
b7e5af9b4b
|
add inherited_pin[] in make_sym_from_spice.awk
|
2023-11-02 19:39:01 +01:00 |
stefan schippers
|
234a70d0a3
|
fix version print in make_sch_from_spice.awk and make_sym_from_spice.awk
|
2023-11-02 19:29:00 +01:00 |
stefan schippers
|
e86857d410
|
code cleanup in make_sch_from_spice.awk and make_sym_from_spice.awk
|
2023-11-02 19:23:11 +01:00 |
stefan schippers
|
794df4dfc3
|
add make_sym_from_spice.awk, cut down from make_sch_from_spice.awk
|
2023-11-02 19:07:15 +01:00 |
stefan schippers
|
7727a9f924
|
add necessary comment in edit_text_property()
|
2023-11-02 13:30:03 +01:00 |
stefan schippers
|
722b1f4575
|
small improvements in edit_text_property() and get_instance()
|
2023-11-02 13:24:15 +01:00 |
stefan schippers
|
0a4c59cc30
|
xschem selected_set, search: include text objects. xschem getprop: allow to retrie the text value with txt_ptr
|
2023-11-01 14:19:26 +01:00 |
stefan schippers
|
240db67df2
|
add comments in xschemrc for bespice_listen_port
|
2023-11-01 02:27:23 +01:00 |
stefan schippers
|
1955d6d386
|
setup_tcp_bespice: if port 0 is given let TCL find a free port
|
2023-11-01 02:23:21 +01:00 |
stefan schippers
|
18f337734d
|
setup_tcp_bespice: use stderr for messages
|
2023-11-01 00:31:35 +01:00 |
stefan schippers
|
b60a5a4c4b
|
Add command `xschem setprop text n txt_ptr value` to change a text object text field, set stdout in line buffer mode if used in a pipe, better protect some commands against no X connection
|
2023-10-31 18:39:42 +01:00 |
stefan schippers
|
ff24678fec
|
draw_temp_symbol(): update symbol bbox before doing XCopyArea (fix_broken_tiled_fill && gctiled)
|
2023-10-31 13:10:16 +01:00 |
stefan schippers
|
7842890f0c
|
select_rect(): no more direct usage of fix_restore_rect() (now done in drawtemprect(xctx->gctiled,...). Some dialogs no more transient (having always on top is a hassle for some). The fix_broken_tiled_fill is now set to 1, make this alternate drawing method the default
|
2023-10-30 22:47:25 +01:00 |
stefan schippers
|
e282abb5f1
|
optimized XCopyArea for draw_graph(flags & 1), removed redundant OUTSIDE macro
|
2023-10-30 18:03:52 +01:00 |
stefan schippers
|
11c8c47ad3
|
faster draw_temp_symbol() if fix_broken_tiled_fill and gc==gctiled
|
2023-10-30 17:17:00 +01:00 |
stefan schippers
|
d7247d55e6
|
fix `destroy_all_windows()` not destroying windows in non tabbed interface (late usage of tclresult())
|
2023-10-30 02:09:49 +01:00 |
stefan schippers
|
814839a132
|
fix `destroy_window()` not destroying window in non tabbed interface (late usage of tclresult())
|
2023-10-30 02:02:03 +01:00 |
stefan schippers
|
8f2af6803a
|
remove some dead code, fix redrawing in `xschem move_instance` command
|
2023-10-30 00:57:28 +01:00 |
stefan schippers
|
36b1a9f9e7
|
fix delete_only_rect_line_arc_poly() (used in change_layer)
|
2023-10-30 00:22:25 +01:00 |
stefan schippers
|
52e36cc46b
|
add portable sleep_ms() function
|
2023-10-29 23:52:33 +01:00 |
stefan schippers
|
391a744302
|
xschem setprop command: redraw all viewport if show_pin_net_names is enabled
|
2023-10-29 22:22:05 +01:00 |
Stefan Schippers
|
958c5a1525
|
set_modify() returns now # of floaters, use this info to redraw all viewport in `xschn setprop` commands
|
2023-10-29 20:02:23 +01:00 |
stefan schippers
|
d776d6a351
|
better handle operating point clear / update when switching / reading / clearing raw files. dont use operating point data (ngspice::ngspice) above the hierarchy level where raw file has been loaded.
|
2023-10-29 14:04:52 +01:00 |
stefan schippers
|
b680f5da20
|
redraw screen if executing `xschem raw_read` (and raw file already loaded, thus unloading waves)
|
2023-10-29 12:54:55 +01:00 |
stefan schippers
|
a19020ed78
|
removed find_inst_to_be_redrawn() and related code (not worth doing)
|
2023-10-29 11:11:45 +01:00 |
Stefan Schippers
|
d5fd026196
|
xschem raw command: delete also last (base) raw file in clear subcommand
|
2023-10-28 17:12:32 +02:00 |
stefan schippers
|
a76dca4f29
|
add menu entry in Options for fix_mouse_coord
|
2023-10-28 11:51:21 +02:00 |
stefan schippers
|
78981f2c2f
|
disabled testmode
|
2023-10-28 11:22:37 +02:00 |
stefan schippers
|
a2ed8fefb6
|
added an optional fix (fix_mouse_coord) that uses an alternative method for getting mouse coordinates in KeyPress/KeyRelease events. This should hopefully work around some remote desktop connection softwares that report wrong mouse coordinates (may be absolute vs relative to window?)
|
2023-10-28 11:19:23 +02:00 |
stefan schippers
|
8ac4c6030d
|
getpgrp() tcgetpgrp() are unix specific: protect with #ifdef __unix__
|
2023-10-28 01:20:51 +02:00 |
stefan schippers
|
8b784d01d9
|
fix unrestored bbox coordinates in draw_selection()
|
2023-10-28 01:03:21 +02:00 |
stefan schippers
|
b965fb0ba4
|
improvements in the `Fix for GPUs with broken tiled fill`, no more flickering in selections
|
2023-10-27 23:45:54 +02:00 |
stefan schippers
|
364fb55df1
|
avoid doing unselect_all() if nothing to unselect
|
2023-10-27 12:42:08 +02:00 |
stefan schippers
|
6362ebb214
|
add tanh() function in wave expression evaluator
|
2023-10-27 10:48:53 +02:00 |
stefan schippers
|
9f1b447c16
|
previous fix did not fix. Fix the fix
|
2023-10-26 19:38:25 +02:00 |
stefan schippers
|
4985fb6e61
|
fix crash if extra_rawfile(2, ...) is called when no initial raw file is loaded
|
2023-10-26 19:27:11 +02:00 |
stefan schippers
|
c68866c994
|
add `wm transient .dialog .` to all toplevel dialogs to prevent focus robbery on cinnamon/mate desktops when some other app is always-on-top
|
2023-10-26 19:13:49 +02:00 |
stefan schippers
|
bfc60add06
|
tab context menu: Do not use saved file to decide if symbol or schematic. Use netlist_type
|
2023-10-26 08:29:52 +02:00 |
Stefan Schippers
|
34113c1c5f
|
added tab ctx menu `Save`
|
2023-10-25 20:30:20 +02:00 |
stefan schippers
|
2fec681728
|
puntuation in texts
|
2023-10-25 18:13:48 +02:00 |
stefan schippers
|
f9d3661c15
|
fix tab context menu close (invalid switching after deletion)
|
2023-10-25 16:47:11 +02:00 |
stefan schippers
|
8e844ff913
|
remove (unneeded) `edit file` tab-bar context menu entry
|
2023-10-25 16:33:24 +02:00 |
stefan schippers
|
27488a1020
|
add tabs ctx menu `open term in sim directory`
|
2023-10-25 16:28:10 +02:00 |
stefan schippers
|
b31358a468
|
New thumbnails for tabs ctxmenu
|
2023-10-25 13:01:00 +02:00 |
stefan schippers
|
9a0375cc4b
|
do not add `Edit netlist` ctx menu button for symbol tabs
|
2023-10-25 12:14:48 +02:00 |
stefan schippers
|
3d4113ad26
|
tabs bar context menu
|
2023-10-25 11:43:43 +02:00 |
stefan schippers
|
d83acf710d
|
add `xschem text_string` command, update displayed floaters if a text object is changed
|
2023-10-24 18:47:58 +02:00 |
stefan schippers
|
94b43d41ed
|
add double click in process list to get status, add Simulation menu entries to display data and stderr of last completed job
|
2023-10-24 14:28:59 +02:00 |
stefan schippers
|
82387c7f2f
|
remove unneeded grab set in property_search
|
2023-10-24 11:45:13 +02:00 |
stefan schippers
|
0819211bb0
|
when doing a select by area with shift pressed the object under the mouse will not be unselected if it was already selected (xctx->already_selected)
|
2023-10-23 23:41:39 +02:00 |
stefan schippers
|
512b297e35
|
add validity checks for xctx->inst[n].ptr < 0 (unresolved instance)
|
2023-10-23 22:49:52 +02:00 |
stefan schippers
|
fec9c1b7e3
|
fix fullxzoom if a single curve is selected with find_closest_wave() (returns a dataset number) in a double variable DC sweep (there are no multiple datasets, just sweep var wrapping)
|
2023-10-23 17:20:51 +02:00 |
stefan schippers
|
2aeafac85c
|
if selecting a waweform dataset with `t` key update text floaters that might contain the dataset information. When closing the process list dialog also close the process status sub-dialog.
|
2023-10-23 16:03:27 +02:00 |
stefan schippers
|
4f4872fa7b
|
execute_fileevent: use exit status instead of stderr data in status report
|
2023-10-23 10:33:08 +02:00 |
stefan schippers
|
d82ad002e8
|
better fill nodes listbox when selecting in-graph raw file, simulation->graph menu reordering
|
2023-10-23 09:28:29 +02:00 |
stefan schippers
|
447a5b8ae6
|
add ngspice interactive/control/batch simulation modes
|
2023-10-23 01:00:09 +02:00 |
stefan schippers
|
6e776262e6
|
remove debug msg
|
2023-10-23 00:05:34 +02:00 |
stefan schippers
|
10857629e1
|
add option --pipe (alias for -r / ----no_readline)
|
2023-10-22 22:16:17 +02:00 |
stefan schippers
|
2a8b0b40d8
|
add some additional help text in simulator config dialog
|
2023-10-22 12:14:49 +02:00 |
stefan schippers
|
8f3fedab1f
|
fix a bug when closing with ctrl-q (ie from callback(), calling proc quit_xschem) and there are multiple windows, some with changed data (switch_tab() was skipped due to xctx->semaphore). Process status dialog window will not be updated if vertical slider is not positioned to bottom
|
2023-10-22 02:53:03 +02:00 |
stefan schippers
|
d5d090afc0
|
better line-rectangle touch check for backward rectangle selection (intersection select)
|
2023-10-21 23:48:56 +02:00 |
stefan schippers
|
5c27e48ccf
|
fix rectangle intersection checker macro (RECT_TOUCH)
|
2023-10-21 22:37:01 +02:00 |
Stefan Schippers
|
73c4a17c2c
|
dragging to the right a selection rectangle will select objects fully enclosed. Dragging to the left will select all objects intersected by the select rectangle.
|
2023-10-21 19:09:17 +02:00 |
stefan schippers
|
109cef6c52
|
detect if program started in background and detach from console
|
2023-10-21 11:37:59 +02:00 |
stefan schippers
|
f2fd7e6e48
|
remove debug messages
|
2023-10-21 11:05:47 +02:00 |
stefan schippers
|
99f31e4535
|
periodic update of process status dialog, updated delta_sigma and rom8k examples for allowing batch mode ngspice run
|
2023-10-21 10:58:02 +02:00 |
stefan schippers
|
e603a71651
|
fix typo
|
2023-10-21 10:07:31 +02:00 |
stefan schippers
|
8a8d9f0148
|
added comments for sub-process management, disabled list sub-processes on windows (need specialized version)
|
2023-10-21 09:47:37 +02:00 |
stefan schippers
|
2e4e754a3e
|
add context menu entries for rotate and flip selection, add basic sub-process control in Simulation menu, enabled again Rotate and Flip from Edit menu, fix svg export from CLI (was resetting line width), add cascade menus in Simulation
|
2023-10-21 09:27:02 +02:00 |
stefan schippers
|
8e1df1b157
|
add proc sim_cmd to substitute variables in simulator commands and return the resulting command
|
2023-10-19 18:18:20 +02:00 |
stefan schippers
|
0e583cfac1
|
add tooltip showing full path of schematic when hovering the mouse over a tab
|
2023-10-19 15:14:29 +02:00 |
stefan schippers
|
0325b14499
|
add `none` i/o buffering mode (in addition to `line`) in execute `status` argument
|
2023-10-19 13:01:25 +02:00 |
stefan schippers
|
efb0351812
|
fix fullxzoom when selecting more (unlocked) graphs, graphs have a custom rawfile specified and current loaded sim is not of the same type (for example OP)
|
2023-10-19 10:47:01 +02:00 |
stefan schippers
|
1b7a035220
|
fix graph_fullxzoom in case of non monotonical sweep x axis variable
|
2023-10-18 16:10:08 +02:00 |
stefan schippers
|
0178e1c287
|
add @symref attribute that resolves to the full symbol reference as specified in instance: example: "sky130_fd_pr/pfet_01v8_lvt.sym"
|
2023-10-18 13:18:29 +02:00 |
stefan schippers
|
f9114a0888
|
proc graph_fill_listbox : use "xschem raw read" instead of "xschem raw switch" so if user enters a new file it will be immediately loaded
|
2023-10-18 10:48:23 +02:00 |
stefan schippers
|
cc5864e12f
|
fix 2 bugs in extra_rawfile(): xctx->extra_idx assignment in extra_rawfile "read" subcommand and return value if no command executed. Add "file_exists "procedure to be used in graph_edit_properties for rawentry resolution
|
2023-10-18 10:15:39 +02:00 |
stefan schippers
|
a41a0bf9fd
|
add noise analysis recognition in raw files
|
2023-10-18 02:56:06 +02:00 |
stefan schippers
|
ad07999dd3
|
do not use text widget -selectbackground on tcl8.4
|
2023-10-17 23:35:16 +02:00 |
stefan schippers
|
ecbbb68447
|
replace text widget "count -displaylines" with alternative tcl8.4 compatible
|
2023-10-17 23:31:13 +02:00 |
stefan schippers
|
8e8145a241
|
fix regression on input_line tcl procedure. buggy if empty cmd ws passed as argument
|
2023-10-17 23:06:49 +02:00 |
stefan schippers
|
52572a6ca4
|
update cmos_example.sch
|
2023-10-17 18:16:48 +02:00 |
stefan schippers
|
9917c8276b
|
revert to KeyRelease events (instead of FocusOut) for various widgets in graphdialog (better feedback), fix premature deallocation of data in child process in filter_data()
|
2023-10-17 17:05:10 +02:00 |
stefan schippers
|
025454e79e
|
fix a regression in graph_fullyzoom() if graph contains more than one expression
|
2023-10-17 16:39:25 +02:00 |
stefan schippers
|
306c5d0d15
|
fix two small memory leaks, doc updates (xschem raw command) Raw.filename renamed to Raw.rawfile
|
2023-10-17 16:08:27 +02:00 |
stefan schippers
|
9fda2adccb
|
fix graph_fullxzoom if displaying multiple op (transformed to dc sweep) sims
|
2023-10-17 14:20:34 +02:00 |
stefan schippers
|
b165720bc8
|
allow loading more and different analyses from the same raw file. Implied tcleval() in rawfile given in graphdialog, transform multiple saved OP sims into a dc sweep.
|
2023-10-17 14:00:43 +02:00 |
stefan schippers
|
8cfd51d8f9
|
add the ability to load multiple raw files with different analyses in a single schematic ( extra_rawfile() )
|
2023-10-17 00:42:31 +02:00 |
stefan schippers
|
5da81a7aea
|
shut down some gcc false warnings (uninitialized vars), add read_more_rawfile()
|
2023-10-16 11:16:12 +02:00 |
stefan schippers
|
f10555917e
|
optimized usage of interpolate_yval(), add raw->cursor_b_val[]
|
2023-10-16 09:53:03 +02:00 |
stefan schippers
|
d1309a8a47
|
fix uninitialized var in interpolate_yval()
|
2023-10-15 13:24:19 +02:00 |
stefan schippers
|
a7bcfb7941
|
do interpolation when annotating "b" cursor values in schematic, as done with measurements with "a" cursor.
|
2023-10-15 12:05:48 +02:00 |
stefan schippers
|
f87ab46310
|
refactor table_read(), less pointer indirections
|
2023-10-15 10:24:13 +02:00 |
stefan schippers
|
53286346e1
|
doc updates, tcl rawfile variable in place for future per-graph raw file
|
2023-10-14 23:41:19 +02:00 |
stefan schippers
|
663991ce70
|
add "filename" member in Raw (raw file) struct
|
2023-10-14 23:09:40 +02:00 |
stefan schippers
|
537cedbafe
|
better graphdialog layout, remove tcl redundant raw_level var
|
2023-10-14 22:43:58 +02:00 |
stefan schippers
|
8ceb4b6b41
|
fix false wcnt warning in draw_graph()
|
2023-10-13 23:09:27 +02:00 |
stefan schippers
|
25ab8a8b8a
|
cursor `a` measurements in graph match the %n dataset specified on nodes if any (or default to dataset 0)
|
2023-10-13 23:04:45 +02:00 |
Stefan Schippers
|
c6a3880b9d
|
fix a bug in draw_graph_points() changing and not restoring linewidths if called with idx==-1
|
2023-10-13 18:46:15 +02:00 |
stefan schippers
|
617e6b3b8d
|
update live backannotation if "a" and "b" cursors are swapped, syntax node%n is now allowed to plot only dataset "n" of the node. Update html docs and example autozero_comp circuit
|
2023-10-13 15:51:51 +02:00 |
stefan schippers
|
6ad282a3df
|
remove some global tcl vars
|
2023-10-13 09:41:34 +02:00 |
stefan schippers
|
cd01e5d314
|
in digital graphs use gr->magy (ylabmag attribute) to rescale node names on Y axix, as done in analog graphs on Y axis labels
|
2023-10-13 00:25:40 +02:00 |
stefan schippers
|
c86d48f321
|
expandlabel(): do bus_char substitution even if taking the shortcut
|
2023-10-13 00:04:58 +02:00 |
stefan schippers
|
ae58077447
|
move replace_key to global_array_list (it is an array var)
|
2023-10-12 21:09:45 +02:00 |
stefan schippers
|
88a5befbf2
|
add some cascade menus for less frequently used entries. better description of xschem unselect_all command
|
2023-10-12 19:37:22 +02:00 |
stefan schippers
|
676ce4fe3d
|
lock attribute for rectangles: work the same as for instances (can only double click to reset attributes, not selectable until lock reset to 0), add commands "xschem selected_set rect" and "xschem select_inside x1 y1 x2 y2"
|
2023-10-12 11:15:12 +02:00 |
stefan schippers
|
a5545c3dbf
|
fix keybinding doc typo
|
2023-10-11 23:56:36 +02:00 |
stefan schippers
|
f1cb655a7a
|
ERC: symbols with pass-through pins by definition do not match with schematic so do not check
|
2023-10-11 22:57:44 +02:00 |
stefan schippers
|
c9a2bca5d7
|
add local manual link in xschem about dialog
|
2023-10-11 17:10:06 +02:00 |
stefan schippers
|
e457292e04
|
trim_chars() function for various string operations
|
2023-10-11 16:31:42 +02:00 |
stefan schippers
|
9b4bd44fd0
|
merged in fast_raw_read branch
|
2023-10-11 14:05:27 +02:00 |
stefan schippers
|
3a25109fe1
|
fix compile error with CAIRO on Windows: dest_x and dest_y should be idx1 and idy1, respectively in my_cairo_fill
|
2023-10-11 13:59:08 +02:00 |
stefan schippers
|
6305b52d91
|
add safety check for null string in edit_text_property()
|
2023-10-09 13:53:57 +02:00 |
stefan schippers
|
b56ee2c998
|
use my_strdup2() in all text object copies(txt_ptr, prop_ptr, floater_ptr, ...) to better handle corrupted input data
|
2023-10-09 13:39:45 +02:00 |
stefan schippers
|
94bccc08d9
|
do not duplicate empty strings as NULLs in hash tables
|
2023-10-09 12:49:11 +02:00 |
stefan schippers
|
bb4f296211
|
use "2" instead of "X" for default return state in xschem logic_get_net command
|
2023-10-09 00:11:17 +02:00 |
stefan schippers
|
6b00a88f28
|
fix xschem simulator "mux" operator (M) to handle unknown selector state
|
2023-10-08 11:45:22 +02:00 |
stefan schippers
|
58af2567e6
|
fix initialization of default value for "xschem get_logic_net"
|
2023-10-08 11:32:56 +02:00 |
stefan schippers
|
62bc3759f0
|
add (disabled, should be done with keyboard shortcuts) Edit menu entries: rotate, flip, rotate_in_place, flip_in_place
|
2023-10-06 13:17:06 +02:00 |
stefan schippers
|
4f0377f1e9
|
expandlabel(): if empty node name is given return empty string instead of NULL
|
2023-10-06 11:24:00 +02:00 |
stefan schippers
|
3e4f49dbea
|
further fix expandlabel() potentially returning its string argument (instead of a copy) in case of weird and wrong node syntax
|
2023-10-06 11:11:17 +02:00 |
stefan schippers
|
42781f8456
|
fix a regression in expandlabel() returning it string argument without making a copy
|
2023-10-06 00:08:16 +02:00 |
stefan schippers
|
c4e1fb6a31
|
fix a memory leak in translate()
|
2023-10-05 20:15:47 +02:00 |
stefan schippers
|
0204b7596b
|
first selected instance is now always the master (instead of the first in the xschem array order) when doing an edit attribute on a group of selected elements
|
2023-10-04 17:15:52 +02:00 |
stefan schippers
|
9ecc5859b2
|
fix new_prop_string() when doing a name change on multiple selected instances
|
2023-10-04 00:44:43 +02:00 |
stefan schippers
|
5ffc7bb5e4
|
select_object() returns sel instead of sel.type (more info on return)
|
2023-10-04 00:09:12 +02:00 |
stefan schippers
|
822910fce7
|
strboolcmp(): remove debug message
|
2023-10-03 20:46:18 +02:00 |
stefan schippers
|
d613bcc47a
|
fix strboolcmp() (return false anyway if str="")
|
2023-10-03 20:44:44 +02:00 |
stefan schippers
|
02086d76a7
|
revert from tclgetboolvar to tclgetvar for edit_symbol_prop_new_sel, as this is not a boolean
|
2023-10-03 15:28:42 +02:00 |
stefan schippers
|
5c7abfa048
|
optimization for new_prop_string() done. doc updates for instance hide_texts=true attribute, align strboolcmp() to tcl allowed boolean values (1, true, on, yes)
|
2023-10-03 15:20:30 +02:00 |
stefan schippers
|
d441ba6966
|
fix missing update of name_is_used() call
|
2023-10-03 13:24:54 +02:00 |
stefan schippers
|
24bc44ad0c
|
doc updates (text attributes), prepare improvements for new_prop_string()
|
2023-10-03 13:21:04 +02:00 |
stefan schippers
|
e49f9902a7
|
remove redundant actions in toggle_colorscheme
|
2023-10-03 10:45:11 +02:00 |
stefan schippers
|
3ed97b3df2
|
some code refactoring, more usage of tclgetboolvar()
|
2023-10-03 10:27:29 +02:00 |
stefan schippers
|
b613d65fd9
|
read_dataset(): better set return codes on errors and cleanup allocated memory
|
2023-10-02 19:18:12 +02:00 |
stefan schippers
|
9fee9610ab
|
vsource.sym and ammeter.sym: add "savecurrent=1|0|true|false" attribute do decide if a .save I(...) is to be printed in netlist. default is 1 for ammeter.sym and 0 for vsource.sym. Add "deltax deltay rot flip" optional parameters for xschem "copy_objects" command to make copy operation scriptable (lot more efficient than using clipboard)
|
2023-10-02 12:11:05 +02:00 |
stefan schippers
|
05c79febc2
|
better implementation of cursor reconfiguring if draw_crosshair enabled
|
2023-09-30 00:22:10 +02:00 |
stefan schippers
|
c25a9f9d85
|
if crosshair is displayed and xschem blocked by a tk_messageBox restore pointer to default, so it will be visible. Do not parse labels if not vectored labels (shortcut)
|
2023-09-30 00:13:33 +02:00 |
stefan schippers
|
00ef95c90e
|
fix regression: hilight nets not incrementing color (if nets are singlebits)
|
2023-09-29 10:39:25 +02:00 |
stefan schippers
|
405d950412
|
add xctx->mouse_inside var to better decide if crosshair has to be drawn
|
2023-09-29 10:09:13 +02:00 |