Stefan Frederik
|
3f452beb8e
|
Fix: search() "unselect" function was not updating drawing
|
2020-12-25 15:14:41 +01:00 |
Stefan Frederik
|
582863f825
|
added menu option to load most recent file: ctrl-shift-o, fix menu entry "unhilight selected nets" (did unhilight all); removed a wire[].node clear in hash_wire() that caused broken connectivity. this data is cleared in delete_netlist_structs when needed.
|
2020-12-25 04:37:53 +01:00 |
Stefan Frederik
|
6e8486bbf2
|
add mising parameter in text_bbox() needed if compiling without cairo, tedax_netlist updated to be in line with other backends.
|
2020-12-24 12:23:48 +01:00 |
Stefan Frederik
|
fe42f65ec0
|
some adjustments to make xschem work without warnings if compiled with 18 years old tcl-tk 8.4, check for unconfigured simulators/viewers (example: running a simulation on tedax netlist), various fixes for the drill_hilight() function
|
2020-12-24 05:18:50 +01:00 |
Stefan Frederik
|
5bd6d565d1
|
propagate_hilights does a prepare_netlist_structs() to ensure consistent connectivity and avoid crashes when returning from lower level symbols; specialized there_are_hilights() function that tells if there still are hilights in the hash table. Checking hilights in current level of hierarchy only is an error since there might be hilights in other hierarchies.
|
2020-12-24 01:13:37 +01:00 |
Stefan Frederik
|
b7b9d666a9
|
fix: avoid doing any erc checking/highlights if a schematic is explicitly loaded without linking components to symbols. This is done for instances with (spice|verilog)_stop=true attributes set to prevent unwanted symbol expansion
|
2020-12-23 18:16:53 +01:00 |
Stefan Frederik
|
02f0a416cc
|
-a -m check for unbound instances (Joanne fix)
|
2020-12-23 15:57:28 +01:00 |
Stefan Frederik
|
5f39beab1d
|
code formatting
|
2020-12-23 12:06:04 +01:00 |
Stefan Frederik
|
69b465805a
|
eliminated unused var
|
2020-12-23 05:09:14 +01:00 |
Stefan Frederik
|
d0fb5f94e0
|
eliminated some global vars
|
2020-12-23 05:07:39 +01:00 |
Stefan Frederik
|
11a054946b
|
better gsave/grestore in ps/pdf export
|
2020-12-23 02:59:44 +01:00 |
Stefan Frederik
|
c58645b8e6
|
fix connection bubbles not updated when adding "2 segment manhattan lines" , svg export draws highlighed nets if any
|
2020-12-23 02:14:27 +01:00 |
Stefan Frederik
|
26b5b67262
|
code formatting
|
2020-12-22 22:37:39 +01:00 |
Stefan Frederik
|
1cfea4d1d3
|
svg_draw(): do not print unused layer stylesheets, error check when opening file for printing
|
2020-12-22 18:31:08 +01:00 |
Stefan Frederik
|
0783ff7002
|
fix error in link_symbols_to_instances(): potential call of symbol_bbox() -> translate() -> prepare_netlist_structs() before completing xctx->inst[i].lab assignments
|
2020-12-22 16:10:27 +01:00 |
Stefan Frederik
|
9b262299ba
|
typo in svgdraw.c
|
2020-12-22 14:05:51 +01:00 |
Stefan Frederik
|
5e0ba4766b
|
use Sans-Serif for svg default font instead of SansSerif that is unrecognized on some browsers
|
2020-12-22 13:08:11 +01:00 |
Stefan Frederik
|
ae11f27db0
|
make svg/ps font naming consistent between tcl/c. Filter out some code if X not available (command mode)
|
2020-12-22 11:35:42 +01:00 |
Stefan Frederik
|
779c789100
|
better "xschem print" command accepting viewport and image dimensions, better zoom_full (with margin), good for embedding in script and do automatic export generation
|
2020-12-22 00:13:25 +01:00 |
Stefan Frederik
|
4ddc9654e8
|
add xschem commands for specifying image size for png and pdf: xschem print svg file.svg 800 600; svg background color taken from svg_colors variable so it can be changed like any other color
|
2020-12-21 04:38:57 +01:00 |
Stefan Frederik
|
d46abbeec1
|
use SansSerif default font instead of Helvetica: more general and better matching with browser display
|
2020-12-20 22:28:10 +01:00 |
Stefan Frederik
|
0970555869
|
removed obsolete --a3page command option
|
2020-12-20 20:42:07 +01:00 |
Stefan Frederik
|
35efb0228a
|
speed up draw selection for big datasets, make "drill_hilight" work again after hilight infrastructure changes, fix hilight elements with errors after netlisting, after hilight changes
|
2020-12-20 19:48:37 +01:00 |
Stefan Frederik
|
dfa58a0a08
|
spaghetti code removal, more reused code
|
2020-12-20 15:56:29 +01:00 |
Stefan Frederik
|
43f6dc03a4
|
fixed typo in spice.awk
|
2020-12-20 12:46:00 +01:00 |
Stefan Frederik
|
63a6a8767e
|
resolved a slow path introduced in commit db6bee26 / r1406 ( rebuild xctx-<inst[].color after undo/load )
|
2020-12-20 02:09:38 +01:00 |
Stefan Frederik
|
a737e53be4
|
after a paste schematic / ctrl-v leave ui_state to SELECTION so objects can be deleted without having to re-select them
|
2020-12-19 23:21:47 +01:00 |
Stefan Frederik
|
db6bee268a
|
Fix: paste/ctrl-v was not leaving elements selected; select highlighted elements was not setting ui_state to SELECTION making delete not functional. After an undo rebuild xctx-<inst[].color field of labels/pins from bus_hash_lookup info.
|
2020-12-19 23:11:26 +01:00 |
Stefan Frederik
|
f3a3c2d10d
|
clean up of search() function (removed spaghetti drawing code, use available functions)
|
2020-12-19 19:58:30 +01:00 |
Stefan Frederik
|
bcedaa6bc5
|
various drawing optimizations to speed up full zoom views
|
2020-12-19 17:12:46 +01:00 |
Stefan Frederik
|
1184312527
|
various fixes around the highlight speed improvements
|
2020-12-19 05:06:57 +01:00 |
Stefan Frederik
|
a837682731
|
caching "lab" and "highlight" attributes for speed
|
2020-12-19 03:22:38 +01:00 |
Stefan Frederik
|
41c46bd84b
|
fix hilights when descending / going back
|
2020-12-18 19:43:45 +01:00 |
Stefan Frederik
|
821ebf06f2
|
optimizations in instance (connected to wires/net labels) highlights
|
2020-12-18 19:22:08 +01:00 |
Stefan Frederik
|
3611b95444
|
fix debug message causing a crash when doing a net highlight if design contains cells with no pins (filler, taps, etc) and highlight=true attr is set on symbols
|
2020-12-18 12:38:09 +01:00 |
Stefan Frederik
|
2e18119645
|
remove "m=1" in xyce spice netlists as xyce does not handle m param. Translate spice_probe ".save" to xyce ".print tran", handle different hierarchical expansion of voltage/current nodes in xyce for hierarchical ammeter/spice_probe probes
|
2020-12-17 18:26:46 +01:00 |
Stefan Frederik
|
e46033f0bb
|
fix regression due to r1395, updated Changelog, fix set initial window size when doing ps/pdf export from cli
|
2020-12-17 03:48:34 +01:00 |
Stefan Frederik
|
2e20b2c6d6
|
escape parenthesis in postscript texts
|
2020-12-17 02:49:37 +01:00 |
Stefan Frederik
|
c13ca9218d
|
fix correct version syntax when saving in file
|
2020-12-17 02:01:38 +01:00 |
Stefan Frederik
|
a438d436bf
|
xschem page aspect ratio decides if postscript or landscape for ps/pdf
|
2020-12-16 23:16:43 +01:00 |
Stefan Frederik
|
887280d8a2
|
better postscript page align
|
2020-12-16 18:56:38 +01:00 |
Stefan Frederik
|
5b4d6ab640
|
postscript fonts in ps/pdf export
|
2020-12-16 18:30:33 +01:00 |
Stefan Frederik
|
1bb59cf41a
|
cleanup in postscript print
|
2020-12-16 10:48:15 +01:00 |
Stefan Frederik
|
f22f7a26f5
|
allow to specify fixed, user defined line width (does not change on zoom) and allow specify if grid points should be same size as line width
|
2020-12-14 19:11:24 +01:00 |
Stefan Frederik
|
ce5adbffdb
|
added flatten_savenodes.awk for flattening in-subcircuit .save instructions
|
2020-12-14 16:31:20 +01:00 |
Stefan Frederik
|
5af6a38d2e
|
allow ! in net names, it got deleted after the parselabel rework.
|
2020-12-13 20:26:39 +01:00 |
Stefan Frederik
|
e89f0e4505
|
code formatting; xschem(): check for command not found
|
2020-12-13 00:00:48 +01:00 |
Stefan Frederik
|
03c42d3ecd
|
code formatting
|
2020-12-12 22:48:25 +01:00 |
Stefan Frederik
|
fc5b1a9616
|
code formatting
|
2020-12-12 20:50:06 +01:00 |
Stefan Frederik
|
a3e1564c48
|
option for variable-width grid points for better visibility on hyper-resolution monitors
|
2020-12-12 13:36:39 +01:00 |
Stefan Frederik
|
a642d6e05e
|
if cadlayers set in xschemrc reduce / pad color lists accordingly; handle the case of insufficient number of layers set. Sorted "xschem" command "get" substrings for later lookup optimizations
|
2020-12-08 12:35:21 +01:00 |
Stefan Frederik
|
0ca9464f8f
|
"Edit Attr" combobox in edit symbol attributes and edit global attributes was adding unnecessary quotes around the attribute
|
2020-12-07 21:08:13 +01:00 |
Stefan Frederik
|
89da7d9ffd
|
use #if HAS_CAIRO!=1 indtead of HAS_CAIRO==0
|
2020-12-07 20:12:52 +01:00 |
Stefan Frederik
|
bb64297b6e
|
better #if/#endif configuration of various xrender/xcb/cairo combinations
|
2020-12-07 20:04:57 +01:00 |
Stefan Frederik
|
e80896dbf9
|
added render_format assignment that got deleted after xinit code refactoring
|
2020-12-07 18:51:15 +01:00 |
Stefan Frederik
|
c5c729fc89
|
tcl code indentation fixes, cleanup, some global vars removed
|
2020-12-07 15:46:20 +01:00 |
Stefan Frederik
|
4d56fcc72d
|
indentation cleanups
|
2020-12-06 22:07:33 +01:00 |
Stefan Frederik
|
c3ba3112e0
|
remove some redundant warnings in memory allocations, since all alloc calls have an ID and wrapper issues warnings in case of failures. Use some Tk wrapper functions to get X11 related data since all windows are already opened by tcl-tk.
|
2020-12-06 20:52:35 +01:00 |
Stefan Frederik
|
17124c761c
|
each schematic windows has its own "current later" (rectcolor)
|
2020-12-06 16:40:08 +01:00 |
Stefan Frederik
|
4d26ce66a8
|
more state variables into xctx: move / create new objects
|
2020-12-06 16:10:22 +01:00 |
Stefan Frederik
|
e7e5ad190b
|
more schematic context in xctx: cairo surfaces and context, save buffer graphic context (GC), hilight hash tables and data, node name hash tables. Refactoring of resetwin , resetcairo routines (also used in xinit to avoid code duplication), switching schematics seems almost complete now
|
2020-12-06 02:10:53 +01:00 |
Stefan Frederik
|
fe1f7c57a7
|
"lazy man" (good enough for schematics) aproximated polygon clipping using the underlying xorg 16 bit integer poly clipping engine, by projecting outer vertices to the 16 bit signed coordinate system edges
|
2020-12-05 13:58:44 +01:00 |
Stefan Frederik
|
f9f9de3371
|
added "PWD" button in file load/place component dialog box that brings back to the directory containing current schematic. Selecting a component before doing "place component" will make the file load dialog start from the directory containing the selected component
|
2020-12-05 05:18:35 +01:00 |
Stefan Frederik
|
f138db5aba
|
fix linewidth when done with preview, also avoid to destroy & create main pixmap since it was saved
|
2020-12-05 04:12:56 +01:00 |
Stefan Frederik
|
780b994aeb
|
use short data type for small integer data: rot, flip, dash, bus etc...
|
2020-12-05 03:16:01 +01:00 |
Stefan Frederik
|
4e08f347da
|
Tcl_SetResult() used in place of Tcl_AppendResult() in xschem() whenever possible
|
2020-12-05 01:20:35 +01:00 |
Stefan Frederik
|
e6d522bf69
|
xschem() tcl extension function (scheduler.c) command lookup made much faster by ordering command strings
|
2020-12-05 00:01:09 +01:00 |
Stefan Frederik
|
c3aad2fbfc
|
remove dbg messages
|
2020-12-04 13:02:19 +01:00 |
Stefan Frederik
|
e5205cfd1e
|
Split mode netlisting in different formats got bitrotten due to a regression. Fixed.
|
2020-12-04 12:45:50 +01:00 |
Stefan Frederik
|
29d8b0c3a8
|
resetwin(1,1,1) instead of resetwin(1,1,0) in preview_window so save_pixmap is reset to correct size when switching back to main window
|
2020-12-04 02:27:35 +01:00 |
Stefan Frederik
|
1268a6faae
|
removed redundant XSetTile in preview_window()
|
2020-12-04 01:38:48 +01:00 |
Stefan Frederik
|
76ef664757
|
undo data structures into xctx context
|
2020-12-04 00:30:13 +01:00 |
Stefan Frederik
|
2b7e31e0d6
|
add utility functions to create new schematic window
|
2020-12-03 23:17:13 +01:00 |
Stefan Frederik
|
2f3025cf3f
|
rm debug msgs
|
2020-12-03 19:48:15 +01:00 |
Stefan Frederik
|
70cf1e8dfb
|
fixed big performance issue when bulk-changing attributes on a big schematic and show_pin_net_names is enabled
|
2020-12-03 19:47:25 +01:00 |
Stefan Frederik
|
ead42c17fa
|
raise_dialog above main window
|
2020-12-03 18:43:48 +01:00 |
Stefan Frederik
|
3732bd8d01
|
put cairo save surface and context into xctx, faster and smoother preview (avoid unload/load if no filename change)
|
2020-12-03 18:21:23 +01:00 |
Stefan Frederik
|
66a73e4e99
|
cleanup in preview code
|
2020-12-03 11:49:29 +01:00 |
Stefan Frederik
|
4322101f9b
|
cleanup in preview code
|
2020-12-03 11:46:00 +01:00 |
Stefan Frederik
|
9588a859da
|
cleanup in preview code
|
2020-12-03 11:42:06 +01:00 |
Stefan Frederik
|
a64d69ed7a
|
some code refactoring, more globals in xctx context, fixed unnoticed shift-reduce conflict in expandlabel
|
2020-12-03 04:20:05 +01:00 |
Stefan Frederik
|
8902f3b56b
|
more state in xctx context
|
2020-12-02 19:35:42 +01:00 |
Stefan Frederik
|
fe46725c0c
|
in case of vector instance names and spiceprefix attr set apply spiceprefix to all members, not only on first one
|
2020-12-02 17:33:01 +01:00 |
Stefan Frederik
|
e279262f00
|
more globals into xctx context struct
|
2020-12-02 15:10:47 +01:00 |
Stefan Frederik
|
2dc28726d3
|
turn off dbg messages
|
2020-12-02 12:50:08 +01:00 |
Stefan Frederik
|
aef66d6ff6
|
clear debug msg
|
2020-12-01 14:39:02 +01:00 |
Stefan Frederik
|
83ae1c01b6
|
ERC checks: do sch/sym node equivalence check on expandlabel()'ed nodes, avoid flagging DATA[5,3,1] != DATA[5:1:2] != DATA[5],DATA[3],DATA[1]
|
2020-12-01 13:43:15 +01:00 |
Stefan Frederik
|
08e179e588
|
better cmdline filename path parsing
|
2020-12-01 13:25:00 +01:00 |
Stefan Frederik
|
2bd8a93889
|
preserve backslashes in instance name after doing an editprop(). get_tok_value() fix: do not eat "\" if called with with_quotes=1
|
2020-12-01 12:00:18 +01:00 |
Stefan Frederik
|
1055fdbf36
|
bounding box fix while copying objects done in r1224 was not correct. Object rotation fixed now
|
2020-12-01 00:03:29 +01:00 |
Stefan Frederik
|
7da61bc054
|
draw wide lines (bus=true attribute) in svg export
|
2020-11-30 23:20:06 +01:00 |
Stefan Frederik
|
c8dc48f916
|
fix: load_wire() was using storeobject() for storing data, causing unwanted modify=1 flag (this has various side effects including changing window title)
|
2020-11-30 22:48:08 +01:00 |
Stefan Frederik
|
3f6a9ab1f8
|
allow new lines in net names (!)
|
2020-11-30 22:12:31 +01:00 |
Stefan Frederik
|
4ea2dde800
|
add ":" allowed char in instance names , this disappeared during the parselabel.l rewrite
|
2020-11-30 21:07:42 +01:00 |
Stefan Frederik
|
db8186c213
|
fix mapping issue in hiertEDAx code. Thanks to Hannu for pointing it out. Allow newlines in (quoted) long vector labels, like: "AAA,BBB,\nCCC,DDD,EEE"
|
2020-11-30 21:01:33 +01:00 |
Stefan Frederik
|
b726eb27a6
|
more verbose ERC message about missing attrs on pins while netlisting
|
2020-11-30 17:33:15 +01:00 |
Stefan Frederik
|
b910d74d56
|
expandlabel.y: allow meaningless syntax without botching. Let the user rule
|
2020-11-30 14:04:38 +01:00 |
Stefan Frederik
|
7548e7a21b
|
added some more allowed characters in node naming (parselabel.l)
|
2020-11-30 12:15:05 +01:00 |
Stefan Frederik
|
5533ca87a4
|
updated parselabel.l to allow more generic node names and/or spaces: these are now valid "a a,bb[3 : 0] , ccc", "1,2,3" and various other improvemenst and "ugly" code removals
|
2020-11-30 01:36:28 +01:00 |
Stefan Frederik
|
eda64b7ee1
|
removed event_reporting feature
|
2020-11-29 03:27:45 +01:00 |