Cirilo Bernardo
06e766b8b2
Sync with main branch r6532
2016-02-02 17:25:14 +11: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
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
Cirilo Bernardo
8264d393e8
Sync with main branch r6516
2016-01-28 17:14:36 +11: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
Cirilo Bernardo
fc5556c811
Sync with main branch r6513
2016-01-26 10:35:16 +11: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
Cirilo Bernardo
8efd3642bc
Fixed bug which allowed empty filenames to be added to the model list
2016-01-25 17:10:08 +11:00
Cirilo Bernardo
3eca3fe75d
Implemented new 3D file selector with preview
2016-01-25 15:55:36 +11:00
Cirilo Bernardo
31af6d7dbc
Fixed GUI issues related to setting scale/offset/rotation
2016-01-23 20:07:58 +11:00
Cirilo Bernardo
7c829c9e84
Added manual editing of 3D file name with alias tags
2016-01-23 14:52:54 +11:00
jean-pierre charras
d24bd85bf5
Minor code cleanup.
2016-01-22 13:30:44 +01:00
Dick Hollenbeck
364776a5d4
Remove commented out GetStandardLayerName()
2016-01-20 18:04:56 +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
Chris Pavlina
c490e7dd06
Fix typing problems with GR_KB_* constants
2016-01-20 07:11:17 -05:00
Cirilo Bernardo
5d82d9348d
Fix bug: MSWin to UNIX file separator conversion was in the wrong place, leading to wrong separator shown in GUI
2016-01-18 08:33:39 +11: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 Wells
b5a9e466ff
Fix layer widget appearance on OSX
2016-01-16 17:07:24 -05:00
Simon Wells
b125054afe
Pcbnew: Allow changing layer color with left mouse button
...
Many users, particularly those on laptops, have no middle mouse button, and
thus have no way at all to set the layer colors.
2016-01-16 10:31:10 -05:00
Simon Wells
e0beb36f1e
GAL: Update grid color when changed by user
2016-01-16 10:23:28 -05:00
jean-pierre charras
6155cba077
kicad_curl.cpp: fix a compil warning on Windows (regression)
...
pcb_calculator: fix incorrect formulas shown in attenuators panel. Png files are no more used, and formulas are now html doc files.
2016-01-16 15:27:42 +01:00
Cirilo Bernardo
e185b29baa
Resync with main branch r6482
2016-01-16 19:10:53 +11:00
Cirilo Bernardo
f3c56eff12
Work in progress: changed Footprint Properties editors to handle aliased 3D file names
2016-01-16 17:49:28 +11:00
Chris Pavlina
bc614a5e0b
Fix accidental string+int in a debug message
2016-01-15 22:47:47 -05:00
Simon Richter
128459470a
Clean up truncation of constant
...
In the autorouter code, the value 0x80 is assigned to MATRIX_CELL, which is
an overflow for a signed 8-bit type. As this type is used as a bit mask,
there is no point in having a sign bit anyway.
2016-01-15 22:24:17 -05:00
Simon Richter
f674942e27
Remove superfluous include in the middle of source file
2016-01-15 22:20:32 -05:00
Chris Pavlina
74ef947575
github_plugin: remove unused variable
2016-01-15 11:56:14 -05:00
Chris Pavlina
2ff439b894
Move some old legacy save code into the block for that
2016-01-15 10:34:51 -05:00
Simon Richter
a568f35978
Fix preprocessor logic
...
The C++ preprocessor is actually not required to process "true" and "false"
correctly. This works in C if <stdbool.h> is included, because these are
then macros themselves, and resolved correctly, but C++ requires them to be
keywords, so no such macros exist, and the preprocessor can treat both as
undefined/zero.
2016-01-14 20:48:44 -05:00
Simon Richter
1190b7880a
Fix double class name
...
Mostly cosmetic change, although there are compilers that choke on this.
The C++ standard specifies that classes contain themselves as members,
probably so they shadow any other definition of the same name for their own
member functions, but there is really no reason why the class name should
be duplicated here.
2016-01-14 20:43:38 -05:00
Chris Pavlina
b30a461ee9
Pcbnew: fix Flip hotkey for blocks in legacy (fixes lp:1534120)
2016-01-14 12:52:27 -05:00
Tomasz Wlostowski
991b9d509a
GAL: apply grid offset when board is loaded and respect grid color setting. (fixes lp:1533168)
2016-01-13 13:37:52 -05:00
Simon Wells
731a137af0
Remove unused items in gpcb_plugin.cpp
2016-01-11 22:07:33 -05:00
Cirilo Bernardo
217a5f39e1
Resync with main branch r6449
2016-01-12 10:36:31 +11:00
Simon Wells
a88e61a6e0
Fix uninitialized variable in PCBNEW_CONTROL::CursorControl
2016-01-11 17:12:49 -05:00
Simon Wells
712ff51d3f
Clarify assignment as conditional in EDIT_TOOL::Main
2016-01-11 17:12:11 -05:00