Commit Graph

3407 Commits

Author SHA1 Message Date
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
Chayan Deb a3eb1b0c17 [Experimental Feature Update]: Orthogonal wiring feature is now applicable to wires connected to objects, when those objects are moved to a different position by the user. This requires 'enable_stretching' to be enabled, which will stretch the connected wires orthogonally when the user drags/moves objects around in the canvas. 2025-03-14 16:16:29 +05:30
Chayan Deb 5d48446d42
Merge branch 'StefanSchippers:master' into master 2025-03-14 08:31:24 +00:00
Chayan Deb 5c44fec506 [Experimental Feature Update]: Orthogonal wiring feature is now applicable to wires connected to objects, when those objects are moved to a different position by the user. This requires 'enable_stretching' to be enabled, which will stretch the connected wires orthogonally when the user drags/moves objects around in the canvas. 2025-03-14 14:00:36 +05:30
stefan schippers 588ee1b8f4 do not call place_symbol() with relative symbol names. Initial draft fof proc get_list_of_dirs_with_symbols 2025-03-14 03:29:05 +01:00
stefan schippers 9cb435c43c remove implicit [pwd] prepending to relative paths given to rel_sym_path. this assumption is incorrect in some cases 2025-03-13 21:51:06 +01:00
stefan schippers e789988b05 add `user_startup_commands` variable that may contain tcl code to be executed after any new window creation. Useful to have custom bindings / menu / buttons in all windows. 2025-03-13 20:11:18 +01:00
stefan schippers 84ca35e6f5 add menu option Simulation->LVS->Upper case .SUBCKT and .ENDS 2025-03-13 11:57:09 +01:00
stefan schippers ac1f618030 clean up a bit the load_file_dialog pack order 2025-03-13 11:26:07 +01:00
Chayan Deb e897e8fe0e
Merge pull request #15 from TheSUPERCD/upstream-clone
Merge resolved upstream changes into fork
2025-03-13 07:48:35 +00:00
Chayan Deb afaa38e81d [Resolve Merge Conflicts - 3]: Third (Final) stage of changes. All upstream changes are now merged. 2025-03-13 13:17:21 +05:30
Chayan Deb 3a9b478a8d [Resolve Merge Conflicts - 2]: Second stage of changes. 2025-03-13 13:08:49 +05:30
Chayan Deb 1bc1897136 [Resolve Merge Conflicts - 1]: First stage of changes. 2025-03-13 13:07:15 +05:30
Chayan Deb 9808dd14cc [Minor Addition to .gitignore]: Added an entry to ignore locally used config file for auto-formatting C-code. This helps reduce confusion when reading existing code and makes future contributions easier for newcomer developers. 2025-03-13 12:54:56 +05:30
stefan schippers 514b1f3789 insert_symbol: keep selected listbox item when leaving/entering the widget 2025-03-13 01:45:40 +01:00
stefan schippers 0c4c8f4d9f proc insert_symbol: select active listbox cell so symbol placement can start right away 2025-03-13 00:48:38 +01:00
stefan schippers 2a4ebe4b77 new (optional) symbol placement browser 2025-03-12 16:59:45 +01:00
Chayan Deb d9ed2f0e09
Merge branch 'StefanSchippers:master' into master 2025-03-12 04:10:20 +00:00
stefan schippers 0f5c554e33 add command `xschem get ui_state`, improvements in proc insert_symbol 2025-03-12 02:00:45 +01:00
stefan schippers e1488da407 add `xschem rect gui`, `xschem line gui`, `xschem polygon gui`, `xschem wire gui` to start placement of these objects with 1st point set to mouse coordinates 2025-03-11 20:47:00 +01:00
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