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 |