Commit Graph

1612 Commits

Author SHA1 Message Date
stefan schippers 39b3195794 proc tk_textPaste: add author info 2023-07-20 09:24:55 +02:00
stefan schippers efecd33d51 added tcl variable text_replace_selection (default: enabled (1) ) to automatically replace selected text in text widgets when pasting from clipboard 2023-07-20 09:06:58 +02:00
stefan schippers 2d11c5086c case insensitive compare in boolean attributes (attr=false, attr=True, attr=FALSE, attr=1) 2023-07-14 08:17:04 +02:00
stefan schippers bf46fd3e7b allow "1" / "0" in addition to "true" / "false" in all boolean attributes 2023-07-14 00:49:51 +02:00
stefan schippers 231f3a38d4 make the "X" window button close the search dialog box, as Cancel (and Escape key) does 2023-07-14 00:06:39 +02:00
stefan schippers ff66a48df0 doc updates about print command 2023-07-13 14:26:42 +02:00
stefan schippers cf675be805 add "xschem print pdf_full" and "xschem print ps_full" commands to print full view properly fitting paper size, regardless of xschem window size, some fixes in circle postscript drawing (set newpath) and rectangle clipping. Add menu command "PDF/PS export full" 2023-07-13 13:24:17 +02:00
stefan schippers 3c73bb918b add case insensitive matching in xschem search function 2023-07-12 13:58:54 +02:00
stefan schippers 83b1993c32 add xschemrc variable "ps_paper_size" to specify custom paper sizes in ps/pdf exports 2023-07-12 08:10:00 +02:00
stefan schippers b646a0f79f explicitly clear instance flag bits when allocating new instance array data to avoid random data in bit 8 (IGNORE_INST). This does not cause any problem but random data in log files, causing false positives in automated regression tests 2023-07-07 23:54:46 +02:00
stefan schippers 83071b4b21 fix crash on windows if a new tab is opened and immediately closed (incorrect call of draw() after clearing pixmap) 2023-07-07 08:30:13 +02:00
stefan schippers d06b1c83ae fix regression(repo.hu: r2353, github: 0bb4c9f) : "xschem instance" command not setting modified flag on schematic, so following xschem save doing nothing. 2023-07-06 23:56:33 +02:00
stefan schippers 587a847722 add xschem command `xschem instance_coord [instance]`: returns placement coords, rotation, flip of selected or specified instance 2023-07-06 09:12:31 +02:00
stefan schippers 2b38ed5f07 initialize tcl_files to empty in xschemrc to avoid side effects if reloading another xschemrc 2023-07-03 23:12:22 +02:00
stefan schippers 970c2fce65 fix utile/ stuff uninstall in Makefile 2023-07-03 12:32:57 +02:00
stefan schippers cdecc6ad04 xschem netlist command accepts an optional filename argument 2023-07-03 09:06:46 +02:00
Stefan Schippers 9f23965096 do not use tclreadline if $tcl_interactive is 0 2023-07-02 19:47:04 +02:00
Stefan Schippers 33eb3fecce quit and detach globals refactored to cli_opt_quit and cli_opt_detach 2023-07-01 21:07:52 +02:00
stefan schippers a20fce8cdf fix tedax netlisting (do not netlist noconn devices), recognize @#pin_name:net_name and @#pin_name:pin_attr attributes in tedax format string 2023-07-01 09:22:24 +02:00
Stefan Schippers af153593e9 removed some redundant code lines in netlist.c, updated xschemtest.tcl netlist hashes with new noconn.sym 2023-06-30 20:54:07 +02:00
stefan schippers f8f7c4f230 updated moude_bindings.tcl with Paul`s new version, updated noconn.sym (do not use *_ignore attributes, put comments in netlist about NC net) 2023-06-30 09:11:04 +02:00
stefan schippers 6755975369 do not create nets for devices that have *_ignore=true attribute set, this generates false warnings about undriven nets. 2023-06-30 08:29:11 +02:00
stefan schippers f2812e1444 bump to version 3.4.1, updated Changelog 2023-06-29 21:40:49 +02:00
stefan schippers 476499b250 better recognize implicit datasets (sweep var wrap to initial value in raw file) 2023-06-28 08:20:09 +02:00
stefan schippers 8399106ed4 avoid using "string is list" if tclversion <= 8.4 2023-06-28 00:32:56 +02:00
stefan schippers 39751be9e1 add mouse_bindings.tcl, courtesy Paul Bodenstab 2023-06-27 08:45:12 +02:00
stefan schippers eaa56bdc45 make the "xschem_quit" command work (close current window / tab) also if xschem started in -x (no graphics) mode 2023-06-26 07:57:00 +02:00
stefan schippers 4ec80d850b changed tcl procedure `setup_tcp_xschem` to allow setting a different port number for further tcp commuication (and freeing the original port number) 2023-06-26 00:08:13 +02:00
stefan schippers 5d9e0d3d8a enable xschem to load multiple files even if started with "-x" (only CLI mode) 2023-06-25 23:33:26 +02:00
stefan schippers 6198d21404 add "show_infowindow_after_netlist" tcl variable (default = 0) that can be set in xschemrc to always show erc window after netlist even without or no critical errors 2023-06-25 09:05:37 +02:00
stefan schippers f95a1b7244 further fix initial full zoom of schematics loaded into multiple tabs with File->Open 2023-06-24 08:25:14 +02:00
stefan schippers 31451e6be9 do not do a context switch on first invocation of callback() (set old_winpath = ".drw"). 2023-06-24 07:38:55 +02:00
stefan schippers 40d8b960f3 fix initial full zoom of schematics loaded with xschem load file from the xschem tcl prompt 2023-06-23 23:36:11 +02:00
Stefan Schippers 0f3a0c62a8 resetwin() do nor process pending_fullzoom if window size has not set by window manager (width ==1 || height ==1) 2023-06-23 20:03:48 +02:00
stefan schippers cf5c02c141 if a file is given on cmdline without any path qualifier (/.../, ./, ~/, ...) look into search paths. Fix wrong initialization of xctx->lw=-1.0 in alloc_xschem_data(), set to 0.0 2023-06-23 15:49:23 +02:00
stefan schippers d5c0fbcf15 remove debug messages 2023-06-23 11:18:02 +02:00
stefan schippers cd15362376 improve prevous commit: do not execute "pending_fullzoom" drawing if main window unmapped (do not decrement the pending_fullzoom flag and delay until window is visible) 2023-06-23 11:15:54 +02:00
stefan schippers 9ea7121846 set pending_fullzoom=1 on additionally created tabs so will display correctly if xschem started deiconified (wm withdraw .) 2023-06-23 10:59:06 +02:00
stefan schippers 70995165b0 fix regression (--command option) 2023-06-23 09:53:05 +02:00
stefan schippers 7e865eea1d avoid doing a full zoom before loading schematic in create_new_tab() and create_new_window(), as this will result in slightly different full zoom area in new tabs w.r.t first tab. 2023-06-23 09:34:16 +02:00
stefan schippers c6df85cce5 apply center full zoom in all zoom full commands if tcl variable zoom_full_center is set 2023-06-23 09:04:55 +02:00
stefan schippers f85d46a0cb save_schematic(): avoid copying schname to xctx->sch[xctx->currsch] if dest == src 2023-06-22 08:16:19 +02:00
stefan schippers 7ba1acb6d0 modify xschemrc file to avoid side effects if sourced (intentionally or by mistake) multiple times. 2023-06-20 23:32:04 +02:00
stefan schippers 284ff2d1db fix crash if --script is given (xctx->sch[] was not initialized, regression due to xctx->sch transformed to array of pointers) 2023-06-19 23:42:52 +02:00
stefan schippers 810b814211 added some comments in code / schematics 2023-06-18 23:44:52 +02:00
stefan schippers 89d90c21db xctx->sch made an array of pointers instead of array of PATH_MAX strings (memory saver) 2023-06-17 23:58:35 +02:00
stefan schippers c97dfddd4e fix memory leak due to improper use of get_pin_and_attr() 2023-06-17 10:14:55 +02:00
stefan schippers a6462269dc refactor token.c: added get_pin_number(), get_pin_and_attr() 2023-06-16 23:08:00 +02:00
stefan schippers 3c16c4bf20 separated @#pin:attr handling in translate() into *get_pin_attr(), replaced sscanf() with dedicated get_pin_and_attr() so we are able to handle stuff like "@#ADD[7:0]:net_name" 2023-06-16 10:55:22 +02:00
stefan schippers a752bb099b better refactor text_bbox calculation in del_rect_line_arc_poly() and delete_only_rect_line_arc_poly() 2023-06-16 00:08:16 +02:00