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
|
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
|
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
|
7a45497b45
|
add `xschem raw del node` command
|
2024-02-25 12:21:13 +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
|
965bf381ea
|
fix regression in xschem raw_read_from_attr when invoked from launcher
|
2024-02-22 14:36:34 +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
|
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
|
7982c67bf6
|
display cursor difference measurement also in log x axis graphs
|
2024-01-04 01:41:40 +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
|
f50a3b15fa
|
doc updates (graphs)
|
2023-12-18 23:36:01 +01:00 |
stefan schippers
|
ed477b90a5
|
eps export
|
2023-12-12 01:14:40 +01:00 |
stefan schippers
|
b95289ca5e
|
better line width calculation / restore in export images
|
2023-12-11 16:06:49 +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
|
7a39f4d6ca
|
better resolution of exported graphs in ps/pdf and svg
|
2023-12-09 23:39:33 +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
|
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
|
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
|
159460efd4
|
fix unneeded extra_rawfile switch back in graph_fullyzoom()
|
2023-11-30 01:00:25 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
6362ebb214
|
add tanh() function in wave expression evaluator
|
2023-10-27 10:48:53 +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
|
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
|
025454e79e
|
fix a regression in graph_fullyzoom() if graph contains more than one expression
|
2023-10-17 16:39:25 +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
|
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
|
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
|
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
|
64cb20dab9
|
add crosshair_layer tcl variable, so user can change crosshair layer.Crosshair is deleted on LeaveNotify events.
|
2023-09-29 00:30:43 +02:00 |
stefan schippers
|
5080c2c33f
|
fix unitialized vars (mostly false errors, but why not...)
|
2023-09-28 00:30:00 +02:00 |
stefan schippers
|
0f29b53d25
|
remove an extra change_linewidth() in svg_embedded_graph() (now already done in resetwin())
|
2023-09-27 13:22:46 +02:00 |
stefan schippers
|
f3230ceb42
|
FIX_BROKEN_TILED_FILL can now be changed runtime (fix_broken_tiled_fill)
|
2023-09-27 01:28:31 +02:00 |
stefan schippers
|
6a0fcdae05
|
various optimizations (do not execute graphic ops with gctiled if FIX_BROKEN_TILED_FILL is defined, optimize XCopy Area blits
|
2023-09-23 01:46:39 +02:00 |
stefan schippers
|
93291ed84b
|
add draw_crosshair() (if enabled) at end of any draw() operation
|
2023-09-22 13:13:35 +02:00 |
stefan schippers
|
fbe3064cf2
|
remove gctiled in MyXCopyArea() calls (use gc[0], background, any GC is ok as long as it does not have some strange logic operator)
|
2023-09-21 23:51:17 +02:00 |
stefan schippers
|
c5420f4f07
|
fix a crashing bug if descending a schematic those symbol has a @#resolved_net:... attribute, raw file is loaded and show net_names is enabled.
|
2023-09-11 09:24:03 +02:00 |
stefan schippers
|
c23f38e10b
|
export ps/pdf, png, svg functions now use custom file chooser widget (as Save As does) to enable creation of new folders
|
2023-08-30 00:42:09 +02:00 |
stefan schippers
|
cf675be805
|
add "xschem print pdf_full" and "xschem print ps_full" commands to print full view properly fitting paper size, regardless of xschem window size, some fixes in circle postscript drawing (set newpath) and rectangle clipping. Add menu command "PDF/PS export full"
|
2023-07-13 13:24:17 +02:00 |
stefan schippers
|
83071b4b21
|
fix crash on windows if a new tab is opened and immediately closed (incorrect call of draw() after clearing pixmap)
|
2023-07-07 08:30:13 +02:00 |
stefan schippers
|
476499b250
|
better recognize implicit datasets (sweep var wrap to initial value in raw file)
|
2023-06-28 08:20:09 +02:00 |
stefan schippers
|
245993f034
|
added attributes spice_ignore=short, verilog_ignore=short, .... that will transform the instance into a short in the current netlisting mode, shorting all pins to the same net. Works similarly as lvs_ignore=short, but does not need lvs_ignore global setting
|
2023-06-07 03:41:49 +02:00 |
stefan schippers
|
38a28a3acb
|
add lvs_ignore to context saved vars. Refactored some preprocessor macros SPICE_IGNORE_INST --> SPICE_IGNORE)
|
2023-06-06 23:38:29 +02:00 |
stefan schippers
|
b6e9ab33cc
|
fix compare schematics if no file for schematic to compare with is given. In this case compare current schematic with saved version. Also issue a warning if swapping compare schematics if comparing schematic with disk version of itself.
|
2023-06-06 19:39:40 +02:00 |
stefan schippers
|
394db224d1
|
added global tcl variable `lvs_ignore` that can be used to enable instance or symbol attributes `lvs_ignore=open` or `lvs_ignore=short` while netlisting, added `test_lvs_ignore.sch` example
|
2023-06-06 15:22:45 +02:00 |
stefan schippers
|
5043b14921
|
fix uninitialized wave_color due to regression after rainbow wave color enablement in double dc sweeps; more bus_tap.sym usage in examples; make bus_tap.sym work correctly for all netlist formats
|
2023-05-27 23:36:10 +02:00 |
Stefan Schippers
|
b5b1339653
|
enable rainbow colored graphs also for double dc sweeps
|
2023-05-24 19:31:47 +02:00 |
stefan schippers
|
5c22d26072
|
update copyright info to 2023
|
2023-05-21 12:52:19 +02:00 |
stefan schippers
|
c2e5c61b35
|
graphs: add xmag and ymag entry boxes for custom magnification factor for x/y axis labels, fix current_dirname handling when netlisting hierarchical http(s) designs. The goal is to allow netlisting remote designs seamlessly
|
2023-05-20 23:21:43 +02:00 |
stefan schippers
|
ee1979b8b2
|
low level functions for floaters and floater text caches is implemented
|
2023-05-13 13:13:35 +02:00 |
stefan schippers
|
9ea9d529f7
|
fix toggle_ignore function. If multiple elements selected with different *_ignore attributes flip each one of them accordingly. Baseline code added for text floaters
|
2023-05-12 14:54:22 +02:00 |
stefan schippers
|
9ea93e9938
|
hide_texts=true attribute added on instance will avoid the display of all symbol texts (will be probably used when using floater symbol texts)
|
2023-05-12 12:09:20 +02:00 |
stefan schippers
|
16b7bd068c
|
disabled elements are displayed in grey and dashed. Properties->toggle *_ignore function can be undone
|
2023-05-12 10:31:09 +02:00 |
stefan schippers
|
35354e8fe3
|
fix: check for NULL type attribute in get_sch_from_sym(). Fix web schematic navigation (descend and return) in load_schematic()
|
2023-05-12 01:29:38 +02:00 |
stefan schippers
|
5e281e7f10
|
*_ignore attributes for instances and symbols cached in .flags struct member for speed optimization. added some generator netlist testcases in xschemtest.tcl
|
2023-05-10 23:29:16 +02:00 |
stefan schippers
|
339c523f0b
|
align symbol types, reducing number of different types (remove ngprobe, current_probe, differential_probe, raw_data_show --> probe
|
2023-05-10 17:46:16 +02:00 |
stefan schippers
|
4308b86744
|
add noconn symbol type to list of symbols NOT to grey out even if they have *_ignore=true attributes set
|
2023-05-10 14:53:49 +02:00 |
stefan schippers
|
7ad930e7f0
|
istances with *_ignore=true attribute will be drawn greyed out in schematics in the corresponding netlisting mode; command in Properties menu to toggle this attribute on selected instances
|
2023-05-10 03:13:13 +02:00 |
stefan schippers
|
4c3b4d0321
|
various tcl_hook2() additions on instance names to handle procedures, fix bbox calculation in xschem replace_symbol command
|
2023-05-01 14:37:10 +02:00 |
stefan schippers
|
26e088e729
|
add graph_linewidth_mult xschemrc variable to set default multiplier for graph line width w.r.t. xschem (current) line width. Add "Line width:" entry in graph_edit_properties dialog box
|
2023-04-28 10:45:56 +02:00 |
stefan schippers
|
410135cf44
|
align set_thick_waves() to comply with previous commit
|
2023-04-27 22:49:43 +02:00 |
stefan schippers
|
36f71708e6
|
added linewidth_mult=<double> attribute in graphs for per-graph line width adjustment
|
2023-04-27 20:55:17 +02:00 |
stefan schippers
|
52f35e30c2
|
avoid video updating when loading multiple files in hierarchical ps/pdf export
|
2023-04-27 08:49:52 +02:00 |
stefan schippers
|
ff9f92646c
|
draw_graph_points() split big XDrawLines requests into smaller chunks to handle raw files with > 4M points
|
2023-04-14 15:41:00 +02:00 |
Stefan Schippers
|
ebfcde42de
|
change preprocessor defined(HAS_CAIRO) to HAS_CAIRO==1
|
2023-04-09 15:36:06 +02:00 |
stefan schippers
|
d2d9eaa4e8
|
instance attribute "hide=true" will make the instance display as a bounding box only
|
2023-03-10 04:42:21 +01:00 |
stefan schippers
|
3b41a486f6
|
avoid executing fullyzoom xschem command if no data loaded
|
2023-02-26 13:56:52 +01:00 |
stefan schippers
|
0a015f25db
|
add create_graph.tcl example procedure
|
2023-02-26 13:39:57 +01:00 |
stefan schippers
|
94fee133ca
|
add commands xschem setprop rect 2 <n> fullxzoom and fullyzoom
|
2023-02-26 13:07:14 +01:00 |
stefan schippers
|
b162ecdf48
|
remove unused parameter in setup_graph_data()
|
2023-02-26 11:22:19 +01:00 |
stefan schippers
|
a8aaf996e7
|
use pre-increment where expression is not used
|
2023-02-18 09:44:11 +01:00 |
stefan schippers
|
c51f007da3
|
table_read(): skip initial empty lines, allow 2 or more blank lines for new dataset
|
2023-02-10 03:36:29 +01:00 |
stefan schippers
|
42c3024eda
|
remove debug allocation IDs
|
2023-02-09 21:06:27 +01:00 |
stefan schippers
|
3be9a66aed
|
fix memory leak in table_read()
|
2023-02-09 21:04:22 +01:00 |
stefan schippers
|
09868a0782
|
put a typedef in xschem.h to avoid duplicate declarations. add env tcl to global list in proc simulate
|
2023-02-06 14:36:24 +01:00 |
stefan schippers
|
6e524624e7
|
fix wrong closest wave finding ("t" keybind in graphs)
|
2023-02-03 03:35:55 +01:00 |
stefan schippers
|
1da5e47d4a
|
remove my*() allocation routines unique IDs and replace with _ALLOC_ID_ macro, to be substituted in debug sessions with create_alloc_ids.awk
|
2023-01-23 15:42:15 +01:00 |
stefan schippers
|
c8a60b4ee4
|
better image bbox calculation for svg and ps
|
2023-01-20 13:25:23 +01:00 |
stefan schippers
|
af0ddb76f0
|
cleanups, remove redundant png_reader() definition
|
2023-01-17 01:23:34 +01:00 |
rafmag
|
9105bef5f5
|
Fixed issues with rotating and fliping images + other bugs
|
2023-01-16 11:33:59 -07:00 |
stefan schippers
|
249fdd69a2
|
temporary fix for building xschem. Some warnings due to rev >c89 to be fixed, and proper detection of libjpeg must be added
|
2023-01-16 12:21:35 +01:00 |
stefan schippers
|
115f0fdf0c
|
improve cairo draw options
|
2023-01-11 12:02:21 +01:00 |
stefan schippers
|
4c0d5023f5
|
allow 0 width lines (faster device dependent implementation) if user defined line width is set (to 0), add devices/title-3.sym
|
2023-01-07 11:28:28 +01:00 |
stefan schippers
|
aa70d90c46
|
fix cairo font reference counting
|
2022-12-25 23:13:59 +01:00 |
stefan schippers
|
75fbb76543
|
optimization: split cairo font creation into create + set
|
2022-12-25 10:42:07 +01:00 |
stefan schippers
|
e01f545567
|
--diff option to visually compare two different (versions of) schematics
|
2022-12-13 13:51:33 +01:00 |
stefan schippers
|
b23988ccdf
|
added commented lines for antialiasing; JL:cairo_set_line_width should only be called with has_x as xctx->cairo_ctx and xctx->cairo_save_ctx is NULL when run with -x; JL:XCopyArea must be called to draw correctly with Cairo on Windows
|
2022-12-02 16:43:01 +01:00 |
stefan schippers
|
f18ed49f6f
|
adjust dash line threshold for graphs
|
2022-12-02 00:13:54 +01:00 |
stefan schippers
|
babc6d7e82
|
huge graphic speed improvement for dashed lines (graph grid) on some GPUs
|
2022-12-01 16:30:02 +01:00 |
stefan schippers
|
7ae10bd7da
|
add macro DRAW_ALL_CAIRO: if set to 1 graphics primitives will use cairo instead of Xlib. Currently work in progress, as of now only the grid and the final XCopyArea done in draw() will use Cairo if macro is set
|
2022-11-30 00:59:45 +01:00 |
Stefan Frederik
|
ca8ffafe8a
|
code refactoring (update_conn_cues())
|
2022-11-07 14:23:57 +01:00 |
Stefan Frederik
|
8f055ebb5f
|
only_probes: dim toward light grey if light colorscheme is in use
|
2022-11-07 14:03:27 +01:00 |
Stefan Frederik
|
faaa79d35a
|
dim schematic to grey if showing only probes, instead of hiding it completely
|
2022-11-07 13:34:48 +01:00 |
Stefan Frederik
|
153929806b
|
fill attribute on rectangles to override layer fill style: fill=false will not fill
|
2022-10-29 23:49:00 +02:00 |
Stefan Frederik
|
cb652adb5f
|
skip NULL or empty texts in draw_symbol, translate2() skip @@... and @#... tokens (return empty)
|
2022-10-21 17:48:54 +02:00 |
Stefan Frederik
|
3c4d9e99fb
|
allow changing start color in rainbow multi-dataset graphs
|
2022-10-13 19:33:30 +02:00 |
Stefan Frederik
|
4833f126f7
|
fix axis start label positioning (axis_start() and axis_within_range())
|
2022-10-13 17:36:42 +02:00 |
Stefan Frederik
|
86e8ee2aae
|
added rainbow checkbutton for multicolor waves in case of multiple datasets
|
2022-10-13 01:00:55 +02:00 |
Stefan Frederik
|
7a1fbb4809
|
better check_unique_names() and hash_all_names() implementation (do not skip label instances or instances with no format attr). Button click focuses main drawing window even if autofocus_mainwindow is set to 0, to avoid losing keyboard focus forever if TAB is pressed.
|
2022-10-12 11:56:02 +02:00 |
Stefan Frederik
|
6b4ce14e7d
|
some refactoring of tcl globals, engineering format in cursor display (on unscaled axes)
|
2022-09-29 14:22:33 +02:00 |
Stefan Frederik
|
ae4b74f2d8
|
graph axes in engineering notation (20u, 10p, 3k), fix an issue in graph panning with button1 mouse; ngspice:: get_current, get_voltage, get_diff_voltage, get_node embedded into xschem.tcl, to_eng tcl procedure to convert number to engineering form.
|
2022-09-28 19:14:31 +02:00 |
Stefan Frederik
|
25f0334110
|
resize some widgets, add femto and tera for x/y axis units
|
2022-09-27 10:09:51 +02:00 |
Stefan Frederik
|
3e6815ccc5
|
recent components are in paned window (can be resized)
|
2022-09-27 09:27:39 +02:00 |
Stefan Frederik
|
fd72e72dba
|
test and got svg_embedded_graph(...) to work on Windows with Cairo (Joanne). added some #ifndef __unix__ guards to avoid compiler warnings about defined and not used functions, initial implementation of "Recent components" browser.
|
2022-09-25 21:11:52 +02:00 |
Stefan Frederik
|
314acbabda
|
allow tabs and newlines in graph expressions in addition to spaces; updated example schematics
|
2022-09-23 02:18:51 +02:00 |
Stefan Frederik
|
3e2bc9f95e
|
added "Annotate operating point" into Simulation menu
|
2022-09-22 19:47:25 +02:00 |
Stefan Frederik
|
9c89a08111
|
better backannotation info placement in net labels, fixes in translate() for @spice_get_voltage and @spice_get_current, fixes in ngspice_backannotate routines.
|
2022-09-21 17:24:16 +02:00 |
Stefan Frederik
|
e67ff344c8
|
cleanup/rename some xctx variables and graph-related functions, avoid drawing graphs using data file loaded from from schematics that are unmatched with current schematic or up in the hierarchy levels
|
2022-09-21 11:25:45 +02:00 |
Stefan Frederik
|
c695c435d2
|
move initialization of s=0 outside the loop in backannotate_at_cursor_b_pos(). If only_probes is set do not display graphs and images.
|
2022-09-20 17:59:01 +02:00 |
Stefan Frederik
|
af475e00df
|
xschem raw_read accepts an optional type argument after file name (tran, ac, dc, op, ...) to select type of simulation to load from raw file. New command xschem annotate_op will replace ngspice::annotate tcl procedure.
|
2022-09-20 16:49:42 +02:00 |
Stefan Frederik
|
ad6cbb4df6
|
let cursor graph backannotation work for multiple sweeps (implicit datasets)
|
2022-09-18 23:29:48 +02:00 |
Stefan Frederik
|
c06034e33e
|
performance optimization in live cursor b backannotation
|
2022-09-18 11:06:48 +02:00 |
Stefan Frederik
|
96f80d1d33
|
Alt-a in graph annotates schematic with values at cursor b position. Simulation->Live annotate option to automatically update schematic probes if cursor moved. Some improvements and fixes in ngspice_annotate.tcl. Fix xschem setprobe command. Added missing housekeeping_ctx when a new tab is created. housekeeping_ctx: added more variables to sync.
|
2022-09-18 05:29:16 +02:00 |
Stefan Frederik
|
52405a29c7
|
restructured graph dialog box, added min/max x, adjusted sweep variables vertical aligmnent, added atof_spice() that recognizes spice suffixes (12p, 4.2MEG etc)
|
2022-09-16 17:01:59 +02:00 |
Stefan Frederik
|
f286b376f7
|
do not show bboxes of hidden texts while moving objects if global option "show hidden texts" is not set; documentation updates
|
2022-09-16 13:19:26 +02:00 |
Stefan Frederik
|
7d6b33cda8
|
limit max size of embedded graph bitmaps in svg export. added deriv0() graph function, does derivative w.r.t. index 0 (sweep) variable, regardless of graph sweep (x axis) variable.
|
2022-09-16 12:16:26 +02:00 |
Stefan Frederik
|
decf7d9d2e
|
add #if conditions for svg_embedded_graph()
|
2022-09-15 20:16:35 +02:00 |
Stefan Frederik
|
f644ce58a6
|
graphs are now rendered (as detailed png bitmaps) in svg exports
|
2022-09-15 19:39:16 +02:00 |
Stefan Frederik
|
6effda2bfc
|
fix find_closest_dataset() if log scale axes are used
|
2022-09-13 13:39:25 +02:00 |
Stefan Frederik
|
9c636cbee1
|
fixed a possible out of bound array writing (crash) on malformed graph bussed nodes in get_bus_idx_array()
|
2022-09-10 01:39:30 +02:00 |
Stefan Frederik
|
f78fc5494d
|
set_text_custom_font xctx->cairo_ctx can be NULL when netlisting without X with 0_examples_top.sch; net_name(..) doesnt work on duplicate pin for test_doublepin.sch so added back the condition in rev 2243; added HAS_CAIRO directive to compile on Windows that dont have CAIRO turned on.
remove some old unused variables
|
2022-09-08 20:58:12 +02:00 |
Stefan Frederik
|
02c1dce486
|
zomm area in graphs: if dragging backward (in x direction) reverse x axis.
|
2022-09-04 01:09:05 +02:00 |
Stefan Frederik
|
ae1bed65f4
|
added [t]rack bindkey in graph to display the wave closest to mouse in multiple dataset plots
|
2022-09-02 17:11:50 +02:00 |
Stefan Frederik
|
41acfd91dd
|
some small code refactoring, allow multiple selected (bold) waves, one per graph, store the bold waves into file
|
2022-08-27 12:56:33 +02:00 |
Stefan Frederik
|
cc49909282
|
better clip off-graph data
|
2022-08-14 15:05:08 +02:00 |
Stefan Frederik
|
edf185616b
|
Y log axis option in graphs
|
2022-08-08 01:18:42 +02:00 |
Stefan Frederik
|
8383030afa
|
remove printing `[Mag]` on wave labels in AC plots.
|
2022-08-05 19:07:42 +02:00 |
Stefan Frederik
|
15e367ba73
|
user selectable log X scale instead of assiming log X for AC analyses only
|
2022-08-05 00:57:03 +02:00 |
Stefan Frederik
|
3b0589d2d1
|
store just magnitude and phase of AC vectors instead of dB and phase. Add db20() function to get dB values from magnitude in graph RPN expressions.
|
2022-08-03 17:44:53 +02:00 |
Stefan Frederik
|
bd8c1fd6eb
|
do not accept 0 in graph `X div` and `Y div` textboxes, as this will cause an endless loop
|
2022-08-03 10:44:34 +02:00 |
Stefan Frederik
|
c9d16d6008
|
use 5 significant digits in graph (time) measures
|
2022-06-29 11:47:10 +02:00 |
Stefan Frederik
|
cd7eb3ab54
|
update license info
|
2022-06-24 00:36:12 +02:00 |
Stefan Frederik
|
f882918931
|
more conversion warnings suppressed
|
2022-04-28 10:12:16 +02:00 |
Stefan Frederik
|
97911fe9fc
|
text routines: longest_line made double (from int) for consistency
|
2022-04-28 00:00:51 +02:00 |
Stefan Frederik
|
23102433c2
|
fixed lot of conversion warnings/ bugs (int/double/size_t)
|
2022-04-27 13:18:45 +02:00 |
Stefan Frederik
|
19d9d8a8f1
|
global Options menu "show hidden texts" to show or not show texts with attribute "hide=true"
|
2022-03-09 00:29:16 +01:00 |
Stefan Frederik
|
00de54c582
|
Honor hide attribute for texts in ps/pdf and svg exports
|
2022-03-01 19:36:08 +01:00 |
Stefan Frederik
|
c1a92ab5dc
|
revert pro floaters. black hole, wrong approach
|
2022-02-22 12:09:04 +01:00 |
Stefan Frederik
|
2a205d298a
|
TEXT_TRANSLATE flag: pro-floaters addition
|
2022-02-22 01:28:19 +01:00 |
Stefan Frederik
|
8be5ae7eb0
|
hide attribute for text items, not only if embedded in symbols
|
2022-02-21 10:53:06 +01:00 |
Stefan Frederik
|
d457565c2d
|
declared more functions static where possible and appropriate
|
2022-02-19 14:31:55 +01:00 |
Stefan Frederik
|
414cba1623
|
smaller threshold for minimum polygon size drawing
|
2022-02-19 03:59:00 +01:00 |
Stefan Frederik
|
1d8fe237ce
|
add test_extracted_netlist circuit example
|
2022-02-18 15:11:44 +01:00 |
Stefan Frederik
|
fc6268395b
|
dedicated function for calculating y extent of custom wave equations
|
2022-02-17 01:22:15 +01:00 |
Stefan Frederik
|
f4ff14fbd8
|
fix bus msb nibble calculation in case of incomplete MSB nibble. Add sigma delta adc example
|
2022-02-16 02:27:57 +01:00 |
Stefan Frederik
|
a9987b9be2
|
better y label alignment in digital graphs
|
2022-02-15 23:50:50 +01:00 |
Stefan Frederik
|
1ba83016c6
|
better digital graph label positioning (margin to y axis)
|
2022-02-15 18:57:40 +01:00 |
Stefan Frederik
|
ce136d8f00
|
cleared some comments
|
2022-02-15 18:00:31 +01:00 |
Stefan Frederik
|
e3fe1029cd
|
switch statements vs if-else-if in plot_raw_custom_data(); do not try to measure non existing waveforms due to expression syntax errors
|
2022-02-14 22:32:45 +01:00 |
Stefan Frederik
|
c08cc359f3
|
plot_raw_custom_data() returns idx or -1 in case of expr syntax errors to avoid plotting junk
|
2022-02-14 19:28:24 +01:00 |
Stefan Frederik
|
59fe63cb68
|
swap evaluation order in if()
|
2022-02-14 18:56:51 +01:00 |
Stefan Frederik
|
4ebf3ea601
|
allow wave alias naming, fix off-by-one errors in plot_raw_custom_data() calls
|
2022-02-14 17:51:18 +01:00 |
Stefan Frederik
|
b95d78734f
|
allow ";" in addition to "," for separator in nodes to be plotted. ";" will be used for node alias. Fix potential uninitialzed data in get_bus_idx_array()
|
2022-02-13 22:54:28 +01:00 |
Stefan Frederik
|
13aca67a4d
|
find_nth() generalized to accept multiple separators
|
2022-02-13 11:24:38 +01:00 |
Stefan Frederik
|
c6a7d8f9bb
|
optimize custom data plots and expression evaluation, added avg()
|
2022-02-12 13:20:24 +01:00 |
Stefan Frederik
|
defd2a92a7
|
rpn expressions in graphs
|
2022-02-12 04:55:02 +01:00 |
Stefan Frederik
|
a0e7a9ed78
|
same refactoring for bus wave drawing (set_thick_waves())
|
2022-02-07 16:21:06 +01:00 |
Stefan Frederik
|
f08d980558
|
graph function refactoring (set_thick_waves())
|
2022-02-07 16:14:52 +01:00 |
Stefan Frederik
|
e37d5a28b8
|
more flexible my_strtok_r (handle quoting and escapes), allow quoted expressions in graphs for doing math on vectors
|
2022-02-07 03:52:42 +01:00 |
Stefan Frederik
|
62766fd618
|
cleanup test code for custom plots
|
2022-02-05 02:16:27 +01:00 |
Stefan Frederik
|
d6d932e730
|
fix save simconf (thanks mkk). put template code for custom function plots
|
2022-02-05 00:28:06 +01:00 |
Stefan Frederik
|
1cb9645e9f
|
xyce quircks/integration for ac analysis, refuse to stretch unscalable images, more example schematics
|
2022-02-03 00:40:59 +01:00 |
Stefan Frederik
|
008b289e4f
|
ac analysis in graphs (mag + phase, log axis)
|
2022-02-02 18:33:16 +01:00 |
Stefan Frederik
|
a8e1a6c047
|
fix regression (tcl context was not saved/restored correctly)
|
2022-02-02 00:11:46 +01:00 |
Stefan Frederik
|
e7ebb2c2af
|
Xyce support for node/current probing to graph
|
2022-01-31 00:14:34 +01:00 |
Stefan Frederik
|
a79af0c7e5
|
send currents to graph
|
2022-01-30 14:39:11 +01:00 |
Stefan Frederik
|
faa210fb2f
|
code cleanup, removed code redundancy, itoa(), dtoa() functions, removed unnecessary tcl graph_* global vars, mstrcat function.
|
2022-01-30 03:10:09 +01:00 |
Stefan Frederik
|
552bfcac4e
|
better label text size calculation in digital graphs
|
2022-01-29 02:52:26 +01:00 |
Stefan Frederik
|
c083491738
|
probe nodes from xschem into its own wave viewer
|
2022-01-29 02:36:54 +01:00 |