Chayan Deb
|
57a9348cf1
|
[Major Refactor]: The 'handle_key_press()' function responsible for processing keyboard inputs has been refactored to use switch-case statements intead of an excessively long chain of if-else statements. Due to huge number of possible inputs, this approach should improve performance (jump-tables) of the application, while increasing readability and maintainability of the codebase in the future. Custom keybinds can also be easily worked on and implemented in the near future thanks to this approach.
|
2025-03-11 11:51:17 +05:30 |
Chayan Deb
|
244fc59672
|
Merge pull request #14 from TheSUPERCD/upstream-clone
Integrate upstream changes
|
2025-03-11 05:54:54 +00:00 |
Chayan Deb
|
68c55f7b54
|
Merge branch 'StefanSchippers:master' into upstream-clone
|
2025-03-11 05:43:27 +00:00 |
Chayan Deb
|
937e8b2f7b
|
[Resolved Merge Conflicts]: All upstream updates to the codebase has been integrated into the fork.
|
2025-03-11 11:12:25 +05:30 |
stefan schippers
|
5e6ce2dce8
|
fix xschem.tcl proc traversal
|
2025-03-10 17:02:46 +01:00 |
stefan schippers
|
c69c1b2687
|
better handling of snap cursor and snap wire creation (no cadence emulation)
|
2025-03-10 01:03:15 +01:00 |
stefan schippers
|
d582fc98d8
|
proc load_file_dialog: allow multi selection (extended) only for load file, not for place instance
|
2025-03-09 13:53:18 +01:00 |
stefan schippers
|
7e5a36531b
|
reduce max zoom in/out factors
|
2025-03-09 10:15:50 +01:00 |
stefan schippers
|
de6434c941
|
allow multi-selections when loading a file; limit max line width in change_linewidth() to avoid strange artifacts at extreme zoom-ins
|
2025-03-09 02:46:58 +01:00 |
stefan schippers
|
2f1643368e
|
add command `xschem raw rename old_node new_node`
|
2025-03-08 21:14:46 +01:00 |
stefan schippers
|
f1901e055c
|
clip graph point[].x values to prevent aliasing at absurdly deep zoom in values
|
2025-03-08 10:53:21 +01:00 |
stefan schippers
|
d7d812c023
|
square grid points if grid_point_size is specified
|
2025-03-07 15:59:43 +01:00 |
stefan schippers
|
96eeef5a95
|
raw_read(): cleanup allocated `rawptr` if nothing loaded due to missing file
|
2025-03-07 15:34:19 +01:00 |
stefan schippers
|
fafd48eb31
|
new tcl variable grid_point_size to set size of grid points (for 4K+ displays)
|
2025-03-07 14:45:13 +01:00 |
stefan schippers
|
eb99123a49
|
`xschem load` command: allow multiple files to be loaded
|
2025-03-06 20:47:49 +01:00 |
stefan schippers
|
72527804e0
|
revert res.sym
|
2025-03-04 10:01:29 +01:00 |
stefan schippers
|
fb9189018d
|
avoid strdup on value in print_spice_element()
|
2025-03-04 09:58:56 +01:00 |
stefan schippers
|
56e0410047
|
fix a bug in eval_expr() usage in token.c (duplicate return string to avoid double free)
|
2025-03-04 09:43:26 +01:00 |
stefan schippers
|
b449bb2728
|
revert: better detection of expr() in netlister functions
|
2025-03-04 09:07:55 +01:00 |
stefan schippers
|
0ea6af2c99
|
better detection of expr() in netlister functions (print_spice_element(), ...)
|
2025-03-04 00:33:27 +01:00 |
stefan schippers
|
efdd45f414
|
revert wrong fix (fix typo in draw_graph()) not a typo...
|
2025-02-28 19:19:06 +01:00 |
stefan schippers
|
aa68a3a0d2
|
fix spurious overwrite of xctx->graph_struct done in raw_read() called from draw_graph() which uses xctx->graph_struct
|
2025-02-28 18:51:35 +01:00 |
stefan schippers
|
be1a0deb89
|
fix typo in draw_graph()
|
2025-02-28 18:04:56 +01:00 |
stefan schippers
|
becbf7cf9c
|
descend_schematic() return value indicates if descended into a valid schematic (1) or empty one (0)
|
2025-02-28 16:08:35 +01:00 |
stefan schippers
|
bba3f434d5
|
fix an error in change_sch_path() (level check) and go_back() (no set title)
|
2025-02-27 13:04:57 +01:00 |
stefan schippers
|
028ca8cb5a
|
proc editdata: added Copy (to Clipboard) button
|
2025-02-27 01:45:12 +01:00 |
stefan schippers
|
c19c25873b
|
(2)proc to_eng: return arg as is if not valid expression
|
2025-02-26 19:33:14 +01:00 |
stefan schippers
|
2d6b7c4fe1
|
revert previous
|
2025-02-26 16:03:36 +01:00 |
stefan schippers
|
43a8b62a24
|
proc to_eng: return arg as is if not valid expression
|
2025-02-26 16:01:32 +01:00 |
stefan schippers
|
d3e0ca82b4
|
eval_expr.y: references to unknown identifiers cause the lexer to return an error so the expression is not evaluated and returned as is, instead of erroneously interpreting the unknown identifier as 0
|
2025-02-25 02:00:55 +01:00 |
stefan schippers
|
f9ccf878c2
|
differential scope2.sym, current mwasure scope_ammeter.sym
|
2025-02-24 15:23:35 +01:00 |
stefan schippers
|
b205b4a496
|
fix ui problem when ctrl-clicking a launcher (drag_elements remained set)
|
2025-02-23 23:49:31 +01:00 |
stefan schippers
|
bd2c65bc1a
|
embed graph inside scope symbol
|
2025-02-23 14:58:44 +01:00 |
stefan schippers
|
1d3c2dde59
|
fix regression: Cancel pressed when inserting new symbol
|
2025-02-23 14:03:53 +01:00 |
stefan schippers
|
6a75c8a6dd
|
initial commit to add scope.sym symbol
|
2025-02-23 13:50:39 +01:00 |
stefan schippers
|
c604a1f033
|
higher priority of `unlocked` sub-attribute in rect `graph` attribute. Do not propagate zoom / pan to any other graphs even if they are locked.
|
2025-02-23 12:39:59 +01:00 |
stefan schippers
|
a306d97725
|
update docs (#pattern#@name tag)
|
2025-02-23 12:12:59 +01:00 |
stefan schippers
|
7144ead895
|
remove dbg messages
|
2025-02-22 19:49:43 +01:00 |
stefan schippers
|
81c3d64778
|
(2) changed some *attached*() function names for sonsistency
|
2025-02-22 19:40:04 +01:00 |
stefan schippers
|
6f0133a1b2
|
changed some *attached*() function names for sonsistency
|
2025-02-22 19:38:05 +01:00 |
stefan schippers
|
e266642c2c
|
lock attribute extended to all objects
|
2025-02-22 12:47:54 +01:00 |
stefan schippers
|
a93fb64e12
|
better threshold detection for bezier selection
|
2025-02-22 11:37:19 +01:00 |
stefan schippers
|
0e438829c6
|
allow locked attached rectangles, so they can not be selected accidentally. Small resize of x/y graph axis labels
|
2025-02-22 10:33:13 +01:00 |
stefan schippers
|
a592216c19
|
update solar_panel.sch (grouped aka attached floaters, scope meter object), better selection of left-y axis in small graphs
|
2025-02-22 02:18:27 +01:00 |
stefan schippers
|
64e29f6a8b
|
doc updates
|
2025-02-22 01:38:38 +01:00 |
stefan schippers
|
935ec27772
|
floater objects: add command ctrl-u to unselect attached (so some instance with the attach=.. attribute) objects, that is objects (not element instances) with a non empty name=... atttribute. Extend upcate references of attached floaters to change instance name property and `xschem setprop instance name` command
|
2025-02-22 01:30:38 +01:00 |
stefan schippers
|
4e2af7ddb9
|
attach attribute: update copied objects
|
2025-02-21 17:49:38 +01:00 |
stefan schippers
|
3eab6bf2dc
|
added attribute `attach="name1 name2 ..."` for components to designate other objects to be selected with it. Designated objects must have a matching `name=name1` attribute. This allows to create object groups
|
2025-02-21 14:31:30 +01:00 |
stefan schippers
|
dc270aa029
|
resize a bit graph wave label / axis label sizes
|
2025-02-21 12:53:04 +01:00 |
stefan schippers
|
34fd430c13
|
svg_embedded_graph() and ps_embedded_graph() do not do a full redraw prior to graph rasterizing, draw only the current graph area. This avoid `overstrike` problems with superimposed text objects
|
2025-02-21 11:12:27 +01:00 |