Commit Graph

2235 Commits

Author SHA1 Message Date
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