Maciej Suminski
1a4c6781d8
All kind of items are loaded on SetBoard() again.
2013-05-15 09:17:48 +02:00
Maciej Suminski
e9e4ed4230
Improved recaching (all items when a board is loaded), still needs some fixing (mem leak).
2013-04-30 17:55:24 +02:00
Maciej Suminski
191cb40e79
Introduction of VBO. Now only tracks are rendered in a very simple way.
2013-04-30 15:59:32 +02:00
Maciej Suminski
0cd108b55d
Upstream merge.
2013-04-25 18:42:27 +02:00
Wayne Stambaugh
61b4f8a9eb
Pcbnew NETLIST_READER improvements.
...
* Create separate NETLIST object to hold contents of netlist files.
* Read entire netlist and footprint link files before making applying
changes to board.
* Add BOARD::ReplaceNetlist() function to eliminate the calls between the
NETLIST_READER, PCB_EDIT_FRAME, and BOARD objects.
* Change placement of new components below the center of the current board
or in the center of the page if the BOARD is empty.
* Add dry run option to netlist dialog to print changes to message control
without making changes.
* Add button to netlist dialog to allow saving contents of message control
to a file.
* Eliminate the need to compile netlist_reader_*.cpp in both CvPcb and Pcbnew.
* Add netlist_reader_*.cpp to the pcbcommon library.
* Remove redundant load component link file code from CvPcb.
* Modify CvPcb new to work with the new NETLIST_READER object.
* Add compare() function and < and == operators to FPID object.
* Add REPORTER class to hide an underlying string writing implementation for
use in low level objects. Thank you Dick for the idea.
* Lots of minor coding policy, Doxygen comment, and missing license fixes.
2013-04-25 12:29:35 -04:00
Dick Hollenbeck
d8ba7b3af8
pcb_parser failed on (fill yes (arc_segments 16) (thermal_gap 1.99898) (thermal_bridge_width 1.99898))
...
See http://tech.groups.yahoo.com/group/kicad-users/message/15105
2013-04-25 07:25:47 -05:00
jean-pierre charras
00ee6c7b3b
Pcbnew, dialog SVG export: Fix Pcbnew crash when opening the dialog.
2013-04-25 09:05:33 +02:00
Maciej Suminski
f24048e8da
Drawing SMD pads with colors defined by "Pads Front"/"Pads Back" color settings.
2013-04-22 12:13:48 +02:00
Maciej Suminski
1944fea398
Modified way of switching canvas
2013-04-22 11:07:38 +02:00
jean-pierre charras
74c64958f4
Pcbnew: fix bug in pcb_parser: incorrect pad local solder paste margin ratio value read when not 0. ( This also fixes bug 1170535 )
2013-04-19 09:14:27 +02:00
Matthew Beckler
97ccebf355
Fixes to scripting after refactoring & interface cleanups,
2013-04-18 23:23:11 +02:00
Miguel Angel Ajo
c597e75b73
Support to enable color from PLOT_CONTROLLER into plotters that start in B/W
2013-04-18 23:21:26 +02:00
Dick Hollenbeck
a20c89288f
hide pageFmts[] since it is no longer NULL terminated and not global
2013-04-18 13:54:03 -05:00
Dick Hollenbeck
1f3b3d681c
fix some compiler warnings
2013-04-18 12:03:47 -05:00
Maciej Suminski
a96c5379b3
Fixed non-GAL build.
2013-04-18 11:46:23 +02:00
Maciej Suminski
e4bac0d91a
Fixed resize issue (moved GAL panel into pane).
...
Tidied up event handlers.
2013-04-18 11:20:19 +02:00
Maciej Suminski
9af45c05bb
Fix for drawing polygons.
2013-04-17 13:59:46 +02:00
Maciej Suminski
e799d7a06c
Fixed drawing of PCB_TARGET items.
2013-04-17 13:12:54 +02:00
Maciej Suminski
520be6f67b
Added GAL::DrawSegment for drawing rounded segments (used for drawing tracks).
2013-04-17 12:38:00 +02:00
Maciej Suminski
188ea1f59f
More accurate rendering display of ZONE_CONTAINERs.
2013-04-17 12:30:21 +02:00
jean-pierre charras
c4dc992c03
Eeschema: fix bug #1168116 . Netlist generation: remove dead code and fully outdated option pspice "use net number"
...
Pcbnew: layer manager: display tooltips using translated form (where internationalized, but always shown in English).
2013-04-16 12:53:23 +02:00
Maciej Suminski
820e6e5e16
Introduced Cairo-based rendering backend using GAL.
...
Moved switching canvas routines to pcbnew, as they are used only there right now (otherwise libgal would have to be linked to every Kicad application).
2013-04-15 17:57:03 +02:00
Lorenzo Marcantonio
65b7f23d46
Set grid color for module editor and viewer ( closes #1167884 )
...
Also removed EDA_DRAW_FRAME::OnGrid which was totally dead (empty and unused)
2013-04-11 20:29:56 +02:00
Dick Hollenbeck
d5fff4a6da
revert text strings for clarity
2013-04-11 13:00:36 -05:00
jean-pierre charras
e07590f930
All: fix a minor issue in drawtext.cpp
...
Pcbnew: load footprint from modview: Because modview allows user to choose the footprint library, the selected library is forced when the footprint is loaded.
I am not sure this is 100% better, but this new behavior has some advantages, mainly in the footprint editor (you can load a footprint outside the selected library)
2013-04-11 19:40:20 +02:00
jean-pierre charras
3e4a79d063
Pcbnew: fix Bug #1167364
...
pcb_calculator: fix bug Bug #1167345
2013-04-10 21:20:35 +02:00
Lorenzo Marcantonio
b1c710a214
Made overbar position independant of pen size for text, to fix graphics glitches with halo text.
...
Slightly retuned for compensating the new position.
2013-04-10 21:09:59 +02:00
Dick Hollenbeck
cca97586a9
revert to using quotes around variable text which may be blank
2013-04-10 10:08:01 -05:00
Maciej Suminski
07cd3bcb56
Upstream merged
2013-04-10 15:03:35 +02:00
Maciej Suminski
80999ba0a4
Temporarily disabled display of netlabels on pads due to performance drop.
2013-04-10 13:47:19 +02:00
jean-pierre charras
0d41a7a523
All: fix some issues in messages to translate. Remove fully outdated files
2013-04-10 09:23:20 +02:00
Lorenzo Marcantonio
66453e3d92
Fixed pad preview color
2013-04-09 21:20:21 +02:00
Lorenzo Marcantonio
42709330e0
Better strings for the translators (converted concatenations to formats)
2013-04-09 19:49:01 +02:00
Lorenzo Marcantonio
20eaf66d5b
Hunted down hardcoded pixel size thresholds for drawing
...
Dynamic contrast for netname and pin numbers ('halo' text)
Handle netname drawing even on diagonal tracks
2013-04-09 19:16:53 +02:00
Lorenzo Marcantonio
b525e3be55
Factored out text anchor drawing
...
More layer classification cleanup
2013-04-09 18:00:46 +02:00
Maciej Suminski
5fda7bf32f
Netnames and pad numbers are displayed on pads (using GAL)
2013-04-09 16:12:20 +02:00
Maciej Suminski
d400a25075
Modified CMakeLists.txt in order to compile Kicad with KICAD_GAL=ON for Windows
...
Added settings that allow to use M cross environment (http://mxe.cc ) to crosscompile Kicad for Windows.
2013-04-09 16:12:18 +02:00
Lorenzo Marcantonio
0de48234bc
Printf was missing a GetChars
2013-04-09 04:31:36 +02:00
Maciej Suminski
05e3ae645d
Fixed distorted polygons' corner display
2013-04-08 11:01:49 +02:00
Maciej Suminski
664692b2e6
Added outline display mode for pads, vias & tracks
2013-04-08 10:54:31 +02:00
Maciej Suminski
850c0a8473
Added high contrast display mode using GAL rendering.
...
New methods in VIEW class: SetTopLayer(), EnableTopLayer() for managing the top layer display.
New method in PCB_RENDER_SETTINGS class: LoadDisplayOptions() for applying display settings like high-contrast, outline display of items, etc.
2013-04-08 10:50:47 +02:00
jean-pierre charras
7bb04c8f63
Make some messages translatable.
...
Make dialog footprint wizard list resizable.
2013-04-08 09:13:26 +02:00
Lorenzo Marcantonio
b739b2b075
Support for a visibility flag and color selection to NPTH holes
...
(when disabled they are shown as standard holes, a lot less distracting
than the previous fixed yellow color)
2013-04-07 18:20:46 +02:00
Lorenzo Marcantonio
204d085b64
More cleanup on layer code usage
...
Better description for entities on right click menu and panel
Typo fixes and some comment reformats
2013-04-07 13:55:18 +02:00
Lorenzo Marcantonio
9ebb4afacc
Removed arbitrary MAX_LAYER_ROWS limit (only used in one assertion, anyway)
2013-04-06 18:46:03 +02:00
Lorenzo Marcantonio
150cfebb59
Fixed some tab-induced disalignments
...
Charras beat me on fixing the include/sch_item_struct.h include issue from 4069
2013-04-06 14:28:02 +02:00
jean-pierre charras
ca4a3651c0
Gerbview, layer manager: add option (popup menu) to always keep layers not visible but the active layer, even when the active layer is changed.
...
Pcbnew: fix swig warning for operator EDA_COLOR_T::++ (changed to function EDA_COLOR_T:: NextColor)
2013-04-06 14:01:53 +02:00
Lorenzo Marcantonio
00f0e27851
Factored layer utility functions: classification, layer flip and mask flip
2013-04-05 21:04:58 +02:00
Lorenzo Marcantonio
63e987edd0
Removed the default generation of phantom text by the postscript plot driver.
...
It crashes Adobe's own implementation of postscript!
2013-04-05 10:55:46 +02:00
jean-pierre charras
752e4a4a58
All: change some texts and messages hard to translate, or not translatable (and some incorrect messages).
...
Pcbnew, layer manager: add option (popup menu) to always keep copper layers not visible but the active layer, even when the active layer is changed.
Usefull for multilayer ( more than 4 layers) PCBs.
2013-04-05 09:38:00 +02:00