Commit Graph

3641 Commits

Author SHA1 Message Date
Stefan Schippers f3bedb39a4 eliminated any differences between SYMBOL and SCHEMATIC files. There is no "current_type" variable any more. Symbols who used to have netlisting rules defined in schvhdlprop have now these attributes in schsymbolprop. Old symbol files with schvhdlprop will be saved with netlisting rules in schsymbolprop. 2020-09-14 10:27:45 +02:00
Stefan Schippers 4a332ade11 Bring open dialogs always on top of xschem main window if user clicks title bar on gnome/metacity DMs 2020-09-11 11:55:00 +02:00
Stefan Schippers 020c61bc3d fix "saveas SYMBOL" changing current_type to SYMBOL even if user canceled the action; allow "@" in node names as this is used in some backannotated CDL netlists 2020-09-10 10:12:51 +02:00
Stefan Schippers e1751d5f58 remove experimental ::ttk namespaced widget usage 2020-09-09 00:33:00 +02:00
Stefan Schippers 6e5fe40c4a fix bind instructions for Windows Alt-*-KeyPress combinations, doc updates for fill attributes in shapes. 2020-09-09 00:21:40 +02:00
Stefan Schippers a9013fc4d9 use layer 4 instead of 5 for symbol bounding-box-only view 2020-09-07 23:02:30 +02:00
Stefan Schippers 79a56a99f5 allow to launch xschem in fullscreen mode with --tcl "set fullscreen 1"; doc updates for bus, dash, fill attributes 2020-09-07 15:20:22 +02:00
Stefan Schippers f61c17a27b fix line edit property when bus and dash are given 2020-09-07 14:13:07 +02:00
Stefan Schippers ae4821a12c better thick lines drawing 2020-09-07 13:14:50 +02:00
Stefan Schippers fde072720d enable "bus=true" attribute for lines as wellas for wires. As a side effect LCC schematics with bussed wires will display thick buses 2020-09-07 13:12:34 +02:00
Stefan Schippers fce8ab8d1e remove dbg message 2020-09-07 09:40:07 +02:00
Stefan Schippers 2ee47d6884 typo 2020-09-07 09:37:30 +02:00
Stefan Schippers 30335ce30a make Alt-KeyPress (hopefully) work on windows by manually building the Mask values 2020-09-07 09:34:41 +02:00
Stefan Schippers ac911ca1f1 show instance pins even if in "show only instance bounding box" mode. 2020-09-05 01:43:27 +02:00
Stefan Schippers 8626a8a11b added command <Alt-b> (menu Symbol->Show only instance Bounding boxes) to toggle displaying instance detals / only bounding box. 2020-09-05 00:58:56 +02:00
Stefan Schippers 461e2eae97 add "layer=WIRELAYER" attribute to label texts in LCC schematics so LCC schematic instance looks exactly as schematic. 2020-09-04 10:29:15 +02:00
Stefan Schippers aad01a42f1 fix unitialized .dash field for rectangles (in the added pins in LCC schematics) 2020-09-04 09:42:18 +02:00
Stefan Schippers 05651fd701 dashed objects in svg export 2020-09-04 02:25:45 +02:00
Stefan Schippers 8afff69643 dashed objects in ps/pdf export 2020-09-03 10:05:48 +02:00
Stefan Schippers e73722cae9 range check for dash attribute value 2020-09-03 00:19:39 +02:00
Stefan Schippers 1a2500291d dash attribute for arcs 2020-09-02 23:59:58 +02:00
Stefan Schippers a44302a7fd better join/end style for dashed objects, some dashed objects in example schematics/symbols 2020-09-02 19:21:51 +02:00
Stefan Schippers 3107c5b12a added "dash=n" (n=integer) attribute for lines, polygons, rectangles to set dashed line style. n is the dash length in pixels. 2020-09-02 18:28:20 +02:00
Stefan Schippers 331155b6f9 in case of multiple symbols referring to same schematic use symbol name xxxx instead of schematic name for "architecture arch_xxxx of xxxx is" in VHDL netlists to avoid unmatched entity/architectures. 2020-09-02 15:08:33 +02:00
Stefan Schippers a73cb11412 if image size is not changed by user when doing a png export do not zoom_full() png image 2020-09-02 13:23:40 +02:00
Stefan Schippers e6fe276eba undo test-changes in example schematics 2020-09-02 13:16:54 +02:00
Stefan Schippers 9f82cf47aa verilog_ignore, spice_ignore, vhdl_ignore attributes on schematic pins are propagated to symbol pin attributes (if using make symbol from schematic, otherwise propagate by hand). These pins are not netlisted in the respective netlist format 2020-09-02 12:30:52 +02:00
Stefan Schippers fa9bdd44bc avoid redundant rebuild_selected_array() on Motion events, better auto-highlight fature 2020-09-01 10:50:08 +02:00
Stefan Schippers 1f73fb825c updated Xschem "About" links 2020-09-01 09:31:34 +02:00
Stefan Schippers 61df74b50b fix svg export if colorscheme changed via menu; allow monochrome svg export via menu Options -> Color Postscript/SVG 2020-08-31 23:11:20 +02:00
Stefan Schippers 60791062ac added -b/--batch cmd option (__unix__ only) to detach xschem completely from console 2020-08-31 21:24:03 +02:00
Stefan Schippers 08bf7cb962 defer tk windows/menu/widgets creation and Xevent binding setup after xinit.c completes X initialization. This avoids theoretical race condidions if a ConfigureNotify or Expose event is delivered before all Xlib initialization completed. 2020-08-31 13:54:37 +02:00
Stefan Schippers 6608230df9 fix segfault when instantiating LCC schematics if sub-schematic attribute translate()s to empty string: draw_string() tries to modify const char * returned from translate(); set more const attributes in function string params to catch more such errors 2020-08-31 02:25:41 +02:00
Stefan Schippers 7ce7654748 fix some race conditions (xevents) when doing a png export from cmdline options; fix svg light colorscheme background (was always black) 2020-08-30 23:58:51 +02:00
Stefan Schippers 858eac08fa ask "wxh" size of png export image 2020-08-30 15:15:18 +02:00
Stefan Schippers 4e48908902 svg and pdf exports use custom layer colors as set in ~/.xschem/colors file if any. 2020-08-30 12:01:48 +02:00
Stefan Schippers a419b6aa63 aligned pdf hardcopy colors to xschem light colorscheme, pdf and svg exports use the enable_layer[] array to display/hide layers as does draw(). 2020-08-30 10:38:29 +02:00
Stefan Schippers 11c940aa09 fix: fullscreen menu item was not working 2020-08-29 22:10:32 +02:00
Stefan Schippers 316ca11e3a removed (draw|filled).*(.*BEGIN, .*) everywhere as it is not needed (just flush graphics with END is enough) 2020-08-29 12:59:27 +02:00
Stefan Schippers 50ae2f80f8 revert back last change: unnecessary and could potentially hide some lines 2020-08-29 12:45:02 +02:00
Stefan Schippers b4477d877a ensure drawline/drawrect proper buffer initialization before drawing moved/copied texts 2020-08-29 12:34:52 +02:00
Stefan Schippers 54e533e3a2 fix svg export text color set with layer attribute 2020-08-29 12:10:47 +02:00
Stefan Schippers f26a0c737e Use text layer (color) attribute for text objects also in no-CAIRO builds 2020-08-29 11:58:50 +02:00
Stefan Schippers d879967fa8 less padding space around menu entries & buttons 2020-08-27 12:57:49 +02:00
Stefan Schippers f1c836fef6 set full path for untitled schematic / symbol name 2020-08-27 11:39:12 +02:00
Stefan Schippers 38a76d463e save(): use abs_sym_path() on current schematic name to ensure it is saved in the right place and found when returning from lower level hierarchies. 2020-08-27 09:52:49 +02:00
Stefan Schippers b2289683ac doc updates for text hcenter and vcenter attrs 2020-08-25 02:10:15 +02:00
Stefan Schippers ec29c2677a enable "preserve unchanged props" checkbutton in text edit prop dialog box 2020-08-24 16:21:50 +02:00
Stefan Schippers d076952bff implemented text attributes "hcenter=true" (center text in reading direction) and "vcenter=true" (center text in direction perpendicular to reading direction). these can both be set for full centered text block. 2020-08-24 15:23:37 +02:00
Stefan Schippers bd982c00ce removed unused files 2020-08-24 10:01:41 +02:00