Maciej Suminski
c16b66ce0c
Ratsnest does not take into account non-copper pads (GAL).
2016-02-03 11:01:00 +01:00
Wayne Stambaugh
0ef1eee2c6
Eeschema: move recursion check from SCH_SHEET_PATH to SCH_SHEET.
...
* Add const and non-const version of GetRootSheet() to SCH_SHEET.
* Add GetSheetPaths() function to SCH_SHEET which behaves the same way
as SCH_SHEET_LIST except it uses standard C++ containers and is a much
simpler design.
2016-02-02 19:45:43 -05:00
jean-pierre charras
50db57f4d5
Pcbnew: fix Bug #1540967 (zone keepout incorrectly created if previously a corner-smoothed copper zone was created). This option (non relevant for a zone keepout) is now cleared.
2016-02-02 21:32:11 +01:00
Wayne Stambaugh
783f818f19
Eeschema: fix segfault when drawing new sheet after deleting existing sheet with the same file. (fixes lp:1538510)
2016-02-02 11:54:54 -05:00
Jon Neal
896bd3945d
pcbnew: netlist import interactive edit fix
...
When importing a netlist with no changes, do not select the part under the
cursor.
2016-02-01 19:43:28 -05:00
Andrew Zonenberg
41223a81d3
pcbnew: avoid unnecessary copy in RN_NET::processPads()
...
Saves >30% run time on ratsnest rebuild for high-fanout nets.
2016-02-01 18:13:30 -05:00
jean-pierre charras
ce7ce77d80
Very minor fix: double shortcut key fix in dialog_schematic_find_base.cpp
2016-02-01 11:42:33 +01:00
Maciej Suminski
1e371a5172
Added files generated by pcb_calculator to .bzrignore.
2016-02-01 10:05:58 +01:00
jean-pierre charras
351752f4e4
Fix Bug #1539889 (empty translated strings which create issues in translation tools)
...
Add a file deleted by accident in interf_u demo.
2016-01-30 14:14:58 +01:00
Tomasz Wlostowski
ee3418e90b
One-click PCB update improvements
...
- Fix repetitive undo/redo segfaults & assertions.
- Add Update menu entry on PCB side.
- Fix Python build error
- Add spread footprints after updating
2016-01-29 15:43:40 +01:00
Tomasz Wlostowski
689072c0e1
PCB updater: open PCBnew automagically, minor fixes to the dialog
2016-01-29 11:36:51 +01:00
Tomasz Wlostowski
570ba5e00a
set up netlist footprint loader before attempting pcb update...
2016-01-29 11:31:26 +01:00
Tomasz Wlostowski
5ef6001e06
pcbnew: support for removing NETINFO_ITEMS from BOARD for proper netlist undo
2016-01-29 11:29:56 +01:00
Tomasz Wlostowski
867a0444bd
eeschema: single click PCB update feature added
2016-01-29 11:24:39 +01:00
Tomasz Wlostowski
9e609acae3
made netlist entries and netlist update undoable
2016-01-29 11:21:13 +01:00
Maciej Suminski
1d39a2a44b
Highlight net tool is not deactivated after a single use.
2016-01-29 10:56:29 +01:00
Simon Richter
7e697e8ef7
GitHub plugin build configuration fixes.
...
* The github plugin includes the CURL headers indirectly, so these headers
need to be in the include search path.
2016-01-28 12:30:55 -05:00
Simon Richter
23e8c3ebf3
Executable icon resource build configuration fixes.
...
* The resource setting for bitmap2component is too late in the CMakeLists.txt,
and is being ignored. Bitmap2component does not have an icon resource on
Windows. Moving the entire section resolves the issue.
* The other programs only have the mingw special case listed, not the generic
declaration for the resource file so added them.
2016-01-28 11:53:24 -05:00
jean-pierre charras
75b1df464d
Pcbnew and Gerbview: layer manager: use double click to edit color (as usual to edit someting) and simple click (as previously) to select the layer. Reason: avoid opening the color dialog each time a new layer is selected.
...
Update interf_u demo to use recent library components..
2016-01-28 09:02:25 +01:00
jean-pierre charras
3a9cbbe0bb
pagelayout editor: fix Bug #1538603 (pl_editor does not save custom text size if only one of the X or Y size value is not default)
2016-01-28 08:51:09 +01:00
Chris Pavlina
ac54b7d114
libedit: fix iterator off end of vector (lp:1537946)
2016-01-25 20:52:13 -05:00
Andrew Zonenberg
e91dab816c
Pcbnew DRC: allow technical->copper pad overlap
...
This permits things like mask "pads" over copper pads for custom mask openings.
2016-01-25 19:33:40 -05:00
Wayne Stambaugh
a23e7129d4
Remove GUI translation how to as it is now maintained in the KiCad I18N project on GitHub.
2016-01-25 16:57:52 -05:00
Chris Pavlina
39ad4ef7fc
Hotkey editor: dynamically resize columns
...
This was done in OnSize(), but was not triggered when a hotkey was edited.
2016-01-25 11:17:52 -05:00
Chris Pavlina
76fb8ce8f9
Hotkey editor: Fix GTK assertion
...
Tried to set negative width when dialog sized too small
2016-01-25 11:17:43 -05:00
Maciej Suminski
e51adaeefd
Highlight a net when crossprobing with eeschema and highlight net tool is enabled.
2016-01-25 16:16:05 +01:00
Bernhard Stegmaier
3e2b4244f9
OSX: add support for wxMagnifyEvent on OSX builds using wxWidgets 3.1.0 or greater.
2016-01-24 19:18:29 -05:00
Wayne Stambaugh
2aac71700b
Eeschema: move is complex hierarchy and find next item from SCH_SHEET_PATH to SCH_SHEET.
...
* Add function to get a list pointers to this sheet and all of it's sub-sheets
to SCH_SHEET.
* Remove unused function SetFootprintField() from SCH_SHEET_PATH.
2016-01-24 15:46:14 -05:00
Martin d'Allens
d18baf1487
Eeschema: Set modified flag after "Append Schematic Sheet"
2016-01-23 10:25:07 -05:00
jean-pierre charras
d24bd85bf5
Minor code cleanup.
2016-01-22 13:30:44 +01:00
Wayne Stambaugh
ac30be332f
Eeschema: move get multi-unit components from SCH_SHEET_PATH to SCH_SHEET.
2016-01-21 19:01:34 -05:00
Chris Pavlina
8e8e126dcd
Regression fix: hotkeys in eeschema not saved
...
Regression introduced in bzr 6474 / git 5173699
2016-01-21 10:17:55 -05:00
jean-pierre charras
de0ac192fe
Kicad manager: very minor fix: Change default accelerator key Ctrl+C to Ctrl+A to run the pcb_calculator utility.
...
Ctrl+C cannot be used here as accelerator, because it is captured by other widgets.
2016-01-21 15:36:46 +01:00
jean-pierre charras
731a87db25
Fix Bug #1536427 ("User (Custom)" size selection in"Page Settings" issue in non English languages).
...
Remove also a no more in use code
2016-01-21 11:15:13 +01:00
Chris Pavlina
4c1d9af0a4
Fix Python regression from rev 6496
...
SWIG does not export contants defined "static const" in a header; it is
instead necessary to use #define.
2016-01-20 19:32:50 -05:00
Dick Hollenbeck
364776a5d4
Remove commented out GetStandardLayerName()
2016-01-20 18:04:56 +01:00
Maciej Suminski
74b498d92d
Remove redundant forward declarations.
2016-01-20 15:22:58 +01:00
Maciej Suminski
75c8094b5a
Make DRC markers not editable with the standard tools (GAL).
2016-01-20 15:22:09 +01:00
Maciej Suminski
b42382e403
Draw arrows for DRC markers (GAL).
2016-01-20 15:19:26 +01:00
Maciej Suminski
4951285a67
GAL::DrawPolygon() and GAL::DrawPolyline() variants that work with VECTOR2D array.
2016-01-20 15:16:39 +01:00
Chris Pavlina
c490e7dd06
Fix typing problems with GR_KB_* constants
2016-01-20 07:11:17 -05:00
Wayne Stambaugh
cf9a9a09ad
Eeschema: decouple SCH_COMPONENT from SCH_SHEET_PATH.
...
* All reference paths except netlist objects are retrieve from the parent
sheet of the component rather than the external sheet path object.
2016-01-18 18:47:55 -05:00
Simon Wells
edc47c3f8e
Clean up includes in confirm.cpp, confirm.h
2016-01-18 00:17:56 -05:00
Simon Richter
da9ca2def2
Avoid cast from const_iterator to iterator
...
The standard library requires iterators passed to functions that modify the
container to be mutable iterators, but GCC's implementation accepts
const_iterator in some places where these are only used to mark a place,
but the actual modification happens through a different parameter.
As this breaks implementations that use the passed iterator to modify the
container (e.g. because they use a different data organization), this is
not portable; because we already have a non-const reference to the
container anyway, this is trivially fixed as well.
2016-01-17 12:31:00 -05:00
Simon Richter
ff4febc7a8
Clarify atan2 overloads
...
In the C++ standard, this function is only defined for floating point
types, and integers cannot be implicitly converted. Using explicit
conversions avoids a GCC specific extension to the standard library.
2016-01-17 10:59:24 -05:00
Simon Richter
ef582c07f3
Drop some debug output
...
This was apparently left in from debugging earlier, and should no longer be
needed. Since it uses a GCC extension, it makes compilation on others fail.
2016-01-17 10:59:17 -05:00
Simon Richter
ba66f0360a
Avoid comparing filepos with integers
...
The filepos type is not necessarily an integer type, because it also needs
to save the multibyte character state in case we're reading from a stream
with shift states.
The convention of using -1 as a special value is from Unix ftell(), and not
portable. Instead, the stream's failbit needs to be examined after the call
to tellg().
2016-01-17 10:59:08 -05:00
Mark Roszko
05ee63fe39
Replace dangerous cast of pointer->long
2016-01-16 22:56:58 -05:00
Chris Pavlina
a9216b9a32
Merge: Move eeschema colors into preferences
2016-01-16 18:53:19 -05:00
Chris Pavlina
5d805e94eb
Remove last vestiges of DIALOG_COLOR_CONFIG
...
The color config dialog in libedit edits the same settings as the one in
eeschema, so there's no reason for it - it's just duplicated.
2016-01-16 18:51:56 -05:00