Commit Graph

3429 Commits

Author SHA1 Message Date
Chayan Deb 02f0a4ea3a [Refactored Reused Code]: Code responsible for dynamically computing 'xctx->manhattan_lines' are now bundled up in a separate function -- reducing complexity, increasing readability and future maintainablity, and the need to look out for unintentional C89-standard violations. 2025-03-18 23:52:42 +05:30
Chayan Deb e2b3a58540
Merge branch 'StefanSchippers:master' into master 2025-03-18 17:36:01 +00:00
Chayan Deb 6a43b2069e [Bugfix]: Fixed an issue stemming from recent feature update of 'orthogonal_wiring' on objects connected to multiple wires. The functionality was refactored and the bug was later pointed out in issue #336 in the upstream repo. 2025-03-18 22:59:52 +05:30
stefan schippers 7cf84e9049 .processlist: update title based on current schematic 2025-03-18 17:17:20 +01:00
stefan schippers b4344360a9 better process list title 2025-03-18 16:31:07 +01:00
stefan schippers 53b90ee689 conversions from eng notation: add x in addition to meg as suffix for 1e6 (Xyce extension) 2025-03-18 15:53:47 +01:00
stefan schippers 0d2b57bfa5 use TkDefaultFont in right click context menu instead of a custom menu. This makes scaling with tk_scaling more consistent 2025-03-18 13:30:40 +01:00
stefan schippers c4b3e204a0 place_moved_wire(): in manhattan mode don`t store new wires if not needed (single point) 2025-03-18 12:36:46 +01:00
stefan schippers 2ea1294fb1 add toolbar_icon_zoom and ctxmenu_icon_zoom xschemrc (integer) variables to enlarge icons on XUHD displays 2025-03-18 10:51:34 +01:00
Chayan Deb 8d4654f643
Merge pull request #17 from TheSUPERCD/upstream-clone
Resolve merge conflicts
2025-03-18 08:25:35 +00:00
Chayan Deb f6a2c2adf0 Resolve conflicts and merge. 2025-03-18 13:54:19 +05:30
stefan schippers 0f9d201f0a (2) insert symbol preview. Fixed some race conditions 2025-03-18 03:31:37 +01:00
stefan schippers 172a001425 insert symbol preview. Fixed some race conditions 2025-03-18 03:07:48 +01:00
stefan schippers 4584c260ba new insert symbol: low-pass filter (200ms) on preview rendering to speed up quick listbox select events (arrow key autorepeat) 2025-03-18 01:58:55 +01:00
stefan schippers b348451160 new symbol browser: add Update button to refresh list of dirs and files; fix Alt-s (Reload) incorrectly moved in r keybind after handle_key_press() refactoring 2025-03-18 00:53:46 +01:00
stefan schippers abfa38b1e4 make move of wires with `manhattan_lines` consistent, keep last wire segment selected. TBD: fix orthogonal_wiring modes 2025-03-17 19:23:55 +01:00
stefan schippers f9546b6ebd add ORDER() before storing new wires (manhattan mode) in move operation 2025-03-17 13:08:37 +01:00
Chayan Deb d430ce9867 Added wire-coordinate ordering before storing the object in 'src/move.c' -> 'move_objects()' to remove any discrepancies (addresses issues mentioned in #336). 2025-03-17 12:55:28 +05:30
Chayan Deb 2256c8d329
Merge branch 'StefanSchippers:master' into master 2025-03-17 06:10:54 +00:00
stefan schippers 42bd51e88b use drawtemp_manhattanline() also for new_line(). transform xctx->nl_xx[12] and xctx->nl_yy[12] used in some drawimg functions to local variables where global context is not needed. 2025-03-17 00:23:05 +01:00
stefan schippers caddf0f0dd fix indentation 2025-03-16 23:38:54 +01:00
stefan schippers 50321ae480 align callback.c with SuperCD fork 2025-03-16 19:56:57 +01:00
Chayan Deb ea28a7b35d Minor changes to normalize the fork's codebase with official upstream repo. 2025-03-16 23:06:26 +05:30
Chayan Deb 31ba0d5ce0
Merge branch 'StefanSchippers:master' into master 2025-03-16 16:01:57 +00:00
stefan schippers 33591fa41d applied recent additions from SuperCgayan 2025-03-16 11:35:30 +01:00
stefan schippers b415b8e889 fix regression in new_wire() (in manhattan mode) due to previous commit (courtesy SuperChayan) 2025-03-16 11:08:27 +01:00
Chayan Deb eae1887764 [UI Info Fix]: Fixed an issue where the 'Tools->Insert Polygon' option showed the wrong keybind 'Ctrl+P', instead of the correct keybind 'P'. 2025-03-16 15:10:42 +05:30
Chayan Deb 814733d5bb [UI/UX Feature Update]: Bottom statusbar now displays all the different drawing modes (wire, line, arc, ploygon, rect etc.) in a green box - that only showed the wire-drawing mode before this update. 2025-03-16 15:07:40 +05:30
Chayan Deb 56d125413f [Bugfix]: Additional fix to address the issue from previous bugfix. 'drawtemp_manhattanlines()' function will no longer force the use of 'orthogonal_wiring'-style dynamic 'manhattan_lines' value for every operation (it will need to be specified whether it needs to be forced or not in the function arguments). 2025-03-16 14:39:55 +05:30
Chayan Deb 9d7acdd78d [Bugfix]: Fixed a bug where 'orthogonal_routing' option didn't work properly for drawing wires due to last upstream update. 2025-03-16 13:46:36 +05:30
Chayan Deb 20bdd67a08
Merge branch 'StefanSchippers:master' into master 2025-03-16 08:11:29 +00:00
stefan schippers a0a5d9876f drawtemp_manhattanline(): use local nl_xx[12] and nl_yy[12] variables, since xctx->nl_xx[12] and xctx->nl_yy[12] are used also in select_rect() which calls draw_selection() which calls drawtemp_manhattanline(). 2025-03-16 05:15:40 +01:00
stefan schippers 2f26544c45 dont assume a particular manhattan_lines when starting wires or lines. Keep last one set 2025-03-16 01:17:50 +01:00
stefan schippers e4cf179868 insert_symbol: Return Key binding for quick dialog close 2025-03-16 01:01:49 +01:00
stefan schippers c02b80c79d fixes in insert_symbol 2025-03-16 00:49:38 +01:00
stefan schippers 124d73ee64 fix regression (start new wires in manhattan orient) 2025-03-16 00:31:57 +01:00
stefan schippers cc90201b27 remove debug msgs in insert_symbol 2025-03-16 00:13:07 +01:00
stefan schippers ed8a6dbe11 little optimization in insert_symbol 2025-03-16 00:02:12 +01:00
stefan schippers d37c872a49 merge in a SuperChayan change in move.c 2025-03-15 23:47:18 +01:00
stefan schippers fd65c8876d cleanup and fixes in proc insert_symbol 2025-03-15 23:29:11 +01:00
Chayan Deb 05b673cb2e Fixed an issue where the keybind option ALT-Z used for toggling snap_cursor visibility in the schematic editor was not working without cadence_compat being enabled. Also, removed a redundant line of code. 2025-03-15 21:47:04 +05:30
Chayan Deb b4eec4f48a
Merge branch 'StefanSchippers:master' into master 2025-03-15 06:31:48 +00:00
Chayan Deb 4441b48693 [Fixed Potential Bug]: The manhatan_line swap-fix for orthogonal wire-stretching is now only applied when 'orthogonal_wiring' is active. 2025-03-15 11:50:29 +05:30
stefan schippers 313acc8e29 further improvements to new_symbol_browser 2025-03-15 03:20:01 +01:00
stefan schippers 73a920ea41 xinit.c: eval user_startup_commands after sourcong tcl_files 2025-03-14 18:28:19 +01:00
Chayan Deb f89135e46d Re-introduced some changes to make orthogonal wire-stretching work properly. 2025-03-14 20:44:12 +05:30
Chayan Deb ab00028935
Merge pull request #16 from TheSUPERCD/upstream-clone
Resolve merge conflicts
2025-03-14 15:06:59 +00:00
Chayan Deb 743266eb61 [Resolve Merge Conflicts With Upstream]: Resolved all merge conflicts with upstream branch and updated the forked repo to be compatible with future patches/updates from upstream. 2025-03-14 20:35:51 +05:30
Chayan Deb 333dc91b48 [ANSI-C Compatibilty Update + Remove Redundant TCL Menu Entries]: Made changes to conform to ANSI-C standard and removed some redundant code in 'src/xschem.tcl'. 2025-03-14 20:02:49 +05:30
stefan schippers 08397f7038 merge Chayan Deb changes for manhattan-style move objects and handle_key_press() refactor 2025-03-14 15:25:57 +01:00